KR100959834B1 - Network end apparatus and data processing method - Google Patents

Network end apparatus and data processing method Download PDF

Info

Publication number
KR100959834B1
KR100959834B1 KR1020080080829A KR20080080829A KR100959834B1 KR 100959834 B1 KR100959834 B1 KR 100959834B1 KR 1020080080829 A KR1020080080829 A KR 1020080080829A KR 20080080829 A KR20080080829 A KR 20080080829A KR 100959834 B1 KR100959834 B1 KR 100959834B1
Authority
KR
South Korea
Prior art keywords
address
packet
packets
private
unit
Prior art date
Application number
KR1020080080829A
Other languages
Korean (ko)
Other versions
KR20100022250A (en
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 주식회사 다산네트웍스
Priority to KR1020080080829A priority Critical patent/KR100959834B1/en
Publication of KR20100022250A publication Critical patent/KR20100022250A/en
Application granted granted Critical
Publication of KR100959834B1 publication Critical patent/KR100959834B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6295Queue scheduling characterised by scheduling criteria using multiple queues, one for each individual QoS, connection, flow or priority
    • 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/256NAT traversal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은 네트워크 단말 장치 및 데이터 처리 방법에 관한 것이다. 본 발명에 따른 네트워크 단말 장치 및 데이터 처리 방법은 수신된 패킷의 공인 IP 주소를 사설 IP 주소로 변환하고 패킷을 분류 및 전송함으로써, 근거리 네트워크로 전송하는 패킷에 대해 QoS를 보장할 수 있는 효과가 있다. 본 발명에 따르면 별도의 추가 비용 없이 간단하게 IP 주소 기반의 QoS를 보장할 수 있으며, 네트워크 자원을 보다 효율적으로 사용할 수 있다.The present invention relates to a network terminal apparatus and a data processing method. The network terminal apparatus and the data processing method according to the present invention have an effect of guaranteeing QoS for a packet transmitted to a local network by converting a public IP address of a received packet into a private IP address and classifying and transmitting the packet . According to the present invention, it is possible to guarantee QoS based on an IP address simply and without additional cost, and to use network resources more efficiently.

네트워크, QOS Network, QOS

Description

네트워크 단말 장치 및 데이터 처리 방법{Network end apparatus and data processing method}[0001] The present invention relates to a network end apparatus and a data processing method,

본 발명은 네트워크 단말 장치 및 데이터 처리 방법에 관한 것으로서, 더욱 자세하게는 네트워크 패킷의 QoS(Quality of Service)를 보장할 수 있는 네트워크 단말 장치 및 데이터 처리 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network terminal apparatus and a data processing method, and more particularly, to a network terminal apparatus and a data processing method capable of guaranteeing QoS (Quality of Service) of a network packet.

네트워크에는 크게 패킷교환 네트워크(packet switched network)와 회선교환 네트워크(circuit switched network)가 있다. 패킷교환 네트워크는 인터넷 네트워크를 포함하고, 인터넷이 대중화되기 이전의 패킷 기반의 다른 방식 네트워크까지 두루 일컫는다. 회선교환 네트워크는 예를 들어, PSTN방식의 전화망 등을 들 수 있다.Networks are largely a packet switched network and a circuit switched network. Packet-switched networks include Internet networks, and even packet-based other-manner networks before the Internet has become popular. The circuit switched network may be, for example, a PSTN type telephone network.

패킷교환 네트워크에서 특정 플로우(flow) 또는 특정 인터넷 연결에 대해서 우선권을 부여하지 않는 경우 QoS 문제가 발생할 수 있다. 우선권이 없다는 것은 모든 인터넷 연결이 같은 중요도를 가지고 서비스를 받는다는 것을 뜻한다. 그러나, 인터넷 활용이 늘어남에 따라 인터넷 연결에도 분류를 나눠서 특정 플로우의 연결을 더 우선적으로 서비스하거나 공유 링크의 특정 비율까지 차별적으로 이용하 게 할 수 있는 필요성이 요구되었다. 이에 따라, QoS의 개념이 등장하였다.QoS problems can arise if the packet-switched network does not give priority to a particular flow or a particular Internet connection. The lack of priority means that all Internet connections are serviced with equal importance. However, as the use of the Internet increases, it is required to classify the Internet connection so that the connection of a specific flow can be served more preferentially or a specific ratio of the shared link can be used differently. Accordingly, the concept of QoS has emerged.

예를 들어, 3중 서비스(Triple Play) 등에 상기 QoS 개념이 적용될 수 있다. 3중 서비스는 하나의 인터넷망을 통해서 전화, TV, 인터넷을 동시에 서비스하는 것이다. 만약, QoS가 구현되지 않아서 TV나 전화, 그리고 인터넷이 똑같은 우선순위로 인터넷을 사용하게 되면, 인터넷 사용자가 다운로드를 동시에 여러 개 시도할 경우, TV는 당장 볼 수 없는 지경에 이를 수 있고, 전화는 불통에 이를 수 있다.For example, the QoS concept may be applied to triple play and the like. Triple service is to service telephone, TV, and Internet at the same time through one Internet network. If QoS is not implemented and the TV, telephone, and Internet use the Internet at the same priority, if an Internet user tries several downloads at the same time, the TV can reach a point where it can not be seen immediately, It can lead to misbehavior.

본 발명은 광역 네트워크와 근거리 네트워크를 연결하여 광역 네트워크로부터 수신된 패킷을 근거리 네트워크로 전송하는 경우, QoS를 보장할 수 있는 네트워크 단말 장치 및 데이터 처리 방법을 제공한다.The present invention provides a network terminal apparatus and a data processing method capable of guaranteeing QoS when a packet received from a wide area network is transmitted to a local area network by connecting a wide area network and a local area network.

본 발명에 따른 네트워크 단말 장치는, 수신된 패킷의 공인 IP 주소를 사설 IP 주소로 변환하는 NAT부, 상기 IP 주소가 변환된 패킷을 분류하여 분류된 플로우에 따라 큐에 저장하는 분류부, 및 상기 큐에 저장된 패킷을 스케줄링하여 사설 IP 주소에 따른 목적지로 전송하는 스케줄링부를 포함한다.The network terminal apparatus according to the present invention includes a NAT unit for converting a public IP address of a received packet into a private IP address, a classifying unit for storing the converted packet in a queue according to the classified flow, And a scheduler for scheduling the packets stored in the queue and transmitting the packets to the destination according to the private IP address.

다른 관점에서 본 발명에 따른 데이터 처리 방법은, 수신된 패킷의 공인 IP 주소를 사설 IP 주소로 변환하는 단계, 상기 IP 주소가 변환된 패킷을 패킷 매칭 룰에 따라 분류하고 분류된 플로우에 따라 큐에 저장하는 단계, 및 상기 큐에 저장된 패킷을 스케줄링하여 사설 IP 주소에 따른 목적지로 전송하는 단계를 포함한다.According to another aspect of the present invention, there is provided a data processing method comprising the steps of: converting a public IP address of a received packet into a private IP address; classifying the IP address-converted packet according to a packet matching rule; And scheduling the packets stored in the queue and transmitting the packets to a destination according to a private IP address.

본 발명의 네트워크 단말 장치 및 데이터 처리 방법에 따르면, 네트워크 단말 장치를 통해 연결된 근거리 네트워크로 전송하는 패킷에 대해 QoS를 보장할 수 있는 효과가 있다. 본 발명에 따르면 별도의 추가 비용 없이 간단하게 IP 주소 기반의 QoS를 보장할 수 있으며, 네트워크 자원을 보다 효율적으로 사용할 수 있다.According to the network terminal device and the data processing method of the present invention, QoS can be guaranteed for a packet transmitted to a local area network connected through a network terminal device. According to the present invention, it is possible to guarantee QoS based on an IP address simply and without additional cost, and to use network resources more efficiently.

IP 공유기 등에 사용하는 경우, 사설 IP 주소 별로 QoS를 보장할 수 있다. 따라서, 3중 서비스(Triple Play) 등과 같이 공인 IP 주소를 공유하는 네트워크에서 IP 주소 마다 QoS를 보장할 수 있는 효과가 있다.When used in an IP router or the like, QoS can be guaranteed for each private IP address. Therefore, QoS can be guaranteed for each IP address in a network sharing a public IP address, such as a triple play service.

이하 본 발명의 목적, 특성 및 이점들은 첨부한 도면을 참조한 실시 예들의 상세한 설명을 통해 명백해질 것이다. 아울러, 본 발명에서 사용되는 용어는 가능한 한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재하였으므로, 단순한 용어의 명칭이 아닌 용어가 가지는 의미로서 본 발명을 파악하여야 함을 밝혀 두고자 한다.BRIEF DESCRIPTION OF THE DRAWINGS The objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments with reference to the accompanying drawings. In addition, although the term used in the present invention is selected as a general term that is widely used at present, in some cases, there is a term arbitrarily selected by the applicant. In this case, the meaning is described in detail in the description of the present invention. It is to be understood that the present invention should be grasped as a meaning of a term other than a name.

이와 같이 구성된 본 발명에 따른 네트워크 단말 장치 및 데이터 처리 방법의 동작을 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.The operation of the network terminal device and the data processing method according to the present invention will be described in detail with reference to the accompanying drawings.

인터넷과 전자기기의 발달과 함께 홈 네트워크(home network)가 부상하게 되었다. 상기와 같은 홈 네트워크를 구현하는 경우, 각각의 전자기기마다 공인 IP 주소를 할당하여 사용할 수도 있으나, IP 자원의 효율성이 떨어지는 문제가 있다. 따라서, 자원의 효율성 등을 고려하여 하나의 공인 IP 주소를 통해 광역 네트워크(Wide Area Network : WAN)와 패킷을 송수신하고, 사설 IP 주소를 통해 각 전자기기와 연결되어 형성된 근거리 네트워크(Local Area Network : LAN)와 패킷을 송수신하는 IP 공유기를 사용할 수 있다.With the development of the Internet and electronic devices, home networks have emerged. In the case of implementing such a home network, a public IP address may be allocated to each electronic device, but efficiency of IP resources is inferior. Therefore, in consideration of resource efficiency, a packet is transmitted and received to and from a wide area network (WAN) through a public IP address, and a local area network (LAN) connected to each electronic device through a private IP address, LAN) and an IP router that transmits and receives packets.

