KR100893213B1 - Apparatus and Method for Controlling Data in Mobile Network - Google Patents

Apparatus and Method for Controlling Data in Mobile Network Download PDF

Info

Publication number
KR100893213B1
KR100893213B1 KR1020050061928A KR20050061928A KR100893213B1 KR 100893213 B1 KR100893213 B1 KR 100893213B1 KR 1020050061928 A KR1020050061928 A KR 1020050061928A KR 20050061928 A KR20050061928 A KR 20050061928A KR 100893213 B1 KR100893213 B1 KR 100893213B1
Authority
KR
South Korea
Prior art keywords
packet
mobile node
temporary address
address
router
Prior art date
Application number
KR1020050061928A
Other languages
Korean (ko)
Other versions
KR20070006524A (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 KR1020050061928A priority Critical patent/KR100893213B1/en
Publication of KR20070006524A publication Critical patent/KR20070006524A/en
Application granted granted Critical
Publication of KR100893213B1 publication Critical patent/KR100893213B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

본 발명은 모바일 네트워크에 있어서 패킷 처리 방법에 관한 것으로서, 모바일 노드(Mobile Node)가 제1라우터에서 제2라우터로 이동하는 경우 제1라우터를 경유하는 패킷과 제2라우터를 경유하는 패킷이 혼재되어 모바일 노드로 전송되는 이른바 패킷 순서의 어긋남 현상을 방지하기 위하여 제1라우터를 경유하는 패킷이 모두 전달되었음을 알리기 위한 메시지를 이용함으로써 모바일 노드의 응용 프로그램의 성능 향상을 꾀할 수 있다.

Figure R1020050061928

The present invention relates to a packet processing method in a mobile network. When a mobile node moves from a first router to a second router, a packet passing through the first router and a packet passing through the second router are mixed. In order to prevent a so-called packet order misalignment transmitted to the mobile node, a message for notifying that all packets passing through the first router are transmitted can be used to improve the performance of the application program of the mobile node.

Figure R1020050061928

Description

모바일 네트워크에 있어서 데이터 처리 장치 및 그 방법{Apparatus and Method for Controlling Data in Mobile Network}Apparatus and Method for Controlling Data in Mobile Network

도 1a는 MIPv6 시스템에서 양방향 터널링 방식에 의한 패킷 송수신 과정을 나타낸 도면.1A is a diagram illustrating a packet transmission and reception process using a bidirectional tunneling scheme in a MIPv6 system.

도 1b는 MIPv6 시스템에서 최적화 방식에 의한 패킷 송수신 과정을 나타낸 도면.1B is a diagram illustrating a packet transmission / reception process by an optimization scheme in a MIPv6 system.

도 2는 본 발명에 따른 MIPv6 또는 FMIPv6 시스템을 나타낸 도면.2 illustrates a MIPv6 or FMIPv6 system in accordance with the present invention.

도 3은 본 발명의 제1 실시예에 따른 MIPv6 시스템에서의 패킷 송수신 과정을 나타낸 도면.3 is a diagram illustrating a packet transmission and reception process in a MIPv6 system according to a first embodiment of the present invention.

도 4는 본 발명의 제2 실시예에 따른 FMIPv6 시스템에서의 패킷 송수신 과정을 나타낸 도면.4 is a diagram illustrating a packet transmission and reception process in an FMIPv6 system according to a second embodiment of the present invention.

도 5는 본 발명의 제3 실시예에 따른 HMIPv6 시스템을 나타낸 도면.5 shows an HMIPv6 system according to a third embodiment of the present invention.

도 6a는 HMIPv6 시스템에서 모바일 노드가 하나의 MAP의 영역 안에서 이동하는 경우 패킷이 송수신되는 과정을 나타낸 도면.FIG. 6A illustrates a process of transmitting and receiving packets when a mobile node moves within an area of one MAP in an HMIPv6 system. FIG.

도 6b는 HMIPv6 시스템에서 모바일 노드가 하나의 MAP의 영역에서 다른 MAP의 영역으로 이동하는 경우 패킷이 송수신되는 과정을 나타낸 도면.6B is a diagram illustrating a process of transmitting and receiving a packet when a mobile node moves from an area of one MAP to an area of another MAP in an HMIPv6 system.

도 7은 본 발명에 따른 모바일 노드의 구조를 나타낸 도면.7 illustrates a structure of a mobile node according to the present invention.

도 8은 본 발명에 따른 모바일 노드의 동작 과정을 나타낸 도면.8 is a view showing the operation of the mobile node according to the present invention.

도 9는 상기 플러시 메시지의 형식의 일 예를 나타낸 도면.9 illustrates an example of a format of the flush message.

도 10은 본 발명의 제4 실시예인 FMIPv6 시스템에서의 패킷 송수신 방법을 나타낸 도면.10 is a diagram illustrating a packet transmission and reception method in an FMIPv6 system according to a fourth embodiment of the present invention.

도 11은 본 발명의 제4 실시예에 따른 라우터의 구조를 나타낸 도면.11 is a diagram showing the structure of a router according to a fourth embodiment of the present invention.

도 12는 본 발명의 제4 실시예에 따른 라우터의 동작 과정을 나타낸 도면.12 is a view showing an operation of a router according to a fourth embodiment of the present invention.

<도면의 주요 부분에 대한 부호 설명><Description of the symbols for the main parts of the drawings>

20 : 모바일 노드 60 : 대응 노드20: mobile node 60: correspondence node

30 : 제1라우터 70 : MAP30: first router 70: MAP

40 : 제2라우터40: second router

50 : 홈 에이전트50: Home Agent

본 발명은 모바일 네트워크에 있어서 패킷 처리 방법에 관한 것으로서, 특히 MIPv6 망에서 모바일 노드의 패킷 처리 방법에 관한 것이다. The present invention relates to a packet processing method in a mobile network, and more particularly, to a packet processing method of a mobile node in a MIPv6 network.

현재의 인터넷은 IPv4(Internet Protocol Version 4)를 기반으로 하고 있다. IPv4에서 소스(Source)는 패킷을 목적지로 전송하기 위하여 패킷에 소스 주소(Source Address) 및 목적지 주소(Destination Address)를 포함하여 인터넷으로 전송한다. IPv4에서 사용되는 IP 주소는 32 비트로 이루어져 있어서 최대 약 40억 개 정도의 호스트가 인터넷에 접속될 수 있다. 그러나 특수 주소의 사용, 서브네팅 및 네트워크 주소 할당 등으로 인하여 실제로 인터넷에 접속할 수 있는 호스트의 수는 상당히 적은 편이다. 또한 인터넷의 보편화와 멀티미디어 트래픽의 증가로 인하여 과거와는 다르게 컴퓨터뿐만 아니라 이동통신 단말, 정보 가전 등도 현재의 인터넷에 접속하고자 하는 노력이 계속되고 있다. 이러한 이동통신 단말과 텔레비전, 그리고 냉장고와 같은 정보 가전의 수는 굉장히 많으며 이러한 장치들을 인터넷에 접속하기에는 IPv4 주소가 턱없이 부족한 실정이다. 따라서 이와 같이 IP 주소의 부족 현상을 해결하고, IPv4의 비효율성을 보완하여 인터넷의 성능을 향상시킬 수 있도록 하기 위한 IPv6 기술이 제안되었다.The current Internet is based on Internet Protocol Version 4 (IPv4). In IPv4, a source transmits a packet including a source address and a destination address to the internet in order to transmit the packet to a destination. The IP address used by IPv4 consists of 32 bits, allowing up to about 4 billion hosts to access the Internet. However, due to the use of special addresses, subnetting, and network address assignment, the number of hosts that can actually access the Internet is quite small. In addition, due to the generalization of the Internet and the increase of multimedia traffic, efforts have been made to access the Internet as well as computers, mobile terminals, and information appliances unlike the past. The number of information appliances such as mobile communication terminals, televisions, and refrigerators is very large, and there is a shortage of IPv4 addresses for connecting these devices to the Internet. Therefore, IPv6 technology has been proposed to solve the shortage of IP addresses and to improve the performance of the Internet by supplementing the inefficiency of IPv4.

IPv6는 128 비트의 주소 체계를 가지고 있다. 따라서 주소 체계가 32 비트인 IPv4에 비해 IP 주소가 풍부하다. 한편 주소 체계가 128 비트로 증가하게 되면 라우터에서 경로를 결정하기 위한 필수 사항인 라우팅 테이블의 내용도 증가함으로써 적절한 경로를 찾는데 소요되는 시간이 증가할 수 있지만, IPv6의 주소 체계는 IPv4의 경우보다 많은 계층 구조로 이루어져 있기 때문에 라우팅 테이블로부터 적절한 경로를 찾는데 소요되는 시간 증가가 적다는 특징이 있다. IPv6 has a 128-bit addressing scheme. As a result, IP addresses are richer than in IPv4, which has a 32-bit addressing scheme. On the other hand, if the address scheme increases to 128 bits, the time required to find the appropriate route may increase by increasing the contents of the routing table, which is necessary for the router to determine the route.However, IPv6 addressing scheme has more layers than IPv4. Because of its structure, it takes less time to find an appropriate route from the routing table.

이와 같은 IPv6는 IPv4에 비하여 향상된 기능을 가지므로, 인터넷 트래픽의 급격한 증가와 멀티미디어 트래픽의 보편적 사용으로 인한 인터넷의 성능 문제를 해결할 수 있다.Since IPv6 has an improved function compared to IPv4, it can solve the performance problem of the Internet due to the rapid increase in Internet traffic and the universal use of multimedia traffic.

한편 호스트에게 할당되는 IP 주소는 망 확인자와 호스트 확인자로 구성된다. 망 확인자는 호스트가 접속되어 있는 망을 유일하게 나타내기 위한 정보이며, 호스트 확인자는 해당 망에서 호스트를 유일하게 식별하기 위한 정보이다. 상기 IP 주소를 할당받은 호스트는 IP 주소와 전송 계층의 포트 번호를 이용하여 소켓 주소를 만들고 이러한 소켓 주소를 이용하여 다른 호스트들과 연결을 설정한다. On the other hand, the IP address assigned to a host consists of a network identifier and a host identifier. The network identifier is information for uniquely indicating the network to which the host is connected, and the host identifier is information for uniquely identifying the host in the network. The host assigned the IP address creates a socket address using the IP address and the port number of the transport layer, and establishes a connection with other hosts using the socket address.

따라서 일단 하나의 호스트(제1호스트)가 다른 호스트(제2호스트)와 연결을 설정하면 그 연결이 설정되어 있는 동안에는 해당 호스트에게 동일한 IP 주소가 고정적으로 유지되어야 한다. Therefore, once one host (first host) establishes a connection with another host (second host), the same IP address must remain static for that host while the connection is established.

그런데 모바일 환경과 같이 제2호스트와 연결이 설정되어 있는 제1호스트가 다른 망으로 이동하는 경우에는 망 확인자가 변경되어야 하기 때문에 제1호스트에 할당된 IP 주소는 변경되어야 한다. IP 주소의 변경은 소켓 주소의 변경을 의미하므로 기존에 설정되어 있는 연결은 모두 해제되고 다시 연결을 시도해야 한다는 단점을 가지고 있다. However, when the first host, which is established to be connected to the second host, moves to another network, such as a mobile environment, the network identifier must be changed, so the IP address assigned to the first host must be changed. Changing the IP address means changing the socket address, so that all existing connections are released and the connection must be retried.

이와 같이 호스트가 망을 변경하여 인터넷에 접속하는 경우에 발생하는 연결 해제 문제를 해결하기 위해 IETF(Internet Engineering Task Force)에서는 모바일 IPv6(Mobile IPv6, 이하, 'MIPv6'라 칭함) 프로토콜을 제안하고 있다. MIPv6 프로토콜은 모바일 노드(MN : Mobile Node)가 망을 변경하여 이동하더라도 기존에 설정되어 있는 연결을 계속 유지할 수 있도록 하기 위한 방법을 제안하고 있다. 즉, MIPv6 프로토콜에서는 인터넷에 접속되어 있는 모바일 노드가 인터넷상의 임의의 호스트(CN : Correspondent Node, 이하 '대응 노드'라 칭함)와 연결을 설정한 상태에서 자신의 접속 지점을 변경하여도 대응 노드와의 연결이 계속 유지될 수 있도록 하기 위한 메커니즘을 제공한다.In order to solve the problem of disconnection when the host changes the network to access the Internet, the IETF (Internet Engineering Task Force) proposes the Mobile IPv6 protocol (hereinafter, referred to as 'MIPv6'). . The MIPv6 protocol proposes a method for maintaining a previously established connection even when a mobile node (MN) changes and moves a network. That is, in the MIPv6 protocol, even if a mobile node connected to the Internet changes its connection point while establishing a connection with an arbitrary host (CN: Correspondent Node) on the Internet, It provides a mechanism to keep the connection intact.

이하, 일반적인 MIPv6 시스템에서의 모바일 노드의 주소 등록 과정과 패킷 전송 과정을 살펴본다.Hereinafter, an address registration process and a packet transmission process of a mobile node in a general MIPv6 system will be described.

MIPv6 시스템은 모바일 노드(MN : Mobile Node), 적어도 하나의 액세스 라우터(AR : Access Router), 홈 에이전트(HA : Home Agent) 및 대응 노드(CN : Correspondent Node)로 구성될 수 있다.The MIPv6 system may include a mobile node (MN), at least one access router (AR), a home agent (HA) and a corresponding node (CN).

모바일 노드는 사용자가 인터넷 서비스를 제공받기 위한 일종의 단말이고, 액세스 라우터는 모바일 노드로 패킷을 중계하는 장치이다. 홈 에이전트는 모바일 노드의 주소를 관리하는 기능을 가지며, 대응 노드는 인터넷 상의 임의의 호스트로서 모바일 노드로 멀티미디어 서비스 등을 제공한다.A mobile node is a terminal for receiving a user's Internet service, and an access router is a device for relaying packets to a mobile node. The home agent has a function of managing the address of the mobile node, and the corresponding node provides a multimedia service or the like to the mobile node as any host on the Internet.

여기서 모바일 노드가 이동하기 전 모바일 노드로 인터넷 접속 서비스를 제공하는 액세스 라우터를 제1라우터(PAR : Previous AR)로, 모바일 노드가 이동한 후 모바일 노드로 인터넷 접속 서비스를 제공하는 액세스 라우터를 제2라우터(NAR : New AR)라고 정의하기로 한다.Here, the access router providing Internet access service to the mobile node before the mobile node moves to the first router (PAR: Previous AR), and the access router providing Internet access service to the mobile node after the mobile node moves to the second router. This is defined as a router (NAR: New AR).

MIPv6 망 시스템의 모바일 노드는 홈 에이전트의 고정 IP 주소와 동일한 홈 주소(Home Address)를 할당 받는다. 또한, 모바일 노드는 인터넷 패킷을 중계하는 제1라우터로부터 제1 임시 주소(PCoA : Previous Care of Address)를 할당 받는다. 홈 에이전트는 모바일 노드로부터 상기 홈 주소 및 제1 임시 주소를 전송받아 바인 딩 캐시 앤트리(Binding Cache Entry)에 저장함으로써 모바일 노드의 주소를 등록, 관리할 수 있다.The mobile node of the MIPv6 network system is assigned the same home address as the static IP address of the home agent. In addition, the mobile node receives a first temporary address (PCoA) from a first router relaying Internet packets. The home agent receives the home address and the first temporary address from the mobile node and registers and manages the address of the mobile node by storing the home address and the first temporary address in a binding cache entry.

모바일 노드의 홈 주소를 알고 있는 대응 노드는 모바일 노드의 홈 주소 정보를 이용하여 모바일 노드에게 전송할 데이터를 캡슐레이션(Capsulation)한다. 상기 캡슐레이션된 데이터는 홈 주소 정보에 의거하여 모바일 노드의 홈 에이전트로 전달된다. 홈 에이전트는 바인딩 캐시 엔트리에 저장되어 있는 모바일 노드의 제1 임시 주소를 이용하여 전송받은 데이터를 다시 한 번 캡슐레이션한 후 모바일 노드로 전송한다. The corresponding node, which knows the home address of the mobile node, encapsulates data to be transmitted to the mobile node using the home address information of the mobile node. The encapsulated data is delivered to the mobile agent's home agent based on the home address information. The home agent encapsulates the data once again using the first temporary address of the mobile node stored in the binding cache entry and transmits the data to the mobile node.

만일 모바일 노드가 이동하여 인터넷 패킷을 중계하는 라우터가 제2라우터로 변경되는 경우, 모바일 노드는 제2라우터로부터 제2 임시 주소(NCoA : New CoA)를 할당 받게 되며, 모바일 노드는 인터넷 서비스를 계속 제공받기 위하여 자신의 홈 주소와 제2 임시 주소를 등록(Binding Update)하여야 한다. If the mobile node moves and relays the Internet packet to the second router, the mobile node is assigned a second temporary address (NCoA: New CoA) from the second router, and the mobile node continues the Internet service. In order to be provided, a home address and a second temporary address must be registered (Binding Update).

MIPv6 프로토콜에서 모바일 노드가 새로운 망으로 이동을 하게 되면, 모바일 노드가 새로운 망으로부터 인터넷 접속 서비스가 가능하기 위해서는 (1) 새로운 망으로 이동했는지를 아는데 걸리는 시간, (2) 새로운 망으로부터 하나의 제2 임시 주소를 구성하는데 걸리는 시간, (3) 제2 임시 주소를 홈 에이전트 또는 대응 노드에 등록하는데 걸리는 시간이 필요하며, 이러한 시간을 핸드 오버 지연 시간(Handover Latency)라고 한다. 이 시간동안 홈 에이전트 또는 대응 노드가 제1라우터로 전송한 패킷은 모두 손실된다. 즉, 핸드 오버 지연 시간이 길면 길수록 패킷 손실은 많아진다. 이러한 문제점을 해결하기 위하여 Hierarchical MIPv6 (HMIPv6) 와 Fast Handovers for MIPv6 (FMIPv6)가 제안되었다.In the MIPv6 protocol, when a mobile node moves to a new network, it takes time for the mobile node to know whether it has moved to the new network in order to enable Internet access service from the new network, and (2) one second from the new network. The time taken to construct the temporary address, and (3) the time required to register the second temporary address with the home agent or the corresponding node, is required, and this time is referred to as handover latency. During this time, all packets sent by the home agent or the correspondent node to the first router are lost. In other words, the longer the handover delay time, the greater the packet loss. In order to solve this problem, Hierarchical MIPv6 (HMIPv6) and Fast Handovers for MIPv6 (FMIPv6) have been proposed.

HMIPv6는 홈 에이전트의 역할을 하는 MAP(Mobile Anchor Point)을 도입함으로써 동일한 MAP 영역 내에서 이루어지는 모바일 노드의 이동은 홈 에이전트 또는 대응 노드에 숨겨질 수 있다. 결과적으로 트래픽이 감소되고 핸드 오버 지연 시간을 줄일 수 있게 된다. FMIPv6는 핸드 오버 지연 시간을 최소화하기 위하여 2 계층에서의 핸드 오버 예상 정보를 바탕으로 2 계층 핸드 오버가 완료되기 전에 3계층의 핸드 오버를 미리 수행하는 기술이다. HMIPv6 네트워크와 FMIPv6 네트워크의 동작은 나중에 설명하기로 한다.HMIPv6 introduces a Mobile Anchor Point (MAP) that acts as a home agent, so that the movement of mobile nodes within the same MAP area can be hidden in the home agent or corresponding node. As a result, traffic is reduced and handover latency can be reduced. FMIPv6 is a technique for performing the handover of the third layer before the second layer handover is completed based on the handover prediction information in the second layer in order to minimize the handover delay time. The operation of the HMIPv6 network and the FMIPv6 network will be described later.

도 1a는 MIPv6 시스템에서'양방향(bi-directional) 터널링 방식'에 의한 패킷 송수신 과정을 나타낸 도면이다.FIG. 1A is a diagram illustrating a packet transmission / reception process using a “bi-directional tunneling scheme” in a MIPv6 system.

도 1 a를 참조하면 모바일 노드(20)가 제1라우터(30)로부터 제2라우터(40)로 이동한 경우 모바일 노드(20)는 제2라우터에게 라우팅 정보 요청(Router Solicitation)을 한다(S110). 모바일 노드(20)는 제2라우터로부터 라우팅 정보 응답(Router Advertisement)을 전송 받아 제2 임시 주소(NCoA)를 생성하고(S111), 자신의 홈 주소와 제2 임시 주소(NCoA)를 홈 에이전트(50)로 전송한다(S112). 이 때 모바일 노드(20)는 홈 주소와 제2 임시 주소를 전달하기 위하여 MIPv6 프로토콜에 정의된 바인딩 업데이트 메시지(Binding Update Message)를 이용할 수 있다.Referring to FIG. 1A, when the mobile node 20 moves from the first router 30 to the second router 40, the mobile node 20 makes a request for routing information to the second router (S110). ). The mobile node 20 receives the routing information response (Router Advertisement) from the second router, generates a second temporary address NCoA (S111), and sets its home address and second temporary address NCoA as a home agent ( 50) (S112). In this case, the mobile node 20 may use a binding update message defined in the MIPv6 protocol to deliver a home address and a second temporary address.

