Summary of the invention
The object of the invention is to overcome above-mentioned shortcoming of the prior art, the electric program menu providing a kind of user directly to be provided by virtual set-top box selects the program needing to play, the video frequency program that in the broadcasting of many pictures, each subwindow is play is configured by virtual set-top box, clean culture and group broadcasting video frequency can be play simultaneously, finally realize the effect that many pictures are play, remove the complex operations that user controls the broadcasting of each video respectively from, application mode is simple, application cost is cheap, range of application also comparatively widely IPTV network realize the system and method for many pictures playback process based on virtual set-top box.
In order to realize above-mentioned object, the system that IPTV network of the present invention realizes many pictures playback process based on virtual set-top box has following formation:
This system comprises virtual set-top box, many pictures processing module, video analyzer, streaming media server and video player.Wherein, virtual set-top box, in order to according to user operation, selectes the program play; Many pictures processing module, in order to realize alternately with described virtual set-top box, obtains video information and user's operation information, and produces many pictures Play Control signal according to user's operation information; Video analyzer, in order to carry out alternately with described virtual set-top box and described many pictures processing module, obtaining video information from described virtual set-top box, to carrying out video quality detection, and testing result being sent to described many pictures processing module; Streaming media server in order to carry out alternately with described virtual set-top box, and connects IPTV network, provides video information to described virtual set-top box; Video player then connects described many pictures processing module and streaming media server respectively, in order to play according to the many pictures Play Control signal obtained from described many pictures processing module the video information obtained from streaming media server.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, described many pictures processing module comprises: database, data Layer, represent layer, service layer, video player connect be connected and embedded unit with embedded unit and virtual set-top box.Wherein, database is in order to store the data of described many pictures processing module; Database described in data Layer connects, in order to obtain user profile and many pictures broadcast information; Represent layer in order to realize system configuration according to user operation, by realize with described database mutual with described data Layer, and provide graphic user interface; Service layer completes data interaction between described database in order to coordinate the described layer that represents; Video player connects the video player described in being connected with embedded unit and described represents layer, in order to be embedded in described many pictures processing module by integrated for described video player; Virtual set-top box connects and embedded unit, and the virtual set-top box described in connection and described database, in order to be embedded in integrated for described virtual set-top box in described many pictures processing module.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, the described layer that represents comprises user's login window and represents unit, the configuration of many screen template and represent unit, sprite configures and represents unit, the configuration of electric program menu account number represents unit, virtual set-top box configures and represents unit and video player control and represent unit, described user's login window represents unit, the configuration of many screen template and represent unit, sprite configures and represents unit, the configuration of electric program menu account number represents unit, virtual set-top box configuration with represent unit and video player and control and represent unit and be all connected described video player and connect and embedded unit.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, described service layer comprises configuration service unit, code stream service unit, alerting service unit and security service unit, described configuration service unit, code stream service unit, alerting service unit and security service unit are all connected to and described represent layer, each service unit described represents layer in order to be sent to by corresponding information on services, provides service logic support.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, described data Layer comprises picture data elements, sub-image data unit, area data unit, electric program menu account data unit, user data cell and Business Entity data cell, each described data cell by the service logical calling of described service layer, and provides data access support to the described layer that represents.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, described database is MySQL database.
Realize in the system of many pictures playback process based on virtual set-top box in this IPTV network, described streaming media server comprises Streaming Media unicast server and Streaming Media multicast server.
The present invention also provides a kind of method utilizing described system to realize based on many pictures playback process of virtual set-top box in IPTV network, and the method comprises the following steps:
(1) according to user operation, described system access IPTV network, and connect streaming media server;
(2) the many pictures processing module described in obtains electric program menu by virtual set-top box, and drainage is carried out in the link of forwarding electronic program guide, and carries out code stream quality testing by described video analyzer, carries out video represent by many pictures processing module;
(3) the many pictures processing module described in adds multicast data flow by configuration multicast data flow, is carried out the code stream quality testing of multicast data flow information, and carry out video by many pictures processing module and represent by described video analyzer;
(4) drainage that the many pictures processing module described in carries out unicast stream by configuration unicast stream forwards, and is detected, and drainage is obtained unicast stream and play to many pictures by described video analyzer to unicast stream;
(5) the many pictures processing module described in by the result of code stream quality testing stored in described database, and by the result of code stream quality testing in real time fashion or summarized manner be presented on many pictures.
This realizes based in the method for many pictures playback process of virtual set-top box in IPTV network, and described many pictures processing module is carried out the clear video of 32 road sign simultaneously and represented.
The IPTV network that have employed this invention realizes the system and method for many pictures playback process based on virtual set-top box, its system comprises virtual set-top box, many pictures processing module, video analyzer, streaming media server and video player.User selectes the program of broadcasting by virtual set-top box, and many pictures processing module then realizes with described virtual set-top box alternately, obtains video information and user's operation information, and produces many pictures Play Control signal according to user's operation information; The video information obtained from streaming media server play by final video player according to the many pictures Play Control signal obtained from described many pictures processing module, realize many pictures and play.Utilize system and method for the present invention, the electric program menu that user can directly be provided by virtual set-top box selects the program needing to play, the video frequency program that in the broadcasting of many pictures, each subwindow is play is configured by virtual set-top box, clean culture and group broadcasting video frequency can be play simultaneously, remove the complex operations that user controls the broadcasting of each video respectively from, and IPTV network of the present invention realizes the system and method for many pictures playback process application mode based on virtual set-top box is simple, application cost is cheap, and range of application is also comparatively extensive.
Embodiment
In order to the technology page of the present invention more clearly can be understood, describe in detail especially exemplified by following examples.
Refer to shown in Fig. 1, to realize the structural representation of the system of many pictures playback process for IPTV network of the present invention based on virtual set-top box.
In one embodiment, this system comprises virtual set-top box, many pictures processing module, video analyzer, streaming media server and video player.Wherein, virtual set-top box, in order to according to user operation, selectes the program play; Many pictures processing module, in order to realize alternately with described virtual set-top box, obtains video information and user's operation information, and produces many pictures Play Control signal according to user's operation information; Video analyzer, in order to carry out alternately with described virtual set-top box and described many pictures processing module, obtaining video information from described virtual set-top box, to carrying out video quality detection, and testing result being sent to described many pictures processing module; Streaming media server in order to carry out alternately with described virtual set-top box, and connects IPTV network, provides video information to described virtual set-top box; Video player then connects described many pictures processing module and streaming media server respectively, in order to play according to the many pictures Play Control signal obtained from described many pictures processing module the video information obtained from streaming media server.
Utilize the method that the system described in this execution mode realizes based on many pictures playback process of virtual set-top box in IPTV network, as shown in Figure 2, comprise the following steps:
(1) according to user operation, described system access IPTV network, and connect streaming media server;
(2) the many pictures processing module described in obtains electric program menu by virtual set-top box, and drainage is carried out in the link of forwarding electronic program guide, and carries out code stream quality testing by described video analyzer, carries out video represent by many pictures processing module;
(3) the many pictures processing module described in adds multicast data flow by configuration multicast data flow, is carried out the code stream quality testing of multicast data flow information, and carry out video by many pictures processing module and represent by described video analyzer;
(4) drainage that the many pictures processing module described in carries out unicast stream by configuration unicast stream forwards, and is detected, and drainage is obtained unicast stream and play to many pictures by described video analyzer to unicast stream;
(5) the many pictures processing module described in by the result of code stream quality testing stored in described database, and by the result of code stream quality testing in real time fashion or summarized manner be presented on many pictures, realize doing synchronously representing of many 32 clear videos of road sign.
In one more preferably execution mode, described many pictures processing module comprises: database, data Layer, represent layer, service layer, video player connect be connected and embedded unit with embedded unit and virtual set-top box.Wherein, database is in order to store the data of described many pictures processing module; Database described in data Layer connects, in order to obtain user profile and many pictures broadcast information; Represent layer in order to realize system configuration according to user operation, by realize with described database mutual with described data Layer, and provide graphic user interface; Service layer completes data interaction between described database in order to coordinate the described layer that represents; Video player connects the video player described in being connected with embedded unit and described represents layer, in order to be embedded in described many pictures processing module by integrated for described video player; Virtual set-top box connects and embedded unit, and the virtual set-top box described in connection and described database, in order to be embedded in integrated for described virtual set-top box in described many pictures processing module.
In a kind of further preferred embodiment, the described layer that represents comprises user's login window and represents unit, the configuration of many screen template and represent unit, sprite configures and represents unit, the configuration of electric program menu account number represents unit, virtual set-top box configures and represents unit and video player control and represent unit, described user's login window represents unit, the configuration of many screen template and represent unit, sprite configures and represents unit, the configuration of electric program menu account number represents unit, virtual set-top box configuration with represent unit and video player and control and represent unit and be all connected described video player and connect and embedded unit.
In another kind of further preferred embodiment, described service layer comprises configuration service unit, code stream service unit, alerting service unit and security service unit, described configuration service unit, code stream service unit, alerting service unit and security service unit are all connected to and described represent layer, each service unit described represents layer in order to be sent to by corresponding information on services, provides service logic support.
In another further preferred embodiment, described data Layer comprises picture data elements, sub-image data unit, area data unit, electric program menu account data unit, user data cell and Business Entity data cell, each described data cell by the service logical calling of described service layer, and provides data access support to the described layer that represents.
In the preferred execution mode of one, described database adopts MySQL database.Described streaming media server comprises Streaming Media unicast server and Streaming Media multicast server.
In actual applications, the playback process of the many pictures based on virtual set-top box system of the present invention be a many pictures processing module for IPTV service, the multiple programs in IPTV can be play by this system simultaneously, comprise live, program request, review.Compared with tradition many pictures processing module, system of the present invention not only supports the direct broadcast band based on multicast, also support the request program based on clean culture, the programme content simultaneously play in each broadcast window is selected by virtual set-top box, user can need by the EPG menu setecting in virtual set-top box interface the program play at many pictures, and after selection, program will be added in the specified window of many pictures by automatic powder adding.This system has great convenience for the user the process of program selecting to need to play in many pictures, has thoroughly abandoned the mode needing user's manual configuration direct broadcast band address in traditional many picture systems, is more conducive to user and carries out many pictures and supervise.
As shown in Figure 1, in system of the present invention, many pictures processing module is the main control module of whole project, and carries out alternately with other external system/module, gather and manage.Many pictures processing module and virtual set-top box obtain the information such as the broadcasting URL of video source alternately, then broadcasting URL information is passed to video player, meanwhile video player needs to complete by this URL and streaming media server the process that drainage plays alternately.
Many pictures processing module is except carrying out alternately with other external system/module, internally also to configure, managing virtual Set Top Box information, manage many screen template, sub-screen information, support the stable use to video player and various operation control, support use the stable of virtual set-top box and operate control.
Wherein, the layer that represents of many pictures is used to be GUI and carries out a mutual module with service layer, represent content that layer comprises have the configuration of user's login window, many screen template and represent, the configuration of EPG account number represents, the configuration of virtual set-top box and represent, the control of video player and representing.The effect of service layer is that cooperation represents layer and completes data interaction, the operation representing layer is able to smoothly and database mutual.Data Layer mainly comprises and represents layer needs and mutual some performance datas of database, has user's permissions data, EPG account data, screen template information, sprite broadcast information etc.Virtual set-top box OLE(connects and embedded unit) be responsible for by the virtual set-top box system integration to many pictures processing module, by ActiveX(OCX) mode of plug-in unit carries out integrated.Player OLE is then responsible for video player being integrated into many pictures processing module, by ActiveX(OCX) mode of plug-in unit carries out integrated.The player of native system uses VLC player.Database uses MySql database, carries out managing the associated traffic data that many pictures processing module stores.Virtual set-top box is an independently application program, is similar to the EPG electric program menu of iTV TV, is mainly used for analog telecommand device to click viewing live telecast channel or request program.Many pictures processing module and virtual set-top box system are carried out mutual to obtain video information, and video information are play by video player.Video analyzer is that URL video source virtual set-top box sended over carries out code stream quality testing, the data result detect code stream and virtual set-top box are carried out alternately, transmitted the video quality information such as code stream TR101290, MDI delay factor, MDI packet loss by interactive interfacing, be finally integrated in many pictures processing module and display.Video player is an independently multipad, is responsible for playing passing over video flowing from streaming media server, and many pictures processing module by sending control signaling to video player, thus obtains the response of streaming media server.Streaming media server is the video stream server of telecom operators, user clicks video by virtual set-top box, video playback information is sent to many pictures processing module by virtual set-top box, many pictures processing module by video player and streaming media server mutual.User is by operation to video player, and as broadcasting, time-out, stopping, fast forwarding and fast rewinding, audio frequency, full frame etc., that has come with streaming media server is mutual.
Externally mutual many pictures processing module mainly with virtual set-top box, video player, streaming media server these independently system/module carry out alternately, the inner client then having oneself of internal many pictures processing module.As shown in Figure 3, many pictures processing module mainly represents layer, service layer, data Layer and database, and player OLE and virtual set-top box OLE is by as the part representing layer content.
Fig. 3 is many pictures processing module hierarchical chart, has showed the hierarchical relationship of modules.
Represent layer and comprise the function items such as configuration, video, virtual set-top box, safety, performance.Wherein configuration feature comprises user's configuration, virtual set-top box configuration, the configuration of many screen template, sprite configuration etc.Video capability comprises the broadcasting of video, the control of video, the stability etc. of video.Virtual set-top box function is mainly carried out integrated to virtual set-top box system, carries out alternately, and by virtual set-top box, video information is sent to video player by message with virtual set-top box.Safety function includes user security, information authentication, Video security etc.Performance this part mainly for video playback, support that at most 36 road video flowings are play simultaneously, be very large challenge for systematic function.
Service layer is mainly also with to represent layer mutually corresponding, mainly for the service support of configuration, code stream, alarm, safety, with represent the process increased compared with layer video analyzer error detecting code current mass data, code stream and warning information are passed to and represent on the page of layer.Service layer mainly provides the support of service logic for above function, put in storage by the process of service logic.
Data Layer provides data access support to representing layer, and mainly comprise the data maintenance of the functions such as picture, sprite, region, EPG account, user and Business Entity, the service logic of serviced layer called.
In many pictures processing module, database uses MySql database, support local data service configuration and remote date transmission configuration simultaneously, just can be realized by simple configuration file, the code of system and the configuration of template achieve the enhanced scalability of data source.The stand-alone environment of database provides independent dependence, and do not rely on network environment and other external environment condition, and the data, services of network data base or remote data base provides shared data, services, a database server can provide the data, services of multiple terminal.
Virtual set-top box many pictures processing module provides the system scheme that the many picture videos based on IPTV service supervise, for user provides convenient, fast, accurate, powerful and friendly interaction by EPG supervising IPTV video traffic.
Virtual set-top box many pictures processing module is on the basis of original many pictures processing module, the video content adding EPG electric program menu carries out broadcasting and detects, achieve the function such as configuration management, the management of many pictures, video supervises, code stream detects, safety management, virtual set-top box management, solve the configuration mode that traditional many picture video sources are single, add the diversity of systemic-function and powerful, more easy-to-use for user in use.
This many pictures processing module as shown in Figure 4, can realize following functions:
One, configuration management
1, pre-configured item: comprise area information, system login user profile, Template Information.
2, virtual set-top box account configuration: mainly comprise the relevant configuration of virtual set-top box EPG account and to communicate with socket configuration effort.
3, many screen template layout configurations: to the configuration of picture number, picture layout, wouldn't support self-defined configuration.
4, sprite broadcast information configuration: the configuration of the configuration of sprite EPG information, the configuration of broadcast information and sprite position in many screen template.
6, group broadcasting video frequency source configuration: to configuration efforts such as multicast plug-flow mode, the multicast address adding existing multicast stream mode and port informations.
Two, many picture management
1, many picture layout management, manage the display of many pictures.
2, full frame, many pictures Play Control etc. is managed.
3, sprite display management.Picture comprises title, video content, control module, UV show display, and sprite is full frame.
4, sprite operational administrative.Comprise right-click menu support, pull management and the operation of video, wherein the operation part of video comprises the operational administratives such as the broadcasting of picture, time-out, F.F., rewind, quiet, stopping.
Three, video supervises
1, carry out broadcasting by virtual set-top box from the stream that EPG sends over to supervise.
2, carry out video by the mode of multicast plug-flow to supervise.
3, the mode by adding existing multicast data flow is carried out video and is supervised.
4, the mode by introducing propelling movement clean culture TS stream is carried out video and is supervised.
Four, code stream detects
1, video quality detection is carried out to EPG drainage.
2, to propelling movement multicast data flow, add existing multicast data flow or unicast stream carries out video quality detection.
Five, safety management
1, system account safety management.
2, EPG account information safety management.
3, code stream information safety management.
4, database security management.
Six, virtual set-top box management
1, many pictures are integrated into virtual set-top box and carry out operational administrative, carry out the support of right mouse button menu, left button clicks support.
2, virtual set-top box and the interactive maintenance of many pictures processing module, adopts the Socket message transmission based on TCP, resolves information and carries out the parsing of Video stream information and detect broadcasting.
3, the version of virtual set-top box, stability, many account managements, supports that the virtual set-top box of different IP TV platform is integrated, controls, support that many accounts virtual set-top box switches to the stability of virtual set-top box.
IPTV network of the present invention is realized the system access IPTV network of network structure chart of many pictures playback process as shown in Figure 5 based on virtual set-top box.
The many pictures of many pictures processing module in present system to multicast or unicast video represent and detect, can reach after enterprise existing network is implemented following several in target:
1, virtual set-top box many pictures processing module access IPTV network environment, by ADSL private line access or connected by agency service, start virtual set-top box many pictures processing module and obtain EPG electric program menu by virtual set-top box, then forward EPG and link drainage and carry out code stream quality testing and video represents.
2, add multicast data flow by configuration multicast data flow, the code stream quality testing and the video that then carry out multicast data flow information represent.
3, undertaken forwarding the drainage of unicast stream detecting by configuration clean culture TS stream, and unicast stream will be invited to be played on many pictures.
4, the result of code stream quality testing is gathered warehouse-in, with in real time and gather two kinds of modes and represent on picture.
5, many pictures supervise target and can supervise the clear video of 32 road sign (2Mbps) at most simultaneously.
Many pictures based on virtual set-top box require that server performances are higher, minimumly will configure 4core 2.6GHz CPU, 4GB internal memory, 512M display card.Virtual set-top box needs IPTV to access environment, so need to open IPTV service from telecom operators, carries out the connection of IPTV private network by the mode of route dialing.After virtual set-top box is linked into IPTV network, the mode forwarded by drainage to multicast data flow, unicast stream carries out code stream detection and video supervises.The multicast accessed for non-IPTV and unicast stream, then need to have disposed multicast, unicast stream media server, so that the drainage configuration of the many pictures of virtual set-top box.
Meanwhile, the many pictures based on virtual set-top box require servers mainly to IPTV video, add push multicast data flow, unicast stream carries out quality-monitoring and video-see, little on the impact of IPTV streaming media server, stream pushing server.From performance, one road IPTV video flowing is equivalent to the performance impact that an IPTV set top box viewing video brings, so when 32 road streams watch the effect being also just equivalent to 32 set-top box users viewing IPTV simultaneously, the impact brought Streaming Media business device and the offered load of IPTV existing network is little.
The IPTV network that have employed this invention realizes the system and method for many pictures playback process based on virtual set-top box, its system comprises virtual set-top box, many pictures processing module, video analyzer, streaming media server and video player.User selectes the program of broadcasting by virtual set-top box, and many pictures processing module then realizes with described virtual set-top box alternately, obtains video information and user's operation information, and produces many pictures Play Control signal according to user's operation information; The video information obtained from streaming media server play by final video player according to the many pictures Play Control signal obtained from described many pictures processing module, realize many pictures and play.Utilize system and method for the present invention, the electric program menu that user can directly be provided by virtual set-top box selects the program needing to play, the video frequency program that in the broadcasting of many pictures, each subwindow is play is configured by virtual set-top box, clean culture and group broadcasting video frequency can be play simultaneously, remove the complex operations that user controls the broadcasting of each video respectively from, and IPTV network of the present invention realizes the system and method for many pictures playback process application mode based on virtual set-top box is simple, application cost is cheap, and range of application is also comparatively extensive.
In this description, the present invention is described with reference to its specific embodiment.But, still can make various amendment and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.