상기 IP 공유기를 통해 하나의 공인 IP 주소를 이용하여 다수의 전자 기기들이 인터넷을 사용할 수 있다. IP 공유기는 DHCP(Dynamic Host Configuration Protocol) 등을 이용하여 상기 IP 공유기와 연결된 각 전자기기에 사설 IP 주소를 할당하고 패킷을 송수신한다. 상기와 같은 IP 공유기를 이용하여 하나의 공인 IP 주소로 3중 서비스(Triple Play) 등을 지원할 수 있다.A plurality of electronic devices can use the Internet using one public IP address through the IP router. The IP sharer allocates a private IP address to each electronic device connected to the IP sharer using a Dynamic Host Configuration Protocol (DHCP) or the like, and transmits / receives the packet. The IP sharing device can support a triple play service using one public IP address.

이하에서는, 상기와 같은 IP 공유기에서 각 사설 IP 주소마다 QoS(Quality of Service)를 보장할 수 있도록 패킷 분류(classification) 이전에 NAT를 이용하여 IP 주소를 변환하는 방안에 대해 설명하기로 한다.Hereinafter, a method for converting an IP address using NAT before packet classification so as to guarantee quality of service (QoS) for each private IP address in the IP router will be described.

도 1은 본 발명에 따른 일 실시예로서, 제1 IP 공유기의 구성을 개략적으로 나타낸 도면이다. 상기 도 1의 IP 공유기는 인바운드(Inbound) 즉, 광역 네트워크로부터 패킷을 수신하여 근거리 네트워크로 패킷을 전송하는 부분의 구성을 개략적으로 나타낸 것이다. 상기 IP 공유기는 NAT(Network Address Translator)부(100), 분류부(110), 및 스케줄링부(Scheduler)(120)를 포함한다.1 is a diagram schematically showing a configuration of a first IP sharer according to an embodiment of the present invention. The IP sharer of FIG. 1 schematically shows a configuration of a part for receiving a packet from an inbound, that is, a wide area network, and transmitting the packet to a local area network. The IP sharer includes a network address translator (NAT) unit 100, a classifier 110, and a scheduler 120.

NAT부(100)는 네트워크 계층에서 사설 IP 주소와 공인 IP 주소를 변환한다. 인바운드의 경우, NAT부(100)는 광역 네트워크를 통해 수신된 패킷의 헤더에 포함되어 있는 목적(Destination) IP 주소를 근거리 네트워크의 사설 IP 주소로 매핑(mapping)한다. 상기 NAT부(100)는 매핑룰에 따라 사설 IP 주소로 매핑하며, 매핑된 패킷이 근거리 네트워크 내의 해당 기기로 전송되도록 한다.The NAT unit 100 converts a private IP address and a public IP address at a network layer. In case of inbound, the NAT unit 100 maps the destination IP address included in the header of the packet received through the wide area network to the private IP address of the local area network. The NAT unit 100 maps the packet to a private IP address according to a mapping rule, and transmits the mapped packet to a corresponding device in the local area network.

분류부(110)는 수신된 패킷을 분류(packet classification)한다. 상기 분류부(110)는 미리 정해진 QoS 룰에 따라 패킷을 여러 개의 플로우(flow)로 분류함으로써, 각 플로우 별로 패킷이 처리되도록 한다. 상기 분류부(110)는 패킷을 QoS 룰에 따라 분류하고 마킹(marking)하여 각 플로우 별로 패킷이 처리되도록 할 수 있 다.The classifying unit 110 classifies the received packets. The classifying unit 110 classifies a packet into a plurality of flows according to a predetermined QoS rule so that packets are processed for each flow. The classifying unit 110 classifies and marks the packets according to the QoS rules and processes the packets for each flow.

