KR20170067582A - Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method - Google Patents
Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method Download PDFInfo
- Publication number
- KR20170067582A KR20170067582A KR1020150174419A KR20150174419A KR20170067582A KR 20170067582 A KR20170067582 A KR 20170067582A KR 1020150174419 A KR1020150174419 A KR 1020150174419A KR 20150174419 A KR20150174419 A KR 20150174419A KR 20170067582 A KR20170067582 A KR 20170067582A
- Authority
- KR
- South Korea
- Prior art keywords
- address
- ipv4
- ipv6
- identifier
- subscriber
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H04L61/6086—
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
IPv4 가입자와 IPv6 가입자를 함께 수용할 수 있는 게이트웨이, 및 그 정책 및 과금 처리방법이 개시된다. 본 발명에 따른 게이트웨이는, IPv4 가입자와 IPv6 가입자를 함께 수용하는 게이트웨이에 있어서, IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장하는 식별자저장부; 단말로부터 패킷이 인입되면, 인입되는 패킷이 식별자저장부에 저장된 식별자를 포함하고 있는지 판단하는 패킷판단부; 및 인입되는 패킷이 식별자저장부에 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리하는 규칙처리부;를 포함하는 것을 특징으로 한다.A gateway capable of accommodating both an IPv4 subscriber and an IPv6 subscriber, and a policy and a charging processing method are disclosed. According to another aspect of the present invention, there is provided a gateway including an IPv4 subscriber and an IPv6 subscriber, the gateway comprising: an identifier storage unit for storing an identifier to be recognized as an IPv6 address matched with an IPv4 address; A packet determination unit for determining whether an incoming packet includes an identifier stored in an identifier storage unit when a packet is received from the terminal; And a rule processing unit for processing policies and charging rules based on the corresponding IPv4 addresses when it is determined that the incoming packet includes an identifier stored in the identifier storage unit.
Description
IPv4 가입자와 IPv6 가입자를 함께 수용할 수 있는 게이트웨이, 및 그 정책 및 과금 처리방법에 관한 것으로서, 보다 상세하게는 IPv4에서 IPv6로 전환되는 과정에서 IPv4 가입자와 IPv6 가입자를 함께 수용하기 위하여 IPv6 서비스 서버 대역필터를 추가할 필요가 없으며, 또한 필터 매핑 처리를 위한 TCAM(Ternary Content Addressable Memory) 등의 메모리 자원을 증설할 필요가 없이 기존의 IPv4 필터만으로 IPv4 가입자와 IPv6 가입자 모두에 대한 정책 및 과금 처리를 수행할 수 있는 게이트웨이, 및 그 정책 및 과금 처리방법에 관한 것이다.The present invention relates to a gateway capable of accommodating both an IPv4 subscriber and an IPv6 subscriber, and a policy and a billing method. More particularly, the present invention relates to a gateway for accommodating both an IPv4 subscriber and an IPv6 subscriber in the process of transition from IPv4 to IPv6, It is unnecessary to add a filter and addition of memory resources such as TCAM (Ternary Content Addressable Memory) for filter mapping processing, and policy and billing processing for both IPv4 subscribers and IPv6 subscribers can be performed using existing IPv4 filters only And a policy and a charging processing method.
현재 인터넷을 기반으로 널리 보급되어 사용되고 있는 네트워크 프로토콜은 IP(Internet Protocol)라고 하는 인터넷 프로토콜이다. IP 프로토콜은 짧은 시간에 수많은 네트워크와 사용자들을 인터넷이라는 커다란 하나의 네트워크로 연결되도록 하는 데 결정적인 역할을 하고 있다.The network protocol that is currently widely used based on the Internet is an Internet protocol called IP (Internet Protocol). The IP protocol plays a crucial role in connecting a large number of networks and users to a large network, called the Internet, in a short time.
IP 프로토콜은 여러 차례의 설계변경을 통하여 발전되어 왔다. 이전에는 비교적 간단하면서도 유연하게 설계된 IPv4(Internet Protocol version 4) 버전이 주로 사용되어 왔으나 사용 가능한 IP 주소의 부족, IP 패킷 라우팅 처리의 비효율성, IP 노드가 동작하도록 하는데 필요한 각종 설정과정의 복잡성 등의 단점 때문에 새로운 버전인 IPv6(Internet Protocol version 6)로 전환되고 있는 추세이다.The IP protocol has evolved through several design changes. Previously, a relatively simple and flexible version of IPv4 (Internet Protocol version 4) has been mainly used, but the lack of available IP addresses, the inefficiency of IP packet routing processing, and the complexity of various configuration processes required for an IP node to operate Due to the disadvantages, the trend is shifting to IPv6 (Internet Protocol version 6), a new version.
그런데, 모든 인터넷 서비스 서버들이 동시에 IPv6로 전환하기는 현실적으로 불가능하기 때문에 먼저 가입자망을 IPv6로 전환하고 해당 IPv6 단말이 기존의 IPv4 서비스 망으로부터 서비스를 받게 하기 위해서 DNS6(Domain Name System 6)과 NAT64(Network Address Translation 64) 변환 등의 6 to 4 변환기술 등을 사용하고 있다. However, since it is not practically impossible for all Internet service servers to switch to IPv6 at the same time, it is necessary to first convert the subscriber's network to IPv6, and to use the DNS 6 (Domain Name System 6) and NAT64 Network Address Translation 64) conversion, and so on.
LTE EPC(Long Term Evolution Evolved Packet Core)에서는 이러한 IPv6로의 전환 과도기 단계에서 IPv4 단말과 IPv6 단말을 혼합 수용하기 위하여 단말의 IP 앵커(anchor) 역할과 서비스 별 PCEF(Policy and Charging Enforcement Function) 처리 역할을 수행하는 PDN 게이트웨이(Packet Data Network Gateway; PGW)의 역할이 핵심이다. 그런데, IPv4와 IPv6를 혼합 수용할 경우, IP 앵커 처리로서는 각 버전 별 세션 관리에 따른 복잡도 증가나 성능 부하가 되는 요소는 없으나, 서비스 별 제어와 과금을 처리하는 PCEF 처리 과정에서 서비스 구분 키(key)인 기존 서비스 서버의 IPv4 관련 필터 개수만큼 IPv6 필터 개수가 추가되어야 하기 때문에 필터 매칭에 필요한 메모리 자원이 2배로 증가하게 되는 문제점이 있다.In LTE EPC (Long Term Evolution Evolved Packet Core), IP anchor role and PCEF (Policy and Charging Enforcement Function) processing are handled in order to mix the IPv4 and IPv6 terminals in the transitional stage of transition to IPv6. The role of the PDN gateway (Packet Data Network Gateway; PGW) is the key. However, in the case of mixed reception of IPv4 and IPv6, there is no increase in complexity or performance load due to session management for each version as IP anchor processing. However, in the PCEF processing process for controlling and accounting for each service, The number of IPv6 filters must be added to the number of IPv4-related filters of the existing service server.
본 발명은 전술한 문제점을 해결하기 위하여 창안된 것으로서, IPv4에서 IPv6로 전환되는 과정에서 IPv4 가입자와 IPv6 가입자를 함께 수용하기 위하여 IPv6 서비스 서버 대역필터를 추가할 필요가 없으며, 또한 필터 매핑 처리를 위한 TCAM(Ternary Content Addressable Memory) 등의 메모리 자원을 증설할 필요가 없이 기존의 IPv4 필터만으로 IPv4 가입자와 IPv6 가입자 모두에 대한 정책 및 과금 처리를 수행할 수 있는 게이트웨이, 및 그 정책 및 과금 처리방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is not necessary to add an IPv6 service server band filter in order to accommodate both an IPv4 subscriber and an IPv6 subscriber in the process of transition from IPv4 to IPv6, A gateway that can perform policy and billing processing for both IPv4 subscribers and IPv6 subscribers using existing IPv4 filters without needing to add memory resources such as TCAM (Ternary Content Addressable Memory), and policies and billing processing methods are provided .
전술한 목적을 달성하기 위한 본 발명의 실시예에 따른 게이트웨이는, IPv4(Internet Protocol version 4) 가입자와 IPv6(Internet Protocol version 6) 가입자를 함께 수용하는 게이트웨이에 있어서, IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장하는 식별자저장부; 단말로부터 패킷이 인입되면, 인입되는 패킷이 식별자저장부에 저장된 식별자를 포함하고 있는지 판단하는 패킷판단부; 및 인입되는 패킷이 식별자저장부에 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리하는 규칙처리부;를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a gateway including an IPv4 (Internet Protocol version 4) subscriber and an IPv6 (Internet Protocol version 6) subscriber together, An identifier storage unit for storing and storing an identifier to be recognized; A packet determination unit for determining whether an incoming packet includes an identifier stored in an identifier storage unit when a packet is received from the terminal; And a rule processing unit for processing policies and charging rules based on the corresponding IPv4 addresses when it is determined that the incoming packet includes an identifier stored in the identifier storage unit.
전술한 게이트웨이는, 인입되는 패킷의 서비스 구분자인 IP 주소에 대해 TCAM(Ternary Content Addressable Memory) 기반의 매칭처리를 수행하는 매칭처리수행부;를 더 포함할 수 있다.The gateway may further include a matching process performing unit for performing a TCAM (Ternary Content Addressable Memory) -based matching process on an IP address which is a service separator of an incoming packet.
또한, 전술한 게이트웨이는, 인입되는 패킷이 식별자저장부에 저장된 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득하는 주소획득부;를 더 포함할 수 있다. 이 경우, 매칭처리수행부는 주소획득부에 의해 획득된 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 매칭처리를 수행한다.The gateway may further include an address acquisition unit for extracting the lower 32 bits of the IPv6 address matched with the IPv4 address to acquire the IPv4 address when the incoming packet includes the identifier stored in the identifier storage unit have. In this case, the matching processing performing unit performs the TCAM-based matching process using the IPv4 address obtained by the address obtaining unit as the service separator.
전술한 목적을 달성하기 위한 본 발명의 실시예에 따른 정책 및 과금 처리방법은, IPv4 가입자와 IPv6 가입자를 함께 수용하는 게이트웨이의 정책 및 과금 처리방법에 있어서, IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장하는 단계; 단말로부터 패킷이 인입되면, 인입되는 패킷이 저장된 식별자를 포함하고 있는지 판단하는 단계; 및 인입되는 패킷이 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리하는 단계;를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a policy and a charging method of a gateway that accommodates both an IPv4 subscriber and an IPv6 subscriber, wherein the IPv4 address is recognized as a matched IPv6 address Setting and storing an identifier; Determining whether an incoming packet includes a stored identifier if the packet is received from the terminal; And processing the rules of the policy and the charging based on the corresponding IPv4 address if it is determined that the incoming packet includes the stored identifier.
전술한 정책 및 과금 처리방법은, 인입되는 패킷의 서비스 구분자인 IP 주소에 대해 TCAM 기반의 매칭처리를 수행하는 단계;를 더 포함할 수 있다.The above-described policy and charging processing method may further include performing a TCAM-based matching process on an IP address which is a service separator of an incoming packet.
전술한 정책 및 과금 처리방법은, 인입되는 패킷이 저장된 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득하는 단계;를 더 포함할 수도 있다. 이 경우, 매칭처리 수행단계는 획득된 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 매칭처리를 수행한다.The method may further include extracting the lower 32 bits of the IPv6 address matched with the IPv4 address to obtain the IPv4 address when the received packet includes the identifier stored in the packet. In this case, the matching process step performs a TCAM-based matching process using the obtained IPv4 address as a service identifier.
본 발명에 따르면, IPv4에서 IPv6로 전환되는 과정에서 IPv4 가입자와 IPv6 가입자를 함께 수용하기 위하여 IPv6 서비스 서버 대역필터를 추가할 필요가 없다. According to the present invention, there is no need to add an IPv6 service server bandwidth filter in order to accommodate IPv4 subscribers and IPv6 subscribers in the process of transition from IPv4 to IPv6.
또한 본 발명에 따르면, 필터 매핑 처리를 위한 TCAM(Ternary Content Addressable Memory) 등의 메모리 자원을 증설할 필요가 없이 기존의 IPv4 필터만으로 IPv4 가입자와 IPv6 가입자 모두에 대한 정책 및 과금 처리를 수행할 수 있게 된다.According to the present invention, there is no need to add memory resources such as TCAM (Ternary Content Addressable Memory) for filter mapping processing, and it is possible to perform policy and accounting processing for both IPv4 subscribers and IPv6 subscribers by using only existing IPv4 filters do.
도 1은 종래의 IPv6 가입자 망을 IPv4 서버로 접속시키는 전환 방식 및 PGW의 IPv4/IPv6 가입자 망 혼합 수용 구조를 개략적으로 도시한 도면이다.
도 2는 IPv4 주소에 IPv6 주소가 추가됨으로써 필터 매칭을 위한 메모리 자원이 2배로 소요되는 종래 방식의 문제점을 설명하기 위해 도시한 도면이다.
도 3은 본 발명의 실시예에 따른 게이트웨이의 구성을 개략적으로 도시한 도면이다.
도 4는 PGW에서 사전에 정의된 IPv4 주소가 매칭된 IPv6 주소의 인입 시, 하위 32비트의 IPv4 주소로 TCAM 테이블을 매칭하여 PCC 규칙을 바인딩 처리하는 과정을 나타낸 도면이다.
도 5는 본 발명의 실시예에 따른 IPv4 PCC 규칙 기반의 IPv6 패킷의 PCEF 처리 구조도이다.
도 6은 본 발명의 실시예에 따른 정책 및 과금 처리방법을 나타낸 흐름도이다.FIG. 1 is a diagram schematically illustrating a switching method of connecting a conventional IPv6 subscriber network to an IPv4 server and a receiving structure of an IPv4 / IPv6 subscriber network of a PGW.
FIG. 2 is a diagram for explaining a problem of a conventional method in which an IPv6 address is added to an IPv4 address, thereby requiring twice as much memory resources for filter matching.
3 is a diagram schematically showing a configuration of a gateway according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating a process of binding a PCC rule by matching a TCAM table to an IPv4 address of a lower 32 bits at the time of entering an IPv6 address matched with an IPv4 address defined in a PGW.
5 is a PCEF processing structure diagram of an IPv6 packet based on an IPv4 PCC rule according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating a policy and a billing processing method according to an embodiment of the present invention.
이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따른 IPv4 가입자와 IPv6 가입자를 함께 수용할 수 있는 게이트웨이, 및 그 정책 및 과금 처리방법을 상세하게 설명한다.Hereinafter, a gateway capable of receiving an IPv4 subscriber and an IPv6 subscriber according to an embodiment of the present invention, a policy thereof, and a billing method will be described in detail with reference to the accompanying drawings.
도 1은 종래의 IPv6 가입자 망을 IPv4 서버로 접속시키는 전환 방식 및 PGW의 IPv4/IPv6 가입자 망 혼합 수용 구조를 개략적으로 도시한 도면이다.FIG. 1 is a diagram schematically illustrating a switching method of connecting a conventional IPv6 subscriber network to an IPv4 server and a receiving structure of an IPv4 / IPv6 subscriber network of a PGW.
도 1에 도시한 바와 같이, 종래의 IPv6 전환기술은 IETF(Internet Engineering Task Force) RFC(Request For comments) 6146, 6147의 NAT64(Network Address Translation 64)나 DNS64(Domain Name System 6) 등으로 이미 보편화되어 있다. 그러나 3GPP(3rd Generation Partnership Project) TS(Transport Channel) 23.401 등의 LTE EPC 규격에서는 IPv6 PDN Type 지원 등에 대해서는 규격화하고 있으나, IPv6 추가 수용을 위한 PCEF 처리에서의 IPv4 필터 재사용 등의 구체적인 방안에 대해서는 전혀 기제하고 있지 않다.As shown in FIG. 1, the conventional IPv6 conversion technology has already been widely used in Internet Engineering Task Force (IETF) Request for Comments (RFC) 6146, NAT47 (Network Address Translation 64) and DNS 64 (Domain Name System 6) . However, at all for specific measures, such as 3GPP (3 rd Generation Partnership Project) TS (Transport Channel) 23.401 , such as LTE EPC specifications in. However for Standardization etc. IPv6 PDN Type support, IPv4 filter reuse in the PCEF processing for IPv6 more acceptable There is no mechanism.
도 2는 IPv4 주소에 IPv6 주소가 추가됨으로써 필터 매칭을 위한 메모리 자원이 2배로 소요되는 종래 방식의 문제점을 설명하기 위해 도시한 도면이다.FIG. 2 is a diagram for explaining a problem of a conventional method in which an IPv6 address is added to an IPv4 address, thereby requiring twice as much memory resources for filter matching.
IPv6 전환을 위해 신규 IPv6 가입자 망을 기존 IPv4와 동시에 수용하여야 하는 IPv4 및 IPv6의 혼용 구조에서, PGW(Packet data network Gateway)는 규칙에 해당되는 서비스의 IP가 실제로는 IPv4 주소는 한 개이지만 IP 버전별 각 1개, 즉 2개의 필터 정보로 관리되어야 한다. 이것은 패킷 인입 시 매칭되는 규칙을 고속으로 검색하기 위한 TCAM(Ternary Content Addressable Memory) 등의 메모리 기능 적용 시, 하나의 서비스 필터를 위해 IPv4, IPv6 2개의 주소 자원이 할당되어야 하는 자원 낭비의 문제점이 있다.In the mixed-use structure of IPv4 and IPv6, which is required to accommodate a new IPv6 subscriber network at the same time as the existing IPv4 network, the packet data network gateway (PGW) has a single IPv4 address, It should be managed with one each, ie two filter information. This is a problem of waste of resources that two address resources of IPv4 and IPv6 must be allocated for one service filter when a memory function such as TCAM (Ternary Content Addressable Memory) for searching matching rules at the time of packet entry is applied at a high speed .
도 3은 본 발명의 실시예에 따른 게이트웨이의 구성을 개략적으로 도시한 도면이다. 여기서, 게이트웨이(100)는 IPv4(Internet Protocol version 4) 가입자와 IPv6(Internet Protocol version 6) 가입자를 함께 수용할 수 있는 PGW(Packet Data Network Gateway)로 구현될 수 있다.3 is a diagram schematically showing a configuration of a gateway according to an embodiment of the present invention. Here, the
도 3을 참조하면, 본 발명의 실시예에 따른 게이트웨이(100)는 식별자저장부(110), 패킷판단부(120), 규칙처리부(130), 매칭처리수행부(140) 및 주소획득부(150)를 포함할 수 있다.3, the
식별자저장부(110)는 IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장한다. 즉, 식별자저장부(110)는 IPv6 단말로부터 패킷이 인입되는 경우에 해당 패킷의 주소를 IPv4 주소로 인식할 수 있도록, 설정된 IPv6 주소의 식별자에 IPv4 주소를 매칭하여 저장한다. The
패킷판단부(120)는 단말로부터 패킷이 인입되면, 인입되는 패킷이 식별자저장부(110)에 저장된 식별자를 포함하고 있는지 판단한다. 예를 들어 도 4에 도시한 바와 같이, IPv6 단말로부터 IPv4 주소가 매칭된 IPv6 주소(IPv4-embeded IPv6 주소, 도 4에는 목적지 주소가 AAAA:BBBB:CCCC::0101:0101의 형태인 것으로 나타내었다) 형태의 패킷이 인입되면, 패킷판단부(120)는 해당 패킷이 식별자저장부(110)에 저장된 프리픽스(prefix)를 포함하고 있는지를 판단할 수 있다.When the packet is received from the terminal, the
규칙처리부(130)는 인입되는 패킷이 식별자저장부(110)에 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리한다. 즉, 규칙처리부(130)는 인입되는 패킷이 IPv4 주소가 매칭된 IPv6 주소로 인식되도록 하는 프리픽스를 포함하고 있으면, 해당 매핑된 IPv4 주소를 기반으로 룰(Rule)을 적용하여 정책 및 과금을 처리한다.If it is determined that the incoming packet includes the identifier stored in the
이때, 매칭처리수행부(140)는 인입되는 패킷의 서비스 구분자인 IP 주소에 대해 TCAM(Ternary Content Addressable Memory) 기반의 매칭처리를 수행한다. 즉, 매칭처리수행부(140)는 IPv4 주소가 매칭된 TCAM 테이블을 구성하여 저장하며, 각각의 IPv4 주소에 대응하여 PCC(Policy and Charging Control) 룰을 설정하여 저장하고, 인입되는 패킷의 프리픽스에 기초하여 해당 패킷의 IPv6 주소에 대응하는 IPv4 주소에 매칭된 PCC 룰을 판단한다.At this time, the matching
주소획득부(150)는 인입되는 패킷이 식별자저장부(110)에 저장된 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득할 수 있다. 즉, 주소획득부(150)는 IPv6 단말로부터 인입된 IPv4 주소가 매칭된 IPv6 주소 형태의 패킷이 목적지가 NAT64 프리픽스이면, 하위 32비트를 기준으로 필터를 매칭할 수 있다. 이 경우, 매칭처리수행부(140)는 주소획득부(150)에 의해 획득된 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 매칭처리를 수행한다.If the incoming packet includes an identifier stored in the
이를 통해, 본 발명의 실시예에 따른 게이트웨이(100)는 TCAM 테이블에 서비스 룰이 IPv4 주소인 필터 1개만 바인딩 시켜 놓은 상태에서 IPv6 단말로부터 인입되는 패킷도 해당 서비스 룰에 따라 매칭 처리될 수 있도록 한다. 즉, 게이트웨이(100)는 단말로부터 인입된 패킷의 룰 매칭 처리를 수행할 때 IPv6 주소가 미리 설정된 IPv4 주소가 매칭된 IPv6 주소의 형태인 경우, 실제 서버 주소인 하위 32비트 영역의 IPv4 주소로 TCAM 필터 매칭 처리를 수행한다. 이로써, IPv4 가입자와 IPv6 가입자가 혼용인 망 구조에서 서비스 망이 IPv4인 경우, TCAM 테이블에 신규 IPv6 필터를 추가로 생성하지 않더라도 기존의 IPv4 필터만으로 IPv4 단말과 IPv6 단말 모두에게 서비스의 PCC 룰을 매칭 처리할 수 있도록 하여 TCAM 자원을 절약할 수 있게 된다.Accordingly, the
도 5는 본 발명의 실시예에 따른 IPv4 PCC 규칙 기반의 IPv6 패킷의 PCEF 처리 구조도이다.5 is a PCEF processing structure diagram of an IPv6 packet based on an IPv4 PCC rule according to an embodiment of the present invention.
도 5에서, IPv4 단말로부터 목적지 서비스 IP가 1.1.1.1인 서비스 패킷이 인입될 경우, 본 발명의 실시예에 따른 게이트웨이(100)는 종래의 기술과 같이 사전에 정의된 PCC 룰에 따른 트래픽 제어 및 과금 데이터가 생성될 수 있도록 해당 패킷이 속하는 룰에 바인딩 처리를 수행하는데, 이를 위해 게이트웨이(100)는 해당 패킷의 서비스 구분자인 IP 주소에 대해 TCAM 기반의 고속 룰 매칭 처리를 진행한다. 이때, TCAM에 바인딩 되어 있는 해당 룰에 속하는 IPv4 서비스 대역 즉, 필터 정보를 기반으로 패킷과 룰 사이의 매칭 처리가 수행된다.5, when a service packet having a destination service IP of 1.1.1.1 is received from an IPv4 terminal, the
IPv6 단말로부터 IPv4 주소가 매칭된 IPv6 주소(예를 들어, 목적지 IP 주소가 IPv4 주소 1.1.1.1가 매칭된 IPv6 주소 2015::0101:0101인 경우)의 패킷이 인입되면, 본 발명의 실시예에 따른 게이트웨이(100)는 해당 패킷이 속하는 룰에 바인딩 처리를 하는 과정에서 종래의 기술처럼 해당 패킷의 서비스 구분자인 IPv6 주소에 대한 TCAM 기반의 고속 룰 매칭 처리를 진행하지 않고, 먼저 IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득한 후, 획득한 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 고속 룰 매칭 처리를 진행한다. 즉, 결과적으로 IPv6 단말의 트래픽 처리를 위해 별도의 IPv6 기반의 서비스 주소를 해당 룰의 필터로 관리할 필요가 없으며, 그에 따라 필터 고속 매칭 메모리인 TCAM에 추가 IPv6 주소를 바인딩 할 필요가 없어 TCAM 메모리를 추가로 소모할 필요없이 IPv6 트래픽의 PCEF(Policy and Charging Enforcement Function)를 처리할 수 있게 된다.If a packet of an IPv6 address matched with an IPv4 address (for example, when the destination IP address is an IPv6 address 2015 :: 0101: 0101 matched with the IPv4 address 1.1.1.1) is fetched from the IPv6 terminal, The
도 6은 본 발명의 실시예에 따른 정책 및 과금 처리방법을 나타낸 흐름도이다. 본 발명의 실시예에 따른 정책 및 과금 처리방법은 도 3에 나타낸 게이트웨이(100)에 의해 수행될 수 있다.FIG. 6 is a flowchart illustrating a policy and a billing processing method according to an embodiment of the present invention. The policy and billing method according to an embodiment of the present invention can be performed by the
도 3 내지 도 6을 참조하면, 게이트웨이(100)는 IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장한다(S110). 즉, 게이트웨이(100)는 IPv6 단말로부터 패킷이 인입되는 경우에 해당 패킷의 주소를 IPv4 주소로 인식할 수 있도록, 설정된 IPv6 주소의 식별자에 IPv4 주소를 매칭하여 저장한다. Referring to FIG. 3 to FIG. 6, the
게이트웨이(100)는 단말로부터 패킷이 인입되면, 인입되는 패킷이 저장된 식별자를 포함하고 있는지 판단한다(S120). 예를 들어, IPv6 단말로부터 IPv4 주소가 매칭된 IPv6 주소(IPv4-embeded IPv6 주소, 도 4에는 목적지 주소가 AAAA:BBBB:CCCC::0101:0101의 형태인 것으로 나타내었다) 형태의 패킷이 인입되면, 게이트웨이(100)는 해당 패킷이 저장된 프리픽스를 포함하고 있는지를 판단할 수 있다.When the packet is received from the terminal, the
게이트웨이(100)는 인입되는 패킷이 저장된 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득할 수 있다(S130). 즉, 게이트웨이(100)는 IPv6 단말로부터 인입된 IPv4 주소가 매칭된 IPv6 주소 형태의 패킷이 목적지가 NAT64 프리픽스이면, 하위 32비트를 기준으로 필터를 매칭할 수 있다. If the
이때, 게이트웨이(100)는 인입되는 패킷의 서비스 구분자인 IP 주소에 대해 TCAM(Ternary Content Addressable Memory) 기반의 매칭처리를 수행한다(S140). 즉, 게이트웨이(100)는 IPv4 주소가 매칭된 TCAM 테이블을 구성하여 저장하며, 각각의 IPv4 주소에 대응하여 PCC(Policy and Charging Control) 룰을 설정하여 저장하고, 인입되는 패킷의 프리픽스에 기초하여 해당 패킷의 IPv6 주소에 대응하는 IPv4 주소에 매칭된 PCC 룰을 판단한다.At this time, the
게이트웨이(100)는 인입되는 패킷이 저장된 식별자를 포함하는 것으로 판단되면, 해당 패킷으로부터 획득한 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리한다(S150). 즉, 게이트웨이(100)는 인입되는 패킷이 IPv4 주소가 매칭된 IPv6 주소로 인식되도록 하는 프리픽스를 포함하고 있으면, 해당 매핑된 IPv4 주소를 기반으로 룰(Rule)을 적용하여 정책 및 과금을 처리한다.If it is determined that the incoming packet includes the stored identifier, the
이를 통해, 본 발명의 실시예에 따른 게이트웨이(100)는 TCAM 테이블에 서비스 룰이 IPv4 주소인 필터 1개만 바인딩 시켜 놓은 상태에서 IPv6 단말로부터 인입되는 패킷도 해당 서비스 룰에 따라 매칭 처리될 수 있도록 한다.
Accordingly, the
Claims (6)
IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장하는 식별자저장부;
단말로부터 패킷이 인입되면, 인입되는 상기 패킷이 상기 식별자저장부에 저장된 식별자를 포함하고 있는지 판단하는 패킷판단부; 및
인입되는 상기 패킷이 상기 식별자저장부에 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리하는 규칙처리부;
를 포함하는 것을 특징으로 하는 게이트웨이.A gateway that accommodates both an IPv4 (Internet Protocol version 4) subscriber and an IPv6 (Internet Protocol version 6) subscriber,
An identifier storage unit for storing and setting an identifier to be recognized as an IPv6 address matched with an IPv4 address;
A packet judging unit for judging whether the incoming packet includes an identifier stored in the identifier storage unit when a packet is received from the terminal; And
A rule processing unit for processing policies and charging rules based on a corresponding IPv4 address if it is determined that the incoming packet includes an identifier stored in the identifier storage unit;
Lt; RTI ID = 0.0 > 1, < / RTI >
인입되는 상기 패킷의 서비스 구분자인 IP 주소에 대해 TCAM(Ternary Content Addressable Memory) 기반의 매칭처리를 수행하는 매칭처리수행부;
를 더 포함하는 것을 특징으로 하는 게이트웨이.The method according to claim 1,
A matching processing unit for performing a TCAM (Ternary Content Addressable Memory) -based matching process on an IP address which is a service identifier of the incoming packet;
Lt; RTI ID = 0.0 > 1, < / RTI >
인입되는 상기 패킷이 상기 식별자저장부에 저장된 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득하는 주소획득부;
를 더 포함하며,
상기 매칭처리수행부는 상기 주소획득부에 의해 획득된 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 매칭처리를 수행하는 것을 특징으로 하는 게이트웨이.3. The method of claim 2,
An address obtaining unit for extracting the lower 32 bits of the IPv6 address matched with the IPv4 address to obtain the IPv4 address when the incoming packet includes the identifier stored in the identifier storage unit;
Further comprising:
Wherein the matching processing performing unit performs a TCAM-based matching process using the IPv4 address obtained by the address obtaining unit as a service separator.
IPv4 주소가 매칭된 IPv6 주소로 인식될 식별자를 설정하여 저장하는 단계;
단말로부터 패킷이 인입되면, 인입되는 상기 패킷이 저장된 식별자를 포함하고 있는지 판단하는 단계; 및
인입되는 상기 패킷이 저장된 식별자를 포함하는 것으로 판단되면, 대응하는 IPv4 주소를 기반으로 정책 및 과금의 규칙을 처리하는 단계;
를 포함하는 것을 특징으로 하는 정책 및 과금 처리방법.In a policy and a charging method of a gateway that accommodates both an IPv4 subscriber and an IPv6 subscriber,
Setting and storing an identifier to be recognized as an IPv6 address matched with an IPv4 address;
Determining whether the incoming packet includes a stored identifier if the packet is received from the terminal; And
Processing the policy and accounting rule based on the corresponding IPv4 address if it is determined that the incoming packet includes the stored identifier;
The method comprising the steps of:
인입되는 상기 패킷의 서비스 구분자인 IP 주소에 대해 TCAM 기반의 매칭처리를 수행하는 단계;
를 더 포함하는 것을 특징으로 하는 정책 및 과금 처리방법.5. The method of claim 4,
Performing a TCAM-based matching process on an IP address that is a service identifier of the incoming packet;
Further comprising the steps < RTI ID = 0.0 > of: < / RTI >
인입되는 상기 패킷이 저장된 상기 식별자를 포함하는 경우, IPv4 주소가 매칭된 IPv6 주소의 하위 32비트를 추출하여 IPv4 주소를 획득하는 단계;
를 더 포함하며,
상기 매칭처리 수행단계는 획득된 상기 IPv4 주소를 서비스 구분자로 하여 TCAM 기반의 매칭처리를 수행하는 것을 특징으로 하는 정책 및 과금 처리방법.
6. The method of claim 5,
Extracting lower 32 bits of an IPv6 address matched with an IPv4 address to obtain an IPv4 address when the incoming packet includes the identifier stored therein;
Further comprising:
Wherein the matching processing step performs a TCAM-based matching process using the obtained IPv4 address as a service identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150174419A KR102500308B1 (en) | 2015-12-08 | 2015-12-08 | Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150174419A KR102500308B1 (en) | 2015-12-08 | 2015-12-08 | Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170067582A true KR20170067582A (en) | 2017-06-16 |
KR102500308B1 KR102500308B1 (en) | 2023-02-16 |
Family
ID=59278852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150174419A KR102500308B1 (en) | 2015-12-08 | 2015-12-08 | Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102500308B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020090982A (en) | 2002-10-31 | 2002-12-05 | 크로스반도체기술 주식회사 | System and method for calculating checksums of TCP segments/UDP datagrams in IPv4/IPv6 protocol translation |
KR20060091555A (en) * | 2005-02-15 | 2006-08-21 | 에스넷시스템(주) | Ipv6 internet gateway for inter-working between ipv4 network and ipv6 network and communication method thereof |
KR20080080858A (en) * | 2007-03-02 | 2008-09-05 | 삼성전자주식회사 | Intrusion detection system in ipv4-ipv6 network and method thereof |
-
2015
- 2015-12-08 KR KR1020150174419A patent/KR102500308B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020090982A (en) | 2002-10-31 | 2002-12-05 | 크로스반도체기술 주식회사 | System and method for calculating checksums of TCP segments/UDP datagrams in IPv4/IPv6 protocol translation |
KR20060091555A (en) * | 2005-02-15 | 2006-08-21 | 에스넷시스템(주) | Ipv6 internet gateway for inter-working between ipv4 network and ipv6 network and communication method thereof |
KR20080080858A (en) * | 2007-03-02 | 2008-09-05 | 삼성전자주식회사 | Intrusion detection system in ipv4-ipv6 network and method thereof |
Also Published As
Publication number | Publication date |
---|---|
KR102500308B1 (en) | 2023-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112153586B (en) | System and method for distributing policy charging and executive function connection information | |
KR101389665B1 (en) | Diverse source message association | |
Blanchet | Migrating to IPv6: a practical guide to implementing IPv6 in mobile and fixed networks | |
US8576841B2 (en) | Hybrid port range encoding | |
EP3113426A1 (en) | Data packet processing method and device | |
Despres | IPv6 rapid deployment on IPv4 infrastructures (6rd) | |
US20100290392A1 (en) | Session and Media Binding to Common Control | |
US20110002339A1 (en) | Network access control | |
US20060056420A1 (en) | Communication apparatus selecting a source address | |
US20120207168A1 (en) | METHODS AND DEVICES FOR ROUTING DATA PACKETS BETWEEN IPv4 AND IPv6 NETWORKS | |
US9832029B2 (en) | Policy control method and device | |
US7421506B2 (en) | Load balancer for multiprocessor platforms | |
WO2009092304A1 (en) | A method and apparatus for selecting the policy and charging rule function entity | |
WO2009056052A1 (en) | Realization method, pcrf and af of nat technology in pcc frame | |
CN104270475A (en) | System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64 | |
US7715401B2 (en) | Router | |
EP4099648A1 (en) | Method for processing segment id, and apparatus | |
US10063392B2 (en) | Methods and apparatus to select a voice over internet protocol (VOIP) border element | |
KR20170067582A (en) | Gateway Capable of Accommodating IPv4 Member and IPv6 Member, and Policy and Charging Processing Method | |
US8667564B1 (en) | Mobile internet protocol V6 SIP proxy bootstrapping | |
US20130282924A1 (en) | Method for addressing messages in a computer network | |
US9641425B2 (en) | DRA destination mapping based on diameter answer message | |
CN107547687B (en) | Message transmission method and device | |
Zhu et al. | Stateless mapping and multiplexing of IPv4 addresses in migration to IPv6 internet | |
CN102684972A (en) | Communication method and communication system compatible with IP (internet protocol)v4 address |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right |