Summary of the invention
In order to solve the problems of the prior art, according to an aspect of the present invention, the time-shifting method of interactive Web TV system in a kind of next-generation communication network has been proposed, interactive Web TV system comprises: the IPTV terminal, message control module, the IPTV application module, the content delivery control module, content delivery and memory module, NACF (Network AttachmentControl Function, network attachment control), RACF (Resource and AdmissionControl Functions, the resource access control), and multicast control/multicast replication point module, this method comprises: step 1, the IPTV terminal is after message control module is initiated live request, with message control module, the IPTV application module, the content delivery control module, content delivery and memory module, NACF, RACF and multicast control/multicast replication point module carry out alternately to obtain the positional information of IPTV terminal in network and the content delivery of direct broadcast band service and the URL information of memory module are provided; Step 2, the IPTV terminal is set up RTSP with message control module and is linked, and message control module is set up RTSP according to the URL information of content delivery and memory module and content delivery with memory module and is linked; Step 3, after message control module sent the time shift program request, message control module was to content delivery and memory module time-shifting program request in the IPTV terminal; And step 4, content delivery and memory module send RTSP time shift program stream to IPTV.
This method also is included in the step 3 (A) between step 2 and the step 3, and the IPTV terminal sends the request that adds multicast channel to multicast control/multicast replication point module; And step 3 (B), content delivery and memory module provide living broadcast content stream to the IPTV terminal.
This method also comprises: the step 3 (B) between the step 3 between step 1 and the step 2 (A) and step 2 and the step 3, and wherein step 3 (A) comprising: the IPTV terminal sends the request that adds multicast channel to multicast control/multicast replication point module; And step 3 (B) comprising: content delivery and memory module provide living broadcast content stream to the IPTV terminal.
In addition, this method also comprises step 4 (A): the IPTV terminal withdraws from multicast channel to the request of multicast control/multicast replication point module.This step is between step 3 and the step 4 or between step 3 (B) and the step 3.
Wherein, step 1 comprises: message control module obtains the positional information of IPTV terminal in network alternately with NACF after receiving live request from the IPTV terminal; Message control module receives after the IPTV location information of terminals that NACF returns, and carries out alternately to obtain the content delivery that the direct broadcast band service is provided and the URL information of memory module with the content delivery control module; And message control module and RACF module are carried out mutual so that RACF allocation of network resources and are returned the content delivery that the direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
Message control module and NACF carry out mutual before, also comprise: the live request to the IPTV terminal authenticates and authentication message control module according to the user profile of IPTV terminal, and under situation by authentication and authentication, carry out subsequent operation, otherwise after the IPTV terminal is returned error message, withdraw from live.
According to time-shifting method of the present invention, also comprise: the IPTV terminal is undertaken alternately to finish time shift program stream by message control module and content delivery and memory module.After finishing time shift program stream, message control module and RACF carry out alternately with releasing network resources.After finishing time shift program stream, message control module and content delivery and memory module are carried out alternately to discharge distributed resources.The time shift of message control module notice IPTV terminal finishes.
Wherein, message control module and NACF obtain the positional information of IPTV terminal in network alternately and comprise following processing: message control module is to the positional information of NACF request IPTV terminal in network; And NACF returns the IPTV location information of terminals to message control module.
Message control module and content delivery control module carry out alternately comprising following processing to obtain the content delivery that the direct broadcast band service is provided with the URL information of memory module: message control module receives after the IPTV location information of terminals that NACF returns, to IPTV application module transmission direct broadcast band URL request message; The IPTV application module is transmitted direct broadcast band URL request message to the content delivery control module; The content delivery control module is returned the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV application module; And the IPTV application module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to message control module.
Before the content delivery control module is returned the URL information of content delivery that direct broadcast band service is provided and memory module to the IPTV application module, also comprise: the content delivery control module is selected suitable content delivery and memory module according to distribution policy, and distributes the local resource of selected content delivery and memory module.
Message control module and RACF module are carried out mutual so that RACF allocation of network resources and returned content delivery that the direct broadcast band service is provided and the URL information of memory module comprises to the IPTV terminal: message control module is supported network route information from content delivery and memory module to the IPTV terminal to RACF module request allocation of network resources information; RACF module assignment network resource information; And message control module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
According to a further aspect in the invention, the time-shifting method of interactive Web TV system in a kind of next-generation communication network has been proposed, interactive Web TV system comprises: IPTV terminal, message control module, IPTV application module, content delivery control module, content delivery and memory module, NACF, RACF and multicast control/multicast replication point module, this method comprises: message control module obtains the positional information of IPTV terminal in network alternately with NACF after receiving live request from the IPTV terminal; Message control module receives after the IPTV location information of terminals that NACF returns, and carries out alternately to obtain the content delivery that the direct broadcast band service is provided and the URL information of memory module with the content delivery control module; Message control module and RACF module are carried out mutual so that RACF allocation of network resources and are returned the content delivery that the direct broadcast band service is provided and the URL information of memory module to the IPTV terminal; The IPTV terminal is set up RTSP with message control module and is linked, and message control module is set up RTSP according to the URL information of content delivery and memory module and content delivery with memory module and linked; After the IPTV terminal sent the request that adds multicast channel to multicast control/multicast replication point module, content delivery and memory module provided living broadcast content stream to the IPTV terminal; After message control module sent the time shift program request, message control module was to content delivery and memory module time-shifting program request in the IPTV terminal; The IPTV terminal withdraws from multicast channel to the request of multicast control/multicast replication point module; And content delivery and memory module send RTSP time shift program stream to IPTV.
Message control module and NACF carry out mutual before, also comprise: the live request to the IPTV terminal authenticates and authentication message control module according to the user profile of IPTV terminal, and under situation by authentication and authentication, carry out subsequent operation, otherwise after the IPTV terminal is returned error message, withdraw from live.
According to time-shifting method of the present invention, also comprise: the IPTV terminal is undertaken alternately to finish time shift program stream by message control module and content delivery and memory module.After finishing time shift program stream, message control module and RACF carry out alternately with releasing network resources.After finishing time shift program stream, message control module and content delivery and memory module are carried out alternately to discharge distributed resources.The time shift of message control module notice IPTV terminal finishes.
Message control module and NACF obtain the positional information of IPTV terminal in network alternately and comprise following processing: message control module is to the positional information of NACF request IPTV terminal in network; And NACF returns the IPTV location information of terminals to message control module.
Message control module and content delivery control module carry out alternately comprising following processing to obtain the content delivery that the direct broadcast band service is provided with the URL information of memory module: message control module receives after the IPTV location information of terminals that NACF returns, to IPTV application module transmission direct broadcast band URL request message; The IPTV application module is transmitted direct broadcast band URL request message to the content delivery control module; The content delivery control module is returned the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV application module; And the IPTV application module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to message control module.
Before the content delivery control module is returned the URL information of content delivery that direct broadcast band service is provided and memory module to the IPTV application module, also comprise: the content delivery control module is selected suitable content delivery and memory module according to distribution policy, and distributes the local resource of selected content delivery and memory module.
Message control module and RACF module are carried out mutual so that RACF allocation of network resources and returned content delivery that the direct broadcast band service is provided and the URL information of memory module comprises to the IPTV terminal: message control module is supported network route information from content delivery and memory module to the IPTV terminal to RACF module request allocation of network resources information; RACF module assignment network resource information; And message control module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
According to another aspect of the invention, the time-shifting method of interactive Web TV system in a kind of next-generation communication network has been proposed, interactive Web TV system comprises: IPTV terminal, message control module, IPTV application module, content delivery control module, content delivery and memory module, NACF, RACF and multicast control/multicast replication point module, this method comprises: the IPTV terminal is set up RTSP with message control module and is linked, and message control module is set up RTSP according to the URL information of content delivery and memory module and content delivery with memory module and linked; After message control module sent the time shift program request, message control module was to content delivery and memory module time-shifting program request in the IPTV terminal; And content delivery and memory module send RTSP time shift program stream to the IPTV terminal.
Wherein, described URL information is obtained by following steps: message control module obtains the positional information of IPTV terminal in network alternately with NACF after receiving live request from the IPTV terminal; Message control module receives after the IPTV location information of terminals that NACF returns, and carries out alternately to obtain the content delivery that the direct broadcast band service is provided and the URL information of memory module with the content delivery control module; And message control module and RACF module are carried out mutual so that RACF allocation of network resources and are returned the content delivery that the direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
This method also comprises: the IPTV terminal is undertaken alternately to finish time shift program stream by message control module and content delivery and memory module.
After finishing time shift program stream, also comprise: message control module and RACF carry out alternately with releasing network resources; And message control module and content delivery and memory module are carried out alternately to discharge distributed resources.
In this method, also comprise: the time shift of message control module notice IPTV terminal finishes.
Therefore, method of the present invention has been fused in the next generation network framework (NGNIMS or NGN non-IMS) fully, does not need the existing NGN network architecture is carried out any change; And owing to the transformation that has realized the NGN network based on the IPTV system of this framework, the IPTV terminal can realize roaming and nomadic function, has promoted the core competitiveness of IPTV system.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
The objective of the invention is to, a kind of time-shifting method of the IPTV based on next-generation communication network is provided, make interactive Web TV system under the function of nucleus module is tried one's best simple situation alternately, provide reliable time shift service.
Fig. 1 is the flow chart according to time-shifting method of the present invention.
As shown in Figure 1, may further comprise the steps:
S102, the IPTV terminal after message control module is initiated live request, with message control module, IPTV application module, content delivery control module, content delivery and memory module, NACF, RACF and multicast control/multicast replication point module carry out alternately with obtain the IPTV terminal in network positional information and the content delivery of direct broadcast band service and the URL information of memory module are provided;
S104, the IPTV terminal is set up RTSP with message control module and is linked, and message control module is set up RTSP according to the URL information of content delivery and memory module and content delivery with memory module and is linked;
S106, after message control module sent the time shift program request, message control module was to content delivery and memory module time-shifting program request in the IPTV terminal; And
S108, content delivery and memory module send RTSP time shift program stream to IPTV.
Wherein, this method is further comprising the steps of: step S106 (A), and the IPTV terminal sends the request that adds multicast channel to multicast control/multicast replication point module; And step S106 (B), content delivery and memory module provide living broadcast content stream to the IPTV terminal.
Above-mentioned steps S106 (A) and step S106 (B) can be between step S104 and step S106.
Step S106 (A) also can be between step S102 and step S104, and step S106 (B) is between step S104 and step S106.
In addition, this method also comprises at the step S108 (A) between step S106 and the step S108 or between described step 106 (B) and the described step S106: the IPTV terminal withdraws from multicast channel to the request of multicast control/multicast replication point module.
Wherein, S102 comprises: message control module obtains the positional information of IPTV terminal in network alternately with NACF after receiving live request from the IPTV terminal; Message control module receives after the IPTV location information of terminals that NACF returns, and carries out alternately to obtain the content delivery that the direct broadcast band service is provided and the URL information of memory module with the content delivery control module; And message control module and RACF module are carried out mutual so that RACF allocation of network resources and are returned the content delivery that the direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
Message control module and NACF carry out mutual before, also comprise: the live request to the IPTV terminal authenticates and authentication message control module according to the user profile of IPTV terminal, and under situation by authentication and authentication, carry out subsequent operation, otherwise after the IPTV terminal is returned error message, withdraw from live.
According to time-shifting method of the present invention, also comprise: the IPTV terminal is undertaken alternately to finish time shift program stream by message control module and content delivery and memory module.After finishing time shift program stream, message control module and RACF carry out alternately with releasing network resources.After finishing time shift program stream, message control module and content delivery and memory module are carried out alternately to discharge distributed resources.The time shift of message control module notice IPTV terminal finishes.
Wherein, message control module and NACF obtain the positional information of IPTV terminal in network alternately and comprise following processing: message control module is to the positional information of NACF request IPTV terminal in network; And NACF returns the IPTV location information of terminals to message control module.
Message control module and content delivery control module carry out alternately comprising following processing to obtain the content delivery that the direct broadcast band service is provided with the URL information of memory module: message control module receives after the IPTV location information of terminals that NACF returns, to IPTV application module transmission direct broadcast band URL request message; The IPTV application module is transmitted direct broadcast band URL request message to the content delivery control module; The content delivery control module is returned the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV application module; And the IPTV application module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to message control module.
Before the content delivery control module is returned the URL information of content delivery that direct broadcast band service is provided and memory module to the IPTV application module, also comprise: the content delivery control module is selected suitable content delivery and memory module according to distribution policy, and distributes the local resource of selected content delivery and memory module.
Message control module and RACF module are carried out mutual so that RACF allocation of network resources and returned content delivery that the direct broadcast band service is provided and the URL information of memory module comprises to the IPTV terminal: message control module is supported network route information from content delivery and memory module to the IPTV terminal to RACF module request allocation of network resources information; RAFC module assignment network resource information; And message control module returns the content delivery that direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
Fig. 2 is the message flow chart according to the embodiment of the inventive method.
As shown in Figure 2, the interactive Web TV system that relates to of the inventive method comprises as lower module:
IPTV terminal (IPTV Terminal Functions), hard-wired set-top box of IPTV or the terminal equipment of realizing with pure software with IPTV set-top box functionality;
Professional control (Service Control Functions) module, major function entity sets corresponding to service control layer face in the NGN network, in the IPTV system of the NGN IMS network architecture, this module refers to Core IMS functional entity, this functional entity provides the session control mechanism on SIP basis, IPTV terminal use's authentication is provided, authentication, request resource access control (RACF) function is carried out resource allocation work, this module also with the IPTV terminal, IPTV application function and content distribution function carry out the SIP session alternately, finish safety, Qos, charge, functions such as roaming;
IPTV uses (IPTV Applications Functions) module, this module allows the IPTV terminal can select and buy content, can handle the authentication used from the request of IPTV terminal and carry out information such as applied logic (IPTV program request, live etc. application, application choice etc.), contents processing metadata, in IPTV system based on the NGN framework, this module is communicated by letter with memory module with content delivery, handles from the chosen content payment of business control and the request of the address information of memory module;
Content delivery control (Content Delivery Control Functions) module, overall situation control is carried out in content distribution and content storage module, optimize content distribution (contentdistribution), select and transmit content to the terminal use, mainly comprise two major functions: distribution controlled function (Distribution Control Function) and position functions (LocationFunction).The distribution controlled function mainly is to optimize content distribution policy, this function management Nei Rongjiaofu ﹠amp; The distributed intelligence of memory function, position functions are used to discern content delivery and memory function is paid the optimum position information of content to media client, and its selecting scale mainly comprises load condition, the end message (for example information such as the position of terminal and ability) of distributed intelligence and content delivery and memory function;
Content delivery and storage (Content Delivery﹠amp; Storage Functions) module, finish distribution, buffer memory and memory contents and send to terminal use's function, this module can be handled the medium control messages, for example: suspend, F.F., control the Media Stream of IPTV system, this module mainly comprises the local controlled function (as stream service controlled function) of content, pay function (clean culture and multicast delivery method), buffer memory and memory function and distribution function, paying function mainly is that the content stream that will pay sends to media client, also can provide from the file of media client and download and the upload file function, buffer memory and memory function mainly are responsible for buffer memory time shift live TV stream and storage file content, and distribution function mainly is responsible at Nei Rongjiaofu ﹠amp; Live TV stream and file content are distributed in memory function inside, also can accept the content of content preparatory function;
Resource access control (Resource and Admission Control Functions) module, RACF assembly in the NGN network, this module is finished the resource control request from message control module, determine the resource of available transport layer (Transport Stratum), finish functions such as RSVP, distribution, bag are overanxious, Network address port translation alternately with bearing bed;
Network attachment control (Network Attachment Control Functions) module, NACF assembly in the NGN network, the initial work that provides the registration of access aspect and user terminal to insert the NGN business also provides authentication, authentication, the management of transport layer to insert king's functions such as IP address space; And
Multicast replication/multicast control point module, comprise multicast control point and multicast replication point, the multicast control point is provided on the access network multicast of selecting to pay and flows to function on the IPTV terminal, and the multicast replication point provides multicast data flow to pay function from a multicast need accept the copy function at the multicast control point of this multicast data flow to other.
As shown in Figure 2, the embodiment of time shift flow process of the present invention specifically may further comprise the steps, and the prerequisite of this step is: content is prepared, the network attachment function is finished.The server of content delivery and memory module has added in the multicast group at multicast replication/multicast control point:
Step 202, IPTV terminal are carried out preparation before live and IPTV application function and are carried out mutual application choice function and finish, and have obtained some parameters of live application need, for example channel ID etc.;
Step 204, the IPTV terminal is initiated live request to message control module, initiates live request to Core IMS function exactly corresponding to the NGN IMS network architecture;
Step 206, message control module authenticates and authentication to the live request of the IPTV terminal user profile according to this terminal, if by would enter S208, not by then return to withdraw from after the error message of IPTV terminal live;
Step 208, message control module is to the positional information of NACF module request IPTV terminal in network;
Step 210, the NACF module is returned the positional information of IPTV terminal in network to message control module;
Step 212, message control module send the request message of direct broadcast band URL to the IPTV applied function module;
Step 214, IPTV applied function module are transmitted the request message of direct broadcast band URL to the content delivery control module;
Step 216, the content delivery control module is selected suitable content delivery and memory function (obtaining URL information) according to distribution policy (providing service as the suitable content delivery and the memory function of Information Selection such as state of loading in content delivery and the memory module), and is distributed in the local resource of this content delivery and memory function;
Step 218, the content delivery controlled function is returned the content delivery that direct broadcast band service is provided and the URL information of memory to the IPTV application function;
Step 220, the IPTV application function returns the content delivery that direct broadcast band service is provided and the URL information of memory to service control function;
Step 222, service control function is supported network route information from content delivery and memory module to the IPTV terminal to RACF function request allocation of network resources information;
Step 224, RACF module assignment network resource information;
Step 226, RACF module are returned the network resource information of distribution to service control function;
Step 228, message control module returns the content delivery that direct broadcast service is provided and the URL address of memory module to the IPTV terminal;
Step 230, the IPTV terminal is set up the RTSP link to message control module;
Step 232, message control module are set up the RTSP link according to selected content delivery and memory module with it;
Step 234, IPTV terminal send the request that adds multicast channel to multicast control/multicast replication point;
Step 236 provides the content delivery of live TV stream and memory module to provide living broadcast content stream to the IPTV terminal;
Step 238, the IPTV terminal sends the time shift program request to message control module;
Step 240, message control module is to content delivery and memory module time-shifting program request;
Step 242, the IPTV terminal withdraws from multicast channel to the request of multicast control/multicast replication point;
Step 244, content delivery and memory module provide RTSP time shift program stream to the IPTV terminal;
Step 246, IPTV terminal send to message control module and finish the time shift program request;
Step 248, message control module sends the request of end time shift program to content delivery that time shift program is provided and memory module;
Step 250 provides the content delivery of time shift program and memory module to reply to message control module transmission end time shift program;
Step 252, message control module is to the request of RACF module request releasing network resources;
Step 254, RACF module releasing network resources;
Step 256, RACF module releasing network resources finish the back to message control module transmission response message;
Step 258, message control module discharges distributed resources to the IPTV application module requests;
Step 260, the IPTV application module discharges distributed resources to content delivery and memory module request;
Step 262, content delivery and memory module discharge distributed resources;
Step 264, content delivery control module send to the IPTV application module and discharge the distributed resources response message;
Step 266, IPTV application module send to message control module and discharge the distributed resources response message; And
Step 268, the IPTV application module finishes to the time shift of IPTV terminal notice.
In step 204, after message control module is received live request. need to carry out authentication again, be divided into two kinds of possibilities: message control module authenticates and authentication to the live request of the IPTV terminal user profile according to this terminal, if by would enter next step, not by then return to withdraw from after the error message of IPTV terminal live; Message control module is transmitted to the IPTV application module with the authentication and the authentication request of IPTV terminal, the IPTV application module sends to message control module with the result of authentication, if by would enter next step, not by then return to withdraw from after the error message of IPTV terminal live.
Wherein step 228 and step 230 also can be finished after step 234.
In addition, also in steps 280, content delivery and memory module circulation storage living broadcast content stream.This module is an internal system setting, is the precondition that the IPTV terminal has time-shifting function.
In addition, in another preferred embodiment, step 242, the IPTV terminal withdraws from multicast channel to the request of multicast control/multicast replication point, can also be between step 236 and step 238, to realize programme televised live stream and taking over seamlessly that time shift program flows.
Describe according to other method of the present invention below with reference to Fig. 3.As shown in Figure 3:
In step S302, the IPTV terminal is set up RTSP with message control module and is linked, and message control module is set up RTSP according to the URL information of content delivery and memory module and described content delivery with memory module and linked;
Next in step S304, after message control module sent the time shift program request, message control module was to content delivery and memory module time-shifting program request in the IPTV terminal;
Then, content delivery and memory module send RTSP time shift program stream to the IPTV terminal.
Wherein, before step S302, also comprise:
Message control module obtains the positional information of IPTV terminal in network alternately with NACF after receiving live request from the IPTV terminal;
Message control module receives after the IPTV location information of terminals that NACF returns, and carries out alternately to obtain the content delivery that the direct broadcast band service is provided and the URL information of memory module with the content delivery control module; And
Message control module and RACF module are carried out mutual so that RACF allocation of network resources and are returned the content delivery that the direct broadcast band service is provided and the URL information of memory module to the IPTV terminal.
In addition, the IPTV terminal is undertaken alternately finishing described time shift program stream by message control module and content delivery and memory module, and the time shift of message control module notice IPTV terminal finishes.
After finishing time shift program stream, message control module and RACF carry out alternately with releasing network resources; And message control module and content delivery and memory module are carried out alternately to discharge distributed resources.
Therefore, method of the present invention has been fused in the next generation network framework (NGN IMS or NGN non-IMS) fully.And do not need the existing NGN network architecture is carried out any change; And owing to the IPTV system based on this framework has realized the NGN network rebuilding, the IPTV terminal can realize roaming and nomadic function, has promoted the core competitiveness of IPTV system.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.