홈 에이전트(50)는 모바일 노드(20)의 홈 주소 및 제2 임시 주소(NCoA)를 바인딩 캐시 엔트리에 저장함으로써 바인딩을 업데이트한 후(S113), 모바일 노드(20) 에게 바인딩 응답 메시지(Binding Acknowledgement Message)를 전달한다(S114). 이와 같이 모바일 노드(20)가 자신의 홈 주소와 제2 임시 주소를 홈 에이전트(50)에게 전송하여 등록하는 과정을 '바인딩 업데이트'과정이라고 한다.The home agent 50 updates the binding by storing the home address and the second temporary address (NCoA) of the mobile node 20 in the binding cache entry (S113), and then sends a binding response message to the mobile node 20 (Binding Acknowledgement). Message) (S114). As such, the process of registering the mobile node 20 by sending its home address and second temporary address to the home agent 50 is referred to as a 'binding update' process.

대응 노드(60)는 모바일 노드(20)의 홈 주소를 이용하여 모바일 노드(20)에게 보낼 패킷을 생성하여(S115), 모바일 노드(20)의 홈 에이전트(50)로 전송한다(S116). 홈 에이전트(50)는 S213과정의 바인딩 캐시 엔트리에 저장된 모바일 노드(20)의 제2 임시 주소에 따라 패킷을 캡슐레이션하고(S117), 상기 캡슐레이션된 패킷을 모바일 노드(20)로 전송한다(S118).The corresponding node 60 generates a packet to be sent to the mobile node 20 using the home address of the mobile node 20 (S115), and transmits the packet to the home agent 50 of the mobile node 20 (S116). The home agent 50 encapsulates the packet according to the second temporary address of the mobile node 20 stored in the binding cache entry in step S213 (S117), and transmits the encapsulated packet to the mobile node 20 ( S118).

또한, 모바일 노드(20)로부터 대응 노드(60)로 전송되는 패킷도 먼저 터널링(Tunneling)을 이용하여 홈 에이전트(50)에게 전송(Reverse Tunneling)되며, 그 후 홈 에이전트(50)로부터 대응 노드(60)로 전달된다.In addition, a packet transmitted from the mobile node 20 to the corresponding node 60 is also first transmitted to the home agent 50 using tunneling, and then the corresponding node (from the home agent 50) 60).

