Background technology
In field of mobile communication, EPS (Evolved Packet System, evolution grouping domain system) is progressively development.Whole EPS system is shown in Fig. 1 (non-roaming framework), mainly comprise E-UTRAN (Evolved Universal Terrestrial Radio Access Network, the universal terrestrial access network of evolution) and EPC (Evolved Packet Core, the packet-based core networks of evolution) two parts.The EPC of this system can support the access of user from GERAN (GSMEDGE radio access network, GSM EDGE wireless access network) and UTRAN (Universal Terrestrial Radio Access Network, universal land radio access web).
In the EPC packet-based core networks, comprised HSS (Home Subscriber Server, the home subscriber data server), MME (Mobility Management Entity, mobility management unit), S-GW (Serving Gateway, gateway), P-GW (PDNGateway, grouped data network gateway), SGSN (Serving GPRS Support Node, Serving GPRS Support Node) and PCRF (Policy and Charging EnforcementFunction, strategy and charging regulation function entity), wherein:
HSS (Home Subscriber Server): the home subscriber data server is the permanent storage place of user contracting data, is positioned at the home network that the user contracts;
MME (Mobility Management Entity): mobility management unit, be the storage place of user contracting data in current network, be responsible for NAS layer (Non-Access Stratum, the Non-Access Stratum) signaling management of terminal to network, tracking and paging management function and the bearer management under user's idle pulley;
S-GW (Serving Gateway, gateway): gateway, be the gateway that core net arrives wireless system, be responsible for function, legal eavesdropping and grouped data route and forwarding capability that subscriber equipment is initiated service request to user plane bearer, the metadata cache under the terminal idle pulley, the network side of core net;
P-GW (PDN Gateway): grouped data network gateway is the grouping domain system (EPS) of evolution and the gateway of this system's external network, functions such as the IP address assignment of responsible terminal, billing function, grouping packet filtering, application of policies.
SGSN (Serving GPRS Support Node): Serving GPRS Support Node, be the business support point that GERAN and UTRAN user insert the EPC network, similar on the function with MME, be responsible for user's functions such as position renewal, paging management and bearer management.
In existing EPS system, when UE was registered to network, the MME in the network selected a default P-GW for the user, and MME is according to selected P-GW and user's subscription data, for UE selects a suitable S-GW, and be connected to selected P-GW by this S-GW.The selection of S-GW need be considered following factor:
1. select a S-GW to reduce the possibility of its variation according to topology of networks as far as possible;
2. consider the load state of the S-GW be connected with this MME/SGSN;
3. when visited network is different with roaming network agreement supported protocol, need select a suitable S-GW according to the P-GW that may select, for example select a S-GW who supports GTP and PMIP agreement simultaneously, do not allow local route also can select a S-GW who only supports GTP if perhaps contract.
S-GW and P-GW are independently logic entities of two functions, but operator may consider that demands such as the optimization of route and networking be simple are deployed in two entities in the same physical node in actual networking.Under non-roaming situation, MME should select the S-GW with the P-GW unification as far as possible when selecting P-GW.When the user moved, S-GW can change according to user position information, still, at a time can only have a S-GW to provide service for the user.
After user's registration, the follow-up connection request that can be initiated to more PDN.In this time, MME may select different P-GW, and these P-GW also are that the S-GW by original selection inserts.Fig. 2 is the situation that the user has many PDN to connect.
In the scheme, the problem of existence is at present:
1. if the P-GW that has been connected to by S-GW1 (first gateway) and home network of user is connected to PDN1 (first packet data network), and home network is a network of only supporting GTP, select the S-GW principle in view of existing MME so, may select a S-GW who only supports the GTP agreement.Connect when the user initiates new PDN3, and must be connected to this PDN3 by the P-GW3 of a support PMIP agreement, for example this P-GW is a P-GW that the third party provides.This moment, current S-GW1 can't provide such connection for the user owing to the restriction of interface protocol, thereby may cause connection failure, had reduced service success rate.
2. hypothesis UE has set up being connected of PDN1 by S-GW1 and P-GW1.The user is initiated to the connection of PDN2 afterwards, and exists a S-GW and P-GW to close the node of establishing (S-GW2/P-GW2) in network, and according to prior art, UE still is connected to S-GW2/P-GW2 by S-GW1 and inserts PDN2.So just can't utilize present network design mode to realize routing optimality.
Among the present invention, the S-GW1 that the user has connected, P-GW, PDN1 are first gateway, first grouped data network gateway, first packet data network; New S-GW, P-GW, PDN that the user connects are called second gateway, second grouped data network gateway, second packet data network.
From above scene as can be seen, the problem that routing optimality when prior art can not satisfy many PDN and connects and interface protocol restriction are brought, therefore the present invention proposes the problem that method that a kind of MME selects S-GW satisfies the routing optimality when many PDN are connected, and the P-GW of docking port protocols limit connects the effective solution of proposition.
Summary of the invention
The technical problem that the present invention solves provide a kind of in the EPS system Mobility Management Entity realize the method for preferred service gateway, and provide a kind of Mobility Management Entity to realize the device of preferred service gateway.
Realize the method for preferred service gateway in a kind of mobile communcations system of the present invention, subscriber equipment is connected to first packet data network by first gateway and first grouped data network gateway, initiate newly-built packet data network when connecting when subscriber equipment, described method comprises:
When Mobility Management Entity is selected second grouped data network gateway, carry out the algorithm of selecting gateway, to select the gateway of a coupling.
Above-mentioned method, wherein, Mobility Management Entity is selected also to comprise before second grouped data network gateway:
Subscriber equipment sends the packet data network connection request to Mobility Management Entity;
After Mobility Management Entity receives described packet data network connection request, select grouped data network gateway according to APN and user contracting data.
Above-mentioned method, wherein, described execution selects the algorithm of gateway to comprise one of the following at least:
Mobility Management Entity is judged whether second grouped data network gateway closes with second gateway and is located at a node, if then select the gateway of second gateway as coupling.
Mobility Management Entity is according to the interface protocol type of second grouped data network gateway that obtains, judge that first gateway can't be connected to second grouped data network gateway, then Mobility Management Entity selects to support the gateway of second gateway of described interface protocol type as coupling.
Mobility Management Entity judges that subscriber equipment need be connected to second packet data network, and then mobile management entity is selected the gateway of second gateway as coupling.
Mobility Management Entity is judged the load condition of first gateway, if first gateway at full capacity, then Mobility Management Entity is selected the gateway of second gateway as coupling.
Above-mentioned method, wherein, the tabulation corresponding of Mobility Management Entity structure gateway with grouped data network gateway, and with described first gateway sign and the first grouped data network gateway corresponding relation, and second gateway sign is inserted in the described tabulation with the second grouped data network gateway corresponding relation.
Above-mentioned method, wherein, described method also comprises:
Mobility Management Entity is selected to set up default bearing between the Mobility Management Entity and second gateway after the gateway of second gateway as coupling.
Mobility Management Entity sends carrying to evolution base station and sets up request, wherein carries the second gateway address and user's face tunnel information;
After evolution base station receives that request is set up in described carrying, preserve second gateway and user's face tunnel information corresponding lists to realize the user face data transmission.
The present invention also provides the system that realizes the preferred service gateway, and described system comprises:
Gateway is selected module, is arranged in Mobility Management Entity, is used for when Mobility Management Entity is selected the second service data network gateway, carries out the algorithm of selecting gateway, selects the gateway of a coupling.
Above-mentioned system, wherein, described gateway is selected module to carry out the algorithm of selecting gateway to comprise one of following at least:
Second grouped data network gateway and second gateway close when being located at a node, select the gateway of second gateway as coupling;
Judge that first gateway can't be connected to second grouped data network gateway, select a gateway of supporting second gateway of described interface protocol type as coupling;
Judge that subscriber equipment need be connected to second packet data network, select the gateway of second gateway as coupling;
Judge the full load of first gateway, select the gateway of second gateway as coupling.
Above-mentioned system, wherein, this system also comprises:
Gateway tabulation constructing module, be arranged in Mobility Management Entity, be used to construct the gateway tabulation corresponding with grouped data network gateway, with described first gateway sign and the first grouped data network gateway corresponding relation, and second gateway sign is inserted in the described tabulation with second grouped data network gateway.
Above-mentioned system, wherein, this system also comprises:
Module is preserved in the gateway tabulation, is arranged in evolution base station, is used to preserve first gateway and user's face tunnel information corresponding relation, and the tabulation of second gateway and user's face tunnel information corresponding relation.
By method of the present invention and device, UE needs the PGW according to new access when newly-built PDN connects, carry out the selection algorithm of SGW.And original scheme is to continue to use old SGW.Utilize new SGW to insert new PGW, can realize the load sharing of routing optimality and SGW.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are elaborated.
Fig. 3 be the method for the invention embodiment use configuration diagram 1.
Suppose that UE has set up being connected of PDN1 by S-GW1 and P-GW1.The user is initiated to the connection of PDN2 afterwards, and MME selects to insert PDN2 by P-GW2.MME carries out the selection of S-GW according to the address information of the address information of P-GW2, current eNodeB and the information of roaming agreement.MME has selected to close the S-GW2 that establishes with P-GW2, thereby has realized the routing optimality of PDN2.S-GW1 before MME does not discharge, the user can continue to be connected to PDN1 by S-GW1 and P-GW1.PDN connect set up successfully after, MME need preserve the corresponding relation of different S-GW to P-GW so that in other follow-up flow processs, service request etc. for example, MME can be connected to corresponding P-GW by selecting S-GW before.Owing to reselected S-GW2, the load of S-GW1 has been played the effect of sharing.
Fig. 4 is the configuration diagram 2 that the method for the invention embodiment uses.
Suppose that UE has set up being connected of PDN1 by S-GW1 and P-GW1, use the GTP roaming agreement between S-GW1 and the P-GW1.The user is initiated to the connection of PDN2 afterwards, and MME selects to insert PDN2 by P-GW2.MME selects to insert PDN2 by P-GW2.MME carries out the selection of S-GW according to the address information of the address information of P-GW2, current eNodeB and the information of roaming agreement.Because the roaming agreement to P-GW2 is PMIPv6, so MME has selected a new S-GW2, the PMIPv6 that is provided to P-GW2 connect PDN connect set up successfully after, MME need preserve the corresponding relation of different S-GW to P-GW, so that in other follow-up flow processs, service request etc. for example, MME can be connected to corresponding P-GW by selecting S-GW before.Owing to reselected S-GW2, the load of S-GW1 has been played the effect of sharing.
As shown in Figure 5, UE initiates newly-built PDN and connects, and selects the process of optimum route, may further comprise the steps:
UE can finish the assignment of IP address, be connected to a new PDN etc. by initiating PDN connection flow process.Here suppose that UE has been connected to PDN1 by S-GW1 and P-GW1, the purpose of initiating this flow process is to be connected to a new PDN2, may carry out routing optimality in this flow process.
Step 501, UE sends the PDN connection request, wherein carries APN (Access PointName, APN), the indication of PDN address assignment.Wherein APN represents that UE wishes the network that is connected to by this flow process, and PDN address assignment indication shows whether UE needs to allow IP address of P-GW assignment by this flow process.
Step 502, MME receives request, checks whether the APN that carries in the request is the signatory APN that allows of user.If not then directly returning failure response, need not to carry out subsequent step.Otherwise MME selects a suitable P-GW according to this APN, and the address of P-GW can be selected according to DNS (Domain Name Service, domain name mapping) and subscription data, and that hypothesis is selected here is P-GW2.MME carries out the selection of SGW, realizes the optimization of route by this process.
MME is according to the address of the P-GW2 that is obtained, with selection and this P-GW2 close the S-GW2 that establishes as far as possible.Like this, just do not need by original that S-GW1 inserts P-GW2, thereby realized the routing optimality of P-GW2.
The MME structure gateway S-GW tabulation corresponding with grouped data network gateway P-GW, and with described first gateway sign and the first grouped data network gateway corresponding relation, and second gateway sign is inserted in the described tabulation with the second grouped data network gateway corresponding relation.
Owing to selected a new S-GW2,, shared the part load of S-GW1 than using old S-GW1 to insert P-GW2.
Step 503.MME sends the default bearing request of creating to selected S-GW2, carry IMSI (International Mobile Subscriber Identity in the request, IMSI International Mobile Subscriber Identity), MME is the sign of this default bearing distribution and the QoS information of this carrying, APN, access network type, the address of P-GW2, information such as PDN address assignment indication.
Step 504.S-GW2 sends to P-GW2 and creates the default bearing request, carries IMSI in the request, the QoS information of default bearing sign and this carrying, APN, access network type, the TEID of S-GW2 (Tunnel Endpoint Identifier, tunnel end sign), information such as PDN address assignment indication.
Step 505, if disposed PCRF in the network, P-GW2 can obtain the PCC strategy of acquiescence from PCRF.This step is an optional step.
Step 506, P-GW2 returns to S-GW2 and creates the default bearing response, and notice S-GW2 carrying is set up successfully, wherein carries TEID and the address information of P-GW2, UL TFT (UplinkTraffic Flow Template), information such as default bearing sign.
If S-GW2 and P-GW2 close to establish node, step 504 and 506 is intra-node interface messages, and the parameter of carrying can be omitted to some extent according to actual conditions.
Step 507, S-GW2 returns to MME and creates the default bearing response, and notice MME carrying is set up successfully, wherein carries TEID and the address information of S-GW2, UL TFT (UplinkTraffic Flow Template), information such as EPS bearing identification.
MME preserves the corresponding relation of S-GW2 and P-GW2, so that in other follow-up flow processs, as service request etc., MME can be connected to P-GW2 by S-GW2, rather than other S-GW.
Step 508, MME sends carrying to eNB and sets up request, the carrying of notice eNB core net one side is set up successfully, need set up the wireless side carrying, wherein carries address and the user's face tunnel information of S-GW2, qos parameter, APN, PDN address information, EPS bearing identification, the TEID of S1 interface, information such as session management configuration.
After eNB receives that request is set up in carrying, preserve address and the user's face tunnel information of S-GW2 in this locality.ENB need preserve S-GW and user's face tunnel information corresponding lists, so that can select corresponding S-GW to transmit user data follow-up carrying out according to user's face tunnel information when user face data transmits.
Step 509 is set up the wireless side carrying between eNB and the UE.
Step 510, eNB notice MMS sends carrying and sets up response, and notice MME radio bearer is set up and is finished.
Step 511, MME sends the bearer update request to S-GW2, and the TEID of eNB is notified to S-GW2.
Step 512, S-GW2 returns the bearer update response to MME.
Step 513, if the subscription data explicit user can proceed to the switching that non-3GPP inserts, MME need be notified to HSS with the address information of APN and P-GW2 by position updating request.
Step 514, HSS preserves the address information of APN and P-GW2, upgrades response to the MME home position.
As shown in Figure 6, UE initiates newly-built PDN and connects, because protocol violation is selected the process of new S-GW, may further comprise the steps:
UE can finish the assignment of IP address, be connected to a new PDN etc. by initiating PDN connection flow process.Here suppose that UE has been connected to PDN1 by S-GW1 and P-GW1, and S-GW1 and P-GW1 only support the GTP agreement, the purpose of initiating this flow process is to be connected to a new PDN2, and because protocols limit is selected a new S-GW.
Step 601, UE sends the PDN connection request, wherein carries APN (Access PointName, APN), the indication of PDN address assignment.Wherein APN represents that UE wishes the network that is connected to by this flow process, and PDN address assignment indication shows whether UE needs to allow IP address of P-GW assignment by this flow process.
Step 602, MME receives request, checks whether the APN that carries in the request is the signatory APN that allows of user.If not then directly returning failure response, need not to carry out subsequent step.Otherwise MME selects a suitable P-GW according to this APN, and the address of P-GW can be selected according to DNS (Domain Name Service, domain name mapping) and subscription data, and that hypothesis is selected here is P-GW2.
MME is PMIP according to the interface protocol type of the P-GW2 that is obtained, judges that the S-GW1 of current connection can't be connected to P-GW2, so MME reselects a S-GW2 who supports the PMIP agreement.And the S-GW2 that selects at present to before by the not influence of PDN that S-GW1 connected, therefore can solve have only a S-GW1 in the prior art and S-GW1 because the interface protocol restriction can not be connected to the problem of P-GW2.
The MME structure gateway S-GW tabulation corresponding with grouped data network gateway P-GW, and with described first gateway sign and the first grouped data network gateway corresponding relation, and second gateway sign is inserted in the described tabulation with the second grouped data network gateway corresponding relation.
Step 603.MME sends the default bearing request of creating to selected S-GW2, carry IMSI (International Mobile Subscriber Identity in the request, IMSI International Mobile Subscriber Identity), MME is the sign of this default bearing distribution and the QoS information of this carrying, APN, access network type, the address of P-GW2, information such as PDN address assignment indication.
Step 604.S-GW2 sets up new registration to the request of P-GW2 agent binding update, wherein carries MN NAI, information such as APN, and MN NAI message is used for identifying UE, and APN is used to distinguish other PDN that may be connected on this P-GW.
Step 605, if disposed PCRF in the network, then P-GW2 sends the IPCAN session to PCRF and sets up indication, wherein carries MN NAI, APN, IP CAN type, information such as the IP address of UE.The information that PCRF provides according to P-GW2 will be chargeed and policy information is handed down to P-GW.
Step 606, P-GW2 sends agent binding to S-GW2 and replys.
Step 607, S-GW2 sends gateway control session to PCRF and sets up request, is used for obtaining corresponding strategies from PCRF, and sets up a control session.PCRF can obtain strategy or the charging relevant information that S-GW2 provides in follow-up process afterwards.
Step 608, P-GW2 confirms whether successful Application of charging that PCRF issued and policy information to PCRF.
Step 605,607 and 608 PCRF that whether dispose according to network also allow dynamic PCC strategy to decide.
Step 609, S-GW2 returns to MME and creates the default bearing response, and notice MME carrying is set up successfully, wherein carries TEID and the address information of S-GW2, UL TFT (UplinkTraffic Flow Template), information such as EPS bearing identification.
MME preserves the corresponding relation of S-GW2 and P-GW2, so that in other follow-up flow processs, as service request etc., MME can be connected to P-GW2 by S-GW2, rather than other S-GW.
Step 610, MME sends carrying to eNB and sets up request, the carrying of notice eNB core net one side is set up successfully, need set up the wireless side carrying, wherein carries address information and the user's face tunnel information of S-GW2, qos parameter, APN, PDN address information, EPS bearing identification, the TEID of S1 interface, information such as session management configuration.
After eNB receives that request is set up in carrying, preserve address and the user's face tunnel information of S-GW2 in this locality.ENB need preserve S-GW and user's face tunnel information corresponding lists, so that can select corresponding S-GW to transmit user data follow-up carrying out according to user's face tunnel information when user face data transmits.
Step 611 is set up the wireless side carrying between eNB and the UE.
Step 612, eNB notice MMS sends carrying and sets up response, and notice MME radio bearer is set up and is finished.
Step 613, MME sends the bearer update request to S-GW2, and the TEID of eNB is notified to S-GW2.
Step 614, S-GW2 returns the bearer update response to MME.
Step 615, if the subscription data explicit user can proceed to the switching that non-3GPP inserts, MME need be notified to HSS with the address information of APN and P-GW2 by position updating request.
Step 616, HSS preserves the address information of APN and P-GW2, upgrades response to the MME home position.
Realize the system of preferred service gateway S-GW in a kind of mobile communcations system, as shown in Figure 7, described system comprises:
Gateway is selected module, is arranged in Mobility Management Entity, is used for when Mobility Management Entity is selected the second service data network gateway, carries out the algorithm of selecting gateway, selects the gateway of a coupling.
Gateway tabulation constructing module, be arranged in Mobility Management Entity, be used to construct the gateway tabulation corresponding with grouped data network gateway, with described first gateway sign and the first grouped data network gateway corresponding relation, and second gateway sign is inserted in the described tabulation with second grouped data network gateway.
Module is preserved in the gateway tabulation, is arranged in evolution base station, is used to preserve second gateway and user's face tunnel information corresponding lists.
Described gateway is selected module to carry out the algorithm of selecting gateway to comprise one of following at least:
Second grouped data network gateway and second gateway close when being located at a node, select the gateway of second gateway as coupling;
Judge that first gateway can't be connected to second grouped data network gateway, select a gateway of supporting second gateway of described interface protocol type as coupling;
Judge that subscriber equipment need be connected to second packet data network, select the gateway of second gateway as coupling;
Judge the full load of first gateway, select the gateway of second gateway as coupling.
Because all user face datas all need through S-GW, therefore when connecting, use many PDN the method for the present invention can be except solving the problem that prior art exists, all can only use the situation of a S-GW for arbitrary moment of UE in the prior art, also played and shared load, and the beneficial effect of optimizing user's face.
Above-mentioned execution mode is suitable for the mode that UE inserts the SGSN of R8 by UMTS/UTRAN and connects PDN by the EPC network equally, SGSN is similar to optimal way and the MME of S-GW, the function of SGSN is all identical with MME in the above embodiments Fig. 3, Fig. 4 and Fig. 5, does not do here and gives unnecessary details.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.