Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
Embodiment one:
Be illustrated in figure 1 as the information labeling of a kind of video request program of the present invention and the flow chart of display packing preferred embodiment, for convenience of explanation, only show the part relevant with the embodiment of the invention.
In step S101, input one or more video endorsement information by web page.
In embodiments of the present invention, step S101 can specifically be divided into following two steps:
At first receive the annotations and comments request, suspend displaying video and enter web annotations and comments input page.
In order to strengthen in video request-program process mutual with the user, being pre-created web annotations and comments input page provides the list of input video endorsement information for the user, when video request program, if the user triggers click event by the annotations and comments of the information on video playback page button, then receive the annotations and comments request of user's input, suspend displaying video and enter web annotations and comments input page.
Then, input one or more video endorsement information by web annotations and comments input page.
Concrete, when the user after input video endorsement information on this web annotations and comments input page, receive the video endorsement information that web annotations and comments input page is submitted to by the POST mode.Wherein, the video endorsement information includes but not limited to: annotations and comments are made a summary, the annotations and comments content, and are added into annotations and comments time and video features code in the video endorsement information.Comprise again the annotations and comments title in the annotations and comments summaries, to the summary of annotations and comments content etc.
In embodiments of the present invention, just can receive many video endorsement information of user's input by in the process of order video, repeating said process.Concrete, if receive only a video endorsement information of user's input in the process of a video of program request, then this video is to there being a video endorsement information; If receive many video endorsement information of user's input in the process of a video of program request, then this video is to there being many video endorsement information.
In step S102, in one or more video endorsement information, add corresponding video features code and storage.
In embodiments of the present invention, accumulation along with the video request program time, the video endorsement information of the video of program request and user's input all gets more and more, the video endorsement information of inputting as the user has many, and to should a plurality of video be arranged the time, just need in the video endorsement information, add as video uniquely identified video features code, be used for judging the corresponding relation of video and video endorsement information.Wherein, the video features code can be multiple, such as video ID, video name etc.Thereby, in order to distinguish the video endorsement information of each video, then input one or more video endorsement information by web page after, in the video endorsement information, add the video features code of order video.
Preferably, add in the video endorsement information behind the corresponding video features code, play time when order video suspends is (as in the annotations and comments request that receives user's input, when suspending order video, order video is played to 30 minutes and 18 seconds, the play time when then being order video in 30 minutes 18 seconds and suspending) add in the video endorsement information as the annotations and comments time.
In embodiments of the present invention, set in advance two tables in the database, be respectively video Basic Information Table (videos) and video information annotations and comments tables (comments).The video Basic Information Table is used for recording of video program request fileinfo, comprises video features code (this sentences video ID is example), video file title (name), reaches video file storing path (path) etc.Video information annotations and comments table is used for preserving the video Basic Information Table to the information annotations and comments content of video file, comprises video features code (as external key, the video features code of mapping video Basic Information Table), annotations and comments summary, annotations and comments content and annotations and comments time etc.After receiving the video endorsement information and in the video endorsement information, adding the video features code, just the video endorsement information is stored to table corresponding in the database.
In step S103, according to the video endorsement information corresponding with current displaying video of video features code inquiry storage.
In embodiments of the present invention, because the video features code is the video unique identification, be used for judging the corresponding relation of video and video endorsement information, therefore when playing current video, only have the one or more video endorsement information corresponding with current displaying video of storing in the video features code Query Database according to current displaying video, comprise the video features code of current displaying video in the video endorsement information that inquires.
In step S104, the display video endorsement information.
In embodiments of the present invention, show the one or more video endorsement information corresponding with current displaying video that inquires.Wherein, because the video endorsement information comprises annotations and comments summary and annotations and comments content, thereby the annotations and comments that always show the one or more video endorsement information corresponding with current displaying video in the process of video playback are made a summary, and click the annotations and comments summary of a wherein video endorsement information of demonstration the user after, show the annotations and comments content of this endorsement information.
Wherein, if the video of current broadcast is to there being many video endorsement information, the annotations and comments summary that then in displaying video, shows many video endorsement information corresponding with current displaying video, current displaying video plays to wherein annotations and comments that a video endorsement information comprises during the time, highlights the annotations and comments content of this video endorsement information.Be specially, after showing the annotations and comments summary of many video endorsement information corresponding with current displaying video, by software interface function (such as function onTime ()) video of playing is intercepted, the annotations and comments that comprise when video playback to video endorsement information wherein trigger response events during the time, highlight the annotations and comments content of this video endorsement information at screen.If the video of current broadcast is only to there being a video endorsement information, the annotations and comments summary that then in displaying video, shows this video endorsement information, and equally by the software interface function, such as onTime () video of playing is intercepted, the annotations and comments that comprise when this video endorsement information of video playback trigger response events during the time, highlight the annotations and comments content of this video endorsement information at screen.Wherein, the mode that highlights comprises multiple, can be: display position outstanding (as be presented at the video pictures of current broadcast in the middle of etc.), and with special pattern display font (such as overstriking, underline, change color etc.) etc.
In embodiments of the present invention, because endorsement information is the input of user's one rule, the information annotations and comments that the user does video content have not only strengthened the amount of information that video carries, and strengthened mutual between user and video player, the user is really participated in the process of video request program.
Embodiment two:
Be illustrated in figure 2 as the information labeling of the another kind of video request program of the present invention and the flow chart of display packing preferred embodiment, for convenience of explanation, only show the part relevant with the embodiment of the invention.Based on above-described embodiment, the method comprises:
In step S201, input one or more video endorsement information by web page.
In step S202, in described one or more video endorsement information, add corresponding video features code and storage.
In step S203, according to the video endorsement information corresponding with current displaying video of described video features code inquiry storage.
In step S204, the display video endorsement information.
In step S205, receive the click commands of the video endorsement information of input, current displaying video is positioned to annotations and comments time broadcast corresponding to video endorsement information.
In embodiments of the present invention, experience in order to improve the user, also provide function according to the endorsement information positioning playing for the video of playing.Be specially, comprise the video endorsement information of video features code of current displaying video in demonstration after, when receiving the user when clicking the click commands of video endorsement information input, the corresponding locating interface function of calling system is positioned to annotations and comments time broadcast corresponding to described video endorsement information with video, and this annotations and comments time is the annotations and comments time that comprises in the video endorsement information.
Wherein, if during the video endorsement information of the corresponding video features code that comprises this video of current displaying video, when receiving the click commands that the user input by the annotations and comments summary of clicking this video endorsement information, the corresponding locating interface function of calling system is positioned to annotations and comments time broadcast corresponding to this video endorsement information with described video.
If the video of current broadcast, receives the click commands that the annotations and comments of a wherein video endorsement information of input are made a summary to many video endorsement information should be arranged, described current displaying video is positioned to annotations and comments time broadcast corresponding to this video endorsement information.Be specially, comprise the annotations and comments summary of many video endorsement information of video features code of current displaying video in demonstration after, if when receiving the click event of user by clicking the annotations and comments summary of a video endorsement information wherein at web page and input, the corresponding locating interface function of calling system is positioned to annotations and comments time broadcast corresponding to this video endorsement information with video.
In embodiments of the present invention, realize the video positioning playing by endorsement information, so that the video location that the user can like oneself seeing carries out record by the mode of video labeling information, and can be directly positioning playback function by the video endorsement information video jumped to the video location that the user likes watch, strengthened user's experience.
Embodiment three:
The information labeling of a kind of video request program that Fig. 3 provides for the embodiment of the invention and the structure chart of display unit preferred embodiment for convenience of explanation, only show the part relevant with the embodiment of the invention.Based on above-described embodiment, this device comprises:
Information labeling unit 31 is used for inputting one or more video endorsement information by web page.
Wherein, the video endorsement information includes but not limited to: annotations and comments are made a summary, the annotations and comments content, and are added into annotations and comments time and video features code in the video endorsement information.Comprise again the annotations and comments title in the annotations and comments summaries, to the summary of annotations and comments content etc.
In embodiments of the present invention, described information labeling unit 31 comprises:
Annotations and comments request receiving unit 311 is used for receiving the annotations and comments request, suspends displaying video and enters web annotations and comments input page.
In order to strengthen in video request-program process mutual with the user, being pre-created web annotations and comments input page provides the list of input video endorsement information for the user, when video request program, receive the annotations and comments request of user's input, suspend displaying video and enter web annotations and comments input page.
Endorsement information input unit 312 is used for inputting one or more video endorsement information by web page.
In embodiments of the present invention, when the user after input video endorsement information on this web annotations and comments input page, receive the video endorsement information that web annotations and comments input page is submitted to by the POST mode.In the process of order video, repeat many video endorsement information that said process just can receive user's input.
Information memory cell 32 is used for adding corresponding video features code and storage in one or more video endorsement information.
In embodiments of the present invention, the video features code is used for judging the corresponding relation of video and video endorsement information as the video unique identification, and the video features code can be multiple, such as video ID, video name etc.
In embodiments of the present invention, the play time when information memory cell 32 also can be used for order video suspended is added into the video endorsement information as the annotations and comments time, and the video endorsement information is stored to table corresponding in the database.
Information query unit 33 is used for the video endorsement information corresponding with current displaying video according to video features code inquiry storage.
In embodiments of the present invention, the one or more video endorsement information corresponding with current displaying video of storing in the video features code Query Database according to current displaying video comprises the video features code of current displaying video in the video endorsement information that inquires.
Information display unit 34 is used for the display video endorsement information.
In embodiments of the present invention, the annotations and comments summary that in the process of video playback, always shows the one or more video endorsement information corresponding with current displaying video, and click the annotations and comments summary of a wherein video endorsement information of demonstration the user after, show the annotations and comments content of this endorsement information.
In embodiments of the present invention, information display unit 34 comprises:
Annotations and comments summary display unit 341, the annotations and comments that are used for demonstration one or more video endorsement information are made a summary;
Annotations and comments content display unit 342 is used for playing to wherein annotations and comments that a video endorsement information comprises during the time when described current displaying video, highlights the annotations and comments content of this video endorsement information.
Preferably, as shown in Figure 4, information labeling and the display unit of video request program also comprise:
Positioning playing unit 41 for the click commands of the video endorsement information that receives input, is positioned to annotations and comments time broadcast corresponding to video endorsement information with current displaying video.
In embodiments of the present invention, if during the video endorsement information of the corresponding video features code that comprises this video of current displaying video, positioning playing unit 41 also can be used for:
Receive the click commands of the annotations and comments summary of a wherein video endorsement information of inputting, current displaying video is positioned to annotations and comments time broadcast corresponding to this video endorsement information.
In embodiments of the present invention, because endorsement information is the input of user's one rule, the information annotations and comments that the user does video content have not only strengthened the amount of information that video carries, and strengthened mutual between user and video player, the user is really participated in the process of video request program.In addition, realize the video positioning playing by endorsement information, so that the video location that the user can like oneself seeing carries out record by the mode of video labeling information, and can be directly positioning playback function by the video endorsement information video jumped to the video location that the user likes watch, strengthened user's experience.
One of ordinary skill in the art will appreciate that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be in being stored in computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.