도 1b는 MIPv6 시스템에서'최적화 방식'에 의한 패킷 송수신 과정을 나타낸 도면이다.FIG. 1B is a diagram illustrating a packet transmission / reception process according to an “optimization method” in a MIPv6 system.

도 1b를 참조하면, 모바일 노드(20)가 제1라우터(30)로부터 제2라우터(40)로 이동한 경우 모바일 노드(20)는 제2라우터(40)에게 라우팅 정보 요청(Router Solicitation)을 하고(S120), 그에 대하여 제2라우터(40)로부터 라우팅 정보 요청응답(Router Advertisement)을 받는다(S121).Referring to FIG. 1B, when the mobile node 20 moves from the first router 30 to the second router 40, the mobile node 20 sends a request for routing information to the second router 40. (S120), and receives the routing information request response (Router Advertisement) from the second router 40 (S121).

이와 같이 제2라우터(40)로부터 라우팅 정보를 전달받은 모바일 노드(20)는 자신의 홈 주소와 제2 임시 주소(NCoA)를 생성하여 대응 노드(60)에게 전달한다 (S122). 대응 노드(60)는 모바일 노드(20)의 홈 주소 및 제2 임시 주소를 자신의 바인딩 캐시 엔트리에 저장함으로써 바인딩 업데이트하고(S123), 모바일 노드(20)에게 바인딩 응답 메시지(Binding Acknowledgement Message)를 전달한다(S124). As such, the mobile node 20 having received the routing information from the second router 40 generates its home address and second temporary address NCoA and transmits it to the corresponding node 60 (S122). The correspondent node 60 updates the binding by storing the home address and the second temporary address of the mobile node 20 in its binding cache entry (S123), and sends a binding acknowledgment message to the mobile node 20. Transfer (S124).

대응 노드(60)에서 모바일 노드(20)로 전송할 데이터가 있는 경우 대응 노드(60)는 상기 저장된 모바일 노드(20)의 제2 임시 주소를 이용하여 모바일 노드(20)로 보낼 패킷을 생성한 후(S125), 상기 패킷을 모바일 노드(20)로 직접 전송한다(S126).When there is data to be transmitted from the corresponding node 60 to the mobile node 20, the corresponding node 60 generates a packet to send to the mobile node 20 using the second temporary address of the stored mobile node 20. (S125), the packet is directly transmitted to the mobile node 20 (S126).

설명한 바와 같이 최적화 방식은 모바일 노드(20)의 홈 주소와 제2 임시 주소를 대응 노드(60)에 등록한다는 것을 특징으로 한다. 따라서 패킷이 홈 에이전트(50)를 거치지 않고 모바일 노드(20)로 전송될 수 있다. As described above, the optimization method is characterized in that the home address and the second temporary address of the mobile node 20 are registered in the corresponding node 60. Therefore, the packet may be transmitted to the mobile node 20 without passing through the home agent 50.

위에서 살펴본 MIPv6 시스템에서는 모바일 노드(20)가 새로운 망으로 이동을 하더라도 홈 에이전트(50) 또는 대응 노드(60)에 제2 임시 주소를 등록하기 이전에는 홈 에이전트(50) 또는 대응 노드(60)로부터 전송되는 패킷은 제1라우터(30)에게로 전송된다. 그리고, 바인딩 업데이트가 종료되어 모바일 노드(20)와 제1라우터(30)간의 연결이 종료되면 상기 패킷은 모두 손실된다. In the MIPv6 system described above, even if the mobile node 20 moves to a new network, before the second temporary address is registered with the home agent 50 or the correspondent node 60, the mobile node 20 moves from the home agent 50 or the correspondent node 60. The transmitted packet is transmitted to the first router 30. When the binding update is terminated and the connection between the mobile node 20 and the first router 30 is terminated, all the packets are lost.

이와 같은 패킷의 손실을 방지하기 위하여 MIPv6 시스템에서는 모바일 노드(20)가 제1라우터(30)와 제2라우터(40)를 동시에 접속할 수 있다. 이와 같이 모바일 노드(20)가 제1라우터(30)와 제2라우터(40)에 동시에 접속한 경우 제2 임시 주소가 홈 에이전트(50)에 등록되기 이전의 패킷은 제1라우터(30)를 통하여 전송되며, 제2 임시 주소가 홈 에이전트에 등록된 이후의 패킷은 제2라우터(40)를 통하여 전송된다. In order to prevent such packet loss, the mobile node 20 may simultaneously connect the first router 30 and the second router 40 in the MIPv6 system. As such, when the mobile node 20 accesses the first router 30 and the second router 40 at the same time, the packet before the second temporary address is registered in the home agent 50 may receive the first router 30. Packet is transmitted through the second router 40 after the second temporary address is registered in the home agent.

그런데 제2라우터(40)로 전송되는 라우팅 경로가 제1라우터(30)로 전송되는 라우팅 경로보다 짧은 경우, 제2라우터(40)로 전송된 패킷이 제1라우터(30)로 전송된 패킷보다 먼저 모바일 노드(20)로 전송될 수 있다. 또한, 모바일 노드(20)와 제1라우터(30)가 연결되는 네트워크와 모바일 노드(20)와 제2라우터(40)가 연결되는 네트워크의 종류가 서로 다른 경우, 두 네트워크의 속도 차로 인하여 제2라우터(40)로 전송된 패킷이 제1라우터(30)로 전송된 패킷보다 먼저 모바일 노드(20)로 전송될 수도 있다. However, when the routing path transmitted to the second router 40 is shorter than the routing path transmitted to the first router 30, the packet transmitted to the second router 40 is greater than the packet transmitted to the first router 30. First, it may be transmitted to the mobile node 20. In addition, when the types of networks to which the mobile node 20 and the first router 30 are connected and the types of networks to which the mobile node 20 and the second router 40 are connected are different, the second network may be caused by the speed difference between the two networks. The packet transmitted to the router 40 may be transmitted to the mobile node 20 before the packet transmitted to the first router 30.

만일 모바일 노드(20)가 전송되는 순서대로 패킷을 상위 계층으로 전송하게 되면, 먼저 전송된 패킷이 나중에 전송된 패킷보다 늦게 상위 계층으로 전송되는 패킷 순서 어긋남 현상이 발생한다. 패킷 순서 어긋남 현상이 발생하면, 수신측 TCP에서는 중복 응답을 발생시키고 이러한 중복 응답을 3번 이상 수신하는 송신측 TCP는 빠른 재전송 및 빠른 복구 상태로 들어간다. 이 경우 송신측 TCP는 패킷을 재전송하고 또한 혼잡 윈도우의 크기를 감소시킨다. 이러한 혼잡 윈도우 크기의 감소는 송신측 TCP의 성능을 저하시킨다. 뿐만 아니라 UDP 기반의 멀티미디어 트래픽은 패킷이 순서에 어긋나게 전송되는 경우 멀티미디어의 품질이 상당히 저하되는 문제점이 있다.If the mobile node 20 transmits the packets to the upper layer in the order in which they are transmitted, a packet out of order phenomenon occurs in which the first transmitted packet is transmitted to the upper layer later than the later transmitted packet. When the packet out of order occurs, the receiving side TCP generates a duplicate response, and the receiving side TCP, which receives the duplicate response three or more times, enters a fast retransmission and fast recovery state. In this case, the sending TCP retransmits the packet and also reduces the size of the congestion window. This reduction in congestion window size degrades the performance of the sender TCP. In addition, UDP-based multimedia traffic has a problem in that the quality of multimedia is significantly degraded when packets are transmitted out of order.

본 발명은 위에서 살펴본 패킷의 순서 어긋남 현상을 효과적으로 해결하지 못하는 문제점을 해결하기 위해 안출된 것으로서, 본 발명은 모바일 네트워크에 있어서 제1라우터를 경유하는 패킷이 모두 전달되었음을 알리기 위한 메시지를 이용함으로써 패킷의 순서가 어긋나지 않도록 하는 패킷을 전송하는 제어 장치 및 그 방법을 제공하고자 한다.The present invention has been made to solve the problem that the out of order of the packets described above can not be effectively solved, the present invention uses a message to inform that all the packets passing through the first router in the mobile network by using the message The present invention provides a control apparatus and method for transmitting a packet so that the order is not out of order.

본 발명에 따른 모바일 네트워크에서 이동하는 모바일 노드에 대한 패킷처리 방법은 모바일 노드의 이동에 따라 제1 임시 주소를 제2 임시 주소로 변경하는 바인딩 업데이트를 수행하는 단계, 수신되는 상기 제1 임시 주소의 패킷은 처리하고 수신되는 상기 제2 임시 주소의 패킷은 버퍼링하는 단계, 상기 제1 임시 주소를 이용한 패킷의 전송완료 메시지가 수신되면, 상기 버퍼링된 패킷을 처리하는 단계를 포함한다. 이 경우 상기 제1 임시 주소의 패킷은 상기 제2 임시 주소의 패킷보다 먼저 생성된 패킷이다.Packet processing method for a mobile node moving in a mobile network according to the present invention comprises the steps of performing a binding update to change the first temporary address to a second temporary address in accordance with the movement of the mobile node, the received of the first temporary address Processing a packet and buffering a packet of the second temporary address received; and processing a buffered packet when a transmission completion message of the packet using the first temporary address is received. In this case, the packet of the first temporary address is a packet generated before the packet of the second temporary address.

이하 첨부된 도면을 참조하여 본 발명의 일실시 예에 의한 구성 및 작용에 대해서 더욱 상세히 설명한다. 도면에서 동일한 구성요소들에 대해서는 비록 다른 도면에 표시되더라도 가능한 한 동일한 참조번호 및 부호로 나타내고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, with reference to the accompanying drawings will be described in more detail the configuration and operation according to an embodiment of the present invention. Note that the same components in the drawings are represented by the same reference numerals and symbols as much as possible even though they are shown in different drawings. In addition, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 2는 본 발명에 따른 MIPv6 또는 FMIPv6 시스템을 나타낸 도면이다.2 is a view showing a MIPv6 or FMIPv6 system according to the present invention.

본 발명에 따른 MIPv6 또는 FMIPv6 시스템은 모바일 노드(20), 적어도 하나의 라우터(30, 40), 홈 에이전트(50), 및 모바일 노드로 인터넷 서비스를 제공하는 대응 노드(60)로 구성될 수 있다. 앞에서와 마찬가지로 모바일 노드(20)가 이동하기 전의 모바일 노드(20)로 인터넷 접속 서비스를 제공하는 액세스 라우터를 제1라우터(30)(PAR : Previous AR)라 칭하고, 모바일 노드(20)가 이동한 후 모바일 노드(20)의 인터넷 접속 서비스를 제공하는 액세스 라우터를 제2라우터(40)(NAR : New AR)라 칭한다. The MIPv6 or FMIPv6 system according to the present invention may be composed of a mobile node 20, at least one router 30, 40, a home agent 50, and a corresponding node 60 that provides Internet services to the mobile node. . As before, the access router providing the Internet access service to the mobile node 20 before the mobile node 20 moves is called a first router 30 (PAR: Previous AR), and the mobile node 20 moves. Later, the access router providing the Internet access service of the mobile node 20 is called a second router 40 (NAR: New AR).

여기서 FMIPv6(Fast Handovers for MIPv6) 시스템은 모바일 노드(20)가 제1라우터(30)에서 제2라우터(40)로 이동하기 이전에 제2라우터(40)에 대한 정보 및 제2 임시 주소의 생성 등을 미리 수행함으로써 핸드 오버 지연 시간(Handover Latency)을 줄일 수 있는 패스트 핸드 오버 과정이 추가된 메커니즘이다. 상기 FMIPv6 시스템도 MIPv6 시스템과 마찬가지로 모바일 노드(20), 적어도 하나의 라우터(30,40), 홈 에이전트(50), 대응 노드(60)로 구성될 수 있다.Here, the Fast Handovers for MIPv6 (FMIPv6) system generates information about the second router 40 and a second temporary address before the mobile node 20 moves from the first router 30 to the second router 40. This is a mechanism in which a fast handover process is added to reduce the handover delay by performing the etc. in advance. Like the MIPv6 system, the FMIPv6 system may be composed of a mobile node 20, at least one router 30, 40, a home agent 50, and a corresponding node 60.

