KR100377191B1 - The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service - Google Patents
The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service Download PDFInfo
- Publication number
- KR100377191B1 KR100377191B1 KR10-2001-0040675A KR20010040675A KR100377191B1 KR 100377191 B1 KR100377191 B1 KR 100377191B1 KR 20010040675 A KR20010040675 A KR 20010040675A KR 100377191 B1 KR100377191 B1 KR 100377191B1
- Authority
- KR
- South Korea
- Prior art keywords
- tunnel
- value
- result
- mobile
- added
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/12—Setup of transport tunnels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5084—Providing for device mobility
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5092—Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION
본 발명은 본 발명은 이동 아이피 서비스 시스템에서 아이피 터널의 재사용을 위한 아이피 터널 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to an IP tunnel management method for reusing an IP tunnel in a mobile IP service system and a computer readable recording medium recording a program for realizing the method.
2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention
본 발명은, 이동 IP 서비스 시스템에서 동일한 경로를 가지는 터널을 여러 개 만들지 않고, 이용자가 없으면 생성된 터널을 제거할 수 있는 아이피 터널의 재사용이 가능한 IP 터널 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention provides an IP tunnel management method and a program for realizing the IP tunnel which can reuse the IP tunnel which can remove the generated tunnel without a user without creating several tunnels having the same path in the mobile IP service system. To provide a computer-readable recording medium for recording.
3. 발명의 해결방법의 요지3. Summary of Solution to Invention
본 발명은, 이동 IP(Internet Protocol) 시스템에 적용되는 IP 터널을 재사용하기 위한 IP 터널 관리 방법에 있어서, IP 터널 관리를 위한 IP터널 테이블을 구축하는 제 1 단계; 이동 노드의 움직임에 따라, IP 터널의 추가/삭제 여부를 판단하는 제 2 단계; 상기 제 2 단계의 판단 결과, 터널의 추가인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 추가하려는 IP 터널의 존재 여부에 따라 IP 터널을 추가하는 제 3 단계; 및 상기 제 2 단계의 판단 결과, 터널의 삭제인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 삭제하려는 IP 터널의 존재 여부에 따라 IP 터널을 삭제하는 제 4 단계를 포함함.The present invention provides an IP tunnel management method for reusing an IP tunnel applied to a mobile Internet Protocol (IP) system, comprising: a first step of constructing an IP tunnel table for IP tunnel management; A second step of determining whether to add / delete an IP tunnel according to the movement of the mobile node; A third step of adding an IP tunnel according to the presence or absence of an IP tunnel to be searched for and added to the IP tunnel using the IP tunnel table when the tunnel is added as a result of the determination in the second step; And a fourth step of deleting the IP tunnel according to the presence or absence of the IP tunnel to search for and delete the IP tunnel using the IP tunnel table when the deletion of the tunnel is determined as the second step.
4. 발명의 중요한 용도4. Important uses of the invention
본 발명은 이동 IP 서비스 등에 이용됨.The present invention is used for mobile IP service.
Description
본 발명은 이동 아이피 서비스 시스템에서 아이피 터널의 재사용을 위한 아이피 터널 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to an IP tunnel management method for reusing an IP tunnel in a mobile IP service system and a computer-readable recording medium having recorded thereon a program for realizing the method.
이동 IP 서비스를 제공하기 위해서는 홈 에이전트와 방문 에이전트사이의 터널링이 필수적이다.Tunneling between home agent and visiting agent is essential to provide mobile IP service.
사용자가 새로운 망으로 이동한 경우, 홈망에서 새로운 망인 방문망까지의 터널이 생성되는데, 여러 명의 사용자가 동일한 홈망으로부터 같은 방문망으로 이동한 경우, 동일한 터널이 사용자의 수만큼 생겨서 자원이 많이 소모되고, 이에 따라 시스템의 성능이 저하되는 문제점이 있다.When a user moves to a new network, a tunnel is created from the home network to the new network, and when several users move from the same home network to the same network, the same tunnel is created as many as the number of users. Therefore, there is a problem that the performance of the system is reduced.
또한, 하나의 터널을 생성하여 공유한다 하더라도 생성된 터널을 제거하기 위해서는 동일한 망으로부터 방문한 가입자가 모두 빠져나간 후 터널을 제거해야 하나, 종래의 기술에서는 실제로 이를 관리하기 곤란하므로 터널을 제거하지 않고 계속 사용함으로써 시스템 자원이 낭비되는 문제점이 있다.In addition, even if a tunnel is created and shared, in order to remove the generated tunnel, it is necessary to remove the tunnel after all of the subscribers who visited from the same network have exited. There is a problem that system resources are wasted by using.
본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 이동 IP 서비스 시스템에서 동일한 경로를 가지는 터널을 여러 개 만들지 않고, 이용자가 없으면 생성된 터널을 제거할 수 있는 아이피 터널의 재사용이 가능한 IP 터널 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and it is possible to reuse an IP tunnel that can remove the generated tunnel without a user without creating multiple tunnels having the same path in the mobile IP service system. An object of the present invention is to provide an IP tunnel management method and a computer-readable recording medium recording a program for realizing the method.
도 1 은 본 발명이 적용되는 이동(Mobile) IP 서비스 시스템의 일실시예 구성도.1 is a configuration diagram of an embodiment of a mobile IP service system to which the present invention is applied.
도 2 는 본 발명이 적용되는 IP 터널의 일실시예 데이터 구조도.Figure 2 is an embodiment data structure diagram of an IP tunnel to which the present invention is applied.
도 3 은 본 발명이 적용되는 이동(Mobile) IP 서비스의 IP 터널의 일실시예 동작 구조도.3 is a diagram illustrating the operation of one embodiment of an IP tunnel of a mobile IP service to which the present invention is applied;
도 4 는 본 발명이 적용되는 이동(Mobile) IP 서비스 시스템에서 이동 IP 서비스의 터널 연결에 대한 일실시예 구성도.4 is a diagram illustrating an embodiment of a tunnel connection of a mobile IP service in a mobile IP service system to which the present invention is applied;
도 5 는 본 발명이 적용되는 이동(Mobile) IP 서비스의 IP 터널의 다중 터널에 대한 일실시예 상세 구조도.FIG. 5 is a detailed structural diagram of an embodiment of multiple tunnels of an IP tunnel of a mobile IP service to which the present invention is applied; FIG.
도 6a 내지 도 6b 는 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 사용되는 IP 터널 테이블의 일실시예 자료 구조도.6a to 6b is an embodiment data structure diagram of an IP tunnel table used in the IP tunnel management method for reusing an IP tunnel according to the present invention.
도 7 은 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 대한 일실시예 동작 흐름도.7 is a flowchart illustrating an operation of an IP tunnel management method for reusing an IP tunnel according to the present invention.
도 8a 내지 도 8b는 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 있어서, 터널 탐색 과정에 대한 일실시예 상세 흐름도.8A to 8B are detailed flowcharts illustrating an embodiment of a tunnel discovery process in the IP tunnel management method for reusing an IP tunnel according to the present invention.
* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings
11 : 방문망 12 : 홈망11: visited network 12: home network
13 : 대응 노드13: corresponding node
101-1 : 이동 노드 101-2 : 이동 노드101-1: Mobile Node 101-2: Mobile Node
102 : 홈 에이전트 103 : 외부 에이전트102: home agent 103: external agent
상기 목적을 달성하기 위한 본 발명은, 이동 IP(Internet Protocol) 시스템에 적용되는 IP 터널을 재사용하기 위한 IP 터널 관리 방법에 있어서, IP 터널 관리를 위한 IP터널 테이블을 구축하는 제 1 단계; 이동 노드의 움직임에 따라, IP 터널의 추가/삭제 여부를 판단하는 제 2 단계; 상기 제 2 단계의 판단 결과, 터널의 추가인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 추가하려는 IP 터널의 존재 여부에 따라 IP 터널을 추가하는 제 3 단계; 및 상기 제 2 단계의판단 결과, 터널의 삭제인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 삭제하려는 IP 터널의 존재 여부에 따라 IP 터널을 삭제하는 제 4 단계를 포함하여 이루어진 것을 특징으로 한다.According to an aspect of the present invention, there is provided an IP tunnel management method for reusing an IP tunnel applied to a mobile Internet Protocol (IP) system, comprising: a first step of constructing an IP tunnel table for IP tunnel management; A second step of determining whether to add / delete an IP tunnel according to the movement of the mobile node; A third step of adding an IP tunnel according to the presence or absence of an IP tunnel to be searched for and added to the IP tunnel using the IP tunnel table when the tunnel is added as a result of the determination in the second step; And a fourth step of deleting the IP tunnel according to the presence or absence of the IP tunnel to search for and delete the IP tunnel using the IP tunnel table in the case of deletion of the tunnel as a result of the determination of the second step. It features.
한편, 본 발명을 실현시키기 위한 프로세서를 구비한 IP(Internet Protocol) 터널 관리 장치에, IP 터널 관리를 위한 IP 터널 테이블을 구축하는 제 1 기능; 이동 노드의 움직임에 따라, IP 터널의 추가/삭제 여부를 판단하는 제 2 기능; 상기 제 2 기능의 판단 결과, 터널의 추가인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 추가하려는 IP 터널의 존재 여부에 따라 IP 터널을 추가하는 제 3 기능; 및 상기 제 2 기능의 판단 결과, 터널의 삭제인 경우에, IP 터널을 상기 IP터널 테이블을 이용하여 탐색하고 삭제하려는 IP 터널의 존재 여부에 따라 IP 터널을 삭제하는 제 4 기능을 포함하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, IP (Internet Protocol) tunnel management device having a processor for realizing the present invention, the first function for building an IP tunnel table for IP tunnel management; A second function of determining whether to add / delete an IP tunnel according to the movement of the mobile node; A third function of searching for an IP tunnel using the IP tunnel table and adding an IP tunnel according to whether or not an IP tunnel to be added is added as a result of the determination of the second function; And a fourth function of deleting an IP tunnel according to the presence or absence of an IP tunnel to search for and delete an IP tunnel using the IP tunnel table when it is determined that the tunnel is deleted. Provide a computer-readable recording medium for recording.
상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1 은 본 발명이 적용되는 이동(Mobile) IP 서비스 시스템의 일실시예 구성도이다.1 is a configuration diagram of an embodiment of a mobile IP service system to which the present invention is applied.
이동 IP 서비스 시스템은 홈망(12)과 방문망(11), 그리고 대응 노드(Correspondent Host, 또는 Correspondent Node)(13)를 구비하며, 홈망(12)은 홈 에이전트(102)와 이동 노드(MN : Mobile Node)(101-1), 방문망(11)은 외부 에이전트(103)와 이동노드(101-2)를 구비한다.The mobile IP service system includes a home network 12, a visited network 11, and a corresponding node (Correspondent Host or Correspondent Node) 13, and the home network 12 includes a home agent 102 and a mobile node (MN): The mobile node 101-1 and the visited network 11 include an external agent 103 and a mobile node 101-2.
그 세부 동작을 살펴보면, 홈망(12)의 이동노드(101-1)는 자신이 속해 있는 홈망(12)의 홈 에이전트(102)에게서 서비스를 제공받는다. 이후, 새로운 망인 방문망(11)으로 사용자가 이동하면 이동된 방문망(11)의 이동 노드(101-2)는 외부 에이전트(103)로부터 서비스를 제공받는다. 이때, 방문망(11)의 이동 노드(101-2)는 홈망(12)의 이동노드(101-1)이 이동한 것이다.Looking at the detailed operation, the mobile node 101-1 of the home network 12 receives a service from the home agent 102 of the home network 12 to which it belongs. After that, when the user moves to the new visited network 11, the mobile node 101-2 of the moved visited network 11 receives a service from the external agent 103. At this time, the mobile node 101-2 of the visited network 11 is moved by the mobile node 101-1 of the home network 12.
이때, 제공되는 이동 IP 서비스는 이동노드(101-1, 101-2)가 인터넷 상의 호스트인 대응 노드(13)와의 통신이다.At this time, the provided mobile IP service is communication with the correspondent node 13 in which the mobile nodes 101-1 and 101-2 are hosts on the Internet.
방문망(11)의 이동노드(101-2)가 대응 노드(13)와 통신하기 위해서는 방문망(11)의 이동노드(101-2)로부터의 패킷은 방문망(11)의 외부 에이전트(103)를 통해 직접 전달되지만, 대응 노드(13)로부터의 패킷은 이동노드가 홈망(12)의 이동노드(101-1)의 위치에 있는 것처럼 홈망(12)의 홈 에이전트(102)를 통하여 전달되며, 홈 에이전트(102)는 이를 홈망의 홈 에이전트와 방문망의 외부 에이전트를 연결하는 터널을 통해 방문망의 외부 에이전트(103)로 전달한다. 상기의 패킷을 전달받은 방문망의 외부 에이전트(103)는 이 패킷의 터널을 위한 헤더를 제거하여 방문망의 이동노드(101-2)로 전달한다.In order for the mobile node 101-2 of the visited network 11 to communicate with the corresponding node 13, the packet from the mobile node 101-2 of the visited network 11 is transmitted to the external agent 103 of the visited network 11. Packet is transmitted through the home agent 102 of the home network 12 as though the mobile node is at the location of the mobile node 101-1 of the home network 12. The home agent 102 transmits it to the external agent 103 of the visited network through a tunnel connecting the home agent of the home network and the external agent of the visited network. The external agent 103 of the visited network receiving the packet removes the header for the tunnel of the packet and delivers it to the mobile node 101-2 of the visited network.
도 2 는 본 발명이 적용되는 IP 터널의 일실시예 데이터 구조도이다.2 is a diagram illustrating an example data structure of an IP tunnel to which the present invention is applied.
보통의 IP 패킷(21)은 사용자 데이터(212)와 IP 헤더(211)를 포함한다.Normal IP packet 21 includes user data 212 and IP header 211.
IP 헤더(211)의 착신지 IP 주소 정보를 보고 착신지까지 전달되는데, 실제 착신할 이동노드가 다른 곳에 있다면 그곳까지 터널링을 통해서 전달해야 한다.The destination IP address information of the IP header 211 is transmitted to the destination. If the mobile node to be actually received is located elsewhere, it should be delivered to the destination through tunneling.
이에 따라, 터널링에 이용되는 IP 패킷은 사용자 데이터(223)에 원래의 착신 IP 헤더인 내부 IP 헤더(222)가 있고, 그 이외에 새로운 착신지를 위한 IP 헤더인 외부 IP 헤더(221)를 추가한다.Accordingly, the IP packet used for tunneling has an internal IP header 222, which is the original destination IP header, in addition to the external IP header 221, which is an IP header for a new destination.
본 IP 터널의 구조를 도 1 에 적용해 보면, 내부 IP 헤더(222)는 방문망의 이동 노드(101-2)의 주소를 가지고, 외부 IP 헤더(221)는 방문망의 외부 에이전트(103)의 주소를 갖게 되며, 홈망의 홈 에이전트(102)가 터널링을 한다.Applying the structure of this IP tunnel to FIG. 1, the inner IP header 222 has the address of the mobile node 101-2 of the visited network, and the outer IP header 221 has the outer agent 103 of the visited network. The home agent 102 of the home network tunnels.
도 3 은 본 발명이 적용되는 이동(Mobile) IP 서비스의 IP 터널의 일실시예 동작 구조도이다.3 is a diagram illustrating an operation of an IP tunnel of a mobile IP service to which the present invention is applied.
도 3 에 도시된 바와 같이, 본 발명이 적용되는 이동(Mobile) IP 서비스의 IP 터널은 네트워크 계층인 IP 계층(31)과 데이터 링크 계층인 네트워크 정합 카드(32)와 터널 장치(33)를 포함한다.As shown in FIG. 3, the IP tunnel of the mobile IP service to which the present invention is applied includes an IP layer 31 which is a network layer, a network matching card 32 which is a data link layer, and a tunnel device 33. do.
그 동작을 좀 더 상세히 살펴보면, 터널이 없는 경우에는 IP 계층(31)과 네트워크 정합 카드(32)사이에 직접 IP 송수신이 일어난다(303, 304).Looking at the operation in more detail, if there is no tunnel, IP transmission and reception directly occurs between the IP layer 31 and the network matching card 32 (303, 304).
반면, 터널이 있는 경우에는, 데이터 링크 계층에 터널 장치(33)가 필요한데, 이 터널 장치(33)는 소프트웨어 장치로서 네트워크 정합 카드(32)와 같은 데이터 링크 계층에 위치하며, 상기 도 2 의 외부 IP 헤더(221)를 추가하는 캡슐화(encapsulation) 모듈(301)과 상기 도 2 의 외부 IP 헤더(221)를 제거하는 디캡슐화(decapsulation) 모듈(302)을 구비한다.On the other hand, if there is a tunnel, a tunnel device 33 is required at the data link layer, which is a software device located in the data link layer such as the network matching card 32, and is located outside of FIG. An encapsulation module 301 for adding the IP header 221 and a decapsulation module 302 for removing the external IP header 221 of FIG. 2.
보통, IP 계층(31)으로부터 네트워크 정합 카드(32)로 전달되는 패킷이나 상위 계층(34)으로부터 IP 계층으로 전달되는 패킷은 IP 계층(31)에서 루팅 정보를보고 터널링을 해야 한다고 판단되면, 통상의 IP를 캡슐화 모듈(301)로 보내(306) 외부 IP 헤더(221)가 추가된 IP in IP(305)로 만들고, 만들어진 IP in IP(305)를 네트워크 정합 카드(32)를 통해서(304) 다른 데이터 링크 계층인 네트워크 정합 카드로 전달한다.In general, when a packet forwarded from the IP layer 31 to the network matching card 32 or a packet forwarded from the upper layer 34 to the IP layer is determined to look at routing information at the IP layer 31 and tunneled, IP of IP 305 is sent to encapsulation module 301 to make IP in IP 305 with external IP header 221 added, and IP 305 is created via network matching card 32 (304). It is passed to the network matching card, which is another data link layer.
또한, 네트워크 정합 카드(32)를 통해서 IP 계층(31)으로 전달된 패킷이 IP 터널을 사용한 패킷으로써 상기 도 2 의 외부 IP 헤더(221)가 붙어있다면, 상기 패킷을 터널 장치내의 디캡슐화 모듈(302)로 전달하여(308) 상기 도 2 의 외부 IP 헤더(221)를 제거한 후 통상의 IP(307)로 IP 계층(31)으로 전달한다. IP 계층(31)은 상기 도 2 의 내부 IP 헤더(222)의 착신 주소에 따라 루팅정보를 참조하여, 네트워크 정합 카드(32)로 보내 외부로 보내거나, 직접 상부 계층(34)으로 전달한다.In addition, if the packet transmitted to the IP layer 31 through the network matching card 32 is an IP tunnel, and the external IP header 221 of FIG. 2 is attached, the packet is decapsulated in the tunnel device ( In step 302, the external IP header 221 of FIG. 2 is removed and then transferred to the IP layer 31 to the conventional IP 307. The IP layer 31 refers to routing information according to the destination address of the internal IP header 222 of FIG. 2 and sends the routing information to the network matching card 32 to the outside or directly to the upper layer 34.
도 4 는 본 발명이 적용되는 이동(Mobile) IP 서비스 시스템에서 이동 IP 서비스의 터널 연결에 대한 일실시예 구성도이다.4 is a diagram illustrating an embodiment of a tunnel connection of a mobile IP service in a mobile IP service system to which the present invention is applied.
도 4 에 도시된 바와 같이, 본 발명이 적용되는 이동 IP 서비스 시스템은 홈망(42)과 방문망(41), 그리고 대응 노드(43)를 구비한다.As shown in FIG. 4, the mobile IP service system to which the present invention is applied includes a home network 42, a visited network 41, and a corresponding node 43.
하나의 홈 망의 여러 이동 노드(401, 402)가 하나의 방문망(41)에 접속한 경우, 홈망의 홈 에이전트(404)와 방문망의 외부 에이전트(403)사이의 터널을 각각의 이동 노드(401, 402)에 대해 생성하는 종래의 방법과는 달리 본 발명에서는 처음에 생성된 하나의 터널을 이후에 방문한 이동 노드들이 이용한다.When several mobile nodes 401 and 402 of one home network connect to one visited network 41, each mobile node establishes a tunnel between the home agent 404 of the home network and the foreign agent 403 of the visited network. Unlike the conventional method of generating for 401 and 402, the present invention uses one tunnel initially created by the mobile nodes that have subsequently visited.
즉, 종래의 방법의 경우에는 방문한 이동 노드의 수만큼 터널이 생성되며, 본 발명의 경우에는 하나의 터널이 재사용된다. 이에 따라 종래의 방법은 각 이동노드가 현 방문망을 떠날 때마다 해당 터널을 지우지만, 본 발명의 경우에는 모든 이동 노드가 떠난 경우에 해당 터널을 지운다.That is, in the conventional method, as many tunnels are created as the number of mobile nodes visited, and in the present invention, one tunnel is reused. Accordingly, the conventional method deletes the corresponding tunnel whenever each mobile node leaves the current visit network, but in the present invention, the tunnel is deleted when all the mobile nodes have left.
도 5 는 본 발명이 적용되는 이동(Mobile) IP 서비스의 IP 터널의 다중 터널에 대한 일실시예 상세 구조도이다.FIG. 5 is a detailed structural diagram of an embodiment of multiple tunnels of an IP tunnel of a mobile IP service to which the present invention is applied.
도 5 에 도시된 바와 같이, 본 발명에 따른 터널 장치는 내부에 여러 개의 터널 장치를 다시 생성하여 가지는 다중 터널 장치이다.As shown in FIG. 5, the tunnel device according to the present invention is a multiple tunnel device having a plurality of tunnel devices regenerated therein.
각각의 터널 장치는 터널 시작을 나타내는 엔트리(entry)와 터널 종점을 나타내는 엑시트(exit), 그리고 해당 터널의 속성정보를 나타내는 속성값(attribute)을 갖는다.Each tunnel device has an entry indicating the start of the tunnel, an exit indicating the end point of the tunnel, and an attribute indicating the attribute information of the tunnel.
좀 더 상세히 살펴보면, 하나의 방문망과 하나의 홈망을 연결하는 터널을 이용하는 많은 이동 노드들이 있는 경우, 본 발명에서는 하나의 터널을 재사용한다. 따라서, 하나의 터널 장치 안에 각각의 이동 노드에 해당하는 같은 엔트리와 엑시트 값을 가지는 다수의 터널 장치를 형성하는 다중 터널 구조를 갖는다.In more detail, when there are many mobile nodes using tunnels connecting one visited network and one home network, the present invention reuses one tunnel. Thus, there is a multiple tunnel structure that forms multiple tunnel devices with the same entry and exit values corresponding to each mobile node in one tunnel device.
도 6a 내지 도 6b 는 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 사용되는 IP 터널 테이블의 일실시예 자료 구조도이다.6a to 6b is an embodiment data structure diagram of an IP tunnel table used in the IP tunnel management method for reusing an IP tunnel according to the present invention.
도 6a 에 도시된 바와 같이, 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 사용되는 IP 터널 테이블은, 인덱스 또는 해쉬 인덱스를 이용하는 경우(61), 해당 테이블에 포함된 전체 터널 요소의 수를 표시하는 카운트(count)(611) 및 상기 카운트 수만큼의 터널 요소(612)를 포함한다. 이때, 터널 테이블(61)의 각각의 층은 하나의 터널 요소(612)가 차지하게 된다.As shown in FIG. 6A, an IP tunnel table used in an IP tunnel management method for reusing an IP tunnel according to the present invention, when using an index or a hash index (61), of an entire tunnel element included in the table. A count 611 indicating the number and as many tunnel elements 612 as the count number. At this time, each layer of the tunnel table 61 is occupied by one tunnel element 612.
이 때, 각각의 터널 요소(612)는, 터널 시작을 나타내는 엔트리(entry)(613), 터널 종점을 나타내는 엑시트(exit)(614), 해당 터널을 사용하는 이동 노드의 수를 나타내는 사용값(usage)(615) 및 해당 터널의 명칭(name)(616)을 포함한다.At this time, each tunnel element 612 includes an entry 613 indicating the start of the tunnel, an exit 614 indicating the end point of the tunnel, and a usage value indicating the number of mobile nodes using the tunnel. usage) 615 and the name 616 of the tunnel.
또한, 도 6b 에 도시된 바와 같이, 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 사용되는 IP 터널 테이블은, 해쉬 포인터를 이용하는 경우(62), 해당 테이블에 포함된 전체 터널 요소의 수를 표시하는 카운트(count)(621) 및 상기 카운트 수만큼의 터널 요소(622)를 포함한다. 이때, 터널 테이블(62)의 각각의 층은 상기 인덱스 또는 해쉬 인덱스를 이용하는 경우와는 달리, 하나의 터널 요소(622)가 아니고 여러 개의 터널 요소(622)가 한 층에 위치한다. 각 층에 위치하는 터널 요소(622)의 수는 각기 다르다.In addition, as shown in Figure 6b, the IP tunnel table used in the IP tunnel management method for the reuse of the IP tunnel according to the present invention, when using a hash pointer (62), of the entire tunnel element included in the table A count 621 indicating the number and as many tunnel elements 622 as the count number. In this case, unlike the case of using the index or the hash index, each layer of the tunnel table 62 is not one tunnel element 622 but several tunnel elements 622 are located in one layer. The number of tunnel elements 622 located in each floor is different.
이 중, 각각의 터널 요소(622)는, 터널 시작을 나타내는 엔트리(entry)(623), 터널 종점을 나타내는 엑시트(exit)(624), 해당 터널을 사용하는 이동 노드의 수를 나타내는 사용값(usage)(625), 해당 터널의 명칭(name)(626) 및 병렬로 이루어진 터널 요소가 있는지를 나타내는 넥스트(next)(627)를 포함한다. 여기서, 병렬로 이루어진 터널 요소(622)라 함은 터널 테이블(62)의 한 층에 위치한 다른 터널 요소(622)를 의미한다.Each of the tunnel elements 622 includes an entry 623 indicating the start of the tunnel, an exit 624 indicating the end of the tunnel, and a usage value indicating the number of mobile nodes using the tunnel. usage 625, name 626 of the tunnel and next 627 indicating whether there is a tunnel element in parallel. Here, the tunnel element 622 in parallel means another tunnel element 622 located on one floor of the tunnel table 62.
도 4 의 이동 IP 서비스의 터널 연결에 대한 구성도와 도 6 의 터널 요소를 비교하면, 엔트리(613, 623)는 터널의 시작 주소로 도 4 의 경우처럼 홈 에이전트(404)를 중심으로 보는 경우에는 홈 에이전트(404)가 된다. 엑시트(614,624)는 터널의 종점으로 도 4 의 경우 외부 에이전트(403)이다.Comparing the configuration of the tunnel connection of the mobile IP service of FIG. 4 with the tunnel element of FIG. 6, the entries 613 and 623 are the starting addresses of the tunnels. Become a home agent 404. Exits 614 and 624 are endpoints of the tunnel and are foreign agents 403 in FIG. 4.
반면, 외부 에이전트(403)를 중심으로 보면, 엔트리(613, 623)는 외부 에이전트(403)가 되고, 엑시트(614, 624)는 홈 에이전트(404)가 된다.On the other hand, with respect to the external agent 403, the entries 613, 623 are the external agent 403, and the exits 614, 624 are the home agent 404.
도 4 에서 2개의 이동노드(401, 402)가 방문망(41)을 통해 연결되고, 터널 재사용에 의하여 이들의 홈망(42)에 대한 터널이 1개만 생성된 경우에, 터널에 대해 방문 노드의 수인 2가 도 6 의 터널 요소(612, 622) 중 사용값(usage)(615, 625)으로 기록되며, 터널의 이름이 명칭(616, 626)에 기술된다.In FIG. 4, when two mobile nodes 401 and 402 are connected through the visited network 41, and only one tunnel is created for their home network 42 by the tunnel reuse, the visited node for the tunnel The number 2 is recorded as the usage values 615 and 625 of the tunnel elements 612 and 622 of FIG. 6, and the names of the tunnels are described in the names 616 and 626.
도 7 은 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 대한 일실시예 동작 흐름도이다.7 is a flowchart illustrating an operation of an IP tunnel management method for reusing an IP tunnel according to the present invention.
본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리는 우선, 이동 노드의 움직임을 판단하여 터널의 추가/삭제 여부를 판단한다(700). 이동 노드가 방문하여 IP 터널을 추가시키는 과정인 경우에는(700) 먼저 추가할 IP 터널을 IP 터널 테이블을 이용하여 탐색한 후(701), 해당 IP 터널이 이미 존재하면(703) 해당 IP 터널의 터널 요소 중 사용값(usage)을 1 증가시키고(704) 해당 IP 터널을 사용한다. 반면, 해당 IP 터널이 없다면(703) 새로운 IP터널을 추가하고(705) 추가된 IP 터널의 터널 요소 중 사용값(usage)을 1 증가시키고(704) 해당 IP 터널을 사용한다.In the IP tunnel management for reusing an IP tunnel according to the present invention, first, the movement of a mobile node is determined to determine whether to add or delete a tunnel (700). When the mobile node visits and adds an IP tunnel (700), first, the IP tunnel to be added is searched using the IP tunnel table (701), and if the IP tunnel already exists (703), The usage of the tunnel elements is increased by 1 (704) and the corresponding IP tunnel is used. On the other hand, if there is no corresponding IP tunnel (703), a new IP tunnel is added (705), and the usage value (usage) of the tunnel elements of the added IP tunnel is increased by 1 (704) and the corresponding IP tunnel is used.
그리고, 이동 노드가 망을 떠나 IP 터널을 삭제하는 과정인 경우에는(700), 먼저 지우고자 하는 IP 터널이 있는지를 IP 터널 테이블을 이용하여 탐색한다(702).If the mobile node is in the process of deleting an IP tunnel leaving the network (700), it first searches whether there is an IP tunnel to be deleted using the IP tunnel table (702).
탐색 결과(702), 지우고자 하는 IP 터널이 없다면(706) 에러로처리되며(710), 지우고자 하는 IP 터널이 있는 경우는(706) 터널 요소의 사용값을 1 감소시키고 종료한다(707). 이때, 감소된 IP 터널의 사용값이 0이라면(708), 즉 해당 터널을 사용하는 이동 노드가 하나도 없다면, 해당 IP 터널을 삭제하고(709) 종료한다.As a result of the discovery (702), if there is no IP tunnel to be deleted (706), it is treated as an error (710), and if there is an IP tunnel to be deleted (706), the usage value of the tunnel element is decreased by one and terminated (707). . At this time, if the usage value of the reduced IP tunnel is 0 (708), that is, if no mobile node uses the tunnel, the IP tunnel is deleted (709) and terminates.
도 8a 내지 도8b는 본 발명에 따른 IP 터널의 재사용을 위한 IP 터널 관리 방법에 있어서, 터널 탐색 과정에 대한 일실시예 상세 흐름도이다.8A to 8B are detailed flowcharts illustrating a tunnel discovery process in the IP tunnel management method for reusing an IP tunnel according to the present invention.
우선, IP 터널을 찾기 위해서는 IP 터널이 해쉬인덱스에 의한 것인지 해쉬포인터에 의한 것인지를 판단한다(801). 판단 결과(801), 해쉬인덱스를 이용한 경우, 해당 IP 터널의 엔트리 값과 엑시트 값을 변수로 해쉬 함수를 호출하고, 그 결과를 i, j 값에 입력한다(802).First, to find an IP tunnel, it is determined whether the IP tunnel is based on a hash index or a hash pointer (801). In the determination result 801, when the hash index is used, the hash function is called with the entry value and the exit value of the corresponding IP tunnel, and the result is input to the i and j values (802).
그리고, IP 터널 테이블의 i번째 터널 요소가 0인지를 확인하여(803) 0이면 같은 것이 없는 것으로 간주하여 탐색 실패 처리하고(816) 종료한다.If it is determined that the i-th tunnel element of the IP tunnel table is 0 (803), if it is 0, it is regarded that there is no such thing and the process fails to search (816).
반면, IP 터널 테이블의 i번째 터널 요소가 0이 아니면(803), 해당 IP 터널과 같은 지를 비교하고(804), 같으면 IP 터널 테이블의 i번째 터널 요소를 검색 결과로 출력한다(815).On the other hand, if the i th tunnel element of the IP tunnel table is not 0 (803), it is compared with the corresponding IP tunnel (804), and if it is the same, the i th tunnel element of the IP tunnel table is output as a search result (815).
반면, IP 터널 테이블의 i번째 터널 요소가 해당 IP 터널과 같은 지를 비교하여(804) 같지 않으면 해쉬 함수의 전 범위 안에서 i값을 변화시켜(805 내지 808) 해당 IP 터널과 같은 IP 터널 테이블의 터널 요소를 찾고, 같은 터널 요소를 찾으면(804) 찾은 IP 터널 테이블의 터널 요소를 검색 결과로 출력하고(815) 찾지 못하면 같은 것이 없는 것으로 간주하여 탐색 실패 처리하고(816) 종료한다.On the other hand, if the i-th tunnel element of the IP tunnel table is equal to the corresponding IP tunnel (804), if it is not equal, the value of i is changed within the entire range of the hash function (805 to 808), so that the tunnel of the IP tunnel table is the same as the corresponding IP tunnel. If an element is found and the same tunnel element is found (804), the tunnel element of the found IP tunnel table is output as a search result (815).
또한, IP 터널을 찾기 위해서 IP 터널이 해쉬인덱스에 의한 것인지 해쉬포인터에 의한 것인지를 판단하여(801) 해쉬포인터를 이용한 경우, 해당 IP 터널의 엔트리 값과 엑시트 값을 변수로 해쉬 함수를 호출하고, 그 결과를 i값에 입력한다(809).In addition, in order to find an IP tunnel, the IP tunnel is determined by a hash index or a hash pointer (801). When the hash pointer is used, the hash function is called with the entry value and the exit value of the corresponding IP tunnel as variables. The result is input to the value i (809).
그리고, IP 터널 테이블의 i번째 터널 요소가 0인지를 확인하여(810) 0이면 같은 것이 없는 것으로 간주하여 탐색 실패 처리하고(816) 종료한다.If it is determined that the i-th tunnel element of the IP tunnel table is 0 (810), if it is 0, it is regarded as the same thing, and the search fails to process (816).
반면, IP 터널 테이블의 i번째 터널 요소가 0이 아니면(810), IP 터널 테이블의 i번째 터널 요소를 해쉬 포인터 p로 채용한다(811). 해쉬포인터(p)가 찾고자 하는 해당 IP 터널과 같은 지를 비교하여(812), 같으면 해쉬포인터 p를 검색결과로 출력하고(815), 다르면 해쉬포인터의 터널 요소 중 넥스트 값이 있는 지를 확인하여(813), 있으면 넥스트 값이 가리키는 터널 요소를 해쉬포인터로 하여(814) 해당 IP 터널과 같은 지를 비교는 과정(812)으로 진행하여 반복 수행하고, 없으면 같은 것이 없는 것으로 간주하여 탐색 실패 처리하고(816) 종료한다.On the other hand, if the i th tunnel element of the IP tunnel table is not 0 (810), the i th tunnel element of the IP tunnel table is employed as the hash pointer p (811). Comparing whether the hash pointer (p) is the same as the corresponding IP tunnel to be searched for (812), if it is equal, outputting the hash pointer p as a search result (815), and if different, checking whether there is a next value among the tunnel elements of the hash pointer (813). If there is a tunnel element indicated by the next value as a hash pointer (814), the process compares whether the IP tunnel is equal to the corresponding IP tunnel (step 812). Quit.
상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form.
이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.
상기한 바와 같은 본 발명은, 동일한 망에서 방문한 둘 이상의 가입자를 지원하기 위한 터널을 여러 개 생성하지 않도록 하여 시스템의 자원 관리를 효율적으로 할 수 있는 효과가 있다.As described above, the present invention has an effect of efficiently managing resource of a system by avoiding generation of multiple tunnels for supporting two or more subscribers visiting from the same network.
또한, 본 발명은, 터널 테이블과 터널 요소를 제시함으로써, 생성된 터널을 관리하여 사용자가 없을 시에는 터널을 삭제할 수 있도록 하여 시스템이 불필요한 자원을 소모하지 않도록 하는 효과가 있다.In addition, the present invention, by presenting the tunnel table and the tunnel element, it is possible to manage the generated tunnel to delete the tunnel when there is no user so that the system does not consume unnecessary resources.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2001-0040675A KR100377191B1 (en) | 2001-07-07 | 2001-07-07 | The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2001-0040675A KR100377191B1 (en) | 2001-07-07 | 2001-07-07 | The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20030004920A KR20030004920A (en) | 2003-01-15 |
| KR100377191B1 true KR100377191B1 (en) | 2003-03-26 |
Family
ID=27713899
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR10-2001-0040675A Expired - Fee Related KR100377191B1 (en) | 2001-07-07 | 2001-07-07 | The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR100377191B1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100825463B1 (en) * | 2005-10-07 | 2008-04-29 | 삼성전자주식회사 | Method and apparatus for communicating of UE in a wireless telecommunication system using IP address |
| KR100843184B1 (en) * | 2006-12-08 | 2008-07-02 | 한국전자통신연구원 | Optimal Path Selection Device and Method for Packet Transmission |
-
2001
- 2001-07-07 KR KR10-2001-0040675A patent/KR100377191B1/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| KR20030004920A (en) | 2003-01-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7626957B2 (en) | Home agent management apparatus and method | |
| JP6195014B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION METHOD, RELAY DEVICE, AND COMMUNICATION PROGRAM | |
| US20210250844A1 (en) | Routing management method and apparatus | |
| WO2020173424A1 (en) | Message processing method, and gateway device | |
| CN109981329A (en) | Determine the method, equipment and system of network equipment connection relationship | |
| CN101631075A (en) | Method for processing message and device thereof | |
| JP4971312B2 (en) | Terminal apparatus having handover function based on SCTP and handover method | |
| KR100377191B1 (en) | The Method of IP Tunnel Management for IP Tunnel Reuse in Mobile IP Service | |
| CN118869466A (en) | A configuration distribution method, device, equipment and storage medium | |
| WO2020029928A1 (en) | Method for establishing bgp session and sending interface address and alias, and network device | |
| CN113472625B (en) | Transparent bridging method, system, equipment and storage medium based on mobile internet | |
| JP4013920B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS OPERATION CONTROL METHOD, AND PROGRAM | |
| CN101616092B (en) | Method and device for route discovery | |
| EP4664851A1 (en) | Packet forwarding method, device and system | |
| KR100731229B1 (en) | Tunnel Management Method in Mobile IP Service | |
| CN115348111B (en) | A Centralized Connection Control Method for High Security Network | |
| WO2015100644A1 (en) | Method and apparatus for processing packet | |
| KR100416236B1 (en) | Method and system for providing communication | |
| JP5258442B2 (en) | ARP table management device | |
| CN101621473B (en) | Data communication method and network equipment | |
| KR100778348B1 (en) | Tunnel forwarding information establishment method in line card of IP6 router | |
| JP7166359B2 (en) | How network entity mobile event messages are propagated | |
| KR20070061420A (en) | Wireless communication system for distributing and managing service flow identifier and service flow identifier management method in system | |
| CN119071221A (en) | Seamless bidirectional forwarding detection path optimization method and system | |
| WO2025113091A1 (en) | Communication method, and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-3-3-R10-R13-asn-PN2301 St.27 status event code: A-3-3-R10-R11-asn-PN2301 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R14-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R14-asn-PN2301 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| FPAY | Annual fee payment |
Payment date: 20070308 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20080311 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20080311 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |