CN105792169B - Method for selecting gateway and device - Google Patents

Method for selecting gateway and device Download PDF

Info

Publication number
CN105792169B
CN105792169B CN201410811554.XA CN201410811554A CN105792169B CN 105792169 B CN105792169 B CN 105792169B CN 201410811554 A CN201410811554 A CN 201410811554A CN 105792169 B CN105792169 B CN 105792169B
Authority
CN
China
Prior art keywords
user
gateway
response message
location updating
identity
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
CN201410811554.XA
Other languages
Chinese (zh)
Other versions
CN105792169A (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 CN201410811554.XA priority Critical patent/CN105792169B/en
Publication of CN105792169A publication Critical patent/CN105792169A/en
Application granted granted Critical
Publication of CN105792169B publication Critical patent/CN105792169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method for selecting gateway and device, comprising: receives the location update request message that network side equipment is sent, the identity of the user is carried in the location update request message;Location updating response message is obtained, the location updating response message is generated according to the location update request message, and the identity of the user is carried in the location updating response message;According to the identity of the user, the gateway information of the user is inquired in the preset database, if inquiring the gateway information of the user, then by being inserted into the gateway information of the user in the location updating response message, the location updating response message is modified, and sends modified location updating response message to the network side equipment.Using the technical solution of the embodiment of the present invention, different gateway informations can be set for each user flexibility, to select different gateways for it according to the actual demand of different user, flexibility is higher.

Description

Method for selecting gateway and device
Technical field
The present invention relates to the communication technology more particularly to a kind of method for selecting gateway and device.
Background technique
With the continuous development of network virtualization, gateway is also constantly breaking up in function and management, and then occurs not The gateway of congenerous, such as voice long term evolution (Voice over Long Term Evolution, abbreviation VoLTE) exclusive net It closes, or belongs to different institutions, such as Mobile Virtual Network Operator (Mobile Virtual Network Operator, letter Claim MVNO) gateway etc. of operation.
Usual Universal Wireless Packet Service (General Packet Radio Service, abbreviation GPRS) supporting node (Serving GPRS Support Node, abbreviation SGSN) or mobile management entity (Mobility Management Entity, abbreviation MME) when selecting gateway for user, it is all based on group (Group) attribute of user, most basic spy Property is the access point name (Access Point Name, abbreviation APN) based on user.The common enhancing realization side based on APN Case has, and charging property, the band of position or access capability based on user etc. are that user selects gateway.
However, being currently the scheme of user's selection gateway according to the group information of user, flexibility is poor, is unable to satisfy each The different actual demands of user.
Summary of the invention
The embodiment of the present invention provides a kind of method for selecting gateway and device, to the side for solving to select gateway in the prior art The problem of case flexibility is poor, is unable to satisfy the different actual demands of each user.
The first aspect of the present invention provides a kind of method for selecting gateway, comprising:
The location update request message that network side equipment is sent is received, carries the use in the location update request message The identity at family;
Location updating response message is obtained, the location updating response message is raw according to the location update request message At, the identity of the user is carried in the location updating response message;
According to the identity of the user, the gateway information of the user is inquired in the preset database, if inquiring The gateway information of the user modifies institute then by being inserted into the gateway information of the user in the location updating response message Location updating response message is stated, and sends modified location updating response message to the network side equipment, so that the net Network side apparatus is that the user selects corresponding gateway, the preset data according to the modified location updating response message The corresponding relationship between the identity and gateway information of user is saved in library.
In the first possible implementation, according in a first aspect, the acquisition location updating response message, comprising:
The location update request message is sent to the HSS, so that the HSS is according to the location update request message Generate the location updating response message;
Receive the location updating response message that the HSS is sent.
In the second possible implementation, with reference to first aspect with the first possible implementation, the method Further include:
If not inquiring the gateway information of the user, the location updating response is sent to the network side equipment and is disappeared Breath.
In the third possible implementation, with reference to first aspect, the first possible implementation and second can Can implementation, it is described receive mobile management entity network side equipment send location update request message before, further includes:
Obtain the corresponding relationship between the identity and gateway information of the user;
According to the corresponding relationship between the identity and gateway information of the user, the presetting database is updated.
The second aspect of the present invention provides a kind of gateway selection device, comprising:
Receiving module, for receiving the location update request message of mobile management entity network side equipment transmission, institute's rheme Set the identity for updating and carrying the user in request message;
Module is obtained, for obtaining location updating response message, the location updating response message is according to the position It updates what request message generated, the identity of the user is carried in the location updating response message;
Sending module inquires the gateway of the user for the identity according to the user in the preset database Information, if inquiring the gateway information of the user, by the net for being inserted into the user in the location updating response message Information is closed, modifies the location updating response message, and send modified location updating response to the network side equipment and disappear Breath, so that the network side equipment is that the user selects corresponding net according to the modified location updating response message It closes, the corresponding relationship between the identity and gateway information of user is saved in the presetting database.
In the first possible implementation, according to second aspect, the acquisition module is specifically used for:
The location update request message is sent to the HSS, so that the HSS is according to the location update request message Generate the location updating response message;
Receive the location updating response message that the HSS is sent.
In the second possible implementation, in conjunction with second aspect and the first possible implementation, the transmission Module is also used to:
If not inquiring the gateway information of the user, the location updating response is sent to the network side equipment and is disappeared Breath.
In the third possible implementation, in conjunction with second aspect, the first possible implementation and second can The implementation of energy, the acquisition module are also used to:
Obtain the corresponding relationship between the identity and gateway information of the user;
According to the corresponding relationship between the identity and gateway information of the user, the presetting database is updated.
Technical solution provided in an embodiment of the present invention receives the location update request message that network side equipment is sent, and obtains Location updating response message inquires the gateway information of user further according to the identity of user in the preset database, if inquiry To the gateway information of user, then by being inserted into the gateway information of user in location updating response message, location revision, which updates, to be rung Message is answered, and sends modified location updating response message to network side equipment, so that network side equipment is according to modified Location updating response message is that user selects corresponding gateway.Since the gateway information of user is existed according to the identity of user Attribute query in presetting database based on single user, thus using the technical solution of the embodiment of the present invention, it can be each Different gateway informations is arranged in user flexibility, to select different gateways for it, flexibly according to the actual demand of different user Property is higher.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram for the method for selecting gateway that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides method for selecting gateway flow diagram;
Fig. 3 is the structural schematic diagram for the gateway selection device that further embodiment of this invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram for the method for selecting gateway that one embodiment of the invention provides.As shown in Figure 1, this method packet It includes:
S101, the location update request message that network side equipment is sent is received.
S102, location updating response message is obtained.
S103, the identity according to user inquire the gateway information of user, if inquiring user in the preset database Gateway information, then by location updating response message be inserted into user gateway information, location revision update response message, And modified location updating response message is sent to network side equipment, so that network side equipment is according to modified location updating Response message is that user selects corresponding gateway.
The executing subject of each step of the present embodiment both can be home subscriber server (Home Subscriber Server, abbreviation HSS), or another gateway information entity for inquire user different from HSS is ordered here Entitled puppet home subscriber server (Pseudo-HSS).
Specifically, the location update request message that network side equipment is sent is received first, in the location update request message The identity of user is carried, the identity of above-mentioned user for example can be the international mobile subscriber identity of user (International Mobile Subscriber Identification Number, abbreviation IMSI) etc. is used for identifying The information of family identity.Optionally, network side equipment here can be mobile management entity (Mobility Management Entity, abbreviation MME), or and Universal Wireless Packet Service (General Packet Radio Service, referred to as GPRS) supporting node (Serving GPRS Support Node, abbreviation SGSN).
And then location updating response message is obtained, which is according to location update request message It generates, and carries the identity of above-mentioned user in the location updating response message.Optionally, when each step of the present embodiment When executing subject is HSS, which, which can be, is generated by HSS according to location update request message, and is worked as When the executing subject of each step of the present embodiment is Pseudo-HSS, which be can be by Pseudo-HSS elder generation It is sent to HSS, then after generating location updating response message according to above-mentioned location update request message by HSS, then by location updating Response message is sent to user.
It, can be according to the identity of above-mentioned user, in the preset database after obtaining location updating response message The gateway information of user is inquired, the corresponding pass between the identity of user and gateway information is preserved in above-mentioned presetting database System can carry out the flexible setting database specifically when realizing according to specific needs.If inquiring user in the preset database Gateway information, then will be inserted into the gateway information of user in location updating response message, and form the response of modified location updating Message, and send it to network side equipment, so that network side equipment disappears receiving above-mentioned modified location updating response It can be that user selects corresponding gateway according to the gateway information of user therein after breath.The gateway information of above-mentioned user indicates For the information of the preferred gateways of user selection.It should be noted that above-mentioned presetting database is also possible on corpus separatum It realizes, herein and without limitation.
It is with the difference of the prior art, in the prior art, HSS is according to location update request message, according to its local User signing contract information generate location updating response message, directly send it to network side equipment, by being in the prior art, Local user signing contract information is based on groups of users attribute, thus network side equipment disappears according to the response of existing location updating Breath can only find the group attribute based on user and be the gateway of user's selection, and cannot be based on single user or certain several user Select preferred gateway.For example, if having one group of user is all user's fee, wherein having a user is apple (IPhone) User, and other users are Android user, then, according to the gateway selection scheme of the existing charging property based on user, HSS can be inserted into the charge information of the user in location updating response message, later again by network side equipment according to the position more New response message is that user selects to support the gateway of pre-payment.And in the present invention, with the executing subject of each step of the present embodiment For HSS, when being only IPhone user configuration preferred gateways in the presetting database, then HSS can be default by inquiring Database, for the IPhone user select preferred gateways, rather than can only based on the group attribute of its charging come for its selection with Other Androids are used for the same gateway.
It should be noted that with third generation partner program (3rd Generation Partnership Project, Abbreviation 3GPP) for technical standard (Technical Specification, abbreviation TS) 29.27 agreements, when the present embodiment respectively walks When rapid executing subject is Pseudo-HSS, when implementing the scheme of the present embodiment, need newly to introduce a Pseudo- HSS entity, by taking above-mentioned network side equipment is MME as an example, which can be deployed on the S6a standard interface path of MME-HSS, And it does not need to do any agency by agreement, can be set to carry out transparent transmission, above-mentioned position to most of S6a standard message It updates request message and location updating response message is S6a standard message.Pseudo-HSS entity only is monitoring to need It modifies to location updating response message, when gateway information to be inserted into user just carries out message modification.In addition, the present embodiment Scheme deployment on condition that the non-deployment secure control strategy of diameter (Diameter) interface, such as Internet Protocol Security (Internet Protocol Security, abbreviation IPsec), Transport Layer Security (Transport Layer Security, letter Claim TLS) agreement etc..
The technical solution of the embodiment of the present invention receives the location update request message that network side equipment is sent, and obtains position Response message is updated, further according to the identity of user, the gateway information of user is inquired in the preset database, if inquiring use The gateway information at family, then by being inserted into the gateway information of user in location updating response message, location revision updates response and disappears Breath, and modified location updating response message is sent to network side equipment, so that network side equipment is according to modified position Updating response message is that user selects corresponding gateway.Since the gateway information of user is the identity according to user default Attribute query in database based on single user, thus using the technical solution of the embodiment of the present invention, it can be each user The different gateway information of flexible setting selects different gateways for it thus according to the actual demand of different user, flexibility compared with It is high.
Fig. 2 be another embodiment of the present invention provides method for selecting gateway flow diagram.Each step of the present embodiment Executing subject both can be HSS, or another gateway information entity for inquire user different from HSS, i.e., Pseudo-HSS.In addition, initiate the location updating of user and select the network side equipment of gateway for user both can be MME, It may be SGSN, the present embodiment only elaborates by taking MME as an example, and process when network side equipment is SGSN is same, Details are not described herein again.As shown in Fig. 2, this method comprises:
S201, obtain user identity and gateway information between corresponding relationship.
Specifically, the identity of above-mentioned user can be the IMSI of user, the gateway information of above-mentioned user can be use The gateway address of the gateway selection strategy at family or the corresponding gateway of user, specifically, above-mentioned gateway selection strategy for example can be, According to the device type of user, for example it is IPhone user or Android user, the strategy of gateway is distributed for it, or press According to the number section of the IMSI of user, the strategy etc. of a certain gateway, in practice, the user are distributed for the identical user of top N IMSI Gateway selection strategy can be operator and configured according to the specific customized demand of different user.The corresponding net of above-mentioned user The gateway address of pass refers to be directly determined according to the identity of user, the internet protocols of the corresponding preferred gateways of the user Discuss the address (Internet Protocol, abbreviation IP).
Optionally, it can receive the corresponding pass between the identity and gateway information for the user that the open gateway of ability is sent System.
S202, according to the corresponding relationship between the identity and gateway information of user, update presetting database.
Specifically, the corresponding relationship between the identity and gateway information of user can be saved into presetting database In.
Optionally, in practice, when presetting database is set, it can be arranged according to following list item and save preset data Information in library:
Table 1
IMSI MSISDN It is preferred that mobile gateway group
12345678xxx * 1
12345678901 987654321 2
Table 2
Group number Mobile gateway IP Load balancing ratio
1 80.1.1.2 60%
80.1.2.2 40%
2 80.1.3.2 50%
80.1.4.2 50%
In table 1, MSISDN indicates that mobile contracted user international (Mobile Subscriber International) is comprehensive Close service digital network (Integrated Service Digital Network, abbreviation ISDN) or Public Switched Telephone Network (Public Switched Telephone Network, abbreviation PSTN).
The first row of table 1 indicates that IMSI is these users of 12345678xxx, in this case, due to only needing basis IMSI selects gateway, therefore, indicates MSISDN with " * " number without the MSISDN for paying close attention to these users, thus in table 1.For this A little users, preferred mobile gateway group are 1, correspond to table 2, due to the load balancing ratio for the gateway that IP address is 80.1.1.2 Example is 60%, and the load balancing ratio for the gateway that IP address is 80.1.2.2 is 40%, and therefore, expression can be with 3:2 Ratio selects above-mentioned two gateway for these users, i.e., 60% user selects IP address for the gateway of 80.1.1.2,40% User selects IP address for the gateway of 80.1.2.2.
Second row of table 2 indicates that IMSI is 12345678901 user, for the user, preferred mobile gateway group It is 2, corresponds to table 2, since the load balancing ratio of gateway that IP address is 80.1.3.2 is 50%, and IP address is 80.1.4.2 the load balancing ratio of gateway is 50%, since the load balancing ratio of the two gateways is identical, can be with According to the business of the user, it is selected as according to 50% to 50% and selects gateway, for example, 50% service selection IP address is 80.1.3.2 for gateway as preferred gateways, remaining 50% service selection IP address is the gateway of 80.1.4.2 as preferred net It closes.
S203, the location update request message that MME is sent is received.
The description of the step is identical as step S101, and details are not described herein again.
Optionally, in 29.27 agreement of 3GPP TS, which can be UpdateLocationRequest message.
S204, location updating response message is obtained.
Optionally, in 29.27 agreement of 3GPP TS, which can be UpdateLocationAnswer message.
Specifically, when the executing subject of each step of the present embodiment be HSS when, the location updating response message can be by HSS is generated according to location update request message, and when the executing subject of each step of the present embodiment is Pseudo-HSS, the position It sets to update response message and can be and HSS is first sent to by Pseudo-HSS, then is raw according to above-mentioned location update request message by HSS User is sent to after location updating response message, then by location updating response message.
S205, the identity according to user inquire the gateway information of user, if inquiring user in the preset database Gateway information, then by location updating response message be inserted into user gateway information, location revision update response message, And modified location updating response message is sent to MME, so that MME is user according to modified location updating response message Select corresponding gateway.
The description of the step is identical as step S103.
Specifically, by taking IMSI in above-mentioned Tables 1 and 2 is 12345678901 user as an example, if the gateway information of the user For the gateway selection strategy of user, then directly the gateway selection strategy insertion position of the user is updated in response message, Then by table 2 mobile gateway IP and load balancing ratio issue MME, by MME according to above- mentioned information, select gateway for user; It is that after user chooses gateway, will select according to table 2 if the gateway information of user is the gateway address of the corresponding gateway of user The IP address insertion position for the gateway selected updates in response message, and sends it to MME, by MME according to above- mentioned information, directly For the corresponding gateway of designated user.
If S206, the gateway information for not inquiring user, location updating response message is sent to MME.
Specifically, if not inquiring the gateway information of user in the preset database, then it represents that be not user selection Therefore the demand of preferred gateways directly can send location updating response message to MME.The operation in the prior art, HSS After generating location updating response message according to location update request message, send it to MME be it is identical, it is no longer superfluous herein It states.
It should be noted that can be user according to step S201~S206 for the user not yet initially adhered to Gateway is selected, and in initial attachment, not yet being preserved in above-mentioned presetting database for selecting preferred net for the user The information of pass, i.e. corresponding relationship between the identity and gateway information of the user, alternatively, initial attached for having been completed User, whether no matter the user is in initial attachment, save in above-mentioned presetting database and select preferred net for the user The information of pass, by step S201~S202, has updated the identity mark of the user after user's attachment again in presetting database Know the corresponding relationship between gateway information, then, it just needs to migrate gateway for the user at this time.Specifically, can first to MME sends cancel location message, which is used to indicate MME and carries out canceling position operation to user, and MME is being received After the cancel location message, attachment removal process is initiated to the user, user can be adhered to again at this time, i.e., send to MME Initial attachment message, after MME receives the initial attachment message, the gateway that user can be carried out according to step S203~S206 is selected It selects, method for selecting gateway at this time selects the method for gateway identical with for the user that initially adheres to.Optionally, in 3GPP TS In 29.27 agreements, which can be CancelLocationRequest message.
The application of above-mentioned method for selecting gateway in practice is illustrated with specific example below.
For example, being disposed in gateway features under not reciprocity scene, that is, there are some gateways, i.e., deploy new spy in local gateway Property, and do not have on other gateways, then, for each user with same group attribute, wherein there is a certain user to contract New features, and the new features need local gateway it is online or operation, for example, only in Virtual User gateway (Virtual Unified Gateway, abbreviation UGW) characteristic such as key acceleration (TurboButton) or built-in based on service has been opened above The service chaining (ServiceChain) of routing (Service Based Routing, abbreviation SBR), and storage UGW, i.e., do not use These new features are not disposed on the UGW of virtualization technology, in order to really run these characteristics, just needing at this time will signing The user of value-added service (Value Added Servic, abbreviation VAS) business in TurboButton or ServiceChain It moves on corresponding vUGW.
Specifically, firstly, user passes through business support system by access portal website (Portal) or operator (Business Support System, abbreviation BSS) interim (Provision) system, completes customer service signing, for example use TurboButton business is ordered to TurboButton server (Server) in family, later from service management service node to ability Open gateway issues signing information, and signing information here is the identity of above-mentioned user and the gateway information of user, so Afterwards, which is synchronized in presetting database by the open gateway of ability, later, due to the user have been completed it is initial attached , i.e., specified gateway is selected for it via MME, then just needing at this time will be on the corresponding gateway transport to vUGW of the user. Specifically, the open gateway of ability can request to initiate canceling position renewal process to HSS, such as while issuing signing information Fruit HSS do not support, can also be with short massage notice user, re-attaching network;If HSS initiates canceling position mistake by HSS Journey, instruction user need to be adhered to again;User sends attachment message when adhering to again, to MME, and MME receives attachment and disappears After breath, it can be selected according to the gateway for described in step S203~S206, carrying out user.Herein, user sends when adhering to again Adhere to message, sends initial attachment message in initial attachment with user, it is identical to request to carry out the process under location updating.
The technical solution of the embodiment of the present invention receives the location update request message that MME is sent, and obtains location updating response Message inquires the gateway information of user, if inquiring the gateway of user further according to the identity of user in the preset database Information, then by location updating response message be inserted into user gateway information, location revision update response message, and to MME sends modified location updating response message, so that MME is user's selection according to modified location updating response message Corresponding gateway.Since the gateway information of user is the identity according to user in the preset database based on single user's Attribute query, thus using the technical solution of the embodiment of the present invention, different gateway informations can be set for each user flexibility, To select different gateways for it, flexibility is higher according to the actual demand of different user.
Fig. 3 is the structural schematic diagram for the gateway selection device that further embodiment of this invention provides.As shown in figure 3, the gateway Selection device 1 includes: receiving module 10, obtains module 11 and sending module 12.
Specifically, receiving module 10, for receiving the location update request message of mobile management entity MME transmission, position Update the identity that user is carried in request message;Module 11 is obtained, for obtaining location updating response message, location updating Response message is generated according to location update request message, and the identity of user is carried in location updating response message;Hair Module 12 is sent, for the identity according to user, the gateway information of user is inquired in the preset database, if inquiring user Gateway information, then by location updating response message be inserted into user gateway information, location revision update response message, And modified location updating response message is sent to MME, so that MME is user according to modified location updating response message Corresponding gateway is selected, the corresponding relationship between the identity and gateway information of user is saved in presetting database.
Further, it obtains module 11 to be specifically used for: location update request message is sent to HSS, so that HSS is according to position It updates request message and generates location updating response message;Receive the location updating response message that HSS is sent.
Further, sending module 12 is also used to: if not inquiring the gateway information of user, sending position to MME Update response message.
Further, it obtains module 11 to be also used to: obtaining the corresponding pass between the identity of user and gateway information System;According to the corresponding relationship between the identity and gateway information of user, presetting database is updated.
Further, module 11 is obtained to be specifically used for: receive the identity of the user that the open gateway of ability is sent with Corresponding relationship between gateway information.
Further, sending module 12 is also used to: sending cancel location message to MME, cancel location message is for referring to Show that MME carries out canceling position operation to user.
The technical solution of the embodiment of the present invention receives the location update request message that MME is sent, and obtains location updating response Message inquires the gateway information of user, if inquiring the gateway of user further according to the identity of user in the preset database Information, then by location updating response message be inserted into user gateway information, location revision update response message, and to MME sends modified location updating response message, so that MME is user's selection according to modified location updating response message Corresponding gateway.Since the gateway information of user is the identity according to user in the preset database based on single user's Attribute query, thus using the technical solution of the embodiment of the present invention, different gateway informations can be set for each user flexibility, To select different gateways for it, flexibility is higher according to the actual demand of different user.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the unit or module It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or module It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or module It closes or communicates to connect, can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (14)

1. a kind of method for selecting gateway characterized by comprising
The location update request message that network side equipment is sent is received, the identity of user is carried in the location update request message Mark;
Location updating response message is obtained, the location updating response message is generated according to the location update request message , the identity of the user is carried in the location updating response message;
According to the identity of the user, the gateway information of the user is inquired in the preset database, if inquiring described The gateway information of user, then by being inserted into the gateway information of the user in the location updating response message, described in modification Location updating response message, and modified location updating response message is sent to the network side equipment, so that the network Side apparatus is that the user selects corresponding gateway, the presetting database according to the modified location updating response message Corresponding relationship between the middle identity and gateway information for saving user.
2. the method according to claim 1, wherein the acquisition location updating response message, comprising:
The location update request message is sent to home subscriber server HSS, so that the HSS is asked according to the location updating Message is asked to generate the location updating response message;
Receive the location updating response message that the HSS is sent.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
If not inquiring the gateway information of the user, the location updating response message is sent to the network side equipment.
4. according to the method described in claim 3, it is characterized in that, described receive what mobile management entity network side equipment was sent Before location update request message, further includes:
Obtain the corresponding relationship between the identity and gateway information of the user;
According to the corresponding relationship between the identity and gateway information of the user, the presetting database is updated.
5. according to the method described in claim 4, it is characterized in that, the identity for obtaining the user and gateway information Between corresponding relationship, comprising:
Corresponding relationship between the identity and gateway information of the user that the open gateway of reception ability is sent.
Pair 6. method according to claim 4 or 5, between the identity and gateway information according to the user It should be related to, after updating the presetting database, further includes:
Cancel location message is sent to the network side equipment, the cancel location message is used to indicate the network side equipment pair The user carries out canceling position operation.
7. according to method of claim 6, which is characterized in that the gateway information of the user is that the gateway of the user selects The gateway address of the corresponding gateway of tactful or described user.
8. according to method of claim 7, which is characterized in that the network side equipment is mobile management entity MME or general Grouping service wireless supporting node SGSN.
9. a kind of gateway selection device characterized by comprising
Receiving module, for receiving the location update request message of network side equipment transmission, in the location update request message Carry the identity of user;
Module is obtained, for obtaining location updating response message, the location updating response message is according to the location updating What request message generated, the identity of the user is carried in the location updating response message;
Sending module inquires the gateway information of the user for the identity according to the user in the preset database, If inquiring the gateway information of the user, the gateway by being inserted into the user in the location updating response message is believed Breath modifies the location updating response message, and sends modified location updating response message to the network side equipment, with The network side equipment is set to select corresponding gateway according to the modified location updating response message user, it is described The corresponding relationship between the identity and gateway information of user is saved in presetting database.
10. device according to claim 9, which is characterized in that the acquisition module is specifically used for:
The location update request message is sent to home subscriber server HSS, so that the HSS is asked according to the location updating Message is asked to generate the location updating response message;
Receive the location updating response message that the HSS is sent.
11. device according to claim 9 or 10, which is characterized in that the sending module is also used to:
If not inquiring the gateway information of the user, the location updating response message is sent to the network side equipment.
12. device according to claim 11, which is characterized in that the acquisition module is also used to:
Obtain the corresponding relationship between the identity and gateway information of the user;
According to the corresponding relationship between the identity and gateway information of the user, the presetting database is updated.
13. device according to claim 12, which is characterized in that the acquisition module is specifically used for:
Corresponding relationship between the identity and gateway information of the user that the open gateway of reception ability is sent.
14. device according to claim 12 or 13, the sending module is also used to:
Cancel location message is sent to the network side equipment, the cancel location message is used to indicate the network side equipment pair The user carries out canceling position operation.
CN201410811554.XA 2014-12-22 2014-12-22 Method for selecting gateway and device Active CN105792169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410811554.XA CN105792169B (en) 2014-12-22 2014-12-22 Method for selecting gateway and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410811554.XA CN105792169B (en) 2014-12-22 2014-12-22 Method for selecting gateway and device

Publications (2)

Publication Number Publication Date
CN105792169A CN105792169A (en) 2016-07-20
CN105792169B true CN105792169B (en) 2019-07-09

Family

ID=56377250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410811554.XA Active CN105792169B (en) 2014-12-22 2014-12-22 Method for selecting gateway and device

Country Status (1)

Country Link
CN (1) CN105792169B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182045B (en) * 2017-06-26 2020-07-14 北京佰才邦技术有限公司 Method and device for mobility management of communication network system
ES2897439T3 (en) * 2019-10-09 2022-03-01 Emnify Gmbh Multi-layer distributed GTP-C processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098348A (en) * 2009-12-11 2011-06-15 中兴通讯股份有限公司 Selection method of packet data network gateway and mobility management network element
CN102244854A (en) * 2010-05-10 2011-11-16 中兴通讯股份有限公司 Method for selecting packet data network gateway (PGW) from MTC (Machine Type Communication) group and mobility management network element
CN102413453A (en) * 2010-09-21 2012-04-11 中兴通讯股份有限公司 Method and system for sharing subscriber number of machine type communication (MTC) equipment
CN102711087A (en) * 2012-06-08 2012-10-03 中兴通讯股份有限公司 Method and system for regulating configuration data, user visitor and attribution servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123477B (en) * 2010-01-08 2015-06-10 中兴通讯股份有限公司 Access realization method and device of M2M (Machine to Machine) core network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098348A (en) * 2009-12-11 2011-06-15 中兴通讯股份有限公司 Selection method of packet data network gateway and mobility management network element
CN102244854A (en) * 2010-05-10 2011-11-16 中兴通讯股份有限公司 Method for selecting packet data network gateway (PGW) from MTC (Machine Type Communication) group and mobility management network element
CN102413453A (en) * 2010-09-21 2012-04-11 中兴通讯股份有限公司 Method and system for sharing subscriber number of machine type communication (MTC) equipment
CN102711087A (en) * 2012-06-08 2012-10-03 中兴通讯股份有限公司 Method and system for regulating configuration data, user visitor and attribution servers

Also Published As

Publication number Publication date
CN105792169A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
KR101796405B1 (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
CN102238534B (en) Terminal identifier notification and maintenance methods and equipment
CN103430613B (en) For utilizing the system and method for relieving capacity within a wireless communication network
EP2421326B1 (en) Method and apparatus for acquiring machine type communication device group identification
CN103796188B (en) The method and apparatus of downlink transmission data
CN104185208B (en) Close to business authorization method and device, system
CN104105086B (en) Close on selection method and device, the user registering method and device of service server
CN103533531B (en) For collocation method, network and terminal unit and system close to perceptive function
CN102045695B (en) Method and system for acquiring information on MTC (Microsoft Technology Center) server address
EP3635983B1 (en) Esim profile metadata provisioning
CN108886678A (en) A kind of method, apparatus and system of interacting message
CN101388828A (en) Method and device for bearing activation by evolution packet switching system
CN101540992A (en) Method for report retransmission, base station and system thereof
CN103384380B (en) A kind of report method and related device of machine-type communication event
CN106488538A (en) A kind of dedicated network system of selection, terminal, access network node and core net node
CN107318158A (en) A kind of message sends, recognized and mobility, the method for session management and node
JP5930438B2 (en) Access method, mobility management device, and user equipment
CN105792169B (en) Method for selecting gateway and device
CN102868989B (en) List generating method, system and equipment in Long Term Evolution pattern of fusion core net
CN104704867B (en) The method and apparatus of data routing
CN103476019B (en) Method, system and home subscriber server for obtaining access point name
CN108156599B (en) A kind of position management method and device
CN106550349B (en) Management method, server and the service node of subscription data based on group
CN108370460A (en) A kind of signal transmission method and device
CN104469727B (en) The processing method of communication service information and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant