Background technology
Along with the development of mobile communication technology, operator not only can provide common voice and short message service to the mobile subscriber by mobile communication system, and multimedia short message service, visual telephone service and packet-switched domain video stream traffic etc. can also be provided.
Along with popularizing of large-screen multi-functional mobile phone and developing rapidly of mobile data services, streaming media service has become the important business opportunity that operator's next one is seized market.At present, at Wideband Code Division Multiple Access (WCDMA) (WCDMA) network, generally adopt the point-to-point transmission data technique to realize streaming media service, as mobile phone TV services.Be the characteristics that example illustrates the point-to-point transmission technology with WCDMA network 3GPP R99 below:
The scheme that the R99 version of WCDMA network utilisation third generation partner program (3GPP, 3rd GenerationPartnership Project) proposes realizes the point-to-point transmission business, i.e. the packet-switched domain video stream traffic.Fig. 1 has shown that 3G R99 version scheme realizes the basic networking diagram of packet-switched domain video stream traffic, as shown in Figure 1, this basic networking diagram comprises at least: subscriber equipment (UE, User Equipment), wireless access network (RAN, Radio Access Network), core net (CN, Core Network), streaming media server (PSS).The key that realizes the packet-switched domain video stream traffic is to set up dedicated channel between UE and RAN, sets up special I P data transmission channel between RAN and PSS, sets up the dedicated transmission channel that is used for the streaming media service data thus between UE and PSS.When the mobile subscriber will watch flow-medium performance, PSS just can send to UE with the flow-medium performance data by the dedicated transmission channel of setting up.
Though the Point-to-Point Data Transmission technology can realize streaming media service, but owing to need need to set up designated lane between the user terminal of receiving stream media business datum and the data source server at each, cause interface-free resources and transfer resource to be taken in a large number, be unfavorable for the popularization and the use of streaming media service.
In addition, 3GPP R6 version proposes a kind of realization BroadCast MultiCast Service (MBMS, MultimediaBroadcast Multicast Service) scheme, in this scheme, wireless network can provide the transmission bearer that a little arrives multiple spot, can solve the problem that stream medium data too much takies transfer resource and interface-free resources.But, the MBMS consensus standard need just can be achieved on the R6 network, promptly need to increase broadcast multi-broadcasting-service center (BM-SC), need simultaneously RAN, core net (CN) and UE upgraded and support BroadCast MultiCast Service controlling and manage based on the BroadCast MultiCast Service of MBMS standard.Because it is ripe not enough before the MBMS standard mesh, transform existing network as the R6 network and also need a large amount of work, therefore the BroadCast MultiCast Service based on the MBMS standard implements more complicated, a lot of present unforeseen difficulties are arranged, be unfavorable on existing mobile communication network, promoting streaming media service.
This shows in the prior art, also do not have a kind of big change just can realize a little arriving the streaming media service of multiple spot on the basis of existing mobile communication network method that need not to carry out.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that realizes streaming media service, not only can directly realize streaming media service on the basis of existing mobile communication network, and conserve network bandwidth resource greatly.In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of method that realizes streaming media service may further comprise the steps:
The adding multicast group request message that a, user equipment (UE) will carry multicast address sends to intermediate network node, intermediate network node with the UE address information recording in multicast table;
B, intermediate network node send to UE according to multicast table with the streaming media service data that obtain, and regularly send query messages according to multicast table, judging when receiving the query response message that returns, continue to send the streaming media service data according to multicast table.
Preferably, described intermediate network node comprises the step of UE address information recording in multicast table:
X, intermediate network node judge self whether there be the multicast table corresponding with received multicast address according to multicast address, if exist, then the UE address information directly are recorded in this multicast table; Otherwise, set up the multicast table corresponding with this multicast address, again with the UE address information recording in multicast table.
Preferably, the method for described intermediate network node acquisition streaming media service data is:
The adding multicast group request message that intermediate network node will carry multicast address sends to streaming media server, and streaming media server sends to the streaming media service data according to multicast address to intermediate network node.
Preferably, among the described step b, judge when not receiving the query response message that returns at intermediate network node, this method further comprises:
Intermediate network node will not return the relevant information of the UE of query response message and will delete from multicast table, and judge whether this multicast table is empty, if then delete multicast table; Otherwise, do not deal with.
Preferably, described intermediate network node is: radio network controller (RNC), service universal grouping wireless business supporting node SGSN and ggsn GGSN.
Preferably, the described UE of step a will add the multicast group request message and send to intermediate network node and be: UE will add the multicast group request message and send to RNC in the intermediate network node;
Described step X is:
X1, RNC judge self whether there be the multicast table corresponding with this multicast address, if having, then the UE address information directly be recorded in this multicast table, and execution in step b3; Otherwise, set up a multicast table corresponding with this multicast address, with the UE address information recording in multicast table;
X2, RNC send the adding multicast group request message that carries multicast address to SGSN, and SGSN judges self whether there be the multicast table corresponding with this multicast address, if having, then the RNC address information directly is recorded in this multicast table, and execution in step b2; Otherwise, set up a multicast table corresponding with this multicast address, again with the RNC address information recording in multicast table;
X3, SGSN send the adding multicast group request message that carries multicast address to GGSN, and GGSN judges self whether there be the multicast table corresponding with this multicast address, if having, then the SGSN address information directly is recorded in this multicast table, and execution in step b1; Otherwise, set up a multicast table corresponding with this multicast address, again with the SGSN address information recording in multicast table;
The described intermediate network node of described step b comprises the step that the streaming media service data that obtain send to UE according to multicast table:
B1, GGSN send to SGSN with the streaming media service data that obtain;
B2, SGSN send to RNC with the streaming media service data that obtain;
B3, RNC send to UE with the streaming media service data that obtain.
Preferably, the method for described GGSN acquisition streaming media service data is:
GGSN sends the adding multicast group request message that carries multicast address to streaming media server, and streaming media server sends the streaming media service data according to multicast address to GGSN.
Preferably,
Described RNC is the RNC that regularly sends query messages according to self multicast table to UE;
Described SGSN is the SGSN that regularly sends query messages according to self multicast table to RNC;
Described GGSN is the GGSN that regularly sends query messages according to self multicast table to SGSN.
Preferably, among the described step b, this method further comprises:
Judging when not receiving the query response message that returns, RNC/SGSN/GGSN will not return the relevant information of the UE/RNC/SGSN of query response message and will delete from self multicast table, and judge whether this multicast table is empty, if then delete multicast table; Otherwise, do not deal with.
In sum, a kind of method that realizes streaming media service that the present invention proposes, owing to set up multicast table at intermediate network node, and the stream medium data that obtains is sent to UE by multicast mode, can between intermediate node and streaming media server, set up a passage, streaming media server only sends a streaming media service data, conserve network bandwidth resource greatly to intermediate network node.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Basic thought of the present invention is: the adding multicast group request message that user equipment (UE) will carry multicast address sends to intermediate network node, and intermediate network node sends to UE according to the streaming media service data that multicast address will obtain in advance.
Fig. 2 has shown the flow chart of realizing the present invention program.As shown in Figure 2, the present invention realizes that the method for streaming media service may further comprise the steps:
The adding multicast group request message that step 201:UE will carry multicast address sends to intermediate network node;
Step 202: intermediate network node judges self whether there be the multicast table corresponding with this multicast address according to multicast address, if exist, then the UE address information directly is recorded in this multicast table; Otherwise, set up a multicast table corresponding with this multicast address, again with the UE address information recording in multicast table;
In actual applications, the streaming media service data that if intermediate network node has obtained UE is asked, then receiving the adding multicast group request message that UE sends, can directly send the streaming media service data corresponding with multicast address to UE, and need not to set up multicast table, also need not to write down the address information of UE, promptly do not carry out this step.This situation is applicable to the situation that the UE under the intermediate network node is less, as has only a UE.
Step 203: intermediate network node sends to UE according to the streaming media service data that multicast table will obtain in advance again.
Among the present invention, intermediate network node is the node between UE and the streaming media server, and in the different network systems, intermediate network node may be different.Such as, intermediate network node can be RNC, can be RNC and SGSN, also can be RNC, SGSN and GGSN, as long as intermediate network node can be realized the protocol stack of IGMP (IGMP), satisfy multicast path by requirement get final product.
Among the present invention, can be in the streaming media server for UE provide different streaming media service, each streaming media service can be represented with multicast address.When the UE transmission carries the adding multicast group request message of multicast address, represent that then UE need receive the streaming media service data corresponding with multicast address.
Fig. 3 has shown the flow chart of using the present invention program's a preferred embodiment.As shown in Figure 3, the system that present embodiment is used is the WCDMA system, and intermediate network node comprises: radio network controller (RNC), service universal grouping wireless business supporting node (SGSN) and ggsn (GGSN).
In the present embodiment, owing to UE, RNC, SGSN, GGSN are connected successively with streaming media server, RNC is the upstream node of UE, is the downstream node of SGSN, and and the like.
In addition, in the present embodiment, RNC, SGSN, GGSN are the nodes that can realize the IGMP agreement, promptly carry out alternately according to the IGMP agreement.
When UE need receive the streaming media service data of certain multicast group correspondence, present embodiment realized that the method for streaming media service may further comprise the steps:
The adding multicast group request message that step 301:UE will carry multicast address sends to RNC.
Step 302:RNC judges self whether there be the multicast table corresponding with this multicast address, if having, then the UE address information directly is recorded in this multicast table, and execution in step 310; Otherwise, set up a multicast table corresponding with this multicast address, with the UE address information recording in multicast table.
In actual applications, RNC also can be periodically UE in being recorded in self multicast table send query messages, and carry out RNC query processing process.RNC query processing process is:
RNC judges whether to receive the query response message that UE returns, if receive, then continues to send the streaming media service data according to multicast table to UE, and withdraws from RNC query processing process; Otherwise RNC will not return the relevant information of the UE of query response message and will delete from self multicast table, and judge whether whether this multicast table is empty, if then delete multicast table; Otherwise, do not deal with.
In actual applications, RNC also can receive SGSN certainly and send to the query messages of self, if this moment, the multicast table of RNC self was empty, when promptly not had UE to need the receiving stream media data under this RNC, RNC will can not return query response message to SGSN.
Step 303:RNC sends the adding multicast group request message that carries multicast address to SGSN.
Step 304:SGSN judges self whether there be the multicast table corresponding with this multicast address, if having, then the RNC address information directly is recorded in this multicast table, and execution in step 309; Otherwise, set up a multicast table corresponding with this multicast address, again with the RNC address information recording in multicast table.
In actual applications, SGSN also can be periodically RNC in being recorded in self multicast table send query messages, and carry out SGSN query processing process.SGSN query processing process is:
SGSN judges whether to receive the query response message that RNC returns, if receive, then continues to send the streaming media service data according to multicast table to RNC, and withdraws from SGSN query processing process; Otherwise SGSN will not return the relevant information of the RNC of query response message and will delete from self multicast table, and judge whether whether this multicast table is empty, if then delete multicast table; Otherwise, do not deal with.
In actual applications, SGSN also can receive GGSN certainly and send to the query messages of self, if this moment, the multicast table of GGSN self was empty, when promptly not had RNC to need the receiving stream media data under this SGSN, SGSN will can not return query response message to GGSN.
Step 305:SGSN sends the adding multicast group request message that carries multicast address to GGSN.
Step 306:GGSN judges self whether there be the multicast table corresponding with this multicast address, if having, then the SGSN address information directly is recorded in this multicast table, and execution in step 308; Otherwise, set up a multicast table corresponding with this multicast address, again with the SGSN address information recording in multicast table.
In actual applications, GGSN also can be periodically SGSN in being recorded in self multicast table send query messages, and carry out GGSN query processing process.GGSN query processing process is:
GGSN judges whether to receive the query response message that SGSN returns, if receive, then continues to send the streaming media service data according to multicast table to SGSN, and withdraws from GGSN query processing process; Otherwise GGSN will not return the relevant information of the SGSN of query response message and will delete from self multicast table, and judge whether whether this multicast table is empty, if then delete multicast table; Otherwise, do not deal with.
Step 307:GGSN sends the adding multicast group request message that carries multicast address to streaming media server, and streaming media server sends to GGSN according to multicast address with the streaming media service data.
Step 308:GGSN sends to SGSN according to self multicast table with the streaming media service data.
Step 309:SGSN sends to RNC according to self multicast table with the streaming media service data.
Step 310:RNC sends to UE according to self multicast table with the streaming media service data.
In the present embodiment, described multicast address all is same multicast address, i.e. UE request adds the pairing multicast address of multicast group.
Use the present embodiment, when RNC, SGSN, GGSN have set up the multicast table of corresponding multicast address separately, will will send to downstream node successively from the streaming media service of streaming media server, send to UE at last, realize streaming media service according to multicast table separately.And owing in nodes at different levels, set up multicast table, each grade node and upstream node are only set up a passage, receive a streaming media service data, then according to self multicast table, the streaming media service data are distributed to each downstream node in self multicast table, conserve network bandwidth resource greatly.
In actual applications, intermediate network node also can be RNC, perhaps is RNC and SGSN, and the method for realization streaming media service and the method for present embodiment are similar, repeat no more herein.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.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.