Embodiment
In order to solve in the prior art, the user is when network requests IPTV programme televised live, and network side can't determine that the user asks the programme televised live of watching, thus the problem that can't control the programme televised live of user request.The embodiment of the invention provides a kind of methods, devices and systems that the IPTV programme televised live is controlled.
In following embodiment, initiate request by the live broadcast service apparatus for initiating, and control according to this request programme televised live that request is watched to described live broadcast service apparatus for initiating by the live broadcast service control device to programme televised live.
As shown in Figure 1, the method that the IPTV programme televised live is controlled that the embodiment of the invention provides comprises:
Step 101 receives the programme televised live request message that the live broadcast service apparatus for initiating sends, and in the present embodiment, described programme televised live request message can be Session initiation Protocol invitation message (SIP invite).
Step 102 according to the view content indication information that described programme televised live request message carries, is determined the programme televised live that request is watched.
In the present embodiment, described view content indication information can be the programme televised live indication information, also can be programme televised live indication information and channel identication.
Wherein, described programme televised live indication information can be program identification information, as the BCprogramID of appointment in the TISPAN standard; Perhaps time period identification information is as time started and concluding time identification information; Perhaps the program key word identification information is Liang Chaowei etc. as protagonist.In the use of reality, described programme televised live indication information can also be other relevant information of programme televised live with the request of live broadcast service apparatus for initiating, perhaps be the combination in any of above-mentioned several identification informations, all possible situation do not given unnecessary details one by one herein.Described channel identication can be the BCserviceID of appointment in the TISPAN standard, certainly, also can be other signs relevant with channel.
When described programme televised live indication information is time period during identification information, this time period identification information can only comprise the concluding time identification information, and at this moment, it is the time started that network side can be given tacit consent to the time that receives described programme televised live request message; Described time period identification information also can only comprise the time started identification information, and at this moment, network side can be provided with Default End Time according to presetting strategy, as being provided with after the time started 1 hour for the concluding time etc.
Described view content indication information can be carried at the header field of described programme televised live request message, and perhaps parameter field is perhaps in the message body.For example: as follows, described view content indication information can with Session Description Protocol (Service Discovery Protocol, the form of a SDP) capable (session attribute is capable) agreement is carried in the message body of SIP invite message:
a=bc_service:BCServiceId
a=bc_program:BCprogramId
Or
a=bc_service:BCServiceId;BCprogramId;
Perhaps, as follows, described view content indication information can be carried in the message body of SIP invite message with the XML form:
In the present embodiment, when described view content indication information comprised programme televised live indication information and channel identication, described step 102 comprised: according to described programme televised live indication information and channel identication, determine the programme televised live that request is watched;
When described view content indication information comprised the programme televised live indication information, described step 102 comprised:
According to described programme televised live indication information, the channel identication at the programme televised live place that the request of obtaining is watched; In the present embodiment, the live broadcast service control device can obtain the channel identication of the programme televised live that described request watches from self canned data; Also can be from other network entities, as service selection functional (Service Selection Function, SSF) (Content Profile Service Function, CPSF) entity obtain the channel identication of the programme televised live that described request watches for entity or content-data function;
According to described programme televised live indication information and channel identication, determine the programme televised live that described request is watched.
Step 103 is watched control to the programme televised live that described request is watched.
In another embodiment provided by the invention, as shown in Figure 2, after step 102 as shown in Figure 1, can also comprise before 103:
Step 102a judges whether the programme televised live that described request is watched arrives reproduction time.
Then step 103 as shown in Figure 1 can be specially 103a as shown in Figure 2 in the present embodiment, watches control according to the programme televised live that the judged result of step 102a is watched described request.
In above-mentioned steps 103 and 103a, the live broadcast service control device can be according to the difference of actual conditions, and the programme televised live that described request is watched carries out various control, and this paper will be described in detail this part in follow-up embodiment, not give unnecessary details herein.
The method that the IPTV programme televised live is controlled that the embodiment of the invention provides, owing in the programme televised live request message, carried the view content indication information, so, the live broadcast service control device can be determined the programme televised live that the request of live broadcast service apparatus for initiating is watched according to this view content indication information, and this programme televised live is controlled.Solved because the programme televised live request message only carries channel information, and what make that network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
With as depicted in figs. 1 and 2 the method that the IPTV programme televised live is controlled accordingly, in another embodiment of the present invention, also provide a kind of method that the IPTV programme televised live is controlled, as shown in Figure 3, comprising:
Step 301 sends the programme televised live request message to the live broadcast service control device, and this programme televised live request message carries the view content indication information.In the present embodiment, described view content indication information is identical with the described view content indication information of Fig. 1, repeats no more herein.
Step 302 receives the control messages that the live broadcast service control device returns.
Step 303 is operated according to the control messages that described live broadcast service control device returns.
In the present embodiment, as shown in Figure 4, described step 303 is specifically as follows:
Step 401, the multicast address of the programme televised live that the request that the control messages of returning according to described live broadcast service control device is carried is watched, the multicast group that adds the programme televised live place that described request watches is obtained Media Stream;
Step 402 is play the programme televised live Media Stream that described request is watched.
When the key of the programme televised live correspondence that described request watches is also carried in described control information, after described step 401, before 402, can also comprise: the key of the programme televised live correspondence of watching according to described request, the programme televised live Media Stream that described request of obtaining is watched is decrypted, and then described step 402 can be play the Media Stream after the deciphering.
Further, as shown in Figure 3, after described step 303, can also comprise:
Step 304 is obtained the programme televised live ending message;
In the present embodiment, the live broadcast service apparatus for initiating can generate the programme televised live ending message, also can obtain the programme televised live ending message that the live broadcast service control device sends by network;
Step 305 according to described programme televised live end, is left the multicast group at the programme televised live place that described request watches, and stops to play the programme televised live that described request is watched.
The method that the IPTV programme televised live is controlled that the embodiment of the invention provides, owing in the programme televised live request message, carried the view content indication information, so, make the live broadcast service control device to determine the programme televised live that the request of live broadcast service apparatus for initiating is watched, and this programme televised live is controlled according to this view content indication information.Solved because the programme televised live request message only carries channel information, and what make that network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
As shown in Figure 5, the embodiment of the invention provides also provides a kind of live broadcast service control device, comprising:
Request message receiving element 501 is used to receive the programme televised live request message that the live broadcast service apparatus for initiating sends;
Programme televised live determining unit 502 is used for the view content indication information that carries according to described programme televised live request message, determines the programme televised live that request is watched;
Programme televised live control unit 503 is used for the programme televised live that the request that described programme televised live determining unit 502 is determined is watched is watched control.
Further, described programme televised live determining unit 502 can comprise:
First determining unit is used for when described view content indication information comprises programme televised live indication information and channel identication, according to described programme televised live indication information and channel identication, determines the programme televised live that request is watched;
Perhaps, as shown in Figure 6, described programme televised live determining unit 502 can comprise:
Channel identication acquiring unit 5021 is used for when described view content indication information is the programme televised live indication information, according to described programme televised live indication information, and the channel identication at the programme televised live place that the request of obtaining is watched;
Second determining unit 5022 is used for the channel identication that the programme televised live indication information that carries according to described programme televised live request message and described channel identication acquiring unit 5021 obtain, and determines the programme televised live that described request is watched.
Further, as shown in Figure 6, described live broadcast service control device can also comprise:
Reproduction time judging unit 504 is used to judge whether the programme televised live that described request is watched arrives reproduction time;
Then described programme televised live control unit 503 also is used for the judged result according to described reproduction time judging unit 504 acquisitions, and the programme televised live that described request is watched is watched control.
Further, as shown in Figure 6, described live broadcast service control device can also comprise:
Request message validity judging unit 505 when the programme televised live that is used for watching when described request arrives reproduction time, judges whether described programme televised live request message is effective;
Described programme televised live control unit 503 also is used for the judged result according to described request message validity judging unit 505, and the programme televised live that described request is watched is watched control.
Further, as shown in Figure 6, described live broadcast service control device can also comprise:
Concluding time judging unit 506 is used to judge whether to arrive the programme televised live concluding time;
End transmitting element 507 is used for sending the programme televised live end to described live broadcast service apparatus for initiating when arriving the concluding time of programme televised live.
In the present embodiment, above-mentioned Fig. 5 and live broadcast service control device shown in Figure 6 can be business control function body (SCF), perhaps application server (AS).
The live broadcast service control device that the embodiment of the invention provides, the view content indication information that carries in the programme televised live request message that can send according to the live broadcast service apparatus for initiating, determine the programme televised live that the request of live broadcast service apparatus for initiating is watched, and this programme televised live is controlled.Solved programme televised live request message of the prior art and only carried channel information, network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
Corresponding with live broadcast service control device as shown in Figure 5 and Figure 6, as shown in Figure 7, the embodiment of the invention also provides a kind of live broadcast service apparatus for initiating, comprising:
Request message transmitting element 701, be used for sending the programme televised live request message to the live broadcast service control device, this programme televised live request message carries the view content indication information, in the present embodiment, this view content indication information is identical with as described in Figure 1 view content indication information, does not give unnecessary details herein;
Control messages receiving element 702 is used to receive the control messages that the live broadcast service control device returns;
Operating unit 703 is used for operating according to the control messages that described live broadcast service control device returns.
Further, as shown in Figure 8, described operating unit 703 can comprise:
Media Stream acquiring unit 7031 is used for the multicast address of the programme televised live watched according to the request that the control messages that described live broadcast service control device returns is carried, and the multicast group that adds the programme televised live place that described request watches is obtained Media Stream;
Broadcast unit 7032 is used to play the programme televised live Media Stream that described request that described Media Stream acquiring unit 7031 obtains is watched.
Further, as shown in Figure 8, described operating unit 703 can also comprise:
Decrypting device 7033 is used for the key of the programme televised live correspondence of watching according to the described request that the control messages that described live broadcast service control device returns is carried, and the programme televised live Media Stream that the request that described Media Stream acquiring unit 7031 is obtained is watched is decrypted;
Described broadcast unit 7032 also is used to play the Media Stream after the described deciphering.
Further, as shown in Figure 8, described live broadcast service apparatus for initiating can also comprise:
End acquiring unit 704 is used to obtain the programme televised live end;
Stop broadcast unit 705, be used for, leave the multicast group at the programme televised live place that described request watches, stop to play the programme televised live that described request is watched according to described programme televised live end.
In the present embodiment, above-mentioned Fig. 7 and live broadcast service apparatus for initiating shown in Figure 8 can be IPTV terminal, perhaps SCF.
The live broadcast service apparatus for initiating that the embodiment of the invention provides, owing in the programme televised live request message, carried the view content indication information, so, can make the live broadcast service control device determine the programme televised live that the request of live broadcast service apparatus for initiating is watched, and this programme televised live is controlled according to this view content indication information.Solved programme televised live request message of the prior art and only carried channel information, network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
As shown in Figure 9, the embodiment of the invention also provides a kind of system that the IPTV programme televised live is controlled, and comprising:
Live broadcast service apparatus for initiating 901, be used to send the programme televised live request message, this programme televised live request message carries the view content indication information, receives the programme televised live control messages that live broadcast service control device 902 returns, and operates according to this programme televised live control messages;
Described live broadcast service control device 902, be used to receive the programme televised live request message that described live broadcast service apparatus for initiating 901 sends, the view content indication information that carries according to this programme televised live request message, the programme televised live that definite request is watched, and this programme televised live controlled, send the programme televised live control messages to described live broadcast service apparatus for initiating 901.
Further, described live broadcast service control device 902 is used to also to judge whether the programme televised live that the request of described programme televised live indication information indication is watched reaches reproduction time, controls according to the programme televised live that judged result is watched described request.
Further, described live broadcast service control device 902, when the programme televised live that also is used for watching when described request arrives reproduction time, judge whether described programme televised live request message is effective, when effective, the programme televised live that described request is watched is watched control, send the second programme televised live control messages to described live broadcast service apparatus for initiating 901;
Described live broadcast service apparatus for initiating 901 also is used to receive the described second programme televised live control messages, operates according to this second programme televised live control messages.
Further, described live broadcast service control device 902 is used to also judge whether the programme televised live that described request is watched arrives the concluding time, when arriving, sends the programme televised live end to described live broadcast service apparatus for initiating 901;
Described live broadcast service apparatus for initiating 901 also is used to receive described programme televised live and receives message, stops to play the programme televised live that described request is watched according to this message.
The system that the IPTV programme televised live is controlled that the embodiment of the invention provides, because the live broadcast service apparatus for initiating has carried the view content indication information in the programme televised live request message, so, the live broadcast service control device can be determined the programme televised live that the request of live broadcast service apparatus for initiating is watched according to this view content indication information, and this programme televised live is controlled.Solved programme televised live request message of the prior art and only carried channel information, network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
The methods, devices and systems that the IPTV programme televised live is controlled that the above-described embodiment of the invention provides, the live broadcast service control device of network side can be initiated the programme televised live that unit requests watches to described live broadcast service according to actual conditions carry out different control.In order to make the technical scheme that those skilled in the art can more be expressly understood the embodiment of the invention to be provided, the methods, devices and systems that the IPTV programme televised live is controlled that the embodiment of the invention provides are described in detail below by a plurality of specific embodiments.
Embodiment 1: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, and judge whether this programme televised live arrives reproduction time, when arriving, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication and described request watch, and the indication network side allows the multicast group at the programme televised live place that described live broadcast service apparatus for initiating adding described request watches to obtain the Media Stream of this programme televised live; When no show, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the described programme televised live request message indication of refusal, the programme televised live request message that the described live broadcast service apparatus for initiating of indication refusal sends, wherein, described live broadcast service apparatus for initiating is that (described live broadcast service control device is SCF to the IPTV termination function for IPTV terminal function, ITF) entity.As shown in figure 10, its step comprises:
Step 1001, ITF subscribes to PPV program, the channel identication and the program identification information of carrying programme televised live in the request of PPV program ordering to the SCF of network side.
Step 1002, SCF preserves this PPV subscription information after receiving the PPV program ordering request of described ITF transmission, promptly preserves channel identication and program identification information.
Step 1003, when the IPTV programme televised live is watched in user's click, ITF sends the programme televised live request message to SCF, in the present embodiment, described programme televised live request message is SIP invite request, carry channel identication and program identification information in this SIP invite request, this channel identication and program identification information can be BCserviceID and the BCprogramID that stipulates in the TISPAN standard.At this moment, described channel identication and program identification information can be carried among the SDP of SIP invite request by following program:
a=bc_service:BCServiceId
a=bc_program:BCprogramId
The multicast address of c=channel correspondence
a=recvonly
After step 1004, the IP Multimedia System core network element of network side (IMS core) receive described SIP invite request, this SIP invite request is transmitted to SCF.
Step 1005, after described SCF receives described SIP invite request, request is carried according to this SIP invite channel identication and program identification information, the programme televised live that definite request is watched, and according to the PPV subscription information of storing in advance in the described step 1002, carry out authentication, judge whether the user has subscribed to the programme televised live that described request is watched.When authentication is passed through, carry out subsequent step; Otherwise, reply 043 errored response, the refusal request.
Step 1006, when authentication was passed through, SCF judged whether the programme televised live that described request is watched arrives reproduction time.
Step 1007 when arriving reproduction time, is carried out media negotiation between SCF and the ITF.
Step 1008, after consulting to finish, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication and described request watch.In the present embodiment, described programme televised live control messages is 200OK.
Step 1009, IMS core receives described SCF when 200OK that ITF returns, carry out resource reservation with resource access control subsystem (RACS), by and RACS between interface, use the AA Request order of diameter agreement, the multicast address at the programme televised live place that described request is watched sends to RACS, the multicast address at the programme televised live place that RACS watches request again sends to basic control function/basic preceding rotating function (Elementary Control Function/Elementary Forwarding Function, ECF/EFF) entity, described ECF/EFF adds the described ITF of into permission with this multicast address and adds in the multicast group tabulation, allows ITF to add described multicast group and obtains Media Stream.
Step 1010, IMS core is transmitted to ITF with described 200OK.
Step 1011 after ITF receives described 200OK, sends reception success response message (ACK) to SCF.
Step 1012, IMS core is transmitted to SCF with described ACK.
Step 1013, ITF sends the multicast group that IGMP join request adds the programme televised live place that described request watches to ECF/EFF, receives the Media Stream of the programme televised live that described request watches from described ECF/EFF.
Step 1014, SCF judges whether the programme televised live that described user's request is watched arrives the concluding time.
Step 1015, when arriving the concluding time, SCF sends the programme televised live end to ITF, and in the present embodiment, this programme televised live end is the bye request.
Step 1016, IMS core receives described SCF when the bye of ITF transmission request, according to this bye request cancellation resource, the business on the RACS deexcitation ECF/EFF, ECF/EFF forbids that ITF adds multicast group.
Step 1017, IMS core is transmitted to ITF with described bye request.
Step 1018, ITF sends IGMP leave message and leaves multicast group according to the bye request that receives.
Step 1019, ITF sends programme televised live to SCF and finishes acknowledge message, and in an embodiment, it is 200OK that this programme televised live finishes acknowledge message.
Step 1020, IMS core is transmitted to SCF with described 200OK.
In the present embodiment, when the judged result of described step 1006 is the no show reproduction time, SCF sends the programme televised live control messages to described ITF, and this programme televised live control messages is carried the indication information of the described SIP invite request of refusal, and this moment is execution in step 1007 to 1020 not.
Embodiment 2: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, and judge whether this programme televised live arrives reproduction time, when arriving, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication and described request watch, and the indication network side allows the multicast group at the programme televised live place that described live broadcast service apparatus for initiating adding described request watches to obtain the Media Stream of this programme televised live; When no show, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried and is accepted described programme televised live request message indication, the multicast address at the programme televised live place that described request is watched and the programme televised live Media Stream state that described request watches is set is the unactivated state indication, the indication network side allows described live broadcast service apparatus for initiating to add the multicast group at the programme televised live place that described request watches, but it is unactivated state that described programme televised live Media Stream state is set, when arriving reproduction time, and when described programme televised live request message is effective, send the second programme televised live control messages to described live broadcast service apparatus for initiating, this second programme televised live control messages is carried the programme televised live Media Stream state that described request watches is set is the state of activation indication, it is state of activation that the indication network side is provided with described programme televised live Media Stream state, wherein, described live broadcast service apparatus for initiating is ITF, and described live broadcast service control device is SCF.
In the present embodiment, when SCF judged that programme televised live that described request is watched arrives reproduction time, step shown in Figure 10 among its concrete step and the embodiment 1 was identical, repeats no more herein.
When SCF judges the programme televised live no show reproduction time that described request watches, as shown in figure 11, comprising:
Step 1101 to 1106 with step 1001 shown in Figure 10 to 1006 identical, repeat no more herein.
Step 1107 when the no show reproduction time, is carried out media negotiation between SCF and the ITF.
Step 1108, after negotiation is finished, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication, described request watch and the programme televised live Media Stream state that described request watches is set is the unactivated state indication.In the present embodiment, described programme televised live control messages is 200OK.
Step 1109, IMS core receives described SCF when 200OK that ITF returns, carry out resource reservation with RACS, by and resource access control subsystem RACS between interface, use the AA Request order of diameter agreement, the multicast address at the programme televised live place that described request is watched and the programme televised live Media Stream state that described request watches is set is that the unactivated state indication sends to RACS, the multicast address at the programme televised live place that RACS watches the described request again and programme televised live Media Stream state that described request watches is set is that the unactivated state indication sends to ECF/EFF, described ECF/EFF adds the described ITF of into permission with this multicast address and adds in the multicast group tabulation, and Flow-Status=DISABLED is set.
Step 1110, IMS core is transmitted to ITF with described 200OK.
Step 1111 after ITF receives described 200OK, sends reception success response message (ACK) to SCF.
Step 1112, IMS core is transmitted to SCF with described ACK.
Step 1113, ITF is to the multicast group at the programme televised live place that ECF/EFF transmission IGMP join request adding described request is watched.
Step 1114, the multicast group at the programme televised live place that ECF/EFF permission ITF adding described request is watched, according to Flow-Status=DISABLED, identification current media stream mode is a unactivated state, does not send Media Stream to ITF.
Step 1115, when the programme televised live of watching when described request arrived reproduction time, SCF judged whether described programme televised live request message (SIP invite request) is effective.
Step 1116, when described programme televised live request message is still effective, send the second programme televised live control messages to described ITF, this second programme televised live control messages is carried the programme televised live Media Stream state that described request watches is set is state of activation indication (a=sendonly).In the present embodiment, the described second programme televised live control messages is SIP reinvite request.
Step 1117, IMS core receives described SCF when the SIP reinvite of ITF transmission request, by and resource access control subsystem RACS between interface, use the AA Request order of diameter agreement, the programme televised live Media Stream state that described request watches is set is that the state of activation indication sends to RACS with described, the programme televised live Media Stream state that described request watches is set is that the state of activation indication sends to ECF/EFF to RACS with described again, ECF/EFF is provided with Flow-Status=ENABLED_DOWNLINK, and the multicast group at the programme televised live place that permission ITF adding described request is watched is obtained Media Stream.
Step 1118, IMS core is transmitted to ITF with described SIP reinvite request.
Step 1119, ITF sends 200OK to SCF after receiving described SIP reinvite request.
Step 1120, IMS core is transmitted to SCF with described 200OK.
Step 1121, ITF is to the multicast group at the programme televised live place that ECF/EFF transmission IGMP join request adding described request is watched, and ECF/EFF identification current media stream mode is ENABLED DOWNLINK, sends described Media Stream to ITF.
Step 1122 to 1128 with step 1014 shown in Figure 10 to 1020 identical, repeat no more herein.
Embodiment 3: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, and judge whether this programme televised live arrives reproduction time, when arriving, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication and described request watch, and the indication network side allows the multicast group at the programme televised live place that described live broadcast service apparatus for initiating adding described request watches to obtain the Media Stream of this programme televised live; When no show, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried and is accepted described programme televised live request message indication, the indication of the multicast group at the programme televised live place that the multicast address at the programme televised live place that described request is watched and the described live broadcast service apparatus for initiating adding of refusal described request are watched, the indication network side is refused the multicast group that described live broadcast service apparatus for initiating adds the programme televised live place that described request watches, when arriving reproduction time, and when described programme televised live request message is effective, send the second programme televised live control messages to described live broadcast service apparatus for initiating, this second programme televised live control messages is carried and is allowed described live broadcast service apparatus for initiating to add the indication of the multicast group at the programme televised live place that described request watches, the multicast group that the indication network side allows described live broadcast service apparatus for initiating to add the programme televised live place that described request watches is obtained the Media Stream of this programme televised live, wherein, described live broadcast service apparatus for initiating is ITF, and described live broadcast service control device is SCF.
In the present embodiment, when SCF judged that programme televised live that described request is watched arrives reproduction time, step shown in Figure 10 among its concrete step and the embodiment 1 was identical, repeats no more herein.
When SCF judges the programme televised live no show reproduction time that described request watches, as shown in figure 12, comprising:
Step 1201 to 1206 with step 1001 shown in Figure 10 to 1006 identical, repeat no more herein.
Step 1207 when the no show reproduction time, is carried out media negotiation between SCF and the ITF.
Step 1208, after negotiation is finished, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication, described request watch and refused the indication that described ITF adds the multicast group at the programme televised live place that described request watches.In the present embodiment, described programme televised live control messages is 200OK.
Step 1209, IMS core receives described SCF when 200OK that ITF returns, carry out resource reservation with resource access control subsystem (RACS), by and resource access control subsystem RACS between interface, use the AA Request order of diameter agreement, the indication that the multicast address at the programme televised live place that described request is watched and the described ITF of refusal add the multicast group at the programme televised live place that described request watches sends to RACS, the indication of the multicast group at the programme televised live place that the multicast address at the programme televised live place that RACS watches described request again and the described ITF adding of refusal described request are watched sends to ECF/EFF, and described ECF/EFF is in and forbids that ITF adds the multicast group state.
Step 1210, IMS core is transmitted to ITF with described 200OK.
Step 1211 after ITF receives described 200OK, sends reception success response message (ACK) to SCF.
Step 1212, IMS core is transmitted to SCF with described ACK.
Step 1213, ITF is to the multicast group at the programme televised live place that ECF/EFF transmission IGMP join request adding described request is watched.
Step 1214, ECF/EFF judges that user's lack of competence adds multicast group, ignores the IGMPjoin request that ITF sends.
Step 1215, when the programme televised live of watching when described request arrived reproduction time, SCF judged whether described programme televised live request message (SIP invite request) is effective.
Step 1216 when described programme televised live request message still effectively the time, sends the second programme televised live control messages to described ITF, and this second programme televised live control messages is carried and allowed described ITF to add the indication of the multicast group at the programme televised live place that described request watches.In the present embodiment, the described second programme televised live control messages is SIP reinvite request.
Step 1217, IMS core receives described SCF when the SIP reinvite of ITF transmission request, by and resource access control subsystem RACS between interface, use the AA Request order of diameter agreement, the indication that the described ITF of described permission is added the multicast group at the programme televised live place that described request watches sends to RACS, the indication of the multicast group at the programme televised live place that RACS watches the described ITF adding of described permission described request again sends to ECF/EFF, ECF/EFF adds the multicast address of the programme televised live that described request is watched in the tabulation of the described ITF adding of into permission multicast group, allows ITF to add described multicast group and obtains Media Stream.
Step 1218, IMS core is transmitted to ITF with described SIP reinvite request.
Step 1219, ITF sends 200OK to SCF after receiving described SIP reinvite request.
Step 1220, IMS core is transmitted to SCF with described 200OK.
Step 1221, ITF receives the Media Stream of the programme televised live of user's request to the multicast group at the programme televised live place that ECF/EFF transmission IGMP join request adding described request is watched from described ECF/EFF.
Step 1222 to 1228 with step 1014 shown in Figure 10 to 1020 identical, repeat no more herein.
Embodiment 4: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, and judge whether this programme televised live arrives reproduction time, when arriving, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message indication and described request watch, and the indication network side allows the multicast group at the programme televised live place that described live broadcast service apparatus for initiating adding described request watches to obtain the Media Stream of this programme televised live; When no show, send the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried the multicast address of accepting described programme televised live request message indication and free program, the indication network side allows described live broadcast service apparatus for initiating to add the multicast group at described free program place, obtain the Media Stream of this free program, when arriving reproduction time, and when described programme televised live request message is effective, send the second programme televised live control messages to described live broadcast service apparatus for initiating, this second programme televised live control messages is carried the multicast address at the programme televised live place that described request watches, the multicast group that the indication network side allows described live broadcast service apparatus for initiating to add the programme televised live place that described request watches is obtained the Media Stream of this programme televised live, wherein, described live broadcast service apparatus for initiating is ITF, and described live broadcast service control device is SCF.
In the present embodiment, when SCF judged that programme televised live that described request is watched arrives reproduction time, step shown in Figure 10 among its concrete step and the embodiment 1 was identical, repeats no more herein.
When SCF judges the programme televised live no show reproduction time that described request watches, as shown in figure 13, comprising:
Step 1301 to 1306 with step 1001 shown in Figure 10 to 1006 identical, repeat no more herein.
Step 1307 when the no show reproduction time, is carried out media negotiation between SCF and the ITF.
Step 1308, after consulting to finish, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address of accepting described programme televised live request message indication and free program.In the present embodiment, described programme televised live control messages is 200OK.
Step 1309, IMS Core is transmitted to ITF with described 200OK.
Step 1310 after ITF receives described 200OK, adds described free joint joint purpose multicast group and obtains free program.
Step 1311, when the programme televised live of user's request arrived reproduction time, SCF judged whether described programme televised live request message (SIP invite request) is effective.
Step 1312 when described programme televised live request message still effectively the time, sends the second programme televised live control messages to described ITF, and this second programme televised live control messages is carried the multicast address at the programme televised live place that described request watches.In the present embodiment, the described second programme televised live control messages is SIP reinvite request.
Step 1313, IMS core receives described SCF when the SIP reinvite of ITF transmission request, carry out resource reservation with RACS, by and RACS between interface, use the AA Request order of diameter agreement, the multicast address at the programme televised live place that described request is watched sends to RACS, the multicast address at the programme televised live place that RACS watches described request again sends to ECF/EFF, described ECF/EFF adds the described ITF of into permission with this multicast address and adds in the multicast group tabulation, allows ITF to add described multicast group and obtains Media Stream.
Step 1314, IMS core is transmitted to ITF with described SIP reinvite request.
Step 1315, ITF sends 200OK to SCF after receiving described SIP reinvite request.
Step 1316, IMS core is transmitted to SCF with described 200OK.
Step 1317, ITF sends IGMP leave message to ECF/EFF, leaves the multicast group at described free program place.
Step 1318, ITF sends the multicast group that IGMP join request adds described BCserviceID correspondence to ECF/EFF, receives the Media Stream of the programme televised live of user's request from described ECF/EFF.
Step 1319 to 1325 with step 1014 shown in Figure 10 to 1020 identical, repeat no more herein.
In above embodiment 1 to embodiment 4, described bye message also can be sent by ITF, and its process and the similar process that is sent by SCF are not given unnecessary details herein.
Embodiment 5: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, the live broadcast service control device sends the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried and is accepted described programme televised live request message indication, the multicast address at the programme televised live place that described request is watched and the described live broadcast service apparatus for initiating of permission add the time period information of multicast group, the indication network side is allowing described live broadcast service apparatus for initiating to add in the time period of multicast group, the multicast group that described live broadcast service apparatus for initiating is added the programme televised live place that described request watches is obtained the Media Stream of this programme televised live, wherein, described live broadcast service apparatus for initiating is ITF, and described live broadcast service control device is SCF.As shown in figure 14, its step comprises:
Step 1401 to 1405 with step 1001 shown in Figure 10 to 1005 identical, repeat no more herein.
Step 1406 is carried out media negotiation between SCF and the ITF.
Step 1407, after negotiation is finished, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address of accepting the programme televised live place that described programme televised live request message is indicated, described request is watched and allowed described live broadcast service apparatus for initiating to add the time period information of multicast group.In the present embodiment, described programme televised live control messages is 200OK.
In the present embodiment, the time period information that the described live broadcast service apparatus for initiating of described permission adds multicast group can comprise time started and concluding time, also can only comprise time started or concluding time.Described time period information can be for a plurality of, and described a plurality of time periods of this moment can be the continuous time period, also can be the discrete time period.Among the t that described time period information can be carried at SDP information in the described 200OK message capable (session activation time row).
Step 1408, IMS core receives described SCF when 200OK that ITF returns, carry out resource reservation with RACS, by and RACS between interface, use the AARequest order of diameter agreement, the multicast address at the programme televised live place that described request is watched and the time period information that allows described live broadcast service apparatus for initiating to add multicast group send to RACS, the multicast address at the programme televised live place that RACS watches described request again and the time period information that allows described live broadcast service apparatus for initiating to add multicast group send to ECF/EFF, described ECF/EFF adds this multicast address and time period information in the tabulation of the described live broadcast service apparatus for initiating adding of into permission multicast group, in the described time period, allow described live broadcast service apparatus for initiating to add multicast group.
Step 1409, IMS core is transmitted to ITF with described 200OK.
Step 1410 after ITF receives described 200OK, sends reception success response message (ACK) to SCF.
Step 1411, IMS core is transmitted to SCF with described ACK.
Step 1412, ITF is to the multicast group at the programme televised live place that ECF/EFF transmission IGMP join request adding described request is watched.
Step 1413, ECF/EFF judges whether to allow ITF to add described multicast group.In the present embodiment, specifically can judge whether to allow ITF to add the multicast group of described BCserviceID correspondence by judging whether to arrive the reproduction time of described programme televised live.
Step 1414, when judging that according to described time period information described live broadcast service apparatus for initiating has authority to add multicast group, described live broadcast service is initiated the unit add multicast group, begin to send Media Stream, after reaching the concluding time, judge that described live broadcast service initiates the unit also in multicast group, then automatically this live broadcast service is initiated unit and from multicast group, delete;
When judging that according to time period information described ITF lack of competence adds multicast group, temporary transient this IGMPjoin that preserves asks, in the time period that adds multicast group to the described ITF of permission, and ITF is also in multicast group the time, described ITF is added multicast group, begin to send Media Stream, after reaching the concluding time, judge that described live broadcast service initiates the unit also in multicast group, then automatically this live broadcast service is initiated unit and from multicast group, delete.
Embodiment 6: carry channel identication and program identification information in the programme televised live request message that the live broadcast service apparatus for initiating sends, the live broadcast service control device of network side is determined the programme televised live of live broadcast service apparatus for initiating request according to described channel identication and program identification information, the live broadcast service control device sends the programme televised live control messages to described live broadcast service apparatus for initiating, this programme televised live control messages is carried and is accepted described programme televised live request message indication, the key of the multicast address at the programme televised live place that described request is watched and the programme televised live correspondence that described request is watched, the multicast group that the indication network side allows described live broadcast service apparatus for initiating to add the programme televised live place that described request watches is obtained the Media Stream of this programme televised live, and indicate described live broadcast service apparatus for initiating to adopt of the Media Stream deciphering of described key to obtaining, wherein, described live broadcast service apparatus for initiating is ITF, and described live broadcast service control device is SCF.As shown in figure 15, its step comprises:
Step 1501 to 1505 with step 1001 shown in Figure 10 to 1005 identical, repeat no more herein.
Step 1506 is carried out media negotiation between SCF and the ITF.
Step 1507, after negotiation is finished, SCF sends the programme televised live control messages to ITF, and this programme televised live control messages is carried the multicast address at the programme televised live place that the described programme televised live request message of acceptance is indicated, described request is watched and the key of the programme televised live correspondence that described request is watched.In the present embodiment, described programme televised live control messages is 200OK.
The key of the programme televised live correspondence that described request is watched can be carried among the k capable (encryption key is capable) of SDP information in the described 200OK message.
Step 1508, IMS core receives described SCF when 200OK that ITF returns, carry out resource reservation with RACS, by and RACS between interface, use the AARequest order of diameter agreement, the multicast address at the programme televised live place that described request is watched sends to RACS, RACS will ask the multicast address at the programme televised live place that described request watches to send to ECF/EFF again, described ECF/EFF adds the described ITF of into permission with this multicast address and adds in the multicast group tabulation, allows ITF to add described multicast group and obtains Media Stream.
Step 1509, IMS core is transmitted to ITF with described 200OK.
Step 1510 after ITF receives described 200OK, sends reception success response message (ACK) to SCF.
Step 1511, IMS core is transmitted to SCF with described ACK.
Step 1512, ITF sends the multicast group that IGMP join request adds the programme televised live place that described request watches to ECF/EFF, receives the Media Stream of the programme televised live that described request watches from described ECF/EFF.
Step 1513, ITF uses the key that carries among the described 200OK that the Media Stream that obtains from ECF/EFF is decrypted, if can decipher, that current media stream is the Media Stream of BCprogramID program correspondence, presents after the ITF deciphering; Otherwise be not the Media Stream of program correspondence, abandon that at this moment the user can select to leave multicast group, end session follow-uply carries out session again and sets up, and also can stay in the multicast group, when ITF detects can decipher the Media Stream of receiving the time, begins to present.When described programme televised live is play when finishing, the user obtains the program media stream that key can't decrypt subsequent, and ITF abandons the Media Stream of receiving, at this moment the user can select end session or continue to stay in the multicast group.
The technical scheme that present embodiment provides, network side are not done the judgement of programme televised live reproduction time, and every operation has alleviated the burden of network side by cipher controlled, has saved Internet resources.
In above embodiment 5 and embodiment 6, described ITF or SCF can also comprise and judge whether to reach the programme televised live concluding time; When arriving the concluding time, send the step of programme televised live end to described live broadcast service apparatus for initiating.Concrete steps can not given unnecessary details referring to step 1014 among the embodiment shown in Figure 10 1 to 1020 described herein.
In above-described six embodiment, can also carry time period identification information or program key word identification information etc. in the programme televised live request message (SIPinvite request) of user by the ITF transmission, at this moment, its step is identical with above six described steps of embodiment, does not do herein and gives unnecessary details.
The methods, devices and systems that the IPTV programme televised live is controlled that the embodiment of the invention provides, owing in the programme televised live request message, carried the view content indication information, so, the live broadcast service control device can be determined the programme televised live that the request of live broadcast service apparatus for initiating is watched according to this view content indication information, and this programme televised live is controlled.Solved programme televised live request message of the prior art and only carried channel information, network side can't determine that the user asks to watch is which programme televised live in the channel, thus the problem that network side can't be controlled the program of user's request.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.