KR20110129557A - Method for updating the nat port mapping table, and terminal and system using it - Google Patents

Method for updating the nat port mapping table, and terminal and system using it Download PDF

Info

Publication number
KR20110129557A
KR20110129557A KR1020100048995A KR20100048995A KR20110129557A KR 20110129557 A KR20110129557 A KR 20110129557A KR 1020100048995 A KR1020100048995 A KR 1020100048995A KR 20100048995 A KR20100048995 A KR 20100048995A KR 20110129557 A KR20110129557 A KR 20110129557A
Authority
KR
South Korea
Prior art keywords
packet
service
update
transmitted
mapping table
Prior art date
Application number
KR1020100048995A
Other languages
Korean (ko)
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 KR1020100048995A priority Critical patent/KR20110129557A/en
Publication of KR20110129557A publication Critical patent/KR20110129557A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • 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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

PURPOSE: A method for updating a NAT(Network Address Translation) port mapping table, a terminal using the same, and a system thereof are provided to update the NAT port mapping table by using a service packet and an update packet. CONSTITUTION: A wireless communication unit(110) transmits a service packet for providing a specific service or update packet for updating an NAT port mapping table to an access point. A control unit(180) determines whether the service packet is transmitted at a second point within preset time from a first point to transmit the packet. The control unit transmits the update packet at the elapsed point of the preset time from the first or second point according to the transmission state of the service packet.

Description

NAT 포트 맵핑 테이블의 갱신 방법, 및 이를 이용한 단말기 및 시스템{ METHOD FOR UPDATING THE NAT PORT MAPPING TABLE, AND TERMINAL AND SYSTEM USING IT}METHODS FOR UPDATING THE NAT PORT MAPPING TABLE, AND TERMINAL AND SYSTEM USING IT}

본 발명은 NAT 포트 맵핑 테이블을 갱신하고 유지하는 방법 및 시스템에 관한 것이다.The present invention relates to a method and system for updating and maintaining a NAT port mapping table.

컴퓨팅 장치 및 네트워킹의 기술 발전은 다양한 정보 및 서비스로의 액세스를 용이하게 하여 실질적으로 세계 어느 곳에서도 액세스할 수 있도록 한다. 예를 들어, 네트워크에 액세스하기 위한 더 많은 통신 및 또는 컴퓨팅 장치를 가지게 됨에 따라 홈 네트워크가 점점 더 일반화되어 가고 있다.Technological advances in computing devices and networking have facilitated access to a variety of information and services, making them accessible from virtually anywhere in the world. For example, home networks are becoming more and more common as they have more communication and / or computing devices to access the network.

각각의 네트워크 장치에 대해서 개별 IP 주소를 등록하는 것에 비하여, 네트워크 주소 변환 (NAT : Network Address Translation) 이라 불리는 기술은 중계기 또는 라우터 뒤의 다수의 IP 노드가 하나의 공중 IP 주소를 공유할 수 있도록 한다.Compared to registering individual IP addresses for each network device, a technique called Network Address Translation (NAT) allows multiple IP nodes behind a repeater or router to share a public IP address. .

특정 패킷 서비스를 이용하려 하는 클라이언트 측에서 패킷 서비스를 이용하려면 클라이언트측의 사설 IP 와 중계기 또는 라우터의 외부 IP 를 맵핑시키는 NAT 포트 맵핑 테이블을 유지 또는 갱신할 필요성이 존재한다.To use a packet service on a client side that wants to use a particular packet service, there is a need to maintain or update a NAT port mapping table that maps a private IP on the client side and an external IP of a repeater or router.

NAT 를 이용하여 패킷 서비스를 이용하려는 단말기 측에서는 단말기의 내부 IP 를 NAT 포트 맵핑 테이블을 통해서 패킷 서비스에 대한 서버에 대한 외부 IP로 변환해야 한다. 그와 관련하여 패킷 서비스를 제공하기 위해서 NAT 포트 맵핑 테이블을 유지 또는 갱신해야 한다.On the terminal side to use packet service by using NAT, the internal IP of the terminal must be converted to the external IP to the server for the packet service through the NAT port mapping table. In that regard, the NAT port mapping table must be maintained or updated to provide packet services.

본 발명은 그에 따라 NAT 포트 맵핑 테이블을 주기적으로 갱신하는 갱신 패킷 및 서비스 제공을 위한 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 시스템 및 단말기를 제공하기 위한 것이다.The present invention provides a system and a terminal for updating a NAT port mapping table using an update packet for periodically updating the NAT port mapping table and a service packet for providing a service.

상기한 과제를 해결하기 위해서, 본 발명은 NAT(Network Address Translation) 포트 맵핑 테이블 갱신 시스템에 있어서, 특정 서비스 제공을 위한 서비스 패킷 및 NAT 포트 맵핑 테이블 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 송신하는 단말기, 및 상기 단말기로부터 상기 서비스 패킷 및 상기 갱신 패킷 중 적어도 하나를 수신하고, 상기 수신된 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 액세스 포인트를 포함하고, 상기 단말기는, 상기 패킷을 송신한 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는지에 따라 상기 제 1 및 제 2 시점 중 어느 하나의 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하는, 시스템을 제공한다.In order to solve the above problems, the present invention relates to a network address translation (NAT) port mapping table updating system, in which at least one of a service packet for providing a specific service and an update packet for updating a NAT port mapping table is selected from an access point. And an access point configured to receive at least one of the service packet and the update packet from the terminal, and to update a NAT port mapping table using the received packet. Transmitting the update packet at an elapsed time of the prescribed time from any one of the first and second time points according to whether the service packet was transmitted at a second time point within a prescribed time from the first time point of transmission To provide a system.

상기 시스템에서 상기 단말기는 상기 제 2 시점에서 상기 서비스 패킷을 송신하지 않은 경우 상기 제 1 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하고, 상기 제 2 시점에서 상기 서비스 패킷을 송신한 경우 상기 제 2 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하며, 상기 서비스 패킷의 송신이 없는 경우, 상기 갱신 패킷을 상기 규정된 시간 간격으로 주기적으로 송신한다.In the system, when the terminal does not transmit the service packet at the second time point, the terminal transmits the update packet at the elapsed time point of the prescribed time from the first time point, and transmits the service packet at the second time point. When the update packet is transmitted from the second time point, the update packet is transmitted. If there is no transmission of the service packet, the update packet is periodically transmitted at the prescribed time interval.

또한, 상기한 과제를 해결하기 위해서, 본 발명은 특정 서비스 제공을 위한 서비스 패킷 및 NAT 포트 맵핑 테이블 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 송신하는 이동 통신 모듈, 및 상기 패킷을 송신한 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는지를 판단하고 송신 여부에 따라 상기 제 1 및 제 2 시점 중 어느 하나의 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하도록 제어하는 제어부를 포함하는, 이동 단말기를 제공한다.In addition, in order to solve the above problems, the present invention provides a mobile communication module for transmitting at least one packet of a service packet for providing a specific service and an update packet for updating the NAT port mapping table, and transmitting the packet. It is determined whether the service packet has been transmitted at a second time point within a prescribed time from one first time point, and the update is made when the prescribed time elapses from any one of the first and second time points according to whether or not the service packet has been transmitted. It provides a mobile terminal, including a control unit for controlling to transmit a packet.

또한, 상기한 과제를 해결하기 위해서, 본 발명은 단말기가 특정 서비스 제공을 위한 서비스 패킷 및 NAT (Network Address Translation) 포트 맵핑 테이블의 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 제 1 시점에 송신하는 단계, 상기 패킷을 송신한 상기 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는 지를 판단하는 단계, 및 상기 판단 결과 상기 제 2 시점에서 상기 서비스 패킷을 송신하지 않은 경우 상기 제 1 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하고, 상기 제 2 시점에서 상기 서비스 패킷을 송신한 경우 상기 제 2 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하는 단계를 포함하는, NAT 포트 맵핑 테이블 갱신 방법을 제공한다.In addition, in order to solve the above problems, the present invention provides a terminal with at least one packet of a service packet for providing a specific service and an update packet for updating a network address translation (NAT) port mapping table. Determining whether the service packet was transmitted at a second time point within a prescribed time from the first time point at which the packet was transmitted, and as a result of the determination, not transmitting the service packet at the second time point. If not, the update packet is transmitted from the first time point at the elapse of the prescribed time, and when the service packet is transmitted at the second time point, the update packet at the elapsed time of the prescribed time from the second time point. It provides a NAT port mapping table update method comprising the step of transmitting a message.