도 3은 본 발명의 제1 실시예에 따른 MIPv6 시스템에서의 패킷 송수신 과정을 나타낸 도면이다.3 is a diagram illustrating a packet transmission and reception process in a MIPv6 system according to a first embodiment of the present invention.

모바일 노드(20)는 MIPv6망에서 인터넷 접속 서비스를 제공하는 제1라우터(30)로부터 수신한 라우팅 정보 응답(Routing Advertisement)을 수신하여(S310) 제 1 임시 주소를 구성한다(S311). 그 후, 모바일 노드(20)는 제1 임시 주소와 홈 에이전트(50)의 주소인 홈 주소를 바인딩 업데이트 메시지(Binding Update Message)를 이용하여 홈 에이전트(50)(양방향 터널링 방식) 또는 대응 노드(60)(경로 최적화 방식)로 전송한다(S312).The mobile node 20 receives a routing information response received from the first router 30 providing the Internet access service in the MIPv6 network (S310) and configures a first temporary address (S311). Thereafter, the mobile node 20 uses the binding update message to convert the first temporary address and the home address that is the address of the home agent 50 into the home agent 50 (two-way tunneling method) or the corresponding node ( 60) (Path optimization method) (S312).

바인딩 업데이트 메시지를 전달받은 홈 에이전트(50) 또는 대응 노드(60)는 자신의 바인딩 캐시 엔트리에 상기 모바일 노드(20)의 제1 임시 주소와 홈 주소를 등록한다(S313). S313에서 바인딩 업데이트를 한 후 홈 에이전트(50) 또는 대응 노드는 바인딩 애크(Binding Ack) 메시지를 모바일 노드(20)로 전송한다(S314). 이러한 과정을 통하여 홈 에이전트(50) 또는 대응 노드(60)가 모바일 노드(20)의 제1 임시 주소와 홈 주소를 저장한 후에는 대응 노드(60)로부터 모바일 노드로 패킷이 전송될 수 있다(S315). The home agent 50 or the corresponding node 60 received the binding update message registers the first temporary address and the home address of the mobile node 20 in its binding cache entry (S313). After updating the binding in S313, the home agent 50 or the corresponding node transmits a binding Ack message to the mobile node 20 (S314). Through this process, after the home agent 50 or the corresponding node 60 stores the first temporary address and the home address of the mobile node 20, the packet may be transmitted from the corresponding node 60 to the mobile node ( S315).

제1라우터(30)에 접속되어 있는 모바일 노드(20)가 새로운 액세스 라우터인 제2라우터(40)로 이동을 하는 경우(S316) 제2라우터(40)는 모바일 노드(20)의 이동을 파악하고 모바일 노드로 라우팅 정보 응답을 전송한다(S317). 이러한 메시지를 수신한 모바일 노드(20)는 제2 임시 주소를 구성한 후(S318) 제2 임시 주소와 홈 주소 정보가 포함된 바인딩 업데이트 메시지를 홈 에이전트(50) 또는 대응 노드(60)에게 전송한다(S319).When the mobile node 20 connected to the first router 30 moves to the second router 40 which is a new access router (S316), the second router 40 grasps the movement of the mobile node 20. And transmits the routing information response to the mobile node (S317). After receiving the message, the mobile node 20 configures the second temporary address (S318) and transmits a binding update message including the second temporary address and the home address information to the home agent 50 or the corresponding node 60. (S319).

바인딩 업데이트 메시지가 홈 에이전트(50) 또는 대응 노드(60)로 전송되기 전까지, 홈 에이전트(50) 또는 대응 노드(60)로부터 전송되는 패킷은 제1라우터를 통하여 모바일 노드(20)로 전송된다. 홈 에이전트(50) 또는 대응 노드(60)가 바인 딩 업데이트 메시지를 수신하면 모바일 노드에게 자신의 바인딩 캐시 엔트리가 업데이트된다는 것을 알리기 위하여 기존의 바인딩 정보를 이용하여 모바일 노드에게 플러시 메시지(Flush Message) 를 전송한다(S320). Until the binding update message is sent to the home agent 50 or the corresponding node 60, the packet transmitted from the home agent 50 or the corresponding node 60 is transmitted to the mobile node 20 through the first router. When the home agent 50 or the correspondent node 60 receives the binding update message, it sends a flush message to the mobile node using the existing binding information to inform the mobile node that its binding cache entry is updated. It transmits (S320).

플러시 메시지를 전송한 이후, 홈 에이전트(50) 또는 대응 노드(60)는 자신의 바인딩 캐시 엔트리의 저장된 제1 임시 주소를 바인딩 업데이트 메시지에 포함되어 있는 제2 임시 주소로 변경한다(S321). 즉, 바인딩 업데이트 과정을 실행한다. 그 이후 홈 에이전트(50) 또는 대응 노드(60)는 바인딩 애크 메시지를 모바일 노드(20)로 전송하고(S322), 제2 임시 주소로 패킷을 전송하게 된다(S323).After transmitting the flush message, the home agent 50 or the corresponding node 60 changes the stored first temporary address of its binding cache entry to the second temporary address included in the binding update message (S321). In other words, the binding update process is executed. Thereafter, the home agent 50 or the corresponding node 60 transmits the binding acknowledgment message to the mobile node 20 (S322), and transmits the packet to the second temporary address (S323).

제1라우터(30)와 제2라우터(40)에서 순서에 상관없이 패킷을 수신하는 모바일 노드(20)는 패킷의 목적지 주소를 체크하여 제1 임시 주소의 값을 가지는 패킷은 디캡슐레이션하여 상위 계층으로 전송하고, 제2 임시 주소의 값을 가지는 패킷은 버퍼에 저장한다. 만일, 상기 디캡슐레이션한 패킷이 플러시 메시지인 경우 모바일 노드(20)는 버퍼에 저장되어 있던 패킷을 상위 계층으로 전송하기 시작한다.Regardless of the order in the first router 30 and the second router 40, the mobile node 20 receiving the packet checks the destination address of the packet and decapsulates the packet having the value of the first temporary address to a higher level. Send the packet to the layer and store the packet with the value of the second temporary address in a buffer. If the decapsulated packet is a flush message, the mobile node 20 starts to transmit the packet stored in the buffer to the upper layer.

도 4는 본 발명의 제2 실시예에 따른 FMIPv6 시스템에서의 패킷 송수신 방법을 나타낸 도면이다.4 is a diagram illustrating a packet transmission and reception method in an FMIPv6 system according to a second embodiment of the present invention.

모바일 노드(20)는 제1라우터(30)를 이용하여 인터넷 접속을 하고, 제1 임시 주소를 사용한다. 만일 모바일 노드(20)가 제1라우터(30)와 접속을 한 상태에서 새로운 망에 대한 정보(예를 들면, 무선 LAN에서 SSID)를 수신하면, 새로운 망의 제2 계층 주소를 포함하는 라우팅 요청 프락시 메시지(RtSolPr : Router Solicitation Proxy Message)를 제1라우터(30)로 전송한다(S410).The mobile node 20 accesses the Internet using the first router 30 and uses the first temporary address. If the mobile node 20 receives the information about the new network (for example, SSID in the wireless LAN) while connecting to the first router 30, the routing request includes the second layer address of the new network. A proxy message (RtSolPr: Router Solicitation Proxy Message) is transmitted to the first router 30 (S410).

라우터 요청 프락시 메시지를 수신한 제1라우터(30)는 제2라우터(40)의 IPv6 주소와 제2 계층 주소를 포함하는 프락시 라우터 통지 메시지(PrRtAdv : Proxy Router Advertisement)를 모바일 노드(20)로 전송한다(S411). Receiving the router request proxy message, the first router 30 transmits a proxy router notification message (PrRtAdv: Proxy Router Advertisement) including the IPv6 address and the second layer address of the second router 40 to the mobile node 20. (S411).

상기 프락시 라우터 통지 메시지를 수신한 모바일 노드(20)는 제2라우터(40)의 IPv6 주소와 자신의 인터페이스 확인자 정보를 이용하여 제2 임시 주소(NCoA)를 구성하고(S412), 제2 임시 주소를 포함하는 패스트 바인딩 업데이트 메시지(FBU : Fast Binding Update Message)를 제1라우터(30)로 전송한다(S413). 그 이후 모바일 노드(20)는 자신의 IPv6 주소를 제1 임시 주소에서 제2 임시 주소로 변경한다(S414).The mobile node 20 receiving the proxy router notification message configures a second temporary address NCoA using the IPv6 address of the second router 40 and its interface identifier information (S412), and the second temporary address. A fast binding update message (FBU) including a transmission is transmitted to the first router 30 (S413). Thereafter, the mobile node 20 changes its IPv6 address from the first temporary address to the second temporary address (S414).

이 때 홈 에이전트(50) 또는 대응 노드(60)는 패킷을 생성(S415)하여 제1라우터로 전송하고 있다(S416). 상기 패스트 바인딩 업데이트 메시지를 수신한 후 제1라우터(30)는 홈 에이전트(50) 또는 대응 노드(60)로부터 제1임시 주소를 목적지로 하여 수신된 패킷을 제2 임시 주소를 이용하여 캡슐레이션한 후(S417) 제2라우터(40)로 터널링한다.(S418). At this time, the home agent 50 or the corresponding node 60 generates a packet (S415) and transmits the packet to the first router (S416). After receiving the fast binding update message, the first router 30 encapsulates the packet received from the home agent 50 or the corresponding node 60 using the first temporary address as a destination using a second temporary address. After (S417) tunnels to the second router 40. (S418).

제2라우터(40)는 모바일 노드(20)가 자신의 망에 접속하기 전까지는 제2 임시 주소를 목적지 주소로 가지는 패킷을 버퍼링한다(S419). The second router 40 buffers the packet having the second temporary address as the destination address until the mobile node 20 accesses its own network (S419).

이동호스트(20)가 제1라우터(30)에서 제2라우터(40)로 이동을 하게 되면(S420), 모바일 노드(20)는 자신이 새로운 망으로 이동했다는 것을 제2라우터(40)로 알리기 위하여 FNA(Fast Neighbor Advertisement) 메시지를 전송한다(S421).When the mobile host 20 moves from the first router 30 to the second router 40 (S420), the mobile node 20 notifies the second router 40 that it has moved to a new network. In order to transmit a fast neighbor advertisement (FNA) message (S421).

모바일 노드(20)로부터 FNA 메시지를 수신한 제2라우터(40)는 지금까지 버퍼링된 패킷을 모바일 노드(20)로 전송한다(S422). 이와 같이 고속 핸드오버(Fast Hand Over) 과정이 완료된 후 모바일 노드(20)는 제2라우터(40)에서 사용할 제2 임시 주소와 홈 주소를 홈 에이전트(50)에 전송하여 바인딩 업데이트를 수행한다.Upon receiving the FNA message from the mobile node 20, the second router 40 transmits the buffered packet to the mobile node 20 (S422). After the fast handover process is completed, the mobile node 20 transmits a second temporary address and a home address to be used by the second router 40 to the home agent 50 to perform a binding update.

