Background technology
In System Architecture Evolution (SAE, System Architecture Evolution) system, user (UE) can initiate many PDN connection procedure.Fig. 1 initiates the schematic diagram that many PDN connect for UE in the prior art, as shown in Figure 1:
Step 101:UE sends the PDN connection request to MME, connects thereby trigger PDN.
Step 102: the gateway (S-GW, Serving GW) that carries out being initiated by MME is set up with the carrying between the packet data gateway (P-GW, PDN GW).
Here claim that this step is first foundation, is specially:
Step 01:MME sends to S-GW and sets up the default bearer request, sets up process thereby initiate first.
Step 02:S-GW sends the default bearer request of setting up to P-GW.
Step 03:P-GW returns to S-GW and sets up the default bearer response.
Step 04:S-GW returns to MME and sets up default bearer response, S-GW receive from S-GW set up the default bearer response after, first sets up and finishes.
Step 103: after first foundation finishes, carry out at the S1 interface between MME and UE and E-UTRAN base station (eNodeB, E-UTRAN NodeB) and the foundation of the carrying on eating dishes without rice or wine.Here claim that this step is second foundation.
Step 104: the renewal of carrying.
If during UE initiates first in the process that many PDN connect and sets up, promptly after the step 01 and before the step 04, changing of the CAMEL-Subscription-Information of UE, then can carry out following process:
A, home subscriber servers (HSS, Home Subscriber Server) send to MME and insert subscription data message to MME, carry CAMEL-Subscription-Information in the described insertion subscription data message.
B, MME directly upgrade CAMEL-Subscription-Information after receiving insertion subscription data message from HSS, just replace original CAMEL-Subscription-Information with the CAMEL-Subscription-Information in the subscription data message that receives.
This is because in the process that first sets up, set up the carrying that the default bearer request requires to set up among the MME and all be in unsettled (Pending) state.And in the existing bearing processing method, MME only can detect at the carrying of (Active) state of activation, carrying for the Pending state, MME will carry as unactivated state and handle, directly replace original CAMEL-Subscription-Information, continue to finish first and set up and second foundation according to the CAMEL-Subscription-Information before upgrading with new CAMEL-Subscription-Information.
CAMEL-Subscription-Information after beared information and the renewal is inconsistent can following two kinds of situations: the service quality (QoS) and the CAMEL-Subscription-Information after the renewal of situation one, carrying are inconsistent; The Access Point Name (APN, Access Point Name) that situation two, carrying are connected has forbidden that UE inserts.
Can know by inference, during UE initiated first in the process that many PDN connect and sets up, the CAMEL-Subscription-Information of UE changed and will cause following problem:
For situation one, first foundation is not also finished and has just been carried out step b, make CAMEL-Subscription-Information be updated, and set up this moment first and second set up and all can set up carrying according to original CAMEL-Subscription-Information, and this will cause final carrying of setting up not is that CAMEL-Subscription-Information after the renewal requires the carrying of setting up.
And for situation two, according to the CAMEL-Subscription-Information after upgrading, UE has not been allowed access to corresponding APN, and it is nonsensical continuing to carry out second foundation according to the CAMEL-Subscription-Information before upgrading.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The overview flow chart of the method that carrying was handled during the PDN that Fig. 2 provides for the embodiment of the invention connected.As shown in Figure 2, this method comprises:
Step 201: if MME receives the insertion subscription data message from HSS in first process of setting up, then detect and be changed carrying, the described beared information that is changed carrying with upgrade after CAMEL-Subscription-Information inconsistent, described first is established as S-GW and the carrying between the P-GW initiated by MME sets up.
CAMEL-Subscription-Information after upgrading described in this step is meant that MME uses from the CAMEL-Subscription-Information in the insertion subscription data message of HSS and replaces original CAMEL-Subscription-Information, thus the new CAMEL-Subscription-Information that obtains.This is owing to MME in the prior art directly carries out the renewal of CAMEL-Subscription-Information for the carrying of Pending state, that is to say, the CAMEL-Subscription-Information after the described renewal of this step is to have carried out step b result afterwards according to existing technology.
Detect the step that is changed carrying in this step two kinds of implementations arranged:
Mode one:
Beared information among the MME is compared with the CAMEL-Subscription-Information after the renewal,, judge that then being carried as of described beared information correspondence is changed carrying if the CAMEL-Subscription-Information after beared information and the renewal is inconsistent.
Mode two:
Start timer with default time timing;
If the default bearer of setting up that receives in during the timer timing from S-GW responds, then the beared information of the corresponding carrying of described default bearer response is compared with the CAMEL-Subscription-Information after the renewal, if the CAMEL-Subscription-Information after beared information and the renewal is inconsistent, judge that then being carried as of described beared information correspondence is changed carrying.
Step 202: cancellation is changed second of carrying and sets up, and handles being changed to carry after carrying changes, and described second carrying that is established as on S1 interface and air interface is set up.
If in the step 201, employing mode one realizes detecting the step that is changed carrying, then handles and can realize in the following ways being changed to carry after carrying changes in this step:
If described beared information with upgrade after CAMEL-Subscription-Information inconsistently be: the QoS and the CAMEL-Subscription-Information that are changed carrying are inconsistent, then for described be changed to carry first mark is set; If described beared information with upgrade after CAMEL-Subscription-Information inconsistently be: be changed the APN that carrying is connected and forbidden that UE inserts, then be changed carrying second mark is set for described; MME receive from S-GW set up default bearer response after, the bearing modification process is initiated in the carrying that has first mark, deactivation process is initiated in the carrying that has second mark.
If in the step 201, employing mode two realizes detecting the step that is changed carrying, then handles and can realize in the following ways being changed to carry after carrying changes in this step:
If the CAMEL-Subscription-Information after described beared information and the renewal is inconsistent be: it is inconsistent to be changed carrying QoS and CAMEL-Subscription-Information, and then MME is to the described carrying initiation bearing modification process that is changed; If described beared information with upgrade after CAMEL-Subscription-Information inconsistently be: be changed the APN that carrying is connected and forbidden that UE inserts, then be changed carrying and initiate deactivation process described for MME.
In addition, realize detecting under the situation of the step that is changed carrying, can change after back carrying handles being changed carrying, delete the mark that is provided with into all carryings at MME in step 201 employing mode one.
Realize detecting under the situation of the step that is changed carrying in step 201 employing mode two, if described timer expired then can be carried out second and set up process.
First embodiment:
The flow chart of the method that carrying was handled during the PDN that Fig. 3 provides for the embodiment of the invention connected.As shown in Figure 3:
Step 300:MME receives the insertion subscription data message from HSS in first process of setting up.
Step 301: relatively the beared information among the MME with upgrade after CAMEL-Subscription-Information whether inconsistent, if execution in step 302 then, otherwise, execution in step 309.
Step 302: judge that being carried as of beared information correspondence is changed carrying, execution in step 303.
Step 303: cancellation is changed second of carrying and sets up, and described second carrying that is established as on S1 interface and air interface is set up.
Step 304: the CAMEL-Subscription-Information after judging described beared information and upgrading is inconsistent to be situation one or situation two.If situation one, then execution in step 305, if situation two, execution in step 306.
Situation one is: the QoS and the CAMEL-Subscription-Information that are changed carrying are inconsistent.
Situation two is: be changed the APN that carrying connects and forbidden that UE inserts.
Step 305: first mark, execution in step 307 are set for being changed carrying.
Step 306: second mark, execution in step 307 are set for being changed carrying.
Step 307:MME receive from S-GW set up default bearer response after, the bearing modification process is initiated in the carrying that has first mark, deactivation process is initiated in the carrying that has second mark.
In this step, the bearing modification process of being initiated by MME can realize in the following ways:
I, MME send more new bearer request to S-GW, thereby initiate the bearing modification process.More can comprise following content in the new bearer request: first message is used for indication and is changed carrying foundation failure; Second message is used to indicate the former of described foundation failure because be changed the beared information and the CAMEL-Subscription-Information after the renewal of carrying inconsistent.
J, S-GW will be sent to P-GW from the more new bearer request of MME.
After k, P-GW receive more new bearer request from S-GW, initiate loading establishing process according to the carrying QoS that upgrades in the CAMEL-Subscription-Information of back.Loading establishing process of initiating described here by P-GW comprised loading establishing process and the S1 interface between S-GW and the P-GW and eat dishes without rice or wine on loading establishing process.
In addition, if adopted the PCC framework, P-GW also can be after the more new bearer request that receives from S-GW, and notice PCRF is new bearer QoS more.
This step can be carried out after setting up mark for all carryings again.
Step 308: delete the mark that is provided with into all carryings, process ends.
In this step, because the MME that is marked at that is provided with for carrying initiated just not acted on after bearing modification and the deexcitation according to described mark, therefore, need be with the tag delete that is provided with in step 305 and the step 306.
If in whole carrying processing procedure, do not have execution in step 306, step 307 just can not carried out the step of the carrying that has second mark being initiated deactivation process so, therefore, only need after step 307 is initiated the bearing modification process, first mark that step 305 is provided with all be deleted.
If in whole carrying processing procedure, do not have execution in step 305, step 307 just can not carried out the step of the carrying that has first mark being initiated the bearing modification process so, therefore, only need after step 307 is initiated deactivation process, second mark that step 306 is provided with all be deleted.
If step 305 and step 306 have all been carried out, then step 307 can be initiated bearing modification process and deactivation process, after step 307 was initiated bearing modification and also initiated deactivation process, second mark of first mark that step 305 is provided with and step 306 setting was all deleted again so.
Step 309: carry out second and set up process.
In the present embodiment, this step can realize according to existing mode, initiates the subsequent process that many PDN connect thereby continue to carry out UE.Existing mode described here is meant, handles according to the normal flow of standard code.
Second embodiment:
The flow chart of the method that carrying was handled during the PDN that Fig. 4 provides for the embodiment of the invention connected.As shown in Figure 4:
Step 400:MME receives the insertion subscription data message from HSS in first process of setting up.
Step 401:MME starts timer with default time timing.
Step 402: detect accepting state, if accepting state is a state one, then execution in step 403, if accepting state is a state two, then return step 402, if accepting state is a state three, then execution in step 408.
State one: MME receives in during the timer timing and sets up the default bearer response from S-GW.
State two: MME does not receive in during the timer timing and sets up the default bearer response from S-GW.
State three: timer expired.
Step 403: whether the beared information and the CAMEL-Subscription-Information after the renewal of the corresponding carrying of more described default bearer response be inconsistent, if then execution in step 404, otherwise, execution in step 408.
Step 404: judge that being carried as of described beared information correspondence is changed carrying.
Step 405: the CAMEL-Subscription-Information after judging described beared information and upgrading is inconsistent to be situation one or situation two.If situation one, then execution in step 406, if situation two, then execution in step 407.
Situation one is: the QoS and the CAMEL-Subscription-Information that are changed carrying are inconsistent.
Situation two is: be changed the APN that carrying connects and forbidden that UE inserts.
Step 406:MME initiates bearing modification process, process ends to being changed carrying.
This step can be identical with bearing modification process described in the step 303 of embodiment one.
Step 407:MME initiates deactivation process, process ends to being changed carrying.
This step can be identical with deactivation process described in the step 303 of embodiment one.
Step 408: carry out second and set up process, process ends.
In the present embodiment, this step can adopt existing mode to realize, initiates the subsequent process that many PDN connect thereby continue to carry out UE.Existing mode described here is meant, handles according to the normal flow of standard code.
This step can be identical with the step 309 among the embodiment one.
The 3rd embodiment:
The MME equipment structure chart that carrying was handled during the PDN that Fig. 5 provides for the embodiment of the invention connected.As shown in Figure 5, this MME equipment comprises: detection module 501 and processing module 502.
Detection module 501 is used under first process of setting up is received situation from the insertion subscription data message of HSS, detect and be changed carrying, send testing results to processing module 502, the described beared information that is changed carrying with upgrade after CAMEL-Subscription-Information inconsistent.
Detection module 501 comprises: first comparison module 5011 and first determination module 5012.
First comparison module 5011 is used under first process of setting up is received situation from the insertion subscription data message of HSS the beared information among the MME being compared with the CAMEL-Subscription-Information after the renewal, and comparative result is sent to first determination module 5012.
First determination module 5012 is used to receive the comparative result from first comparison module 5011, if described comparative result is: the CAMEL-Subscription-Information after beared information and the renewal is inconsistent, judge that then being carried as of described beared information correspondence is changed carrying, to described comparative result is sent to processing module 502 as testing result.
Processing module 502 comprises: the first cancellation module 5021 and first sort module 5022.
The first cancellation module 5021 is used for after the testing result that receives from detection module 501, and cancellation is changed second of carrying and sets up, and described testing result is sent to first sort module 5022.
First sort module 5022 is used to receive the testing result from the first cancellation module 5021, judge that described testing result is that first result still is second result, if first result, then be changed carrying first mark is set for described, if second result, then be changed carrying second mark is set for described, described first result is: beared information with upgrade after CAMEL-Subscription-Information inconsistent for the QoS and the CAMEL-Subscription-Information that are changed carrying inconsistent, described second result is: beared information with upgrade after CAMEL-Subscription-Information inconsistently forbidden that for being changed the APN that carrying is connected UE inserts, receive from S-GW set up default bearer response after, the bearing modification process is initiated in the carrying that has first mark, deactivation process is initiated in the carrying that has second mark.
First sort module 5022 can also be further used for after initiating bearing modification process and/or deactivation process, deletes the mark that is provided with into all carryings.
The 4th embodiment:
The MME equipment structure chart that carrying was handled during the PDN that Fig. 6 provides for the embodiment of the invention connected.As shown in Figure 6, this MME equipment comprises: detection module 501 and processing module 502;
Detection module 601 is used under first process of setting up is received situation from the insertion subscription data message of HSS, detect and be changed carrying, send testing results to processing module 502, the described beared information that is changed carrying with upgrade after CAMEL-Subscription-Information inconsistent.
Detection module 601 comprises: second comparison module 6011 and second determination module 6012.
Second comparison module 6011 is used under first process of setting up is received situation from the insertion subscription data message of HSS, start timer with default time timing, if the default bearer of setting up that receives in during the timer timing from S-GW responds, then the beared information of the corresponding carrying of described default bearer response is compared with the CAMEL-Subscription-Information after the renewal, comparative result is sent to second discrimination module 6012;
Second discrimination module 6012 is used to receive the comparative result from second comparison module, if described comparative result is: the CAMEL-Subscription-Information after beared information and the renewal is inconsistent, judge that then being carried as of described beared information correspondence is changed carrying, is sent to processing module 602 with described comparative result as testing result.
Processing module 602 is used to receive the testing result from detection module, and cancellation is changed second of carrying and sets up, and handles being changed to carry after carrying changes.
Processing module 602 comprises: the second cancellation module 6021 and second sort module 6022.
The second cancellation module 6021 is used for after the testing result that receives from detection module, and cancellation is changed second of carrying and sets up, and described testing result is sent to second sort module 6022.
Second sort module 6022 is used to receive the testing result from the first cancellation module 6021, judge that described testing result is that first result still is second result, to testing result is first result's the carrying initiation bearing modification process that is changed, to testing result is that being changed of second result carried the initiation deactivation process, described first result is: beared information with upgrade after CAMEL-Subscription-Information inconsistent inconsistent for the QoS and the CAMEL-Subscription-Information that are changed carrying, described second result is: beared information with upgrade after CAMEL-Subscription-Information inconsistent be to be changed the APN that carrying is connected to have forbidden the UE access.
In addition, second comparison module 6011 can be further used for behind timer expired, initiates second and sets up process.
From technique scheme as can be seen, the method and apparatus that carrying was handled during the PDN that the embodiment of the invention provides connected, during UE initiates first in the process that many PDN connect and sets up, if the CAMEL-Subscription-Information of UE changes, the inconsistent carrying of CAMEL-Subscription-Information after then detecting beared information and upgrading, cancelling second of described carrying sets up and described carrying is handled accordingly, rather than described carrying is continued to carry out second set up process, therefore, can solve during UE initiates first in the process that many PDN connect and sets up the problem that the CAMEL-Subscription-Information of UE changes and caused.
In addition, behind timer expired, the carrying that MME can not set up in the response default bearer by force detects, and sets up process but carry out second according to the normal flow of standard code.Thereby can avoid for the carrying that forwards activated state under the normal condition from non-activated state to, MME also will set up the problem that the pairing carrying of response detects to its default bearer.
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.