본 발명에 따르면, 갱신을 위한 갱신 패킷 뿐만 아니라 서비스 제공을 위한 서비스 패킷을 이용해서도 NAT 포트 맵핑 테이블을 갱신할 수 있는 효과가 존재한다.According to the present invention, the NAT port mapping table can be updated by using not only an update packet for updating but also a service packet for providing a service.

단말기와 AP 사이의 송수신되는 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신할 수 있기 때문에, 주기적으로 갱신 패킷을 송신함에 따른 전력 소모 및 수명 단축을 방지할 수 있는 효과가 존재한다.Since the NAT port mapping table can be updated using service packets transmitted and received between the terminal and the AP, there is an effect of preventing power consumption and lifespan reduction due to periodic transmission of the update packet.

도 1은 본 발명의 일 실시예와 관련된 시스템의 블록 구성도 (block diagram).
도 2 는 본 발명의 일 실시예와 관련된 이동 단말기의 블록 구성도 (block diagram).
도 3은 본 발명의 일 실시예에 관련된 AP (Access Point) 의 블록 구성도.
도 4는 본 발명의 일 실시예와 관련된 NAT 포트 맵핑 테이블의 갱신 방법을 개략적으로 도시한 블록 구성도.
도 5는 본 발명의 일 실시예와 관련된 NAT 포트 맵핑 테이블의 갱신 방법의 개념을 도시한 도면.
도 6은 본 발명의 다른 실시예와 관련된 NAT 포트 맵핑 테이블의 갱신 방법의 개념을 도시한 도면.
도 7은 본 발명의 일 실시예와 관련된 NAT 포트 맵핑 테이블의 갱신 방법을 개략적으로 도시한 순서도.
1 is a block diagram of a system in accordance with an embodiment of the present invention.
2 is a block diagram of a mobile terminal according to an embodiment of the present invention.
3 is a block diagram of an access point (AP) according to an embodiment of the present invention.
4 is a block diagram schematically illustrating a method of updating a NAT port mapping table according to an embodiment of the present invention.
5 is a diagram illustrating a concept of a method of updating a NAT port mapping table according to an embodiment of the present invention.
6 is a diagram illustrating a concept of a method of updating a NAT port mapping table according to another embodiment of the present invention.
7 is a flowchart schematically illustrating a method of updating a NAT port mapping table according to an embodiment of the present invention.

이하, 본 발명과 관련된 시스템 및 이동 단말기에 대하여 도면을 참조하여 보다 상세하게 설명한다. 이하의 설명에서 사용되는 여러 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. Hereinafter, a system and a mobile terminal related to the present invention will be described in more detail with reference to the accompanying drawings. The suffixes "module" and "unit" for various components used in the following description are given or used in consideration of ease of specification, and do not have distinct meanings or roles.

도 1 은 본 발명과 관련된 시스템의 구조를 개략적으로 도시하는 도면이다.1 is a view schematically showing the structure of a system related to the present invention.

이동 단말기 (100) 는 갱신 패킷 또는 서비스 패킷 중 적어도 하나를 AP (200) 에 송신한다. AP (200) 는 갱신 패킷을 수신받은 경우 본 명세서에서 이하 설명되듯이 그 갱신 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 사용하고, 서비스 패킷을 수신받은 경우에는 해당 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하거나 또는 해당 서비스 패킷을 NAT 포트 맵핑 테이블을 통하여 변환하고 해당 패킷을 서버 (300) 로 송신한다. 서버 (300) 는 해당 패킷을 수신하고 그에 해당하는 상응하는 패킷을 다시 AP (200) 에 송신할 수 있다. 이를 통하여 단말기 (100) 는 희망하는 패킷 서비스를 이용할 수 있다.The mobile terminal 100 transmits at least one of an update packet or a service packet to the AP 200. When the AP 200 receives the update packet, the AP 200 uses the update packet to update the NAT port mapping table as described below. When the service packet is received, the AP 200 uses the corresponding service packet to map the NAT port. The table is updated or the service packet is converted through the NAT port mapping table and the packet is transmitted to the server 300. The server 300 may receive the packet and transmit the corresponding packet back to the AP 200. Through this, the terminal 100 can use a desired packet service.

이하에서는 시스템을 구성하는 단말기 (100) 및 AP (200) 의 구조에 대해서 살펴본다.Hereinafter, the structure of the terminal 100 and the AP 200 constituting the system will be described.

본 명세서에서 설명되는 단말기 (100) 에는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션 등이 포함될 수 있다. 그러나, 본 명세서에 기재된 실시예에 따른 구성은 이동 단말기에만 적용 가능한 경우를 제외하면, 디지털 TV, 데스크탑 컴퓨터 등과 같은 고정 단말기에도 적용될 수도 있음을 본 기술분야의 당업자라면 쉽게 알 수 있을 것이다.The terminal 100 described herein may include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), navigation, and the like. . However, it will be readily apparent to those skilled in the art that the configuration according to the embodiments described herein may also be applied to fixed terminals such as digital TVs, desktop computers, etc., except when applicable only to mobile terminals.

도 2는 본 발명과 관련된 이동 단말기의 블록 구성도(block diagram)이다.2 is a block diagram of a mobile terminal according to the present invention.

상기 이동 단말기(100)는 무선 통신부(110), A/V(Audio/Video) 입력부(120), 사용자 입력부(130), 센싱부(140), 출력부(150), 메모리(160), 인터페이스부(170), 제어부(180) 및 전원 공급부(190) 등을 포함할 수 있다. 도 1에 도시된 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 이동 단말기가 구현될 수도 있다.The mobile terminal 100 includes a wireless communication unit 110, an A / V input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, and an interface. The unit 170, the controller 180, and the power supply unit 190 may be included. The components shown in FIG. 1 are not essential, so that a mobile terminal having more or fewer components may be implemented.

이하, 상기 구성요소들에 대해 차례로 살펴본다.Hereinafter, the components will be described in order.

무선 통신부(110)는 이동 단말기(100)와 무선 통신 시스템 사이 또는 이동 단말기(100)와 이동 단말기(100)가 위치한 네트워크 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 예를 들어, 무선 통신부(110)는 방송 수신 모듈(111), 이동통신 모듈(112), 무선 인터넷 모듈(113), 근거리 통신 모듈(114) 및 위치정보 모듈(115) 등을 포함할 수 있다.The wireless communication unit 110 may include one or more modules that enable wireless communication between the mobile terminal 100 and the wireless communication system or between the mobile terminal 100 and a network in which the mobile terminal 100 is located. For example, the wireless communication unit 110 may include a broadcast receiving module 111, a mobile communication module 112, a wireless Internet module 113, a short range communication module 114, and a location information module 115 .

이동통신 모듈(112)은, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 상기 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다. The mobile communication module 112 transmits and receives a wireless signal with at least one of a base station, an external terminal, and a server on a mobile communication network. The wireless signal may include various types of data according to transmission and reception of a voice call signal, a video call call signal, or a text / multimedia message.

무선 인터넷 모듈(113)은 무선 인터넷 접속을 위한 모듈을 말하는 것으로, 이동 단말기(100)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WLAN(Wireless LAN)(Wi-Fi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access) 등이 이용될 수 있다. The wireless internet module 113 refers to a module for wireless internet access and may be embedded or external to the mobile terminal 100. Wireless Internet technologies may include Wireless LAN (Wi-Fi), Wireless Broadband (Wibro), World Interoperability for Microwave Access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.

메모리부(160)는 제어부(180)의 처리 및 제어를 위한 프로그램이 저장될 수도 있고, 입/출력되는 데이터들(예를 들어, 전화번호부, 메시지, 오디오, 정지영상, 동영상 등)의 임시 저장을 위한 기능을 수행할 수도 있다. 상기 메모리부(160)에는 상기 데이터들 각각에 대한 사용 빈도(예를 들면, 각 전화번호, 각 메시지, 각 멀티미디어에 대한 사용빈도)도 함께 저장될 수 있다. 또한, 상기 메모리부(160)에는 상기 터치스크린 상의 터치 입력시 출력되는 다양한 패턴의 진동 및 음향에 관한 데이터를 저장할 수 있다.The memory unit 160 may store a program for processing and controlling the controller 180, and temporarily stores input / output data (for example, a phone book, a message, an audio, a still image, a video, etc.). It can also perform a function for. The memory unit 160 may also store the frequency of use of each of the data (for example, each telephone number, each message, and frequency of use for each multimedia). In addition, the memory unit 160 may store data regarding vibration and sound of various patterns output when a touch input on the touch screen is performed.

