WO2012089001A1 - 一种ip地址分配方法及装置 - Google Patents

一种ip地址分配方法及装置 Download PDF

Info

Publication number
WO2012089001A1
WO2012089001A1 PCT/CN2011/083596 CN2011083596W WO2012089001A1 WO 2012089001 A1 WO2012089001 A1 WO 2012089001A1 CN 2011083596 W CN2011083596 W CN 2011083596W WO 2012089001 A1 WO2012089001 A1 WO 2012089001A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
address
pdp context
sgsn
unit
Prior art date
Application number
PCT/CN2011/083596
Other languages
English (en)
French (fr)
Inventor
尹述辉
张毅
尤正刚
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012089001A1 publication Critical patent/WO2012089001A1/zh
Priority to US13/930,277 priority Critical patent/US9288179B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2546Arrangements for avoiding unnecessary translation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • H04L61/2532Clique of NAT servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2557Translation policies or rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an Internet Protocol (IP, Internet Protocol) address allocation method and apparatus.
  • IP Internet Protocol
  • Background technique IP, Internet Protocol
  • the user connects to the third-generation mobile communication technology (3G, 3rd-generation) packet domain and the general packet radio service (GPRS, General Packet Radio Service) network through the mobile phone wireless Internet access.
  • 3G, 3rd-generation third-generation mobile communication technology
  • GPRS General Packet Radio Service
  • the access point needs to be set on the mobile phone.
  • the name ( ⁇ , Access Point Name)
  • PDP Packet Data Protocol
  • SGSN Serving GPRS Support Node
  • DNS Domain Name System
  • the server resolves which gateway GPRS Support Node (GGSN) to create a PDP context to access different external packet data networks (PDN, Packet Data Network).
  • GGSN gateway GPRS Support Node
  • VPN Virtual Private
  • the GGSN can obtain an APN and VPN associated with the service through each service in the service list.
  • APN Access Network
  • each service is associated with an APN.
  • Mobile operators need to establish more APNs.
  • you need to update the configuration parameters of related devices in the system such as: The account opening data of the user in the home location register (HLR, Home Domain Name Register), the domain name resolution configuration parameter in the DNS, the routing configuration information in the GGSN, etc., which undoubtedly increase the complexity and cost of the mobile operator network management, and if Users accessing different services also need to modify the APN settings of the mobile phone, which increases the complexity of user operations.
  • APN multi-service APN scheme based on content parsing.
  • services By signing a number of services (services), the user plans an APN by the mobile operator, and uses the APN to activate the service when the user accesses the Internet.
  • GGSN The APN is used to obtain the subscription service information of the user, so that the user can access multiple packet data networks by using one APN.
  • the GGSN obtains the user's subscription service information in three modes: RADIUS (Remote Authentication Dial In User Service) mode, policy. Similar to the User Policy (PMF) mode and the GGSN mode, the user subscription service information is similar in each mode.
  • the RADIUS mode is used as an example.
  • the GGSN uses the request APN to the mobile service.
  • the AAA (Authentication Authorization Accounting) server authenticates and retrieves the user's subscription service information. Then, the GGSN re-assigns the service PDP context by using different allocation methods according to different IP address allocation methods.
  • the IP address activates the service PDP context, enabling the user to carry the data packet using the IP address to implement access to the PDN network.
  • the embodiment of the invention provides a method and a device for allocating an IP address, which is used for the process of allocating an IP address by the GGSN, and improving the performance of the GGSN.
  • the service corresponding to the APNs is determined to have the same VPN. If not, the service PDP context response message of the created user is sent to the SGSN, and the default is used.
  • the IP address of the PDP context activates the service PDP context as the IP address of the service PDP context.
  • a receiving unit configured to receive a service PDP context request message initiated by the SGSN to create a user
  • an acquiring unit configured to acquire a service list of the user
  • a screening unit configured to filter out services with different APNs from the services listed in the service list; and determine, by the determining unit, whether the VPN corresponding to the service with different APNs has the same VPN; PDP context response message; An activation unit, configured to activate a service PDP context by using an IP address of a default PDP context as an IP address of a service PDP context.
  • the embodiments of the present invention have the following advantages:
  • the VPNs corresponding to the services with different APNs are determined. The same VPN exists.
  • the IP address of the default PDP context is directly used as the IP address of the service PDP context to activate the service PDP context.
  • the IP address of the default PDP context It is unique to the same user. Therefore, when the service PDP context is activated, it is not necessary to reassign the IP address according to the different IP address allocation methods, and the process of allocating the IP address by the GGSN is improved.
  • FIG. 1 is a schematic diagram of an embodiment of an IP address allocation method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of an IP address allocation method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an IP address allocation method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an embodiment of an IP address allocation apparatus according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of another embodiment of an IP address allocation apparatus according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for allocating an IP address, which are used for the process of allocating an IP address by the GGSN, and improving the performance of the GGSN.
  • a specific embodiment of an IP address allocation method in an embodiment of the present invention includes:
  • the IP address allocation device first receives a service PDP context request message initiated by the SGSN, where the SGSN is used to save the user's routing area.
  • the location information responsible for security and access control, is responsible for transmitting a service PDP context request message and an update service PDP context request message for creating a user to the IP address allocation device in the embodiment of the present invention.
  • the IP address allocation device After receiving the PDP context request message of the created user, the IP address allocation device acquires the service list of the user, where the service list is the same for the same user, for different users.
  • the service list lists all the service names requested by the user and the user names and passwords corresponding to all the services.
  • the APN and VPN corresponding to the service can be obtained from the services described in the service list. .
  • the IP address distribution device filters out the services of the user list and selects services with different APNs from the services described in the service list.
  • the IP address distribution device After the IP address distribution device filters out different services of the APN, it is determined whether the VPN corresponding to the service with different APNs has the same VPN.
  • the service PDP context response message of the created user is sent to the SGSN, because in the case of the same VPN, it is possible for various resources such as addresses, routes, and entries.
  • the subsequent operations are performed, and the resources are avoided.
  • the risk of anomalies such as leaks or inconsistencies, in which case the attributes associated with the business PDP context are also uniquely identifiable.
  • the IP address of the default PDP context is used as the IP address of the service PDP context to activate the service PDP context.
  • the IP address allocation device uses the IP address of the default PDP context as the IP address of the service PDP context, activates the service PDP context, and avoids the IP address. According to different allocation methods, different allocation methods are needed to reassign the IP address. happening.
  • the IP address allocation device directly activates the service PDP context by using the IP address of the default PDP context as the IP address of the service PDP context. Since the IP address of the default PDP context is unique to the same user, it is activated.
  • the service PDP context does not need to be reassigned by different allocation methods according to different IP address allocation methods, and the process of assigning IP addresses by the GGSN is improved, and the GGSN is improved. Performance.
  • another specific embodiment of the method for allocating an IP address in the embodiment of the present invention includes:
  • the IP address allocation apparatus first receives the service PDP context request message initiated by the SGSN, where the service PDP context request message carries the service PDP context request message.
  • User-set APN User-set APN.
  • the IP address allocation device may determine which service list of the user needs to be obtained, and then obtain the service list of the user, where the service list is for the same user.
  • the words are the same. They are different for different users.
  • the service list records all the service names requested by the user and the user names and passwords corresponding to all services. Specifically, it is obtained from the corresponding network element according to different modes: the RADIU mode is obtained from the AAA server, the PCRF mode is obtained from the PCRF, and the local mode is obtained from the local PNSN configuration of the GGSN. For details, refer to the prior art.
  • the IP address distribution device filters out the services of the user list and selects services with different APNs from the services described in the service list.
  • the IP address distribution device After the IP address distribution device filters out the different services of the APN, it is determined whether the VPN corresponding to the service with the different APNs has the same VPN. If yes, go to step 205. If no, go to step 206 to step 212.
  • the service PDP context reject message of the created user is sent to the SGSN, that is, the user is denied access to the network.
  • the service PDP context response message of the created user is sent to the SGSN, because in the case of the same VPN, it is possible for various resources such as addresses, routes, and entries. Resource risks such as leakage or inconsistency occur, and the attributes related to the service PDP context are also not uniquely identified. Therefore, in the embodiment of the present invention, the APN is used. If the VPN corresponding to the different services does not have the same VPN, the subsequent operations are performed, thereby avoiding the risk of abnormality such as resource leakage or inconsistency. In this case, the attributes related to the service PDP context can also be uniquely identified.
  • the IP address allocation device directly uses the IP address of the default PDP context as the IP address of the service PDP context to activate the service PDP context, which avoids the need for the IP address to be reassigned by different allocation methods according to different allocation methods.
  • NAT Network Address Translation
  • step 210 When receiving the uplink data packet of the service sent by the SGSN, check whether there is no NAT marking in the forwarding entry information of the service, and if yes, go to step 210;
  • the IP address allocation device directly activates the service PDP context by using the IP address of the default PDP context as the IP address of the service PDP context. Since the IP address of the default PDP context is unique to the same user, it is activated.
  • the service PDP context does not need to reassign the IP address according to the different allocation methods of the IP address, and the process of allocating the IP address by the GGSN improves the performance of the GGSN.
  • the default PDP context is used.
  • IP address of the service is the IP address of the service PDP context
  • the service PDP context is activated.
  • the uplink and downlink data packets corresponding to the service need to be forwarded, if there is no NAT flag in the forwarding entry information of the service, The line forwarding process does not require network address translation, which improves the performance of the GGSN.
  • FIG. 3 another specific embodiment of the IP address allocation method in the embodiment of the present invention includes:
  • the content of the step 301 is the same as the content of the step 101 in FIG. 1 in the embodiment of the present invention, and details are not described herein again.
  • the IP address allocation device obtains a service list of the user, where the service list of the user includes all service names requested by the user and corresponding user names and passwords of all services.
  • the address inheritance control information is used to indicate whether the IP address of the default PDP context is used as the IP address of the service PDP context.
  • a field can be added to the local APN configuration in the GGSN: address succeeds 7 (address inherit ), and a switch is set for the field, specifically enable and disable, where enable indicates that the default PDP is used.
  • the IP address of the context is the IP address of the service PDP context, and the disable indicates the IP address of the service PDP context without using the IP address of the default PDP context.
  • step 304 is triggered. If the address inheritance control information indicates that the IP address of the default PDP context is used as the IP address of the service PDP context, Then step 305 to step 314 are triggered.
  • the IP address is re-assigned to the service PDP context according to the IP address allocation manner;
  • the mobile operator may select the address inheritance control information to be disabled, and the IP address of the service PDP context is selected as the IP address of the service PDP context.
  • the address inheritance control information indicates that the IP address of the default PDP context is used as the IP address of the service PDP context, the services marked in the service list are different from the services recorded in the service list.
  • the mobile operator may select the address inheritance control information when the implementation is specifically implemented. Indicates that the IP address of the default PDP context is selected as the IP address of the service PDP context.
  • the IP address allocation device After the IP address allocation device filters out services with different APNs from the services listed in the service list, it determines whether the VPN corresponding to the service with different APNs has the same VPN. If yes, go to step 307. If no, go to step 308 to step. 314.
  • the service PDP context reject message of the created user is sent to the SGSN.
  • the service PDP context response message of the created user is sent to the SGSN.
  • IP address of the default PDP context is used as the IP address of the service PDP context to activate the service PDP context.
  • the IP address allocation device After the IP address allocation device sends the service PDP context response message of the created user to the SGSN, the IP address of the default PDP context is used as the IP address of the service PDP context to activate the service PDP context, instead of adopting different allocations in the prior art.
  • the method re-assigns an IP address to a service PDP context to process the GGSN to assign an IP address.
  • 310 In the forwarding entry information of the activated service, do not perform the marking of the network address translation. 311. When receiving the uplink data packet of the service sent by the SGSN, check whether the forwarding entry information of the service does not exist. NAT tag, if yes, go to step 312;
  • the address inheritance control information indicates that the IP address of the default PDP context is used as the IP address of the service PDP context
  • the APN is not determined. If the same VPN is the same VPN, if the APNs do not have the same VPN, the default PDP is used.
  • the IP address of the text is used as the IP address of the service PDP context to activate the service PDP context. Since the IP address of the default PDP context is unique to the same user, the IP address allocation method is not required when the default PDP context is activated.
  • the IP address is reassigned by different allocation methods, and the process of assigning an IP address by the GGSN is improved, and the performance of the GGSN is improved.
  • the service is activated by using the IP address of the default PDP context as the IP address of the service PDP context.
  • the PDP context may be marked with no NAT in the forwarding entry information of the activated service.
  • the IP address allocation method is described in the foregoing embodiment.
  • the IP address allocation device is described below.
  • the IP address allocation device may be a GGSN or a physical device in the GGSN, which is not limited herein. Since the following embodiments are device embodiments corresponding to the methods in the foregoing embodiments, descriptions will not be given in the following embodiments, but reference may be made to the description in the foregoing method embodiments, and the IP address allocation device will be described below.
  • FIG. 4 is a specific example of an IP address allocation apparatus according to an embodiment of the present invention, including:
  • the receiving unit 401 is configured to receive a service PDP context request message initiated by the SGSN to create a user.
  • the obtaining unit 402 is configured to acquire a service list of the user.
  • a filtering unit 403 configured to filter out services with different APNs from the services recorded in the service list;
  • the determining unit 404 is configured to determine whether the VPN corresponding to the service with different APNs has the same VPN;
  • the first sending unit 405 is configured to send a service PDP context response message for creating a user to the SGSN when the VPN corresponding to the service with different APNs does not have the same VPN;
  • the activation unit 406 is configured to activate the service PDP context by using the IP address of the default PDP context as the IP address of the service PDP context.
  • the obtaining unit 402 may obtain the service list of the user, and then the screening unit 403 records from the service list.
  • the services of the APN are different in the service, and the determining unit 404 determines whether the VPN corresponding to the service with the different APNs has the same VPN.
  • the first sending unit 405 sends a service PDP context response message to the SGSN to create a user.
  • the activation unit 406 activates the service PDP context using the IP address of the default PDP context as the IP address of the service PDP context.
  • the determining unit 404 determines whether the VPNs corresponding to the services with different APNs have the same VPN, and the APNs are different.
  • the activation unit 406 directly activates the service PDP context by using the IP address of the default PDP context as the IP address of the service PDP context, because the IP address of the default PDP context is unique to the same user.
  • FIG. 5 is another specific example of an IP address allocation apparatus according to an embodiment of the present invention, including:
  • the receiving unit 501 is configured to receive a service PDP context request message initiated by the SGSN to create a user.
  • the obtaining unit 502 is configured to obtain a service list of the user.
  • a filtering unit 503 configured to filter out services with different APNs from the services recorded in the service list;
  • the determining unit 504 is configured to determine whether the VPN corresponding to the service with different APNs has the same VPN;
  • a second sending unit 505 configured to send a service PDP context reject message of the created user to the SGSN when the VPN corresponding to the service with different APNs has the same VPN;
  • the first sending unit 506 is configured to send a service PDP context response message for creating a user to the SGSN when the VPN corresponding to the service with different APNs does not have the same VPN;
  • An activation unit 507 configured to activate a service PDP context by using an IP address of a default PDP context as an IP address of a service PDP context;
  • the marking unit 508 is configured to perform, in the activated forwarding entry information of the service, a label that does not perform network address translation;
  • the searching unit 509 is configured to: when receiving the uplink data packet corresponding to the service sent by the SGSN, find, by using the forwarding entry information of the service, whether the NAT flag is not present;
  • the forwarding unit 510 is configured to forward the uplink data packet corresponding to the service to the server associated with the service when there is no NAT marking in the forwarding entry information of the service.
  • the searching unit 509 is further configured to: when receiving the downlink data packet corresponding to the service sent by the server associated with the service, searching whether the forwarding entry information of the service does not perform NAT marking;
  • the unit 510 is further configured to forward the downlink data corresponding to the service to the SGSN when there is no NAT marking in the forwarding entry information of the service.
  • the determining unit 504 determines whether the VPNs corresponding to the services with different APNs have the same VPN, and when the APNs are different.
  • the activation unit 507 directly activates the service PDP context by using the IP address of the default PDP context as the IP address of the service PDP context, because the IP address of the default PDP context is unique to the same user.
  • the service PDP context when the service PDP context is activated, there is no need to reassign the IP address according to the different allocation methods of the IP address, and the process of allocating the IP address by the GGSN is improved, and the performance of the GGSN is improved, and
  • the IP address of the PDP context is activated as the IP address of the service PDP context.
  • the service PDP context is activated, and the NAT label is not used in the forwarding entry information of the activated service.
  • the searching unit 509 searches for the forwarding entry information of the service, If the forwarding information of the service is not marked with the NAT, the forwarding unit 510 can directly perform the uplink and downlink forwarding process without performing network address translation, thereby improving the performance of the GGSN.
  • the IP address allocating means may include (not shown in FIG. 5) in addition to the units shown in FIG. 5:
  • the unit 502 is further configured to obtain the address inheritance control information, where the address inheritance control information is used to indicate whether the IP address of the default PDP context is used as the IP address of the service PDP context to activate the service PDP context.
  • the triggering unit 511 is configured to trigger the filtering unit 503 to execute if the address inheritance control information indicates that the IP address of the default PDP context is used as the IP address of the service PDP context.
  • the obtaining unit 502 can also receive the address inheritance control information, Mobile operators
  • the address can improve the flexibility of the IP address distribution device.
  • the program can be stored in a computer readable storage medium.
  • the storage medium can include: ROM, RAM, disk or CD, etc.
  • IP address allocation method and apparatus provided by an embodiment of the present invention is only for assisting in understanding the method and core idea of the present invention. Meanwhile, for those skilled in the art, according to the present invention The present invention is not limited by the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

