A kind of method for switching network, network controller, associated server and PGW
Technical field
The present invention relates to field of communication technology, in particular to a kind of method for switching network, network controller, associated server
And PGW (Public Data Network GateWay, packet data network gateway).
Background technique
Attribution server can be by unified user identifier managing user information, heterogeneous networks under the same attribution server
There is public anchor point PGW, UE (User Equipment, user terminal) can be by the same anchor when moving between the different networks
Point is connected to outer net without changing IP address.
The prior art supports UE to switch between the heterogeneous networks under the same attribution server, but difference PSP
(Participating Service Provider, service provider) uses different attribution server managing user informations,
Mark of the same UE in the attribution server of different PSP is different, and the network of different servers does not have public PGW, because
This can not support UE to switch between the network of different servers.
Summary of the invention
The purpose of the present invention is to provide a kind of method for switching network, network controller, associated server and PGW, with solution
The problem of certainly UE can not being supported to switch between the network of different servers in the prior art.
The present invention provides a kind of method for switching network, is applied to first network controller, which comprises described first
Network controller sends the packet data network gateway PGW of the UE in user terminal UE access to the first user attaching server
Information acquisition request, the PGW information acquisition request include the unification user mark and/or the first user identifier of the UE, institute
The PGW that PGW information acquisition request is stated for UE described in request selects information;The first network controller receives described the
The PGW for the UE that one user attaching server is sent selects information;The first network controller selects to believe according to the PGW
Selection target PGW is ceased, and initiates to send communication link foundation request to the target PGW and sends PDN connection to the UE
Communication link establishes request, the communication link for requesting to establish between the target PGW and the UE.
The present invention also provides a kind of method for switching network, are applied to the first user attaching server, which comprises institute
State the grouping that the first user attaching server receives the UE that first network controller is sent after user terminal UE access
Data Network Gateway PGW information acquisition request, the PGW information acquisition request include the unification user mark and/or the of the UE
One user identifier;Based on the PGW information acquisition request, the first user attaching server is sent out to unification user name server
It send user registration to request, unification user mark and/or the first user of user terminal UE is carried in the user registration request
Mark, PGW of the user registration request for UE described in request select information;The first user attaching server connects
The user registration response that the unification user name server is sent is received, PGW selection information is carried in the user registration response;
The first user attaching server obtains the selection information of the PGW in the user registration response, and to the first network control
Device processed sends the PGW and selects information.
The present invention also provides a kind of method for switching network, are applied to unification user name server, which comprises described
Unification user name server receives the user registration request that the first user attaching server is sent, and takes in the user registration request
Unification user mark with user terminal UE, wherein the user registration request is the UE access first network controller
The packet count for the UE that the first user attaching server is sent based on the first network controller received later
According to transmission after net gateway PGW selection information request;The unification user name server is based on the user registration request
The PGW of the UE selects information;The unification user name server sends user registration to the first user attaching server
Response, the PGW in the user registration response comprising the UE select information.
The present invention also provides a kind of method for switching network, are applied to packet data network gateway PGW, which comprises when
It is described when the first network that user terminal UE is provided from the second Network Mobility of second service provider to first service provider
PGW receives the PDN connection communication request for building link that first network is sent, and takes in the PDN connection communication request for building link
The access point of the first user identifier, first service provider mark, first network mark, PDN connection with user terminal UE
APN and PDN connection via first network next hop address;The PGW is based on the PDN connection communication link establishment
Request, establishes the PDN connection communication link between the PGW and the UE via the first network, and to described the
One network sends the link establishment response of PDN connection communication;The PGW is the public network of the first network and second network
It closes.
The present invention also provides a kind of network controller, the network controller is first network controller, first net
Network controller includes processor, transceiver, memory, user interface and network interface, and the processor is used for: at user's end
The packet data network gateway PGW information acquisition request of the UE is sent when holding UE access to the first user attaching server, it is described
PGW information acquisition request includes the unification user mark and/or the first user identifier of the UE, the PGW information acquisition request
PGW for UE described in request selects information;Receive the PGW choosing for the UE that the first user attaching server is sent
Select information;Information selection target PGW is selected according to the PGW, and initiates to send communication link foundation request to the target PGW
And PDN connection communication request for building link is sent to the UE, it is established between the target PGW and the UE for requesting
Communication link.
The present invention also provides a kind of user attaching server, the user attaching server is the first user attaching service
Device, the first user attaching server include processor, transceiver, memory, user interface and network interface, the place
Reason device is used for: receiving the packet data network gateway for the UE that first network controller is sent after user terminal UE access
PGW information acquisition request, the PGW information acquisition request include the unification user mark and/or the first user identifier of the UE;
Based on the PGW information acquisition request, user registration is sent to unification user name server and is requested, in the user registration request
The unification user mark and/or the first user identifier of user terminal UE are carried, the user registration request is used for request
The PGW of the UE selects information;The user registration response that the unification user name server is sent is received, the user registration is answered
PGW selection information is carried in answering;The PGW selection information in the user registration response is obtained, and to the first network control
Device processed sends the PGW and selects information.
The present invention also provides a kind of unification user name server, the unification user name server includes processor, transmitting-receiving
Machine, memory, user interface and network interface, the processor are used for: receiving the use that the first user attaching server is sent
Family registration request carries the unification user mark of user terminal UE in user registration request, wherein the user registration
Request is the first user attaching server after the UE access first network controller based on described first received
It is sent after the packet data network gateway PGW selection information request for the UE that network controller is sent;It is stepped on based on the user
Remember that the PGW of UE described in request selects information;User registration response, the use are sent to the first user attaching server
It registers the PGW in response comprising the UE and selects information in family.
It include processor, transceiver, memory, use the present invention also provides a kind of packet data network gateway PGW, the PGW
Family interface and network interface, the processor are used for: when user terminal UE is from the second Network Mobility of second service provider
To first service provider provide first network when, receive first network send packet data network PDN connection communication link
Request is established, the first user identifier, the first service of user terminal UE are carried in the PDN connection communication request for building link
Provider's mark, first network mark, PDN connection access point APN and PDN connection via first network next-hop
Location;Based on the PDN connection communication request for building link, establish between the PGW and the UE via the first network
The PDN connection communication link, and the link establishment response of PDN connection communication is sent to the first network;The PGW is described
The Common Gateway of first network and second network.
The present invention also provides a kind of computer readable storage medium, computer is stored on the computer readable storage medium
Program, the computer program realize that first network controller described in above-mentioned method for switching network executes when being executed by processor
The step of.
The present invention also provides a kind of computer readable storage medium, computer is stored on the computer readable storage medium
Program, the computer program realize the first user attaching server described in above-mentioned method for switching network when being executed by processor
The step of execution.
The present invention also provides a kind of computer readable storage medium, computer is stored on the computer readable storage medium
Program, the computer program realize that unification user name server described in above-mentioned method for switching network is held when being executed by processor
Capable step.
The present invention also provides a kind of computer readable storage medium, computer is stored on the computer readable storage medium
Program, the computer program realize the step of PGW described in above-mentioned method for switching network is executed when being executed by processor.
Above-mentioned technical proposal of the invention at least has the following beneficial effects:
In this way, the first network controller of UE request access requests to take to unification user name to the first user attaching server
Business device obtains PGW and selects information, so that the first network controller chooses public anchor point PGW, UE is mentioned in different services
IP address is had no need to change when for moving in quotient's network, so as to realize industry of the UE between different service provider networks
Business continuity.
Detailed description of the invention
Fig. 1 is a kind of network architecture schematic diagram of MF PLMN access module provided in an embodiment of the present invention;
Fig. 2 is a kind of network architecture schematic diagram of MF NH access module provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of method for switching network provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of method for switching network provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another method for switching network provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another method for switching network provided in an embodiment of the present invention;
Fig. 7 is MF NH network of the UE provided in an embodiment of the present invention from the MF NH Network Mobility of non-3 gpp PSP to 3GPP
Example schematic;
Fig. 8 is UE provided in an embodiment of the present invention from the MF NH Network Mobility of the 2nd PSP to the MF NH network of the first PSP
Example schematic;
Fig. 9 is MF PLMN net of the UE provided in an embodiment of the present invention from the MF NH Network Mobility of non-3 gpp PSP to 3GPP
The example schematic of network;
Figure 10 is the citing of MF NH network of the UE provided in an embodiment of the present invention from 3GPP Network Mobility to non-3 gpp PSP
Schematic diagram;
Figure 11 is the step flow chart of another method for switching network provided in an embodiment of the present invention;
Figure 12 is the step flow chart of another method for switching network provided in an embodiment of the present invention;
Figure 13 is the step flow chart of another method for switching network provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of network controller provided in an embodiment of the present invention;
Figure 15 is a kind of structural schematic diagram of user attaching server provided in an embodiment of the present invention;
Figure 16 is a kind of structural schematic diagram of unification user name server provided in an embodiment of the present invention;
Figure 17 is a kind of structural schematic diagram of PGW provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, those of ordinary skill in the art's every other reality obtained under the premise of not making the creative labor
Example is applied, shall fall within the protection scope of the present invention.
MuLTEfire (hereinafter referred MF) is on the basis of LTE R13 LAA downlink transmission method, and the new uplink that defines passes
Transmission method, and can work independently in LTE (Long Term Evolution, long term evolution) technology of unauthorized frequency range, i.e.,
stand-alone LTE-U.MF is a kind of new wireless access technology based on LTE, which can not be by authorized spectrum band
Carrier wave independent operating is in unlicensed spectrum.MF expands to LTE in unlicensed spectrum, and physical layer introduces the carrier wave of similar WiFi
Listem-before-talk (LBT, Listen Before Talk) mechanism of monitoring technique, to realize and unauthorized frequency range equipment fair competition
Interface-free resources.Wherein, MF supports two kinds of network insertion modes (or network service), respectively PLMN (Public Land
Mobile Network, public land mobile network) access module and NH (Neutral Host, neutral host) access module,
MF network can support two network modes simultaneously.
It is a kind of network architecture schematic diagram of MF PLMN access module provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, such as
Shown in Fig. 1, MF RAN (Residential Access Network accesses net) and existing 3GPP (3rd Generation
Partnership Project, third generation partner program) EPC (drill by Evolved Packet Core, core packet networks
Into) docking, unlicensed spectrum bring capacity, covering and load shedding are provided for conventional mobile network operator, passes through authorization
The supplement or hot spot of frequency spectrum improve the service quality of Incumbent.For PLMN access module, is accessed and runed due to the base station MF
The existing 3GPP EPC core net of quotient, it will use IMSI (the International Mobile Subscriber in 3GPP
Identification Number, international mobile subscriber identity) it is used as user identifier.
NH access module provides the neutral host network architecture of a kind of unified planning and self-organizing, and service provider sets
Standby supplier or user can participate in network deployment, anyone can serve various service providers by the NH network disposed,
Including Internet Service Provider, cable television, Mobile Network Operator, enterprise and public place ISP.In NH mould
Under formula, NH network is separated with PSP.One MF network can access multiple PSP;One PSP can also pass through multiple NH
Network provides service for user.NH network can be provided by some PSP of its connection, can also be by being completely independent with all PSP
Network operator provide.
Referring to fig. 2, Fig. 2 is a kind of schematic network structure of NH access module provided in an embodiment of the present invention, such as Fig. 2 institute
Show, in the network architecture of NH access module, MF AP (Access Point, access point) be connected to NH CN (Core Network,
Core net), NH CN similar to 3GPP LTE core network, including NH MME (Mobility Management Element, it is mobile
Property administrative unit), NH GW (Gateway, gateway) and NH Local AAA (Local Authentication
Authorization Accounting, local authentication, authorization and charging) server.The UE of access NH network passes through Local
AAA is carried out by PSP aaa server can EAP (Extensive Authentication Protocol, Extensible Authentication Protocol) mirror
Power and certification.
For NH mode, according to the difference of PSP type, user identifier can be divided into two classes:
When PSP is 3GPP PSP, NH is connected to the network to 3GPP AAA, and the certification of user will be based on traditional 3GPP
AAA will will use IMSI as user identifier in system;
When PSP is non-3 gpp PSP, the certification of NH network connection to PSP AAA, user will be based on PSP AAA, system
In will will use user name (user name) as user identifier.
Attribution server (such as HSS, AAA) can pass through unified user identifier managing user information, the same ownership clothes
Heterogeneous networks have public anchor point PGW under business device, can be connected to by the same anchor point when UE is moved between the systems outer
Net is without changing IP address.
The prior art has supported the switching between the heterogeneous networks under the same attribution server, such as:
The different MF NH network connection of the same PSP is serviced to the same PSP AAA, supports user in the MF of the PSP
The internetwork switching of NH;The MF NH network of 3GPP network and service 3GPP PSP are all connected to 3GPP AAA or HSS, support to use
MF NH internetwork switching of the family in 3GPP network and 3GPP;The MF PLMN network of 3GPP network and service 3GPP are all connected to
3GPP HSS supports user in the internetwork switching of MF PLMN of 3GPP network and 3GPP;Service the MF PLMN network of 3GPP
It is all connected to 3GPP AAA/HSS with the MF HN network of service 3GPP, supports user in the MF of the MF PLMN and 3GPP of 3GPP
The internetwork switching of NH.
However, difference PSP uses different attribution server managing user informations, the same user returns different PSP's
The mark belonged in server is different, and the network of different servers does not have public PGW, therefore can not support different home services
Switch between the network of device.For example, the network switching of following scene can not be supported:
The MF NH network connection of different PSP is serviced to different PSP AAA, user is not supported to cut MN NH is internetwork
It changes;The MF NH of 3GPP network and service non-3 gpp PSP are connected to the network to different HSS or AAA, do not support user in 3GPP net
Network and the internetwork switching of MF NH;The MF NH network connection for servicing the MF PLMN network and service non-3 gpp PSP of 3GPP is arrived
Different HSS or AAA does not support user in MF PLMN network and the internetwork switching of MF NH;Service the MF NH network of 3GPP
It is connected to the network with the MF NH of service non-3 gpp PSP to different AAA, does not support user in the internetwork switching of MN NH.
Based on above-mentioned application environment, the present invention provides a kind of method for switching network, below in conjunction with specific embodiment to this
Invention is described in detail.
It should be noted that in embodiments of the present invention, the UE can be mobile phone (or mobile phone) or other energy
The equipment for enough sending or receiving wireless signal, including user equipment (terminal), personal digital assistant (PDA), wireless modulation-demodulation
Device, wireless communication device, hand-held device, laptop computer, wireless phone, wireless local loop (WLL) stand, can be by movement
Signal is converted to the CPE (Customer Premise Equipment, customer terminal equipment) or intelligent movable heat of WiFi signal
Point, intelligent appliance or other obstructed remarkable spontaneous equipment communicated with mobile communications network of operations energy etc..
The form of the base station is unlimited, can be macro base station (Macro Base Station), micro-base station (Pico Base
Station), Node B (address of the mobile base station 3G), enhanced base station (ENB), family's enhanced base station (Femto eNB or
Home eNode B or Home eNB or HNEB), relay station, access point, RRU (Remote Radio Unit, far end radio frequency mould
Block), RRH (Remote Radio Head, remote radio head) etc..
It is a kind of flow diagram of method for switching network provided in an embodiment of the present invention, the method referring to Fig. 3, Fig. 3
Executing subject can be the network controller (embodiment of the present invention in the network of new service provider that UE request is switched to
Middle title first network controller), as shown in figure 3, described method includes following steps:
Step 301, the first network controller are sent in user terminal UE access to the first user attaching server
The packet data network gateway PGW information acquisition request of the UE, the PGW information acquisition request include the unification user of the UE
Mark and/or the first user identifier, PGW of the PGW information acquisition request for UE described in request select information.
Step 302, the first network controller receive the PGW for the UE that the first user attaching server is sent
Select information.
Step 303, the first network controller select information selection target PGW according to the PGW, and initiate to described
Target PGW, which sends PDN connection communication request for building link and sends communication link to the UE, establishes request, builds for requesting
Found the communication link between the target PGW and the UE.
In the embodiment, the first network controller sends the UE to the first user attaching server in UE access
PGW information acquisition request, the PGW information acquisition request include the UE unification user mark and/or the first user mark
Know, the PGW for UE described in request selects information.
After the first user attaching server receives the PGW information acquisition request, it can be believed based on the PGW
It ceases acquisition request and selects information, the first user attaching service to the PGW of UE described in unification user name server request
The PGW that device receives the UE that the unification user name server is sent selects information, then controls to first network
Device processed sends the PGW selection information of the UE.
Specifically, referring to fig. 4, Fig. 4 is a kind of flow diagram of method for switching network provided in an embodiment of the present invention, such as
Shown in Fig. 4, the first user attaching server can send user registration request to the unification user name server, described
The unification user mark and/or the first user identifier that the UE is carried in user registration request, for UE described in request
PGW select information.The unification user name server is requested based on the user registration, obtains the PGW selection letter of the UE
Then breath selects information to the PGW that the first user attaching server sends the UE.It is taken when in user registration request
Band be the UE unification user mark when, the unification user name server can be directly according to the unification user of the UE
The PGW that mark obtains the UE selects information;When the user registration request in carry be the UE the first user identifier
When, the unification user name server can be with corresponding between the first user identifier according to the pre-stored data and unification user mark
Relationship determines the unification user mark of the UE, is then selected according to the PGW that the unification user of determination mark obtains the UE
Select information.It is understood that when the unification user mark and for carrying the UE in user registration request simultaneously
When one user identifier, the unification user name server directly obtains the PGW of the UE according to the unification user of UE mark
Select information, and store the UE unification user mark and first user identifier between mapping relations.In this hair
In bright some embodiments, mapping relations between the unification user of UE mark and first user identifier can also be by
The first user attaching server saves.
The PGW selection information of the UE can be previously stored in the unification user name server, such as the UE exists
When one new network of every access, the user attaching server of the new network of the access can take to the unification user name
Business device sends the PGW mark at least one APN that the new network is UE configuration, and the unification user name server is protected
Deposit the PGW information that at least one network is UE configuration.In the case of this kind, the unification user name server is based on the use
Family registration request, the PGW for obtaining the pre-stored UE select information, then send to the first user attaching server
Carry user's response request of the PGW selection information of the UE.
The PGW selection information of the UE, the PGW of the UE can also be stored in advance in the unification user name server
Select information preservation in the user attaching service server for servicing at least one service provider of the UE before.Such as it is false
If the service provider for servicing the UE before is second service provider, the user attaching service of the second service provider
Device is second user attribution server, and the unification user name server needs to lead to when receiving user registration request
Cross the PGW selection information that the second user attribution server obtains the UE.
Specifically, the second service provider mark of the UE is serviced before preserving in the unification user name server
And second user attribution server address.It is a kind of method for switching network provided in an embodiment of the present invention referring to Fig. 5, Fig. 5
Flow diagram, as shown in figure 5, when the unification user name server receives what the first user attaching server was sent
After user registration request, the unification user name server sends the PGW letter of the UE to the second user attribution server
Acquisition request is ceased, the second user attribution server is based on the PGW information acquisition request to the unification user name service
Device sends the PGW selection information of the UE.The unification user name server receives the second user attribution server and sends
The PGW of the UE select information, in this way, the unification user name server realizes that the PGW for obtaining the UE selects information.
It is understood that before the UE service may be provided by multiple service providers, that is to say, that described second
Service provider services all service providers of the UE before may include, be not limited solely to some service provider.
The first network controller receives the PGW selection letter for the UE that the first user attaching server is sent
Breath, and information selection target PGW is selected according to the PGW.It may include at least one network access point APN that PGW, which selects information,
Corresponding PGW mark, the first network controller can be each of at least one APN APN selection target
PGW, wherein the target PGW of each APN is a PGW in the corresponding PGW of the APN.In some embodiment of the invention,
The second network that the PGW selects information to can be the second service provider including servicing the UE before configures for the UE
The corresponding PGW of at least one APN.In this way, the IP address of the UE can not be changed, for the same APN so as to have
Effect guarantees business continuance.
After selecting the target PGW, the first network controller is initiated between the target PGW and the UE
PDN connection communication request for building link, the communication link for requesting to establish between the target PGW and the UE.
Communication link between the target PGW and the UE can be between the target PGW and the UE via institute
State the PDN connection communication link of first network foundation.The PDN connection communication link may include below a kind of or more
Kind: the base station and described first of private radio carrying of eating dishes without rice or wine, the first network between the UE and the base station of first network
GTP-U dedicated tunnel, the target PGW between the gateway of network and between the UE via the first network service
The ipsec tunnel of gateway.
The first network controller initiates to send PDN connection communication request for building link to the target PGW, specifically
, first network controller, which directly sends PDN connecting link configuring request or first network controller to the target PGW, to be made
First network data gateway or gateway are sent out to target PGW transmission PDN connecting link configuring request, and to the UE
PDN connecting link configuring request is sent, establishes PDN via the first network between the target PGW and the UE for requesting
Connection communication link.The PDN connection communication link establishment sent to the target PGW that the first network controller is initiated is asked
The first user identifier including the UE, first service provider mark, first network is asked to identify, the access point APN of PDN connection
And the PDN connection is via the next hop address of the first network.The target PGW receives the PDN connection communication chain
Road establish request, and be based on the PDN connection communication request for building link, establish between the target PGW and the UE via
The PDN connection communication link of the first network.It is establishing between the PGW and the UE via the first network
After the PDN connection communication link, the target PGW sends the link establishment of PDN connection communication to the first network and answers
It answers.Further, the PDN connection communication request for building link may also the unification user comprising the UE identify.In this hair
In bright some embodiments, can also carry the UE last time in the PDN connection communication request for building link is moved to described
It is the IP address of the assigned PDN connection in one network, the IP in order to target PGW by UE before under the PDN connection
Location is reassigned to UE, remains unchanged IP address of the UE under the connection to keep the continuity of business.
The target PGW establishes the PDN connection communication chain between the target PGW and the UE via the first network
The mode on road can specifically include: the target PGW judges that the target PGW is connect with whether the UE has been established PDN;If institute
It states target PGW and does not establish the PDN with the UE and connect, the target PGW is based on the communication link and establishes request, creates
PDN connecting link configuration information;If the target PGW has been established the PDN with the UE and connect, the target PGW is based on institute
It states communication link and establishes request, modify the link configuration information of the PDN connection.
If the target PGW has been established the PDN with the UE and connect, the target PGW is based on the communication link and builds
Vertical request, modifies the link configuration information of the PDN connection, comprising: second in link configuration information for connecting the PDN
User identifier, second service provider identifies and the second network identity is respectively modified as the first user identifier, first service mentions
For trade mark know and first network mark, and by the PDN connect from the target PGW to the UE via second net
The next hop address of network is revised as the next hop address via the first network, and keeps the PDN connection IP of the UE
Address is constant.
Further, since the PDN connecting link configuration information in the target PGW only preserves the UE in the second clothes
The second user mark and/or unification user mark being engaged in provider.It is provided in an embodiment of the present invention another referring to Fig. 6, Fig. 6
The flow diagram of kind method for switching network, as shown in fig. 6, when the PDN receives the PDN link configuration information, judgement
The target PGW can specifically include with whether the UE has been established the mode that PDN is connect: the target PGW is to unification user
Name server sends user identifier request, and the first service provider mark and institute are carried in the user identifier request
The first user identifier for stating UE, second user mark and/or unification user mark for UE described in request.The unification
User name server sends the second user mark for carrying the UE to the target PGW after receiving the user identifier request
Knowledge and/or the user's mark response of unification user mark.The target PGW receives the user identifier that the unification user name is sent
Response, and according to the second user of UE mark and/or unification user mark judge whether the target PGW and the UE it
Between PDN connection via the second network whether has been established.
Optionally, the first network controller sends the packet data network gateway of UE to the first user attaching server
Before PGW information acquisition request, the method also includes:
The first network controller sends the authorization data request of UE, the mirror to the first user attaching server
The first user identifier that the UE is carried in power request of data, for requesting described in the first user attaching server transmission
The authorization data of UE;
The first network controller receives the authorization data response that the first user attaching server is sent;
It is responded based on the authorization data, first network controller initiates to authenticate to UE;
The first user attaching server sends the PGW information acquisition request of UE, packet to the first user attaching server
It includes:
If to the UE, the authentication is passed for the first network control, the first network controller is returned to first user
Belong to the PGW information acquisition request that server sends the UE.
In the embodiment, the first network controller sends the PGW acquisition of information of UE to the first user attaching server
Before request, the first network controller can also initiate the authentication to the UE in first network.That is, the implementation
In example, the first network controller initiates to authenticate to the UE, and to first user after to the UE, the authentication is passed
Attribution server sends the PGW information acquisition request of the UE.
Specifically, the first network controller is asked to the authorization data that the first user attaching server sends UE
It asks, the first user identifier of the UE is carried in the authorization data request, for requesting the first user attaching service
Device sends the authorization data of the UE.The first user attaching server receives the authorization data request, and based on described
Authorization data requests the authorization data response that the UE is sent to the first network controller.The first network controller connects
Receive the authorization data response for the UE that the first user attaching server is sent.
It is responded based on the authorization data, the first network controller initiates to authenticate to the UE.If first net
The authentication is passed to the UE for network controller, and the first network controller sends the UE to the first user attaching server
PGW information acquisition request.
Optionally, the first network controller sends the PGW information acquisition request of UE to the first user attaching server,
Include:
First network controller is asked by authentication signaling to the PGW acquisition of information that the first user attaching server sends UE
It asks;
The first network controller receives the PGW selection information that the first user attaching server is sent, comprising:
The first network controller receives the PGW for the UE that the first user attaching server is sent by authentication signaling
Select information.
In the embodiment, the first network controller can be while initiating the authentication to the UE to described first
User attaching server sends the PGW information acquisition request of the UE.Specifically, the first network controller passes through authentication letter
Enable the PGW information acquisition request that the UE is sent to the first user attaching server, the first user attaching server
After getting the PGW information acquisition request of the UE, by authentication signaling to described in first network controller transmission
The PGW of UE selects information, and similarly, the first network controller receives the first user attaching service by authentication signaling
The PGW for the UE that device is sent selects information.
Optionally, the first network controller selects information to the PGW that the first user attaching server sends UE
Before, the method also includes:
The first network controller receives the network insertion request that the UE is sent, and carries in the network insertion request
There are the first user identifier, the unification user mark of the UE, for requesting the first user attaching server to send out the UE
Play authentication and certification.
In the embodiment, the first network controller sends the PGW of the UE to the first user attaching server
Before information acquisition request, the first network controller receives the network insertion request that the UE is sent.
As shown in figure 4, the UE sends network insertion request to the first network controller.Specifically, the UE can
When in the first network for being moved to first service provider, it can be sent out to the first network controller in the first network
SCN Space Cable Network access request.
The first network controller receives the network insertion request that the UE is sent, and carries in the network insertion request
There are the first user identifier and unification user mark of the UE.The first network controller is requested based on the network insertion
The authentication to the UE in the first network is initiated, the first user attaching server of request is authenticated and authenticated to the UE.
In embodiments of the present invention, the certificate of first service provider is also carried or the license that networks in the network insertion request,
The UE is authenticated convenient for the first user attaching server.
In some embodiment of the invention, the network insertion request can also be carried for accessing unification user name service
The certificate of device or license complete authentication of the UE in unification user name server for requesting.
Optionally, the method also includes:
The first network controller sends position updating request to the first user attaching server, and the position is more
The mark and/or address information that the first network controller is carried in new request, for requesting first user attaching
The network controller of UE access described in server update is the first network controller.
In the embodiment, the first network controller can also send position more to the first user attaching server
It is new to request, the mark and/or address information of the first network controller are carried in the position updating request, for requesting
The network controller of UE access described in the first user attaching server update is the first network controller.In the present invention
In some embodiments, the first network controller can be in the PGW for sending the UE to the first user attaching server
The position updating request is sent to the first user attaching server while information acquisition request.
Optionally, the PGW selection information includes that the corresponding PGW of at least one network access point APN is identified, and described first
Network controller selects information selection target PGW according to the PGW, comprising:
The first network controller is each of at least one APN APN selection target PGW, wherein each
The target PGW of a APN is a PGW in the corresponding PGW of the APN.
In the embodiment, the PGW selection information includes the corresponding PGW mark of at least one network access point APN, described
PGW identifies the FQDN (Fully Qualified Domain Name, universe name) and/or IP address that can be PGW.Described
One network controller is each of at least one APN APN selection target PGW, wherein the target PGW of each APN
For a PGW in the corresponding PGW of the APN.
Optionally, the PGW select information include before service the UE second service provider the second network for
The corresponding PGW of at least one APN of the UE configuration.
Optionally, the communication link between the target PGW and the UE between the target PGW and the UE via
The packet data network PDN connection communication link that first network is established;
The PDN connection communication link includes one or more below:
Between the UE and the base station of first network eat dishes without rice or wine private radio carrying, the first network base station with it is described
GTP-U dedicated tunnel, the target PGW between the gateway of first network and between the UE via the first network
The ipsec tunnel of gateway.
Optionally, the method also includes:
The first network controller sends routing update request to the target PGW, takes in the routing update request
The first user identifier or unification user mark and first service provider mark with the UE, for requesting the mesh
It marks PGW and updates routing, is i.e. target PGW starts to send downlink data to UE and receives the upstream data that UE is sent.
It is routed as shown in figure 4, the first network controller is sent after completing communication link and establishing to the target PGW
Request is updated, the first user identifier or unification user mark and first of the UE are carried in the routing update request
Service provider identity, for requesting the target PGW to update routing.The target PGW receives the routing update request, base
It requests to update routing in the routing update and sends routing update response to the first network controller, and start to described the
One network routes the PDN connection data.
In some embodiment of the invention, the target PGW is also based on the routing update request, to first user
Attribution server sends the request of PGW information update, and the PGW information update request carries the first user mark of the UE
Knowledge or unification user mark, the mark of the target PGW and the corresponding APN of the target PGW update the UE for requesting
PGW information.The first user attaching server receives the PGW information update request, is asked based on the PGW information update
Seek the PGW information for updating and saving the UE, it is to be understood that be also possible to the unification user name server and save the UE
PGW select information, in the case of this kind, PGW information update request is also forwarded to by the first user attaching server
The unification user name server, for requesting the unification user name server to save the PGW information of the UE.
In some embodiment of the invention, the first user attaching server can also be to the unification user name service
Device sends user information and updates, and the user information, which updates in request, carries first user identifier or unification user mark
Know, first service provider mark, target PGW mark and the corresponding APN of the target PGW, the user information update are asked
It asks for notifying UE described in the unification user name server to have been switched to the first network of the first service provider.
In the present embodiment, the first network controller of UE request access is requested to the first user attaching server to unified
User name server obtains PGW and selects information, so that the first network controller chooses public anchor point PGW, UE is in difference
Service provider network in have no need to change IP address when moving, so as to realize the UE in different service provider's nets
Business continuance between network.
Citing description is carried out to method for switching network of the invention below with reference to specific example, is referring to Fig. 7, Fig. 7
The example schematic of MF NH network of the UE provided in an embodiment of the present invention from the MF NH Network Mobility of non-3 gpp PSP to 3GPP,
As shown in fig. 7, the user attaching server of 3GPP distinguishes user using IMSI (the first user identifier), the PSP's of the non-3 gpp
Aaa server distinguishes user using username (second user mark).Unification user name server is identified using unification user
It identifies user, saves the service provider of current service user, also can be reserved in IMSI and/or non-3 gpp PSP
Username and the mapping relations of unification user name or other key messages of user.When UE is moved to the MF NH network of 3GPP
When middle, the user attaching server of 3GPP is by unification user name server acquisition PGW selection information so that the MF NH net of 3GPP
Network controller (NH MME) chooses the public anchor point PGW with non-3 gpp PSP, makes the UE in the MF NH of 3GPP and non-3 gpp
IP address is had no need to change when moving in network, in this way, even if the MF NH network of service 3GPP and the MF of service non-3 gpp PSP
NH is connected to the network to different AAA, is also supported and is supported user in the internetwork switching of MN NH.
It is UE provided in an embodiment of the present invention from the MF NH Network Mobility of the 2nd PSP to the first PSP referring to Fig. 8, Fig. 8
The example schematic of MF NH network, as shown in figure 8, the AAA of the first PSP distinguishes user, the 2nd PSP using the first username
Aaa server using the 2nd username distinguish user.Unification user name server identifies user using unification user mark,
The service provider of current service user is saved, also can be reserved for the first username and/or the 2nd username and unification user
The mapping relations of name or other key messages of user.When UE is moved in the MF NH network of the first PSP, the first PSP's
Aaa server is by unification user name server acquisition PGW selection information so that the MF NH network controller (NH of the first PSP
MME the public anchor point PGW with the 2nd PSP) is chosen, moves the UE in the MF NH network of the first PSP and the 2nd PSP
When have no need to change IP address, in this way, even if difference PSP MF NH be connected to the network to different AAA, also support user and exist
The internetwork switching of MN NH of different PSP.
It is UE provided in an embodiment of the present invention from the MF NH Network Mobility of non-3 gpp PSP to 3GPP's referring to Fig. 9, Fig. 9
The example schematic of MF PLMN network, as shown in figure 9, the AAA/HSS of 3GPP uses IMSI as user identifier, non-3 gpp
The aaa server of PSP uses username as user identifier.Unification user name server is used using unification user mark identification
Family, saves the service provider of current service user, and the mapping that also can be reserved for IMSI and/or username and unification user name is closed
Other key messages of system or user.When UE is moved in the MF PLMN network of 3GPP, the AAA/HSS server of 3GPP is logical
It crosses unification user name server and obtains PGW selection information so that the network controller (MME) of 3GPP is chosen and non-3 gpp PSP
Public anchor point PGW, be not required to the UE when moving in the MF NH network of non-3 gpp PSP and the MF PLMN network of 3GPP
Change IP address, in this way, even if the MF NH network of non-3 gpp PSP is connected to the network from the MF PLMN of 3GPP to different
AAA also supports the switching between heterogeneous networks.
It is MF NH of the UE provided in an embodiment of the present invention from 3GPP Network Mobility to non-3 gpp PSP referring to Figure 10, Figure 10
The example schematic of network, as shown in Figure 10, the HSS of 3GPP use IMSI as user identifier, and the AAA of non-3 gpp PSP is serviced
Device uses username as user identifier.Unification user name server is saved current using unification user mark identification user
The service provider of user is serviced, the mapping relations or user of also storable IMSI and/or username and unification user name
Other key messages.When UE is moved in the MF NH network of non-3 gpp, the aaa server of non-3 gpp PSP is used by unified
Name in an account book server obtains PGW selection information so that the MF NH network controller (NH MME) of non-3 gpp PSP chooses and 3GPP
The public anchor point PGW of network haves no need to change the UE when moving in the MF NH network and 3GPP network of non-3 gpp PSP
IP address, in this way, also supporting even if the MF NH network of non-3 gpp PSP is connected to the network from 3GPP to different AAA in difference
Internetwork switching.
Referring to Figure 11, Figure 11 is the flow diagram of another method for switching network provided in an embodiment of the present invention, at this
In embodiment, the executing subject of the method is the first user attaching server, and as shown in figure 11, the method includes walking as follows
It is rapid:
The first user attaching server receives the institute that first network controller is sent after user terminal UE access
The packet data network gateway PGW information acquisition request of UE is stated, the PGW information acquisition request includes the unification user mark of the UE
Knowledge and/or the first user identifier;
Based on the PGW information acquisition request, the first user attaching server is sent to unification user name server
User registration is requested, and the unification user mark and/or the first user mark of user terminal UE are carried in the user registration request
Know, PGW of the user registration request for UE described in request selects information;
The first user attaching server receives the user registration response that the unification user name server is sent, described
PGW selection information is carried in user registration response;
The first user attaching server obtains the selection information of the PGW in the user registration response, and to described the
One network controller sends the PGW and selects information.
Optionally, the first user attaching server receives the PGW information for the UE that first network controller is sent
Acquisition request, comprising:
The authorization data that the first user attaching server receives the UE that the first network controller is sent is asked
It asks, the first user identifier of the UE is carried in the authorization data request;
The first user attaching server sends the authorization data response of the UE to the first network controller;
The first user attaching server receives the PGW information acquisition request that the first network controller is sent, institute
State PGW information acquisition request be the first network controller based on the authorization data respond to the UE initiate authentication at
It is sent after function.
Optionally, the address and first of the first user attaching server is also carried in the user registration request
Service provider identity, for requesting UE described in the unification user name server registers in the first user attaching server
The middle address for authenticating successfully and saving the first user attaching server and first service provider mark.
Optionally, the method also includes:
The first user attaching server saves between the first user identifier and unification user mark of the UE
Mapping relations;Or
The first user attaching server carries the first user identifier of the UE in user registration request,
For requesting the unification user name server to save reflecting between the first user identifier and unification user mark of the UE
Penetrate relationship.
Optionally, the method also includes:
The first user attaching server receives the position updating request that the first network controller is sent, institute's rheme
Set the mark and/or address information for updating and carrying the first network controller in request;
The first user attaching server is based on the position updating request, updates the network controller of the UE access
For the first network controller.
Optionally, the PGW selection information includes the corresponding PGW mark of at least one network access point APN;Or
The PGW selects the second network of the second service provider for servicing the UE before information includes to match for the UE
The corresponding PGW mark of at least one APN set.
Optionally, the first user attaching server sends the PGW selection of the UE to the first network controller
After information, the method also includes:
The first user attaching server receives the PGW information update request that target PGW is sent, and the PGW information is more
New request carries first user identifier, target PGW mark and the corresponding APN of the target PGW, the PGW information
Updating request is that the target PGW is sent based on the routing update request that the first user attaching server is sent is received;
The first user attaching server updates the PGW information of the UE based on PGW information update request, or
The first user attaching server sends the PGW information update request to the unification user name server, for requesting
The PGW information of UE described in the unification user name server update.
Optionally, the PGW information update that the first user attaching server reception target PGW sends the UE requests it
Afterwards, the method also includes:
The first user attaching server sends user information to the unification user name server and updates request, described
User information, which updates, carries first user identifier or unification user mark, first service provider mark, mesh in request
PGW mark and the corresponding APN of the target PGW are marked, the user information updates request for notifying the unification user name
UE described in server has been switched to the first network of the first service provider.
It should be noted that can be the first user attaching clothes corresponding with embodiment shown in Fig. 3 in the present embodiment
Business device side embodiment, the correlation step that above-mentioned first user attaching server executes may refer to related in embodiment illustrated in fig. 3
Illustrate, details are not described herein again.
Referring to Figure 12, Figure 12 is the flow diagram of another method for switching network provided in an embodiment of the present invention, at this
In embodiment, the executing subject of the method is unification user name server, and as shown in figure 12, the method includes walking as follows
It is rapid:
The unification user name server receives the user registration request that the first user attaching server is sent, the user
The unification user mark of user terminal UE is carried in registration request, wherein user registration request is the UE access the
The institute that the first user attaching server is sent based on the first network controller received after one network controller
The packet data network gateway PGW selection information request for stating UE is sent later;
The unification user name server selects information based on the PGW of UE described in the user registration request;
The unification user name server sends user registration response, the user to the first user attaching server
It registers the PGW in response comprising the UE and selects information.
Optionally, the address and first of the first user attaching server is also carried in the user registration request
Service provider identity, the method also includes:
The unification user name server is requested based on the user registration, registers the UE in first user attaching
Address and the first service provider mark of the first user attaching server are authenticated successfully and saved in server.
Optionally, the first user identifier that the UE is also carried in the user registration request, the method also includes:
The unification user name server based on the user registration request, save the UE the first user identifier and
Mapping relations between unification user mark.
Optionally, the PGW selection information includes the corresponding PGW mark of at least one network access point APN;Or
The PGW selects the second network of the second service provider for servicing the UE before information includes to match for the UE
The corresponding PGW mark of at least one APN set.
Optionally, the unification user name server to the first user attaching server send user registration response it
Afterwards, the method also includes:
The unification user name server receives the PGW information update request that the first user attaching server is sent,
Carried in the PGW information update request UE unification user mark or the first user identifier, target PGW mark and
The corresponding APN of the target PGW;
The unification user name server is requested based on the PGW information update, updates the PGW information of the UE.
Optionally, the method also includes:
The unification user name server receives the user information that the first user attaching server is sent and updates request,
The user information, which updates, carries first user identifier or unification user mark, first service offer trade mark in request
Know, target PGW is identified and the corresponding APN of the target PGW;
The unification user name server is based on the user information and updates request, and it is described to determine that the UE has been switched to
The first network of first service provider.
Optionally, the unification user name server selects letter based on the PGW of UE described in the user registration request
Breath, comprising:
The unification user name server is based on servicing the UE before the user registration request is pre-stored
The second network of second service provider be that the corresponding PGW of at least one APN of UE configuration is identified as the UE's
PGW selects information;Or
The unification user name server requests to mention to the second service for servicing the UE before based on the user registration
PGW selection information acquisition request is sent for the second user attribution server of quotient, and receives the second user attribution server
The PGW sent based on PGW selection information acquisition request selects information.
It should be noted that can be unification user name service corresponding with embodiment shown in Fig. 3 in the present embodiment
Device side embodiment, the correlation step that above-mentioned unification user name server executes may refer to related description in embodiment illustrated in fig. 3,
Details are not described herein again.
Referring to Figure 13, Figure 13 is the flow diagram of another method for switching network provided in an embodiment of the present invention, at this
In embodiment, the executing subject of the method is PGW, and as shown in figure 13, described method includes following steps:
Step 1301 is mentioned from the second Network Mobility of second service provider to first service provider as user terminal UE
When the first network of confession, the PGW receives the PDN connection communication request for building link that first network is sent, and the PDN connection is logical
The first user identifier, the first service provider mark, first network mark of user terminal UE are carried in letter request for building link
Know, the access point APN of PDN connection and PDN connection via first network next hop address;
Step 1302, the PGW are based on the PDN connection communication request for building link, establish the PGW and the UE it
Between via the first network the PDN connection communication link, and to the first network send PDN connection communication link build
Vertical response, the PGW are the Common Gateway of the first network and second network.
Optionally, the unification user mark of the UE is also carried in the PDN connection communication request for building link.
Optionally, the PGW is based on the communication link and establishes request, establishes between the PGW and the UE via institute
State the PDN communication link of first network, comprising:
The PGW judges that the PGW is connect with whether the UE has been established PDN;
If the PGW does not establish the PDN with the UE and connect, the PGW is based on the communication link and establishes request,
Newly-built PDN connecting link configuration information;
If the PGW has been established the PDN with the UE and connect, the PGW is based on the communication link and establishes request, repairs
Change the link configuration information of the PDN connection.
Optionally, the PGW is based on the communication link and establishes request, modifies the link configuration information of the PDN connection,
Include:
Second user mark, second service provider mark and the in the link configuration information that the PDN is connected
Two network identities are respectively modified as the first user identifier, first service provider mark and first network mark, and will be described
PDN connection is revised as from the PGW to the UE via the next hop address of second network via the first network
Next hop address;
Keep the PDN connection IP address of the UE constant.
Optionally, the PGW judges that the PGW is connect with whether the UE has been established PDN, comprising:
The PGW sends user identifier request to unification user name server, carries in the user identifier request
First service provider mark and the first user identifier of the UE are stated, the second user for UE described in request identifies
And/or unification user mark;
The PGW receives the user identifier response that the unification user name is sent, and carries in the user identifier response
The second user of the UE identifies and/or unification user mark;
The PGW according to the second user of the UE identify and/or unification user mark judge whether the PGW with it is described
Whether PDN connection via second network is had been established between UE.
Optionally, the PGW judges that the PGW is connect with whether the UE has been established the PDN, comprising:
The PGW judges switching mark whether is carried in the PDN connection communication request for building link;
If in the PDN connection communication request for building link carry switching mark, the PGW determine the PGW with it is described
The PDN connection has been established in UE.
Optionally, the PGW establishes the PDN communication chain between the PGW and the UE via the first network
After road, the method also includes:
If the PGW has been established the PDN with the UE and connect, the PGW sends PDN connection communication chain to the second network
Road removal request, for requesting to delete between the PGW and UE via the communication chain of the PDN connection of the second network
Road.
Optionally, the PGW is based on the PDN connection communication request for building link, establishes between the PGW and the UE
After the PDN communication link of the first network, the method also includes:
The PGW receives the road that the first network controller is sent after completing the PDN connection communication link establishment
It is requested by updating, the first user identifier or unification user mark, Yi Ji of the UE is carried in the routing update request
One service provider identity;
The PGW is based on routing update request and updates routing, and sends routing more to the first network controller
New response.
Optionally, the PGW receives the road that the first network controller is sent after completing the communication link and establishing
After updating request, the method also includes:
The PGW is requested based on the routing update, sends the request of PGW information update to the first user attaching server,
It is corresponding that the PGW information update request carries first user identifier, target PGW mark and the target PGW
APN, for requesting to update the PGW information of the UE.
It should be noted that the PGW in the present embodiment may be implemented and the target PGW phase in embodiment shown in Fig. 3
Same function, the correlation step that above-mentioned PGW is executed may refer to the related step of the execution of target PGW described in embodiment illustrated in fig. 3
Rapid related description, details are not described herein again.
Referring to Figure 14, Figure 14 is a kind of structural schematic diagram of network controller provided in an embodiment of the present invention, the network control
It is made as first network controller, which includes: processor 1400, transceiver 1410, memory 1420, user
Interface 1430 and bus interface, in which:
Processor 1400 executes following process for reading the program in memory 1420:
The packet data network gateway PGW letter of the UE is sent to the first user attaching server in user terminal UE access
Acquisition request is ceased, the PGW information acquisition request includes the unification user mark and/or the first user identifier of the UE, described
PGW of the PGW information acquisition request for UE described in request selects information;
Receive the PGW selection information for the UE that the first user attaching server is sent;
Information selection target PGW is selected according to the PGW, and initiates to ask to target PGW transmission communication link foundation
It asks and sends PDN connection communication request for building link to the UE, established between the target PGW and the UE for requesting
Communication link.
Wherein, in Figure 14, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor
The various circuits for the memory that 1400 one or more processors represented and memory 1420 represent link together.Total coil holder
Structure can also link together various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like, this
It is all a bit it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver
1410 can be multiple element, that is, include transmitter and transceiver, provide for logical with various other devices over a transmission medium
The unit of letter.Processor 1400 is responsible for management bus architecture and common processing, memory 1420 can store processor 1400
The used data when executing operation.
Processor 1400, which is responsible for management bus architecture and common processing, memory 1420, can store processor 1400 and exists
Execute used data when operation.
Optionally, the processor 1400 sends the packet data network gateway PGW letter of UE to the first user attaching server
Before ceasing acquisition request, it is also used to:
The authorization data request of UE is sent to the first user attaching server, is carried in the authorization data request
The first user identifier of the UE, for requesting the first user attaching server to send the authorization data of the UE;
Receive the authorization data response that the first user attaching server is sent;
It is responded based on the authorization data, initiates to authenticate to UE;
The processor 1400 sends the PGW information acquisition request of UE to the first user attaching server, comprising:
If to the UE, the authentication is passed, and the PGW acquisition of information for sending the UE to the first user attaching server is asked
It asks.
Optionally, the processor 1400 sends the PGW information acquisition request of UE, packet to the first user attaching server
It includes:
The PGW information acquisition request of UE is sent to the first user attaching server by authentication signaling;
The server receives the PGW selection information that the first user attaching server is sent, comprising:
Information is selected by the PGW that authentication signaling receives the UE that the first user attaching server is sent.
Optionally, before the processor 1400 sends the PGW selection information of UE to the first user attaching server,
It is also used to:
The network insertion request that the UE is sent is received, the first user of the UE is carried in the network insertion request
Mark and unification user mark, for requesting the first user attaching server to initiate authentication and certification to the UE.
Optionally, the processor 1400 is also used to:
Position updating request is sent to the first user attaching server, is carried in the position updating request described
The mark and/or address information of first network controller, for requesting UE described in the first user attaching server update to connect
The network controller entered is the first network controller.
Optionally, the PGW selection information includes the corresponding PGW mark of at least one network access point APN, the processing
Device 1400 selects information selection target PGW according to the PGW, comprising:
For each of at least one described APN APN selection target PGW, wherein the target PGW of each APN is should
A PGW in the corresponding PGW of APN.
Optionally, the PGW select information include before service the UE second service provider the second network for
The corresponding PGW of at least one APN of the UE configuration.
Optionally, the communication link between the target PGW and the UE between the target PGW and the UE via
The packet data network PDN connection communication link that first network is established;
The PDN connection communication link includes one or more below:
Between the UE and the base station of first network eat dishes without rice or wine private radio carrying, the first network base station with it is described
GTP-U dedicated tunnel, the target PGW between the gateway of first network and between the UE via the first network
The ipsec tunnel of gateway.
Optionally, the processor 1400 is also used to:
Routing update request is sent to the target PGW, the first of the UE is carried in the routing update request and uses
Family mark or unification user mark and first service provider mark, for requesting the target PGW to update routing.
It should be noted that above-mentioned first network controller can be with first in embodiment shown in Fig. 3 in the present embodiment
Network controller, any embodiment of first network controller can be by upper in the present embodiment in embodiment illustrated in fig. 3
It states first network controller to be realized, and reaches identical beneficial effect, details are not described herein again.
Referring to Figure 15, Figure 15 is a kind of structural schematic diagram of user attaching server provided in an embodiment of the present invention, the use
Family attribution server is the first user attaching server, which includes: processor 1500, transceiver
1510, memory 1520, user interface 1530 and bus interface, in which:
Processor 1500 executes following process for reading the program in memory 1520:
Receive the packet data network gateway PGW for the UE that first network controller is sent after user terminal UE access
Information acquisition request, the PGW information acquisition request include the unification user mark and/or the first user identifier of the UE;
Based on the PGW information acquisition request, user registration request is sent to unification user name server, the user steps on
The unification user mark and/or the first user identifier of user terminal UE are carried in note request, the user registration request is used for
The PGW of UE described in request selects information;
The user registration response that the unification user name server is sent is received, is carried in the user registration response
PGW selects information;
The PGW selection information in the user registration response is obtained, and sends the PGW to the first network controller
Select information.
Wherein, in Figure 15, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor
The various circuits for the memory that 1500 one or more processors represented and memory 1520 represent link together.Total coil holder
Structure can also link together various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like, this
It is all a bit it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver
1510 can be multiple element, that is, include transmitter and transceiver, provide for logical with various other devices over a transmission medium
The unit of letter.Processor 1500 is responsible for management bus architecture and common processing, memory 1520 can store processor 1500
The used data when executing operation.
Processor 1500, which is responsible for management bus architecture and common processing, memory 1520, can store processor 1500 and exists
Execute used data when operation.
Optionally, the processor 1500 receives the PGW information acquisition request for the UE that first network controller is sent,
Include:
The authorization data request for the UE that the first network controller is sent is received, is taken in the authorization data request
The first user identifier with the UE;
The authorization data response of the UE is sent to the first network controller;
The PGW information acquisition request that the first network controller is sent is received, the PGW information acquisition request is described
First network controller is sent after being responded the authentication success initiated to the UE based on the authorization data.
Optionally, the address and first of the first user attaching server is also carried in the user registration request
Service provider identity, for requesting UE described in the unification user name server registers in the first user attaching server
The middle address for authenticating successfully and saving the first user attaching server and first service provider mark.
Optionally, the processor 1500 is also used to:
Save the mapping relations between the first user identifier and unification user mark of the UE;Or
The first user identifier of the UE is carried in user registration request, for requesting the unification user name
Server saves the mapping relations between the first user identifier and unification user mark of the UE.
Optionally, the processor 1500 is also used to:
The position updating request that the first network controller is sent is received, is carried in the position updating request described
The mark and/or address information of first network controller;
Based on the position updating request, the network controller for updating the UE access is the first network controller.
Optionally, the PGW selection information includes the corresponding PGW mark of at least one network access point APN;Or
The PGW selects the second network of the second service provider for servicing the UE before information includes to match for the UE
The corresponding PGW mark of at least one APN set.
Optionally, after the processor 1500 sends the PGW selection information of the UE to the first network controller,
It is also used to:
The PGW information update request that target PGW is sent is received, the PGW information update request carries described first and uses
Family mark, target PGW mark and the corresponding APN of the target PGW, the PGW information update request is the target PGW base
It is sent in receiving the routing update request that the first user attaching server is sent;
PGW information or the first user attaching server based on the PGW information update request update UE
The PGW information update request is sent to the unification user name server, for requesting the unification user name server more
The PGW information of the new UE.
Optionally, it after the receipts of the processor 1500 target PGW sends the PGW information update request of the UE, is also used to:
User information is sent to the unification user name server and updates request, and the user information updates to be carried in request
There are first user identifier or unification user mark, first service provider mark, target PGW mark and the target
The corresponding APN of PGW, the user information update request for notifying UE described in the unification user name server to have been switched to
The first network of the first service provider.
It should be noted that above-mentioned first user attaching server can be in embodiment shown in Fig. 3 in the present embodiment
First user attaching server, any embodiment of the first user attaching server can be by this in embodiment illustrated in fig. 3
Above-mentioned first user attaching server in embodiment is realized, and reaches identical beneficial effect, and details are not described herein again.
Referring to Figure 16, Figure 16 is a kind of structural schematic diagram of unification user name server provided in an embodiment of the present invention, institute
Stating unification user name server includes: that processor 1600, transceiver 1610, memory 1620, user interface 1630 and bus connect
Mouthful, in which:
Processor 1600 executes following process for reading the program in memory 1620:
The user registration request of the first user attaching server transmission is received, carries user in the user registration request
The unification user of terminal UE identifies, wherein the user registration request is that the UE access first network controller is described later
The packet data network gateway for the UE that first user attaching server is sent based on the first network controller received
PGW selects to send after information request;
PGW based on UE described in the user registration request selects information;
User registration response is sent to the first user attaching server, includes the UE in the user registration response
PGW select information.
Wherein, in Figure 16, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor
The various circuits for the memory that 1600 one or more processors represented and memory 1620 represent link together.Total coil holder
Structure can also link together various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like, this
It is all a bit it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver
1610 can be multiple element, that is, include transmitter and transceiver, provide for logical with various other devices over a transmission medium
The unit of letter.Processor 1600 is responsible for management bus architecture and common processing, memory 1620 can store processor 1600
The used data when executing operation.
Processor 1600, which is responsible for management bus architecture and common processing, memory 1620, can store processor 1600 and exists
Execute used data when operation.
Optionally, the address and first of the first user attaching server is also carried in the user registration request
Service provider identity, the processor 1600 are also used to:
It is requested based on the user registration, registers the UE and authenticate successfully and protect in the first user attaching server
Deposit address and the first service provider mark of the first user attaching server.
Optionally, the first user identifier of the UE, the processor 1600 are also carried in the user registration request
It is also used to:
The unification user name server based on the user registration request, save the UE the first user identifier and
Mapping relations between unification user mark.
Optionally, the PGW selection information includes the corresponding PGW mark of at least one network access point APN;Or
The PGW selects the second network of the second service provider for servicing the UE before information includes to match for the UE
The corresponding PGW mark of at least one APN set.
Optionally, after the processor 1600 sends user registration response to the first user attaching server, also
For:
It receives the PGW information update that the first user attaching server is sent to request, in the PGW information update request
Carry unification user mark or the first user identifier, the target PGW mark and the corresponding APN of the target PGW of the UE;
It is requested based on the PGW information update, updates the PGW information of the UE.
Optionally, the processor 1600 is also used to:
It receives the user information that the first user attaching server is sent and updates request, the user information updates request
In carry first user identifier or unification user mark, first service provider mark, target PGW mark and it is described
The corresponding APN of target PGW;
It is updated and is requested based on the user information, determine that the UE has been switched to the first of the first service provider
Network.
Optionally, the processor 1600 selects information, packet based on the PGW of UE described in the user registration request
It includes:
The of the second service provider of the UE is serviced before pre-stored based on the user registration request
Two networks are that the corresponding PGW mark of at least one APN of UE configuration selects information as the PGW of the UE;Or
It requests to belong to the second user for the second service provider for servicing the UE before based on the user registration and take
Business device sends PGW and selects information acquisition request, and receives the second user attribution server and obtained based on PGW selection information
The PGW selection information for taking request to send.
It should be noted that above-mentioned unification user name server can be with the system in embodiment shown in Fig. 3 in the present embodiment
One user name server, any embodiment of unification user name server can be by the present embodiment in embodiment illustrated in fig. 3
In above-mentioned unification user name server realized that and reach identical beneficial effect, details are not described herein again.
Referring to Figure 17, Figure 17 is a kind of structural schematic diagram of PGW provided in an embodiment of the present invention, which includes: processor
1700, transceiver 1710, memory 1720, user interface 1730 and bus interface, in which:
Processor 1700 executes following process for reading the program in memory 1720:
When user terminal UE provided from the second Network Mobility of second service provider to first service provider first
When network, the packet data network PDN connection communication request for building link that first network is sent, the PDN connection communication chain are received
The first user identifier that user terminal UE is carried in request is established on road, first service provider identifies, first network identifies,
PDN connection access point APN and the PDN connection via first network next hop address;
Based on the PDN connection communication request for building link, establish between the PGW and the UE via first net
The PDN connection communication link of network, and the link establishment response of PDN connection communication is sent to the first network;
The PGW is the Common Gateway of the first network and second network.
Wherein, in Figure 17, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor
The various circuits for the memory that 1700 one or more processors represented and memory 1720 represent link together.Total coil holder
Structure can also link together various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like, this
It is all a bit it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver
1710 can be multiple element, that is, include transmitter and transceiver, provide for logical with various other devices over a transmission medium
The unit of letter.Processor 1700 is responsible for management bus architecture and common processing, memory 1720 can store processor 1700
The used data when executing operation.
Processor 1700, which is responsible for management bus architecture and common processing, memory 1720, can store processor 1700 and exists
Execute used data when operation.
Optionally, the unification user mark of the UE is also carried in the PDN connection communication request for building link.
Optionally, the processor 1700 is based on the communication link and establishes request, establishes between the PGW and the UE
Via the PDN communication link of the first network, comprising:
Judge that the PGW is connect with whether the UE has been established the PDN;
If the PGW does not establish the PDN with the UE and connect, request is established based on the communication link, creates PDN
Connecting link configuration information;
If the PGW has been established the PDN with the UE and connect, established and requested based on the communication link, described in modification
The link configuration information of PDN connection.
Optionally, the processor 1700 is based on the PDN connection communication request for building link, modifies the PDN connection
Link configuration information, comprising:
Second user mark, second service provider mark and the in the link configuration information that the PDN is connected
Two network identities are respectively modified as the first user identifier, first service provider mark and first network mark, and will be described
PDN connection is revised as from the PGW to the UE via the next hop address of second network via the first network
Next hop address;
Keep the PDN connection IP address of the UE constant.
Optionally, the processor 1700 judges that the PGW is connect with whether the UE has been established PDN, comprising:
User identifier request is sent to unification user name server, first clothes are carried in the user identifier request
Provider's mark of being engaged in and the first user identifier of the UE, second user mark and/or system for UE described in request
One user identifier;
The user identifier response that the unification user name is sent is received, carries the UE's in the user identifier response
Second user mark and/or unification user mark;
Judged whether between the PGW and the UE according to the second user of UE mark and/or unification user mark
Whether PDN connection via second network is had been established.
Optionally, the processor 1700 judges that the PGW is connect with whether the UE has been established the PDN, comprising:
Judge switching mark whether is carried in the PDN connection communication request for building link;
If carrying switching mark in the PDN connection communication request for building link, determine that the PGW has been established with the UE
The PDN connection.
Optionally, the processor 1700 establishes the PDN between the PGW and the UE via the first network
After communication link, it is also used to:
If the PGW has been established the PDN with the UE and connect, PDN connection communication link circuit deleting is sent to the second network
Request, for requesting to delete between the PGW and UE via the communication link of the PDN connection of the second network.
Optionally, the processor 1700 is based on the communication link and establishes request, establishes between the PGW and the UE
After the PDN communication link of the first network, it is also used to:
The PGW receives the road that the first network controller is sent after completing the PDN connection communication link establishment
It is requested by updating, the first user identifier or unification user mark, Yi Ji of the UE is carried in the routing update request
One service provider identity;
It requests to update routing based on the routing update, and sends routing update response to the first network controller.
Optionally, the processor 1700 receives the first network controller and completes the PDN connection communication link
After the routing update request sent after foundation, it is also used to:
It is requested based on the routing update, sends the request of PGW information update, the PGW to the first user attaching server
Information update request carries first user identifier, target PGW mark and the corresponding APN of the target PGW, for asking
Seek the PGW information for updating the UE.
It should be noted that above-mentioned PGW can be with the target PGW in embodiment shown in Fig. 3, shown in Fig. 3 in the present embodiment
Any embodiment of target PGW can be realized by the above-mentioned PGW in the present embodiment in embodiment, and reach identical
Beneficial effect, details are not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned method for switching network embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
In several embodiments provided herein, it should be understood that disclosed method and apparatus, it can be by other
Mode realize.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine
Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be through some interfaces, the INDIRECT COUPLING or communication of device or unit
Connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment
A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction
" in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot
Structure or characteristic can combine in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that magnitude of the sequence numbers of the above procedures are not meant to execute suitable
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
In addition, the terms " system " and " network " are often used interchangeably herein.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit
In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
In embodiment provided herein, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can be with according to A
Determine B.It is also to be understood that determining that B is not meant to determine B only according to A according to A, acceptable basis and/or other information are true
Determine B.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
The embodiment provides A1, a kind of method for switching network, are applied to first network controller, and feature exists
In, which comprises the first network controller is sent in user terminal UE access to the first user attaching server
The packet data network gateway PGW information acquisition request of the UE, the PGW information acquisition request include the unification user of the UE
Mark and/or the first user identifier, PGW of the PGW information acquisition request for UE described in request select information;It is described
First network controller receives the PGW selection information for the UE that the first user attaching server is sent;First net
Network controller selects information selection target PGW according to the PGW, and initiates to ask to target PGW transmission communication link foundation
It asks and sends PDN connection communication request for building link to the UE, established between the target PGW and the UE for requesting
Communication link.
A2, the method as described in claim A1, which is characterized in that the first network controller is to the first user attaching
Before server sends the packet data network gateway PGW information acquisition request of UE, the method also includes: the first network control
Device processed sends the authorization data request of UE to the first user attaching server, carries in the authorization data request described
The first user identifier of UE, for requesting the first user attaching server to send the authorization data of the UE;Described first
Network controller receives the authorization data response that the first user attaching server is sent;It is responded based on the authorization data,
The first network controller initiates to authenticate to UE;The first user attaching server is sent to the first user attaching server
The PGW information acquisition request of UE, comprising: the authentication is passed if the first network controller is to the UE, the first network control
Device processed sends the PGW information acquisition request of the UE to the first user attaching server.
A3, the method as described in claim A1, which is characterized in that the first network controller is to the first user attaching
The PGW information acquisition request of server transmission UE, comprising: first network controller is taken by authenticating signaling to the first user attaching
Business device sends the PGW information acquisition request of UE;The first network controller receives the first user attaching server and sends
PGW select information, comprising: the first network controller by authentication signaling receive the first user attaching server send
The PGW of the UE selects information.
A4, the method as described in claim A2 or A3, which is characterized in that the first network controller is to described first
Before user attaching server sends the PGW selection information of UE, the method also includes: the first network controller receives institute
The network insertion request of UE transmission is stated, the first user identifier of the UE is carried in the network insertion request and uniformly uses
Family mark, for requesting the first user attaching server to initiate authentication and certification to the UE.
A5, the method as described in claim A1, which is characterized in that the method also includes: the first network control
Device sends position updating request to the first user attaching server, carries first net in the position updating request
The mark and/or address information of network controller, for requesting the net of UE access described in the first user attaching server update
Network controller is the first network controller.
A6, the method as described in claim A1, which is characterized in that the PGW selection information includes at least one network
The corresponding PGW mark of access point APN, the first network controller select information selection target PGW according to the PGW, comprising:
The first network controller is each of at least one APN APN selection target PGW, wherein each APN's
Target PGW is a PGW in the corresponding PGW of the APN.
A7, the method as described in claim A1 or A6, which is characterized in that the PGW selection information services before including
Second network of the second service provider of the UE is the corresponding PGW of at least one APN of UE configuration.
A8, the method as described in claim A1, which is characterized in that the communication chain between the target PGW and the UE
The packet data network PDN connection communication link that road is established between the target PGW and the UE via first network;It is described
PDN connection communication link includes one or more below: the dedicated nothing of eating dishes without rice or wine between the UE and the base station of first network
GTP-U dedicated tunnel, the target between line carrying, the base station of the first network and the gateway of the first network
Via the ipsec tunnel of the first network gateway between PGW and the UE.
A9, the method as described in claim A1, which is characterized in that the method also includes: the first network control
Device sends routing update request to the target PGW, and the first user identifier of the UE is carried in the routing update request
Or unification user mark and first service provider identify, for requesting the target PGW to update routing.
B10, a kind of method for switching network are applied to the first user attaching server, which is characterized in that the method packet
Include: the first user attaching server receives the UE's that first network controller is sent after user terminal UE access
Packet data network gateway PGW information acquisition request, the PGW information acquisition request include the UE unification user mark and/
Or first user identifier;Based on the PGW information acquisition request, the first user attaching server is to unification user name service
Device sends user registration request, and the unification user mark and/or first of user terminal UE is carried in the user registration request
User identifier, PGW of the user registration request for UE described in request select information;The first user attaching service
Device receives the user registration response that the unification user name server is sent, and PGW selection is carried in the user registration response
Information;The first user attaching server obtains the selection information of the PGW in the user registration response, and to first net
Network controller sends the PGW and selects information.
B11, the method as described in claim B10, which is characterized in that the first user attaching server receives first
The PGW information acquisition request for the UE that network controller is sent, comprising: the first user attaching server receives described the
The authorization data for the UE that one network controller is sent is requested, and is carried the first of the UE in the authorization data request and is used
Family mark;The first user attaching server sends the authorization data response of the UE to the first network controller;Institute
It states the first user attaching server and receives the PGW information acquisition request that the first network controller is sent, the PGW information obtains
Taking request is to send after the first network controller responds the authentication success initiated to the UE based on the authorization data.
B12, the method as described in claim B10, which is characterized in that also carried in the user registration request described
The address of first user attaching server and first service provider mark, for requesting the unification user name server to be stepped on
Remember that the UE is authenticated successfully in the first user attaching server and saved the address of the first user attaching server
And the first service provider mark.
B13, the method as described in claim B10, which is characterized in that the method also includes: first user returns
Category server saves the mapping relations between the first user identifier and unification user mark of the UE;Or first use
Family attribution server carries the first user identifier of the UE in user registration request, for requesting the unified use
Name in an account book server saves the mapping relations between the first user identifier and unification user mark of the UE.
B14, the method as described in claim B10, which is characterized in that the method also includes: first user returns
Belong to server and receive the position updating request that the first network controller is sent, is carried in the position updating request described
The mark and/or address information of first network controller;The first user attaching server is based on the position updating request,
The network controller for updating the UE access is the first network controller.
B15, the method as described in claim B10, which is characterized in that the PGW selection information includes at least one net
The corresponding PGW mark of network access point APN;Or the PGW selection information includes servicing the second service offer of the UE before
The second network of quotient is the corresponding PGW mark of at least one APN of UE configuration.
B16, the method as described in claim B15, which is characterized in that the first user attaching server is to described
After one network controller sends the PGW selection information of the UE, the method also includes: the first user attaching server
The PGW information update request that target PGW is sent is received, the PGW information update request carries first user identifier, mesh
PGW mark and the corresponding APN of the target PGW are marked, the PGW information update request is that the target PGW is based on receiving
The routing update that the first user attaching server is sent requests to send;The first user attaching server is based on described
PGW information update requests to update the PGW information of the UE or the first user attaching server to the unification user name
Server sends the PGW information update request, for requesting the PGW of UE described in the unification user name server update to believe
Breath.
B17, the method as described in claim B16, which is characterized in that the first user attaching server receives target
After PGW sends the PGW information update request of the UE, the method also includes: the first user attaching servers to institute
It states unification user name server and sends user information update request, carry described first in the user information update request and use
Family mark or unification user mark, first service provider mark, target PGW mark and the corresponding APN of the target PGW,
The user information updates request for notifying UE described in the unification user name server to have been switched to the first service
The first network of provider.
C18, a kind of method for switching network are applied to unification user name server, which is characterized in that the described method includes:
The unification user name server receives the user registration request that the first user attaching server is sent, the user registration request
In carry the unification user mark of user terminal UE, wherein user registration request is the UE access first network control
Point for the UE that the first user attaching server is sent based on the first network controller received after device processed
It is sent after group Data Network Gateway PGW selection information request;The unification user name server is requested based on the user registration
Obtain the PGW selection information of the UE;The unification user name server sends user to the first user attaching server
Response is registered, the PGW comprising the UE selects information in the user registration response.
C19, the method as described in claim C18, which is characterized in that also carried in the user registration request described
The address of first user attaching server and first service provider mark, the method also includes: the unification user name
Server is requested based on the user registration, is registered the UE and is authenticated successfully and save in the first user attaching server
The address of the first user attaching server and first service provider mark.
C20, the method as described in claim C18, which is characterized in that also carried in the user registration request described
The first user identifier of UE, the method also includes: the unification user name server is requested based on the user registration, is saved
Mapping relations between the first user identifier and the unification user mark of the UE.
C21, the method as described in claim C18, which is characterized in that the PGW selection information includes at least one net
The corresponding PGW mark of network access point APN;Or the PGW selection information includes servicing the second service offer of the UE before
The second network of quotient is the corresponding PGW mark of at least one APN of UE configuration.
C22, the method as described in claim C21, which is characterized in that the unification user name server is to described first
After user attaching server sends user registration response, the method also includes: the unification user name server receives institute
The PGW information update request of the first user attaching server transmission is stated, carries the UE's in the PGW information update request
Unification user mark or the first user identifier, target PGW mark and the corresponding APN of the target PGW;The unification user name
Server is requested based on the PGW information update, updates the PGW information of the UE.
C23, the method as described in claim C18, which is characterized in that the method also includes: the unification user name
Server receives the user information that the first user attaching server is sent and updates request, and the user information updates in request
Carry first user identifier or unification user mark, first service provider mark, target PGW mark and the mesh
Mark the corresponding APN of PGW;The unification user name server is based on the user information and updates request, determines that the UE has been cut
Change to the first network of the first service provider.
C24, the method as described in claim C18, which is characterized in that the unification user name server is based on the use
Family registration request obtains the PGW selection information of the UE, comprising: the unification user name server, which is based on the user registration, asks
Seeking the second network for obtaining the pre-stored second service provider for servicing the UE before is at least the one of UE configuration
PGW selection information of the corresponding PGW mark of a APN as the UE;Or the unification user name server is based on the use
Family registration request sends PGW to the second user attribution server for the second service provider for servicing the UE before and selects information
Acquisition request, and receive the PGW selection that the second user attribution server is sent based on PGW selection information acquisition request
Information.
D25, a kind of method for switching network are applied to packet data network gateway PGW, which is characterized in that the described method includes:
When the first network that user terminal UE is provided from the second Network Mobility of second service provider to first service provider, institute
It states PGW and receives the PDN connection communication request for building link that first network is sent, in the PDN connection communication request for building link
Carry the first user identifier of user terminal UE, first service provider identifies, first network identifies, the access of PDN connection
The location point APN and PDN connection via first network next hop address;The PGW is based on the PDN connection communication link
Request is established, establishes the PDN connection communication link between the PGW and the UE via the first network, and to institute
It states first network and sends the link establishment response of PDN connection communication;The PGW is the public affairs of the first network and second network
Common gateway.
D26, the method as described in claim D25, which is characterized in that in the PDN connection communication request for building link
Also carry the unification user mark of the UE.
D27, the method as described in claim D25, which is characterized in that the PGW, which is based on communication link foundation, to be asked
It asks, establishes the PDN communication link between the PGW and the UE via the first network, comprising: described in the PGW judgement
PGW is connect with whether the UE has been established the PDN;If the PGW does not establish the PDN with the UE and connect, the PGW
It is established and is requested based on the communication link, create PDN connecting link configuration information;If the PGW and the UE have been established described
PDN connection, the PGW are based on the communication link and establish request, modify the link configuration information of the PDN connection.
D28, the method as described in claim D27, which is characterized in that the PGW, which is based on communication link foundation, to be asked
It asks, modifies the link configuration information of the PDN connection, comprising: the second user in link configuration information for connecting the PDN
Mark, second service provider mark and the second network identity are respectively modified as the first user identifier, first service provider
Mark and first network mark, and by the PDN connect from the PGW to the UE via the next of second network
It jumps address and is revised as the next hop address via the first network;Keep the PDN connection IP address of the UE constant.
D29, the method as described in claim D27 or D28, which is characterized in that the PGW judge the PGW with it is described
Whether UE has been established PDN connection, comprising: the PGW sends user identifier request, user's mark to unification user name server
The first user identifier that the first service provider mark and the UE are carried in request is known, for described in request
The second user of UE identifies and/or unification user mark;The PGW receives the user identifier that the unification user name is sent and answers
It answers, the second user mark and/or unification user mark of the UE is carried in the user identifier response;The PGW according to
The second user of the UE identifies and/or unification user mark judge whether to have been established between the PGW and the UE through
By the PDN connection of the second network.
D30, the method as described in claim D27 or D28, which is characterized in that the PGW judge the PGW with it is described
Whether UE has been established the PDN connection, comprising: the PGW judges whether carry in the PDN connection communication request for building link
Switching mark;If in the PDN connection communication request for building link carry switching mark, the PGW determine the PGW with it is described
The PDN connection has been established in UE.
D31, the method as described in claim D27, which is characterized in that the PGW is established between the PGW and the UE
After the PDN communication link of the first network, the method also includes: if the PGW has been established with the UE
The PDN connection, the PGW send PDN connection communication link deletion request to the second network, delete the PGW for requesting
The communication link that the PDN between the UE via the second network is connect.
D32, the method as described in claim D25, which is characterized in that the PGW, which is based on communication link foundation, to be asked
It asks, after establishing between the PGW and the UE via the PDN communication link of the first network, the method also includes: institute
It states PGW and receives the routing update request that the first network controller is sent after completing the PDN connection communication link establishment,
The first user identifier of the UE is carried in the routing update request or unification user identifies and first service provider
Mark;The PGW is based on routing update request and updates routing, and sends routing update to the first network controller and answer
It answers.
D33, the method as described in claim D32, which is characterized in that the PGW receives the first network controller
After the routing update request sent after completing the PDN connection communication link establishment, the method also includes: the PGW
It is requested based on the routing update, sends the request of PGW information update, the PGW information update to the first user attaching server
Request carries first user identifier, target PGW mark and the corresponding APN of the target PGW, updates institute for requesting
State the PGW information of UE.
E34, a kind of network controller, the network controller are first network controller, the first network controller
Including processor, transceiver, memory, user interface and network interface, which is characterized in that the processor is used for: with
The packet data network gateway PGW information acquisition request of the UE is sent when the terminal UE access of family to the first user attaching server,
The PGW information acquisition request includes the unification user mark and/or the first user identifier of the UE, the PGW acquisition of information
PGW of the request for UE described in request selects information;Receive the UE's that the first user attaching server is sent
PGW selects information;Information selection target PGW is selected according to the PGW, and initiates to build to target PGW transmission communication link
It is vertical to request and send PDN connection communication request for building link to the UE, the target PGW and the UE are established for requesting
Between communication link.
E35, the first network controller as described in claim E34, which is characterized in that the processor is to the first user
Before attribution server sends the packet data network gateway PGW information acquisition request of UE, it is also used to: to first user attaching
Server sends the authorization data request of UE, and the first user identifier of the UE is carried in the authorization data request, is used for
The first user attaching server is requested to send the authorization data of the UE;The first user attaching server is received to send
Authorization data response;It is responded based on the authorization data, initiates to authenticate to UE;The processor is to the first user attaching service
The PGW information acquisition request of device transmission UE, comprising: if the authentication is passed to the UE, sent out to the first user attaching server
Send the PGW information acquisition request of the UE.
E36, the first network controller as described in claim E34, which is characterized in that the processor is to the first user
The PGW information acquisition request of attribution server transmission UE, comprising: UE is sent to the first user attaching server by authentication signaling
PGW information acquisition request;The server receives the PGW selection information that the first user attaching server is sent, comprising:
Information is selected by the PGW that authentication signaling receives the UE that the first user attaching server is sent.
E37, the first network controller as described in claim E35 or E36, which is characterized in that the processor is to institute
Before the PGW selection information for stating the first user attaching server transmission UE, it is also used to: receives the network insertion that the UE is sent and ask
It asks, the first user identifier and unification user mark of the UE is carried in the network insertion request, it is described for requesting
First user attaching server initiates authentication and certification to the UE.
E38, the first network controller as described in claim E34, which is characterized in that the processor is also used to: to
The first user attaching server sends position updating request, carries the first network control in the position updating request
The mark and/or address information of device processed, for requesting the network control of UE access described in the first user attaching server update
Device processed is the first network controller.
E39, the first network controller as described in claim E34, which is characterized in that PGW selection information includes
The corresponding PGW mark of at least one network access point APN, the processor select information selection target PGW according to the PGW,
It include: for each of at least one described APN APN selection target PGW, wherein the target PGW of each APN is the APN
A PGW in corresponding PGW.
E40, the first network controller as described in claim E34 or E39, which is characterized in that the PGW selects information
Second network of the second service provider including servicing the UE before is that at least one APN of UE configuration is corresponding
PGW。
E41, the first network controller as described in claim E34, which is characterized in that the target PGW and UE
Between communication link connected between the target PGW and the UE via the packet data network PDN that first network is established it is logical
Believe link;The PDN connection communication link includes one or more below: between the UE and the base station of first network
The dedicated tunnel of GTP-U eated dishes without rice or wine between private radio carrying, the base station of the first network and the gateway of the first network
Via the ipsec tunnel of the first network gateway between road, the target PGW and the UE.
E42, the first network controller as described in claim E34, which is characterized in that the processor is also used to: to
The target PGW sends routing update request, and the first user identifier or system of the UE are carried in the routing update request
One user identifier and first service provider mark, for requesting the target PGW to update routing.
F43, a kind of user attaching server, the user attaching server are the first user attaching server, described the
One user attaching server includes processor, transceiver, memory, user interface and network interface, which is characterized in that described
Processor is used for: receiving the packet data network gateway for the UE that first network controller is sent after user terminal UE access
PGW information acquisition request, the PGW information acquisition request include the unification user mark and/or the first user identifier of the UE;
Based on the PGW information acquisition request, user registration is sent to unification user name server and is requested, in the user registration request
The unification user mark and/or the first user identifier of user terminal UE are carried, the user registration request is used for request
The PGW of the UE selects information;The user registration response that the unification user name server is sent is received, the user registration is answered
PGW selection information is carried in answering;The PGW selection information in the user registration response is obtained, and to the first network control
Device processed sends the PGW and selects information.
F44, the first user attaching server as described in claim F43, which is characterized in that the processor receives the
The PGW information acquisition request for the UE that one network controller is sent, comprising: receive the institute that the first network controller is sent
The authorization data request of UE is stated, the first user identifier of the UE is carried in the authorization data request;To first net
Network controller sends the authorization data response of the UE;The PGW information acquisition request that the first network controller is sent is received,
The PGW information acquisition request is that the first network controller responds the authentication initiated to the UE based on the authorization data
It is sent after success.
F45, the first user attaching server as described in claim F43, which is characterized in that the user registration request
In also carry the first user attaching server address and first service provider mark, for requesting the unification
UE described in user name server registers, which is authenticated successfully in the first user attaching server and saved first user, to return
Belong to address and the first service provider mark of server.
F46, the first user attaching server as described in claim F43, which is characterized in that the processor is also used
In: the mapping relations between the first user identifier and unification user mark for saving the UE;Or by the first of the UE
User identifier carries in user registration request, for requesting the unification user name server to save the first of the UE
Mapping relations between user identifier and unification user mark.
F47, the first user attaching server as described in claim F43, which is characterized in that the processor is also used
In: the position updating request of the first network controller transmission is received, carries described first in the position updating request
The mark and/or address information of network controller;Based on the position updating request, the network controller of the UE access is updated
For the first network controller.
F48, the first user attaching server as described in claim F43, which is characterized in that the PGW selects information
Including the corresponding PGW mark of at least one network access point APN;Or the PGW selection information includes servicing the UE before
Second service provider the second network be UE configuration at least one APN corresponding PGW mark.
F49, the first user attaching server as described in claim F43, which is characterized in that the processor is to described
It after first network controller sends the PGW selection information of the UE, is also used to: receiving the PGW information update that target PGW is sent
Request, it is corresponding that the PGW information update request carries first user identifier, target PGW mark and the target PGW
APN, PGW information update request is the target PGW based on receiving what the first user attaching server was sent
Routing update request is sent;PGW information or first user based on the PGW information update request update UE
Attribution server sends the PGW information update request to the unification user name server, for requesting the unification user
The PGW information of UE described in name server update.
F50, the first user attaching server as described in claim F49, which is characterized in that the processor receives target
It after PGW sends the PGW information update request of the UE, is also used to: sending user information to the unification user name server
Request is updated, the user information, which updates, carries first user identifier or unification user mark, first service in request
Provider's mark, target PGW mark and the corresponding APN of the target PGW, the user information update request for notifying
State the first network that UE described in unification user name server has been switched to the first service provider.
G51, a kind of unification user name server, the unification user name server include processor, transceiver, storage
Device, user interface and network interface, which is characterized in that the processor is used for: it receives the first user attaching server and sends
User registration request, the unification user mark of user terminal UE is carried in user registration request, wherein the user
Registration request be after the UE access first network controller the first user attaching server based on described in receiving
It is sent after the packet data network gateway PGW selection information request for the UE that first network controller is sent;Based on the use
Family registration request obtains the PGW selection information of the UE;User registration response, institute are sent to the first user attaching server
State the PGW selection information in user registration response comprising the UE.
G52, the unification user name server as described in claim G51, which is characterized in that in the user registration request
The address and first service provider mark, the processor for also carrying the first user attaching server are also used to:
It is requested based on the user registration, registers the UE and authenticated successfully in the first user attaching server and save described the
The address of one user attaching server and first service provider mark.
G53, the unification user name server as described in claim G51, which is characterized in that in the user registration request
Also carry the first user identifier of the UE, the processor is also used to: the unification user name server is based on the use
Family registration request saves the mapping relations between the first user identifier and unification user mark of the UE.
G54, the unification user name server as described in claim G51, which is characterized in that the PGW selects packet
Include the corresponding PGW mark of at least one network access point APN;Or the PGW selection information includes servicing the UE before
Second network of second service provider is the corresponding PGW mark of at least one APN of UE configuration.
G55, the unification user name server as described in claim G54, which is characterized in that the processor is to described
It after one user attaching server sends user registration response, is also used to: receiving what the first user attaching server was sent
PGW information update is requested, and the unification user mark or the first user mark of the UE are carried in the PGW information update request
Know, target PGW is identified and the corresponding APN of the target PGW;It is requested based on the PGW information update, updates the UE's
PGW information.
G56, the unification user name server as described in claim G51, which is characterized in that the processor is also used to:
It receives the user information that the first user attaching server is sent and updates request, the user information updates to be carried in request
First user identifier or unification user mark, first service provider mark, target PGW mark and the target PGW
Corresponding APN;It is updated and is requested based on the user information, determine that the UE has been switched to the of the first service provider
One network.
G57, the unification user name server as described in claim G51, which is characterized in that the processor is based on described
The PGW of UE described in user registration request selects information, comprising: based on the user registration request it is pre-stored it
Second network of the second service provider of the preceding service UE is the corresponding PGW mark of at least one APN of UE configuration
PGW as the UE selects information;Or it requests to mention to the second service for servicing the UE before based on the user registration
PGW selection information acquisition request is sent for the second user attribution server of quotient, and receives the second user attribution server
The PGW sent based on PGW selection information acquisition request selects information.
H58, a kind of packet data network gateway PGW, the PGW include processor, transceiver, memory, user interface with
And network interface, which is characterized in that the processor is used for: when user terminal UE is moved from the second network of second service provider
When the first network of first service provider offer is provided, the packet data network PDN connection communication chain that first network is sent is received
Request is established on road, and the first user identifier, the first clothes of user terminal UE are carried in the PDN connection communication request for building link
Be engaged in provider mark, first network mark, PDN connection access point APN and the PDN connection via first network next-hop
Address;Based on the PDN connection communication request for building link, establish between the PGW and the UE via the first network
The PDN connection communication link, and to the first network send the link establishment response of PDN connection communication;The PGW is institute
State the Common Gateway of first network and second network.
H59, the PGW as described in claim H58, which is characterized in that in the PDN connection communication request for building link also
Carry the unification user mark of the UE.
H60, the PGW as described in claim H58, which is characterized in that the processor is established based on the communication link
Request, establish the PDN communication link between the PGW and the UE via the first network, comprising: judge the PGW with
Whether the UE has been established PDN connection;If the PGW does not establish the PDN with the UE and connect, it is based on the communication link
Request is established, PDN connecting link configuration information is created;If the PGW has been established the PDN with the UE and connect, based on described
Communication link establishes request, modifies the link configuration information of the PDN connection.
H61, the PGW as described in claim H60, which is characterized in that the processor is established based on the communication link
Request, modifies the link configuration information of the PDN connection, comprising: second in the link configuration information for connecting the PDN uses
Family mark, second service provider mark and the second network identity are respectively modified as the first user identifier, first service provides
Trade mark know and first network mark, and by the PDN connect from the PGW to the UE via under second network
It is revised as the next hop address via the first network in one jump address;Keep the PDN connection IP address of the UE constant.
H62, the PGW as described in claim H60 or H61, which is characterized in that the processor judges the PGW and institute
State whether UE has been established PDN connection, comprising: send user identifier request to unification user name server, the user identifier is asked
The first service provider mark and the first user identifier of the UE are carried in asking, for UE described in request
Second user mark and/or unification user mark;Receive the user identifier response that the unification user name is sent, user's mark
Know the second user mark and/or unification user mark that the UE is carried in response;It is identified according to the second user of the UE
And/or unification user mark judges whether the PDN connection via the second network whether has been established between the PGW and the UE.
H63, the PGW as described in claim H60 or H61, which is characterized in that the processor judges the PGW and institute
State whether UE has been established the PDN connection, comprising: judge whether carry switching in the PDN connection communication request for building link
Mark;If carrying switching mark in the PDN connection communication request for building link, determine that institute has been established in the PGW and the UE
State PDN connection.
H64, the PGW as described in claim H60, which is characterized in that the processor establish the PGW and the UE it
Between via the PDN communication link of the first network after, be also used to: if the PDN has been established in the PGW and the UE
Connection sends PDN connection communication link deletion request to the second network, passes through for requesting to delete between the PGW and UE
By the communication link of the PDN connection of the second network.
H65, the PGW as described in claim H58, which is characterized in that the processor is based on the PDN connection communication chain
Request is established on road, after establishing between the PGW and the UE via the PDN communication link of the first network, is also used to: being connect
Receive the routing update request that the first network controller is sent after completing the PDN connection communication link establishment, the road
By update request in carry PDN connection the first user identifier or unification user mark and first service provider identify;
It requests to update routing based on the routing update, and sends routing update response to the first network controller.
H66, the PGW as described in claim H65, which is characterized in that the processor receives the first network control
Device is also used to after the routing update request sent after completing the PDN connection communication link establishment: more based on the routing
New request sends the request of PGW information update to the first user attaching server, and the PGW information update request carries described
First user identifier, target PGW mark and the corresponding APN of the target PGW, for requesting to update the PGW information of the UE.
I67, a kind of computer readable storage medium, which is characterized in that meter is stored on the computer readable storage medium
Calculation machine program realizes such as claim A1 to A9 described in any item network switchings when the computer program is executed by processor
The step of first network controller described in method executes.
J68, a kind of computer readable storage medium, which is characterized in that meter is stored on the computer readable storage medium
Calculation machine program is realized when the computer program is executed by processor as the described in any item networks of claim B10 to B27 are cut
Change the step of the first user attaching server described in method executes.
K69, a kind of computer readable storage medium, which is characterized in that meter is stored on the computer readable storage medium
Calculation machine program is realized when the computer program is executed by processor as the described in any item networks of claim C18 to C24 are cut
Change the step of server of unification user name described in method executes.
The embodiments of the present invention also provide L70, a kind of computer readable storage medium, which is characterized in that the calculating
Computer program is stored on machine readable storage medium storing program for executing, and such as claim D25 is realized when the computer program is executed by processor
The step of being executed to PGW described in the described in any item method for switching network of D33.