메모리(160)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 이동 단말기(100)는 인터넷(internet)상에서 상기 메모리(160)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다.The memory 160 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), RAM (Random Access Memory, RAM), Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic Memory, Magnetic It may include a storage medium of at least one type of disk, optical disk. The mobile terminal 100 may operate in connection with a web storage that performs a storage function of the memory 160 on the Internet.

인터페이스부(170)는 이동 단말기(100)에 연결되는 모든 외부기기와의 통로 역할을 한다. 인터페이스부(170)는 외부 기기로부터 데이터를 전송받거나, 전원을 공급받아 이동 단말기(100) 내부의 각 구성 요소에 전달하거나, 이동 단말기(100) 내부의 데이터가 외부 기기로 전송되도록 한다. 예를 들어, 유/무선 헤드셋 포트, 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트, 오디오 I/O(Input/Output) 포트, 비디오 I/O(Input/Output) 포트, 이어폰 포트 등이 인터페이스부(170)에 포함될 수 있다. The interface unit 170 serves as a path with all external devices connected to the mobile terminal 100. The interface unit 170 receives data from an external device, receives power, transfers the power to each component inside the mobile terminal 100, or transmits data inside the mobile terminal 100 to an external device. For example, a wired / wireless headset port, an external charger port, a wired / wireless data port, a memory card port, a port for connecting a device having an identification module, an audio I / O port, A video input / output (I / O) port, an earphone port, and the like may be included in the interface unit 170.

제어부(controller, 180)는 통상적으로 이동 단말기의 전반적인 동작을 제어한다. 예를 들어 음성 통화, 데이터 통신, 화상 통화 등을 위한 관련된 제어 및 처리를 수행한다. 제어부(180)는 멀티 미디어 재생을 위한 멀티미디어 모듈(181)을 구비할 수도 있다. 멀티미디어 모듈(181)은 제어부(180) 내에 구현될 수도 있고, 제어부(180)와 별도로 구현될 수도 있다.The controller 180 typically controls the overall operation of the mobile terminal. For example, perform related control and processing for voice calls, data communications, video calls, and the like. The controller 180 may include a multimedia module 181 for playing multimedia. The multimedia module 181 may be implemented in the controller 180 or may be implemented separately from the controller 180.

상기 제어부(180)는 상기 터치스크린 상에서 행해지는 필기 입력 또는 그림 그리기 입력을 각각 문자 및 이미지로 인식할 수 있는 패턴 인식 처리를 행할 수 있다. The controller 180 may perform a pattern recognition process for recognizing a writing input or a drawing input performed on the touch screen as text and an image, respectively.

전원 공급부(190)는 제어부(180)의 제어에 의해 외부의 전원, 내부의 전원을 인가받아 각 구성요소들의 동작에 필요한 전원을 공급한다.The power supply unit 190 receives an external power source and an internal power source under the control of the controller 180 to supply power for operation of each component.

여기에 설명되는 다양한 실시예는 예를 들어, 소프트웨어, 하드웨어 또는 이들의 조합된 것을 이용하여 컴퓨터 또는 이와 유사한 장치로 읽을 수 있는 기록매체 내에서 구현될 수 있다.Various embodiments described herein may be implemented in a recording medium readable by a computer or similar device using, for example, software, hardware or a combination thereof.

하드웨어적인 구현에 의하면, 여기에 설명되는 실시예는 ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), PLDs (programmable logic devices), FPGAs (field programmable gate arrays, 프로세서(processors), 제어기(controllers), 마이크로 컨트롤러(micro-controllers), 마이크로 프로세서(microprocessors), 기타 기능 수행을 위한 전기적인 유닛 중 적어도 하나를 이용하여 구현될 수 있다. 일부의 경우에 본 명세서에서 설명되는 실시예들이 제어부(180) 자체로 구현될 수 있다.According to a hardware implementation, the embodiments described herein include application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), and the like. It may be implemented using at least one of processors, controllers, micro-controllers, microprocessors, and electrical units for performing other functions. The described embodiments may be implemented by the controller 180 itself.

소프트웨어적인 구현에 의하면, 본 명세서에서 설명되는 절차 및 기능과 같은 실시예들은 별도의 소프트웨어 모듈들로 구현될 수 있다. 상기 소프트웨어 모듈들 각각은 본 명세서에서 설명되는 하나 이상의 기능 및 작동을 수행할 수 있다. 적절한 프로그램 언어로 쓰여진 소프트웨어 어플리케이션으로 소프트웨어 코드가 구현될 수 있다. 상기 소프트웨어 코드는 메모리(160)에 저장되고, 제어부(180)에 의해 실행될 수 있다.According to the software implementation, embodiments such as the procedures and functions described herein may be implemented as separate software modules. Each of the software modules may perform one or more functions and operations described herein. Software code can be implemented in a software application written in a suitable programming language. The software code may be stored in the memory 160 and executed by the controller 180.

도 3 은 본 발명과 관련된 AP (Access Point : 액세스 포인트) 의 구조를 도시하는 블록도이다.3 is a block diagram illustrating a structure of an access point (AP) according to the present invention.

본 발명에서, AP 는 이동 단말기로부터 패킷을 수신받아서 해당 패킷을 NAT 포트 맵핑 테이블을 이용하여 변환하여 해당 패킷을 서버로 송신하는 역할을 한다.In the present invention, the AP receives a packet from the mobile terminal and converts the packet using a NAT port mapping table to transmit the packet to the server.

AP (200) 는 무선 통신 모듈 (210), 제어 모듈 (220) 및 메모리 (230) 를 포함한다.The AP 200 includes a wireless communication module 210, a control module 220 and a memory 230.

무선 통신 모듈 (210) 은 이동 단말기 (100) 로부터 패킷을 수신받으며 해당 패킷을 서버로 송신하는 역할을 한다. 제어 모듈 (220) 은 수신된 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하며, 해당 NAT 포트 맵핑 테이블을 이용하여 패킷을 변환하도록 제어하는 역할을 한다. 메모리 (230) 는 특정 서버에 대한 NAT 포트 맵핑 테이블을 저장하는 역할을 한다.The wireless communication module 210 receives a packet from the mobile terminal 100 and transmits the packet to the server. The control module 220 updates the NAT port mapping table using the received packet and controls to convert the packet using the corresponding NAT port mapping table. The memory 230 is responsible for storing a NAT port mapping table for a particular server.

이러한 AP 의 구성 요소는 예시적인 것이며 필요에 따라 다른 구성요소를 포함할 수도 있다.The components of such an AP are exemplary and may include other components as necessary.

이하에서는 NAT (Network Address Translation) 및 NAT 포트 맵핑 테이블에 대해서 설명한다.Hereinafter, a network address translation (NAT) and a NAT port mapping table will be described.

NAT 는 개인 네트워크에서 여러 PC 또는 장치가 전역적으로 라우팅 가능한 단일 IP 주소를 공유할 수 있도록 하기 위해 사용되는 IETF(Internet Engineering Task Force) 표준이다. 개인 네트워크에서 NAT를 사용할 경우 개인 네트워크 외부의 모든 호스트는 공유된 하나의 IP 주소를 통해 통신을 하기 때문에 네트워크 계층 문제가 발생할 수 있다. NAT가 방화벽이나 프록시 서버와 동일한 것은 아니지만, 네트워크를 보호하는 역할도 수행한다.NAT is an Internet Engineering Task Force (IETF) standard used to enable multiple PCs or devices to share a single, globally routable IP address on a private network. Using NAT in a private network can cause network layer problems because all hosts outside the private network communicate through a single, shared IP address. NAT is not the same as a firewall or proxy server, but it also protects the network.