분류부(110)를 통하여 분류된 패킷은 스케줄링부(scheduler)(120)로 전송되며, 스케줄링부(120)는 수신된 패킷을 QoS 룰에 따라 큐에 저장하여 전송 스케줄을 결정한다. 상기 QoS 룰은 미리 설정되어 저장될 수 있다.Packets classified through the classifying unit 110 are transmitted to a scheduler 120. The scheduling unit 120 stores a received packet in a queue according to a QoS rule to determine a transmission schedule. The QoS rules can be preset and stored.

상기 스케줄링부(120)는 QoS 룰에 따라 우선 순위가 높은 패킷을 저장하는 정책 큐(priority queue)와 우선 순위가 낮은 패킷을 저장하는 기본 큐(custom queue)를 포함한다. 구현 예에 따라 우선 순위를 세분화하여 정채 큐의 우선 순위를 다양하게 하여 구현할 수 있다.The scheduling unit 120 includes a priority queue for storing a packet having a high priority according to a QoS rule and a custom queue for storing a packet having a low priority. According to the embodiment, the priorities can be divided and the priority of the queue can be varied.

분류부(110)에서 분류된 패킷은 QoS 룰의 우선 순위에 따라 스케줄링부(120)의 해당 큐에 저장된다. 스케줄링부(120)는 상기 큐에 저장되어 있는 패킷을 스케줄링하여 패킷의 목적 주소로 전송한다. 상기 도 1의 경우, 인바운드의 경우이므로, 스케줄링부(120)는 패킷의 사설 IP 주소에 따라 근거리 네트워크로 연결된 기기로 전송할 수 있다.The packets classified by the classifying unit 110 are stored in a corresponding queue of the scheduling unit 120 according to the priority of the QoS rules. The scheduling unit 120 schedules a packet stored in the queue and transmits the packet to the destination address of the packet. In the case of FIG. 1, since it is an inbound case, the scheduling unit 120 may transmit the packet to a device connected to the local network according to a private IP address of the packet.

상기 도 1에서와 같이 NAT부(100)를 통해 패킷의 목적 주소를 사설 IP 주소로 매핑한 후, 패킷 분류를 수행함으로써 사설 IP 주소 별로 패킷을 QoS 룰에 따라 분류할 수 있다. 따라서, 사설 IP 주소 별로 QoS를 보장할 수 있다. 즉, 수신된 패킷의 분류 이전에 사설 IP 주소로 매핑함으로써, 장치 구현자 또는 사용자는 제3계층(Layer 3) 정보(IP 주소 정보)에 따른 QoS 룰을 설정할 수 있고, IP 공유기는 사설 IP 주소 별로 QoS룰에 따라 패킷을 분류할 수 있다. 따라서, IP 공유기와 연결된 기기는 상기 설정된 QoS 룰에 따라 인터넷 서비스를 제공받을 수 있다.As shown in FIG. 1, a destination address of a packet is mapped to a private IP address through the NAT unit 100, and then packet classification is performed to classify packets according to QoS rules according to private IP addresses. Therefore, QoS can be guaranteed for each private IP address. That is, by mapping to the private IP address before classification of the received packet, the device implementer or the user can set QoS rules according to Layer 3 information (IP address information), and the IP router sets a private IP address It is possible to classify the packets according to the QoS rules. Therefore, the device connected to the IP sharer can receive the Internet service according to the established QoS rule.

