Summary of the invention
The technical problem to be solved in the present invention is, the defective that the video information of before having play in playing at Online Video in the prior art do not have record, need adopt progressively F.F. and come the time point that general location before withdrawed from by the film plot in remembering 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: the video information and the broadcast mode that are used to need to select online broadcast;
Playing module: be used to play selecteed video information;
Configuration module: be used for when described playing module is about to stop to play, in progress video information and broadcast state information thereof being carried out record, thereby generate a configuration file;
Recover module: broadcast mode that the described selection module of foundation provides and described configuration file are controlled described playing module and are begun to play;
Described broadcast mode comprises again broadcast mode and the broadcast mode that continues that begins to continue and play from the time point that stops to play.
Online Video Play System of the present invention, described selection module comprise user interface and are arranged on assembly on the described user interface that the described assembly of user by selecting need to select the video information and the broadcast mode of online broadcast.
Online Video Play System of the present invention, described configuration file comprise chained address, title information and the playing progress rate information of described video information.
Online Video Play System of the present invention, under described broadcast mode again, described recovery module begins to play again and the corresponding video information of this title information according to the described playing module of described title information Control; Under the described broadcast mode that continues, described recovery module begins to continue from the time point that stops to play according to described title information and the described playing module of playing progress rate information Control and plays and the corresponding video information of this title information.
Online Video Play System of the present invention also comprises:
Start module: be used to start 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 broadcast mode that need to select online broadcast;
Play step: play selecteed video information;
Configuration step: when being about to stop to play, in progress video information and broadcast state information thereof are carried out record, thereby generate a configuration file;
Recovering step: begin to play according to described broadcast mode and the control of described configuration file;
Described broadcast mode comprises again broadcast mode and the broadcast mode that continues that begins to continue and play from the time point that stops to play.
Online Video player method of the present invention is in the described selection step, by selecting to be arranged on the video information and the broadcast mode of the online broadcast of assembly selection need on the user interface.
Online Video player method of the present invention, described configuration file comprise chained address, title information and the playing progress rate information of described video information.
Online Video player method of the present invention in the described recovering step, under described broadcast mode again, begins to play again and the corresponding video information of this title information according to described title information Control; Under the described broadcast mode that continues, described title information of foundation and playing progress rate information Control begin to continue from the time point that stops to play and play and the corresponding video information of this title information.
Online Video player method of the present invention also comprises:
Setting up procedure: be used to start online video jukebox software.
Implement Online Video Play System of the present invention and method, has following beneficial effect: when being about to withdraw from the Online Video broadcast, can generate the configuration file that comprises in progress video information and broadcast state information thereof automatically, if the user is the video of playing before thinking to play once more, can directly begin to play again, not need to carry out once more search inquiry by this configuration file; And, in video display process, if withdraw from video playback earlier, rethink then when being routed to time point that the last time withdraws from and continuing to play this video, can directly continue to play this video to the time point that had before withdrawed from by this configuration file automatic connection, no longer the time point that comes general location before to withdraw from by the film plot in F.F. progressively and the memory is convenient, practical.
Embodiment
As shown in Figure 1, be the block diagram of 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 to be used to need to select the video information and the broadcast mode of online broadcast; Described broadcast mode comprises again broadcast mode and the broadcast mode that continues that begins to continue and play from the time point that stops to play.Playing module 2 is used to play selecteed video information.Configuration module 3 is used for when playing module 2 is about to stop to play in progress video information and broadcast state information thereof being carried out record, thereby generates a configuration file; At this, described " when being about to stop to play in progress video information " comprises and plays and be about to play the video information that finishes.Recovering module 4 begins to play according to the broadcast mode of selecting module 1 to provide and described configuration file controls playing module 2.
The specific implementation process is as described below:
User by selecting module 1 need to select the video information and the broadcast mode of online broadcast.
Configuration module 3 carries out record in progress video information and broadcast state information thereof when playing module 2 is about to stop to play, thereby generates a configuration file.Wherein, described broadcast state information comprises playing progress rate information at least.
Recovering module 4 will begin according to the information Control playing module 2 that the broadcast mode of selecting module 1 to provide and described configuration file comprise to play, described configuration file comprises link address, title information and the playing progress rate information of described video information at least, so, there are following two kinds of situations: first kind, under broadcast mode again, recover the chained address that module 4 reads in the configuration file according to described title information Control playing module 2, and begin to play again and the corresponding video information of this title information according to the chained address; Second kind, under the broadcast mode that continues, recover the chained address that module 4 reads in the configuration file according to described title information and playing progress rate information Control playing module 2, and begin to continue from the time point that stops to play according to the chained address and play and the corresponding video information of this title information.Obviously, under the broadcast mode that continues, comprise from the time point that stops to play beginning to download buffering and the corresponding video information of this title information.
Select module 1 to comprise user interface and be arranged on assembly on the described user interface, the described assembly of user by selecting need to select the video information and the broadcast mode of online broadcast.
Further, historical broadcast window is set on user interface, title information in the configuration file that configuration module 3 generates is presented in this history broadcast window, so the user can directly select the video information of broadcast of need playing again or continue in history window.
Among the present invention, the video information of each online broadcast has unique chained address, the all corresponding configuration file of the video information of each previous online broadcast, this configuration file also can comprise the placard information of this video information and length of a film information etc., simultaneously except the chained address, title information and the playing progress rate information that comprise this video information, placard information and length of a film information etc. all is presented in the historical broadcast window, help the user to get access to the information of certain video easily, make things convenient for, quick.
Configuration file with the video information correspondence of an online broadcast is that example is set forth below:
Profile name: shiyueweicheng.conf
Chained address: rtsp: //media.test.com/2012.wmv
Title information: encircle a city October
Playing progress rate information: 30 minutes
As mentioned above, comprised the substance of a configuration file, further, this configuration file also can comprise:
Length of a film information: 120 minutes
Placard information: Wang Xueqi Zhen Zi is red to be acted the leading role
Certainly, the form that placard information can also picture shows, so the picture that can be placard information also is provided with 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 can the indication simply and easily and information for the user selects online video playback file bring all can be arranged in the configuration file.
As shown in Figure 2, be the block diagram of second embodiment of Online Video Play System of the present invention.The Online Video Play System of present embodiment also comprises the startup module on the basis of first embodiment shown in Figure 1, promptly the Online Video Play System of present embodiment comprises selection module 1, playing module 2, configuration module 3, recovers module 4 and starts module 5.Wherein, start module 5 and be used to start online video jukebox software.Start module 5 and be connected, after the Online Video playout software starts, can need select the video information and the broadcast mode of online broadcast by selecting module 1 with selecting module 1.
In other embodiments, also can start module 5 and select module 1 to promote to be user's operational module, the user carries out the startup of Online Video software, video information that need to select online broadcast and broadcast mode etc. by described user's operational module.
By above-mentioned two embodiment as seen, in Online Video Play System of the present invention, when being about to withdraw from the Online Video broadcast, can generate the configuration file that comprises in progress video information and broadcast state information thereof automatically, if the user is the video of playing before thinking to play once more, can directly begin to play again, not need to carry out once more search inquiry by this configuration file; And, in video display process, if withdraw from video playback earlier, rethink then when being routed to time point that the last time withdraws from and continuing to play this video, can directly continue to play this video to the time point that had before withdrawed from by this configuration file automatic connection, no longer the time point that comes general location before to withdraw from by the film plot in F.F. progressively and the memory is convenient, practical.
As shown in Figure 3, be the flow chart of first embodiment of Online Video player method of the present invention.In the present embodiment, this Online Video player method comprises:
Beginning;
Select step S1: video information and broadcast mode that need to select online broadcast; Described broadcast mode comprises again broadcast mode and the broadcast mode that continues that begins to continue and play from the time point that stops to play;
Play step S2: play selecteed video information;
Configuration step S3: when being about to stop to play, in progress video information and broadcast state information thereof are carried out record, thereby generate a configuration file; Described configuration file comprises chained address, title information and the playing progress rate information of described video information.
Recovering step S4: the information Control that comprises according to described broadcast mode and described configuration file begins to play; Wherein, under broadcast mode again, read chained address in the configuration file, and begin to play again and the corresponding video information of this title information according to the chained address according to described title information Control; Under the broadcast mode that continues, read chained address in the configuration file according to described title information and playing progress rate information Control, and begin to continue from the time point that stops to play according to the chained address and play and the corresponding video information of this title information; Obviously, under the broadcast mode that continues, comprise from the time point that stops to play beginning to download buffering and the corresponding video information of this title information.
Finish.
In selecting step S1, by selecting to be arranged on the video information and the broadcast mode of the online broadcast of assembly selection need on the user interface.
Further, described configuration file also comprises the placard information of described video information and length of a film information etc., and certainly, the form that placard information can also picture shows.
As shown in Figure 4, be the flow chart of second embodiment of Online Video player method of the present invention.The Online Video player method of present embodiment is on the basis of first embodiment shown in Figure 2, also comprise setting up procedure, the Online Video player method that is 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 is used to start online video jukebox software, setting up procedure S0 is arranged on selects after the Online Video playout software starts, can need to select the video information and the broadcast mode of online broadcast by selecting step S1 before the step S1.
In other embodiments, also can with setting up procedure S0 with select step S1 to promote to be user's operating procedure, the user carries out the startup of Online Video software, video information that need to select online broadcast and broadcast mode etc. by described user's operating procedure.
The above only is embodiments of the invention, not in order to restriction the present invention, all any modifications of being done in the spirit and principles in the present invention, is equal to and replaces or improvement etc., all should be included in protection scope of the present invention.