Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The flow chart of a kind of data processing method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, this method comprises:
Step 101, reception be Media Stream and called Media Stream early.
Each step in the present embodiment can be carried out by the PCEF in the gateway device.In the present embodiment, PCEF receives early Media Stream and called Media Stream simultaneously.
Step 102, inquire this of Media Stream and this called Media Stream shared bandwidth morning.
In early medium technique, early Media Stream and called Media Stream shared bandwidth are to be bandwidth employing required bandwidth of Media Stream morning in the dedicated bearing that morning, Media Stream and called Media Stream were set up and the maximum in the required bandwidth of called Media Stream.Because the callee side UE that has only Calling Side UE and this Calling Side UE to call out carries out transmitting in the calling procedure morning, Media Stream and called Media Stream were just understood shared bandwidth, therefore in the present embodiment, when PCEF receives early Media Stream and called Media Stream, need this Media Stream and this called Media Stream shared bandwidth whether early of inquiry, that is to say that whether inquiry this morning of Media Stream and this called Media Stream are the Media Stream and called Media Stream morning that the callee side UE of Calling Side UE and this Calling Side UE calling carries out transmitting in the calling procedure.
In the present embodiment, when the multiplexing PCC of morning Media Stream and called Media Stream was regular, step 102 is specifically as follows: PCEF inquired the multiplexing PCC rule with Media Stream and called Media Stream coupling morning.Since have only shared bandwidth morning Media Stream and called Media Stream just can with same multiplexing PCC rule match, therefore inquire multiplexing PCC when regular with Media Stream and the called Media Stream coupling of this morning as PCEF, promptly show this morning Media Stream with this called Media Stream shared bandwidth.
Perhaps, in the present embodiment, when the corresponding respectively PCC separately of morning Media Stream and called Media Stream is regular, step 102 is specifically as follows: PCEF inquires the called medium PCC rule with called Media Stream coupling, and from called medium PCC rule, inquire the correlation rule title, according to described correlation rule title determine corresponding morning medium PCC rule (promptly, determine morning medium PCC rule name be called this correlation rule title), then, can draw: described morning medium PCC rule match morning Media Stream and described called Media Stream shared bandwidth (since with the called medium PCC rule of called Media Stream coupling in the correlation rule name that comprises be called with this called Media Stream shared bandwidth morning Media Stream morning medium PCC rule title, therefore when determine this correlation rule name be called mate with Media Stream early morning medium PCC rule title the time show this morning Media Stream with this called Media Stream shared bandwidth.)。
Step 103, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, transmit called Media Stream and abandon Media Stream morning.
In the present embodiment, when the multiplexing PCC of morning Media Stream and called Media Stream is regular, can from multiplexing PCC rule, inquire the priority of this of Media Stream and the priority of this called Media Stream morning, comprise the early priority of Media Stream and the priority of called Media Stream in the wherein multiplexing PCC rule, and the priority that called Media Stream is set is higher than the priority of Media Stream early.Perhaps, in the present embodiment, when the corresponding respectively PCC separately of morning Media Stream and called Media Stream is regular, can also inquire the priority of this of Media Stream the medium PCC rule morning and from called medium PCC rule, inquire the priority of this called Media Stream from morning, wherein, early comprise the priority of Media Stream early in the medium PCC rule, comprise the priority of called Media Stream in the called medium PCC rule, and the priority that called Media Stream is set is higher than the priority of Media Stream early.
In the technical scheme of present embodiment, inquire the Media Stream and called Media Stream shared bandwidth morning that receives, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, Media Stream morning that called Media Stream that forwarding priority is high and loss priority are low, thus the audio mixing phenomenon and the clipping phenomenon that occur at Calling Side UE avoided.
The flow chart of a kind of data processing method that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, this method comprises:
Step 201, strategy and charging rule functions (Policy and Charging Rules Function, hereinafter to be referred as: PCRF) generate multiplexing PCC rule, this multiplexing PCC rule comprises the priority of Media Stream morning and the priority of called Media Stream, and the priority of this called Media Stream is higher than the priority of Media Stream early;
In the present embodiment, multiplexing indication is used to indicate PCRF to generate multiplexing PCC rule.
This step specifically can comprise: PCRF is according to the application function (ApplicationFunction that receives, hereinafter to be referred as: AF) media stream service information morning of Fa Songing generates a PCC rule, and the called media stream service information that sends according to the AF that receives and multiplexing indication generate multiplexing PCC rule to the PCC rule processing of making amendment.Wherein, called media stream service information that PCRF sends according to the AF that receives and multiplexing indication are made amendment to handle to a PCC rule and comprised: PCRF is provided with the early priority of Media Stream and the priority of called Media Stream according to called media stream service information and multiplexing indication in a PCC rule, and PCRF also the bandwidth in the PCC rule is revised as in the media stream service information early morning Media Stream bandwidth and the maximum of the bandwidth of the called Media Stream in the called media stream service information.Wherein, the bandwidth in the PCC rule be early in the media stream service information morning Media Stream bandwidth.In the present embodiment, after PCRF receives called media business information and multiplexing indication, can inquire a PCC rule according to the session identification that comprises in the multiplexing indication, and according to called media business information and multiplexing indication to the PCC rule processing of making amendment.
Perhaps this step specifically can comprise: PCRF generates the 2nd PCC rule according to the called media stream service information that the AF that receives sends, and send according to the AF that receives morning media stream service information and multiplexing indication the 2nd PCC rules modification is handled, generate multiplexing PCC rule.Wherein, media stream service information and multiplexing indication were made amendment to handle to the 2nd PCC rule and comprised PCRF sends according to the AF that receives morning: PCRF is provided with the early priority of Media Stream and the priority of called Media Stream according to morning media stream service information and multiplexing indication in the 2nd PCC rule, and PCRF also the bandwidth in the 2nd PCC rule is revised as in the media stream service information early morning Media Stream bandwidth and the maximum of the bandwidth of the called Media Stream in the called media stream service information.Wherein, the bandwidth in the 2nd PCC rule is the bandwidth of the called Media Stream in the called media stream service information.Wherein, after PCRF receives called media business information and multiplexing indication, can inquire the 2nd PCC rule according to the session identification that comprises in the multiplexing indication, and according to called media business information and multiplexing indication to the processing of making amendment of the 2nd PCC rule.
In the present embodiment, can be for each Media Stream be provided with a priority in multiplexing PCC rule, for the priority of each Media Stream setting can be arranged in the stream information of multiplexing PCC rule, then multiplexing PCC rule can comprise:
“Charging-Rule-Definition::=<AVP?Header:1003>
{Charging-Rule-Name}
[Service-Identifier]
[Rating-Group]
*[Flow-Description]
*[Flow-Information]
[Flow-Status]
[QoS-Information]
[Reporting-Level]
[Online]
[Offline]
[Metering-Method]
[Precedence]
[AF-Charging-Identifier]
*[Flows]
*[AVP]”
Wherein, " Flow-Information::=<AVP Header:1058 〉
{Flow-Description}
[Packet-Filter-Identifier]
[ToS-Traffic-Class]
[Security-Parameter-Index]
[Flow-Label]
[Gate-Priority]
*[AVP]”
Wherein, multiplexing PCC rule can comprise the stream information " Flow-Information " of each Media Stream, can comprise the stream information of a plurality of Media Streams in the above-mentioned multiplexing PCC rule, is example with a stream information only in the present embodiment.The priority " Gate-Priority " that comprises this Media Stream in the stream information.In the present embodiment, can comprise at least one the early stream information of Media Stream and stream information of at least one called Media Stream in the multiplexing PCC rule, this, stream information of Media Stream comprised the priority of Media Stream early morning, and the stream information of this called Media Stream comprises the priority of called Media Stream.For example: called Media Stream can comprise at least one called media audio stream and/or at least one called media video stream, and early Media Stream can comprise at least one media audio stream and/or at least one media video stream early early.Multiplexing PCC rule can comprise audio-frequency multiplex PCC rule and/or video multiplex PCC rule.Wherein, audio-frequency multiplex PCC rule can comprise stream information and at least one stream information that morning, media audio flowed of at least one called media audio stream, the stream information of called media audio stream comprises the priority of called media audio stream and the priority that morning, media audio flowed, and the priority of called media audio stream is higher than the priority of media audio stream early.Video multiplex PCC rule can comprise stream information and at least one stream information that morning, media video flowed of at least one called media video stream, the stream information of called media video stream comprises the priority of called media video stream and the priority that morning, media video flowed, and the priority of called media video stream is higher than the priority of media video stream early.
Perhaps, in the present embodiment, can be for the Media Stream of each type be provided with a priority in multiplexing PCC rule, then multiplexing PCC rule can comprise:
“Charging-Rule-Definition::=<AVP?Header:1003>
{Charging-Rule-Name}
[Service-Identifier]
[Rating-Group]
*[Service-Flow]
[Flow-Status]
[QoS-Information]
[Reporting-Level]
[Online]
[Offline]
[Metering-Method]
[Precedence]
[AF-Charging-Identifier]
*[Flows]
*[AVP]
Wherein, Service-Flow:=<AVP Header:xxxx 〉
{Service-Identifier}
*[Flow-Information]
[Service-Priority]
[Flow-Status]
...
*[AVP]”
Wherein, multiplexing PCC rule can comprise the Business Stream information " Service-Flow " of each type of media stream, and the Media Stream of same type is corresponding to same Business Stream information.Then the Media Stream corresponding priorities of same type is identical.In the present embodiment, can comprise the Business Stream information " Service-Flow " of every type Media Stream in the multiplexing PCC rule, be example with a Business Stream information only in the above-mentioned multiplexing PCC rule.The priority " Service-Priority " that comprises the Media Stream of the type in this Business Stream information " Service-Flow ".The type of Media Stream can comprise early medium and called medium, and Media Stream can comprise early Media Stream and called Media Stream.Early the quantity of Media Stream can be at least one, and the quantity of called Media Stream can be at least one.Then multiplexing PCC rule can comprise the Business Stream information of Media Stream morning and the Business Stream information of called Media Stream, early the Business Stream information of Media Stream can comprise the priority of Media Stream early, the Business Stream information of called Media Stream comprises the priority of called Media Stream, and the priority of called Media Stream is higher than the priority of Media Stream early.Particularly, medium morning in the type of Media Stream can comprise early media audio and/or early media video, and early Media Stream can comprise early media audio stream and/or early media video stream; Called medium in the type of Media Stream can comprise called media audio and/or called media video, and called Media Stream can comprise called media audio stream and/or called media video stream.Multiplexing PCC rule comprises audio-frequency multiplex PCC rule and/or video multiplex PCC rule.When multiplexing PCC rule comprises audio-frequency multiplex PCC rule, audio-frequency multiplex PCC rule can comprise the Business Stream information of media audio stream morning and the Business Stream information of called media audio stream, early the Business Stream information of media audio comprises the priority of media audio early, the Business Stream information of called media audio comprises the priority of called media audio, and the priority of called media audio is higher than the priority of media audio early; When multiplexing PCC rule comprises video multiplex PCC rule, video multiplex PCC rule can comprise the Business Stream information of media video morning and the Business Stream information of called media video, early the Business Stream information of media video comprises the priority of media video early, the Business Stream information of called media video comprises the priority of called media video, and the priority of called media video is higher than the priority of media video early.
Step 202, PCRF send to PCEF with multiplexing PCC rule;
Step 203, PCEF receive early Media Stream and called Media Stream;
In the present embodiment, PCEF receives that AF sends morning Media Stream and called Media Stream, for making PCEF can identify early Media Stream and called Media Stream, AF can for morning Media Stream the Media Stream identification information is set early and called Media Stream identification information is set for called Media Stream, with difference Media Stream morning and called Media Stream.For example: can be in the morning Media Stream morning media audio stream medium be provided with before capable identification information 1002 and in the morning Media Stream morning media video stream medium identification information 1001 is set before capable; The medium of identification information 1 and the called media video stream in called Media Stream are set before the medium of the called media audio stream in called Media Stream are capable identification information 2 are set before capable.
Step 204, PCEF inquire the multiplexing PCC rule with Media Stream and called Media Stream coupling morning;
In the present embodiment, the callee side UE that calls out at different Calling Side UE and this Calling Side UE carries out transmitting in the calling procedure morning Media Stream and called Media Stream, PCRF can generate different multiplexing PCC rules, that is to say have only shared bandwidth morning Media Stream and called Media Stream just and same multiplexing PCC rule match, therefore, PCEF needs to inquire the multiplexing PCC rule that Media Stream and called Media Stream mate with this morning after receiving early Media Stream and called Media Stream.When PCEF inquire with this morning Media Stream and called Media Stream coupling multiplexing PCC rule the time, promptly show this morning Media Stream with this called Media Stream shared bandwidth.
In the present embodiment, step 204 is specially: PCEF goes out this multiplexing PCC rule according to the five-tuple information inquiry that five-tuple information that morning, Media Stream comprised and called Media Stream comprise, the five-tuple information that the five-tuple information that this multiplexing PCC rule comprises is identical with the five-tuple information that this morning, Media Stream comprised and this multiplexing PCC rule comprises is identical with the five-tuple information that this called Media Stream comprises.
Step 205, PCEF inquire the priority of Media Stream morning and the priority of called Media Stream from multiplexing PCC rule;
For the multiplexing PCC rule that a priority is set for each Media Stream in the step 201, PCEF can inquire the priority of Media Stream early from the stream information of Media Stream morning, and the priority that inquires called Media Stream from the stream information of called Media Stream.
For the multiplexing PCC rule that a priority is set for the Media Stream of each type in the step 201, PCEF can inquire the priority of Media Stream early from the Business Stream information of Media Stream morning, and the priority that inquires called Media Stream from the Business Stream information of called Media Stream.
Step 206, if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, PCEF transmits called Media Stream and abandons Media Stream morning.
In the technical scheme of present embodiment, PCRF generates and provides multiplexing PCC rule to PCEF, when PCEF inquires and receives morning Media Stream and called Media Stream coupling multiplexing PCC rule the time, from this multiplexing PCC rule, inquire the priority of Media Stream morning and the priority of this called Media Stream, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, media data morning that called media data that the PCEF forwarding priority is high and loss priority are low, thus the audio mixing and the clipping phenomenon that occur at Calling Side UE avoided.
The flow chart of a kind of data processing method that Fig. 3 provides for the embodiment of the invention three, as shown in Figure 3, this method comprises:
Step 301, media stream service information morning that PCRF sends according to the AF that receives generate early medium PCC rule and early medium PCC rule send to PCEF, and generate called medium PCC rule and called medium PCC rule is sent to PCEF according to the called media stream service information that the AF that receives sends, this morning, medium PCC rule comprised the priority of Media Stream early, this called medium PCC rule comprises the priority and the correlation rule title of called Media Stream, the priority of this called Media Stream is higher than the priority of Media Stream early, and this correlation rule name is called the title of medium PCC rule early.
In the present embodiment, the correlation rule name is called the title of the rule corresponding with called medium PCC rule.
This step specifically can comprise: PCRF according to morning media stream service information generate early medium PCC rule and early medium PCC rule send to PCEF; PCRF generates called medium PCC rule and called medium PCC rule is sent to PCEF according to called media stream service information.
Perhaps this step specifically can comprise: PCRF generates called medium PCC rule and called medium PCC rule is sent to PCEF according to called media stream service information; PCRF according to morning media stream service information generate early medium PCC rule and early medium PCC rule send to PCEF.
In the present embodiment, can be in morning medium PCC rule for all Media Streams of the same type in the Media Stream early a priority is set and in called medium PCC rule all Media Streams for the same type in the called Media Stream priority is set; In called medium PCC rule, the correlation rule title is set, this correlation rule name be called with this called Media Stream shared bandwidth morning Media Stream morning medium PCC rule title.
Early medium PCC rule can comprise:
“Charging-Rule-Definition::=<AVP?Header:1003>
{Charging-Rule-Name}
[Service-Identifier]
[Rating-Group]
*[Flow-Information]
[Flow-Status]
[QoS-Information]
[Reporting-Level]
[Online]
[Offline]
[Metering-Method]
[Precedence]
[AF-Charging-Identifier]
[Gate-Priority]
*[Flows]
*[AVP]”
Above-mentioned morning, medium PCC rule can comprise the priority " Gate-Priority " of Media Stream early.For example: early Media Stream can comprise early media audio stream and/or early media video stream, and then early medium PCC rule can comprise early media audio PCC rule and/or early media video PCC rule.Wherein, early media audio PCC rule comprises the priority of media audio stream early; Early media video PCC rule comprises the priority of media video stream early.
Called medium PCC rule can comprise:
“Charging-Rule-Definition::=<AVP?Header:1003>
{Charging-Rule-Name}
[Service-Identifier]
[Rating-Group]
*[Flow-Information]
[Flow-Status]
[QoS-Information]
[Reporting-Level]
[Online]
[Offline]
[Metering-Method]
[Precedence]
[AF-Charging-Identifier]
[Gate-Priority]
*[Related-Charging-Rule-Name]
*[Flows]
*[AVP]”
Above-mentioned called medium PCC rule can comprise the priority " Gate-Priority " and the correlation rule title of called Media Stream, and wherein the correlation rule name is called " Related-Charging-Rule-Name ".For example: called Media Stream can comprise called media audio stream and/or called media video stream, and then called medium PCC rule can comprise called media audio PCC rule and/or called media video PCC rule.Wherein, called media audio PCC rule comprises the priority and the audio frequency correlation rule title of called media audio stream, and this audio frequency correlation rule title can be the title of media audio PCC rule morning; Called media video PCC rule comprises the priority and the video correlation rule title of called media video stream, and this video correlation rule title can be the title of media video PCC rule morning.Wherein, audio frequency correlation rule name is called the title of the rule corresponding with called media audio PCC rule, and video correlation rule name is called the title of the rule corresponding with called media video PCC rule.
Step 302, PCEF receive early Media Stream and called Media Stream;
Description to step 302 can repeat no more referring to the step 203 among the embodiment two herein.
Step 303, PCEF inquire the called medium PCC rule with called Media Stream coupling.
In the present embodiment, step 303 is specially: the five-tuple information inquiry that PCEF comprises according to called Media Stream goes out this called medium PCC rule, and the five-tuple information that this called medium PCC rule comprises is identical with the five-tuple information that called Media Stream comprises.
Step 304, PCEF inquire the correlation rule title from called medium PCC rule, determine corresponding medium PCC rule morning according to this correlation rule title, the called Media Stream of then called medium PCC rule match and Media Stream shared bandwidth morning of medium PCC rule match early.
In the present embodiment and since this correlation rule name be called with Media Stream coupling early morning medium PCC rule title, therefore can determine corresponding medium PCC rule morning according to this correlation rule title.
In the present embodiment, since with the correlation rule name that comprises in the called medium PCC rule of called Media Stream coupling be called with this called Media Stream shared bandwidth morning Media Stream morning medium PCC rule title, therefore when determine this correlation rule name be called mate with Media Stream early morning medium PCC rule title the time show this morning Media Stream with this called Media Stream shared bandwidth.Wherein, with regular medium PCC rule morning of medium PCC morning that morning, Media Stream mated for the identical five-tuple information of the five-tuple information that has and morning, Media Stream comprised.
Step 305, PCEF inquire the priority of called Media Stream and inquire the priority of Media Stream early from morning the medium PCC rule from called medium PCC rule;
Step 306, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, PCEF transmits called Media Stream and abandons Media Stream morning.
In the technical scheme of present embodiment, PCRF generates and provides early medium PCC rule and called medium PCC rule to PCEF, the called medium PCC rule of the called Media Stream coupling that PCEF inquires and receives, when PCEF inquires the correlation rule title from called medium PCC rule, and determine corresponding morning during medium PCC rule according to this correlation rule title, inquire the priority of Media Stream early the medium PCC rule and from called medium PCC rule, inquire the priority of called Media Stream from morning, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, Media Stream morning that called Media Stream that forwarding priority is high and loss priority are low, thus the audio mixing and the clipping phenomenon that occur at Calling Side UE avoided.
The flow chart of a kind of data processing method that Fig. 4 provides for the embodiment of the invention four, as shown in Figure 4, this method comprises:
Step 401, Calling Side UE send " INVITE (SDP_O) " message to AF, should " INVITE (SDP_O) " message comprise the SDP parameter;
The SDP parameter can comprise the IP address of Calling Side UE, the port numbers that receives downlink message, the information such as type of service of request.At this moment, the Media Stream state is " inactive ";
" INVITE (SDP_O) " message that step 402, AF will receive sends to callee side;
Step 403, callee side send " 183 (SDP_A, E) " message to AF;
Should " 183 (SDP_A, E) " message Calling Side UE be sent the response message of " INVITE (SDP_O) " message, wherein, E represents the session of Media Stream early.
Step 404, AF send media stream service information early to PCRF;
In the present embodiment, early Media Stream can comprise media audio stream early, then early media stream service information comprises media audio stream business information early, and this morning, media audio stream business information can comprise the bandwidth of media audio stream early, and for example: early the bandwidth that flows of media audio is 20K.
Step 405, PCRF according to morning media stream service information generate a PCC rule, and a PCC rule is sent to PCEF;
Wherein, Media Stream only comprises media audio stream morning owing to morning in the present embodiment, so the bandwidth that the regular sound intermediate frequency of a PCC flows is the bandwidth 20K of media audio stream morning.
" 183 (SDP_A, E) " message that step 406, AF will receive sends to Calling Side UE;
Step 407, Calling Side UE send " PRACK (SDP_O, E) " message to AF;
Should " PRACK (SDP_O, E) " message callee side be sent replying of " 183 (SDP_A, E) " message.
" PRACK (SDP_O, E) " message that step 408, AF will receive sends to callee side;
After step 409, callee side are confirmed " PRACK (SDP_O, E) " message, send " 200OK (SDP_A, E) " message to AF;
Step 410, AF send to Calling Side UE with " 200OK (SDP_A, E) " message;
Should " 200OK (SDP_A, E) " message as affirmation to " PRACK (SDP_O, E) " message.
Step 411, PCEF and UE set up dedicated bearing according to a PCC rule;
In this step, the dedicated bearing of foundation can comprise the audio stream dedicated bearing, and the bandwidth of this audio stream dedicated bearing sound intermediate frequency stream is 20K.In setting up the process of dedicated bearing can with transmission stream template (TrafficFlow Template, hereinafter to be referred as: TFT) be notified to Calling Side UE.After setting up dedicated bearing, Calling Side UE is that early the Media Stream reserved resource is finished.
Step 412, Calling Side UE send " UPDATE (E) " message to AF;
Should " UPDATE (E) " message be used to notify AF Calling Side UE to be Media Stream reserved resource success early.Further, AF can be revised as " senrecv " by " inactive " with the Media Stream state, and AF can send to PCRF with Media Stream state " senrecv ", so that PCRF opens gate.
" UPDATE (E) " message that step 413, AF will receive sends to callee side;
After step 414, callee side are confirmed " UPDATE (the E) " message that receives, send " 200OK (SDP_A, E) " message to AF;
Should " 200OK (SDP_A, E) " message as affirmation to " UPDATE (E) " message.
Step 415, AF send to Calling Side UE with " 200OK (SDP_A, E) " message;
Step 416, callee side send " 183 (SDP_A, U) " message to AF;
Should " 183 (SDP_A, U) " message be the response message that Calling Side sends " INVITE (SDP_O) " message, wherein, U represents the session of called Media Stream.
Step 417, AF send called media stream service information and multiplexing indication to PCRF;
In the present embodiment, called Media Stream comprises called media audio stream and called media video stream, and then called media stream service information comprises called media audio stream business information and called media video stream business information.Wherein, called media audio stream business information can comprise the bandwidth of called media audio stream, and the bandwidth of for example called media audio stream is 15K; Called media video stream business information can comprise the bandwidth of called media video stream, and the bandwidth of for example called media video stream is 60K.
Step 418, PCRF according to called media stream service information and multiplexing indication to the PCC rule processing of making amendment, generate multiplexing PCC rule, and should multiplexing PCC rule send to PCEF, comprise the priority of called Media Stream and the priority of Media Stream morning in this multiplexing PCC rule, the priority of this called Media Stream is higher than the priority of Media Stream early;
Particularly, Media Stream only comprises media audio stream early owing to morning in the present embodiment, therefore PCRF can be according to the called media audio stream business information in the called media stream service information to the PCC rule processing of making amendment, generate multiplexing PCC rule, the multiplexing PCC rule of this generation is an audio-frequency multiplex PCC rule, the priority of this called Media Stream is the priority of called media audio stream, this early the priority of Media Stream be the priority of media audio stream early, the priority of this called media audio stream is higher than the priority that media audio early flows.The bandwidth of audio-frequency multiplex PCC rule sound intermediate frequency stream is got the maximum in the bandwidth of the bandwidth of called media audio stream and media audio stream early, so the bandwidth of audio-frequency multiplex PCC rule sound intermediate frequency stream be the bandwidth 20K that flows of media audio early.
Further, PCRF also generates the first video PCC rule according to the called media video stream business information in the called media stream service information, and this first video PCC rule sent to PCEF, the bandwidth of video flowing is the bandwidth 60K of called media video stream in this first video PCC rule.
" 183 (SDP_A, U) " message that step 419, AF will receive sends to Calling Side UE;
Step 420, Calling Side UE send " PRACK (SDP_O, U) " message to AF;
Should " PRACK (SDP_O, U) " message callee side be sent the affirmation of " 183 (SDP_A, U) " message.
" PRACK (SDP_O, U) " message that step 421, AF will receive sends to callee side;
After step 422, callee side are confirmed " PRACK (SDP_O, U) " message, send " 200OK (SDP_A, U) " message to AF;
Step 423, AF send to Calling Side UE with " 200OK (SDP_A, U) " message;
Should " 200OK (SDP_A, U) " message as affirmation to " PRACK (SDP_O, U) " message.
Step 424, PCEF and UE make amendment to dedicated bearing according to multiplexing PCC rule;
When dedicated bearing comprised the audio stream dedicated bearing, to the audio stream dedicated bearing, the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream was 20K according to multiplexing PCC rule for PCEF and UE.
Further, when PCRF also generates first video PCC rule according to the called media video stream business information in the called media stream service information, PCEF and UE also need to set up the video flowing dedicated bearing according to the first video PCC rule, make dedicated bearing also comprise the video flowing dedicated bearing, the bandwidth of the video flowing in this video flowing dedicated bearing is 60K.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 425, Calling Side UE send " UPDATE (U) " message to AF;
Should " UPDATE (E) " message be used to notify AF Calling Side UE to be Media Stream and called Media Stream reserved resource success early.Further, AF can be revised as " senrecv " by " inactive " with the Media Stream state, and AF can send to PCRF with Media Stream state " senrecv ", so that PCRF opens gate.
" UPDATE (U) " message that step 426, AF will receive sends to callee side;
After step 427, callee side are confirmed " UPDATE (the U) " message that receives, send " 200OK (SDP_A, U) " message to AF;
Should " 200OK (SDP_A, U) " message as affirmation to " UPDATE (U) " message.
Step 428, AF send to Calling Side UE with " 200OK (SDP_A, U) " message;
Step 429, callee side ring send " 180Ringing " message to AF;
In this step, callee side UE ring, and to AF transmission " 180Ringing " message.
Step 430, PCEF receive Media Stream early;
Step 431, PCEF send Media Stream early by dedicated bearing to Calling Side UE;
Step 432, AF send to Calling Side UE with " 180Ringing " message;
In the present embodiment, step 432 can also be positioned at before step 430 or the step 431.
Step 433, callee side answer the call, and send called Media Stream and " 200OK (SDP_A, U) " message;
In this step, callee side UE answers the call, and sends called Media Stream and " 200OK (SDP_A, U) " message.
Step 434, PCEF receive early Media Stream and called Media Stream;
Step 435, PCEF inquire and receive morning Media Stream and called Media Stream coupling multiplexing PCC rule, from multiplexing PCC rule, inquire the priority of Media Stream morning and the priority of called Media Stream, when the priority of determining this called Media Stream is higher than the priority of this of Media Stream morning, called Media Stream is transmitted to Calling Side UE and abandons Media Stream early;
Particularly, called Media Stream is transmitted to Calling Side UE by dedicated bearing.
Specific descriptions can be referring to step 204 among the embodiment two to step 206.
Step 436, AF receive " 200OK (SDP_A, U) " message;
Step 437, AF send called media stream service information to PCRF;
Step 438, PCRF make amendment to multiplexing PCC rule according to called media stream service information, generate final PCC rule, and should final PCC rule send to PCEF;
PCRF can make amendment to multiplexing PCC rule in the present embodiment, and multiplexing PCC application of rules is got final product in called Media Stream.
In the present embodiment, final PCC rule comprises the final PCC rule of audio frequency, and the bandwidth of the final PCC rule of audio frequency sound intermediate frequency stream is got the bandwidth 15K of called media audio stream.
Further, PCRF can also send to PCEF with the first video PCC rule, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in this first video PCC rule.
" 200OK (SDP_A, U) " message that step 439, AF will receive sends to Calling Side UE;
Should " 200OK (SDP_A, U) " message conduct finally replying to Calling Side UE.
Step 440, PCEF and UE make amendment to dedicated bearing according to final PCC rule;
In this step, when dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE made amendment to the audio stream dedicated bearing according to final PCC rule, and the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 15K.
Further, when dedicated bearing comprised the video flowing dedicated bearing, PCEF and UE also made amendment to the video flowing dedicated bearing according to the first video PCC rule, and the bandwidth of video flowing is 60K in the amended video flowing dedicated bearing.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 441, callee side send to PCEF with called Media Stream;
Step 442, PCEF are transmitted to Calling Side UE with called Media Stream by dedicated bearing.
To be data processing method realize and be applied to the situation of bifurcated (forking) session model by multiplexing PCC rule to present embodiment, avoided Calling Side UE and callee side UE to carry out audio mixing and the clipping phenomenon that occurs at Calling Side UE in the calling procedure by forking session model.
The flow chart of a kind of data processing method that Fig. 5 provides for the embodiment of the invention five, as shown in Figure 5, this method comprises:
Step 501 to step 504 can repeat no more referring to the step 401 among the embodiment four to step 404 herein.
Step 505, PCRF are according to media business information generation morning medium PCC morning rule, and early medium PCC rule sends to PCEF, and this morning, medium PCC rule comprised the priority of Media Stream early;
Wherein and since in the present embodiment early Media Stream only comprise media audio stream early, therefore, early medium PCC rule comprises media audio PCC rule early, this early the priority of Media Stream be the priority that flows of media audio early.Early the bandwidth of media audio PCC rule sound intermediate frequency stream is the bandwidth 20K of media audio stream morning.
To in this step morning medium PCC rule specific descriptions can be referring to the step 301 among the embodiment three.
Step 506 to step 510 can repeat no more to step 410 referring to step 406 among the embodiment four herein.
Step 511, PCEF and UE according to morning medium PCC rule set up dedicated bearing;
In this step, the dedicated bearing of foundation can comprise the audio stream dedicated bearing, and the bandwidth of this audio stream dedicated bearing sound intermediate frequency stream is 20K.In setting up the process of dedicated bearing, TFT can be notified to Calling Side UE.After setting up dedicated bearing, Calling Side UE is that early the Media Stream reserved resource is finished.
Step 512 to step 517 can repeat no more to step 417 referring to step 412 among the embodiment four herein.
Step 518, PCRF generate called medium PCC rule according to called media stream service information, and this called medium PCC rule comprises the priority and the correlation rule title of called Media Stream, and this correlation rule name is called the title of medium PCC rule early.
Wherein, because called Media Stream comprises called media audio stream and called media video stream in the present embodiment, therefore, called medium PCC rule comprises called media audio PCC rule and called media video PCC rule, and the priority of this called Media Stream comprises priority that is arranged at the called media audio stream in the called media audio PCC rule and the priority that is arranged at the called media video stream in the called media video PCC rule.The bandwidth of called media audio PCC rule sound intermediate frequency stream is the bandwidth 15K of called media audio stream, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in the called media video PCC rule.
Specific descriptions to the called medium PCC rule in this step can be referring to the step 301 among the embodiment three.
Step 519 to step 523 can repeat no more to step 423 referring to step 419 among the embodiment four herein.
Step 524, PCEF and UE make amendment to dedicated bearing according to called medium PCC rule;
When dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE can make amendment to the audio stream dedicated bearing according to called media audio PCC rule, and the bandwidth of revising back audio stream dedicated bearing sound intermediate frequency stream is 15K.
Further, when called medium PCC rule comprises that called media video PCC is regular, PCEF and UE can set up the video flowing dedicated bearing according to called media video PCC rule, make dedicated bearing also comprise the video flowing dedicated bearing, and the bandwidth of video flowing is 60K in this video flowing dedicated bearing.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 525 to step 534 can repeat no more to step 434 referring to step 425 among the embodiment four herein.
Step 535, PCEF inquires the called medium PCC rule with called Media Stream coupling, from called medium PCC rule, inquire the correlation rule title, determine corresponding medium PCC rule morning according to this correlation rule title, the called Media Stream of then called medium PCC rule match and Media Stream shared bandwidth morning of medium PCC rule match early, from called medium PCC rule, inquire the priority of called Media Stream and inquire the priority of Media Stream early from morning the medium PCC rule, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, transmits called Media Stream and abandon Media Stream morning.
Particularly, PCEF is transmitted to Calling Side UE with called Media Stream by dedicated bearing.
Specific descriptions can be referring to step 303 among the embodiment three to step 306.
Step 536 to step 537 can repeat no more to step 437 referring to step 436 among the embodiment four herein.
Step 538, PCRF make amendment to called medium PCC rule according to called media stream service information, generate final PCC rule, and should final PCC rule send to PCEF;
In the present embodiment, final PCC rule comprises final PCC rule of audio frequency and the final PCC rule of video, the bandwidth of the final PCC rule of audio frequency sound intermediate frequency stream is got the bandwidth 15K of called media audio stream, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in the final PCC rule of video.
" 200OK (SDP_A, U) " message that step 539, AF will receive sends to Calling Side UE;
Should " 200OK (SDP_A, U) " message conduct finally replying to Calling Side UE.
Step 540, PCEF and UE make amendment to dedicated bearing according to final PCC rule;
In this step, when dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE made amendment to the audio stream dedicated bearing according to the final PCC rule of audio frequency, and the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 15K.
When dedicated bearing comprises the video flowing dedicated bearing, according to the final PCC rule of video the video flowing dedicated bearing to be made amendment, the bandwidth of amended video flowing dedicated bearing sound intermediate frequency stream is 60K.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 541, callee side send to PCEF with called Media Stream;
Step 542, PCEF are transmitted to Calling Side UE with called Media Stream by dedicated bearing.
Present embodiment be data processing method by morning medium PCC rule and called medium PCC rule realize and be applied to the situation of forking session model, avoided Calling Side UE and callee side UE to carry out in the calling procedure audio mixing and clipping phenomenon in Calling Side UE appearance by forking session model.
The flow chart of a kind of data processing method that Fig. 6 provides for the embodiment of the invention six, as shown in Figure 6, this method comprises:
Step 601, Calling Side UE send " INVITE (SDP_O1) " message to AF, should " INVITE (SDP_O1) " message comprise the SDP parameter;
The SDP parameter can comprise the IP address of Calling Side UE, the port numbers that receives downlink message, the information such as type of service of request.At this moment, the Media Stream state is " inactive ";
" INVITE (SDP_O1) " message that step 602, AF will receive sends to callee side;
Step 603, callee side send " 183 (SDP_A1, early SDP_O1) " message to AF;
Wherein, SDP_A1 is that early SDP_O1 is the request to Media Stream morning to the replying of called Media Stream.
Step 604, AF send called media stream service information to PCRF;
In the present embodiment, called Media Stream comprises called media audio stream and called media video stream, and then called media stream service information comprises called media audio stream business information and called media video stream business information.Wherein, called media audio stream business information can comprise the bandwidth of called media audio stream, and the bandwidth of for example called media audio stream is 15K; Called media video stream business information can comprise the bandwidth of called media video stream, and the bandwidth of for example called media video stream is 60K.
" 183 (SDP_A1, early SDP_O1) " message that step 605, AF will receive sends to Calling Side UE;
Step 606, PCRF generate the 2nd PCC rule according to called media stream service information, and the 2nd PCC rule is sent to PCEF;
In the present embodiment, because called media stream service information comprises called media audio stream business information and called media video stream business information, therefore the 2nd PCC rule that generates comprises the second audio frequency PCC rule and the second video PCC rule, the bandwidth of second audio frequency PCC rule sound intermediate frequency stream is the bandwidth 20K of called media audio stream, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in the second video PCC rule.
Step 607, PCEF and UE set up dedicated bearing according to the 2nd PCC rule;
In this step, the dedicated bearing of foundation comprises audio stream dedicated bearing and video flowing dedicated bearing.The bandwidth of this audio stream dedicated bearing sound intermediate frequency stream is 20K, and the bandwidth of video flowing is 60K in this video flowing dedicated bearing.In setting up the process of dedicated bearing, TFT is notified to Calling Side UE.After setting up dedicated bearing, Calling Side UE is that called Media Stream reserved resource is finished.
Step 608, Calling Side UE send " PRACK (early SDP_A1) " message to AF;
Should " PRACK (early SDP_A1) " message send replying of " 183 (SDP_A1, early SDP_O1) " message to callee side.
" PRACK (early SDP_A1) " message that step 609, AF will receive sends to callee side;
Step 610, AF send early media stream service information and multiplexing indication to PCRF;
In the present embodiment, early Media Stream comprises media audio stream early, and then early media stream service information comprises media audio stream business information early.Wherein, early media audio stream business information can comprise the bandwidth of media audio stream early, and for example early the bandwidth of media audio stream can be 20K.
Step 611, PCRF according to morning media stream service information and multiplexing indication to the processing of making amendment of the 2nd PCC rule, generate multiplexing PCC rule, and should multiplexing PCC rule send to PCEF, comprise the priority of called Media Stream and the priority of Media Stream morning in this multiplexing PCC rule, the priority of this called Media Stream is higher than the priority of Media Stream early;
Particularly, Media Stream only comprises media audio stream early owing to morning in the present embodiment, therefore PCRF can make amendment to the second audio frequency PCC rule in the 2nd PCC rule according to media audio stream morning and generate multiplexing PCC rule, then this multiplexing PCC rule is an audio-frequency multiplex PCC rule, the priority of this called Media Stream is the priority of called media audio stream, this early the priority of Media Stream be the priority of media audio stream early, the priority of this called media audio stream is higher than the priority that media audio early flows.The bandwidth of audio-frequency multiplex PCC rule sound intermediate frequency stream is got the maximum in the bandwidth of the bandwidth of called media audio stream and media audio stream early, so the bandwidth of audio-frequency multiplex PCC rule sound intermediate frequency stream be the bandwidth 20K that flows of media audio early.
After step 612, callee side are confirmed " PRACK (early the SDP_A1) " message that receives, send " 200OK " message to AF;
Be somebody's turn to do " 200OK " message as affirmation to " PRACK (early SDP_A1) " message.
Step 613, AF send " 200OK " message to Calling Side UE;
Step 614, PCEF and UE make amendment to dedicated bearing according to multiplexing PCC rule;
When dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE made amendment to the audio stream dedicated bearing according to multiplexing PCC rule, and the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 20K.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 615, Calling Side UE send " UPDATE " message to AF;
Should " UPDATE " message be used to notify AF Calling Side UE to be Media Stream and called Media Stream reserved resource success early.Further, AF can be revised as " senrecv " by " inactive " with the Media Stream state, and AF can send to PCRF with Media Stream state " senrecv ", so that PCRF opens gate.
" UPDATE " message that step 616, AF will receive sends to callee side;
After step 617, callee side are confirmed " UPDATE " message that receives, send " 200OK " message to AF;
Be somebody's turn to do " 200OK " message as affirmation to " UPDATE " message.
Step 618, AF send to Calling Side UE with " 200OK " message;
Step 619, callee side ring send " 180Ringing " message to AF;
In this step, callee side UE ring, and to AF transmission " 180Ringing " message.
Step 620, PCEF receive Media Stream early;
Step 621, PCEF send Media Stream early by dedicated bearing to Calling Side UE;
Step 622, AF send to Calling Side UE with " 180Ringing " message;
In the present embodiment, step 622 can also be positioned at before step 620 or the step 621.
Step 623, callee side answer the call, and send called Media Stream and " 200OK " message;
In this step, callee side UE answers the call, and sends called Media Stream and " 200OK (SDP_A, U) " message.
Step 624, PCEF receive early Media Stream and called Media Stream;
Step 625, PCEF inquire and receive morning Media Stream and called Media Stream coupling multiplexing PCC rule, from multiplexing PCC rule, inquire the priority of Media Stream morning and the priority of called Media Stream, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, called Media Stream is transmitted to Calling Side UE and abandons Media Stream morning;
Particularly, called Media Stream is transmitted to Calling Side UE by dedicated bearing.
Specific descriptions can be referring to step 204 among the embodiment two to step 206.
Step 626, AF receive " 200OK " message;
Step 627, AF send called media stream service information to PCRF;
Step 628, PCRF make amendment to multiplexing PCC rule according to called media stream service information, generate final PCC rule, and should final PCC rule send to PCEF;
PCRF can make amendment to multiplexing PCC rule in the present embodiment, and multiplexing PCC application of rules is got final product in called Media Stream.
In the present embodiment, final PCC rule comprises the final PCC rule of audio frequency, and the bandwidth of the final PCC rule of audio frequency sound intermediate frequency stream is got the bandwidth 15K of called media audio stream.
Further, PCRF can also send to PCEF with the second video PCC rule, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in this second video PCC rule.
" 200OK " message that step 629, AF will receive sends to Calling Side UE;
Should " 200OK " message conduct finally replying to Calling Side UE.
Step 630, PCEF and UE make amendment to dedicated bearing according to final PCC rule;
In this step, when dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE made amendment to the audio stream dedicated bearing according to final PCC rule, and the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 15K.
Further, when dedicated bearing comprised the video flowing dedicated bearing, PCEF and UE also made amendment to the video flowing dedicated bearing according to the second video PCC rule, and the bandwidth of video flowing is 60K in the amended video flowing dedicated bearing.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 631, callee side send to PCEF with called Media Stream;
Step 632, PCEF are transmitted to Calling Side UE with called Media Stream by dedicated bearing.
To be data processing method realize and be applied to the situation of media session model early by multiplexing PCC rule present embodiment, avoided Calling Side UE and callee side UE by morning the media session model carry out the audio mixing and the clipping phenomenon that occur at Calling Side UE in the calling procedure.
The flow chart of a kind of data processing method that Fig. 7 provides for the embodiment of the invention seven, as shown in Figure 7, this method comprises:
Step 701 to step 705 can repeat no more referring to the step 601 among the embodiment six to step 605 herein.
Step 706, PCRF generate called medium PCC rule according to called media business information, and should called medium PCC rule send to PCEF, this called medium PCC rule comprises the priority and the correlation rule title of called Media Stream, and this correlation rule name is called the title of medium PCC rule early;
Wherein, because called Media Stream comprises called media audio stream and called media video stream in the present embodiment, therefore, called medium PCC rule comprises called media audio PCC rule and called media video PCC rule.The bandwidth of called media audio PCC rule sound intermediate frequency stream is the bandwidth 15K of called media audio stream, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in the called media video PCC rule.
Specific descriptions to the called medium PCC rule in this step can be referring to the step 301 among the embodiment three.
Step 707, PCEF and UE set up dedicated bearing according to called medium PCC rule;
In this step, the dedicated bearing of foundation comprises audio stream dedicated bearing and video flowing dedicated bearing.The bandwidth of this audio stream dedicated bearing sound intermediate frequency stream is 15K, and the bandwidth of video flowing is 60K in this video flowing dedicated bearing.In setting up the process of dedicated bearing, TFT is notified to Calling Side UE.After setting up dedicated bearing, Calling Side UE is that early the Media Stream reserved resource is finished.
Step 708 to step 709 can repeat no more referring to the step 608 among the embodiment six to step 609 herein.
Step 710, AF send media stream service information early to PCRF;
In the present embodiment, early Media Stream can comprise media audio stream early, then early media stream service information comprises media audio stream business information early, and this morning, media audio stream business information can comprise the bandwidth of media audio stream early, and for example: early the bandwidth that flows of media audio is 20K.
Step 711, PCRF are according to media stream service information generation morning medium PCC morning rule, and early medium PCC rule sends to PCEF, and this morning, medium PCC rule comprised the priority of Media Stream early, and the priority of this called Media Stream is higher than the priority of Media Stream early;
Wherein, Media Stream only comprises that early media audio flows owing to morning in the present embodiment, and therefore, early medium PCC rule can be media audio PCC rule morning, and the bandwidth of the regular sound intermediate frequency stream of media audio PCC morning is the bandwidth 20K of media audio stream morning.
Step 712 to step 713 can repeat no more referring to the step 612 among the embodiment six to step 613 herein.
Step 714, PCEF according to morning medium PCC rule dedicated bearing is made amendment;
When dedicated bearing comprises the audio stream dedicated bearing, PCEF according to this morning medium PCC rule dedicated bearing is made amendment, the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 20K.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 715 to step 724 can repeat no more referring to the step 615 among the embodiment six to step 624 herein.
Step 725, PCEF inquires the called medium PCC rule with called Media Stream coupling, from called medium PCC rule, inquire the correlation rule title, determine corresponding medium PCC rule morning according to this correlation rule title, the called Media Stream of then called medium PCC rule match and Media Stream shared bandwidth morning of medium PCC rule match early, from called medium PCC rule, inquire the priority of called Media Stream and inquire the priority of Media Stream early from morning the medium PCC rule, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, transmits called Media Stream and abandon Media Stream morning.
Particularly, called Media Stream is transmitted to Calling Side UE by dedicated bearing.
Specific descriptions can be referring to step 304 among the embodiment three to step 306.
Step 726 to step 727 can repeat no more referring to the step 626 among the embodiment six to step 627 herein.
Step 728, PCRF make amendment to multiplexing PCC rule according to called media stream service information, generate final PCC rule, and should final PCC rule send to PCEF;
In the present embodiment, final PCC rule comprises final PCC rule of audio frequency and the final PCC rule of video, the bandwidth of the final PCC rule of audio frequency sound intermediate frequency stream is got the bandwidth 15K of called media audio stream, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in the final PCC rule of video.
" 200OK " message that step 729, AF will receive sends to Calling Side UE;
Should " 200OK " message conduct finally replying to Calling Side UE.
Step 730, PCEF and UE make amendment to dedicated bearing according to final PCC rule;
In this step, when dedicated bearing comprised the audio stream dedicated bearing, PCEF and UE made amendment to the audio stream dedicated bearing according to the final PCC rule of audio frequency, and the bandwidth of amended audio stream dedicated bearing sound intermediate frequency stream is 15K.
When dedicated bearing comprises the video flowing dedicated bearing, according to the final PCC rule of video the video flowing dedicated bearing to be made amendment, the bandwidth of amended video flowing dedicated bearing sound intermediate frequency stream is 60K.
In the process of revising dedicated bearing, TFT is made amendment, and amended TFT is notified to Calling Side UE.
Step 731, callee side send to PCEF with called Media Stream;
Step 732, PCEF are transmitted to Calling Side UE with called Media Stream by dedicated bearing.
Present embodiment be data processing method by morning medium PCC rule and called medium PCC rule realize and be applied to the situation of media session model early, avoided Calling Side UE and callee side UE by morning the media session model carry out in the calling procedure audio mixing and clipping phenomenon in Calling Side UE appearance.
The flow chart of a kind of data processing method that Fig. 8 provides for the embodiment of the invention eight, as shown in Figure 8, this method comprises:
Step 801 to step 804 can repeat no more to step 504 referring to step 501 among the embodiment five herein.
" 183 (SDP_A, E) " message that step 805, AF will receive sends to Calling Side UE;
Step 806, Calling Side UE send carrying to PCEF and set up request;
This carrying request of setting up is used to trigger PCC rule request message.
Step 807, PCEF generate PCC rule request message according to this carrying request of setting up, and PCC rule request message are sent to PCRF;
Step 808 can repeat no more referring to the step 505 among the embodiment five herein.
Step 809, PCEF according to morning medium PCC rule set up dedicated bearing, and send carrying to Calling Side UE and set up and reply;
Step 810 to step 819 can referring to the step 506 among the embodiment five to step 510 and step 512 to step 517, repeat no more herein.
" 183 (SDP_A, U) " message that step 820, AF will receive sends to Calling Side UE;
Step 821, Calling Side UE send the bearing modification request to PCEF;
This dedicated bearing is revised request and is used to trigger PCC rule request message.
Step 822, PCEF generate PCC rule request message according to this bearing modification request, and PCC rule request message is sent to PCRF;
Step 823 can repeat no more referring to the step 518 among the embodiment five herein.
Step 824, PCEF make amendment to dedicated bearing according to called medium PCC rule, and return bearing modification to Calling Side UE and reply;
Step 825 to step 841 can referring to the step 520 among the embodiment five to step 523 and step 525 to step 537, repeat no more herein.
" 200OK (SDP_A, U) " message that step 842, AF will receive sends to Calling Side UE;
Should " 200OK (SDP_A, U) " message conduct finally replying to Calling Side UE.
Step 843, Calling Side UE send the bearing modification request to PCEF;
This dedicated bearing is revised request and is used to trigger PCC rule request message.
Step 844, PCEF generate PCC rule request message according to this bearing modification request, and PCC rule request message is sent to PCRF;
Step 845 can repeat no more referring to the step 538 among the embodiment five herein.
Step 846, PCEF make amendment to dedicated bearing according to final PCC rule, and return bearing modification to Calling Side UE and reply;
Step 847 to step 848 can repeat no more referring to the step 541 among the embodiment five to step 542 herein.
Present embodiment is that with embodiment five differences the process of setting up dedicated bearing and revising dedicated bearing is different, and present embodiment has avoided Calling Side UE and callee side UE to carry out audio mixing and the clipping phenomenon that occurs at Calling Side UE in the calling procedure by forking session model.
The flow chart of a kind of data processing method that Fig. 9 provides for the embodiment of the invention nine, as shown in Figure 9, this method comprises:
Step 901 to step 903 can repeat no more referring to the step 601 among the embodiment six to step 603 herein.
Step 904, AF send called media stream service information to H-PCRF;
In the present embodiment, PCRF comprise ownership strategy and charging rule functions (Home Policy andCharging Rules Function, hereinafter to be referred as: H-PCRF) and visit strategy and charging rule functions (Visited Policy and Charging Rules Function hereinafter to be referred as: V-PCRF).Description to called media stream service information can be referring to embodiment six.
" 183 (SDP_A1, early SDP_O1) " message that step 905, AF will receive sends to Calling Side UE;
Step 906, H-PCRF generate the 2nd PCC rule according to called media stream service information, and the 2nd PCC rule is sent to PCEF;
Specific descriptions can be referring to the step 606 among the embodiment six.
Step 907, H-PCRF generate service quality according to the 2nd PCC rule, and (Quality of Service hereinafter to be referred as QoS) rule, and is handed down to BBERF with this QoS rule by V-PCRF;
Particularly, H-PCRF issues the QoS rule by the S9 interface to V-PCRF, and V-PCRF issues the QoS rule to BBERF.
Step 908, BBERF and UE set up dedicated bearing according to the QoS rule;
The dedicated bearing of setting up in this step is supported called Media Stream.The dedicated bearing of setting up comprises audio stream dedicated bearing and video flowing dedicated bearing.The bandwidth of this audio stream dedicated bearing sound intermediate frequency stream is 20K, and the bandwidth of video flowing is 60K in this video flowing dedicated bearing.
Step 909, Calling Side UE send " PRACK (early SDP_A1) " message to AF;
Should " PRACK (early SDP_A1) " message send replying of " 183 (SDP_A1, early SDP_O1) " message to callee side.
" PRACK (early SDP_A1) " message that step 910, AF will receive sends to callee side;
Step 911, AF send early media stream service information and multiplexing indication to H-PCRF;
Specific descriptions can be referring to the step 610 among the embodiment six.
Step 912, H-PCRF according to morning media stream service information and multiplexing indication to the processing of making amendment of the 2nd PCC rule, generate multiplexing PCC rule, and should multiplexing PCC rule send to PCEF, comprise the priority of called Media Stream and the priority of Media Stream morning in this multiplexing PCC rule, the priority of this called Media Stream is higher than the priority of Media Stream early;
Specific descriptions can be referring to the step 611 among the embodiment six.
Step 913, H-PCRF make amendment to the QoS rule according to multiplexing PCC rule, and with the QoS rule by V-PCRF be handed down to bearing binding and event reporting function (Bearing Binding and EventReport Function, hereinafter to be referred as: BBERF);
Particularly, H-PCRF issues the QoS rule by the S9 interface to V-PCRF, and V-PCRF issues the QoS rule to BBERF.
Step 914, BBERF and UE make amendment to dedicated bearing according to the QoS rule;
The dedicated bearing of setting up in this step is supported called Media Stream and Media Stream morning.The bandwidth of the audio stream dedicated bearing sound intermediate frequency stream in this step in the amended dedicated bearing is 20K.
After step 915, callee side are confirmed " PRACK (early the SDP_A1) " message that receives, send " 200OK " message to AF;
Be somebody's turn to do " 200OK " message as affirmation to " PRACK (early SDP_A1) " message.
Step 916, AF send " 200OK " message to Calling Side UE;
Step 917 to step 922 can be referring to the step 615 among the embodiment six to step 620.
Step 923, PCEF early Media Stream send to BBERF;
Step 924, BBERF send Media Stream early by dedicated bearing to Calling Side UE;
Step 925, AF send to Calling Side UE with " 180Ringing " message;
Step 926, callee side answer the call, and send called Media Stream and " 200OK " message;
In this step, callee side UE answers the call, and sends called Media Stream and " 200OK (SDP_A, U) " message.
Step 927, PCEF receive early Media Stream and called Media Stream;
Step 928, PCEF inquire and receive morning Media Stream and called Media Stream coupling multiplexing PCC rule, from multiplexing PCC rule, inquire the priority of Media Stream morning and the priority of called Media Stream, if when the priority of this called Media Stream is higher than the priority of this of Media Stream morning, called Media Stream is transmitted to Calling Side UE and abandons Media Stream morning;
Particularly, called Media Stream is transmitted to Calling Side UE by dedicated bearing.
Specific descriptions can be referring to step 204 among the embodiment two to step 206.
Step 929, AF receive " 200OK " message;
Step 930, AF send called media stream service information to H-PCRF;
Step 931, H-PCRF make amendment to multiplexing PCC rule according to called media stream service information, generate final PCC rule, and should final PCC rule send to PCEF;
H-PCRF can make amendment to multiplexing PCC rule in the present embodiment, and multiplexing PCC application of rules is got final product in called Media Stream.
In the present embodiment, final PCC rule comprises the final PCC rule of audio frequency, and the bandwidth of the final PCC rule of audio frequency sound intermediate frequency stream is got the bandwidth 15K of called media audio stream.
Further, H-PCRF can also send to PCEF with the second video PCC rule, and the bandwidth of video flowing is the bandwidth 60K of called media video stream in this second video PCC rule.
" 200OK " message that step 932, AF will receive sends to Calling Side UE;
Should " 200OK " message conduct finally replying to Calling Side UE.
Step 933, H-PCRF make amendment to the QoS rule according to final PCC rule, and the QoS rule are handed down to BBERF by V-PCRF;
Further, in this step, H-PCRF also makes amendment to the QoS rule according to the second video PCC rule.
Particularly, H-PCRF issues the QoS rule by the S9 interface to V-PCRF, and V-PCRF issues the QoS rule to BBERF.
Step 934, BBERF and UE make amendment to dedicated bearing according to the QoS rule;
In this step, the bandwidth of the audio stream dedicated bearing sound intermediate frequency stream in the amended dedicated bearing is 15K.Further, when amended dedicated bearing comprised in the video flowing dedicated bearing, the bandwidth of video flowing was 60K in this video flowing dedicated bearing.
Step 935, callee side send to PCEF with called Media Stream;
Step 936, PCEF send to BBERF with called Media Stream;
Step 937, BBERF send called Media Stream by dedicated bearing to Calling Side UE.
Present embodiment is the situation that data processing method is applied to roaming scence, has avoided Calling Side UE and callee side UE to carry out audio mixing and clipping phenomenon that Calling Side UE in the calling procedure occurs at Calling Side UE when roaming takes place.
The structural representation of a kind of PCEF that Figure 10 provides for the embodiment of the invention ten, as shown in figure 10, this PCEF comprises: receiver module 11, enquiry module 12 and sending module 13.
Receiver module 11 receives early Media Stream and called Media Stream.Enquiry module 12 inquiry is Media Streams and called Media Stream shared bandwidth whether early.When sending module 13 inquires early Media Stream and called Media Stream shared bandwidth when enquiry module 12,, transmit called Media Stream and abandon Media Stream early if the priority of called Media Stream is higher than the priority of Media Stream early.
The PCEF of present embodiment is when judging the morning of the Media Stream and during called Media Stream shared bandwidth that receives, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, Media Stream morning that called Media Stream that forwarding priority is high and loss priority are low, thus the audio mixing phenomenon and the clipping phenomenon that occur at Calling Side UE avoided.
The embodiment of the invention 11 provides a kind of PCEF, present embodiment is on the basis of the foregoing description ten, receiver module 11 can also receive the multiplexing PCC rule that PCRF sends, this multiplexing PCC rule comprises the early priority of Media Stream and the priority of called Media Stream, and the priority of this called Media Stream is higher than the priority of this of Media Stream morning.Enquiry module 12 inquires the multiplexing PCC rule with Media Stream and called Media Stream coupling morning.When sending module 13 inquires multiplexing PCC rule with Media Stream and called Media Stream coupling early when enquiry module 12,, transmit called Media Stream and abandon Media Stream early if the priority of called Media Stream is higher than the priority of Media Stream early.
The PCEF of present embodiment is when the morning of the Media Stream and during the multiplexing PCC rule of called Media Stream coupling that inquires and receive, from this multiplexing PCC rule, inquire the priority of Media Stream morning and the priority of this called Media Stream, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, media data morning that called media data that forwarding priority is high and loss priority are low, thus the audio mixing and the clipping phenomenon that occur at Calling Side UE avoided.
The embodiment of the invention 12 provides a kind of PCEF, present embodiment is on the basis of the foregoing description ten, receiver module 11 can also receive the regular and called medium PCC rule of medium PCC morning that PCRF sends, this morning, medium PCC rule comprised the priority of Media Stream early, and this called medium PCC rule comprises the priority and the correlation rule title of called Media Stream.Enquiry module 12 inquires the described called medium PCC rule with called Media Stream coupling, and from called medium PCC rule, inquire the correlation rule title, determine corresponding medium PCC rule morning according to described correlation rule title, the called Media Stream of then described called medium PCC rule match and described morning medium PCC rule match Media Stream shared bandwidth morning.
The called medium PCC rule of the called Media Stream coupling that the PCEF of present embodiment inquires and receives, and when from called medium PCC rule, inquiring with the correlation rule title, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, Media Stream morning that called Media Stream that forwarding priority is high and loss priority are low, thus the audio mixing and the clipping phenomenon that occur at Calling Side UE avoided.
The structural representation of a kind of gateway device that Figure 11 provides for the embodiment of the invention 13, as shown in figure 11, this gateway device comprises PCEF1.
Particularly, PCEF1 can adopt the PCEF among embodiment ten, embodiment 11 or the embodiment 12, repeats no more herein.
The gateway device of present embodiment inquires the Media Stream and called Media Stream shared bandwidth morning that receives, when if the priority of this called Media Stream is higher than the priority of this of Media Stream morning, Media Stream morning that called Media Stream that forwarding priority is high and loss priority are low, thus the audio mixing phenomenon and the clipping phenomenon that occur at Calling Side UE avoided.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.