도 2는 본 발명에 따른 일 실시예로서, 제2 IP 공유기의 구성을 개략적으로 나타낸 도면이다. 상기 도 2의 IP 공유기는 인바운드(Inbound) 즉, 광역 네트워크로부터 패킷을 수신하여 근거리 네트워크로 패킷을 전송하는 부분과 아웃 바운드(Outbound) 즉, 근거리 네트워크로 연결된 기기로부터 패킷을 수신하여 광역 네트워크로 패킷을 전송하는 부분을 모두 포함하는 구성을 개략적으로 나타낸 것이다. 상기 IP 공유기는 아웃 바운드부(200), 제1 분류부(202), 제1 스케줄링부(206), 제1 NAT부(208), 인바운드부(210), 제2 NAT부(212), 제2 분류부(214), 및 제2 스케줄링부(218)를 포함한다.2 is a diagram schematically illustrating a configuration of a second IP router according to an embodiment of the present invention. The IP router shown in FIG. 2 receives a packet from an inbound or wide area network and transmits a packet to a local area network and receives a packet from a device connected to the local area network through outbound, And a part for transmitting the data. The IP router includes an outbound unit 200, a first classifying unit 202, a first scheduling unit 206, a first NAT unit 208, an inbound unit 210, a second NAT unit 212, 2 classifying unit 214, and a second scheduling unit 218. [

아웃 바운드부(200)는 제1 분류부(202), 제1 스케줄링부(206), 제1 NAT부(208)를 포함한다. 상기 아웃 바운드부(200)는 근거리 네트워크로 연결된 기기로부터 패킷을 수신하여 광역 네트워크로 패킷을 전송한다.The outbound unit 200 includes a first classifying unit 202, a first scheduling unit 206, and a first NAT unit 208. The outbound unit 200 receives a packet from a device connected to the local area network and transmits the packet to the wide area network.

제1 분류부(202)는 근거리 네트워크로부터 수신된 패킷을 분류(packet classification)한다. 상기 제1 분류부(202)는 미리 정해진 QoS 룰에 따라 패킷을 여러 개의 플로우(flow)로 분류함으로써, 각 플로우 별로 패킷이 처리되도록 한다. 상기 제1 분류부(202)는 근거리 네트워크로 연결된 적어도 하나 이상의 기기로부터 패킷을 수신하여 분류할 수 있다. 제1 분류부(202)는 패킷을 QoS 룰에 따라 분류하고 마킹(marking)하여 각 플로우 별로 패킷이 처리되도록 할 수 있다. 예를 들어, 제1 분류부(202)는 상기 도 2와 같이 N개의 플로우 가운데 하나의 플로우(204)로 분류할 수 있다.The first classifier 202 classifies packets received from the local network. The first classifying unit 202 classifies packets into a plurality of flows according to a predetermined QoS rule so that packets are processed for each flow. The first classifying unit 202 may receive and classify packets from at least one or more devices connected to the local area network. The first classifying unit 202 classifies and marks the packets according to the QoS rules so that the packets are processed for each flow. For example, the first classifier 202 can be classified into one of the N flows 204 as shown in FIG.

제1 분류부(202)를 통하여 분류된 패킷은 제1 스케줄링부(206)로 전송되며, 제1 스케줄링부(206)는 수신된 패킷을 QoS 룰에 따라 큐에 저장하여 전송 스케줄을 결정한다. 상기 QoS 룰은 미리 설정되어 저장될 수 있다. 예를 들어, 상기 도 2에서와 같이 제1 플로우(Flow 1)의 패킷은 제1 큐(Queue #1)에 저장되어 스케줄링될 수 있다. 상기 큐의 우선순위는 구현 예에 따라 다르게 설정될 수 있다.The packets classified through the first classifying unit 202 are transmitted to the first scheduling unit 206. The first scheduling unit 206 stores the received packets in a queue according to the QoS rules to determine a transmission schedule. The QoS rules can be preset and stored. For example, as shown in FIG. 2, the packets of the first flow (Flow 1) may be stored and scheduled in the first queue (Queue # 1). The priority of the queue may be set differently according to an implementation.

제1 NAT부(208)는 네트워크 계층에서 사설 IP 주소와 공인 IP 주소를 변환한다. 아웃 바운드부(200)의 경우, 제1 NAT부(208)는 근거리 네트워크를 통해 수신된 패킷의 헤더에 포함되어 있는 수신 IP 주소를 IP 공유기의 공인 IP 주소로 매핑(mapping)한다.The first NAT unit 208 converts the private IP address and the public IP address at the network layer. In the case of the outbound unit 200, the first NAT unit 208 maps the received IP address included in the header of the packet received through the local area network to a public IP address of the IP router.

인바운드부(210)는 제2 NAT부(212), 제2 분류부(214), 제2 스케줄링부(218)를 포함한다. 상기 인바운드부(210)는 광역 네트워크로부터 패킷을 수신하여 근거리 네트워크로 패킷을 전송한다. 상기 인바운드부(210)의 각 구성요소의 동작은 상기 도 1에서 설명한 바와 같다.The inbound unit 210 includes a second NAT unit 212, a second classification unit 214, and a second scheduling unit 218. The inbound unit 210 receives a packet from the wide area network and transmits the packet to the local area network. The operation of each component of the inbound unit 210 is the same as that described with reference to FIG.

상기 도 2와 같은 IP 공유기는 공유기를 통해 송수신 되는 패킷에 대해 사설 IP 주소 별로 QoS를 보장할 수 있다.The IP router shown in FIG. 2 can guarantee QoS for private IP addresses for packets transmitted and received via the router.

도 3은 본 발명에 따른 일 실시예로서, 수신된 패킷을 처리하는 과정을 개략적으로 나타낸 순서도이다. 상기 도 3의 경우, 광역 네트워크로부터 IP 공유기로 수신되는 패킷을 처리하는 과정을 개략적으로 나타낸다.3 is a flowchart schematically illustrating a process of processing a received packet according to an embodiment of the present invention. In the case of FIG. 3, a process of processing a packet received from the wide area network to the IP router is schematically shown.

광역 네트워크로부터 IP 공유기로 패킷이 수신되면, 공유기는 패킷의 IP 주소를 변환한다(S300). IP 공유기는 패킷의 헤더에 포함된 목적지 공인 IP 주소를 사설 IP 주소로 매핑하여 변환할 수 있다.When a packet is received from the wide area network to the IP sharer, the router converts the IP address of the packet (S300). The IP sharer can convert the destination public IP address included in the header of the packet to a private IP address.

IP 공유기는 상기 IP 주소가 변환된 패킷에 대해 패킷 분류를 수행한다. 공유기는 패킷 분류 룰(Rule)에 따라 패킷을 분류하며, 상기 패킷 분류 룰은 QoS 룰에 따라 다르다. IP 공유기는 수신된 패킷이 패킷 분류 룰에 매칭되는지 판단(S310)하여, 상기 룰에 매칭되면 매칭된 패킷을 해당 룰에 따른 정책 큐(priority queue)에 저장한다(S320). 수신된 패킷이 패킷 분류 룰에 매칭되지 않으면, 수신된 패킷을 기본 큐(custom queue)에 저장한다(S330).The IP sharer performs packet classification on the packet whose IP address is converted. The router classifies packets according to a packet classification rule (Rule), and the packet classification rule is different according to a QoS rule. The IP router determines whether the received packet matches the packet classification rule (S310), and stores the matched packet in a priority queue according to the rule (S320). If the received packet does not match the packet classification rule, the received packet is stored in a custom queue (S330).

IP 공유기는 상기 각 큐에 저장된 패킷을 스케줄링하여 IP 공유기와 연결되어 근거리 네트워크를 형성하는 전자기기로 전송한다(S340). 상기와 같이 수신된 패킷의 목적지 주소를 사설 IP 주소로 먼저 변환함으로써, 사설 IP 주소 별로 QoS 룰을 설정할 수 있고, 사설 IP 주소 별로 QoS를 보장할 수 있다.The IP sharer schedules the packets stored in the respective queues and transmits the packets to an electronic device connected to the IP sharer and forming a local network (S340). By first converting the destination address of the received packet to the private IP address, QoS rules can be set for each private IP address, and QoS can be guaranteed for each private IP address.

도 4는 본 발명에 따른 일 실시예로서, 송수신되는 패킷을 처리하는 과정을 개략적으로 나타낸 순서도이다. 상기 도 4의 경우, 광역 네트워크로부터 IP 공유기로 수신되는 패킷과 근거리 네트워크로부터 IP 공유기로 수신되는 패킷을 처리하는 과정을 개략적으로 나타낸다.4 is a flowchart schematically illustrating a process of processing packets transmitted and received according to an embodiment of the present invention. In the case of FIG. 4, a packet received from the wide area network to the IP sharer and a packet received from the local network to the IP sharer are schematically shown.

IP 공유기에 패킷이 수신되면, IP 공유기는 패킷의 헤더 정보를 추출한다(S400). 상기 패킷의 헤더 정보를 이용하여 패킷의 전송 방향을 판단(S410)할 수 있다. 예를 들어, 헤더에 포함된 패킷의 목적지 주소 정보 등을 이용하여 패킷의 전송 방향을 판단할 수 있다.When a packet is received in the IP router, the IP router extracts the header information of the packet (S400). It is possible to determine the transmission direction of the packet using the header information of the packet (S410). For example, the transmission direction of the packet can be determined using the destination address information of the packet included in the header.

상기 패킷의 전송 방향이 아웃 바운드인 경우, IP 공유기는 수신된 패킷이 패킷 분류 룰에 매칭되는지 판단한다(S420). 상기 룰에 매칭이 되면, 매칭된 패킷 을 해당 룰에 따른 정책 큐에 저장하고(S422), 상기 룰에 매칭이 되지 않으면, 수신된 패킷을 기본 큐에 저장한다(S424). IP 공유기는 각 큐에 저장된 패킷을 스케줄링하고(S426), 패킷의 헤더에 포함된 수신 IP 주소를 IP 공유기의 공인 IP 주소로 변환하여 광역 네트워크로 전송한다(S428).If the transmission direction of the packet is outbound, the IP router determines whether the received packet matches the packet classification rule (S420). If the rule is matched, the matching packet is stored in the policy queue according to the rule (S422). If the rule is not matched, the received packet is stored in the base queue (S424). The IP router schedules the packets stored in each queue (S426), converts the IP address included in the header of the packet into a public IP address of the IP router, and transmits the public IP address to the wide area network (S428).

상기 S410단계에서 패킷의 전송 방향을 판단한 결과, 패킷의 전송방향이 인바운드인 경우, S430단계를 수행한다. 상기 S430단계 이하 인바운드에서의 과정은 상기 도 3에서 설명한 바와 같다.If it is determined in step S410 that the transmission direction of the packet is inbound, step S430 is performed. The process in step S430 and subsequent steps is the same as that described with reference to FIG.

본 발명은 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가진 자에 의해 변형이 가능하고 이러한 변형은 본 발명의 범위에 속한다.It is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

도 1은 본 발명에 따른 일 실시예로서, 제1 IP 공유기의 구성을 개략적으로 나타낸 도면1 is a diagram schematically showing the configuration of a first IP sharer according to an embodiment of the present invention.

도 2는 본 발명에 따른 일 실시예로서, 제2 IP 공유기의 구성을 개략적으로 나타낸 도면2 is a diagram schematically showing the configuration of a second IP router, according to an embodiment of the present invention.

도 3은 본 발명에 따른 일 실시예로서, 수신된 패킷을 처리하는 과정을 개략적으로 나타낸 순서도3 is a flowchart illustrating a process of processing a received packet according to an embodiment of the present invention.

도 4는 본 발명에 따른 일 실시예로서, 송수신되는 패킷을 처리하는 과정을 개략적으로 나타낸 순서도4 is a flowchart illustrating a process of processing packets transmitted and received according to an embodiment of the present invention.

*도면의 주요 부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

100 : NAT부 110 : 분류부100: NAT unit 110:

120 : 스케줄링부120: Scheduling unit

Claims (7)

광역 네트워크를 통해 수신된 패킷의 공인 IP 주소를 사설 IP 주소로 변환하는 NAT부;A NAT unit for converting a public IP address of a packet received through a wide area network into a private IP address; 상기 IP 주소가 변환된 패킷을 분류하여 분류된 플로우에 따라 큐에 저장하는 분류부; 및A classifying unit for classifying the IP address converted packets and storing the converted packets in a queue according to the classified flow; And 상기 큐에 저장된 패킷을 스케줄링하여 사설 IP 주소에 따른 목적지로 전송하는 스케줄링부를 포함하고, And a scheduler for scheduling packets stored in the queue and transmitting the packets to a destination according to a private IP address, 상기 분류부는, QoS 룰에 따라 패킷을 분류하는 네트워크 단말 장치.Wherein the classifying unit classifies packets according to a QoS rule. 제 1 항에 있어서,The method according to claim 1, 상기 NAT부는, 패킷의 목적지 공인 IP 주소를 근거리 네트워크의 사설 IP 주소로 변환하는 네트워크 단말 장치.Wherein the NAT unit converts a destination public IP address of a packet into a private IP address of a local area network. 삭제delete 제 1 항에 있어서,The method according to claim 1, 상기 분류부는, 패킷의 사설 IP 주소마다 해당 QoS룰에 따라 패킷을 분류하는 네트워크 단말 장치.Wherein the classifying unit classifies a packet according to a QoS rule for each private IP address of the packet. 제 1 항에 있어서,The method according to claim 1, 근거리 네트워크로부터 수신된 패킷을 분류하여 분류된 플로우에 따라 큐에 저장하는 제1 분류부;A first classifier for classifying packets received from a local area network and storing the packets in a queue according to the classified flow; 상기 큐에 저장된 패킷을 스케줄링하는 제1 스케줄링부; 및A first scheduling unit for scheduling packets stored in the queue; And 상기 스케줄링된 패킷의 사설 IP 주소를 공인 IP 주소로 변환하여 전송하는 제1 NAT부를 더 포함하는 네트워크 단말 장치.Further comprising: a first NAT unit for converting a private IP address of the scheduled packet into a public IP address and transmitting the public IP address. 제 5 항에 있어서,6. The method of claim 5, 상기 제1 NAT부는, 패킷을 수신할 근거리 네트워크의 사설 IP 주소를 공인 IP 주소로 변환하는 네트워크 단말 장치.Wherein the first NAT unit converts a private IP address of a local network to receive a packet into a public IP address. 광역 네트워크를 통해 수신된 패킷의 공인 IP 주소를 사설 IP 주소로 변환하는 단계;Converting a public IP address of a packet received through a wide area network to a private IP address; 상기 IP 주소가 변환된 패킷을 QoS 룰에 따라 분류하고 분류된 플로우에 따라 큐에 저장하는 단계; 및Classifying the packet with the IP address converted according to the QoS rule and storing the classified packet according to the classified flow; And 상기 큐에 저장된 패킷을 스케줄링하여 사설 IP 주소에 따른 목적지로 전송하는 단계를 포함하는 데이터 처리 방법.Scheduling the packets stored in the queue and transmitting the packets to a destination according to a private IP address.
KR1020080080829A 2008-08-19 2008-08-19 Network end apparatus and data processing method KR100959834B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080080829A KR100959834B1 (en) 2008-08-19 2008-08-19 Network end apparatus and data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080080829A KR100959834B1 (en) 2008-08-19 2008-08-19 Network end apparatus and data processing method

Publications (2)

Publication Number Publication Date
KR20100022250A KR20100022250A (en) 2010-03-02
KR100959834B1 true KR100959834B1 (en) 2010-05-28

Family

ID=42174842

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080080829A KR100959834B1 (en) 2008-08-19 2008-08-19 Network end apparatus and data processing method

Country Status (1)

Country Link
KR (1) KR100959834B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101257189B1 (en) * 2011-08-30 2013-04-22 한국전력공사 Ring type optical modem device, and communication method using the same

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101125854B1 (en) * 2011-10-17 2012-03-28 주식회사 파이오링크 Method, appratus, system and computer-readable recording medium for acquiring information on private ip address before nat
CN107786676B (en) * 2016-08-24 2021-07-09 中国电信股份有限公司 Relay communication method, system and terminal for relay communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020060518A (en) * 2001-01-11 2002-07-18 지용익, 이원재 Router and routing method for providing each of IP group its bandwidth service
KR20030070350A (en) * 2002-02-25 2003-08-30 포디홈네트 Method and apparatus for controlling a packet in home network
KR20050061237A (en) * 2003-12-18 2005-06-22 한국전자통신연구원 System and method for providing quality of service in ip network
KR20060063376A (en) * 2004-12-07 2006-06-12 한국전자통신연구원 Apparatus of home gateway for iptv service and method for readjustment of service priority using it

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020060518A (en) * 2001-01-11 2002-07-18 지용익, 이원재 Router and routing method for providing each of IP group its bandwidth service
KR20030070350A (en) * 2002-02-25 2003-08-30 포디홈네트 Method and apparatus for controlling a packet in home network
KR20050061237A (en) * 2003-12-18 2005-06-22 한국전자통신연구원 System and method for providing quality of service in ip network
KR20060063376A (en) * 2004-12-07 2006-06-12 한국전자통신연구원 Apparatus of home gateway for iptv service and method for readjustment of service priority using it

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101257189B1 (en) * 2011-08-30 2013-04-22 한국전력공사 Ring type optical modem device, and communication method using the same

Also Published As

Publication number Publication date
KR20100022250A (en) 2010-03-02

Similar Documents

Publication Publication Date Title
US7653047B2 (en) Guaranteeing quality of service (QoS) using bandwidth reservation in switch
KR100800881B1 (en) Method and apparatus for supporting qos in residential ethernet system
US20040208177A1 (en) Semiconductor circuit device, packet processing method, management system, management method and packet processing method
CN104125167A (en) Flow control method and device
US9042355B2 (en) Quality of service (QoS) for satellite communications network
US20120027024A1 (en) Zero-Setting Network Quality Service System
KR20050038649A (en) Mechanism for providing quality of service in a network utilizing priority and reserved bandwidth protocols
CN1420665A (en) Packet sending device and packet sending processing method
JPWO2012098774A1 (en) Network system, controller, and QoS control method
US8379518B2 (en) Multi-stage scheduler with processor resource and bandwidth resource allocation
KR20060083754A (en) Apparatus and method for transmitting data under the guarantee of qos in a portable internet system
CN1773993A (en) Session relay equipment and session relay method
KR100959834B1 (en) Network end apparatus and data processing method
US11595852B2 (en) Wireless access point software application for classifying network data packets to improve packet forwarding performance
US20060140174A1 (en) VoIP (voice over internet protocol) call processing
WO2015192572A1 (en) Method, apparatus and system for configuring quality of service (qos) parameters
JP2004048394A (en) Semiconductor circuit device and packet processing method
KR101587379B1 (en) Method of dynamic control for queue size and apparatus thereof
US9215088B2 (en) Identification of application sessions
JP5354574B2 (en) Packet communication control apparatus and packet communication control method
KR100975519B1 (en) Network end apparatus and network data switching method
TWI789116B (en) Mesh network system and communication method of the same having data flow transmission sorting mechanism
JP4082112B2 (en) Semiconductor circuit device and packet processing method
Grewal et al. A framework for quality of service in wireless networks
JP2004048392A (en) Semiconductor circuit device and packet processing method

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
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130403

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140423

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160511

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170511

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20190424

Year of fee payment: 10