一种 IP地址分配方法及装置 技术领域
本发明涉及通信技术领域, 尤其涉及一种因特网协议 ( IP , Internet Protocol )地址分配方法及装置。 背景技术
用户通过手机无线上网连接到第三代移动通信技术( 3G, 3rd-generation ) 分组域和通用分组无线月良务技术(GPRS , General Packet Radio Service)网络 中, 首先需要在手机上设置接入点名称( ΑΡΝ, Access Point Name ) , 发起分 组数据协议(PDP, Package Data Protocol )上下文激活流程, 服务 GPRS支 持节点 (SGSN, Serving GPRS Support Node )通过激活请求消息中携带的 APN信息, 到域名系统(DNS , Domain Name System )服务器解析出需要通 过哪个网关 GPRS支持节点( GGSN, Gateway GPRS Support Node )创建 PDP 上下文, 实现访问不同的外部分组数据网络( PDN , Packet Data Network )。
目前,移动运营商建立了越来越多的虚拟专用网络( VPN, Virtual Private
Network ), 对同一用户而言, GGSN获取到用户的业务列表( service list ) 以 后, 通过业务列表中的每一项业务可以获取到该业务关联的一个 APN 和 VPN。 随着移动运营商不断推出不同的新业务, 由于每一个业务都关联有一 个 APN, 就需要移动运营建立更多的 APN, 每增加一个 APN, 就需要更新 系统中相关设备的配置参数, 如: 归属位置寄存器 (HLR, Home Location Register )中用户的开户数据, DNS中域名解析配置参数, GGSN中的路由配 置信息等, 这些工作无疑加大了移动运营商网络管理的复杂度和成本, 并且 如果用户访问不同的业务也需要修改手机的 APN设置,增加了用户操作的复 杂度。
为了解决上述问题, 出现了基于内容解析的多业务( Multi Service ) APN 方案, 用户通过签约若干个业务(service ), 由移动运营商规划一个 APN, 在 用户上网时使用这个 APN来激活业务, GGSN用这个 APN获得用户的签约 业务信息, 实现用户使用一个 APN可以访问多个分组数据网络。
在现有技术中, GGSN获得用户的签约业务信息有三种模式: 远程用户 拨号认证(RADIUS, Remote Authentication Dial In User Service )模式, 策略 与计费规则功能 ( PCRF, Policy and Charging Rules Function )模式和 GGSN 模式, 各种模式中获取用户签约业务信息相类似, 下面以 RADIUS模式为例 进行说明, GGSN使用请求( request ) APN到移动运营商网络的认证授权计 费 ( AAA, Authentication Authorization Accounting )服务器进行鉴权并菝取 用户签约业务信息, 然后, 由 GGSN根据不同的 IP地址分配方式的不同采用 不同的分配方法重新为业务 PDP上下文分配 IP地址,激活业务 PDP上下文, 使得用户能够使用该 IP地址携带数据包, 实现对 PDN网络的访问。 但是在 现有技术中, GGSN激活每一个业务 PDP上下文时,会根据 IP地址分配方式 的不同, 采取不同的分配方法重新为业务 PDP上下文分配一个 IP地址, 由 于分配地址的方式比较多, 例如 GGSN本地分配、 AAA分配、 用户携带静态 地址、 动态主机设置协议 ( DHCP, Dynamic Host Configuration Protocol )分 配等方式, 会使得重新分配 IP地址的过程变得复杂, 影响 GGSN的性能。 发明内容
本发明实施例提供了一种 IP地址分配方法及装置,用于筒化 GGSN分配 IP地址的过程, 提高 GGSN的性能。
本发明实施例提供的 IP地址分配方法, 包括:
接收 SGSN发起的创建用户的业务 PDP上下文请求消息;
获取用户的业务列表;
从业务列表中记载的业务中筛选出 APN不相同的业务, 判断 APN不相 同的业务对应的 VPN是否存在相同的 VPN, 若否, 向 SGSN发送创建用户 的业务 PDP上下文响应消息,并使用缺省 PDP上下文的 IP地址作为业务 PDP 上下文的 IP地址激活业务 PDP上下文。
本发明实施例提供的 IP地址分配装置, 包括:
接收单元,用于接收 SGSN发起的创建用户的业务 PDP上下文请求消息; 获取单元, 用于用户的获取业务列表;
筛选单元, 用于从业务列表中记载的业务中筛选出 APN不相同的业务; 判断单元, 用于判断 APN 不相同的业务对应的 VPN是否存在相同的 VPN; 时, 向 SGSN发送创建用户的业务 PDP上下文响应消息; 激活单元, 用于使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活业务 PDP上下文。
从以上技术方案可以看出, 本发明实施例具有以下优点: 在本发明实施例中,从业务列表中记载的业务中筛选出 APN不相同的业 务后, 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN, 当 APN 不相同的业务对应的 VPN不存在相同的 VPN时, 直接使用缺省 PDP上下文 的 IP地址作为业务 PDP上下文的 IP地址激活业务 PDP上下文, 由于缺省 PDP上下文的 IP地址对同一用户而言是唯一的, 因此在激活业务 PDP上下 文时不需要才艮据 IP地址分配方式的不同而采用不同的分配方法重新分配 IP 地址, 筒化了 GGSN分配 IP地址的过程, 提高了 GGSN的性能。 附图说明 图 1是本发明实施例中 IP地址分配方法一个实施例示意图; 图 2是本发明实施例中 IP地址分配方法另一个实施例示意图; 图 3是本发明实施例中 IP地址分配方法另一个实施例示意图; 图 4是本发明实施例中 IP地址分配装置的一个实施例示意图; 图 5是本发明实施例中 IP地址分配装置的另一个实施例示意图。 具体实施方式
本发明实施例提供了一种 IP地址分配方法及装置, 用于筒化 GGSN 分配 IP地址的过程, 提高 GGSN的性能。 请参阅图 1 , 本发明实施例中 IP地址分配方法一个具体实施例包括:
101、 接收 SGSN发起的创建用户的业务 PDP上下文请求消息; 在本发明实施例中, IP地址分配装置首先接收 SGSN发起的创建用户的 业务 PDP上下文请求消息, 其中, SGSN用于保存用户的路由区位置信息, 负责安全和接入控制, 负责向本发明实施例中的 IP地址分配装置发送创建用 户的业务 PDP上下文请求消息和更新业务 PDP上下文请求消息。
102、 获取用户的业务列表;
IP地址分配装置接收到创建用户的 PDP上下文请求消息以后,获取用户 的业务列表, 其中, 业务列表对于同一用户而言是相同的, 对于不同的用户 是不相同的, 业务列表中记载了用户请求的所有业务名称以及所有业务对应 的用户名和密码, 获取到用户的业务列表后, 就能够从业务列表中记载的业 务获取到业务对应的 APN和 VPN。
103、 从业务列表中记载的业务中筛选出 APN不相同的业务;
在具体应用时, IP地址分配装置通过遍历该用户的业务列表, 从业务列 表中记载的业务中筛选出 APN不相同的业务。
104、 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN;
当 IP地址分配装置筛选出 APN不同的业务之后, 判断 APN不相同的业 务对应的 VPN是否存在相同的 VPN。
105、当 APN不相同的业务对应的 VPN不存在相同的 VPN时,向 SGSN 发送创建用户的业务 PDP上下文响应消息;
当 APN不相同的业务对应的 VPN不存在相同的 VPN时,向 SGSN发送 创建用户的业务 PDP上下文响应消息, 因为在 VPN相同的情况下, 对于地 址、 路由、 表项等各种资源, 有可能出现泄漏或不一致等资源风险, 另外业 务 PDP上下文相关的属性也不能唯一标识, 因此在本发明实施例中当 APN 不相同的业务对应的 VPN不存在相同的 VPN时才进行后续操作, 避免了资 源泄漏或不一致等异常的风险, 在此种情况下, 业务 PDP上下文相关的属性 也是能够唯一标识的。
106、 使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激 活业务 PDP上下文。
IP地址分配装置将缺省 (default ) PDP上下文的 IP地址作为业务 PDP 上下文的 IP地址, 激活业务 PDP上下文, 避免了 IP地址 ^艮据不同的分配方 式需要采用不同的分配方法重新分配 IP地址的情况。
在本发明实施例中,从业务列表中记载的业务中筛选出 APN不相同的业 务后, 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN, 当 APN 不相同的业务对应的 VPN不存在相同的 VPN时, IP地址分配装置直接使用 缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活业务 PDP上 下文, 由于缺省 PDP上下文的 IP地址对同一用户而言是唯一的, 因此在激 活业务 PDP上下文时不需要才艮据 IP地址分配方式的不同而采用不同的分配 方法重新分配 IP地址, 筒化了 GGSN分配 IP地址的过程, 提高了 GGSN的 性能。
进一步地, 请参阅图 2, 本发明实施例中 IP地址分配方法的另一个具体 实施例包括:
201、 接收 SGSN发起的创建用户的业务 PDP上下文请求消息; 在本发明实施例中, IP地址分配装置首先接收 SGSN发起的创建用户的 业务 PDP上下文请求消息,其中,业务 PDP上下文请求消息携带有该用户设 置的 APN。
202、 获取用户的业务列表;
IP地址分配装置接收到 SGSN发起的创建用户的业务 PDP上下文请求消 息后, IP地址分配装置可以判断出需要获取哪个用户的业务列表, 然后获取 该用户的业务列表, 其中, 业务列表对于同一用户而言是相同的, 对于不同 的用户是不相同的, 业务列表中记载了用户请求的所有业务名称以及所有业 务对应的用户名和密码。具体的,根据不同的模式从相应的网元获取: RADIU 模式从 AAA服务器获取, PCRF模式从 PCRF中获取, 本地模式从 GGSN本 地的 APN配置获取, 详细过程可以参见现有技术。
203、 从业务列表中记载的业务中筛选出 APN不相同的业务;
在具体应用时, IP地址分配装置通过遍历该用户的业务列表, 从业务列 表中记载的业务中筛选出 APN不相同的业务。
204、 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN;
当 IP地址分配装置筛选出 APN不同的业务之后, 判断 APN不相同的业 务对应的 VPN是否存在相同的 VPN, 若是, 执行步骤 205 , 若否, 执行步骤 206到步骤 212。
205、 向 SGSN发送创建用户的业务 PDP上下文拒绝消息;
当 APN不相同的业务对应的 VPN存在相同的 VPN时,向 SGSN发送创 建用户的业务 PDP上下文拒绝消息, 即拒绝用户访问网络。
206、 向 SGSN发送创建用户的业务 PDP上下文响应消息;
当 APN不相同的业务对应的 VPN不存在相同的 VPN时,向 SGSN发送 创建用户的业务 PDP上下文响应消息, 因为在 VPN相同的情况下, 对于地 址、 路由、 表项等各种资源, 有可能出现泄漏或不一致等资源风险, 另外业 务 PDP上下文相关的属性也不能唯一标识, 因此在本发明实施例中当 APN 不相同的业务对应的 VPN不存在相同的 VPN时, 进行后续操作, 从而避免 了资源泄漏或不一致等异常的风险, 在此种情况下, 业务 PDP上下文相关的 属性也是能够唯一标识的。
207、 使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激 活业务 PDP上下文;
IP地址分配装置直接将缺省 PDP上下文的 IP地址作为业务 PDP上下文 的 IP地址, 激活业务 PDP上下文, 避免了 IP地址根据不同的分配方式而需 要采取不同的分配方法重新分配 IP地址的情况。
208、 在激活的业务的转发表项信息中做不进行网络地址转换的标记; 当 IP地址分配装置使用缺省 PDP上下文的 IP地址作为业务 PDP上下文 的 IP地址激活业务 PDP上下文以后, 将激活的该业务的转发表项信息中作 出如下标记: 不进行网络地址转换(NAT, Network Address Translation )„
209、 当接收到 SGSN发送的业务的上行数据报文时, 查找该业务的转发 表项信息中是否存在不进行 NAT的标记, 若存在, 执行步骤 210;
210、 将该业务对应的上行数据报文转发到与该业务关联的服务器;
211、 当接收到与业务关联的服务器发送的该业务对应的下行数据报文 时, 查找该业务的转发表项信息中是否存在不进行 NAT的标记, 若存在, 执 行步骤 212;
212、 将该业务对应的下行数据 4艮文转发到 SGSN。
在本发明实施例中,从业务列表中记载的业务中筛选出 APN不相同的业 务后, 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN, 当 APN 不相同的业务对应的 VPN不存在相同的 VPN时, IP地址分配装置直接使用 缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活业务 PDP上 下文, 由于缺省 PDP上下文的 IP地址对同一用户而言是唯一的, 因此在激 活业务 PDP上下文时不需要才艮据 IP地址分配方式的不同而采用不同的分配 方法重新分配 IP地址, 筒化了 GGSN分配 IP地址的过程, 提高了 GGSN的 性能, 另外, 由于使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP 地址激活了业务 PDP上下文, 当业务对应的上下行数据报文需要转发时, 若 该业务的转发表项信息中存在不进行 NAT的标记,则可以直接进行上下行转 发流程, 而不需要进行网络地址转换, 提高了 GGSN的性能。 请参阅图 3 ,本发明实施例中 IP地址分配方法的另一个具体实施例包括:
301、 接收 SGSN发起的创建用户的业务 PDP上下文请求消息; 在本发明实施例中, 步骤 301的内容和图 1中步骤 101的内容相同, 此 处不再赘述。
302、 获取用户的业务列表;
IP地址分配装置获取用户的业务列表, 其中, 用户的业务列表包括了用 户请求的所有业务名称以及所有业务对应用户名和密码。
303、 获取地址继承控制信息;
其中, 地址继承控制信息用于指示是否使用缺省 PDP上下文的 IP地址 作为业务 PDP上下文的 IP地址。
在实际应用中, 可以在 GGSN中的本地 APN配置中增加一个字段: 地 址继 7 ( address inherit ),并为该字段设置开关,具体可以为 enable和 disable, 其中, enable表示的是使用缺省 PDP上下文的 IP地址作为业务 PDP上下文 的 IP地址, disable表示的是不使用缺省 PDP上下文的 IP地址作为业务 PDP 上下文的 IP地址。 需要说明的是, 本发明实施例中描述的增加字段并设置开 关只是一种实现方式, 在实际应用中, 还可以采取其它实现方式, 此处不作 限定。
若地址继承控制信息表示不使用缺省 PDP上下文的 IP地址作为业务 PDP 上下文的 IP地址, 则触发步骤 304, 若地址继承控制信息表示使用缺省 PDP 上下文的 IP地址作为业务 PDP上下文的 IP地址,则触发步骤 305到步骤 314。
304、 当地址继承控制信息表示不使用缺省 PDP上下文的 IP地址作为业 务 PDP上下文的 IP地址时, 根据 IP地址分配方式的不同, 重新为业务 PDP 上下文分配 IP地址;
本发明实施例中具体在实现时可以由移动运营商选择地址继承控制信息 为 disable, 表示选择不使用缺省 PDP上下文的 IP地址作为业务 PDP上下文 的 IP地址。
305、 当地址继承控制信息表示使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址时, 从业务列表中记载的业务中筛选出 APN不相同的 业务;
本发明实施例中具体在实现时可以由移动运营商选择地址继承控制信息 为 enable, 表示选择使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址。
306、 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN;
IP地址分配装置从业务列表中记载的业务中筛选出 APN不相同的业务 之后, 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN, 若是, 执 行步骤 307, 若否, 执行步骤 308到步骤 314。
307、 向 SGSN发送创建用户的业务 PDP上下文拒绝消息;
当 APN不相同的业务对应的 VPN存在相同的 VPN时,向 SGSN发送创 建用户的业务 PDP上下文拒绝消息。
308、 向 SGSN发送创建用户的业务 PDP上下文响应消息;
当 APN不相同的业务对应的 VPN不存在相同的 VPN时,向 SGSN发送 创建用户的业务 PDP上下文响应消息。
309、 使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激 活业务 PDP上下文;
当 IP地址分配装置向 SGSN发送创建用户的业务 PDP上下文响应消息 以后,使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活业 务 PDP上下文, 而不再采取现有技术中采取不同的分配方法重新为业务 PDP 上下文分配 IP地址的方法, 以筒化 GGSN分配 IP地址的过程。
310、 在激活的业务的转发表项信息中做不进行网络地址转换的标记; 311、 当接收到 SGSN发送的业务的上行数据报文时, 查找该业务的转发 表项信息中是否存在不进行 NAT的标记, 若存在, 执行步骤 312;
312、 将该业务对应的上行数据报文转发到与该业务关联的服务器;
313、 当接收到与业务关联的服务器发送的该业务对应的下行数据报文 时, 查找该业务的转发表项信息中是否存在不进行 NAT的标记; 若存在, 执 行步骤 314;
314、 将该业务对应的下行数据 4艮文转发到 SGSN。
在本发明实施例中, 当地址继承控制信息表示使用缺省 PDP上下文的 IP 地址作为业务 PDP上下文的 IP地址时, 从业务列表中记载的业务中筛选出 APN不相同的业务后, 判断 APN不相同的业务对应的 VPN是否存在相同的 VPN, 当 APN不相同的业务存在不相同的 VPN时, 直接使用缺省 PDP上下 文的 IP地址作为业务 PDP上下文的 IP地址激活业务 PDP上下文, 由于缺省 PDP上下文的 IP地址对同一用户而言是唯一的, 因此在激活缺省 PDP上下 文时不需要才艮据 IP地址分配方式的不同而采用不同的分配方法重新分配 IP 地址, 筒化了 GGSN分配 IP地址的过程, 提高了 GGSN的性能, 另外, 由 于使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活了业务 PDP上下文, 可以在该激活的业务的转发表项信息中做不进行 NAT的标记, 当业务的上下行数据报文需要转发时, 若该业务的转发表项信息中存在不进 行 NAT的标记, 则直接可以进行上下行转发流程, 而不需要进行网络地址转 换, 提高了 GGSN的性能。
以上实施例对 IP地址分配方法进行了介绍, 下面将介绍 IP地址分配装 置,在实际应用中, IP地址分配装置具体可以为 GGSN,也可以具体为 GGSN 中的实体装置, 此处不作限定。 由于后续实施例为和前述实施例中方法相对 应的装置实施例, 在下述实施例中将不再举具体实例进行说明, 但可参考前 述方法实施例中的描述, 下面将介绍 IP地址分配装置中各单元的功能以及整 个交互过程, 请参阅图 4, 为本发明实施例中 IP地址分配装置的一个具体例 子, 包括:
接收单元 401 , 用于接收 SGSN发起的创建用户的业务 PDP上下文请求 消息;
获取单元 402, 用于获取用户的业务列表;
筛选单元 403 , 用于从业务列表中记载的业务中筛选出 APN不相同的业 务;
判断单元 404, 用于判断 APN不相同的业务对应的 VPN是否存在相同 的 VPN;
第一发送单元 405 , 用于当 APN不相同的业务对应的 VPN不存在相同 的 VPN时, 向 SGSN发送创建用户的业务 PDP上下文响应消息;
激活单元 406, 用于使用缺省 PDP上下文的 IP地址作为业务 PDP上下 文的 IP地址激活业务 PDP上下文。
各单元之间的交互过程如下:
当接收单元 401接收到创建用户的业务 PDP上下文请求消息以后, 获取 单元 402可以获取到用户的业务列表, 然后筛选单元 403从业务列表中记载 的业务中筛选出 APN不相同的业务, 由判断单元 404判断 APN不相同的业 务对应的 VPN是否存在相同的 VPN, 当 APN不相同的业务对应的 VPN不 存在相同的 VPN时, 第一发送单元 405向 SGSN发送创建用户的业务 PDP 上下文响应消息, 最后, 由激活单元 406使用缺省 PDP上下文的 IP地址作 为业务 PDP上下文的 IP地址激活业务 PDP上下文。
在本发明实施例中, 筛选单元 403 从业务列表中记载的业务中筛选出 APN不相同的业务后, 判断单元 404判断 APN不相同的业务对应的 VPN是 否存在相同的 VPN, 当 APN不相同的业务对应的 VPN不存在相同的 VPN 时, 激活单元 406直接使用缺省 PDP上下文的 IP地址作为业务 PDP上下文 的 IP地址激活业务 PDP上下文, 由于缺省 PDP上下文的 IP地址对同一用户 而言是唯一的, 因此在激活业务 PDP上下文时不需要根据 IP地址分配方式 的不同而采用不同的分配方法重新分配 IP地址, 筒化了 GGSN分配 IP地址 的过程, 提高了 GGSN的性能。
进一步地, 请参阅图 5 , 为本发明实施例中 IP地址分配装置的另一个具 体例子, 包括:
接收单元 501 , 用于接收 SGSN发起的创建用户的业务 PDP上下文请求 消息;
获取单元 502, 用于获取用户的业务列表;
筛选单元 503 , 用于从业务列表中记载的业务中筛选出 APN不相同的业 务;
判断单元 504, 用于判断 APN不相同的业务对应的 VPN是否存在相同 的 VPN;
第二发送单元 505 , 用于当 APN不相同的业务对应的 VPN存在相同的 VPN时, 向 SGSN发送创建用户的业务 PDP上下文拒绝消息;
第一发送单元 506, 用于当 APN不相同的业务对应的 VPN不存在相同 的 VPN时, 向 SGSN发送创建用户的业务 PDP上下文响应消息;
激活单元 507, 用于使用缺省 PDP上下文的 IP地址作为业务 PDP上下 文的 IP地址激活业务 PDP上下文;
标记单元 508 , 用于在激活的该业务的转发表项信息中做不进行网络地 址转换的标 i己; 查找单元 509 , 用于当接收到 SGSN发送的业务对应的上行数据报文时, 查找该业务的转发表项信息中是否存在不进行 NAT的标记;
转发单元 510, 用于当该业务的转发表项信息中存在不进行 NAT的标记 时, 将该业务对应的上行数据报文转发到与该业务关联的服务器。
需要说明的是: 查找单元 509 , 还用于当接收到与业务关联的服务器发 送的该业务对应的下行数据报文时, 查找该业务的转发表项信息中是否存在 不进行 NAT的标记; 转发单元 510, 还用于当该业务的转发表项信息中存在 不进行 NAT的标记时, 将该业务对应的下行数据 4艮文转发到 SGSN。
在本发明实施例中, 筛选单元 503 从业务列表中记载的业务中筛选出 APN不相同的业务后, 判断单元 504判断 APN不相同的业务对应的 VPN是 否存在相同的 VPN,当 APN不相同的业务对应的 VPN不存在相同的 VPN时, 激活单元 507直接使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP 地址激活业务 PDP上下文, 由于缺省 PDP上下文的 IP地址对同一用户而言 是唯一的, 因此在激活业务 PDP上下文时不需要根据 IP地址分配方式的不 同而采用不同的分配方法重新分配 IP地址, 筒化了 GGSN分配 IP地址的过 程, 提高了 GGSN的性能, 另外, 由于使用缺省 PDP上下文的 IP地址作为 业务 PDP上下文的 IP地址激活了业务 PDP上下文, 可以在该激活的业务的 转发表项信息中做不进行 NAT的标记, 当业务对应的上下行数据报文需要转 发时, 若查找单元 509查找该业务的转发表项信息后, 发现该业务的转发表 项信息中存在不进行 NAT的标记,则转发单元 510可以直接进行上下行转发 流程, 而不需要进行网络地址转换, 提高了 GGSN的性能。
进一步地, 请参阅下一个具体例子, 在图 5所示的实施例中, IP地址分 配装置除了包括图 5中所示的各单元以外, 还可以包括(未在图 5中示出 ): 获取单元 502 , 还用于获取地址继承控制信息, 其中, 地址继承控制信 息用于指示是否使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地 址激活业务 PDP上下文;
触发单元 511 , 用于若地址继承控制信息表示使用缺省 PDP上下文的 IP 地址作为业务 PDP上下文的 IP地址, 则触发筛选单元 503执行。
在本发明实施例中, 除了具有如图 5所示的实施例的有益效果以外, 还具 有以下有益效果: 由于获取单元 502还可以接收到地址继承控制信息, 可以由 移动运营商
址, 可以提高 IP地址分配装置的灵活性。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可 读存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。
以上对本发明实施例提供的一种 IP地址分配方法及装置进行了详细介 施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领 域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会 有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权利 要求
1、 一种因特网协议 IP地址分配方法, 其特征在于, 包括:
接收通用分组无线服务技术服务支持节点 SGSN发起的创建用户的业务 分组数据协议 PDP上下文请求消息;
获取所述用户的业务列表;
从所述业务列表中记载的业务中筛选出接入点名称 APN不相同的业务, 若否, 向所述 SGSN发送创建用户的业务 PDP上下文响应消息, 并使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活所述业务 PDP上下 文。
2、 根据权利要求 1所述的 IP地址分配方法, 其特征在于, 所述使用缺 省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活所述业务 PDP 上下文之后包括:
在激活的所述业务的转发表项信息中做不进行网络地址转换 NAT 的标 记;
当接收到所述 SGSN发送的业务对应的上行数据报文时, 查找所述业务 的转发表项信息中是否存在不进行 NAT的标记, 若存在, 将所述业务对应的 上行数据报文转发到与所述业务关联的服务器;
当接收到与业务关联的服务器发送的所述业务对应的下行数据报文时, 查找所述业务的转发表项信息中是否存在不进行 NAT的标记, 若存在, 将所 述业务对应的下行数据报文转发到 SGSN。
3、 根据权利要求 1所述的 IP地址分配方法, 其特征在于, 若所述 APN 不相同的业务对应的 VPN存在相同的 VPN, 向所述 SGSN发送创建用户的 业务 PDP上下文拒绝消息。
4、 根据权利要求 1所述的 IP地址分配方法, 其特征在于, 所述获取所 述用户的业务列表之后包括:
获取地址继承控制信息, 所述地址继承控制信息用于指示是否使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址;
若所述地址继承控制信息表示使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址, 则触发从所述业务列表中记载的业务中筛选出 APN 不相同的业务的步骤。
5、 一种因特网协议 IP地址方配装置, 其特征在于, 包括:
接收单元, 用于接收通用分组无线服务技术服务支持节点 SGSN发起的 创建用户的业务分组数据协议 PDP上下文请求消息;
获取单元, 用于获取所述用户的业务列表;
筛选单元, 用于从所述业务列表中记载的业务中筛选出接入点名称 APN 不相同的业务;
判断单元, 用于判断所述 APN不相同的业务对应的虚拟专用网络 VPN 是否存在相同的 VPN;
第一发送单元, 用于当所述 APN不相同的业务对应的 VPN不存在相同 的 VPN时, 向所述 SGSN发送创建用户的业务 PDP上下文响应消息;
激活单元, 用于使用缺省 PDP上下文的 IP地址作为业务 PDP上下文的 IP地址激活所述业务 PDP上下文。
6、 根据权利要求 5所述的 IP地址分配装置, 其特征在于, 所述装置还 包括:
标记单元, 用于在激活的所述业务的转发表项信息中做不进行网络地址 转换 NAT的标记;
查找单元,用于当接收到所述 SGSN发送的业务对应的上行数据报文时, 查找所述业务的转发表项信息中是否存在不进行 NAT的标记;
转发单元,用于当所述业务的转发表项信息中存在不进行 NAT的标记时, 将所述业务对应的上行数据报文转发到与所述业务关联的服务器;
所述查找单元, 还用于当接收到与业务关联的服务器发送的所述业务对 应的下行数据报文时, 查找所述业务的转发表项信息中是否存在不进行 NAT 的标记;
所述转发单元,还用于当所述业务的转发表项信息中存在不进行 NAT的 标记时, 将所述业务对应的下行数据报文转发到 SGSN。
7、 根据权利要求 5所述的 IP地址分配装置, 其特征在于, 所述装置还 包括:
第二发送单元, 用于当所述 APN不相同的业务对应的 VPN存在相同的 VPN时, 向所述 SGSN发送创建用户的业务 PDP上下文拒绝消息。
8、 根据权利要求 5所述的 IP地址分配装置, 其特征在于, 所述装置还 包括:
所述获取单元, 还用于获取地址继承控制信息, 所述地址继承控制信息 触发单元,用于当所述地址继承控制信息表示使用缺省 PDP上下文的 IP 地址作为业务 PDP上下文的 IP地址时, 触发筛选单元执行。
9、 根据权利要求 5或 6或 7或 8所述的 IP地址分配装置, 其特征在于, 所述装置为 GGSN。
PCT/CN2011/083596 2010-12-30 2011-12-07 一种ip地址分配方法及装置 WO2012089001A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/930,277 US9288179B2 (en) 2010-12-30 2013-06-28 Method and apparatus for assigning IP address

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010615976.1 2010-12-30
CN2010106159761A CN102025800B (zh) 2010-12-30 2010-12-30 一种ip地址分配方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/930,277 Continuation US9288179B2 (en) 2010-12-30 2013-06-28 Method and apparatus for assigning IP address