모바일 노드(20)로부터 바인딩 업데이트 메시지를 전송받은(S423) 홈 에이전트(50) 또는 대응 노드(60)는 플러시 메시지를 모바일 노드(20)로 전송한다(S424). 이때 플러시 메시지는 먼저 제1라우터(30)로 전송된 후 제2라우터로 터널링되어 모바일 노드(20)로 전송된다. 플러시 메시지를 전송한 홈 에이전트(50) 또는 대응 노드(60)는 바인딩 캐시 엔트리에 제2 임시 주소와 홈 주소를 저장한다(S425). 그 이후 홈 에이전트(50) 또는 대응 노드(60)는 제2 임시 주소를 이용하여 패킷을 생성하고(S426), 모바일 노드(20)로 전송한다(S427). The home agent 50 or the corresponding node 60 receives the binding update message from the mobile node 20 (S423) and transmits the flush message to the mobile node 20 (S424). In this case, the flush message is first transmitted to the first router 30 and then tunneled to the second router and transmitted to the mobile node 20. The home agent 50 or the correspondent node 60 which has transmitted the flush message stores the second temporary address and the home address in the binding cache entry (S425). Thereafter, the home agent 50 or the corresponding node 60 generates a packet using the second temporary address (S426) and transmits the packet to the mobile node 20 (S427).

그 이후의 바인딩 업데이트 과정은 MIPv6에서 설명한 바와 동일하게 이루어진다. 즉, 제1라우터(30)와 제2라우터(40)에서 순서에 상관없이 패킷을 수신하는 모바일 노드(20)는 패킷의 목적지 주소를 체크하여 제1 임시 주소의 값을 가지는 패킷은 디캡슐레이션하여 상위 계층으로 전송하고, 제2 임시 주소의 값을 가지는 패킷은 버퍼에 저장한다. 만일, 상기 디캡슐레이션한 패킷이 플러시 메시지인 경우 모바일 노드(20)는 버퍼에 저장되어 있던 패킷을 상위 계층으로 전송하기 시작한다.The binding update process after that is the same as described in MIPv6. That is, the mobile node 20 receiving the packets regardless of the order in the first router 30 and the second router 40 checks the destination address of the packet and decapsulates the packet having the value of the first temporary address. The packet having the value of the second temporary address is stored in a buffer. If the decapsulated packet is a flush message, the mobile node 20 starts to transmit the packet stored in the buffer to the upper layer.

도 5는 본 발명의 제3 실시예에 따른 HMIPv6 시스템을 나타낸 도면이다.5 is a diagram illustrating an HMIPv6 system according to a third embodiment of the present invention.

HMIPv6 시스템은 모바일 노드(20), 모바일 노드(20)의 인터넷 접속을 관리하는 하나 이상의 라우터(30, 40), 적어도 하나의 라우터를 관리하는 MAP(70), 모바일 노드(20)의 홈 주소를 관리하는 홈 에이전트(50) 및 모바일 노드(20)로 인터넷 서비스를 제공하는 대응 노드(60)로 구성될 수 있다.The HMIPv6 system includes a mobile node 20, one or more routers 30 and 40 for managing Internet access of the mobile node 20, a MAP 70 for managing at least one router, and a home address of the mobile node 20. It may be composed of the home agent 50 to manage and the corresponding node 60 to provide the Internet service to the mobile node (20).

HMIPv6 시스템에서 모바일 노드(20)는 복수의 임시 주소를 할당 받는다. 즉, 모바일 노드(20)는 MAP(70)으로부터는 지역 임시 주소(RCoA : Regional CoA)를 할당 받고, MAP(70)내에 속한 라우터로부터는 로컬 임시 주소(LCoA : Local CoA)를 할당받는다. MAP(70)에서는 모바일 노드(20)의 로컬 임시 주소와 지역 임시 주소를 이용하여 바인딩 하고, 홈 에이전트(50) 또는 대응 노드(60)는 지역 임시 주소와 홈 주소를 이용하여 바인딩한다. In the HMIPv6 system, the mobile node 20 is assigned a plurality of temporary addresses. That is, the mobile node 20 is assigned a local temporary address (RCoA) from the MAP 70 and a local temporary address (LCoA: Local CoA) from a router belonging to the MAP 70. The MAP 70 binds using the local temporary address and the local temporary address of the mobile node 20, and the home agent 50 or the corresponding node 60 binds using the local temporary address and the home address.

이하, HMIPv6 시스템에서 모바일 노드(20)가 이동하는 경우 핸드 오버 과정을 살펴보자. HMIPv6 시스템에서 모바일 노드(20)는 하나의 MAP 영역 내에서 이동할 수 있으며, 하나의 MAP 영역에서 다른 MAP 영역으로 이동할 수 있다.Hereinafter, the handover process when the mobile node 20 moves in the HMIPv6 system. In the HMIPv6 system, the mobile node 20 may move within one MAP area and may move from one MAP area to another MAP area.

만일 모바일 노드(20)가 제1MAP(70-1) 영역의 제1라우터(30)에서 제2라우터(40-1)로 이동하는 경우에는 모바일 노드(20)의 로컬 임시 주소(LCoA : Local Care of Address)는 변경되지만 지역 임시 주소(RCoA : Regional Care of Address)는 변경되지 않는다. 따라서 제1MAP(70-1)만 바인딩 업데이트하면 되고, 홈 에이전트(50)는 바인딩 업데이트할 필요가 없다. If the mobile node 20 moves from the first router 30 to the second router 40-1 in the area of the first MAP 70-1, the local temporary address (LCoA) of the mobile node 20 is local care. of Address will change, but Regional Care of Address (RCoA) will not change. Therefore, only the first MAP 70-1 needs to be updated by binding, and the home agent 50 does not need to update the binding.

만일 모바일 노드(20)가 제1MAP(70-1)의 제1라우터(30)에서 제2MAP(70-2)의 제3라우터(40-2)로 이동하는 경우에는 모바일 노드(20)의 로컬 임시 주소, 지역 임 시 주소가 모두 변경되어야 한다. 이 경우에는 홈 에이전트(50) 및 제2MAP(70-2) 모두 바인딩 업데이트를 수행하여야 한다.If the mobile node 20 moves from the first router 30 of the first MAP 70-1 to the third router 40-2 of the second MAP 70-2, the local node of the mobile node 20 is moved. Both temporary and local temporary addresses must be changed. In this case, both the home agent 50 and the second MAP 70-2 should perform binding update.

도 6a는 HMIPv6 시스템에서 모바일 노드가 하나의 MAP의 영역에서 이동하는 경우 패킷이 송수신되는 과정을 나타낸 도면이다.6A is a diagram illustrating a process of transmitting and receiving a packet when a mobile node moves in an area of one MAP in an HMIPv6 system.

모바일 노드(20)가 제1MAP(70-1)이 관리하는 제1라우터(30)로 이동한 경우, 모바일 노드(20)는 제1라우터(30)의 망 정보와 제1MAP(70-1)의 망 정보가 포함되어 있는 라우팅 정보 응답(Router Advertisement)을 전송받고(S610), 제1 로컬 임시 주소를 설정한다(S611).When the mobile node 20 moves to the first router 30 managed by the first MAP 70-1, the mobile node 20 transmits network information of the first router 30 and the first MAP 70-1. The router receives a routing information response (Router Advertisement) including the network information (S610), and sets a first local temporary address (S611).

모바일 노드(20)는 제1 로컬 임시 주소와 제1 지역 임시 주소를 포함하는 바인딩 업데이트 메시지를 제1MAP(70-1)로 전송하며(S612), 상기 바인딩 업데이트 메시지를 수신한 제1MAP(70-1)은 제1 로컬 임시 주소와 제1 지역 임시 주소를 저장하여 바인딩 업데이트를 수행한다(S613). 그 후 제1MAP(70-1)은 바인딩 애크 메시지를 모바일 노드(20)로 전송한다(S614).The mobile node 20 transmits a binding update message including the first local temporary address and the first local temporary address to the first MAP 70-1 (S612), and receives the first MAP 70-received the binding update message. 1) performs binding update by storing the first local temporary address and the first local temporary address (S613). Thereafter, the first MAP 70-1 transmits the binding acknowledgment message to the mobile node 20 (S614).

제1MAP(70-1)은 대응 노드(60)로부터 수신된 패킷을 PLCoA와 PRCoA를 이용하여 인캡슐레이션하여(S615) 모바일 노드(20)로 전송한다(S616).The first MAP 70-1 encapsulates the packet received from the corresponding node 60 using the PLCoA and the PRCoA (S615) and transmits the packet to the mobile node 20 (S616).

제1라우터(30)에서 제2라우터(40-1)로 이동한(S617) 모바일 노드(20)는 제2라우터(40)에게 라우팅 정보를 요청한다. 라우팅 정보를 요청 받은 제2라우터(40-1)는 그에 대한 응답으로 자신의 망 정보뿐만 아니라 자신이 속한 제1MAP(70-1) 정보도 함께 모바일 노드(20)로 전송한다. 이러한 과정을 라우팅 정보 응답(Router Advertisement)이라고 한다(S618).The mobile node 20 moves from the first router 30 to the second router 40-1 (S617) and requests routing information from the second router 40. The second router 40-1, which has received the routing information, transmits not only its own network information but also its own MAP 70-1 information to the mobile node 20 in response thereto. This process is called a routing information response (S618).

모바일 노드(20)는 제2라우터(40-1)의 망 정보를 이용하여 제2 로컬 임시 주소(NLCoA : New LCoA)를 생성한다(S619). 또한 MAP(70) 정보를 이용하여 자신이 속한 MAP 도메인이 동일한 도메인인지 다른 도메인인지를 파악한다. 동일한 MAP 도메인 내에서의 이동에 대한 예에서 모바일 노드(20)는 이전에 구성한 지역 임시 주소(RCoA)를 그대로 사용하게 된다. 따라서 모바일 노드(20)는 제2 로컬 임시 주소와 지역 임시 주소를 제1MAP(70-1)에 등록하게 된다. The mobile node 20 generates a second local temporary address (NLCoA: New LCoA) using network information of the second router 40-1 (S619). In addition, the MAP 70 information is used to determine whether the MAP domain to which it belongs is the same domain or another domain. In the example of movement within the same MAP domain, the mobile node 20 will use the previously configured local temporary address (RCoA). Therefore, the mobile node 20 registers the second local temporary address and the local temporary address in the first MAP 70-1.

모바일 노드(20)는 제2 로컬 임시 주소와 제1 지역 임시 주소가 포함되어 있는 바인딩 업데이트 메시지(Binding Update Message)를 제1MAP(70-1)으로 전송한다(S620). The mobile node 20 transmits a binding update message including the second local temporary address and the first local temporary address to the first MAP 70-1 (S620).

바인딩 업데이트 메시지를 전달받은 제1MAP(70-1)은 플러시 메시지를 제1 로컬 임시 주소로 전송하고(S621), 자신의 바인딩 캐시 엔트리에 상기 모바일 노드(20)의 제2 로컬 임시 주소와 지역 임시 주소를 저장하여 바인딩 업데이트한다(S622). 제1MAP(70-1)은 바인딩 애크(Binding Ack) 메시지를 모바일 노드(20)로 전송한다(S623). 이러한 과정이 이루어진 이후 제1MAP(70-1)은 대응 노드(60)로부터 패킷을 전송받아(S624) 제2 로컬 임시 주소로 패킷을 중계한다(S625). 결론적으로 패킷은 제1MAP(70-1)과 제2라우터(40-1)를 통하여 모바일 노드로 전송되게 된다.The first MAP 70-1 receiving the binding update message transmits the flush message to the first local temporary address (S621), and the second local temporary address and the local temporary address of the mobile node 20 in its binding cache entry. The binding is updated by storing the address (S622). The first MAP 70-1 transmits a binding Ack message to the mobile node 20 (S623). After this process, the first MAP 70-1 receives the packet from the corresponding node 60 (S624) and relays the packet to the second local temporary address (S625). As a result, the packet is transmitted to the mobile node through the first MAP 70-1 and the second router 40-1.

