A kind of VOD frequency treating method and device thereof
Technical field
The present invention relates to IPTV (Web TV) business, relate in particular to a kind of video on-demand system.
Background technology
At present, be video request program VOD to best additional of Digital Television, the user can at any time, everywhere, arbitrarily appreciate programme content.The influence that VOD brings to the user is revolutionary, has changed the passive situation that televiews of user, and right to choose has really been returned the user.
In the VOD VOD system, the location of on-demand content and distribute the direct system that influences to the response speed of user's order request and the network traffics of distributing network.
In content distribution network system, program generally need pass through Content Management System, content distributing network and Streaming Media delivery server arrive the end user, in order to shorten period of reservation of number, normally on-demand content are configured on the nearest streaming media server of user (fringe node).
Since the program multi-section be deployed in fringe node and and fringe node between form on the Centroid (center media server) of Cache (buffer memory) relation, the end user obtains Media Stream by the fringe node with its binding, if the content that user's request takes place is not when the situation of this destination edge node, fringe node can be delivered to the end user with the form of playing (Downloading and Playing) while downloading to the Centroid request.
Thus, may the generative center node to the too high situation of the instantaneous downloading flow of fringe node, cause bandwidth to be engulfed.Begin to begin to play from propelling movement in addition, also can have an of short duration time-delay to the user.
Summary of the invention
The object of the present invention is to provide a kind of VOD frequency treating method and device thereof, dispose by the programme content of effectively optimizing, not only respond user's request fast, quality services are provided, and reach the equilibrium of the load of balance/smooth network flow and server.
A kind of VOD frequency processing unit provided by the present invention, be connected between the control centre's data server and central control server of video on-demand system, it is characterized in that, comprise and being redirected and information gathering module and intelligent distribution module, wherein: be redirected and the information gathering module, be used for the on-demand content on local streaming media server not is redirected according to the information that inquires from described control centre data server, and collect this redirection information and write in the described control centre data server, so that generate statistical information; The intelligence distribution module is used for distributing automatically or upgrading according to the statistics that described control centre data server provides.
In above-mentioned VOD frequency processing unit, be redirected the redirected employing real time flow medium that reaches the information gathering module and be redirected mode.
In above-mentioned VOD frequency processing unit, intelligent distribution module is periodically to distribute automatically or upgrade.
In above-mentioned VOD frequency processing unit, intelligent distribution module is to be that principle is distributed automatically or upgraded with level and smooth distributing network flow.
In above-mentioned VOD frequency processing unit, intelligent distribution module is by calculating and the monitoring factor or the variable relevant with described statistical information, and relatively decides the content that needs distribution or upgrade with set point.
In above-mentioned VOD frequency processing unit, intelligent distribution module is distributed automatically to satisfying the carrying out that condition is set in advance.
The present invention also provides a kind of VOD frequency treating method, based on the video on-demand system that comprises control centre's data server and central control server, comprise: be redirected and collect step: be redirected according to the information that from described control centre data server, inquires for the on-demand content on local streaming media server not, and collect in control centre's data server that this redirection information writes to system; Statistic procedure:, generate statistical information for the redirection information that writes described control centre data server; Intelligence distributing step: distribute automatically or upgrade according to the statistics that provides.
In above-mentioned VOD frequency treating method, be redirected and adopt real time flow medium to be redirected mode.
In above-mentioned VOD frequency treating method, automatic distribution in the intelligent distributing step or renewal are periodic.
In above-mentioned VOD frequency treating method, automatic distribution in the intelligent distributing step or renewal are that principle is carried out with level and smooth distributing network flow.
In above-mentioned VOD frequency treating method, distribution of needs in the intelligent distributing step or the content of upgrading are relatively to decide by calculating and the monitoring factor relevant with described statistical information or variable and with set point.
In above-mentioned VOD frequency treating method, whether distribution of needs in the intelligent distributing step or the content upgraded be by being provided with condition in advance and deciding satisfying.
The present invention provides a kind of central control server at last, comprises ontology server, it is characterized in that: it comprises a VOD frequency processing unit.
Owing to adopted above-mentioned technical solution, that is: distribute or renewal based on the regularly automatic of statistics, real time flow medium is redirected, effectively and the programme content of optimizing is disposed, can reach the purpose of balance/smooth network flow, can avoid local streaming media server to break down and cause the interruption of user's program request, guaranteed service quality is provided.The present invention with huge downlink network flow distribution on fringe node, avoided the extra expense of Centroid, improved the service efficiency of streaming media server, and can provide conforming IPTVVOD business to native client fast, in time satisfy client's needs, make things convenient for operator to control flexibly.
Description of drawings
Fig. 1 is the schematic diagram of VOD frequency processing unit of the present invention in system;
Fig. 2 is the structural representation of central control server of the present invention.
Embodiment
The prerequisite of embodiments of the invention hypothesis is: content disposition is on the streaming media server at edge; Central medium server has the content on all electric program menus in theory; STB (set-top box) is usually from local (or claiming fringe node) media server broadcast program content.
One of the present invention, a kind of VOD frequency processing unit
As shown in Figure 1, frequency processing unit of the present invention is connected between the control centre's data server and central control server of video on-demand system, comprises being redirected and information gathering module 11 and intelligent distribution module 12.
Be redirected and information gathering module 11, be used for the on-demand content on local streaming media server not is redirected according to the information that inquires from described control centre data server 3, and collect this redirection information and write in the described control centre data server 3, so that generate statistical information;
Intelligence distribution module 12 is used for distributing automatically or upgrading according to the statistics that described control centre data server 3 provides.
The present invention's two, a kind of VOD frequency treating method
This method comprises based on the video on-demand system that comprises control centre's data server and central control server:
Be redirected and collect step: be redirected according to the information that from described control centre data server, inquires for the on-demand content on local streaming media server not, and collect in control centre's data server that this redirection information writes to system;
Statistic procedure:, generate statistical information for the redirection information that writes described control centre data server;
Intelligence distributing step: distribute automatically or upgrade according to the statistics that provides.
In the foregoing invention, what be redirected employing is that RTSP (Real Time Streaming protocol real-time stream media protocol) is redirected (Redirect) mode, if also the content of i.e. end user's program request is not on local streaming media server, central control server can be located on the suitable streaming media server, this with prior art in all requests all sent to the mode that Centroid handles compare, its major advantage is the downlink network flow that has rationally distributed huge, avoid overhead, improved the service efficiency of streaming media server.
The distribution of content is dispensed on network to be carried out during the spare time, had both guaranteed the smoothness that the user watches, and can make full use of the not busy Time Bandwidth of network again.
Referring to Fig. 1, STB (set-top box) terminal is sent order request (RTSP request) to central control server, when central control server finds that on-demand content is not on local streaming media server, search best fringe node (also being and the nearest server of user), so reply redirected (RTSP is redirected) message to STB, STB finds the final purpose media server according to the address of carrying in the redirect message.In this process, the corresponding actions result can be write control centre's data server (so that generate statistical information), if make mistakes then can write down the daily record that makes mistakes.The decision of final purpose server can be according to the load of current media server, and STB is to the key elements such as distance of media server.
Historical according to user's program request and statistics that make shows: 80% program request concentrates on 20% the backing.Thereby when disposing media server, can only have central medium server with 80% cold, there is the streaming media server at edge in 20% backing.
Can be the attribute that each on-demand content is provided with a focus by name in view of the above, so-called focus just is meant the number of times of this program of program request in set period and total video-on-demand times percentage in this period.The program request incident can influence the renewal of focus value.Can design certain strategy (as the distribution cycle etc., level and smooth flow etc.) according to focus and the attribute that makes up other, discharge task scheduling, the automatic smoothing distribution of control programme content and transmitting.This is a typical closed-loop reponse system.
Intelligent distribution mode is divided into initiatively and passive two kinds.
Passive Mode is by intelligent distribution module calculating and monitoring and the relevant factor/variable of control centre's data server statistical information, determine which content to distribute or to upgrade, when meeting or exceeding set definite value, can carry out the adding/deletion of content between media server (can dispatch by the backstage, when system loading is not busy, carry out, level and smooth to guarantee network and flow system flow).
Aggressive mode is applied to the distribution of the fresh content of input system, and system can distribute the film that satisfies condition automatically.If, then can set higher initial temperature if also the i.e. film of new issue deduction in advance is comparatively popular, be directed at first in the system at film, just directly be distributed on the fringe node of appointment.This pattern is higher to fresh content distribution efficient in enormous quantities.Compare with the pattern of distributing (Passive Mode) behind the collection IP Information On Demand again, major advantage is to have introduced artificial interference, and the reaction of system is comparatively quick and have expection, has improved the service efficiency of streaming media server.The distribution of content is dispensed on network to be carried out during the spare time, had both guaranteed the smoothness that the user watches, and can make full use of the not busy Time Bandwidth of network again.
Distribution policy comprises the distribution cycle, the combination of key elements such as content focus value and current media server capacity.Add with the deletion action and also can upgrade relevant information, also provide input for next step processing.
The present invention's three, a kind of central control server
As shown in Figure 2, this central control server comprises ontology server 2, is characterized in, is integrated with above-mentioned VOD frequency processing unit 1 on this ontology server 2.
Below embodiment has been described in detail the present invention in conjunction with the accompanying drawings, and those skilled in the art can make the many variations example to the present invention according to the above description.Thereby some details among the embodiment should not constitute limitation of the invention, and the scope that the present invention will define with appended claims is as protection scope of the present invention.