Publications (1)

Publication Number Publication Date
WO2012089001A1 true WO2012089001A1 (zh) 2012-07-05

Family

ID=43866642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083596 WO2012089001A1 (zh) 2010-12-30 2011-12-07 一种ip地址分配方法及装置

Country Status (3)

Country Link
US (1) US9288179B2 (zh)
CN (1) CN102025800B (zh)
WO (1) WO2012089001A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025800B (zh) * 2010-12-30 2013-04-24 华为技术有限公司 一种ip地址分配方法及装置
CN102647347B (zh) * 2012-03-30 2016-07-13 汉柏科技有限公司 实现基于连接的流量的处理方法及系统
EP2861038B1 (en) 2012-06-29 2019-12-18 Huawei Technologies Co., Ltd. Information processing method, forwarding plane apparatus and control plane apparatus
US9807655B2 (en) 2014-02-14 2017-10-31 Telefonaktiebolaget Lm Ericsson (Publ) PCRF assisted APN selection
US10454881B2 (en) * 2015-10-08 2019-10-22 Unisys Corporation Systems and methods for configuring an IPv4 process without associating the IPv4 process with an IP loopback address
CN105915660A (zh) * 2015-10-22 2016-08-31 乐视致新电子科技(天津)有限公司 一种检测静态ip是否设置成功的方法和装置
CN111224857A (zh) 2016-06-29 2020-06-02 华为技术有限公司 用于实现组合虚拟专用网vpn的方法与装置
US10798635B2 (en) * 2018-12-03 2020-10-06 At&T Intellectual Property I, L.P. Mobile edge computing for data network traffic

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578487A (zh) * 2003-07-28 2005-02-09 华为技术有限公司 一种移动终端接入分组网络的方法
CN1859777A (zh) * 2006-01-26 2006-11-08 华为技术有限公司 一种业务接入中实现pdp地址分配的方法
CN1863140A (zh) * 2005-07-22 2006-11-15 华为技术有限公司 一种提高无线通信系统网络资源利用率的方法
CN1863127A (zh) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 将核心网接入多协议标记交换虚拟专用网的方法
CN101600224A (zh) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 无线数据卡支持多个pdp上下文的实现方法及无线数据卡
CN102025800A (zh) * 2010-12-30 2011-04-20 华为技术有限公司 一种ip地址分配方法及装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI106831B (fi) * 1998-01-14 2001-04-12 Nokia Networks Oy Pääsyn kontrollointimenetelmä matkaviestinjärjestelmää varten
JP2002058045A (ja) 2000-08-08 2002-02-22 Komatsu Ltd 現実の物体をバーチャル3次元空間に登場させるためのシステム及び方法
CN1360859A (zh) 2000-12-25 2002-07-31 赵金义 服装电脑量体设计车
JP4720093B2 (ja) 2004-03-05 2011-07-13 日本電気株式会社 試着システム並びにそれに用いるサーバ装置、ユーザ端末及び携帯通信端末
CN1752982A (zh) 2004-09-21 2006-03-29 乐金电子(沈阳)有限公司 利用虚拟模型的服装协调系统及其方法
JP2006148551A (ja) * 2004-11-19 2006-06-08 Seiko Instruments Inc 通信接続支援方法及びシステム並びに通信接続支援方法のプログラム
JP4473754B2 (ja) 2005-03-11 2010-06-02 株式会社東芝 仮想試着装置
US20080235114A1 (en) 2005-04-27 2008-09-25 Myshape, Inc. Matching the fit of individual garments to individual consumers
CN100488284C (zh) * 2006-01-26 2009-05-13 华为技术有限公司 一种3gpp演进网络中漫游用户数据路由优化方法
CN100499501C (zh) 2006-05-23 2009-06-10 烽火通信科技股份有限公司 多业务接入节点接入设备共用公网ip地址的方法
CN100409244C (zh) 2006-09-05 2008-08-06 中山大学 一种基于数字家庭的智能化个人着装设计系统
CN101183450A (zh) 2006-11-14 2008-05-21 朱滨 虚拟服装真人试穿系统及其构建方法
CN101388901B (zh) * 2007-09-14 2011-07-20 电信科学技术研究院 长期演进系统中支持用户静态ip地址寻址的方法及系统
KR101430594B1 (ko) * 2008-01-10 2014-08-18 삼성전자주식회사 이동통신 시스템에서 디폴트 게이트웨이 주소 설정 장치 및방법
CN101350759B (zh) 2008-08-18 2011-04-13 成都市华为赛门铁克科技有限公司 一种报文处理方法、业务板、接口板及网络通信设备
CN101425166A (zh) 2008-10-17 2009-05-06 幻境湾网络科技(北京)有限公司 店内智能试衣系统、智能试衣系统及方法
US8498212B2 (en) * 2009-05-22 2013-07-30 Qualcomm Incorporated Setting up a communication session within a wireless communications system
CN101819663A (zh) 2009-08-27 2010-09-01 珠海琳琅信息科技有限公司 一种服装虚拟试穿系统
CN101820392B (zh) 2010-03-26 2015-08-12 中兴通讯股份有限公司 一种实现多业务转发的方法和网络处理器

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578487A (zh) * 2003-07-28 2005-02-09 华为技术有限公司 一种移动终端接入分组网络的方法
CN1863127A (zh) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 将核心网接入多协议标记交换虚拟专用网的方法
CN1863140A (zh) * 2005-07-22 2006-11-15 华为技术有限公司 一种提高无线通信系统网络资源利用率的方法
CN1859777A (zh) * 2006-01-26 2006-11-08 华为技术有限公司 一种业务接入中实现pdp地址分配的方法
CN101600224A (zh) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 无线数据卡支持多个pdp上下文的实现方法及无线数据卡
CN102025800A (zh) * 2010-12-30 2011-04-20 华为技术有限公司 一种ip地址分配方法及装置

