CN101572855B - Method and device for selecting gateway for terminal - Google Patents

Method and device for selecting gateway for terminal Download PDF

Info

Publication number
CN101572855B
CN101572855B CN2008101056831A CN200810105683A CN101572855B CN 101572855 B CN101572855 B CN 101572855B CN 2008101056831 A CN2008101056831 A CN 2008101056831A CN 200810105683 A CN200810105683 A CN 200810105683A CN 101572855 B CN101572855 B CN 101572855B
Authority
CN
China
Prior art keywords
gateway
data gateway
information
data
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101056831A
Other languages
Chinese (zh)
Other versions
CN101572855A (en
Inventor
银宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008101056831A priority Critical patent/CN101572855B/en
Publication of CN101572855A publication Critical patent/CN101572855A/en
Application granted granted Critical
Publication of CN101572855B publication Critical patent/CN101572855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and a device for selecting a gateway for a terminal. The method comprises the following steps: selecting a local united gateway of an access position of the terminal according to position information and gateway type information of an acquired data gateway; analyzing the address of the data gateway and the address of a service gateway according to the united gateway; and determining the data gateway and the service gateway selected for the terminal according to the address of the data gateway and the address of the service gateway. Because the position information and the gateway type information of the data gateway are acquired, when the terminal is under the condition of non-roaming access or route optimization of a visited place, the local united gateway can be selected for the terminal so as to improve the forward efficiency.

Description

A kind of method and device of selecting gateway for terminal
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of method and device of selecting gateway for terminal.
Background technology
Mobile packet network of future generation (Evolved Packet System, EPS) in, mobile management entity is responsible for location management, connection management, safety certification, the gateway of mobile subscriber terminal and is selected (comprise and select gateway and data gateway) or the like; Gateway is that the local access network of mobile subscriber terminal closes; Data gateway is the gateway of mobile subscriber terminal access external data network.Connect jumping figure in order to reduce data, improve forward efficiency, when the non-roaming access of user, visit ground routing optimality, can use the gateway of gateway and data gateway unification, might as well be referred to as the associating gateway.
In the prior art, when the first access network of mobile subscriber terminal, wait and select available gateway by the configuration of local service list of gateways, current accessing position information, the network load information of user by its mobile management entity, from described available gateway, select certain gateway and determine its address; By domain name service (Domain Name Service, DNS) resolve Network Access Point title (Access PointName, APN) obtain available data gateway address list and offer selected gateway, the address of attempting resolving the data gateway in the described available data gateway address list successively by described gateway, with the data gateway of first successful connection as the data gateway of described mobile subscriber terminal and determine its address.
When described mobile subscriber terminal was changed mobile management entity owing to position change, the source mobile management entity passed to the target mobile management entity with the data gateway and the gateway address information of described mobile subscriber terminal.Whether described target mobile management entity judges needs to carry out routing optimality, if do not need to carry out routing optimality, then continue to use the data gateway that has selected, carry out routing optimality if desired, then the target mobile management entity is selected data gateway for mobile subscriber terminal again.And use the gateway that has selected or select suitable local service gateway according to continuation such as the positional information of mobile subscriber terminal, network load condition, procotols.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
Because existing method for selecting gateway only obtains the address information of data gateway, therefore, when mobile phone users under the situation of non-roaming access or visit ground routing optimality, mobile management entity can't be selected this locality associating gateway of mobile phone users on-position for it.
Summary of the invention
The method that embodiments of the invention provide a kind of gateway to select, when mobile phone users under the situation of non-roaming access or visit ground routing optimality, thereby can select the associating gateway of this locality of its on-position for terminal.
A kind of method for terminal selection gateway comprises:
According to the positional information and the gateway type information of the data gateway that obtains, select this locality associating gateway of a terminal access position;
According to the address of described associating gateway resolution data gateway and the address of gateway;
Be defined as data gateway and the gateway that terminal is selected according to the address of described data gateway and the address of gateway.
A kind of device for terminal selection gateway comprises:
First gateway is selected module, is used for positional information and gateway type information according to the data gateway that obtains, selects this locality associating gateway of a terminal access position;
The address resolution module is used for selecting the address of the associating gateway resolution data gateway that module selects and the address of gateway according to described first gateway;
The gateway determination module is used for being defined as data gateway and the gateway that terminal is selected according to the address of the described data gateway of described address resolution module parses and the address of gateway.
The technical scheme that is provided by the embodiment of the invention described above as can be seen, owing to obtained the positional information and the gateway type information of data gateway in the embodiment of the invention, therefore, when terminal under the situation of non-roaming access or visit ground routing optimality, can select local associating gateway for it according to the positional information and the gateway type information of the data gateway that obtains, thereby improve forward efficiency.
Description of drawings
Fig. 1 is the EPS system configuration schematic diagram of the embodiment of the invention;
The processing procedure schematic diagram that Fig. 2 provides for the embodiment of the invention;
The another kind of processing procedure schematic diagram that Fig. 3 provides for the embodiment of the invention;
The apparatus structure schematic diagram that Fig. 4 provides for the embodiment of the invention.
Embodiment
In the embodiment of the invention, when terminal in non-roaming access, perhaps under the situation of visit ground routing optimality, selecting the method for gateway for described terminal specifically is, positional information and gateway type information according to the data gateway that obtains, select this locality associating gateway of a terminal access position, described associating gateway is meant the gateway of data gateway and gateway unification, and described gateway type information comprises associating gateway type information and single data gateway type information; According to the address of described associating gateway resolution data gateway and the address of gateway; Be defined as data gateway and the gateway that terminal is selected according to the address of described data gateway and the address of gateway.The specific implementation of the address of described resolution data gateway and the address of gateway can be carried out dns resolution to described associating gateway by increasing the method for modifying expression.It also can be a plurality of that described data gateway address that parsing obtains according to the associating gateway and service gateway address can be one, when the address of the address that parses a plurality of data gateways and a plurality of gateways, specifically can from described a plurality of data gateways and gateway, select a data gateway and a gateway arbitrarily, also can determine a data gateway and a gateway according to certain algorithm that pre-establishes.
Wherein, the positional information of the data gateway that described basis is obtained and gateway type information, select the step of this locality associating gateway of a terminal access position specifically can comprise following implementation:
System of selection one:, search the local data gateway of terminal access position according to the positional information of the data gateway that obtains; Then, according to the gateway type information of the data gateway that obtains, in the local data gateway of described terminal access position, select an associating gateway;
Perhaps,
System of selection two:, search the associating gateway according to the gateway type information of the data gateway that obtains; Then, according to the positional information of the data gateway that obtains, in described associating gateway, select this locality associating gateway of a terminal access position.
Among the invention described above embodiment, also comprise the positional information of obtaining data gateway and the process of gateway type information, this process specifically can be:
Acquisition methods one: by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the gateway type information and the positional information of this data gateway;
Perhaps,
Acquisition methods two: by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the positional information of this data gateway, whether the local data gateway of resolving the data gateway of described APN correspondence or terminal access position comprises the address of gateway, obtain the gateway type information of described data gateway according to analysis result, specifically can be, if resolve successfully, then the gateway type information of this data gateway is the associating gateway, otherwise, the gateway type information of this data gateway is single data gateway, wherein, if whether the local data gateway of resolving terminal access position comprises the address of gateway, also need in advance in the data gateway of APN correspondence, to search the local data gateway of terminal access position according to the positional information of described data gateway;
Perhaps, acquisition methods three: by dns resolution APN, obtain the information on services corresponding, obtain the gateway type information and the positional information of described data gateway by this information on services with described APN.
Wherein, the form of described APN can be network identity. operator's sign.For example, terminal need insert the network that is designated " internet ", uses the carrier network that is designated " operatorA ", and then Dui Ying APN is: internet.operatorA.The data gateway of described APN correspondence is meant the data gateway of the data network of network that described APN regulation is provided and operator, and the information on services of APN correspondence is meant the information on services of the data network of network that described APN regulation is provided and operator.
If adopt acquisition methods one, then when selecting gateway, can adopt system of selection one for terminal, also can adopt system of selection two.In addition,, then in the data gateway corresponding, have the local data gateway of terminal access position, but when not having associating gateway, the local data gateway of a terminal access position of selection is also resolved its address with described APN if adopt system of selection one; When not having the local data gateway of terminal access position in the data gateway corresponding with described APN, can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps, choose a data gateway that load is the lightest and resolve its address according to the loading condition of data gateway.If adopt system of selection two, then in the data gateway of described APN correspondence, there is not the associating gateway, or have associating gateway but when not having the local data gateway of terminal access position in the described associating gateway, then according to the local data gateway of the terminal access position of positional information selection of the data gateway of described APN correspondence and resolve its address; When neither existing the associating gateway also not have the local data gateway of terminal access position in the data gateway corresponding with described APN, can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps, choose a data gateway that load is the lightest and resolve its address according to the loading condition of data gateway.The data gateway of above-mentioned selection is not under the situation of local associating gateway, after having determined data gateway, can wait the local service gateway of selecting terminal access position according to the configuration of local service list of gateways, current accessing position information, the network load information of terminal of terminal access position, and determine its address.The specific implementation of the address of above-mentioned parsing, specified data gateway, gateway can realize by dns resolution by increase the method for modifying its address of expression parsing in the name of data gateway or gateway.
If adopt acquisition methods two, then when selecting gateway, can adopt system of selection one for terminal, also can adopt system of selection two.If adopt system of selection one, concrete processing procedure can comprise: by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the positional information of this data gateway, searches the local data gateway of terminal access position according to described positional information; Resolve described local data gateway then one by one and whether comprise the address of gateway, if resolve successfully, then the gateway type information of this data gateway is the associating gateway, select this locality associating gateway of described terminal access position, otherwise the gateway type information of this data gateway is single data gateway.If do not have the associating gateway in the local data gateway of the terminal access position of searching, then select the local data gateway of a terminal access position and resolve its address, if the local data gateway of endless on-position, then can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps, choose a data gateway that load is the lightest and resolve its address according to the loading condition of data gateway.If adopt system of selection two, concrete processing procedure can comprise: by dns resolution APN, obtain the title of the data gateway corresponding with described APN, resolve the address that whether comprises gateway in the title of described data gateway one by one, if resolve successfully, the gateway type information of then obtaining described data gateway is the associating gateway, otherwise the gateway type information of obtaining described data gateway is single data gateway; Comprise positional information in the title of the data gateway of described APN correspondence, select described positional information to search this locality associating gateway of the terminal access position in the associating gateway.In addition, then in the data gateway of described APN correspondence, there is not the associating gateway, or have associating gateway but when not having the local data gateway of terminal access position in the described associating gateway, then according to the local data gateway of the terminal access position of positional information selection of the data gateway of described APN correspondence and resolve its address; When neither existing the associating gateway also not have the local data gateway of terminal access position in the data gateway corresponding with described APN, can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps, choose a data gateway that load is the lightest and resolve its address according to the loading condition of data gateway.The data gateway of above-mentioned selection is not under the situation of local associating gateway, after having determined data gateway, can wait the local service gateway of selecting terminal access position according to the configuration of local service list of gateways, current accessing position information, the network load information of terminal of terminal access position, and determine its address.The specific implementation of the address of above-mentioned parsing, specified data gateway, gateway can realize by dns resolution by increase the method for modifying its address of expression parsing in the name of data gateway or gateway.
If adopt acquisition methods three, then when selecting gateway, can adopt system of selection one for terminal, also can adopt system of selection two.If adopt system of selection one, concrete processing procedure can comprise: by dns resolution APN, obtain the information on services corresponding with described APN, each information on services comprises the positional information of data gateway; Search the information on services that positional information is terminal access position this locality, then by the described information on services of dns resolution, obtain the title of data gateway in the associating gateway of described information on services correspondence, the title of each data gateway comprises the gateway type information of this data gateway, according to the local associating of terminal access position of described gateway type Information Selection gateway.If adopt system of selection two, concrete processing procedure can comprise: by dns resolution APN, obtain the information on services corresponding with described APN, each information on services comprises the gateway type information of data gateway; Search the information on services of gateway type information for the associating gateway, then by the described information on services of dns resolution, obtain the title of data gateway in the associating gateway of described information on services correspondence, the title of each data gateway comprises the positional information of this data gateway, selects this locality associating gateway of a terminal access position according to described positional information.In addition, described by dns resolution APN, after obtaining the information on services corresponding with described APN, can also be as required, (for example select an information on services that meets pre-provisioning request, according to the positional information in the information on services, select a local data gateway or apart from nearest data gateway of terminal access position or the like; Perhaps, select an associating gateway or single data gateway according to the gateway type information in the information on services), by the described information on services of dns resolution, obtain the title of the data gateway of described information on services correspondence; The information that comprises in the title according to described data gateway, select one to meet pre-provisioning request (the local data gateway that for example pre-provisioning request is a terminal access position of selection, perhaps nearest local data gateway) data gateway apart from terminal access position, and resolve the address of described data gateway; Select the local service gateway of a terminal access position according to the current accessing position information of the configuration of local service list of gateways, the terminal of terminal access position, network load information etc., and resolve the address of described gateway.The specific implementation of the address of above-mentioned parsing, specified data gateway, gateway can realize by dns resolution by increase the method for modifying its address of expression parsing in the name of data gateway or gateway.
Among the invention described above embodiment, can also comprise protocol information in the title according to the data gateway of APN correspondence or corresponding information on services can also comprise protocol information, select to meet protocol requirement according to described protocol information, and at this locality of terminal access position associating gateway.
When terminal causes the network side change owing to shift in position, be that described terminal is selected gateway by the objective network side, specific implementation can be: what the objective network side was obtained the transmission of source network side is the positional information of the data gateway of described terminal selection; Judge according to the positional information of described data gateway whether described data gateway is the local data gateway of terminal access position, if still select described data gateway for terminal; Otherwise, judge whether to visit the ground routing optimality, if do not need, still select described data gateway for terminal, if desired, for terminal is reselected data gateway.Wherein, the described operation that is retrieved as the positional information of the data gateway that described terminal selects can be that objective network side direction source network side sends and obtains after obtaining request, also can be the source network side initiatively is sent as positional information from the data gateway that described terminal selects to the objective network side.In addition, when the objective network side is obtained described positional information, also be retrieved as the gateway type information of the data gateway of described terminal selection in the lump, can also comprise the information such as title of obtaining gateway, can also obtain APN, gateway address information, data gateway address information.
Among the invention described above embodiment, the described step of reselecting data gateway for terminal specifically can be selected the method for gateway for terminal and operate with reference to above-mentioned.
The processing procedure of the invention described above embodiment can be realized by mobile management entity.
Below in conjunction with accompanying drawing the specific implementation of the embodiment of the invention in actual application is described in detail.
Application Example one
In the EPS network architecture as shown in Figure 1, mobile management entity is responsible for user terminal selecting gateway (comprise and select gateway and data gateway).Suppose that user's first and user's second all need to insert the network that is designated " internet ", and use the carrier network that is designated " operatorA ", then the APN of user's first and user's second correspondence is internet.operatorA.
When user's first and user's second were non-roaming access, the implementation of selecting gateway for user's first and user's second specifically can comprise the steps: as shown in Figure 2
Step 11, the method by dns resolution are resolved APN, obtain the title of the data gateway corresponding with described APN, the form of the title of described data gateway is: gateway type information. gateway identification information. and positional information. operator's identification information, the title of having supposed to obtain three data gateways is respectively:
Gateway A, union.gw1.sh.operatorA represent: Shanghai, belong to the associating gateway A of operator, that be designated gw1;
Gateway B, union.gw2.bj.operatorA represent: in the Pekinese, belong to the associating gateway A of operator, that be designated gw2;
Gateway C, single.gw3.sh.operatorA represent: Shanghai, belong to the data gateway A of operator, that be designated gw3;
Step 12a, suppose that the current on-position of user's first is in Shanghai, divide according to the band of position and (to reach following " Shanghai ", " Beijing " everywhere herein only for example and without limitation, the division of the described band of position is to divide according to the geographic area of a certain planning, but not administrative division), gateway A, C are local gateway, further, and in gateway A, C, select the associating gateway, i.e. gateway A;
Step 13a, obtain data gateway address, gateway address in the gateway A by the method for dns resolution, concrete processing procedure can be:
Increase and modify expression resolution data gateway address, for example, pgw.union.gw1.sh.operatorA;
Increase and modify expression analysis service gateway address, for example, sgw.union.gw1.sh.operatorA;
Step 12b, suppose that the current on-position of user's second is in Nanjing, divide according to the band of position, gateway A, B, C all is not a local gateway, at this moment, can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps according to the loading condition of data gateway, choose a data gateway that load is the lightest and resolve its address, in Application Example one, according to network load condition, select the light gateway C of load, and resolve its address;
Step 13b, select the local service gateway of a current on-position of user's second, and resolve the address of described gateway according to the current accessing position information of the configuration of the local service list of gateways of user's second on-position, user's second, network load information etc.
Among the invention described above embodiment, when selecting gateway, can also in described associating gateway, select local associating gateway according to positional information then at first according to gateway type information searching associating gateway for user's first.
By Application Example one as can be seen, owing to obtained the positional information and the gateway type information of data gateway, therefore can select this locality associating gateway of a terminal access position, thereby improve forward efficiency.In addition, when not existing described this locality to unite gateway, also can select one apart from the nearest data gateway of terminal access position, thereby can reduce the connection jumping figure according to described positional information.
Application Example two
In the above-mentioned Application Example one, when selecting gateway for user's first, described step 11 also can be resolved APN by the method for dns resolution, obtain the title of the data gateway corresponding with described APN, comprise positional information in the title of described data gateway but do not comprise gateway type information, for example, the title form of gateway A is: gw1.sh.operatorA, behind positional information selection local gateway A and gateway C, the gateway address of gateway A is obtained in trial by dns resolution, if resolve successfully, think that then the gateway type of this gateway is the associating gateway, preferentially select this gateway, if resolve unsuccessful, think that then the gateway type of this gateway is not the associating gateway, can attempt local data gateway C again.
Application Example three
Suppose that the user need insert the network that is designated " internet ", and use the carrier network that is designated " operatorA ", then the APN of user's first and user's second correspondence is internet.operatorA.
When the user is non-roaming access,, described user specifically can comprise the steps: for selecting the implementation of gateway
Step 31, the method by dns resolution are resolved APN, obtain the title of the data gateway corresponding with described APN, and the form of the title of described data gateway is: protocol information. gateway type information. and gateway identification information. positional information. operator's identification information;
Step 32, the title of having obtained three data gateways are respectively:
Gateway D, gtp.union.gw4.sh.operatorA represent: at associating gateway Shanghai, that belong to the A of operator, that be designated gw4, support the GTP agreement;
Gateway E, mip-gtp.union.gw5.bj.operatorA represent: in the Pekinese, belong to the A of operator, that be designated gw5, support the associating gateway of MIP and GTP agreement;
Gateway F, mip-gtp.siongle.gw6.sh.operatorA represent: at data gateway Shanghai, that belong to the A of operator, that be designated gw6, support MIP and GTP agreement;
Step 33, suppose the current on-position of described user, and need to use the GTP agreement that then qualified local gateway is gateway D, F, further, in gateway D, F, select the associating gateway, i.e. gateway D in Shanghai;
Step 34, obtain data gateway address, gateway address among the gateway D by the method for dns resolution, concrete processing procedure can be:
Increase and modify expression resolution data gateway GTP protocol address, for example, pgw-gtp.gtp.union.gw1.sh.operatorA;
Perhaps,
Increase and modify the address that certain protocol interface is resolved in expression, for example, s5-gtp.gtp.union.gw1.sh.operatorA;
Increase the GTP protocol address of modifying expression analysis service gateway, for example, sgw-gtp.gtp.union.gw1.sh.operatorA;
Perhaps,
Increase and modify the address that certain protocol interface is resolved in expression, for example, s11.gtp.union.gw1.sh.operatorA;
Wherein, " s5-gtp ", " s11 " are the protocol interface signs.
In the invention described above Application Example three,, therefore, when selecting gateway, can also satisfy the requirement of terminal to procotol for terminal owing to comprise protocol information in the title of described data gateway.
Application Example four
Suppose that the user need insert the network that is designated " internet ", and use the carrier network that is designated " operatorA ", then the APN of user's first and user's second correspondence is internet.operatorA.
When the user is non-roaming access,, described user specifically can comprise the steps: for selecting the implementation of gateway
Step 41, resolve APN by DNS NAPTR, obtain the information on services corresponding with described APN, the form of described information on services is: protocol information. network identification information. and operator's identification information, perhaps also comprise gateway type information, form is: protocol information. gateway type information. and network identification information. operator's identification information;
Step 42, agreement as required, agreement and gateway type that perhaps can also be as required selected a satisfactory information on services, for example in described information on services, need to use the GTP protocol gateway, then select information on services _ gtp.internet.operatorA; Need to use GTP agreement, associating gateway, then select information on services _ gtp._union.internet.operatorA;
Step 43, resolve described information on services gtp.internet.operatorA or gtp.union.internet.operatorA by the method for dns resolution, obtain the title of corresponding data gateway, the form of described data gateway is: gateway identification. station location marker. and operator's sign, for example, obtain three data gateways, title is followed successively by:
The data gateway that G, gw7.sh.operatorA are illustrated in is Shanghai, that be designated gw7, belong to the A of operator;
H, gw8.bj.operatorA are illustrated in the Pekinese, are designated data gateway gw8, that belong to the A of operator;
The data gateway that I, gw9.sh.operatorA are illustrated in is Shanghai, that be designated gw9, belong to the A of operator, when information on services comprises gateway type information, when promptly resolving gateway name use gtp.union.internet.operatorA, described gateway G, H, I are the associating gateway;
Step 44, suppose the current on-position of user, divide that gateway G, I are local gateways, so select gateway G or I according to the band of position in Shanghai;
When step 45, information on services comprise gateway type information, suppose to select gateway G, the title of use gateway G adds obtains the data gateway address by dns resolution by the modification pgw.gw7.sh.operatorA of data gateway; The modification sgw.gw7.sh.operatorA that the title of use gateway G adds gateway obtains the gateway address by dns resolution.When information on services does not comprise gateway type information, after selecting local gateway G or I, attempt obtaining the gateway address of gateway G, if resolve successfully by dns resolution, think that then the gateway type of gateway G is the associating gateway, the preferential gateway G that selects gets nowhere if resolve, and thinks that then the gateway type of this gateway G is not the associating gateway, and then trial local gateway I, if resolve successfully, think that then the gateway type of gateway I is the associating gateway, select gateway I; If it is unsuccessful that gateway G and I resolve, then think and do not have the local gateway of associating, can choose one of gateway G or I wantonly as data gateway, the alternative gateway promptly waits and selects according to the configuration of local service list of gateways, current accessing position information, the network load information of terminal of terminal access position.
By the invention described above Application Example four as can be known, owing to increased the obtaining of protocol information, therefore when selecting gateway for terminal, not only can select this locality associating gateway of terminal access position, the while can also be satisfied the requirement of terminal to procotol.
Application Example five
After terminal was finished first establishment of connection, if terminal location changes, mobile management entity was kept data gateway and the gateway of having selected according to actual conditions, perhaps reselects gateway for terminal.Its implementation specifically can comprise the steps: as shown in Figure 3
Step 51, source mobile management entity receive handoff request message, and judge and need switch;
Step 52, source mobile management entity are given the target mobile management entity with described handoff request forwards, and the positional information of carrying the gateway of selecting into described terminal, can also comprise that (described gateway can be the associating gateway to gateway type information, also can be data gateway and gateway), can also carry APN, gateway address information, data gateway address information;
Step 53, target mobile management entity receive described handoff request information, are positional information and gateway type information and other relevant informations of the gateway of described terminal selection;
Step 54, target mobile management entity judge according to the positional information and the gateway type information of the data gateway of receiving whether described data gateway is the local data gateway of terminal access position, if, execution in step 55, otherwise, execution in step 56;
Step 55, still select described data gateway, and judge whether the gateway that has selected still is local gateway for terminal, if, still select described gateway for terminal, otherwise, for terminal is reselected gateway;
Step 56, judge whether need visit the ground routing optimality, if, execution in step 47, otherwise, execution in step 58;
Step 57 is obtained positional information, the gateway type information of the data gateway of APN correspondence; According to positional information, the gateway type information of described data gateway, select this locality associating gateway of a terminal access position, and according to the address of described associating gateway resolution data gateway, gateway;
Step 58, still select described data gateway, and reselect gateway for terminal for terminal.
In the above-mentioned Application Example five, also can be to judge whether routing optimality earlier, routing optimality judges that more whether current gateway is local gateway, if do not need routing optimality, directly uses current gateway if desired.
Description by above-mentioned Application Example five as can be known, owing to comprised the positional information of the data network of selecting for terminal in the information of source network side and the transmission of objective network side, therefore, the objective network side is before selecting gateway for terminal, can know the geographical position of data gateway according to described positional information, when described data gateway is local gateway, can selects data gateway for terminal again, thereby improve operating efficiency.
Application Example six
After terminal was finished first establishment of connection, if terminal location changes, mobile management entity was kept data gateway and the gateway of having selected according to actual conditions, perhaps reselects gateway for terminal.It specifically can comprise the steps:
Step 61, target mobile management entity receiving position update inquiry information;
Step 62, target mobile management entity send context request message to the source mobile management entity;
Step 63, source mobile management entity send context acknowledge message to the target mobile management entity, and the current contextual information of carried terminal, comprise that (described gateway can be the associating gateway for the gateway name of original selection, also can be gateway and data gateway), can also carry APN, gateway address information, data gateway address information;
After step 64, target mobile management entity receive contextual information, positional information and gateway type information according to the data gateway that is obtained judge whether described data gateway is the local data gateway of terminal access position, if, execution in step 65, otherwise, execution in step 66;
Step 65, still select described data gateway, and judge whether the gateway that has selected still is local gateway for terminal, if, still select described gateway for terminal, otherwise, for terminal is reselected gateway;
Step 66, judge whether need visit the ground routing optimality, if, execution in step 67, otherwise, execution in step 68;
Step 67 is obtained positional information, the gateway type information of the data gateway of APN correspondence; According to positional information, the gateway type information of described data gateway, select this locality associating gateway of a terminal access position, and according to the address of described associating gateway resolution data gateway, gateway;
Step 68, still select described data gateway, and reselect gateway for terminal for terminal.
In the above-mentioned Application Example six, also can be to judge whether routing optimality earlier, routing optimality judges that more whether current gateway is local gateway, if do not need routing optimality, directly uses current gateway if desired.
Description by above-mentioned Application Example six as can be known, owing to comprised the positional information of the data network of selecting for terminal in the information of source network side and the transmission of objective network side, therefore, the objective network side is before selecting gateway for terminal, can know the geographical position of data gateway according to described positional information, when described data gateway is local gateway, can selects data gateway for terminal again, thereby improve operating efficiency.
The all or part of step of realization said method embodiment can be finished by the relevant hardware of program command, and aforesaid program can be stored in the computer read/write memory medium, and this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The embodiment of the invention also provides a kind of and selects the device of gateway for terminal, its structure as shown in Figure 4, the specific implementation structure can comprise:
First gateway is selected module, is used for positional information and gateway type information according to the data gateway that obtains, selects this locality associating gateway of a terminal access position, and described associating gateway is meant the gateway of data gateway and gateway unification;
The address resolution module, be used for selecting the address of the associating gateway resolution data gateway that module selects and the address of gateway according to described first gateway, the specific implementation of the address of described resolution data gateway, gateway can be carried out dns resolution to described associating gateway by increasing the method for modifying expression;
The gateway determination module, be used for being defined as the data gateway that terminal is selected according to the address of the data gateway of described address resolution module parses and the address of gateway, gateway, it also can be a plurality of that described data gateway address that parsing obtains according to the associating gateway and service gateway address can be one, when the address of the address that parses a plurality of data gateways and a plurality of gateways, specifically can from described a plurality of data gateways and gateway, select a data gateway and a gateway arbitrarily, also can determine a data gateway and a gateway according to certain algorithm that pre-establishes.
Wherein, described first gateway selects module specifically can comprise the first this locality associating gateway selection module or the second local associating gateway selection module.Wherein, the described first local associating gateway selection module is used for the positional information according to the data gateway that obtains, and searches the local data gateway of terminal access position; Then, according to the gateway type information of the data gateway that obtains, in the local data gateway of the described terminal access position that finds, select an associating gateway; The described second local associating gateway selection module is used for the gateway type information according to the data gateway that obtains, and searches the associating gateway; Then, according to the positional information of the data gateway that obtains, in the described associating gateway that finds, select this locality associating gateway of a terminal access position.
Device among the invention described above embodiment can also comprise first information acquisition module, described first information acquisition module specifically can comprise: first parsing module, be used for by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the gateway type information and the positional information of this data gateway; Perhaps, second parsing module, be used for by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the positional information of this data gateway, whether the local data gateway of resolving the data gateway of described APN correspondence or terminal access position comprises the address of gateway, the gateway type information that obtains described data gateway according to analysis result (wherein, if whether the local data gateway of resolving terminal access position comprises the address of gateway, also need in advance in the data gateway of APN correspondence, to search the local data gateway of terminal access position) according to the positional information of described data gateway; Perhaps, the 3rd parsing module is used for by dns resolution APN, obtains the information on services corresponding with described APN, obtains the gateway type information and the positional information of described data gateway by this information on services.
Wherein, described first parsing module or second parsing module title of obtaining the data gateway of described APN correspondence also comprises protocol information; The protocol information that the title that described first gateway selects module specifically to be used for the data gateway of the described APN correspondence obtained according to described first parsing module or second parsing module comprises, positional information and gateway type information with the data gateway that obtains, selection meets protocol requirement, and at this locality of terminal access position associating gateway; Perhaps, described the 3rd parsing module information on services that obtains described APN correspondence also comprises protocol information; The protocol information that the information on services that described first gateway selects module specifically to be used for the described APN correspondence obtained according to described the 3rd parsing module comprises, positional information and gateway type information with the data gateway that obtains, selection meets protocol requirement, and at this locality of terminal access position associating gateway.
Among the invention described above embodiment, when described first information acquisition module was worked, described first gateway selected module can use the first local associating gateway wherein to select module, also can use second this locality associating gateway wherein to select module; In addition, in the data gateway corresponding, there is the local data gateway of terminal access position, but when not having the associating gateway, therefrom selects the local data gateway of a terminal access position and resolve its address with described APN; When not having the local data gateway of terminal access position in the data gateway corresponding with described APN, can choose one apart from the nearest data gateway of terminal access position and resolve its address according to described positional information, perhaps choose a data gateway corresponding arbitrarily and resolve its address with described ANP, perhaps, choose a data gateway that load is the lightest and resolve its address according to the loading condition of data gateway.Under above-mentioned two kinds of situations, after having determined data gateway, can wait and select gateway, and resolve its address according to the configuration of local service list of gateways, current accessing position information, the network load information of terminal of terminal access position.
When terminal location changes, may switch to the device that it selects gateway, therefore, the device that the embodiment of the invention provides can also comprise:
Information sending module, be used for when described device is source apparatus, be sent as the positional information of the data gateway of described terminal selection, can also comprise that (described gateway can be the associating gateway to gateway type information, also can be data gateway and gateway), can also carry APN, gateway address information, data gateway address information;
The second information acquisition module is used for when described device is destination apparatus, is retrieved as the positional information of the data gateway of described terminal selection;
Second gateway is selected module, be used for when described device is destination apparatus, the positional information of the data gateway that obtains according to the described second information acquisition module judges whether described data gateway is the local data gateway of terminal access position, if still select described data gateway for terminal; Otherwise, judge whether to visit the ground routing optimality, if do not need, still select described data gateway for terminal, if desired, for terminal is reselected data gateway.
The device for terminal selection gateway that the invention described above provides specifically can be the mobile management entity in the EPS network.
The device that the invention described above provides owing to obtained the positional information and the gateway type information of data gateway, therefore can be selected this locality associating gateway of a terminal access position, thereby improve forward efficiency.When not existing described this locality to unite gateway, also can select one apart from the nearest data gateway of terminal access position, thereby can reduce the connection jumping figure according to described positional information.In addition, owing to can also obtain protocol information, therefore, when selecting gateway, can also satisfy the requirement of terminal to procotol for terminal.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. the method for terminal selection gateway is characterized in that, comprising:
According to the positional information and the gateway type information of the data gateway that obtains, select this locality associating gateway of a terminal access position;
According to the address of described associating gateway resolution data gateway and the address of gateway;
Be defined as data gateway and the gateway that terminal is selected according to the address of described data gateway and the address of gateway;
The positional information of the data gateway that described basis is obtained and gateway type information, select the step of this locality associating gateway of a terminal access position to comprise:
According to the positional information of the data gateway that obtains, search the local data gateway of terminal access position;
According to the gateway type information of the data gateway that obtains, in the local data gateway of the described terminal access position that finds, select an associating gateway;
Perhaps,
According to the gateway type information of the data gateway that obtains, search the associating gateway;
According to the positional information of the data gateway that obtains, in the described associating gateway that finds, select this locality associating gateway of a terminal access position.
2. method according to claim 1 is characterized in that, this method also comprises the positional information of obtaining data gateway and the process of gateway type information:
By domain name service dns resolution APN APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the gateway type information and the positional information of this data gateway;
Perhaps,
By dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the positional information of this data gateway;
Whether the local data gateway of resolving the data gateway of described APN correspondence or terminal access position comprises the address of gateway, obtains the gateway type information of described data gateway according to analysis result;
Perhaps,
By dns resolution APN, obtain the information on services corresponding with described APN, obtain the gateway type information and the positional information of described data gateway by this information on services.
3. method according to claim 2 is characterized in that, the positional information of the data gateway that described basis is obtained and gateway type information select the step of this locality associating gateway of a terminal access position specifically to comprise:
The protocol information that protocol information that comprises according to the title of the data gateway of APN correspondence or corresponding information on services comprise, and the positional information of the data gateway that obtains and gateway type information, selection meets protocol requirement, and at this locality of terminal access position associating gateway.
4. according to any described method of claim 1~3, it is characterized in that this method also comprises:
If there is the local data gateway of terminal access position, but do not have this locality of terminal access position to unite gateway, select the local data gateway of a terminal access position also to resolve its address, select a local service gateway and resolve its address; Perhaps,
If there is not the local data gateway of terminal access position, select one apart from the nearest data gateway of terminal access position and resolve its address, select a local service gateway and resolve its address.
5. method according to claim 1 is characterized in that, this method also comprises:
After network side switched, what the objective network side was obtained the transmission of source network side was the positional information of the data gateway of described terminal selection;
Judge according to the positional information of described data gateway whether described data gateway is the local data gateway of terminal access position, if still select described data gateway for terminal; Otherwise, judge whether to visit the ground routing optimality, if do not need, still select described data gateway for terminal, if desired, for terminal is reselected data gateway.
6. the device for terminal selection gateway is characterized in that, comprising:
First gateway is selected module, is used for positional information and gateway type information according to the data gateway that obtains, selects this locality associating gateway of a terminal access position;
The address resolution module is used for selecting the address of the associating gateway resolution data gateway that module selects and the address of gateway according to described first gateway;
The gateway determination module is used for being defined as data gateway and the gateway that terminal is selected according to the address of the described data gateway of described address resolution module parses and the address of gateway;
Described first gateway selects module to comprise the first this locality associating gateway selection module or the second local associating gateway selection module:
The described first local associating gateway selection module is used for the positional information according to the data gateway that obtains, and searches the local data gateway of terminal access position; According to the gateway type information of the data gateway that obtains, in the local data gateway of the described terminal access position that finds, select an associating gateway;
The described second local associating gateway selection module is used for the gateway type information according to the data gateway that obtains, and searches the associating gateway; According to the positional information of the data gateway that obtains, in the described associating gateway that finds, select this locality associating gateway of a terminal access position.
7. device according to claim 6 is characterized in that this device also comprises first information acquisition module, and described first information acquisition module specifically comprises:
First parsing module is used for by dns resolution APN, obtains the title of the data gateway corresponding with described APN, and the title of each data gateway comprises the gateway type information and the positional information of this data gateway; Perhaps,
Second parsing module, be used for by dns resolution APN, obtain the title of the data gateway corresponding with described APN, the title of each data gateway comprises the positional information of this data gateway, whether the local data gateway of resolving the data gateway of described APN correspondence or terminal access position comprises the address of gateway, obtains the gateway type information of described data gateway according to analysis result; Perhaps,
The 3rd parsing module is used for by dns resolution APN, obtains the information on services corresponding with described APN, obtains the gateway type information and the positional information of described data gateway by this information on services.
8. device according to claim 7 is characterized in that:
The title that described first parsing module or second parsing module obtain the data gateway of described APN correspondence also comprises protocol information;
Described first gateway is selected module, be used for the protocol information that the title of the data gateway of the described APN correspondence obtained according to described first parsing module or second parsing module comprises, positional information and gateway type information with the data gateway that obtains, selection meets protocol requirement, and at this locality of terminal access position associating gateway; Perhaps,
The information on services that described the 3rd parsing module obtains described APN correspondence also comprises protocol information;
Described first gateway is selected module, be used for the protocol information that the information on services of the described APN correspondence obtained according to described the 3rd parsing module comprises, with the positional information and the gateway type information of the data gateway that obtains, select to meet protocol requirement, and at this locality of terminal access position associating gateway.
9. according to any described device of claim 5~8, it is characterized in that, described first gateway selects module also to be used for: if there is the local data gateway of terminal access position, but this locality associating gateway that does not have terminal access position, select the local data gateway of a terminal access position and resolve its address, select a local service gateway and resolve its address; If there is not the local data gateway of terminal access position, select one apart from the nearest data gateway of terminal access position and resolve its address, select a local service gateway and resolve its address.
10. device according to claim 5 is characterized in that, this device also comprises:
Information sending module is used for when described device is source apparatus, is sent as the positional information of the data gateway of described terminal selection;
The second information acquisition module is used for when described device is destination apparatus, is retrieved as the positional information of the data gateway of described terminal selection;
Second gateway is selected module, be used for when described device is destination apparatus, the positional information of the data gateway that obtains according to the described second information acquisition module judges whether described data gateway is the local data gateway of terminal access position, if still select described data gateway for terminal; Otherwise, judge whether to visit the ground routing optimality, if do not need, still select described data gateway for terminal, if desired, for terminal is reselected data gateway.
CN2008101056831A 2008-04-30 2008-04-30 Method and device for selecting gateway for terminal Active CN101572855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101056831A CN101572855B (en) 2008-04-30 2008-04-30 Method and device for selecting gateway for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101056831A CN101572855B (en) 2008-04-30 2008-04-30 Method and device for selecting gateway for terminal

Publications (2)

Publication Number Publication Date
CN101572855A CN101572855A (en) 2009-11-04
CN101572855B true CN101572855B (en) 2011-09-14

Family

ID=41232062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101056831A Active CN101572855B (en) 2008-04-30 2008-04-30 Method and device for selecting gateway for terminal

Country Status (1)

Country Link
CN (1) CN101572855B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056129A (en) * 2009-11-05 2011-05-11 中兴通讯股份有限公司 Establishing method and device of local Internet protocol (IP) access connection
CN102238704B (en) * 2010-05-05 2015-03-11 中国移动通信集团公司 Method and device for selecting local gateway for user equipment (UE) in wireless network
CN102316543A (en) * 2010-06-29 2012-01-11 大唐移动通信设备有限公司 Serving gateway reselection method, system and equipment
CN102387490B (en) * 2010-09-03 2015-08-12 中兴通讯股份有限公司 A kind of method and system inquiring about local gateway
CN102158915B (en) * 2011-02-17 2014-07-09 大唐移动通信设备有限公司 Method for keeping selective IP flow shunt connection during switching and device
CN102781004B (en) * 2011-05-10 2017-05-24 中兴通讯股份有限公司 Method and device for selecting gateways
CN102868999A (en) * 2011-07-04 2013-01-09 中兴通讯股份有限公司 Method and system for establishing packet data network connection
EP2849465A4 (en) * 2012-06-13 2015-06-03 Huawei Tech Co Ltd Service gateway obtaining method and mobile management node, data gateway and system
CN103298075B (en) * 2013-06-05 2015-12-02 天翼电信终端有限公司 The method of dual-mode terminal fast network selection
CN106973415B (en) * 2017-03-07 2019-09-20 中国联合网络通信集团有限公司 A kind of method and device obtaining PGW FQDN
US10779346B2 (en) 2017-03-27 2020-09-15 Qualcomm Incorporated Local area data network connectivity

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141822A (en) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 Gateway selecting method of wireless network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141822A (en) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 Gateway selecting method of wireless network

Also Published As

Publication number Publication date
CN101572855A (en) 2009-11-04

Similar Documents

Publication Publication Date Title
CN101572855B (en) Method and device for selecting gateway for terminal
CN106790732B (en) Address translation method, device and system, and network identification control method and device
CN100431378C (en) Proactive deployment of decision mechanisms for optimal handover
KR101796405B1 (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
KR101111153B1 (en) Accessing gateway selecting method, system and gateway selecting implementing node of mobile group domain
US7406064B2 (en) Communication system, server, router, and mobile communications terminal
CN1138386C (en) Activating packet data protocol context for roaming subscriber
CN101151928B (en) The technology of CS and PS registration is coordinated in multi-operator core network
CN102137487B (en) Method and equipment for selecting service gateway
CN103262503B (en) Node selecting method and equipment in packet core network
CN1218592C (en) Hierarchical message addressing scheme
CN101822080B (en) Technique for providing support for plurality of mobility management protocols
CN106375987A (en) Method and system for selecting network slice
CN101616404B (en) method, device and system for selecting gateway
EP2421302A1 (en) Core network selection in a shared radio access network
CN101523973A (en) Tunnel handover between a wlan and a cellular network
CN1518838A (en) Protecol to determine optimal target accessrouter for seamless IP-level handover
CN101523953A (en) Inter-system handoffs in multi-access environments
WO2009149761A1 (en) Target access point selection policies based on access point category tags
US20080040787A1 (en) Communication System, Mobile Terminal and Authentication Server
CN102281586A (en) Method, device and system for selecting mobile management entity
CN101047637B (en) Method for requiring local mobile anchor point information by access route
CN102111458A (en) Method and device for obtaining IP address of mobile terminal
KR20080050280A (en) Method and system for supporting seamless handover using multiple wireless interface in mobile terminal
CN114363912A (en) Data transmission method, system, computer device and storage medium of heterogeneous network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant