CN100477663C - Packet data protocol context activation method - Google Patents

Packet data protocol context activation method Download PDF

Info

Publication number
CN100477663C
CN100477663C CNB2005100017770A CN200510001777A CN100477663C CN 100477663 C CN100477663 C CN 100477663C CN B2005100017770 A CNB2005100017770 A CN B2005100017770A CN 200510001777 A CN200510001777 A CN 200510001777A CN 100477663 C CN100477663 C CN 100477663C
Authority
CN
China
Prior art keywords
address
ggsn
sgsn
pdp context
connectedness
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.)
Expired - Fee Related
Application number
CNB2005100017770A
Other languages
Chinese (zh)
Other versions
CN1809052A (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 CNB2005100017770A priority Critical patent/CN100477663C/en
Publication of CN1809052A publication Critical patent/CN1809052A/en
Application granted granted Critical
Publication of CN100477663C publication Critical patent/CN100477663C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

This invention provides one PDP upper and down activation method, which comprises the following steps: testing; SGSN getting GGSNIP address list according to APN; testing each address connection to label the abnormal address as unused; Activating PDP process; SGSN receiving terminal end requirement information to get the APN relative GGSNIP address list; the SGSN selecting address to establish requirement message to activate mobile terminal.

Description

A kind of Activiation method of block data protocol context
Technical field
The present invention relates to communication technical field, be meant the contextual Activiation method of a kind of packet data protocol (PDP) especially.
Background technology
The wireless network packet domain adopts packet technology to transmit high speed, low speed data and signaling about the user in mode efficiently.Wireless subsystem separates with network subsystem is strict, makes network subsystem to be utilized again by other wireless access technologys.
GSM still is that UMTS uses a public packet domain core network--GPRS CN (general packet radio service core net).This core net provides packet switching service.GPRS CN schematic diagram as shown in Figure 1, the main composition parts of GPRS CN comprise: SGSN (Serving GPRS Support Node), GGSN (Gateway GPRS Support Node), BG (borde gateway) etc.SGSN and GGSN are referred to as GSN (GPRS Support Node).
When portable terminal (MS) is wanted the access external data network, at first to pass through activation PDP as shown in Figure 2 (packet data protocol) context flow process.Receive the activation PDP Context request message of portable terminal transmission as SGSN after, SGSN request DNS (domain name system) resolves the APN in this request message (Access Point Name), obtains the GGSN IP address list of APN correspondence.SGSN selects an address from the GGSN IP address list.Then, SGSN sends to selected GGSN and sets up the PDP Context request message.Receive that GGSN returns set up the PDP Context response message after, SGSN returns to portable terminal and activates the PDP Context response message.When activating the success of PDP Context flow process, the data path between portable terminal and the external data network is set up, and portable terminal can be visited this external data network.Explanation hereinafter for convenience, we claim that SGSN is the GGSN contact address according to the GGSN IP address that APN obtains.The GGSN contact address of address for using of PDP Context request message purpose created in the conduct that SGSN selects from the GGSN IP address list.
When certain GGSN breaks down, the perhaps line interruption between SGSN and certain GGSN, the IP address of this GGSN no longer is fit to be used by SGSN.In activating the PDP Context process, after SGSN has selected a disabled GGSN address, can initiate to activate the PDP request to selected GGSN address, attempt activating PDP Context.Because the GGSN of fault does not respond, cause the SGSN wait-for-response overtime.Next step of SGSN is to judge whole flow process failure, and perhaps the activation PDP Context is attempted once more as the GGSN contact address of using in another GGSN address in the continuation selection GGSN contact address tabulation.For preceding a kind of selection, increased activation PDP Context mortality.For a kind of selection in back, because the PDP activation process is consuming time longer, therefore, the experience of user side also can be very poor, and he may be unwilling to wait for the long period and abandon this time activating.
When disabled GGSN occurring, the operator can delete the IP address of disabled GGSN correspondence in the DNS by hand, SGSN when inquiring about DNS next time like this, and the GGSN IP address list that is obtained is the address list of having rejected disabled GGSN IP address.Like this, for the activation PDP Context request of new initiation, SGSN will always can choose available GGSN IP address.
But this manual maintenance mode has following shortcoming: the one, and DNS be need manually delete and disabled GGSN IP address, inconvenient operation gone up.The 2nd, only when SGSN inquires about DNS again, could obtain to have rejected the IP address list of disabled GGSN IP address.GGSN IP address become be not applicable to SGSN and inquire about DNS again during, SGSN still may choose disabled GGSN IP address.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of Activiation method of PDP Context, make that in pdp context activation SGSN can only choose available GGSN IP address, shorten the PDP context activation time and improve the PDP context activation success rate.
The Activiation method of a kind of PDP Context provided by the invention comprises testing process and activates the PDP process, wherein,
Testing process comprises: SGSN obtains the GGSNIP address list according to the Access Point Name APN nslookup DNS of system; Whether the connectedness that SGSN detects between each GGSN IP address is normal, and is unavailable with the abnormal GGSN IP of connectedness address mark;
Activating the PDP process comprises: after SGSN receives mobile terminal activating PDP Context request message, obtain the GGSN IP address list of this APN correspondence according to the inquiry of the APN in this message DNS; Never be labeled as and select a GGSN IP address in the disabled GGSN IP address; SGSN sends to the GGSN of the GGSN IP address representative of selecting and sets up the PDP Context request message, and after receiving response message, sends activation PDP Context response message to portable terminal.
A kind of Activiation method of PDP Context also is provided, has comprised:
After SGSN receives mobile terminal activating PDP Context request message, obtain the GGSN IP address list of this APN correspondence according to the inquiry of the APN in this message DNS;
Whether the connectedness that SGSN detects between each GGSN IP address is normal, and is unavailable with the abnormal GGSN IP of connectedness address mark;
Never be labeled as and select a GGSN IP address in disabled each GGSN IP address;
SGSN sends to the GGSN of the GGSN IP address representative of selecting and sets up the PDP Context request message, and after receiving response message, sends activation PDP Context response message to portable terminal.
Wherein, whether normal the connectedness step that described SGSN detects between the GGSN IP address comprise: SGSN sends one or more detection requests groupings to this GGSN IP address, judge and receive at least one respond packet within a certain period of time, then connective normal, otherwise connective undesired.
Wherein, further comprise: detect be recorded as disabled GGSN IP address connectivity recovery just often, delete the unavailable mark of corresponding GGSN IP address.
Wherein, further comprise: when detecting certain GGSN IP address and be in down state, this address of deletion and discharge corresponding resource from detected GGSN IP address set.
Wherein, described detection is that SGSN detects the periodicity of carrying out to the connectedness between the GGSN IP address.
By said method as can be seen, by the present invention, whether make SGSN can judge GGSN IP address available, thereby only from available GGNS IP address list, choose GGSN IP, avoid choosing disabled address, thereby avoided attempting the process connect to unavailable GGSN contact address, thus the time of activation PDP Context shortened, thus further shortened the time that the user is connected to outer data network.
And the present invention also provides the process of the GGSN IP address that automatic deletion is not used, thereby has avoided carrying out manual operation for the resource that discharges the shared SGSN of detected GGSN contact address operation.
Description of drawings
Fig. 1 is a GPRS CN schematic diagram.
Fig. 2 is for activating the PDP Context flow chart.
Fig. 3 activates the PDP Context flow chart for the present invention.
Embodiment
The present invention also comprises the process of the unavailable GGSN IP of a detection record address outside the activation PDP Context process of standard, referring to Fig. 3 this process of the present invention is elaborated.
Step 301-303: when SGSN obtains the GGSN IP address list according to APN inquiry DNS, SGSN will record the connectivity state between each GGSN IP address.Wherein, the acquisition of APN can be to obtain by activating in the PDP Context flow process.
In fact, a GGSN IP address can be contained in 2 kinds of tabulations: the GGSN address list of APN correspondence and the tabulation of detected GGSN contact address.For example, establish SGSN and known two APN:APN1 and APN2, the GGSN address list of APN1 correspondence: g1, g2, the GGSN address list of APN2 correspondence: g1, g3, then detected GGSN contact address tabulation: g1, g2, g3.The tabulation of APN1 corresponding address becomes g1, g2, g4 after supposing, increases g4 in the then detected GGSN contact address tabulation.APN1 corresponding address tabulation becomes g1 after supposing, then SGSN should be in due course from detected GGSN contact address tabulation deletion g2 promptly a relevant resource is discharged.Being understood that, can be various in the realization of detected GGSN contact address tabulation.
The method of a kind of GGSN of sign contact address connectivity state is: SGSN will record the path (SGSN--GGSN) between the GGSNIP address, promptly write down a SGSN IP address and the path that the GGSN contact address constitutes.The path is by the IP address institute unique identification (as SGSNIP--GGSN IP) of communication two party, when the connectivity state about all paths of a GGSN contact address is fault, then think the failure of connectivity of this GGSN contact address, otherwise think the connective normal of this GGSN contact address.
Step 304: whether the connectedness that detects each GGSN contact address successively is normal.
Owing to may have multipath between SGSN to GGSN IP address, when detecting this GGSN IP connectivity, SGSN periodically sends a request response Echo request on its each path, and waits for GGSN back response message Echo response.SGSN sets up a counter at each path, and whenever the response of receiving from this path from the other side, then counter is reset.If before the timer T3-RESPONSE that sets is overtime, do not receive any message from the path, then counter increases by 1, and SGSN resends an Echo request message.When the counter N3-REQUESTS value of counter above setting, then this path is considered to fault, and wherein T3-RESPONSE duration and N3-REQUESTS numerical value are configurable.
Step 305: the connectivity state of mark GGSN contact address.
When SGSN detected each path equal fault about certain GGSN contact address, the GGSN contact address in this path of SGSN mark was unavailable.Be understood that the detection in path can be periodically and detects, recover just often about the path of certain GGSN contact address that then this GGSNIP address is considered to available, removes unavailable sign when detecting at least one.
In addition, can also go regularly to judge that whether GGSN IP address is for not being used state, be in when not being used state when being judged as, then discharge the related resource of this GGSN IP, exhaust the resource of SGSN to prevent detected GGSN IP number of addresses from constantly increasing forever.Here so-called the use is meant that this address is set at the GGSN contact address by the network planner.
A kind of method of judging that certain GGSN contact address is not used is: in certain time interval T 1, in the GGSN IP address list of SGSN according to any APN acquisition, do not comprise this GGSN IP address.Wherein the T1 duration is configurable.
The another kind of method of judging that certain GGSN contact address is not used is: surpass the time T of setting 2, then this path of mark when certain SGSN--GGSN path is detected the time that is not used.Here so-called use path is meant that the GGSN IP address in the SGSN IP address in path and path is created the source address and the destination address of PDP Context request message respectively as certain.For example, because network planning change, this address all can not detect this path and be used no longer corresponding to any GSN in the time of setting.When all paths about this GGSN IP address are labeled, judge that then GGSN IP address is not used.Wherein the T2 duration is configurable.This method and top method are equivalent, because the address is not when belonging to any one APN, SGSN does not contain this address according to the address list that any APN obtains, and SGSN does not use its naturally as destination address of creating the PDP Context request message.
When activating PDP Context, comprise the steps:
Step 311: portable terminal sends to SGSN and activates the PDP Context request message, has visit roll-call (APN) in this message.
Step 312-313:SGSN request DNS resolves APN, obtains the GGSN IP address list of APN correspondence.
Certainly, if the SGSN buffer memory record that constitutes of APN and corresponding GGSN IP address list, and record also can be selected available GGSN IP address when not losing efficacy from the address list of buffer memory.
Step 314:SGSN selects an address as the GGSN contact address of using from described GGSN IP tabulation, judge when the address is the disabled address of mark, next IP address in the selective listing then is up to the GGSN contact address of selecting an available address to use as this PDP Context; If do not find any available GGSN IP address, then have the activation PDP Context response message of failure cause to the MS response.
If the connectedness of a GGSN contact address was not detected by SGSN as yet, then an optional way is, SGSN adopts simple trace routine to detect the connectivity state of this address immediately and hangs this and activate the PDP Context flow process, has determined that continuing to carry out this again after the connectivity state of this address activates PDP Context flow process.Another optional way is that the connectedness that SGSN gives tacit consent to this address is available and continues to carry out this and activate the PDP Context flow process, starts the conventional sense program at this address simultaneously.In simple trace routine, T3-RESPONSE value and/or N3-REQUESTS value are littler than conventional sense program.
Step 315:SGSN sends to selected GGSN and sets up the PDP Context request message.
Step 316:GGSN returns to SGSN and sets up the PDP Context response message.
Step 317:SGSN sends to portable terminal and activates the PDP Context response message.When response message is successful response message, the data path between portable terminal and the external data network is set up, and portable terminal can communicate with this data network.
By said method, can realize activating in the PDP Context process, avoid choosing disabled address, thereby avoided attempting the process connect, so shortened the time of activation PDP Context to unavailable GGSN contact address.And, the GGSN IP address that automatic deletion is not used, otherwise, may need manual operation to be released to the resource of the SGSN that detects this GGSN contact address and take.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1, a kind of Activiation method of packet data protocol PDP Context is characterized in that, comprises testing process and activates the PDP process, and wherein, testing process comprises:
SGSN obtains the GGSN IP address list according to the Access Point Name APN nslookup DNS of system;
Whether the connectedness that SGSN detects between each GGSN IP address is normal, and is unavailable with the abnormal GGSN IP of connectedness address mark;
Activating the PDP process comprises:
After SGSN receives mobile terminal activating PDP Context request message, obtain the GGSN IP address list of this APN correspondence according to the inquiry of the APN in this message DNS;
Never be labeled as and select a GGSN IP address in the disabled GGSN IP address;
SGSN sends to the GGSN of the GGSN IP address representative of selecting and sets up the PDP Context request message, and after receiving response message, sends activation PDP Context response message to portable terminal.
2, method according to claim 1, it is characterized in that, whether normal the connectedness step that described SGSN detects between the GGSNIP address comprise: SGSN sends one or more detection requests groupings to this GGSN IP address, judge and receive at least one respond packet within a certain period of time, then connective normal, otherwise connective undesired.
3, method according to claim 1 and 2 is characterized in that, further comprises: detect be recorded as disabled GGSN IP address connectivity recovery just often, delete the unavailable mark of corresponding GGSN IP address.
4, method according to claim 1 is characterized in that, further comprises: when detecting certain GGSN IP address and be in down state, and this address of deletion and discharge corresponding resource from detected GGSN IP address set.
5, method according to claim 1 is characterized in that, described detection is that SGSN detects the periodicity of carrying out to the connectedness between the GGSN IP address.
6, a kind of Activiation method of packet data protocol PDP Context is characterized in that, comprising:
After SGSN receives mobile terminal activating PDP Context request message, obtain the GGSN IP address list of this APN correspondence according to the inquiry of the APN in this message DNS;
Whether the connectedness that SGSN detects between each GGSN IP address is normal, and is unavailable with the abnormal GGSN IP of connectedness address mark;
Never be labeled as and select a GGSN IP address in disabled each GGSN IP address;
SGSN sends to the GGSN of the GGSN IP address representative of selecting and sets up the PDP Context request message, and after receiving response message, sends activation PDP Context response message to portable terminal.
7, method according to claim 6, it is characterized in that, whether normal the connectedness step that described SGSN detects between the GGSNIP address comprise: SGSN sends one or more detection requests groupings to this GGSN IP address, judge and receive at least one respond packet within a certain period of time, then connective normal, otherwise connective undesired.
CNB2005100017770A 2005-01-19 2005-01-19 Packet data protocol context activation method Expired - Fee Related CN100477663C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100017770A CN100477663C (en) 2005-01-19 2005-01-19 Packet data protocol context activation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100017770A CN100477663C (en) 2005-01-19 2005-01-19 Packet data protocol context activation method

Publications (2)

Publication Number Publication Date
CN1809052A CN1809052A (en) 2006-07-26
CN100477663C true CN100477663C (en) 2009-04-08

Family

ID=36840742

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100017770A Expired - Fee Related CN100477663C (en) 2005-01-19 2005-01-19 Packet data protocol context activation method

Country Status (1)

Country Link
CN (1) CN100477663C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997008B (en) * 2006-12-30 2011-01-19 华为技术有限公司 A method for activation release of PDF context and its device
CN100466846C (en) * 2007-01-08 2009-03-04 华为技术有限公司 The method and system for access to the home packet data network
US8077685B2 (en) * 2007-04-24 2011-12-13 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for avoiding hanging PDP contexts
WO2009030061A1 (en) * 2007-09-03 2009-03-12 Zte Corporation Method and device for decoding by using wlsb in robust header compression
CN101394588A (en) * 2007-09-21 2009-03-25 华为技术有限公司 Method and system for realizing session service in packet domain
CN101159731B (en) * 2007-11-09 2011-06-22 中国移动通信集团广东有限公司 Guiding packet data protocol activating method and universal packet wireless service system
CN101472273B (en) * 2007-12-29 2010-07-21 华为技术有限公司 Method for processing PDP context and mobile communication system
CN101335914B (en) * 2008-04-03 2011-05-04 广州科讯技术有限公司 System and method for solving GPRS terminal Internet access setting obstacle
CN103826320B (en) * 2012-11-16 2017-05-31 中国移动通信集团河南有限公司 Set up general packet radio service GPRS connection methods and device
CN104519148B (en) * 2013-09-30 2019-02-26 中国电信股份有限公司 The accessible detecting method and system of application server address
CN105472051A (en) * 2014-09-02 2016-04-06 中国电信股份有限公司 Method, device and system for improving domain name resolution reliability

Also Published As

Publication number Publication date
CN1809052A (en) 2006-07-26

Similar Documents

Publication Publication Date Title
CN100477663C (en) Packet data protocol context activation method
CN102137487B (en) Method and equipment for selecting service gateway
US10159099B2 (en) Wireless communication system and connection method between user equipment and a mobility management entity
CN100581296C (en) Device for indicating macro mobile object in access system
CN100586083C (en) Method, equipment and system for providing adaptive node selection and self-adaptive route communication
US10285122B2 (en) Method and apparatus for handling abnormality of network communication function and storage medium
CN100563392C (en) Call recovery method when network failure and system
CN101730072B (en) Packet data web gateway identification saving method and system in multi-access scene
CN101120600B (en) Method of releasing link connection after handover in multi-mode mobile terminal and terminal thereof
JP2006504286A (en) Method and apparatus for efficient selection and capture of a wireless communication system
CN102308629A (en) Method of voice falling back and device thereof
CN101772114A (en) Method, system and device for realizing processing of paging
WO2016119263A1 (en) Service disaster recovery method and related device
JP4918721B2 (en) Wireless communication system, wireless LAN access point, mobile communication terminal, and program
KR100751101B1 (en) IP management system and method for a mobile phone
CN105814934A (en) Method, mobility management entity and home subscriber server for handling callee service
JP2003224589A (en) Method for detecting routing path change opportunity, terminal, and router
CN103338525A (en) Network connection rebuilding method, related equipment and system
CN101605391A (en) Remove the method for invalid information in the home base-station gateway
CN101291283B (en) PDN SAE GW selection method, system and device in SAE
CN101605364B (en) Bearing parameter transmitting method, strategy and charging rule functional device and service gateway
US7076254B2 (en) Telecommunication network having at least two network entities, and communication method
CN101600196B (en) Data passage establishment method, communication system and interrelated equipment
CN101686162B (en) Method, device and system for accessing packet data networks
JP4960970B2 (en) Communication control device and communication control method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090408

CF01 Termination of patent right due to non-payment of annual fee