Method for selecting gateway, server, subscriber equipment, gateway and block data system
Technical field
The present invention relates to network technology, particularly relate to a kind of for subscriber equipment access 3GPP network time
Method for selecting gateway, home subscribed services device, for access 3GPP network time select gateway user set
Standby, the packet data gateway of evolution and the block data system of evolution.
Background technology
Block data system (Evolved Packet System, EPS, the packet data system of evolution of evolution
System) support to utilize non-3 gpp IP(3rd Generation Partnership Project Internet Protocol,
3GPP IP, 3rd Generation Partnership Project Internet Protocol) access network access 3GPP(3rd
Generation Partnership Project, 3GPP, 3rd Generation Partnership Project) drill
The packet data core network (Evolved Packet Core, EPC, the packet data core network of evolution) entered,
To improve the coverage of EPS, reduce the load of 3GPP access network simultaneously.3GPP core net according to
Whether authentication, licensing process that non-3 gpp IP access network is used meet the 3GPP requirement to safety,
Judge that non-3 gpp IP access network is trusted network or trustless network.
When fly-by-night non-3 gpp IP access network accesses 3GPP EPC, existing gateway selects machine
System does not consider subscriber equipment (User Equipment, UE, subscriber equipment) position, gateway each other
Distance relation.When UE accesses 3GPP EPC by fly-by-night non-3 gpp IP access network,
UE is to packet data network gateway (Packet Data Network Gateway, PDN GW, grouped data
Net gateway) Route Selection include evolution packet data gateway (Evolved Packet Data Gateway,
EPDG, the packet data gateway of evolution) select and PDN GW selection.
Existing 3GPP 23.402 agreement uses ePDG and PDN GW separately to select mechanism.
Wherein, ePDG selects to include: in non-3 GPP access network access authentication/licensing process, UE profit
With the gateway selecting function on UE, and according to ePDG FQDN(Full Qualified Domain Name,
FQDN, universe name) from local domain name system server (Domain Name System Server, DNS
Server, domain name system server) obtain ePDG IP(Internet Protocol, IP, Internet Protocol)
Address list.UE is randomly chosen an IP address as purpose ePDG IP from this IP address list
Address.In the process, UE is by the PLMN ID(Public Land Mobile Network of residing network
ID, public land mobile network identifies) constitute ePDG FQDN as carrier ID.
Or, ePDG selects to include that: UE has selected for an initial ePDG, and with initial ePDG
Have been set up IPsec tunnel.The IPsec(Internet Protocol with initial ePDG is set up at UE
Security, internet protocol secure) tunnel this IPsec tunnel is carried out 3GPP authentication/licensing process
In, non-3 GPP network mark is sent to HSS/AAA server(Home Subscriber by initial ePDG
Server or Authentication Authorization Accounting, home subscribed services device or authentication/
Mandate/accounting server).HSS/AAA server find apart from this UE closer to target ePDG, and
Target ePDG selection information is sent to initial ePDG.Target ePDG information is forwarded by initial ePDG
To UE.UE sets up the IPsec tunnel with target ePDG, and is entered in 3GPP network in this tunnel
Row authentication/authorize.UE disconnects the IPsec tunnel with initial ePDG afterwards.
PDN GW selects to include: the PDN GW on ePDG selects function to authenticate in IPsec tunnel/award
During power, obtain PDN GW alternately with 3GPP AAA Server/Proxy and select information, this selection
Information is supplied to 3GPP AAA Server/Proxy by HSS.This selection information includes PDN GW ID
(Identity, ID, mark), or include APN(Access Point Name, APN) and
One instruction.Wherein, PDN GW ID includes FQDN or includes IP address and APN;This instruction is said
Whether bright PDN GW is from visited Public Land mobile network (Visited Public Land Mobile
Network, VPLMN, visited Public Land mobile network) middle distribution.PDN GW on ePDG
Select function by with DNS server interaction, gateway selects information be sent to DNS server,
And at DNS server, obtain PDN GW IP address.
Owing to PDN GW selects to select separately to carry out with ePDG, and HSS does not consider ePDG
And the distance relation between PDN GW, cause UE-> route of ePDG-> PDN GW non-optimal.
Such as: UE utilize existing ePDG select mechanism chosen the IP with UE turn jumping minimum (such as 1 time)
EPDG1, ePDG1 utilize existing PDN GW to select mechanism to choose the IP with ePDG1 and turn jumping
The PDN GW1 of minimum (such as 3 times), now 4 IP of the minimum needs of UE to PDN GW1 turn jumping.
Turning jumping if there is the IP of ePDG2 Yu UE is 2 times, and the IP between ePDG2 and PDN GW2 turns jumping
It it is 1 time.The prior art so utilizing ePDG and PDN GW separately to select cannot choose UE
And the optimization route between PDN GW.
Summary of the invention
The embodiment of the present invention provides a kind of method for selecting gateway, server, subscriber equipment, gateway and packet
Data system, for subscriber equipment when accessing 3GPP core net, it is possible to according to UE position to packet
Gateway in data network carries out Combination selection, thus realizes the Optimization route between UE and purpose gateway.
First aspect of the embodiment of the present invention is to provide a kind of when subscriber equipment accesses 3GPP network
Method for selecting gateway, including:
In the positional information of the access network used according to subscriber equipment and packet data network between gateway
Range information, obtain the described subscriber equipment Optimization route information to purpose gateway;
The Optimization route information of described subscriber equipment to purpose gateway is sent to described subscriber equipment, so that
Described subscriber equipment chooses corresponding purpose gateway according to described Optimization route information.
Second aspect of the embodiment of the present invention is to provide a kind of gateway selecting party when accessing 3GPP network
Method, including:
Receive the subscriber equipment Optimization route information to purpose gateway of home subscribed services device return, described
The access network that Optimization route information is used according to described subscriber equipment by described home subscribed services device
In positional information and packet data network, the range information between gateway obtains;
Corresponding purpose gateway is chosen according to described Optimization route information.
3rd aspect of the embodiment of the present invention is to provide a kind of when subscriber equipment accesses 3GPP network
Method for selecting gateway, including:
Receive the PDN GW in the Optimization route information that subscriber equipment sends and select information, described optimal road
The position letter of the access network used according to described subscriber equipment by described home subscribed services device by information
Range information between breath and the packet data gateway ePDG of evolution and packet data network gateway PDN GW
Obtaining, described Optimization route information includes that ePDG selects information and PDN GW to select information;
Information is selected to select corresponding PDN GW according to described PDN GW.
4th aspect of the embodiment of the present invention is to provide a kind of home subscribed services device, including:
Optimization route acquiring unit, for the positional information of access network used according to subscriber equipment and
Range information between gateway in packet data network, obtains optimal to purpose gateway of described subscriber equipment
Routing iinformation;
Routing iinformation transmitting element, for sending out the Optimization route information of described subscriber equipment to purpose gateway
Give described subscriber equipment, so that described subscriber equipment is chosen according to described Optimization route information accordingly
Purpose gateway.
Gateway is selected when 5th aspect of the embodiment of the present invention is to provide one for accessing 3GPP network
Subscriber equipment, including:
Routing iinformation receives unit, for receiving the subscriber equipment of home subscribed services device return to purpose net
Close Optimization route information, described Optimization route information by described home subscribed services device according to described user
In the positional information of the access network that equipment is used and packet data network, the range information between gateway obtains
Arrive;
Route selection unit, for choosing corresponding purpose gateway according to described Optimization route information.
6th aspect of the embodiment of the present invention is to provide the packet data gateway of a kind of evolution, including:
Select information receiving unit, for receiving the PDN in the Optimization route information that subscriber equipment sends
GW selects information, described Optimization route information by described home subscribed services device according to described subscriber equipment
The positional information of the access network used and the packet data gateway ePDG of evolution and Packet Data Network's net
The range information closed between PDN GW obtains, described Optimization route information include ePDG select information and
PDN GW selects information;
Route selection unit, for selecting information to select corresponding PDN GW according to described PDN GW.
7th aspect of the embodiment of the present invention is to provide the block data system of a kind of evolution, including above-mentioned
Home subscribed services device and the packet data gateway of above-mentioned evolution.
Method for selecting gateway, server, subscriber equipment, gateway and the packet count that the embodiment of the present invention provides
Having the technical effect that according to system, HSS(Home Subscriber Server, home subscribed services device) basis
Range information between gateway in the positional information of the access network that UE is used and packet data network, energy
Enough obtain the subscriber equipment Optimization route information to purpose gateway on the whole, by by Optimization route information
Issue UE so that UE can choose optimal purpose gateway according to Optimization route information, thus realizes
UE is to the Optimization route of purpose gateway.
Accompanying drawing explanation
A kind of gateway when subscriber equipment accesses 3GPP network that Fig. 1 provides for the embodiment of the present invention
The flow chart of system of selection;
Method for selecting gateway during the another kind of access 3GPP network that Fig. 2 provides for the embodiment of the present invention
Flow chart;
Another net when subscriber equipment accesses 3GPP network that Fig. 3 provides for the embodiment of the present invention
Close the flow chart of system of selection;
The fly-by-night non-3 gpp that Fig. 4 is applied by the method for selecting gateway that the embodiment of the present invention provides
The UE in the network network structure by S2b interface accessing 3GPP core net;
The signaling process figure of the method for selecting gateway that Fig. 5 provides for the embodiment of the present invention one;
The fly-by-night non-3 gpp that Fig. 6 is applied by the method for selecting gateway that the embodiment of the present invention provides
The UE in the network network structure by S2c interface accessing 3GPP core net;
The signaling process figure of the method for selecting gateway that Fig. 7 provides for the embodiment of the present invention two;
The structural representation of the home subscribed services device that Fig. 8 provides for the embodiment of the present invention;
The subscriber equipment selecting gateway when being used for accessing 3GPP network that Fig. 9 provides for the embodiment of the present invention
Structural representation;
The structural representation of the packet data gateway of the evolution that Figure 10 provides for the embodiment of the present invention;
The structural representation of the block data system of the evolution that Figure 11 provides for the embodiment of the present invention.
Detailed description of the invention
A kind of gateway when subscriber equipment accesses 3GPP network that Fig. 1 provides for the embodiment of the present invention
The flow chart of system of selection.The present embodiment selects flow process from HSS side explanation gateway, as it is shown in figure 1, bag
Include:
In step 11, the positional information of the access network used according to subscriber equipment and packet data network
Range information between gateway, obtains this subscriber equipment Optimization route information to purpose gateway.
Wherein, the access network that subscriber equipment is used can be 3GPP network, it is also possible to be non-3 gpp
Network.
This range information can be geographic range information or Internet Protocol (Internet Protocol,
IP) turn and hop number.Range information between gateway in packet data network, can be ePDG Yu PDN GW
Between distance, it is also possible to be the distance etc. between gateway and PDN GW.
The positional information of the access network used according to subscriber equipment such as HSS and ePDG and PDN GW
Between range information, obtain this subscriber equipment Optimization route information to PDN GW, this Optimization route
Information includes that ePDG selects information and PDN GW to select information.
Step 12, the Optimization route information of this subscriber equipment to purpose gateway is sent to this subscriber equipment,
So that this subscriber equipment chooses corresponding purpose gateway according to this Optimization route information.
As the Optimization route information of this subscriber equipment to PDN GW is sent to this subscriber equipment by HSS,
So that this subscriber equipment selects information to choose accordingly according to the ePDG in this Optimization route information
EPDG, this corresponding ePDG select information to choose according to the PDN GW in this Optimization route information
Corresponding PDN GW.
In the embodiment of the present invention, the positional information of the access network that HSS is used according to UE and ePDG
And the range information between PDN GW, it is possible to obtain subscriber equipment on the whole to PDN GW
Good routing iinformation, by issuing UE by Optimization route information so that UE can be according to Optimization route information
Choose optimal gateway, thus realize the Optimization route of UE to PDN GW.
Wherein, the positional information of the access network used according to subscriber equipment and ePDG and PDN GW
Between range information, obtain this subscriber equipment to before the Optimization route information of PDN GW, also can wrap
Include:
Receiving non-3 GPP access network mark (ID) that subscriber equipment sends, this non-3 GPP access network is
The access network that this subscriber equipment is used.
According to this non-3 GPP access network mark and locally stored non-3 GPP access network mark and ability,
Know the positional information of the access network that this subscriber equipment used;
Obtain between ePDG and PDN GW according to locally stored ePDG mark (ePDG ID)
Range information.
Alternatively, receive the non-3 GPP access network mark that subscriber equipment sends, including:
Receiving the Authentication Authorization request message that this subscriber equipment sends, this Authentication Authorization request message comprises non-
3GPP access network identifies.I.e. during UE is initially accessed authentication/mandate, HSS complete UE
To the best route selection of PDN GW, decrease an IPsec tunnel compared to prior art and set up
Journey, decrease tunnel by 3GPP network authentication/licensing process, decrease an IPsec tunnel
Deletion process, thus decrease network load.
Correspondingly, the Optimization route information of this subscriber equipment to purpose gateway is sent to this subscriber equipment,
Including:
Sending Authentication Authorization response message to this subscriber equipment, this Authentication Authorization response message comprises this user
Equipment is to the Optimization route information of purpose gateway.
It should be noted that the access network that subscriber equipment is used can also be 3GPP network, when with
When the access network that family equipment is used is 3GPP network, corresponding network structure, message or signaling etc.
Can revise accordingly according to the concrete condition of 3GPP network, basic invention thinking refers to use
The situation when access network that family equipment is used is non-3 GPP network, this is also at the protection model of the present invention
In enclosing.
Method for selecting gateway during the another kind of access 3GPP network that Fig. 2 provides for the embodiment of the present invention
Flow chart.Method for selecting gateway is illustrated by the present embodiment from UE side, as in figure 2 it is shown, include:
The subscriber equipment that step 21, reception home subscribed services device return is believed to the Optimization route of purpose gateway
Breath, the access network that this Optimization route information is used according to this subscriber equipment by this home subscribed services device
Positional information and packet data network in range information between gateway obtain.
As received subscriber equipment that home subscribed services device home subscribed services device returns to PDN GW
Good routing iinformation, this Optimization route information is used according to this subscriber equipment by this home subscribed services device
Range information between positional information and ePDG and the PDN GW of access network obtains, this Optimization route
Information refers to the explanation in said method embodiment illustrated in fig. 1, selects information and PDN GW including ePDG
Selection information.Wherein, range information is geographic range information or IP turns and hops number.Grouped data
Range information between gateway in network, can be the distance between ePDG and PDN GW, it is also possible to
It it is the distance etc. between gateway and PDN GW.
Step 22, choose corresponding purpose gateway according to this Optimization route information.Such as UE according to this
EPDG in good routing iinformation selects information to select corresponding ePDG.
Wherein, the subscriber equipment Optimization route information to PDN GW of home subscribed services device return is received
Before, may also include that
Non-3 GPP access network mark is sent to this home subscribed services device, so that this home subscribed services device
According to this non-3 GPP access network mark and locally stored non-3 GPP access network mark and ability, know
The positional information of the access network that this subscriber equipment is used, wherein, the non-3 GPP access network mark of transmission
Know the access network mark used by this subscriber equipment.
Alternatively, send non-3 GPP access network mark to home subscribed services device, including:
Sending Authentication Authorization request message to this home subscribed services device, this Authentication Authorization request message comprises
Non-3 GPP access network identifies.I.e. during UE is initially accessed authentication/mandate, HSS complete
The best route selection of UE to PDN GW, decreases an IPsec tunnel compared to prior art and sets up
Process, decrease tunnel by 3GPP network authentication/licensing process, decrease an IPsec tunnel
Process is deleted in road, thus decreases network load.
Correspondingly, this subscriber equipment optimal road to purpose gateway of this home subscribed services device return is received
By information, including:
Receive the Authentication Authorization response message that this home subscribed services device returns, this Authentication Authorization response message
Comprise this subscriber equipment Optimization route information to purpose gateway.
Alternatively, this Optimization route information includes that ePDG selects information and PDN GW to select information;
Correspondingly, according in this Optimization route information ePDG select information select corresponding ePDG it
After, also include:
Information is selected to be sent to this corresponding ePDG the PDN GW in this Optimization route information, so that
This corresponding ePDG selects information to select corresponding PDN GW according to this PDN GW.
In the embodiment of the present invention, UE is by receiving the Optimization route of UE to the PDN GW that HSS sends
Information selects corresponding gateway, the positional information of the access network used according to UE due to HSS and
Range information between ePDG and PDN GW, it is possible to obtain subscriber equipment on the whole to PDN GW
Optimization route information, by Optimization route information is issued UE, and UE is according to Optimization route information
Select corresponding gateway, it is achieved that the Optimization route of UE to PDN GW.
Another net when subscriber equipment accesses 3GPP network that Fig. 3 provides for the embodiment of the present invention
Close the flow chart of system of selection.The present embodiment illustrates method for selecting gateway from ePDG side, as it is shown on figure 3,
Including:
Step 31, the PDN GW received in the Optimization route information that subscriber equipment sends select information, should
The position of the access network that Optimization route information is used according to this subscriber equipment by this home subscribed services device
Range information between information and ePDG and PDN GW obtains, and this Optimization route information refers to above-mentioned side
Explanation in method embodiment illustrated in fig. 1, selects information and PDN GW to select information including ePDG;
Step 32, according to this PDN GW select information select corresponding PDN GW.
It will be understood by those skilled in the art that execution above-mentioned steps 31, the ePDG of step 32 are Optimization route
The ePDG specified in information, and chosen by UE.
In the embodiment of the present invention, ePDG is by receiving the PDN GW in the Optimization route information that UE sends
Selection information, and select information to carry out selecting corresponding PDN GW according to the PDN GW of UE transmission,
Between positional information and ePDG and the PDN GW of the access network used according to UE due to HSS
Range information, it is possible to obtain the subscriber equipment Optimization route information to PDN GW on the whole, by inciting somebody to action
Optimization route information issues UE, and UE selects corresponding ePDG according to Optimization route information, by UE
The ePDG selected selects information to select phase according to the PDN GW in the Optimization route information of UE transmission again
The PDN GW answered, it is achieved that the Optimization route of UE to PDN GW.
It should be noted that the access network that subscriber equipment is used can also be 3GPP network, when with
When the access network that family equipment is used is 3GPP network, corresponding network structure, message or signaling etc.
Can revise accordingly according to the concrete condition of 3GPP network, basic invention thinking refers to use
The situation when access network that family equipment is used is non-3 GPP network, this is also at the protection model of the present invention
In enclosing.
Method for selecting gateway is carried out the most in detail from overall situation angle below by embodiment one, embodiment two
Describe in detail bright.
Embodiment one
As shown in Figure 4, the UE in fly-by-night non-3 GPP network passes through S2b interface accessing 3GPP
Core net, when UE accesses 3GPP EPC by non-3 gpp IP access network, UE is in non-3 gpp IP
Authentication/the mandate of access network, be finally by with 3GPP authentication/mandate/accounting server (3GPP
Authentication Authorization Accounting server, 3GPP AAA server) come alternately
Become.In the process, home subscribed services device (Home Subscriber Server, HSS) should
The CAMEL-Subscription-Information of UE is sent to 3GPP aaa server or agency (3GPP AAA sever/proxy),
HSS can send Optimization route information by 3GPP AAA sever/proxy to UE.Concrete incoming stream
Journey is as it is shown in figure 5, include:
Step 51: store non-3 GPP access network mark, non-3 GPP access network ability in HSS, and
Storage ePDG ID.Wherein, non-3 GPP access network mark and non-3 GPP access network ability can represent non-
The positional information of 3GPP access network.If the non-3 GPP network mark that the known UE of HSS is used, just
Would know that its position.
Step 52:UE by with ANDSF(Access Network Discovery and Selection
Function, access network discovery and select function) interaction obtains the mark of its access network used
Know, i.e. non-3 GPP access network mark.
Step 53a:UE comprise in access authentication/authorization request message message element (Information,
Element, IE, message element): non-3 GPP access network identifies, and non-3 gpp is connect by this message
Network identification is sent to HSS/AAA server or proxy.
Step 54: after HSS/AAA server judges that non-3 GPP access network is trustless access network
(23.402 prior art), HSS according to non-3 GPP access network identify, ePDG and PDN GW it
Between distance find out the Optimization route of UE to PDN GW.The Optimization route of UE to PDN GW is
The overall Optimization route of UE-> ePDG-> PDN GW.
Step 53b:HSS comprises IE:UE to PDN GW's in access authentication/authorization response message
Optimization route information, is sent to UE by this message by the Optimization route information of UE to PDN GW.UE
Optimization route information to PDN GW comprises ePDG and selects information and PDN GW to select information.
Step 55:UE selects information according to the ePDG in the Optimization route information of UE to PDN GW
With DNS server interactive selection to ePDG.
Step 56a:UE comprises IE:UE to PDN GW's in request message is set up in IPsec tunnel
The PDN GW of Optimization route information selects information, selects information to send PDN GW by this message
To ePDG.After ePDG receives ipsec tunnel foundation request message, trigger ipsec tunnel and authenticate/award
Power process.
After step 56b:ePDG receives ipsec tunnel authentication/authorization response message, send IPSec to UE
Response message is set up in tunnel.
Step 57:ePDG selects according to the PDN GW in the Optimization route information of UE to PDN GW
Information and DNS server interactive selection to PDN GW.
Step 58, ePDG send " agent binding update " message to PDN GW.
Step 59, PDN GW Yu PCRF set up IP-CAN session.
Step 510, PDN GW Yu HSS update the address of PDN GW.
Step 511, PDN GW send " confirmation agent binding " message to ePDG.
Remaining step is the operation in tradition attachment flow.
In the embodiment of the present invention, for the UE in fly-by-night non-3 GPP network by S2b interface
Accessing the sight of 3GPP core net, HSS is by locally stored ePDG ID, non-3 GPP network mark
Knowledge and ability can know positional information and the positional information of each non-3 GPP network of each ePDG, and
By receive UE send non-3 GPP network mark know subscriber equipment for the non-3 gpp net accessed
The particular location of network such that it is able to obtain the subscriber equipment optimal path to PDN GW on the whole, and
It is routed, i.e. according to this Optimization route information by Optimization route information being sent to UE, UE
Select corresponding ePDG and PDN GW, it is achieved that the Optimization route of UE to PDN GW.
Embodiment two
As shown in Figure 6, the UE in fly-by-night non-3 GPP network passes through S2c interface accessing 3GPP
Core net, when UE accesses 3GPP EPC by non-3 gpp IP access network, UE is in non-3 gpp IP
Authentication/the mandate of access network, be finally by with 3GPP authentication/mandate/accounting server (3GPP
Authentication Authorization Accounting server, 3GPP AAA server) come alternately
Become.In the process, home subscribed services device (Home Subscriber Server, HSS) should
The CAMEL-Subscription-Information of UE is sent to 3GPP aaa server or agency (3GPP AAA sever/proxy),
HSS can send Optimization route information by 3GPP AAA sever/proxy to UE.Concrete incoming stream
Journey as it is shown in fig. 7, comprises:
Step 71: store non-3 GPP access network mark, non-3 GPP access network ability in HSS, and
Storage ePDG ID.Wherein, non-3 GPP access network mark and non-3 GPP access network ability can represent non-
The positional information of 3GPP access network.If the non-3 GPP network mark that the known UE of HSS is used, just
Would know that its position.
Step 72:UE identifies by obtaining non-3 GPP access network with ANDSF interaction.
Step 73a:UE comprises IE: non-3 GPP access network mark in access authentication/authorization request message,
By this message, non-3 GPP access network mark is sent to HSS/AAA server or proxy.
Step 74: after HSS/AAA server judges that non-3 GPP access network is trustless access network
(23.402 prior art), HSS according to non-3 GPP access network identify, ePDG and PDN GW it
Between distance find out the Optimization route of UE to PDN GW.The Optimization route of UE to PDN GW is
The overall Optimization route of UE-> ePDG-> PDN GW.
Step 73b:HSS comprises IE:UE to PDN GW's in access authentication/authorization response message
Optimization route information, is sent to UE by this message by the Optimization route information of UE to PDN GW.UE
Optimization route information to PDN GW comprises ePDG and selects information and PDN GW to select information.
Step 75:UE selects information according to the ePDG in the Optimization route information of UE to PDN GW
With DNS server interactive selection to ePDG.
Step 76a:UE comprises IE:UE to PDN GW's in request message is set up in IPsec tunnel
The PDN GW of Optimization route information selects information, selects information to send PDN GW by this message
To ePDG.After ePDG receives ipsec tunnel foundation request message, triggering ipsec tunnel authentication/
Licensing process.
After step 76b:ePDG receives ipsec tunnel authentication/authorization response message, send to UE
Ipsec tunnel sets up response message.
Step 77:ePDG selects according to the PDN GW in the Optimization route information of UE to PDN GW
Information and DNS server interactive selection to PDN GW.
Step 78, ePDG send " the IKE v2(internet key exchange containing IP address to UE
Version2, second version of the Internet Key Exchange) " message.
IPsec tunnel it is successfully established between step 79, UE and ePDG.
Step 710, UE Yu PDN GW complete MIPV6 security association and set up and home address configuration,
Carry out between PDN GW and HSS authenticating/authorizing.
Step 711, UE send " binding updates " message to PDN GW.
Step 712, PDN GW Yu PCRF set up IP-CAN session.
Step 713, PDN GW send " binding acknowledgement " message to UE.
Then completing IPsec tunnel and the foundation in DSMIPv6 tunnel, remaining step is tradition attachment flow
In operation.
In the embodiment of the present invention, the UE in fly-by-night non-3 GPP network is visited by S2c interface
Ask the sight of 3GPP core net, the positional information of the access network that HSS is used and ePDG according to UE
And the range information between PDN GW, it is possible to obtain subscriber equipment on the whole to PDN GW
Good routing iinformation, by Optimization route information is issued UE, and UE selects according to Optimization route information
Corresponding gateway, it is achieved that the Optimization route of UE to PDN GW.
Compared in prior art, UE simply uses PLMN ID as according to constituting ePDG
FQDN, does not accounts for the access network residing for UE and does not i.e. account for UE location, so cannot structure
Become location comparison ePDG FQDN accurately, thus on accurately selecting ePDG to produce the problem of impact, with
And relative in prior art, have built up between the ePDG that prior art one selects at UE and utilizing
After IPsec tunnel, HSS/AAA reselects ePDG.Cause carrying out once between UE and network more
IPsec tunnel establishment procedure, carry out authentication/mandate that IPsec tunnel is carried out by 3GPP network one time more
Process, carrying out IPsec tunnel more and delete process, the 3GPP core network signalling caused increases, initial
Attachment time delay increase problem, the embodiment of the present invention HSS select UE to PDN GW route time not
Only account for the positional information of UE so that the optimization route that HSS can be nearest for chosen distance UE, more
Importantly have also contemplated that the distance relation between ePDG and PDN GW so that HSS can choose
Optimization route between UE to PDN GW, and provide ePDG to select information and PDN GW for UE
Selection information.Further, the embodiment of the present invention is completed by HSS in UE is initially accessed authentication/licensing process
The best route selection of UE to PDN GW, thus obtain ePDG and select information and PDN GW to select
Information.Compared to prior art, decrease IPsec tunnel establishment procedure, decrease a tunnel and lead to
Cross 3GPP network authentication/licensing process, decrease an IPsec tunnel deletion process, decrease network
Load.
It should be noted that the access network that subscriber equipment is used can also be 3GPP network, when with
When the access network that family equipment is used is 3GPP network, corresponding network structure, message or signaling etc.
Can revise accordingly according to the concrete condition of 3GPP network, basic invention thinking refers to use
The access network that family equipment is used is the situation of each embodiment of non-3 GPP network, and this is also at this
In bright protection domain.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer can
Read in storage medium.This program upon execution, performs to include the step of above-mentioned each method embodiment;And
Aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
The structural representation of the home subscribed services device that Fig. 8 provides for the embodiment of the present invention.The present invention implements
The home subscribed services device that example provides is for implementing the method that above-mentioned embodiment illustrated in fig. 1 provides, such as Fig. 8
Shown in, home subscribed services device includes: Optimization route acquiring unit 81 and routing iinformation transmitting element 82.
The positional information of the Optimization route acquiring unit 81 access network for being used according to subscriber equipment
And range information between gateway in packet data network, obtain optimal to purpose gateway of this subscriber equipment
Routing iinformation.Wherein, this range information is geographic range information or Internet Protocol (Internet
Protocol, IP) turn hop number.Range information between gateway in packet data network, can be ePDG
And the distance between PDN GW, it is also possible to be the distance etc. between gateway and PDN GW.
The positional information of the access network used according to subscriber equipment such as Optimization route acquiring unit 81 and
Range information between ePDG and PDN GW, obtains this subscriber equipment Optimization route to PDN GW
Information, this Optimization route information includes that ePDG selects information and PDN GW to select information.
Routing iinformation transmitting element 82 is for sending out the Optimization route information of this subscriber equipment to purpose gateway
Give this subscriber equipment, so that this subscriber equipment chooses corresponding purpose net according to this Optimization route information
Close.As the Optimization route information of this subscriber equipment to PDN GW is sent by routing iinformation transmitting element 82
To this subscriber equipment, so that this subscriber equipment selects information choosing according to the ePDG in this Optimization route information
Selecting corresponding ePDG, this corresponding ePDG selects according to the PDN GW in this Optimization route information
Information chooses corresponding PDN GW.As this routing iinformation transmitting element 82 can be specifically for this user
Equipment sends Authentication Authorization response message, and this Authentication Authorization response message comprises this subscriber equipment to purpose net
The Optimization route information closed.
Alternatively, the home subscribed services device that the embodiment of the present invention provides may also include that mark receives unit
83, positional information knows unit 84 and range information acquiring unit 85.
Mark receives unit 83 for being used according to subscriber equipment at this Optimization route acquiring unit 81
Range information between positional information and ePDG and the PDN GW of access network, obtains this subscriber equipment
Before the Optimization route information of PDN GW, receive the non-3 GPP access network mark that subscriber equipment sends,
The access network that this non-3 GPP access network is used by this subscriber equipment.As this mark reception unit 83 can
Specifically for receiving the Authentication Authorization request message that this subscriber equipment sends, this Authentication Authorization request message bag
Identify containing non-3 GPP access network.Positional information knows that unit 84 is for according to this non-3 GPP access network mark
Know and locally stored non-3 GPP access network mark and ability, know that what this subscriber equipment used connects
Enter the positional information of network.Range information acquiring unit 85 is for identifying according to locally stored ePDG
Range information between ePDG and PDN GW.
In the embodiment of the present invention, the access network that HSS is used according to UE by Optimization route acquiring unit
Range information between positional information and ePDG and the PDN GW of network, it is possible to obtain user on the whole
Optimization route information, to the Optimization route information of PDN GW, is sent out by equipment by routing iinformation transmitting element
To UE so that UE can choose optimal gateway according to Optimization route information, thus realize UE and arrive
The Optimization route of PDN GW.
The subscriber equipment selecting gateway when being used for accessing 3GPP network that Fig. 9 provides for the embodiment of the present invention
Structural representation.In the embodiment of the present invention, the user of gateway is selected to set in time accessing 3GPP network
It is ready for use on and implements the method that above-mentioned embodiment illustrated in fig. 2 provides.Specifically, subscriber equipment includes: route
Information receiving unit 91 and route selection unit 92.
Routing iinformation receives unit 91 for receiving the subscriber equipment of home subscribed services device return to purpose
The Optimization route information of gateway, this Optimization route information by this home subscribed services device according to this subscriber equipment
In the positional information of the access network used and packet data network, the range information between gateway obtains.
Subscriber equipment that home subscribed services device returns is received to PDN as routing iinformation receives unit 91
The Optimization route information of GW, this Optimization route information by this home subscribed services device according to this subscriber equipment
Range information between positional information and ePDG and the PDN GW of the access network used obtains, should
Optimization route information refers to the explanation in said method embodiment, selects information and PDN including ePDG
GW selects information.As this routing iinformation reception unit 91 can be specifically for receiving this home subscribed services device
The Authentication Authorization response message returned, this Authentication Authorization response message comprises this subscriber equipment to purpose gateway
Optimization route information.Wherein, range information is geographic range information or IP turns and hops number.Point
Organize the range information between gateway in data network, can be the distance between ePDG and PDN GW,
It can also be the distance etc. between gateway and PDN GW.
Route selection unit 92 is for choosing corresponding purpose gateway according to this Optimization route information.Such as road
Information is selected to select corresponding ePDG by selecting unit 92 according to the ePDG in this Optimization route information.
Alternatively, what the embodiment of the present invention provided is used for when non-3 GPP network accesses 3GPP network selecting
The subscriber equipment of gateway also includes: mark transmitting element 93.
This mark transmitting element 93 receives home subscribed services device for receiving unit 91 at this routing iinformation
The subscriber equipment returned is to before the Optimization route information of PDN GW, non-to the transmission of home subscribed services device
3GPP access network identifies, the access network that this non-3 GPP access network is used by subscriber equipment.Such as this mark
Knowing transmitting element 93 can be specifically for sending Authentication Authorization request message, this authentication to home subscribed services device
Authorization request message comprises non-3 GPP access network mark.
Alternatively, what the embodiment of the present invention provided is used for when non-3 GPP network accesses 3GPP network selecting
The subscriber equipment of gateway also includes: select information transmitting unit 94, at this route selection unit 92
After selecting information to select corresponding ePDG according to the ePDG in this Optimization route information, this is optimal
PDN GW in routing iinformation selects information to be sent to this corresponding ePDG, so that this corresponding ePDG
Information is selected to select corresponding PDN GW according to this PDN GW.
In the embodiment of the present invention, UE receives unit by routing iinformation and receives UE to the PDN that HSS sends
The Optimization route information of GW selects corresponding gateway, and the access network used due to HSS according to UE
Range information between positional information and ePDG and the PDN GW of network, it is possible to obtain user on the whole
Equipment is to the Optimization route information of PDN GW, by Optimization route information is issued UE, and UE
Corresponding gateway is selected according to Optimization route information, it is achieved that UE to PDN GW by route selection unit
Optimization route.
The structural representation of the packet data gateway of the evolution that Figure 10 provides for the embodiment of the present invention.The present invention
In embodiment, the packet data gateway (ePDG) of evolution is used for implementing above-mentioned embodiment illustrated in fig. 3 to be provided
Method.Specifically, ePDG includes: select information receiving unit 101 and route selection unit 102.
Select information receiving unit 101 for receiving the PDN in the Optimization route information that subscriber equipment sends
GW selects information, and this Optimization route information is used according to this subscriber equipment by this home subscribed services device
Access network positional information and ePDG and PDN GW between range information obtain, this optimal road
Referred to the explanation in said method embodiment by information, select information and PDN GW to select including ePDG
Information.
Route selection unit 102 is for selecting information to select corresponding PDN GW according to this PDN GW.
In the embodiment of the present invention, ePDG receives, by selecting information receiving unit, the Optimization route that UE sends
PDN GW in information selects information, and utilizes, by route selection unit, the PDN GW that UE sends
Selection information carries out selecting corresponding gateway, due to the position of the access network that HSS is used according to UE
Range information between information and ePDG and PDN GW, it is possible to obtain subscriber equipment on the whole and arrive
The Optimization route information of PDN GW, by Optimization route information is issued UE, and UE is according to optimal
Routing iinformation selects the Optimization route that corresponding ePDG, the ePDG selected by UE send again according to UE
PDN GW in information selects information to select corresponding PDN GW, it is achieved that UE to PDN GW
Optimization route.
The structural representation of the block data system of the evolution that Figure 11 provides for the embodiment of the present invention.This enforcement
In example, the block data system (EPS) of evolution can realize what above-described embodiment one and embodiment two provided
Method.The block data system of concrete evolution includes the packet count of home subscribed services device 111 and evolution
According to gateway 112.Home subscribed services device 111 can be any one the ownership signing provided in above-described embodiment
Server, the packet data gateway 112 of evolution can be any one ePDG provided in above-described embodiment.
In the embodiment of the present invention, the HSS that EPS is provided by above-described embodiment obtains UE to PDN GW
Optimization route information, and send that information to UE, UE is according to the ePDG in this Optimization route information
After selection information selects corresponding ePDG, selected ePDG is according to the PDN in Optimization route information
GW selects information to select corresponding PDN GW, it is achieved that the Optimization route of UE to PDN GW.
It should be noted that the access network that user equipment (UE) specifically described herein is used can also be
3GPP network, when the access network that subscriber equipment is used is 3GPP network, corresponding network structure,
Message or signaling etc. can be revised accordingly according to the concrete condition of 3GPP network, basic invention
Thinking refers to the situation that the access network that subscriber equipment used is each embodiment of non-3 GPP network,
This is the most within the scope of the present invention.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right
It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common
Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be modified by it,
Or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, and
The essence not making appropriate technical solution departs from the scope of various embodiments of the present invention technical scheme.