Also Published As

Publication number Publication date
CN102025800A (zh) 2011-04-20
US20130286985A1 (en) 2013-10-31
US9288179B2 (en) 2016-03-15
CN102025800B (zh) 2013-04-24

Similar Documents

Publication Publication Date Title
WO2012089001A1 (zh) 一种ip地址分配方法及装置
US9392636B2 (en) Methods and apparatuses for setting up a packet data network (PDN) connection
CN109413640B (zh) 会话信息查询方法、网元及计算机存储介质
JP5576946B2 (ja) ゲートウェイセッション確立のための方法及び装置
US7324489B1 (en) Managing network service access
US10432632B2 (en) Method for establishing network connection, gateway, and terminal
US10142159B2 (en) IP address allocation
US20100106845A1 (en) Method and network element for obtaining ip-can session policy control information
JP2008512958A (ja) 無線アクセスゲートウェイのためのダイナミック・ファイアウォール機能
US20150256509A1 (en) IDENTIFYING NATed DEVICES FOR DEVICE-SPECIFIC TRAFFIC FLOW STEERING
US20120113968A1 (en) Multiple access method and system of terminal in evovled packet system
WO2007051407A1 (fr) Systeme de communication mobile ameliore et procede d’enregistrement de terminal correspondant
US20150296445A1 (en) Method, device and system for managing packet data network type
WO2010048874A1 (zh) 一种ip会话标识方法、装置和系统
WO2014101041A1 (zh) Ipv6地址溯源方法、装置和系统
WO2009046666A1 (en) Addressing method of policy decision function entity, network element and network system
US20240098583A1 (en) PDU session continuity for a UE moving between a telecommunications network and a gateway device
EP3016423A1 (en) Network safety monitoring method and system
WO2014201600A1 (zh) 一种会话管理方法、地址管理方法及相关装置
US20180006843A1 (en) Method for routing data between a tethered device and multiple packet data networks
JP6496423B2 (ja) サービス割り当て方法及び装置
WO2012034428A1 (zh) 一种ip地址重分配的方法和服务节点
WO2014044010A1 (zh) 一种在流量卸载时域名解析的方法、装置及系统
KR20030037894A (ko) Radius 서버를 이용한 인터넷 서비스 프로바이더가입자의 아이피 주소 관리 시스템 및 그 방법
KR100981535B1 (ko) 휴대인터넷 기지국 제어 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11853609

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11853609

Country of ref document: EP

Kind code of ref document: A1