NAT 에 관련된 단말기 (100) 는 일반적으로 DHCP (Dynamic Host Configuration Protocol) 또는 관리자에 의한 정적 구성을 통해서 개인 IP 주소를 할당받는다. 이러한 개인 네트워크의 외부에서 통신이 발생할 경우에는 이동 단말기 (100) 는 다음과 같은 작업이 수행된다.The terminal 100 related to NAT is generally assigned a private IP address through Dynamic Host Configuration Protocol (DHCP) or static configuration by an administrator. When the communication occurs outside the private network, the mobile terminal 100 performs the following tasks.

단말기 (100) 측에서 서버 (300) 로 패킷을 송신하는 업 스트림 과정은 다음과 같다.The upstream process of transmitting a packet from the terminal 100 to the server 300 is as follows.

서비스 프로그램이 서버 (300) 와 통신을 시도할 경우에, 소스 IP, 소스 포트, 대상 IP 주소, 대상 포트 및 네트워크 프로토콜과 연관된 소켓을 개방한다. 이 과정을 통하여 통신의 시작점과 종결점을 확인하게 된다. 서비스 프로그램이 소켓을 이용하여 정보를 송신하면, 단말기 (100) 의 개인 IP 주소 (소스 IP 주소) 와 포트 (소스 포트) 가 패킷의 소스 필드에 삽입된다. 이러한 패킷은 개인 네트워크 외부의 목표 지점에 도달해야 하므로 단말기 (100) 가 이 패킷을 지정된 기본 게이트 웨이로 전달된다. 기본 게이트 웨이는 NAT 장치로써, 본 발명에서는 AP (200) 에 해당된다.When the service program attempts to communicate with the server 300, it opens a socket associated with the source IP, source port, destination IP address, destination port and network protocol. This process identifies the starting and ending points of communication. When the service program transmits the information using the socket, the personal IP address (source IP address) and port (source port) of the terminal 100 are inserted into the source field of the packet. Since these packets must reach the target point outside the private network, the terminal 100 forwards these packets to the designated default gateway. The default gateway is a NAT device, which corresponds to the AP 200 in the present invention.

해당 단말기 (100) 측에서 NAT 장치 즉, AP (200) 로 송신된 패킷이 NAT 장치에서 발생하는 과정은 다음과 같다.The process of generating a packet transmitted from the NAT device, that is, the AP 200 at the terminal 100, in the NAT device is as follows.

NAT 장치에서는 송신된 패킷을 수신하고 대상 IP 주소 (서버), 대상 포트, NAT 장치의 외부 IP 주소, 외부 포트, 네트워크 프로토콜 및 단말기의 내부 IP 주소와 포트를 사용하여 포트 맵핑을 만든다. NAT 장치는 이러한 포트 맵핑을 테이블에 저장하여 이 맵핑 테이블을 관리한다. 이러한 맵핑 테이블을 NAT 포트 맵핑 테이블이라고 한다. 외부 IP 주소와 포트는 내부 클라이언트의 IP 주소와 포트 대신 이 데이터 트래픽에 대해서 사용되는 공용 IP 주소와 포트이다.The NAT device receives the transmitted packet and creates a port mapping using the destination IP address (server), destination port, NAT device's external IP address, external port, network protocol, and terminal's internal IP address and port. The NAT device manages this mapping table by storing these port mappings in a table. This mapping table is called the NAT port mapping table. The external IP address and port are the public IP address and port used for this data traffic instead of the internal client's IP address and port.

그러면, NAT 장치가 단말기의 개인, 내부 IP 주소와 포트에서의 패킷 소스 필드를 NAT 장치의 공용, 외부 IP 주소와 포트로 바꾸어 패킷을 변환한다. 외부 IP 주소와 포트로 변환된 패킷은 해당되는 주소의 서버로 도달한다.The NAT device then converts the packet by replacing the packet source fields in the terminal's private, internal IP address and port with the public, external IP address and port of the NAT device. Packets translated to external IP addresses and ports arrive at the server at that address.

도 4 는 NAT 포트 맵핑 테이블을 통하여 패킷을 송신하는 과정을 개략적으로 도시한 도면이다.4 is a diagram schematically illustrating a process of transmitting a packet through a NAT port mapping table.

단말기 (100) 는 패킷에 자신의 소스 IP 주소 (10.0.0.2) 및 소스 포트 번호 (3123), 목적지인 서버 (300) 의 대상 IP 주소 (143.23.0.4) 및 대상 포트 번호 (80), 게이트 웨이에 해당되는 AP (200) 의 주소 (10.0.0.1) 를 패킷에 삽입한다. 이동 단말기는 해당 AP (200) 로 패킷을 송신한다.Terminal 100 has its source IP address (10.0.0.2) and source port number (3123), destination IP address (143.23.0.4) and destination port number (80) of destination server 300 in the packet, gateway The address (10.0.0.1) of the AP 200 corresponding to the packet is inserted. The mobile terminal transmits a packet to the corresponding AP 200.

NAT 장치인 AP (200) 는 수신된 패킷을 이용하여 NAT 포트 맵핑 테이블을 설정한다. 대상 IP 주소, 대상 포트, NAT 장치의 외부 IP 주소, 외부 포트, 단말기의 내부 IP 주소와 포트를 사용하여 NAT 포트 맵핑 테이블을 설정한다.The AP 200, which is a NAT device, sets up a NAT port mapping table using the received packet. Set up the NAT port mapping table with the destination IP address, destination port, NAT device's external IP address, external port, and terminal's internal IP address and port.

포트 맵핑을 통하여 변환된 패킷은 소스 IP 가 NAT 장치인 AP (200) 의 외부 IP 주소 (157.55.1.10) 로 바뀌어 서버 (300) 로 송신된다.The packet converted through the port mapping is transmitted to the server 300 by changing the external IP address (157.55.1.10) of the AP 200 whose source IP is a NAT device.

서버 (300) 측에서 단말기 (100) 측으로 패킷을 송신하는 다운 스트림 과정은 다음과 같다.The downstream process of transmitting a packet from the server 300 side to the terminal 100 side is as follows.

서버 (300) 에서 패킷을 수신하면, 서버 (300) 는 라우팅 가능한 IP 주소를 가진 단일한 기기와 통신하고 있는 것으로 인식할 수 있다. 그러면 서버 (300) 는 소스 필드에 자신의 IP 주소와 포트를 사용하여 NAT 장치의 외부 IP 주소와 포트로 응답 패킷을 송신한다.Upon receiving the packet at server 300, server 300 may recognize that it is communicating with a single device having a routable IP address. The server 300 then sends a response packet to the external IP address and port of the NAT device using its IP address and port in the source field.

서버 (300) 로부터 NAT 장치 (200) 로 수신된 패킷은 NAT 장치 (200) 에서 수신받아 상기 NAT 포트 맵핑 테이블과 비교한다. NAT 장치 (200) 에서 수신된 패킷의 소스 IP 주소와 소스 포트, 대상 포트 및 네트워크 프로토콜이 포트 맵핑의 원격 호스트 IP 주소, 원격 포트, 외부 포트 및 네트워크 프로토콜과 일치하는 포트 맵핑을 찾는다. 찾아진 포트 맵핑을 찾은 경우 역변환을 수행한다. NAT 장치인 AP (200) 는 패킷 대상 필드의 외부 IP 주소와 외부 포트를 단말기 (100) 의 개인 IP 주소와 내부 포트로 변환한다.The packet received from the server 300 to the NAT device 200 is received by the NAT device 200 and compared with the NAT port mapping table. The source IP address and source port, destination port, and network protocol of the packet received at the NAT device 200 find a port mapping that matches the remote host IP address, remote port, external port, and network protocol of the port mapping. If you find a found port mapping, perform an inverse transformation. The AP 200, which is a NAT device, converts an external IP address and an external port of a packet target field into a private IP address and an internal port of the terminal 100.

NAT 장치 (200) 는 변환된 패킷을 내부 네트워크를 통해서 해당 단말기 (100) 측에 송신한다. 하지만, NAT 장치인 AP (200) 가 일치하는 포트 맵핑을 찾지 못한 경우 송신하는 패킷은 없어지고 연결은 끊어진다.The NAT device 200 transmits the converted packet to the terminal 100 side through the internal network. However, if the AP 200, which is a NAT device, does not find a matching port mapping, the packet to be transmitted is lost and the connection is lost.