모바일 노드(20)는 MIPv6 시스템에서 설명한 바와 같은 동작을 한다. 즉, 모바일 노드(20)는 제1 로컬 임시 주소를 통해 수신된 패킷은 디캡슐레이션하여 상위 계층으로 전송하고 제2 로컬 임시 주소를 통하여 수신된 패킷은 버퍼에 저장한다. 모바일 노드(20)는 상기 디캡슐레이션한 패킷의 MH Type을 체크하여 플러시 메시지인지 판단한다. 상기 판단 결과 디캡슐레이션한 패킷이 플러시 메시지인 경우 모바일 노드(20)는 버퍼에 저장되어 있던 패킷을 상위 계층으로 전송하기 시작한다. The mobile node 20 operates as described in the MIPv6 system. That is, the mobile node 20 decapsulates the packet received through the first local temporary address and transmits the packet to the upper layer and stores the packet received through the second local temporary address in a buffer. The mobile node 20 checks the MH type of the decapsulated packet to determine whether it is a flush message. As a result of the determination, when the decapsulated packet is a flush message, the mobile node 20 starts to transmit the packet stored in the buffer to the upper layer.

도 6b는 HMIPv6 시스템에서 모바일 노드가 하나의 MAP의 영역에서 다른 MAP의 영역으로 이동하는 경우 패킷이 송수신되는 과정을 나타낸 도면이다. FIG. 6B is a diagram illustrating a process of transmitting and receiving a packet when a mobile node moves from an area of one MAP to an area of another MAP in the HMIPv6 system.

도 6b에 도시된 S630 ~ S637과정은 도 6a에 도시된 S610 ~ S617 과정과 동일하므로 그 설명을 생략하기로 한다.Processes S630 to S637 illustrated in FIG. 6B are the same as processes S610 to S617 illustrated in FIG. 6A, and thus description thereof will be omitted.

모바일 노드(20)는 제1MAP(70-1)의 제1라우터(30)에서 제2MAP(70-2)의 제2라우터(40-2)로 이동하고(S637) 제2라우터(40-2)에게 망 정보를 요청한다. 망 정보를 요청 받은 제2라우터(40-2)는 그에 대한 응답으로 자신의 망 정보뿐만 아니라 자신이 속한 제2MAP(70-2) 정보도 함께 모바일 노드(20)로 전송한다(S638). The mobile node 20 moves from the first router 30 of the first MAP 70-1 to the second router 40-2 of the second MAP 70-2 (S637) and the second router 40-2. Request network information. In response to the request, the second router 40-2 transmits not only its own network information, but also its own 2MAP 70-2 information to the mobile node 20 (S638).

모바일 노드(20)는 제2라우터(40-2)의 망 정보를 이용하여 제2 로컬 임시 주소(NLCoA : New Local CoA)를 생성한다(S639). 뿐만 아니라, 모바일 노드(20)는 자신이 속한 MAP도 변경되었으므로 제2 지역 임시 주소(NRCoA : New Regional CoA)도 생성한다. The mobile node 20 generates a second local temporary address (NLCoA: New Local CoA) using the network information of the second router 40-2 (S639). In addition, the mobile node 20 also generates a second regional temporary address (NRCoA: New Regional CoA) since the MAP to which it belongs is changed.

모바일 노드(20)는 제2 로컬 임시 주소와 제2 지역 임시 주소가 포함되어 있는 바인딩 업데이트 메시지(Binding Update Message)를 홈 에이전트(50)로 전송한다(S640). The mobile node 20 transmits a binding update message including the second local temporary address and the second local temporary address to the home agent 50 (S640).

바인딩 업데이트 메시지를 전달받은 홈 에이전트(50)는 제1 지역 임시 주소 와 제1 로컬 임시 주소를 이용하여 플러시 메시지를 전송시키고(S641), 자신의 바인딩 캐시 엔트리에 상기 모바일 노드(20)의 제2 로컬 임시 주소와 제2 지역 임시 주소를 저장한다(S642). 홈 에이전트(50) 또는 대응 노드(60)는 바인딩 애크(Binding Ack) 메시지를 모바일 노드(20)로 전송한다(S643). The home agent 50 which has received the binding update message transmits a flush message using the first local temporary address and the first local temporary address (S641), and transmits the second message of the mobile node 20 to its binding cache entry. The local temporary address and the second local temporary address are stored (S642). The home agent 50 or the corresponding node 60 transmits a binding Ack message to the mobile node 20 (S643).

이러한 과정이 이루어진 이후 홈 에이전트(50)는 제2 로컬 임시 주소와 제 2 지역 임시 주소를 이용하여 패킷을 생성(S644), 전송하게 된다(S645). After this process, the home agent 50 generates a packet using the second local temporary address and the second local temporary address (S644) and transmits the packet (S645).

마찬가지로 모바일 노드(20)는 제1 로컬 임시 주소를 통하여 수신된 패킷은 디캡슐레이션하여 상위 계층으로 전송하고 제2 로컬 임시 주소를 통하여 수신된 패킷은 버퍼링한다. 또한, 모바일 노드(20)는 디캡슐레이션한 패킷의 헤더를 체크하여 플러시 메시지임으로 판명된 경우 버퍼에 저장되어 있던 패킷을 상위 계층으로 전송하기 시작한다. Similarly, the mobile node 20 decapsulates the packet received through the first local temporary address, and transmits the packet to the upper layer and buffers the packet received through the second local temporary address. In addition, the mobile node 20 checks the header of the decapsulated packet and starts transmitting the packet stored in the buffer to a higher layer when it is determined to be a flush message.

도 7은 본 발명에 따른 모바일 노드의 구조를 나타낸 블록도이다.7 is a block diagram showing the structure of a mobile node according to the present invention.

도 7에 도시된 바와 같이 본 발명에 따른 모바일 노드(20)는 데이터 송수신부(21), 메모리부(22), 제어부(23) 및 주소 비교부(24)를 포함할 수 있다. As illustrated in FIG. 7, the mobile node 20 according to the present invention may include a data transceiver 21, a memory 22, a controller 23, and an address comparator 24.

데이터 송수신부(21)는 액세스 라우터(30, 40)와 패킷을 송수신한다. 데이터 송수신부(21)는 제1라우터(30) 또는 제2라우터(40)로부터 패킷을 수신하여 주소 비교부(24)로 전송한다.The data transceiver 21 transmits and receives packets with the access routers 30 and 40. The data transceiver 21 receives a packet from the first router 30 or the second router 40 and transmits the packet to the address comparator 24.

주소 비교부(24)는 액세스 라우터(30, 40)로부터 수신한 패킷의 소스 주소를 체크하여 패킷이 제1라우터(30)를 경유하여 수신된 것인지 제2라우터(40)를 경유하 여 수신된 것인지 체크한다. 이때 제1라우터(30)를 경유하여 수신된 패킷은 상위 계층(25)로 전송하고, 제2라우터(40)를 경유하여 수신된 패킷은 메모리부(22)에 저장한다.The address comparison unit 24 checks the source address of the packet received from the access routers 30 and 40 to determine whether the packet is received via the first router 30 or via the second router 40. Check it. At this time, the packet received via the first router 30 is transmitted to the upper layer 25, and the packet received via the second router 40 is stored in the memory unit 22.

메모리부(22)는 액세스 라우터(30, 40)로부터 수신한 패킷 중 제2 임시 주소 또는 제2 로컬 임시 주소를 통하여 수신된 패킷을 저장하는 구성 요소이다. The memory unit 22 is a component that stores a packet received through the second temporary address or the second local temporary address among the packets received from the access routers 30 and 40.

제어부(23)는 제1 임시 주소 또는 또는 제1 로컬 임시 주소를 통하여 수신된 패킷의 모빌러티 헤더(Mobility Header)를 검사한다. 모빌러티 헤더의 MH Type을 검사하여 상기 패킷이 플러시 메시지인지 확인할 수 있다. 만일 상기 패킷이 플러시 메시지인 경우 메모리부(22)에 저장되어 있던 패킷을 상위 계층(25)으로 전송한다.The controller 23 examines a mobility header of a packet received through the first temporary address or the first local temporary address. The MH Type of the mobility header may be examined to determine whether the packet is a flush message. If the packet is a flush message, the packet stored in the memory unit 22 is transmitted to the upper layer 25.

도 8은 본 발명의 일 실시예에 따른 모바일 노드의 동작 과정을 나타낸 도면이다.8 is a diagram illustrating an operation process of a mobile node according to an embodiment of the present invention.

본 발명에 따른 모바일 노드(20)가 제1라우터(30)에서 제2라우터(40)로 이동하는 경우 바인딩 업데이트 메시지를 홈 에이전트(50), 대응 노드(60) 또는 MAP(70)로 전송하는지 체크한다(S830). When the mobile node 20 according to the present invention moves from the first router 30 to the second router 40, whether the mobile node 20 transmits a binding update message to the home agent 50, the corresponding node 60, or the MAP 70. Check (S830).

바인딩 업데이트 메시지를 전송한 다음 모바일 노드(20)는 제1라우터(30)를 경유하여 오는 패킷(제1 임시 주소 또는 제1 로컬 임시 주소로 수신되는 패킷)과 제2라우터(40)를 경유하여 오는 패킷(제2 임시 주소 또는 제2 로컬 임시 주소로 수신되는 패킷)을 동시에 수신할 수 있다(S831). After transmitting the binding update message, the mobile node 20 transmits the packet coming through the first router 30 (the packet received at the first temporary address or the first local temporary address) and the second router 40. An incoming packet (a packet received at the second temporary address or the second local temporary address) may be simultaneously received (S831).

모바일 노드(20)는 수신된 패킷의 주소를 체크하여 수신된 패킷이 제1라우터(30)를 경유하여 전송된 패킷인지 제2라우터(40)를 경유하여 전송된 수신된 패킷인지 판단한다(S832). 구체적으로 목적지 주소가 제1 임시 주소 또는 제1 로컬 임시 주소인 패킷은 제1라우터(30)를 경유하여 전송된 패킷이고, 목적지 주소가 제2 임시 주소 또는 제2 로컬 임시 주소인 패킷은 제2라우터(40)를 경유하여 전송된 패킷이다. The mobile node 20 checks the address of the received packet and determines whether the received packet is a packet transmitted through the first router 30 or a received packet transmitted through the second router 40 (S832). ). Specifically, the packet whose destination address is the first temporary address or the first local temporary address is a packet transmitted via the first router 30, and the packet whose destination address is the second temporary address or the second local temporary address is a second packet. The packet is transmitted via the router 40.

모바일 노드(20)는 제1라우터(30)를 경유하여 전송된 패킷은 디캡슐레이션하고(S334), 제2라우터(40)를 경유한 패킷은 버퍼에 저장한다(S833).The mobile node 20 decapsulates the packet transmitted via the first router 30 (S334), and stores the packet via the second router 40 in a buffer (S833).

모바일 노드(20)는 디캡슐레이션한 패킷의 모빌러티 헤더 정보(MH Type)를 체크하여 플러시 메시지인지 판단한다(S835). 디캡슐레이션한 패킷이 상위 계층에서 처리하여야 하는 패킷이라면 상위 계층으로 전송한다(S836). 만일 수신한 패킷이 플러시 메시지라면, 모바일 노드(20)는 더 이상 제1라우터(30)를 경유하여 오는 패킷은 없다는 것을 인식할 수 있다. 따라서 모바일 노드(20)는 버퍼에 저장해둔 패킷을 상위 계층으로 전송하기 시작한다(S837). 플러시 메시지 보다 나중에 수신되는 패킷은 S835과정의 패킷 전송이 끝난 후 종래의 기술에 따라 즉시 상위 계층으로 전송한다(S838).The mobile node 20 checks the mobility header information (MH Type) of the decapsulated packet and determines whether it is a flush message (S835). If the decapsulated packet is a packet to be processed in a higher layer, the decapsulated packet is transmitted to a higher layer (S836). If the received packet is a flush message, the mobile node 20 can recognize that there are no more packets coming through the first router 30. Therefore, the mobile node 20 starts to transmit the packet stored in the buffer to the upper layer (S837). The packet received later than the flush message is immediately transmitted to the upper layer according to the conventional technique after the packet transmission in S835 is performed (S838).

위에서 설명한 바와 같이 모바일 노드(20)의 상위 계층에서 바라보면, 플러시 메시지가 모바일 노드(20)로 전송되기 전까지는 제2라우터(40)를 경유하는 메시지가 버퍼에 임시 저장되어 있고, 플러시 메시지가 전송된 이후부터 제2라우터(40)를 경유하는 메시지가 상위 계층으로 전송되므로 순서 어긋남 현상이 발생하지 않 게 된다. 또한, 플러시 메시지를 전송하자마자 제2 임시 주소를 통하여 수신된 패킷이 상위 계층으로 전송되므로 효율적으로 패킷을 처리할 수 있다.As described above, when viewed from the upper layer of the mobile node 20, the message passing through the second router 40 is temporarily stored in the buffer until the flush message is transmitted to the mobile node 20, and the flush message is stored in the buffer. Since the message passing through the second router 40 is transmitted to a higher layer after the transmission, the order shift does not occur. In addition, as soon as the flush message is transmitted, the packet received through the second temporary address is transmitted to the upper layer, thereby efficiently processing the packet.

도 9는 상기 플러시 메시지의 형식의 일 예를 나타낸 것이다.9 shows an example of a format of the flush message.

도 9에 도시된 바와 같이 플러시 메시지는 소스 주소(Source Address), 목적지 주소(Destination Address)를 포함하는 IPv6 헤더(IPv6 Header)와, 메시지가 포함하는 정보를 가르쳐 주는 페이로드 프로토(Payload Proto)와 메시지의 타입을 지시하는 MH Type을 포함하는 모빌러티 헤더(Mobility Header)로 구성되어 질 수 있다.As shown in FIG. 9, the flush message includes an IPv6 header including a source address and a destination address, a payload protocol that teaches information included in the message; It may be composed of a mobility header including a MH type indicating the type of the message.

여기서 소스 주소는 홈 에이전트 또는 대응 노드의 주소가 된다. 플러시 메시지는 제1라우터를 경유하여 모바일 노드로 전송되어야 하므로, 목적지 주소의 값으로 제1 임시 주소의 값을 가져야 한다. 플러시 메시지는 기타 다른 데이터는 포함하지 않고 있으므로 페이로드 프로토(Payload Proto) 값은 None이 된다. The source address is the address of the home agent or corresponding node. Since the flush message should be sent to the mobile node via the first router, it should have the value of the first temporary address as the value of the destination address. Since the flush message does not contain any other data, the Payload Proto value will be None.

여기서 모바일 노드가 본 메시지가 플러시 메시지라는 것을 알 수 있도록 MH Type은 플러시를 의미하는 값을 갖도록 한다. MH Type의 값은 IANA(Internet Assigned Numbers Authority)에서 국제적 표준으로 규정한다. 예를 들어 IANA는 바인딩 업데이트 메시지는 MH Type이 5라는 값을 갖도록 규정한다. 본 발명에 따른 플러시 메시지는 아직 표준화된 메시지가 아니어서 상응하는 MH Type 값이 없다. 다만, IANA가 본 발명에서 정의한 플러시 메시지에 따른 MH Type 값을 결정하면, 그 표준화된 값을 이용하게 된다.In this case, the MH Type has a value indicating a flush so that the mobile node knows that the message is a flush message. The value of MH Type is defined as an international standard by the Internet Assigned Numbers Authority (IANA). For example, IANA specifies that the binding update message has a value of 5 for the MH Type. The flush message according to the present invention is not yet a standardized message and therefore does not have a corresponding MH Type value. However, when the IANA determines the MH Type value according to the flush message defined in the present invention, the standardized value is used.

도 10은 본 발명의 제4 실시예인 FMIPv6 시스템에서의 패킷 송수신 방법을 나타낸 도면이다.10 is a diagram illustrating a packet transmission and reception method in an FMIPv6 system according to a fourth embodiment of the present invention.

도 10의 S1010 ~ S1023 과정은 도 4의 S410 ~ S423의 과정과 동일하므로 그 설명을 생략하기로 한다.Processes S1010 to S1023 of FIG. 10 are the same as those of S410 to S423 of FIG. 4, and thus description thereof will be omitted.

S1023과정에서 바인딩 업데이트 메시지를 수신한 홈 에이전트(50) 또는 대응 노드(60)는 플러시 메시지를 제2라우터(40)로 전송한다(S1024). 도 4에서 설명한 바와 같이 이 경우 플러시 메시지는 먼저 제1라우터(30)로 전송된 후 제2라우터(40)로 터널링된다.The home agent 50 or the corresponding node 60 that receives the binding update message in step S1023 transmits the flush message to the second router 40 (S1024). In this case, as described with reference to FIG. 4, the flush message is first transmitted to the first router 30 and then tunneled to the second router 40.

플러시 메시지를 전송한 홈 에이전트(50) 또는 대응 노드(60)는 바인딩 캐시 엔트리에 제2 임시 주소와 홈 주소를 저장한다(S1025). 그 이후 홈 에이전트(50) 또는 대응 노드(60)는 제2 임시 주소를 이용하여 패킷을 생성하고(S1026), 모바일 노드(20)로 전송한다(S1027). The home agent 50 or the correspondent node 60 which has transmitted the flush message stores the second temporary address and the home address in the binding cache entry (S1025). Thereafter, the home agent 50 or the corresponding node 60 generates a packet using the second temporary address (S1026) and transmits the packet to the mobile node 20 (S1027).

이 경우 제2라우터(40)로 전송되는 패킷은 제1라우터(30)에서 터널링되는 패킷과 홈 에이전트(50) 또는 대응 노드(60)에서 제2임시 주소를 통해 전송되는 패킷이 있다. 제2라우터(40)는 제1라우터에서 터널링되어 수신되는 패킷은 바로 모바일 노드(20)로 전송하고, 제1라우터(30)로부터 터널링되지 않고 홈 에이전트(50) 또는 대응 노드(60)로부터 수신되는 패킷은 버퍼링한다. 만일, 제2라우터(40)가 플러시 메시지를 수신한 경우 상기 버퍼링된 패킷을 모바일 노드(20)로 전송하여 준다. 결론적으로 모바일 노드(20)는 제2라우터(40)를 통하여 순서가 정렬된 패킷을 수신하 게 되므로, 수신한 패킷을 바로바로 디캡슐레이션하면 된다.In this case, the packet transmitted to the second router 40 includes a packet tunneled by the first router 30 and a packet transmitted through the second temporary address from the home agent 50 or the corresponding node 60. The second router 40 tunnels the packet received in the first router and transmits the received packet directly to the mobile node 20, and receives the packet from the home agent 50 or the corresponding node 60 without being tunneled from the first router 30. Packet is buffered. If the second router 40 receives the flush message, the second router 40 transmits the buffered packet to the mobile node 20. In conclusion, since the mobile node 20 receives the packets arranged in order through the second router 40, the mobile node 20 may directly decapsulate the received packets.

도 11은 본 발명의 제4 실시예에 따른 라우터의 구조를 나타낸 블록도이다.11 is a block diagram showing the structure of a router according to a fourth embodiment of the present invention.

도 11에 도시된 바와 같이 라우터(40)는 데이터 송수신부(41), 메모리부(42), 제어부(43) 및 주소 비교부(44)를 포함할 수 있다. As shown in FIG. 11, the router 40 may include a data transceiver 41, a memory 42, a controller 43, and an address comparator 44.

데이터 송수신부(41)는 모바일 노드(20), 다른 라우터(30), 홈 에이전트(50) 또는 대응 노드(60)와 패킷을 송수신할 수 있다.The data transceiver 41 may transmit and receive a packet with the mobile node 20, another router 30, the home agent 50, or the corresponding node 60.

주소 비교부(44)는 제1라우터(30)로부터 터널링되어 수신된 패킷은 데이터 송수신부(41)를 통하여 모바일 노드(20)로 전송하고, 홈 에이전트(50) 또는 대응 노드(60)로부터 수신된 패킷은 메모리부(42)에 저장한다.The address comparison unit 44 tunnels and receives the received packet from the first router 30 to the mobile node 20 through the data transmission / reception unit 41, and receives the packet from the home agent 50 or the corresponding node 60. The received packet is stored in the memory section 42.

제어부(43)는 제1라우터(30)로부터 터널링되어 수신된 패킷이 플러시 메시지인지 검사한다. 만일 플러시 메시지를 검출한 경우 제어부(43)는 메모리부(42)에 저장되어 있던 패킷을 데이터 송수신부(41)를 통하여 모바일 노드(20)로 전송한다.The controller 43 checks whether the received packet tunneled from the first router 30 is a flush message. If the flush message is detected, the control unit 43 transmits the packet stored in the memory unit 42 to the mobile node 20 through the data transmission / reception unit 41.

도 12는 본 발명의 4 실시예에 따른 라우터의 동작 과정을 나타낸 도면이다.12 is a diagram illustrating the operation of a router according to an embodiment of the present invention.

라우터(40)는 제1라우터(30)로부터 터널링되는 패킷과 홈 에이전트(50) 또는 대응 노드(60)로부터 전송되는 패킷을 동시에 수신할 수 있다(S1210). The router 40 may simultaneously receive a packet tunneled from the first router 30 and a packet transmitted from the home agent 50 or the corresponding node 60 (S1210).

라우터(40)는 수신된 패킷이 제1라우터(30)로부터 터널링되는 패킷인지 홈 에이전트(50) 또는 대응 노드(60)로부터 전송되는 패킷인지 판단한다(S1211). The router 40 determines whether the received packet is a packet tunneled from the first router 30 or a packet transmitted from the home agent 50 or the corresponding node 60 (S1211).

라우터(40)는 홈 에이전트(50) 또는 대응 노드(60)로부터 수신된 패킷은 버 퍼링하고(S1212), 제1라우터(30)로부터 터널링된 패킷은 라우터(40)는 터널링된 패킷이 플러시 메시지인지 판단하고(S1213), The router 40 buffers the packet received from the home agent 50 or the corresponding node 60 (S1212), and the packet tunneled from the first router 30 is the router 40, and the tunneled packet flushes the message. Determine whether (S1213),

만일 터널링된 패킷이 플러시 메시지가 아니라면 패킷을 모바일 노드(20)로 전송하고(S1214), 터널링된 패킷이 플러시 메시지라면 라우터(40)는 상기 버퍼링된 패킷을 모바일 노드(20)로 전송한다(S1215). 플러시 메시지 보다 나중에 수신되는 패킷은 S1215과정의 패킷 전송이 끝난 후 종래의 기술에 따라 즉시 모바일 노드로 전송된다(S1216).If the tunneled packet is not a flush message, the packet is transmitted to the mobile node 20 (S1214). If the tunneled packet is a flush message, the router 40 transmits the buffered packet to the mobile node 20 (S1215). ). The packet received after the flush message is immediately transmitted to the mobile node according to the conventional art after the packet transmission in S1215 is completed (S1216).

본 발명에 대한 기술사항을 첨부도면과 함께 서술하였다. 본 발명에서는 MIPv6 시스템, FMIPv6 시스템 및 HMIPv6 시스템을 실시예로서 설명하였지만 당업자라면 당연히 MIPv6, MIPv4 시스템에서도 본 발명을 적용할 수 있을 것이다.The technical details of the present invention have been described together with the accompanying drawings. In the present invention, the MIPv6 system, the FMIPv6 system, and the HMIPv6 system have been described as embodiments, but those skilled in the art will naturally apply the present invention to the MIPv6 and MIPv4 systems.

상기와 같이 본 발명에 따른 패킷 처리 장치 및 그 방법에 따르면 홈 에이전트 또는 대응 노드로부터 전송되는 플러시 메시지를 이용하여 데이터의 순서를 정렬함으로써 패킷 순서의 어긋남을 효과적으로 방지할 수 있고, 그로 인하여 TCP 또는 UDP 기반의 멀티미디어 서비스를 원활하게 제공할 수 있다.According to the packet processing apparatus and the method according to the present invention as described above, by aligning the order of the data by using the flush message transmitted from the home agent or the corresponding node, it is possible to effectively prevent the packet out of order, thereby TCP or UDP It can smoothly provide a multimedia service based on.

Claims (29)

모바일 네트워크(Mobile Network)의 모바일 노드(Mobile Node) 패킷 처리 방법에 있어서,In the mobile node (Mobile Node) packet processing method of a mobile network, 모바일 노드는 위치 이동에 따라 제1 임시 주소(CoA : Care of Address)를 제2 임시 주소로 변경하는 바인딩 업데이트(Binding Update)를 수행하는 단계;Performing, by the mobile node, a binding update to change the first temporary address (CoA: Care of Address) to the second temporary address as the location moves; 상기 모바일 노드는 제1 임시 주소를 통하여 수신된 패킷은 처리하고, 제2 임시 주소를 통하여 수신된 패킷은 버퍼링하는 단계; 및The mobile node processing a packet received through a first temporary address and buffering a packet received through a second temporary address; And 상기 모바일 노드는 상기 제1 임시 주소를 이용한 패킷의 전송 완료 메시지(Flush Message)를 수신한 경우, 수신된 패킷의 목적지 필드를 체크함으로써, 상기 패킷이 제1 임시 주소를 통하여 수신된 패킷인지 제2 임시 주소를 통하여 수신된 패킷인지 판단하여 상기 버퍼링된 패킷을 처리하는 단계를 포함하는 모바일 노드 패킷 처리 방법. When the mobile node receives a Flush Message of a packet using the first temporary address, the mobile node checks a destination field of the received packet to determine whether the packet is a packet received through the first temporary address. Processing the buffered packet by determining whether the packet was received through a temporary address. 삭제delete 삭제delete 제1항에 있어서,The method of claim 1, 상기 전송 완료 메시지는,The transmission completion message, 소스 주소(Source Address), 목적지 주소(Destination Address) 및 모빌러티 헤더(Mobility Header)를 포함하는 모바일 노드 패킷 처리 방법.A method for processing a mobile node packet including a source address, a destination address, and a mobility header. 제4항에 있어서,The method of claim 4, wherein 상기 모바일 노드는,The mobile node, 상기 모빌러티 헤더에 포함된 모빌러티 헤더 타입(Mobility Header Type) 필드 값을 체크함으로써 전송 완료 메시지의 수신 여부를 판단하는 모바일 노드 패킷 처리 방법.And determining whether to receive a transmission completion message by checking a value of a mobility header type field included in the mobility header. 삭제delete 모바일 네트워크 시스템의 모바일 노드에 있어서,In the mobile node of the mobile network system, 액세스 라우터와의 패킷 송수신을 위한 데이터 송수신부;A data transmission / reception unit for transmitting / receiving packets with the access router; 상기 액세스 라우터로부터 수신한 패킷이 제1 임시 주소로 전송된 패킷인지 제2 임시 주소로 전송된 패킷인지 판단하는 주소 비교부; 및An address comparison unit determining whether a packet received from the access router is a packet transmitted to a first temporary address or a packet transmitted to a second temporary address; And 상기 주소 비교부의 판단 결과 상기 제 1 임시 주소로 전송된 패킷은 처리하고, 상기 제2 임시 주소로 전송된 패킷은 버퍼링하며, 전송 완료 메시지를 수신한 경우 상기 버퍼링된 패킷을 처리하는 제어부를 포함하는 모바일 노드.And a controller configured to process the packet transmitted to the first temporary address, buffer the packet transmitted to the second temporary address, and process the buffered packet when the transmission completion message is received. Mobile node. 제7항에 있어서,The method of claim 7, wherein 상기 제2 임시 주소로 전송된 패킷을 버퍼링하기 위한 메모리부를 더 포함하는 모바일 노드.And a memory unit for buffering a packet transmitted to the second temporary address. 제7항에 있어서,The method of claim 7, wherein 상기 비교 주소부는,The comparison address portion, 수신된 패킷의 목적지 주소 필드를 체크함으로써, 상기 패킷이 제1 임시 주소로 전송된 패킷인지 제2 임시 주소로 전송된 패킷인지 판단하는 것을 특징으로 하는 모바일 노드.And checking the destination address field of the received packet to determine whether the packet was sent to a first temporary address or to a second temporary address. 제7항에 있어서,The method of claim 7, wherein 상기 제어부는,The control unit, 수신한 패킷의 모빌러티 헤더 정보의 모빌러티 헤더 타입 필드 값을 체크함으로써, 전송 완료 메시지의 수신 여부를 판단하는 모바일 노드.A mobile node that determines whether to receive a transmission completion message by checking a value of a mobility header type field of mobility header information of a received packet. 삭제delete 삭제delete 삭제delete MIPv6 네트워크에 있어서,In a MIPv6 network, 자신이 관리하는 라우팅 영역에 모바일 노드가 존재하는 경우, 상기 모바일 노드로 임시 주소를 할당하고, 상기 할당한 임시 주소로 패킷을 전송하는 적어도 하나의 라우터;At least one router for allocating a temporary address to the mobile node and transmitting a packet to the assigned temporary address when the mobile node exists in a routing area managed by the mobile node; 모바일 노드의 주소가 제1 임시 주소에서 제2 임시 주소로 변경된 경우, 제1 임시 주소로의 데이터 패킷 전송을 중단하고, 전송 완료 메시지 패킷을 상기 제1 임시 주소로 전송한 후, 상기 데이터 중 전송되지 못한 잔류 데이터 패킷을 상기 제2 임시 주소로 전송하는 인터넷 호스트; 및When the address of the mobile node is changed from the first temporary address to the second temporary address, the transmission of the data packet to the first temporary address is stopped, the transmission completion message packet is transmitted to the first temporary address, and then among the data. An internet host for transmitting a failed residual data packet to the second temporary address; And 제1 임시 주소로 전송된 패킷은 처리하고, 제2 임시 주소로 전송된 패킷은 버퍼링하며, 상기 전송 완료 메시지를 수신한 경우 수신된 패킷의 목적지 필드를 체크함으로써, 상기 패킷이 제1 임시 주소를 통하여 수신된 패킷인지 제2 임시 주소를 통하여 수신된 패킷인지 판단하여 상기 버퍼링된 패킷을 처리하는 모바일 노드를 포함하는 MIPv6 네트워크.By processing the packet sent to the first temporary address, buffering the packet sent to the second temporary address, and checking the destination field of the received packet when the transmission completion message is received, the packet is assigned to the first temporary address. And a mobile node for processing the buffered packet by determining whether the received packet is a packet received through a second temporary address. 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete FMIPv6 네트워크의 라우터에 있어서,In router of FMIPv6 network, 인터넷 호스트 또는 모바일 노드와의 패킷 송수신을 위한 데이터 송수신부;A data transceiver for packet transmission and reception with an Internet host or a mobile node; 상기 모바일 노드로 전송될 패킷 중 다른 라우터로부터 터널링되어 전송된 패킷은 상기 모바일 노드로 전송하고, 인터넷 호스트로부터 전송된 패킷은 버퍼링하는 주소 비교부; 및An address comparison unit configured to transmit a tunneled packet transmitted from another router among the packets to be transmitted to the mobile node to the mobile node, and buffer the packet transmitted from the Internet host; And 상기 다른 라우터로부터 터널링되어 전송된 패킷이 전송 완료 메시지인 경우, 상기 버퍼링된 패킷을 상기 모바일 노드로 전송하는 제어부를 포함하는 라우터.And a controller which transmits the buffered packet to the mobile node when the packet tunneled from the other router is a transmission completion message. 제23항에 있어서,The method of claim 23, wherein 상기 인터넷 호스트로부터 전송된 패킷을 버퍼링하기 위한 메모리부를 더 포함하는 라우터.And a memory unit for buffering a packet transmitted from the Internet host. 제23항에 있어서,The method of claim 23, wherein 상기 제어부는,The control unit, 수신한 패킷의 모빌러티 헤더 정보의 모빌러티 타입 필드 값을 체크함으로써 전송 완료 메시지를 수신하였는지 판단하는 것을 특징으로 하는 라우터.And determining whether a transmission completion message has been received by checking a value of a mobility type field of mobility header information of a received packet. 삭제delete 삭제delete 삭제delete 삭제delete
KR1020050061928A 2005-07-08 2005-07-08 Apparatus and Method for Controlling Data in Mobile Network KR100893213B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050061928A KR100893213B1 (en) 2005-07-08 2005-07-08 Apparatus and Method for Controlling Data in Mobile Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050061928A KR100893213B1 (en) 2005-07-08 2005-07-08 Apparatus and Method for Controlling Data in Mobile Network

Publications (2)

Publication Number Publication Date
KR20070006524A KR20070006524A (en) 2007-01-11
KR100893213B1 true KR100893213B1 (en) 2009-04-16

Family

ID=37871754

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050061928A KR100893213B1 (en) 2005-07-08 2005-07-08 Apparatus and Method for Controlling Data in Mobile Network

Country Status (1)

Country Link
KR (1) KR100893213B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225892A1 (en) * 2002-06-04 2003-12-04 Hideaki Takusagawa Handover method in mobile communication system and router device used in mobile communication system
KR20050003566A (en) * 2003-06-27 2005-01-12 주식회사 케이티 Method of Seamless Roaming using Binding Cache in Wireless Communication System
KR20050058775A (en) * 2003-12-12 2005-06-17 주식회사 케이티 Apparatus and method of packet forwarding for handoff in wireless access network
KR100582731B1 (en) * 2005-03-03 2006-05-22 삼성전자주식회사 Method for exchanging message of mobile node in mobile ipv6 network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225892A1 (en) * 2002-06-04 2003-12-04 Hideaki Takusagawa Handover method in mobile communication system and router device used in mobile communication system
KR20050003566A (en) * 2003-06-27 2005-01-12 주식회사 케이티 Method of Seamless Roaming using Binding Cache in Wireless Communication System
KR20050058775A (en) * 2003-12-12 2005-06-17 주식회사 케이티 Apparatus and method of packet forwarding for handoff in wireless access network
KR100582731B1 (en) * 2005-03-03 2006-05-22 삼성전자주식회사 Method for exchanging message of mobile node in mobile ipv6 network

Also Published As

Publication number Publication date
KR20070006524A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
EP1224753B1 (en) Packet transmission method for mobile internet
JP5147982B2 (en) Seamless roaming method and apparatus for wireless network
EP1260113B1 (en) Hierarchical mobility management for wireless networks
KR100582731B1 (en) Method for exchanging message of mobile node in mobile ipv6 network
US20050232146A1 (en) System and method for recovering a damaged routing path in a mobile network
EP2430816B1 (en) Handover in core-edge separation technology in wireless communications
KR100879985B1 (en) Method of Lossless Mobile IP Packet Delivery and System thereof
WO2003090408A1 (en) Tunneling between different addressing domains
US20100103876A1 (en) Mobile terminal and communication management device
EP1516472B1 (en) Connection of next generation mobile nodes across previous generation networks to next generation networks
EP1804463B1 (en) Method for route optimization with dual mobile IPv4 node in IPv6-only network
JPWO2009057296A1 (en) Mobile terminal, network node, and packet forwarding management node
JP2010503244A (en) Communication system, mobile router and home agent
KR20010098088A (en) Hand-Over Method between Packet Zones, and Paket Data Service Using The Same
KR100359431B1 (en) Mobile IP system and the routing method thereof
KR100893213B1 (en) Apparatus and Method for Controlling Data in Mobile Network
KR100694302B1 (en) Method for fast hand-over in mobile service based on ipv6
KR20030017194A (en) Mobile internet protocol system and registration method on a hand-off event in the same
JP4468968B2 (en) Mobile node communication method and mobile node
JP4022227B2 (en) Mobile node
KR20070007994A (en) Method for handover on mobility network
JP2005341611A (en) Router
David et al. A first evaluation of IP based network architectures

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
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20160330

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170330

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180329

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20190328

Year of fee payment: 11