Summary of the invention
The technical problem to be solved in the present invention is, in playing for Online Video in prior art, the video information previously play is not had record, need adopt progressively F.F. and is carried out the defect of the time point that general location had previously exited by the film plot in remembering, and provides a kind of Online Video Play System and method.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of Online Video Play System, it comprises:
Select module: for selecting to need video information and the broadcast mode of online broadcasting;
Playing module: for playing by the video information selected;
Configuration module: stop carrying out record to the video information play and broadcast state information thereof when playing for being about at described playing module, thus generate a configuration file;
Recover module: the broadcast mode provided according to described selection module and described configuration file control described playing module to start to play;
Described broadcast mode comprises the mode of replaying and the broadcast mode that continues play that continues from the time point stopping playing.
Online Video Play System of the present invention, described selection module comprises user interface and is arranged on the assembly in described user interface, and assembly described in user by selecting selects the video information and the broadcast mode that need online broadcasting.
Online Video Play System of the present invention, described configuration file comprises the chained address of described video information, title information and playing progress rate information.
Online Video Play System of the present invention, described replay mode under, described recovery module controls described playing module according to described title information and starts to replay the video information corresponding with this title information; Under the described broadcast mode that continues, described recovery module controls described playing module according to described title information and playing progress rate information and continues from the time point stopping playing and play the video information corresponding with this title information.
Online Video Play System of the present invention, also comprises:
Start module: for starting online video jukebox software.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of Online Video player method, it comprises:
Select step: video information and the broadcast mode of selecting to need online broadcasting;
Play step: play by the video information selected;
Configuration step: when being about to stopping and playing, record is carried out to the video information play and broadcast state information thereof, thus generate a configuration file;
Recovering step: control to start to play according to described broadcast mode and described configuration file;
Described broadcast mode comprises the mode of replaying and the broadcast mode that continues play that continues from the time point stopping playing.
Online Video player method of the present invention, in described selection step, by video information and the broadcast mode of selecting the component selection arranged on a user interface to need online broadcasting.
Online Video player method of the present invention, described configuration file comprises the chained address of described video information, title information and playing progress rate information.
Online Video player method of the present invention, in described recovering step, described replay mode under, control to start to replay the video information corresponding with this title information according to described title information; Under the described broadcast mode that continues, control to continue from the time point stopping playing to play the video information corresponding with this title information according to described title information and playing progress rate information.
Online Video player method of the present invention, also comprises:
Setting up procedure: for starting online video jukebox software.
Implement Online Video Play System of the present invention and method, there is following beneficial effect: when being about to exit Online Video broadcasting, can automatically generate the configuration file comprising video information and the broadcast state information thereof play, if user thinks again to play the video play in the past, can directly start to replay by this configuration file, not need again to carry out search inquiry; And, in video display process, if first exit video playback, then rethink and be routed to time point that the last time exits when continuing to play this video, can directly continue to play this video to the time point previously exited by this configuration file automatic connection, no longer carry out by the film plot in progressively F.F. and memory the time point that general location previously exited, convenient, practical.
Embodiment
As shown in Figure 1, be the block diagram of the first embodiment of Online Video Play System of the present invention.In the present embodiment, this Online Video Play System comprises to be selected module 1, playing module 2, configuration module 3 and recovers module 4.Select module 1 for selecting to need video information and the broadcast mode of online broadcasting; Described broadcast mode comprises the mode of replaying and the broadcast mode that continues play that continues from the time point stopping playing.Playing module 2 is for playing by the video information selected.Configuration module 3 stops carrying out record to the video information play and broadcast state information thereof when playing for being about at playing module 2, thus generates a configuration file; At this, described while playing " be about to stop to the video information play " comprises and plays and be about to play the video information terminated.Recover module 4 to start to play according to the broadcast mode selecting module 1 to provide and described configuration file control playing module 2.
Specific implementation process is as described below:
User by selecting module 1 selects the video information and the broadcast mode that need online broadcasting.
Configuration module 3 is about to stop carrying out record to the video information play and broadcast state information thereof when playing at playing module 2, thus generates a configuration file.Wherein, described broadcast state information at least comprises playing progress rate information.
Recover module 4 information comprised according to the broadcast mode selecting module 1 to provide and described configuration file control playing module 2 is started to play, described configuration file at least comprises the link address of described video information, title information and playing progress rate information, so, there are following two kinds of situations: the first, replaying under mode, recovery module 4 reads the chained address in configuration file according to described title information control playing module 2, and starts to replay the video information corresponding with this title information according to chained address; The second, under the broadcast mode that continues, recover module 4 to control playing module 2 according to described title information and playing progress rate information and read chained address in configuration file, and continue from the time point stopping playing according to chained address and play the video information corresponding with this title information.Obviously, under the broadcast mode that continues, comprise and download the buffering video information corresponding with this title information from the time point stopping playing.
Select module 1 to comprise user interface and be arranged on the assembly in described user interface, assembly described in user by selecting selects the video information and the broadcast mode that need online broadcasting.
Further, history broadcast window is set on a user interface, title information displaying in the configuration file that configuration module 3 generates in this history broadcast window, so user can directly select to replay or to continue the video information play in history window.
In the present invention, the video information of each online broadcasting has unique chained address, the corresponding configuration file of each video information previously play online, this configuration file, except comprising the chained address of this video information, title information and playing progress rate information, also can comprise the placard information and sheet long message etc. of this video information, simultaneously, placard information and sheet long message etc. are all presented in history broadcast window, contribute to the information that user gets certain video easily, convenient, fast.
Set forth for the configuration file that a video information play online is corresponding below:
Profile name: shiyueweicheng.conf
Chained address: rtsp: //media.test.com/2012.wmv
Title information: October encircles a city
Playing progress rate information: 30 minutes
As mentioned above, contain the most substance of a configuration file, further, this configuration file also can comprise:
Sheet long message: 120 minutes
Placard information: Wang Xueqi Zhen Zi pellet is acted the leading role
Certainly, placard information can also the form of picture show, so the picture that can be placard information also arranges a chained address, such as, placard information: D: haibao shiyueweicheng.jpg
Further, this configuration file also can comprise:
Play percentage information: 25%
Remaining time information: 90 minutes
As fully visible, every energy indicates and information simply and easily for user selects Online Video played file to bring, and all can be arranged in configuration file.
As shown in Figure 2, be the block diagram of the second embodiment of Online Video Play System of the present invention.The Online Video Play System of the present embodiment, on the basis of the first embodiment shown in Fig. 1, also comprises startup module, and namely the Online Video Play System of the present embodiment comprises selection module 1, playing module 2, configuration module 3, recovers module 4 and start module 5.Wherein, module 5 is started for starting online video jukebox software.Starting module 5 to be connected with selection module 1, when after the startup of Online Video playout software, selecting the video information and the broadcast mode that need online broadcasting by selecting module 1.
In other embodiments, also and module 1 can be selected to be promoted to user operation module by startup module 5, user carries out the startup of Online Video software, the video information selecting to need online broadcasting and broadcast mode etc. by described user operation module.
From above-mentioned two embodiments, in Online Video Play System of the present invention, when being about to exit Online Video broadcasting, can automatically generate the configuration file comprising video information and the broadcast state information thereof play, if user thinks again to play the video play in the past, can directly start to replay by this configuration file, not need again to carry out search inquiry; And, in video display process, if first exit video playback, then rethink and be routed to time point that the last time exits when continuing to play this video, can directly continue to play this video to the time point previously exited by this configuration file automatic connection, no longer carry out by the film plot in progressively F.F. and memory the time point that general location previously exited, convenient, practical.
As shown in Figure 3, be the flow chart of the first embodiment of Online Video player method of the present invention.In the present embodiment, this Online Video player method comprises:
Start;
Select step S1: video information and the broadcast mode of selecting to need online broadcasting; Described broadcast mode comprises the mode of replaying and the broadcast mode that continues play that continues from the time point stopping playing;
Play step S2: play by the video information selected;
Configuration step S3: when being about to stopping and playing, record is carried out to the video information play and broadcast state information thereof, thus generate a configuration file; Described configuration file comprises the chained address of described video information, title information and playing progress rate information.
Recovering step S4: the information comprised according to described broadcast mode and described configuration file controls to start to play; Wherein, replaying under mode, controlling to read the chained address in configuration file according to described title information, and start to replay the video information corresponding with this title information according to chained address; Under the broadcast mode that continues, control to read the chained address in configuration file according to described title information and playing progress rate information, and continue from the time point stopping playing according to chained address and play the video information corresponding with this title information; Obviously, under the broadcast mode that continues, comprise and download the buffering video information corresponding with this title information from the time point stopping playing.
Terminate.
In selection step S1, the video information needing to play online by selecting setting component selection on a user interface and broadcast mode.
Further, described configuration file also comprises the placard information and sheet long message etc. of described video information, and certainly, placard information can also the form of picture show.
As shown in Figure 4, be the flow chart of the second embodiment of Online Video player method of the present invention.The Online Video player method of the present embodiment is on the basis of the first embodiment shown in Fig. 2, also comprise setting up procedure, namely the Online Video player method of the present embodiment comprises setting up procedure S0, selects step S1, plays step S2, configuration step S3 and recovering step S4.Wherein, setting up procedure S0, for starting online video jukebox software, is arranged on before selecting step S1 by setting up procedure S0, after Online Video playout software starts, and the video information need play online by selecting step S1 selection and broadcast mode.
In other embodiments, also and step S1 can be selected to be promoted to user operation step by setting up procedure S0, user carries out the startup of Online Video software, the video information selecting to need online broadcasting and broadcast mode etc. by described user operation step.
The foregoing is only embodiments of the invention, not in order to limit the present invention, all do in the spirit and principles in the present invention any amendment, equivalent to replace or improvement etc., all should be included in protection scope of the present invention.