이러한 위험성 때문에 영상 통화나 FMC (Fixed Mobile Convergence) 서비스와 같은 패킷 서비스의 경우에 이동 단말기 (100) 와 NAT 장치 (200) 사이에서는 적절한 포트 맵핑을 위한 포트 맵핑 테이블이 유지되고 갱신될 필요성이 존재한다.Due to this risk, there is a need to maintain and update the port mapping table for proper port mapping between the mobile terminal 100 and the NAT device 200 in the case of a video call or a packet service such as a fixed mobile convergence (FMC) service. .

NAT 시스템의 장점은 단말기 측에서 별도의 작업을 하지 않고도 개인 IP 주소로 전세계 인터넷을 통해서 통신할 수 있다는 점이다. 즉, 응용 서비스 프로그램에서 별도의 API 를 호출하지 않아도 되며 단말기 (100) 가 별도의 구성을 수행하지 않아도 된다. 또한, 단말기 (100) 가 별도의 구성을 수행하지 않아도 된다. 이 경우에 NAT 는 단말기 (100) 와 서버 응용 서비스 프로그램 모두에게 투명하고 순조롭게 이루어진다.The advantage of the NAT system is that it can communicate over the Internet with a private IP address without any additional work on the terminal side. That is, the application service program does not need to call a separate API and the terminal 100 does not need to perform a separate configuration. In addition, the terminal 100 does not need to perform a separate configuration. In this case, NAT is transparent and smooth to both the terminal 100 and the server application service program.

이동 단말기 (100) 가 영상 통화나 FMC 통화와 같은 특정 서비스를 제공받기를 원한다면 해당 서비스에 대한 서버와의 연결이 요구된다. 접속한 이동 단말기 (100) 의 정보로서 네트워크의 해당 서버 (300) 가 이동 단말기 (100) 로 패킷을 전달하려고 하는 경우에 해당 이동 단말기 (100) 로 정확히 패킷을 전달할 수 있는 정보가 필요하다. 이와 관련하여 서버 (300) 로부터의 패킷에 삽입된 IP 주소를 상기 설명한 NAT 포트 맵핑 테이블을 통해서 정확히 변환하여 원하는 이동 단말기 (100) 로 패킷을 송신한다.If the mobile terminal 100 wants to receive a specific service such as a video call or an FMC call, a connection with a server for the service is required. As the information of the connected mobile terminal 100, when the corresponding server 300 of the network attempts to deliver the packet to the mobile terminal 100, information capable of correctly delivering the packet to the mobile terminal 100 is required. In this regard, the IP address inserted into the packet from the server 300 is accurately converted through the NAT port mapping table described above, and the packet is transmitted to the desired mobile terminal 100.

따라서, 영상 통화나 FMC 와 같은 특정 패킷 서비스를 제공받기를 원하는 경우에는 NAT 포트 맵핑 테이블이 항상 정확하게 갱신되고 유지되어야 원하는 서비스를 제공받게 된다.Therefore, when a specific packet service such as a video call or an FMC is desired, the NAT port mapping table must be updated and maintained at all times to provide the desired service.

이하에서는 갱신 패킷 또는 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 방법을 설명한다.Hereinafter, a method of updating a NAT port mapping table using an update packet or a service packet will be described.

먼저, 갱신 패킷 및 서비스 패킷에 대해서 간략하게 설명한다.First, the update packet and the service packet will be briefly described.

본 명세서에서 설명되는 갱신 패킷이란 NAT 포트 맵핑 테이블을 갱신하기 위해서 이동 단말기 (100) 로부터 AP (200) 로 송신되는 패킷을 의미한다. 또한, 서비스 패킷이란 영상 통화 또는 FMC 와 같은 패킷 서비스를 송수신 받기 위한 패킷을 의미한다. 따라서, 이동 단말기 (100) 를 통하여 FMC 통화를 위한 FMC 통화 패킷을 송신한 것은 서비스 패킷을 송신한 것을 의미한다.The update packet described herein refers to a packet transmitted from the mobile terminal 100 to the AP 200 in order to update the NAT port mapping table. In addition, the service packet refers to a packet for transmitting and receiving a packet service such as a video call or FMC. Therefore, transmitting the FMC call packet for the FMC call through the mobile terminal 100 means transmitting the service packet.

서비스 패킷 및 갱신 패킷은 모두 UDP 패킷이다. UDP 패킷은 Source Port, Destination Port, Length, Checksum, Data 부분으로 구성된다. 따라서, 서비스 패킷이나 갱신 패킷은 일반적인 구성의 차이는 존재하지 않는다. Both service packets and update packets are UDP packets. UDP packet consists of Source Port, Destination Port, Length, Checksum and Data. Therefore, there is no general configuration difference between the service packet and the update packet.

다만, 서비스 패킷과 갱신 패킷은 그 목적이 다른 패킷이다. 서비스 패킷은 서비스를 송수신받기 위한 것이며, 갱신 패킷은 NAT 포트 맵핑 테이블의 갱신을 위한 것이다. 따라서, 그 목적의 차이에 따라서 UDP 패킷의 구성 부분 중 Data 부분에서 차이가 존재한다. 즉, 서비스 패킷은 그 서비스를 위한 데이터가 Data 부분에 포함된다. 하지만, 갱신 패킷은 갱신을 위한 내용이 Data 부분에 포함된다.However, service packets and update packets are packets whose purpose is different. The service packet is for sending and receiving services, and the update packet is for updating the NAT port mapping table. Therefore, there is a difference in the data portion of the constituent portion of the UDP packet according to the difference in the purpose. That is, a service packet includes data for the service in the data portion. However, in the update packet, contents for updating are included in the data portion.

도 5 는 갱신 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 방법을 도시한 도면이다.5 is a diagram illustrating a method of updating a NAT port mapping table using an update packet.

도 5 에서 도시된 NAT 포트 맵핑 테이블의 갱신 방법은 NAT 포트 맵핑 테이블을 유지하기 위해서 일정한 주기로 이동 단말기 (100) 에서 AP 로 갱신 패킷을 송신하는 방법이다. The update method of the NAT port mapping table shown in FIG. 5 is a method of transmitting an update packet from the mobile terminal 100 to the AP at regular intervals in order to maintain the NAT port mapping table.

도면에서 도시된 바와 같이, 일정한 주기 (도면에서는 45 초) 로 갱신 패킷을 송신한다. 45 초는 예시적인 것이며 이에 국한되지는 않는다. 단말기 (100) 의 무선 통신부 (110) 이 갱신 패킷을 송신하면 AP (200) 의 무선 통신 모듈 (210) 이 이를 수신한다. AP (200) 의 제어 모듈 (220) 은 수신된 갱신 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신한다.As shown in the figure, an update packet is transmitted at a constant period (45 seconds in the figure). 45 seconds is exemplary and not limited. When the wireless communication unit 110 of the terminal 100 transmits an update packet, the wireless communication module 210 of the AP 200 receives it. The control module 220 of the AP 200 updates the NAT port mapping table using the received update packet.

AP (200) 의 제어 모듈 (220) 은 갱신 패킷의 소스 IP 주소 및 포트, 대상 IP 주소 및 포트, 단말기 (100) 의 내부 IP 주소를 이용하여 NAT 포트 맵핑 테이블을 갱신한다. 이를 통하여 AP (200) 내에 저장된 NAT 포트 맵핑 테이블은 갱신되고 관련된 서비스에 접속이 가능하다.The control module 220 of the AP 200 updates the NAT port mapping table using the source IP address and port of the update packet, the target IP address and port, and the internal IP address of the terminal 100. Through this, the NAT port mapping table stored in the AP 200 is updated and can access a related service.

도면을 살펴보면, 단말기 (100) 의 무선 통신부 (110) 를 통하여 제 1 갱신 패킷 (501) 을 송신한다. 제 1 갱신 패킷 (501) 은 AP (200) 의 무선 통신 모듈 (210) 을 통하여 수신되며 AP (200) 의 제어 모듈 (220) 은 상기 제 1 갱신 패킷 (501) 을 이용하여 NAT 포트 맵핑 테이블을 갱신한다. 이후 갱신 주기인 45 초 이후에 단말기 (100) 의 제어부 (180) 는 제 2 갱신 패킷 (503) 을 송신하도록 무선 통신부 (110) 를 제어한다. 송신된 제 2 갱신 패킷 (503) 은 AP (200) 로 수신되며, AP (200) 의 제어 모듈 (220) 은 제 2 갱신 패킷 (503) 을 이용하여 NAT 포트 맵핑 테이블을 재갱신한다. 이후 제 2 갱신 패킷 (503) 을 송신한 후 45 초 이후에 제 3 갱신 패킷 (504) 를 송신하며 다시 NAT 포트 맵핑 테이블이 갱신된다. 이러한 과정은 반복되며, 이러한 과정이 중지되면 해당 서비스 연결이 끊어진다.Referring to the drawings, the first update packet 501 is transmitted through the wireless communication unit 110 of the terminal 100. The first update packet 501 is received via the wireless communication module 210 of the AP 200 and the control module 220 of the AP 200 uses the first update packet 501 to generate a NAT port mapping table. Update After the 45 second update period, the controller 180 of the terminal 100 controls the wireless communication unit 110 to transmit the second update packet 503. The transmitted second update packet 503 is received by the AP 200, and the control module 220 of the AP 200 re-updates the NAT port mapping table using the second update packet 503. Thereafter, after transmitting the second update packet 503, the third update packet 504 is transmitted 45 seconds later, and the NAT port mapping table is updated again. This process is repeated. If this process is stopped, the service is disconnected.

도면에서 제 1 갱신 패킷 (501) 과 제 2 갱신 패킷 (503) 사이에 서비스 패킷인 FMC 통화 패킷 (502) 이 송신된다. 하지만, 여기에서 FMC 통화 패킷 (502) 은 NAT 포트 맵핑 테이블을 갱신시키지 않는다. FMC 통화 패킷 (502) 은 NAT 포트 맵핑 테이블을 통하여 변환되어 서버 (300) 로 송신된다.In the figure, an FMC call packet 502 which is a service packet is transmitted between the first update packet 501 and the second update packet 503. However, here the FMC call packet 502 does not update the NAT port mapping table. The FMC call packet 502 is translated through the NAT port mapping table and sent to the server 300.

이러한 과정을 통하여 갱신 패킷을 주기적으로 송신하여 이를 이용하여 NAT 포트 맵핑 테이블을 갱신한다.Through this process, the update packet is periodically transmitted and the NAT port mapping table is updated using the update packet.

도 6 은 갱신 패킷 및 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 방법을 도시한 도면이다.6 is a diagram illustrating a method of updating a NAT port mapping table using an update packet and a service packet.

도 6 에서 도시된 NAT 포트 맵핑 테이블의 갱신 방법은 NAT 포트 맵핑 테이블을 유지하기 위해서 갱신 패킷 뿐만 아니라 서비스 패킷을 이용하는 방법이다.The update method of the NAT port mapping table shown in FIG. 6 uses a service packet as well as an update packet to maintain a NAT port mapping table.

상기 도 5 와 관련하여 설명된 바와 같이, 단말기 (100) 의 무선 통신부 (110) 는 갱신 패킷 및 서비스 패킷을 송신한다. 송신된 상기 패킷들은 AP (200) 의 무선 통신 모듈 (210) 을 통하여 수신된다. AP (200) 의 제어 모듈 (220) 은 수신한 패킷들을 이용하여 NAT 포트 맵핑 테이블을 갱신한다. 즉, AP (200) 의 제어 모듈 (220) 은 패킷의 소스 IP 주소 및 포트, 대상 IP 주소 및 포트, 단말기 (100) 의 내부 IP 주소를 이용하여 NAT 포트 맵핑 테이블을 갱신한다. 이를 통하여 AP (200) 내에 저장된 NAT 포트 맵핑 테이블은 갱신되고 관련된 서비스에 접속이 가능하다.As described with reference to FIG. 5, the wireless communication unit 110 of the terminal 100 transmits an update packet and a service packet. The transmitted packets are received via the wireless communication module 210 of the AP 200. The control module 220 of the AP 200 updates the NAT port mapping table using the received packets. That is, the control module 220 of the AP 200 updates the NAT port mapping table using the source IP address and port of the packet, the destination IP address and port, and the internal IP address of the terminal 100. Through this, the NAT port mapping table stored in the AP 200 is updated and can access a related service.

도면과 관련하여 살펴보면, 단말기 (100) 의 무선 통신부 (110) 는 제 1 갱신 패킷 (610) 을 송신한다. 송신된 제 1 갱신 패킷 (610) 은 AP (200) 의 무선 통신 모듈 (210) 을 통하여 수신된다. AP (200) 의 제어 모듈 (220) 은 수신된 제 1 갱신 패킷 (610) 을 이용하여 NAT 포트 맵핑 테이블을 갱신 또는 설정한다. 도면에서는 NAT 포트 맵핑 테이블이 갱신되는 것만이 도시되어 있으나, AP (200) 로 수신된 갱신 패킷 또는 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블이 갱신 또는 설정되는 경우에도 과정은 동일하다.Referring to the drawings, the wireless communication unit 110 of the terminal 100 transmits the first update packet 610. The transmitted first update packet 610 is received via the wireless communication module 210 of the AP 200. The control module 220 of the AP 200 updates or sets the NAT port mapping table using the received first update packet 610. Although only the NAT port mapping table is updated in the figure, the process is the same when the NAT port mapping table is updated or configured by using an update packet or a service packet received by the AP 200.

제 1 갱신 패킷 (610) 에 의해서 NAT 포트 맵핑 테이블이 갱신된 이후에 갱신 패킷이 송신되는 일정한 주기 (도면에서는 45초) 가 경과되기 이전에 서비스 패킷 (612) 이 단말기 (100) 의 무선 통신부 (110) 에 의해서 송신된다. After the NAT port mapping table is updated by the first update packet 610 and before a certain period of time (45 seconds in the drawing) of the update packet is transmitted, the service packet 612 is connected to the wireless communication unit of the terminal 100. 110).

본 실시예는 갱신 패킷 뿐만 아니라 서비스 패킷에 의해서 NAT 포트 맵핑 테이블이 갱신될 수 있다. 따라서 서비스 패킷인 FMC 통화 패킷 (612) 은 단말기 (100) 로부터 송신되어 AP (200) 로 수신된다. AP (200) 의 제어 모듈 (220) 은 수신된 FMC 통화 패킷 (612) 을 이용하여 NAT 포트 맵핑 테이블을 갱신한다. In the present embodiment, the NAT port mapping table may be updated not only by the update packet but also by the service packet. Therefore, the FMC call packet 612, which is a service packet, is transmitted from the terminal 100 and received by the AP 200. The control module 220 of the AP 200 updates the NAT port mapping table using the received FMC call packet 612.

서비스 패킷에 의해서 NAT 포트 맵핑 테이블이 갱신된 경우에, 갱신 패킷의 주기가 경과된 이후에 송신되어야 할 제 2 갱신 패킷 (614) 은 송신하지 않는다. 따라서, 단말기 (100) 의 제어부 (180) 는 갱신 패킷 또는 서비스 패킷의 송신 여부를 판단하며, 서비스 패킷이 송신된 경우에는 갱신 패킷을 송신하지 않는다. When the NAT port mapping table is updated by the service packet, the second update packet 614 which is to be transmitted after the period of the update packet has elapsed is not transmitted. Therefore, the controller 180 of the terminal 100 determines whether to transmit the update packet or the service packet, and does not transmit the update packet when the service packet is transmitted.

단말기 (100) 의 제어부 (180) 는 다음의 갱신 패킷의 송신 시점을 바로 직전의 갱신 패킷의 송신 시점이 아니라 NAT 포트 맵핑 테이블이 갱신된 시점부터 기산한다. 즉, 갱신 패킷을 송신한 이후에 서비스 패킷의 송신이 없는 경우에는 그로부터 갱신 주기가 경과한 시점에 다음 갱신 패킷을 송신하며, 서비스 패킷의 송신이 있는 경우에는 서비스 패킷의 송신 시점부터 다시 기산하여 갱신 주기가 경과한 시점에 다음 갱신 패킷을 송신한다.The controller 180 of the terminal 100 calculates the transmission time of the next update packet not from the transmission time of the immediately previous update packet, but from the time when the NAT port mapping table is updated. In other words, if there is no service packet transmission after the update packet is transmitted, the next update packet is transmitted when the update cycle has elapsed therefrom. When the period elapses, the next update packet is transmitted.

도면을 살펴보면, 서비스 패킷인 FMC 통화 패킷 (612) 을 통하여 NAT 포트 맵핑 테이블이 갱신된 경우에 제 1 갱신 패킷 (610) 의 갱신 주기 이후 시점에서 갱신 패킷 (614) 을 송신하지 않는다. 대신에 FMC 통화 패킷 (612) 이 송신되어 NAT 포트 맵핑 테이블이 갱신된 시점부터 갱신 주기인 45 초 이후에 제 2 갱신 패킷 (616) 을 송신한다. 제 2 갱신 패킷 (616) 은 AP (200) 의 무선 통신 모듈 (210) 에 의해서 수신되며 AP (200) 의 제어 모듈 (220) 은 수신된 제 2 갱신 패킷 (616) 을 갱신한다.Referring to the figure, when the NAT port mapping table is updated through the FMC call packet 612, which is a service packet, the update packet 614 is not transmitted after the update period of the first update packet 610. Instead, the FMC call packet 612 is transmitted to transmit the second update packet 616 45 seconds after the update period from the time when the NAT port mapping table is updated. The second update packet 616 is received by the wireless communication module 210 of the AP 200 and the control module 220 of the AP 200 updates the received second update packet 616.

이와 같은 과정은 반복되며 제 2 갱신 패킷 (616) 이 송신된 이후에 FMC 통화 패킷 (618) 이 송신된 경우에 갱신 주기는 FMC 통화 패킷 (618) 이 송신된 시점부터 다시 기산된다.This process is repeated and in the case where the FMC call packet 618 is transmitted after the second update packet 616 is transmitted, the update period is counted again from the time when the FMC call packet 618 is transmitted.

이러한 과정을 통하여 NAT 포트 맵핑 테이블은 갱신되어 유지된다. 그에 따라 단말기 (100) 는 원하는 서비스 프로그램에 연결될 수 있다.Through this process, the NAT port mapping table is updated and maintained. Accordingly, the terminal 100 can be connected to the desired service program.

설명의 편의를 위해서, 서비스는 FMC 통화로 설명되었으나 패킷 서비스에 기반을 둔 모든 서비스가 본 발명이 적용될 수 있다. 예를 들어, 패킷 서비스인 영상 통화 서비스 역시 영상 통화 패킷을 통하여 NAT 포트 맵핑 테이블을 갱신할 수 있으며, 그에 따라서, 본 발명이 적용될 수 있다.For convenience of description, the service is described as an FMC call, but all the services based on the packet service can be applied to the present invention. For example, the video call service, which is a packet service, may also update the NAT port mapping table through the video call packet, and accordingly, the present invention may be applied.

도 7 은 본 발명의 일 실시예와 관련된 NAT 포트 맵핑 테이블의 갱신 방법을 나타낸 순서도이다.7 is a flowchart illustrating a method of updating a NAT port mapping table according to an embodiment of the present invention.

이동 단말기 (100) 는 제 1 시점에 서비스 패킷 또는 갱신 패킷을 송신한다(S710). The mobile terminal 100 transmits a service packet or an update packet at the first time point in step S710.

AP (200) 는 상기 패킷들을 이용하여 NAT 포트 맵핑 테이블을 갱신한다(S720). The AP 200 updates the NAT port mapping table using the packets (S720).

이동 단말기 (100) 의 제어부 (180) 는 제 1 시점에 패킷을 송신한 이후에 갱신 주기인 규정된 시간 이내에 서비스 패킷이 송신되었는 지를 판단한다 (S730). The controller 180 of the mobile terminal 100 determines whether the service packet is transmitted within a prescribed time which is an update period after transmitting the packet at the first time point (S730).

서비스 패킷이 송신되었다고 판단한 경우 이동 단말기 (100) 는 제 2 시점에 서비스 패킷을 송신한 것이다. AP (200) 의 제어 모듈 (220) 은 해당 서비스 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신한다. 또한, 서비스 패킷이 송신된 제 2 시점으로부터 규정된 시간의 경과 이후에 갱신 패킷을 송신한다(S740). AP (200) 의 제어 모듈 (220) 은 해당 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신한다 (S760). If it is determined that the service packet has been transmitted, the mobile terminal 100 transmits the service packet at the second time point. The control module 220 of the AP 200 updates the NAT port mapping table by using the corresponding service packet. In addition, the update packet is transmitted after the elapse of the prescribed time from the second time point at which the service packet is transmitted (S740). The control module 220 of the AP 200 updates the NAT port mapping table using the corresponding packet (S760).

서비스 패킷이 송신되지 않았다고 판단한 경우 이동 단말기 (100) 의 무선 통신부 (110) 는 제 1 시점으로부터 상기 규정된 시간이 경과된 이후에 갱신 패킷을 송신한다 (S750). AP (200) 의 무선 통신 모듈 (210) 은 상기 갱신 패킷을 수신하고 AP (200) 의 제어 모듈 (220) 은 상기 갱신 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신한다 (S760). If it is determined that the service packet has not been transmitted, the wireless communication unit 110 of the mobile terminal 100 transmits an update packet after the prescribed time elapses from the first time point (S750). The wireless communication module 210 of the AP 200 receives the update packet and the control module 220 of the AP 200 updates the NAT port mapping table using the update packet (S760).

상기 과정들은 반복되며, 해당 서비스를 종료하기를 원하면 패킷을 송신하는 것을 중지한다.The above steps are repeated and stop sending packets if you want to terminate the service.

또한, 본 발명의 일실시예에 의하면, 전술한 NAT 포트 맵핑 테이블의 갱신 방법은, 프로그램이 기록된 매체에 프로세서가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 프로세서가 읽을 수 있는 매체의 예로는, ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.In addition, according to an embodiment of the present invention, the above-described updating method of the NAT port mapping table can be implemented as code that can be read by a processor in a medium in which a program is recorded. Examples of processor-readable media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may be implemented in the form of a carrier wave (for example, transmission over the Internet). Include.

상기와 같이 설명된 NAT 포트 맵핑 테이블의 갱신 방법 및 그를 이용한 단말기 및 시스템은 상기 설명된 실시예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 상기 실시예들은 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.The method of updating the NAT port mapping table described above and the terminal and system using the same are not limited to the configuration and method of the above-described embodiments, but the embodiments may be modified in various ways. All or some of these may optionally be combined.

100 단말기 110 무선 통신부
180 제어부 200 AP
210 무선 통신 모듈 220 제어 모듈
300 서버
100 terminal 110 wireless communication unit
180 control unit 200 AP
210 Wireless Communication Module 220 Control Module
300 servers

Claims (12)

NAT(Network Address Translation) 포트 맵핑 갱신 시스템에 있어서,
특정 서비스 제공을 위한 서비스 패킷 및 NAT 포트 맵핑 테이블 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 송신하는 단말기; 및
상기 단말기로부터 상기 서비스 패킷 및 상기 갱신 패킷 중 적어도 하나를 수신하고, 상기 수신된 패킷을 이용하여 NAT 포트 맵핑 테이블을 갱신하는 액세스 포인트를 포함하고,
상기 단말기는, 상기 패킷을 송신한 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는지에 따라 상기 제 1 및 제 2 시점 중 어느 하나의 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하는, 시스템.
In the network address translation (NAT) port mapping update system,
A terminal for transmitting at least one packet of a service packet for providing a specific service and an update packet for updating a NAT port mapping table; And
An access point for receiving at least one of the service packet and the update packet from the terminal and updating a NAT port mapping table using the received packet;
The terminal, at a second time point within a prescribed time from the first time point of transmitting the packet, elapses time point of the prescribed time from any one of the first and second time points according to whether the service packet is transmitted. Send the update packet to the system.
제 1 항에 있어서,
상기 단말기는,
상기 제 2 시점에서 상기 서비스 패킷을 송신하지 않은 경우 상기 제 1 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하고,
상기 제 2 시점에서 상기 서비스 패킷을 송신한 경우 상기 제 2 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하는, 시스템.
The method of claim 1,
The terminal,
If the service packet is not transmitted at the second time point, the update packet is transmitted from the first time point when the prescribed time elapses,
And when the service packet is transmitted at the second time point, the update packet is transmitted from the second time point when the prescribed time elapses.
제 1 항에 있어서,
상기 단말기는,
상기 서비스 패킷의 송신이 없는 경우, 상기 갱신 패킷을 상기 규정된 시간 간격으로 주기적으로 송신하는, 시스템.
The method of claim 1,
The terminal,
And if there is no transmission of the service packet, periodically sending the update packet at the prescribed time interval.
제 1 항에 있어서,
상기 특정 서비스는 영상 통화 및 FMC (Fixed Mobile Convergence) 서비스 중 적어도 하나를 포함하는, 시스템.
The method of claim 1,
The specific service includes at least one of a video call and a Fixed Mobile Convergence (FMC) service.
특정 서비스 제공을 위한 서비스 패킷 및 NAT 포트 맵핑 테이블 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 송신하는 무선 통신부; 및
상기 패킷을 송신한 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는지를 판단하고, 송신 여부에 따라 상기 제 1 및 제 2 시점 중 어느 하나의 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하도록 제어하는 제어부를 포함하는, 이동 단말기.
A wireless communication unit which transmits at least one packet of a service packet for providing a specific service and an update packet for updating a NAT port mapping table; And
It is determined whether the service packet has been transmitted at a second time point within a prescribed time from the first time point of transmitting the packet, and depending on whether or not the packet is transmitted, from the time point of any one of the first and second time points, And a control unit controlling to transmit the update packet at an elapsed time point.
제 5 항에 있어서,
상기 서비스 패킷 및 상기 갱신 패킷 중 적어도 하나는 상기 액세스 포인트로 송신되어 상기 NAT 포트 맵핑 테이블의 갱신에 이용되는, 이동 단말기.
The method of claim 5, wherein
At least one of the service packet and the update packet is transmitted to the access point and used for updating the NAT port mapping table.
제 5 항에 있어서,
상기 제어부는,
상기 제 2 시점에서 상기 서비스 패킷을 송신하지 않은 경우 상기 제 1 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하도록 상기 무선 통신부를 제어하고,
상기 제 2 시점에서 상기 서비스 패킷을 송신한 경우 상기 제 2 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하도록 상기 무선 통신부를 제어하는, 이동 단말기.
The method of claim 5, wherein
The control unit,
If the service packet is not transmitted at the second time point, control the wireless communication unit to transmit the update packet from the first time point when the prescribed time elapses,
And when the service packet is transmitted at the second time point, controlling the wireless communication unit to transmit the update packet at a time point when the prescribed time elapses from the second time point.
제 5 항에 있어서,
상기 제어부는,
상기 서비스 패킷의 송신이 없는 경우, 상기 갱신 패킷을 상기 규정된 시간 간격으로 주기적으로 송신하도록 상기 무선 통신부를 제어하는, 이동 단말기.
The method of claim 5, wherein
The control unit,
And if there is no transmission of the service packet, controlling the wireless communication unit to periodically transmit the update packet at the prescribed time interval.
상기 특정 서비스는 영상 통화 및 FMC (Fixed Mobile Convergence) 서비스 중 적어도 하나를 포함하는, 이동 단말기.The specific service includes at least one of a video call and a fixed mobile convergence (FMC) service. 단말기가 특정 서비스 제공을 위한 서비스 패킷 및 NAT (Network Address Translation) 포트 맵핑 테이블의 갱신을 위한 갱신 패킷 중 적어도 하나의 패킷을 액세스 포인트로 제 1 시점에 송신하는 단계;
상기 패킷을 송신한 상기 제 1 시점으로부터 규정된 시간 이내에 속하는 제 2 시점에서 상기 서비스 패킷이 송신되었는지를 판단하는 단계; 및
상기 판단 결과 상기 제 2 시점에서 상기 서비스 패킷을 송신하지 않은 경우 상기 제 1 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하고, 상기 제 2 시점에서 상기 서비스 패킷을 송신한 경우 상기 제 2 시점으로부터 상기 규정된 시간의 경과 시점에 상기 갱신 패킷을 송신하는 단계를 포함하는, NAT 포트 맵핑 테이블 갱신 방법.
Transmitting, by the terminal, at least one packet of a service packet for providing a specific service and an update packet for updating a network address translation (NAT) port mapping table to an access point;
Determining whether the service packet was transmitted at a second time point within a prescribed time from the first time point at which the packet was transmitted; And
If the service packet is not transmitted at the second time point as a result of the determination, the update packet is transmitted from the first time point when the prescribed time has elapsed, and the service packet is transmitted at the second time point. And transmitting the update packet from a time point 2 to the elapsed time of the prescribed time.
제 10 항에 있어서,
상기 서비스 패킷의 송신이 없는 경우, 상기 갱신 패킷을 상기 규정된 시간 간격으로 주기적으로 송신하는 단계를 더 포함하는, NAT 포트 맵핑 테이블 갱신 방법.
The method of claim 10,
And if there is no transmission of the service packet, periodically transmitting the update packet at the prescribed time interval.
제 10 항에 있어서,
상기 서비스 패킷 및 상기 갱신 패킷 중 적어도 하나는 상기 액세스 포인트로 송신되어 상기 NAT 포트 맵핑 테이블의 갱신에 이용되는, NAT 포트 맵핑 테이블 갱신 방법.
The method of claim 10,
At least one of the service packet and the update packet is transmitted to the access point and used for updating the NAT port mapping table.
KR1020100048995A 2010-05-26 2010-05-26 Method for updating the nat port mapping table, and terminal and system using it KR20110129557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100048995A KR20110129557A (en) 2010-05-26 2010-05-26 Method for updating the nat port mapping table, and terminal and system using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100048995A KR20110129557A (en) 2010-05-26 2010-05-26 Method for updating the nat port mapping table, and terminal and system using it

Publications (1)

Publication Number Publication Date
KR20110129557A true KR20110129557A (en) 2011-12-02

Family

ID=45498653

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100048995A KR20110129557A (en) 2010-05-26 2010-05-26 Method for updating the nat port mapping table, and terminal and system using it

Country Status (1)

Country Link
KR (1) KR20110129557A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076022A (en) * 2016-03-16 2018-12-21 日本电气株式会社 Network address conversion device, setting request unit, communication system, communication means and the storage medium for storing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076022A (en) * 2016-03-16 2018-12-21 日本电气株式会社 Network address conversion device, setting request unit, communication system, communication means and the storage medium for storing program
CN109076022B (en) * 2016-03-16 2021-05-07 日本电气株式会社 Network address conversion device, setting request device, communication system, communication method, and storage medium storing program

Similar Documents

Publication Publication Date Title
WO2020259509A1 (en) Method and device for application migration
US7729366B2 (en) Method, apparatus and system for network mobility of a mobile communication device
US20220070095A1 (en) Data transmission method and apparatus, network adapter, and storage medium
CN106789526B (en) method and device for connecting multiple system networks
EP2680491B1 (en) Method for establishing channel for managing an IPv4 terminal
JP2020521396A (en) Wireless local area network configuration method and device
KR101589239B1 (en) Method and apparatus for packet call setup
KR20080025185A (en) Local network proxy for a remotely connected mobile device operating in reduced power mode
KR20120046547A (en) The method of determining group owner in peer to peer network and the device thereof
BRPI0912420B1 (en) sequential wlan portal
CN106878199B (en) Configuration method and device of access information
KR20150013860A (en) Clientless cloud computing
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
US8964765B2 (en) Mobile handheld multi-media gateway and phone
KR102138103B1 (en) Method of application connection for devices in a network
US10021512B2 (en) Switching to advertising locator after connection establishment
KR102060434B1 (en) Apparatus and method for providing a wireless communication in a portable terminal
US8472420B2 (en) Gateway device
EP3598705B1 (en) Routing control
CN106507414B (en) Message forwarding method and device
BR112022005854B1 (en) PROXY SERVER TO ENABLE REMOTE MANAGEMENT OF A PROFILE IN AN IDENTITY MODULE ON A NARROBAND INTERNET OF THINGS DEVICE AND RELATED METHOD
KR20140037117A (en) Method and system for sharing device capabilities of universal plug and play(upnp) devices with a service network entity
CN111194098B (en) Link establishment method, device, communication system and computer readable medium
TWI624163B (en) System for controlling IPv6 networking of IoT devices
KR20110129557A (en) Method for updating the nat port mapping table, and terminal and system using it

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination