KR100698666B1 - Mobile communication terminal be able to control communication according to network error and method thereof - Google Patents

Mobile communication terminal be able to control communication according to network error and method thereof Download PDF

Info

Publication number
KR100698666B1
KR100698666B1 KR1020040103713A KR20040103713A KR100698666B1 KR 100698666 B1 KR100698666 B1 KR 100698666B1 KR 1020040103713 A KR1020040103713 A KR 1020040103713A KR 20040103713 A KR20040103713 A KR 20040103713A KR 100698666 B1 KR100698666 B1 KR 100698666B1
Authority
KR
South Korea
Prior art keywords
message
network
received
communication terminal
icmp
Prior art date
Application number
KR1020040103713A
Other languages
Korean (ko)
Other versions
KR20060065010A (en
Inventor
김용상
Original Assignee
주식회사 팬택앤큐리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 팬택앤큐리텔 filed Critical 주식회사 팬택앤큐리텔
Priority to KR1020040103713A priority Critical patent/KR100698666B1/en
Publication of KR20060065010A publication Critical patent/KR20060065010A/en
Application granted granted Critical
Publication of KR100698666B1 publication Critical patent/KR100698666B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

본 발명은 이동통신 단말기에 관한 것으로, 특히 TCP/IP를 이용한 서비스시 발생 가능한 네트워크 에러에 따라 대처할 수 있는 이동통신 단말기 기술에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mobile communication terminal, and more particularly, to a mobile communication terminal technology that can cope with a network error that may occur in a service using TCP / IP.

본 발명에 따른 이동통신 단말기는 TCP/IP를 이용하는 어플리케이션 실행에 따른 통신 서비스시 네트워크 망으로부터 전송되어 수신되는 인터넷 제어 메시지 프로토콜(ICMP : Internet Control Message Protocol) 메시지들 중 그 메시지 유형이 목적지 도착 불가능(Destination unreachable) 메시지인지를 인식한다. Destination unreachable 메시지를 인식한 이동통신 단말기는 네트워크 상에 에러가 발생되었다고 판단하여 해당 어플리케이션을 종료하는 등의 수행을 처리한다.In the mobile communication terminal according to the present invention, among the Internet Control Message Protocol (ICMP) messages transmitted and received from the network during the communication service according to the execution of the application using TCP / IP, the message type cannot reach the destination ( Destination unreachable) message. Recognizing the destination unreachable message, the mobile communication terminal determines that an error has occurred on the network, and performs processing such as terminating the corresponding application.

이에 따라 이동통신 단말기는 TCP/IP를 이용한 서비스시 네트워크 망 측으로부터 전송되어 수신되는 Destination unreachable 메시지를 인식할 수 있게 됨으로써, 불필요한 네트워크 통신 자원 낭비의 초래를 방지할 수 있게 된다.Accordingly, the mobile communication terminal can recognize a destination unreachable message transmitted and received from the network during service using TCP / IP, thereby preventing unnecessary waste of network communication resources.

이동통신 단말기, 인터넷 제어 메시지 프로토콜(ICMP), Destination unreachable 메시지Mobile terminal, Internet Control Message Protocol (ICMP), Destination unreachable message

Description

네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기 및 그 방법{Mobile communication terminal be able to control communication according to network error and method thereof}Mobile communication terminal be able to control communication according to network error and method thereof

도 1은 통상적인 통신 레이어의 개략적인 구성도.1 is a schematic diagram of a typical communication layer.

도 2는 ICMP의 메시지 타입을 나타낸 표를 도시한 도면.2 is a table showing message types of ICMP.

도 3은 본 발명의 바람직한 실시예에 따른 이동통신 단말기 구성을 개략적으로 도시한 블록도.Figure 3 is a block diagram schematically showing the configuration of a mobile communication terminal according to an embodiment of the present invention.

도 4는 ICMP 메시지 형식을 도시한 도면.4 illustrates an ICMP message format.

도 5는 ICMP 메시지 중 Destination unreachable 메시지 형식을 도시한 도면.5 is a diagram illustrating a destination unreachable message format among ICMP messages.

도 6은 본 발명의 바람직한 실시예에 따른 이동통신 단말기의 네트워크 에러에 따른 제어 방법을 도시한 흐름도.6 is a flowchart illustrating a control method according to a network error of a mobile communication terminal according to a preferred embodiment of the present invention.

본 발명은 이동통신 단말기에 관한 것으로, 특히 TCP/IP를 이용한 서비스시 발생 가능한 네트워크 에러에 따라 대처할 수 있는 이동통신 단말기 기술에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mobile communication terminal, and more particularly, to a mobile communication terminal technology that can cope with a network error that may occur in a service using TCP / IP.

도 1은 통상적인 통신 레이어의 개략적인 구성도이다. TCP(Transmission Control Protocol)는 인터넷상의 컴퓨터들 사이에서 데이터를 메시지의 형태로 보내기 위해 IP(Internet Protocol)와 함께 사용되는 프로토콜이다. IP가 실제로 데이터의 배달처리를 관장하는 동안, TCP는 데이터 패킷을 추적 관리한다. 여기서 메시지는 인터넷 내에서 효율적인 라우팅이 이루어지도록 여러 개의 작은 조각으로 나뉘어지는데, 이것을 패킷이라고 부른다. TCP는 연결지향 프로토콜이라고 알려져 있는데, 이것은 메시지들이 각단의 응용 프로그램들에 의해 교환되는 시간동안 연결이 확립되고 유지되는 것을 의미한다. TCP는 IP가 처리할 수 있도록 메시지를 여러 개의 패킷들로 확실히 나누고, 반대편에서는 완전한 메시지로 패킷들을 채조립할 책임이 있다. OSI(Open Systems Interconnection) 통신모델에서 TCP는 4계층인 전송 계층(Transport layer)에 속한다.1 is a schematic diagram of a typical communication layer. Transmission Control Protocol (TCP) is a protocol used with the Internet Protocol (IP) to send data in the form of messages between computers on the Internet. While IP actually manages the delivery of data, TCP keeps track of data packets. The message is broken up into several small pieces that allow efficient routing within the Internet. These are called packets. TCP is known as a connection-oriented protocol, which means that a connection is established and maintained for the time that messages are exchanged by each application. TCP is responsible for ensuring that the message is divided into packets for IP to process, and on the other side, the packets are assembled into complete messages. In the Open Systems Interconnection (OSI) communication model, TCP belongs to a four-layer transport layer.

소켓(socket)은 TCP/IP를 이용하는 API(Application Program Interface)로서, 어플리케이션에서 TCP/IP를 이용하는 창구 역할을 한다. 소켓은 소프트웨어로 작성된 통신 접속점이라고 할 수 있는데 네트워크 응용프로그램인 도시된 어플리케이션(예를 들어 왑 브라우저(WAP Browser)가 될 수 있다)은 소켓을 통하여 통신망으로 IP 패킷을 송수신하게 된다. 참고로 응용 프로그램과 소켓 사이의 인터페이스를 소켓 인터페이스라고 한다.A socket is an application program interface (API) using TCP / IP, and serves as a window using TCP / IP in an application. A socket may be referred to as a communication connection point written in software. The illustrated application (which may be a WAP browser, for example), which is a network application, transmits and receives an IP packet through a socket to a communication network. Note that the interface between the application and the socket is called the socket interface.

인터넷 제어 메시지 프로토콜(ICMP : Internet Control Message Protocol)은 TCP/IP 기반의 인터넷 통신 서비스에서 IP와 조합하여 통신 중에 발생하는 오류의 처리와 전송 경로의 변경 등을 위한 제어 메시지를 취급하는 무연결 전송(connectionless transmission)용의 프로토콜로써, RFC 792에 정의되어 있다. RFC(Request For Comments)란 미국의 인터넷 아키텍처 위원회(IAB)가 인터넷에 관한 조사, 제안, 기술, 소견 등을 공표한 온라인 공개 문서로써, 네트워크 프로토콜 또는 서비스를 구현할 때 필요한 절차와 형식 등 인터넷에 관한 정보를 알리기 위한 주요한 수단으로 사용되고 있다. RFC 792에 정의된 ICMP는 OSI 통신모델에서 네트워크 계층(Network layer)에 속한다. 도 2는 이미 알려진 바와 같은 ICMP의 메시지 유형을 나타낸 표를 도시한 도면이다. 도시된 바와 같이 ICMP는 크게 오류 통지를 위한 오류 메시지와 진단용 문답 메시지 두 종류로 구분할 수 있다.The Internet Control Message Protocol (ICMP) is a TCP / IP-based Internet communication service that combines IP with a connectionless transmission (that handles control messages for handling errors and changes in transmission paths). Protocol for connectionless transmission, as defined in RFC 792. Request For Comments (RFC) is an online public document published by the US Internet Architecture Council (IAB) that publishes research, proposals, technologies, and findings about the Internet. It includes information about the Internet, including the procedures and formats required to implement network protocols or services. It is used as a major means of communicating information. ICMP, defined in RFC 792, belongs to the network layer in the OSI communication model. 2 is a table showing a message type of ICMP as known. As shown, ICMP can be largely divided into two types: error messages for error notification and diagnostic question and answer messages.

한편 현재 대부분 이동통신 단말기에는 단말기 전반을 제어하는 퀄컴사의 MSM(Mobile Station Modem) 칩이 탑재되는데, 퀄컴 소스(Qualcomm Source)에서는 TCP/IP를 이용한 어플리케이션 실행 환경 하에서 네트워크 망 측으로부터 전송되는 ICMP 메시지들 중 Echo request, Timestamp request, Information request 만을 인식한다. 원래는 인식된 각 요청 메시지마다 요청된 정보가 포함된 Echo reply, Timestamp reply, Information reply를 보내야 하나, 현재 Qualcomm Source에서는 단지 Echo request, Timestamp request, Information request와 같은 요청 메시지를 수신하였다는 의미 없는 메시지를 전송하도록 구현되어 있다.On the other hand, most mobile terminals are equipped with Qualcomm's MSM (Mobile Station Modem) chip that controls the entire terminal.Qualcomm Source is an ICMP message transmitted from the network side under an application execution environment using TCP / IP. Only Echo request, Timestamp request, and Information request are recognized. Originally, each recognized request message should send an Echo reply, Timestamp reply, and Information reply containing the requested information, but at present Qualcomm Source has no meaning that it has received only request messages such as Echo request, Timestamp request, and Information request. It is implemented to send.

이동통신 단말기가 TCP/IP를 이용하는 어플리케이션을 실행하면 네트워크 망을 통해 접속하고자 하는 호스트로 패킷을 전송하게 되는데, 네트워크 망 상의 특별한 문제가 발생했을 경우에 라우터나 호스트 등은 클라이언트인 이동통신 단말기 로 ICMP 메시지들 중 도 2에 도시된 type 3인 Destination unreachable 메시지를 전송한다. 여기서 Destination unreachable 메시지는 네트워크 망 상의 라우터가 해당 경로를 찾지 못한 경우, 목적지 시스템(호스트)의 특정 포트 번호가 현재 응답할 수 없는 경우, 그리고 기타 여러 가지 문제가 발생하여 이동통신 단말기의 통신 요청을 처리할 수 없는 경우에 생성된다.When a mobile communication terminal executes an application using TCP / IP, it transmits a packet to a host to access through a network. When a special problem occurs on a network, a router or a host sends an ICMP to a client, which is a client. Among the messages, a destination unreachable message of type 3 shown in FIG. 2 is transmitted. In this case, the Destination unreachable message handles a communication request from a mobile terminal when a router on the network cannot find a corresponding route, a specific port number of the destination system (host) cannot be answered at present, and various other problems occur. Generated if it can't.

그러나 이동통신 단말기는 라우터나 호스트 등으로부터 전송된 Destination unreachable 메시지를 수신한다 하더라도, 어떤 메시지인지를 인식할 수 없게 되어 그 메시지를 무시한다. 그리고 패킷이 목적지에 제대로 전달되지 않는 문제가 발생하면, TCP와 같은 Transport layer는 일정 시간, 일정 횟수 반복해서 재전송을 수행할 뿐 네트워크 상의 문제점을 조기에 파악하고 대처할 수 없게 된다. 결국 이동통신 단말기는 불필요한 망 연결 상태를 계속 유지하거나, 계속되는 접속 시도 등으로 인해 자원 낭비를 초래한다.However, even if the mobile communication terminal receives a destination unreachable message transmitted from a router or a host, the mobile terminal cannot recognize the message and ignores the message. When a problem occurs that a packet is not properly delivered to a destination, a transport layer such as TCP repeatedly retransmits a predetermined time and a predetermined number of times, and thus cannot identify and cope with a network problem early. As a result, the mobile communication terminal maintains unnecessary network connection or causes resource waste due to continuous connection attempts.

본 발명은 이러한 문제점을 해결하기 위한 것으로, 이동통신 단말기가 TCP/IP를 이용한 서비스시 네트워크 에러를 인식하여 불필요한 망 연결 상태를 계속 유지하거나, 계속되는 접속 시도 등으로 인해 자원 낭비를 초래하지 않도록 하는 것을 목적으로 한다.The present invention is to solve such a problem, the mobile communication terminal to recognize the network error in the service using TCP / IP to maintain unnecessary network connection state, or to avoid causing resource waste due to continuous connection attempts, etc. The purpose.

상기 목적을 달성하기 위한 본 발명의 일 양상에 따른 이동통신 단말기는 TCP/IP를 이용하는 어플리케이션 실행에 따른 통신 서비스시 네트워크 망으로부터 전송되어 수신되는 인터넷 제어 메시지 프로토콜(ICMP : Internet Control Message Protocol) 메시지들 중 그 메시지 유형이 목적지 도착 불가능(Destination unreachable) 메시지인지를 인식한다. Destination unreachable 메시지를 인식한 이동통신 단말기는 네트워크 상에 에러가 발생되었다고 판단하여 해당 어플리케이션을 종료하는 등의 수행을 처리한다.Mobile communication terminal according to an aspect of the present invention for achieving the above object is Internet Control Message Protocol (ICMP: Internet Control Message Protocol) messages transmitted and received from the network during the communication service according to the execution of the application using TCP / IP Recognizes whether the message type is a destination unreachable message. Recognizing the destination unreachable message, the mobile communication terminal determines that an error has occurred on the network, and performs processing such as terminating the corresponding application.

본 발명의 이 같은 양상에 따라 이동통신 단말기는 TCP/IP를 이용한 서비스시 네트워크 망 측으로부터 전송되어 수신되는 Destination unreachable 메시지를 인식할 수 있게 됨으로써, 불필요한 네트워크 통신 자원 낭비의 초래를 방지할 수 있게 된다.According to this aspect of the present invention, the mobile communication terminal can recognize a destination unreachable message transmitted and received from the network side during a service using TCP / IP, thereby preventing unnecessary network communication resource waste. .

전술한, 그리고 추가적인 본 발명의 양상들은 첨부된 도면을 참조하여 설명되는 바람직한 실시예들을 통하여 더욱 명백해질 것이다. 이하에서는 본 발명을 이러한 실시예를 통해 당업자가 용이하게 이해하고 재현할 수 있도록 상세히 설명하기로 한다.The foregoing and further aspects of the present invention will become more apparent through the preferred embodiments described with reference to the accompanying drawings. Hereinafter, the present invention will be described in detail to enable those skilled in the art to easily understand and reproduce the present invention.

도 3은 본 발명의 바람직한 실시예에 따른 이동통신 단말기 구성을 개략적으로 도시한 블록도이다. 도시된 바와 같이, 이동통신 단말기는 기본적으로 키패드(110)와, 메뉴 및 동작상태를 표시하는 표시부(120)와, 안테나를 통해 송수신되는 무선신호로부터 음성 및 데이터 신호를 추출하는 무선 통신부(130)와, 이 무선 통신부(130)로부터의 음성 통화 신호를 마이크 및 스피커를 통해 입출력하는 음성 입출력회로(140)와, 이동통신 단말기의 동작을 전반적으로 제어하기 위한 제어프로그램 데이터들을 저장하는 메모리(150) 및 전체 시스템을 제어하는 제어부(160)와 같 은 통상적인 이동통신 단말기의 구성을 포함한다. 3 is a block diagram schematically showing the configuration of a mobile communication terminal according to a preferred embodiment of the present invention. As shown, the mobile communication terminal basically includes a keypad 110, a display unit 120 for displaying a menu and an operation state, and a wireless communication unit 130 for extracting a voice and data signal from a radio signal transmitted and received through an antenna. And a voice input / output circuit 140 for inputting and outputting a voice call signal from the wireless communication unit 130 through a microphone and a speaker, and a memory 150 for storing control program data for overall control of the operation of the mobile communication terminal. And a configuration of a typical mobile communication terminal such as the controller 160 for controlling the entire system.

우선 키패드(110)와, 통상 액정표시장치인 표시부(120)는 통상적인 주지된 구성이 될 수 있다. 메모리(150)는 단말기의 동작을 제어하기 위한 제어 프로그램 데이타가 저장되는 롬 영역과, 단말기 제어동작시 발생하는 데이터들이 일시 저장되는 램 영역으로 구분된다. 본 발명에 따른 메모리(150)는 바람직하게 TCP/IP를 이용하는 예를 들어 왑 브라우저(WAP Browser)와 같은 어플리케이션을 저장하고 있다.First, the keypad 110 and the display unit 120, which is usually a liquid crystal display, may have a conventional well-known configuration. The memory 150 is divided into a ROM region in which control program data for controlling the operation of the terminal is stored, and a RAM region in which data generated during the terminal control operation are temporarily stored. The memory 150 according to the present invention preferably stores an application such as, for example, a WAP browser using TCP / IP.

무선 통신부(130)는 기지국과의 통신을 위한 안테나 및 알에프 회로를 포함하여 구성된다. 음성 입출력회로(140)는 디지탈 음성 데이터를 아날로그 음성 신호로, 또는 그 역의 변환을 처리하며, 오디오 증폭회로나 필터와 같은 부가회로를 포함하는 주지된 구성이다. 무선 통신부(130)의 기저대역 회로와, 제어부(160)의 대부분의 회로는 단일의 집적회로로 상용화되어 제공되고 있다. 통상 MSM 칩으로 불리는 이 집적회로는 내부에 통신을 처리하는 전용의 하드웨어와, 디지탈 신호처리기 및 범용의 마이크로프로세서를 포함한다. 제어부(160)를 구성하는 각 부분들은 전용의 하드웨어 혹은 소프트웨어 혹은 이들의 혼합에 의해 구성될 수 있다.The wireless communication unit 130 is configured to include an antenna and RF circuit for communication with the base station. The voice input / output circuit 140 is a well-known configuration that processes digital voice data into an analog voice signal or vice versa, and includes an additional circuit such as an audio amplification circuit or a filter. The baseband circuit of the wireless communication unit 130 and most of the circuits of the control unit 160 are commercially provided as a single integrated circuit. This integrated circuit, commonly referred to as an MSM chip, includes internally dedicated hardware for processing communications, a digital signal processor and a general purpose microprocessor. Each part constituting the control unit 160 may be configured by dedicated hardware or software or a mixture thereof.

본 발명의 특징적인 양상에 따라 제어부(160)는 네트워크 에러 인식부(163)와, 이벤트 처리부(165)를 더 포함한다. 우선 사용자가 키패드(100)를 조작하여 TCP/IP를 이용하는 예를 들어 왑 브라우저(WAP Browser)와 같은 애플리케이션을 사용하고자 하면, 제어부(160)는 메모리(150)에 저장된 해당 어플리케이션을 로딩하여 실행한다. 제어부(160)에 의해 실행되는 어플리케이션은 해당 호스트에 접속하 여 통신하기 위해 필요한 패킷을 생성하여 무선 통신부(130)를 통해 네트워크 망으로 전송함에 의해 호스트와의 접속 및 통신을 시도한다. 그러나 IP 프로토콜은 비연결형으로 패킷이 확실히 전송된다는 보장이 없기 때문에 네트워크 상의 라우터나 호스트(노드) 등에서 오류가 생겨 목적지까지 도달하지 못하게 되는 경우가 발생할 수 있다.According to a characteristic aspect of the present invention, the controller 160 further includes a network error recognizer 163 and an event processor 165. First, when a user manipulates the keypad 100 to use an application such as a WAP browser using TCP / IP, the controller 160 loads and executes the corresponding application stored in the memory 150. . The application executed by the controller 160 attempts to connect and communicate with the host by generating a packet necessary for accessing and communicating with the host and transmitting the packet to the network through the wireless communication unit 130. However, because the IP protocol is connectionless and there is no guarantee that the packet will be transmitted, there may be cases where routers or hosts (nodes) on the network fail and cannot reach their destination.

만일 네트워크에서 라우터 등이 이동통신 단말기에서 전송된 패킷을 제대로 라우팅하지 못하거나 하는 등의 문제가 발생하면, 클라이언트인 이동통신 단말기로 ICMP 메시지를 전송한다. 이러한 경우 전송되는 ICMP 메시지 타입은 목적지 도착 불가능(Destination unreachable) 메시지이다. 여기서 ICMP란 인터넷의 라우터가 다른 라우터나 호스트들에게 오류메시지나 제어 메시지를 송신하도록 하여 전송상의 에러나 예상치 못한 환경에 대한 정보를 제공할 목적으로 만들어진 프로토콜이다. ICMP는 호스트 서버(Server)와 인터넷 게이트웨이(Gateway) 사이에서 메시지를 제어하고 에러를 알려주는 프로토콜로서, 전술한 바와 같이 RFC 792에 정의되어 있다. If a problem occurs in the network such as a router or the like not properly routing a packet transmitted from the mobile communication terminal, the ICMP message is transmitted to the mobile communication terminal which is a client. In this case, the type of ICMP message transmitted is a destination unreachable message. ICMP is a protocol designed to provide information about errors or unexpected conditions in transmission by allowing routers on the Internet to send error or control messages to other routers and hosts. ICMP is a protocol for controlling a message and reporting an error between a host server and an internet gateway, and is defined in RFC 792 as described above.

네트워크 에러 인식부(163)는 네트워크 측(라우터, 혹은 호스트)으로부터 전송되어 무선 통신부(130)를 통해 수신된 ICMP 메시지가 목적지 도착 불가능(Destination unreachable) 메시지인지를 인식한다. 바람직한 양상에 따라 네트워크 에러 인식부(163)는 ICMP 메시지가 도 2에 도시된 여러 타입들 중 type 3인지를 판단한다. 이는 수신된 ICMP 메시지에 포함된 타입 정보가 type 3인지를 체크함에 의해 가능하다. 도 4에는 이미 알려진 바와 같은 ICMP 메시지 형식이 도시되어 있 다. 각각의 ICMP 메시지 타입들은 자신만의 고유한 형식을 가지고 있지만 처음 3 필드(type 필드, code 필드, check 필드)는 모두 동일하다. 이에 따라 네트워크 에러 인식부(163)는 첫 필드인 type 필드의 type 3를 나타내는 8비트 값을 통해 ICMP 메시지가 Destination unreachable 메시지임을 인식할 수 있다.The network error recognizing unit 163 recognizes whether the ICMP message transmitted from the network side (router or host) and received through the wireless communication unit 130 is a destination unreachable message. According to a preferred aspect, the network error recognizer 163 determines whether the ICMP message is type 3 of the various types shown in FIG. 2. This is possible by checking whether the type information included in the received ICMP message is type 3. Figure 4 shows the ICMP message format as known. Each ICMP message type has its own format, but the first three fields (type field, code field, and check field) are identical. Accordingly, the network error recognition unit 163 may recognize that the ICMP message is a destination unreachable message through an 8-bit value indicating the type 3 of the first field.

상술한 바에 따라 네트워크 에러 인식부(163)에 의해 Destination unreachable 메시지가 무선 통신부(130)를 통해 수신됨이 인식되면, 이벤트 처리부(165)는 해당 이벤트를 처리한다. 여기서 이벤트란 네트워크 에러 상태에서 통신 연결을 수행할 필요가 없다고 판단하여 실행되는 어플리케이션을 종료 처리하거나, 아니면 다른 통신 경로를 통해 통신 재연결을 수행하는 처리 등이 될 수 있다. 한편 Destination unreachable 메시지는 다양한 원인에 의해 발생될 수 있는데, 이벤트 처리부(165)는 다양한 원인에 따른 Destination unreachable 메시지에 따라 해당 이벤트 수행을 하기 위해 내용 정보 체크부(165a)와, 이벤트 처리 담당부(165b)를 더 포함할 수 있다. As described above, when the network error recognition unit 163 recognizes that the destination unreachable message is received through the wireless communication unit 130, the event processing unit 165 processes the corresponding event. In this case, the event may be a process of terminating an application executed by determining that it is not necessary to perform a communication connection in a network error state, or performing a communication reconnection through another communication path. Meanwhile, the destination unreachable message may be generated by various causes. The event processing unit 165 may include a content information check unit 165a and an event processing unit 165b to perform a corresponding event according to a destination unreachable message according to various causes. ) May be further included.

내용 정보 체크부(165a)는 수신된 ICMP 메시지가 네트워크 에러 인식부(163)에 의해 Destination unreachable 메시지임을 인식하면, 네트워크 측으로부터 전송된 Destination unreachable 메시지 원인이 구체적으로 어떠한 것인지 그 내용 정보를 체크한다. 바람직한 양상에 따라 내용 정보 체크부(165a)는 도 4와 같은 형식을 갖는 수신된 ICMP 메시지(여기서는 Destination unreachable 메시지)에 포함된 code 필드의 8비트 코드값을 통해 Destination unreachable 메시지 내용 정보를 체크할 수 있다. 참고적으로 도 5에 이미 알려진 바와 같은 Destination unreachable 메시지 형식을 도시하였다. 즉, 내용 정보 체크부(165a)는 도 5에 도시된 Destination unreachable 메시지 형식의 2번째 필드인 코드값을 체크함에 의해 추가적인 정보를 알 수 있게 된다. 코드값에 따른 Destination unreachable 메시지의 추가 정보는 다음과 같으며, 이에 대해 몇가지 간략히 살펴보기로 한다.If the content information checker 165a recognizes that the received ICMP message is a destination unreachable message by the network error recognition unit 163, the content information checker 165a checks the content information of the cause of the destination unreachable message transmitted from the network. According to a preferred aspect, the content information checker 165a may check destination unreachable message content information through an 8-bit code value of a code field included in a received ICMP message (here, destination unreachable message) having a format as shown in FIG. 4. have. For reference, FIG. 5 illustrates a destination unreachable message format. That is, the content information checker 165a can know additional information by checking a code value that is the second field of the destination unreachable message format shown in FIG. 5. Additional information on the Destination unreachable message according to the code value is as follows.

code 0(Network unreachable) - 이 에러 메시지는 이 오류를 보고하는 라우터의 라우팅 테이블에서 목적지 네트워크를 위한 경로를 찾지 못한 경우에 생성된다.code 0 (Network unreachable)-This error message is generated when a route to the destination network cannot be found in the routing table of the router reporting this error.

code 1(Host unreachable) - 이 에러 메시지는 IP 데이터그램이 최종 목적지 시스템에 전달되지 않았다는 것을 나타낸다. 예를 들어 최종 단계의 라우터가 목적지 시스템에 이르는 방법을 모르는 경우에 생성된다.code 1 (Host unreachable)-This error message indicates that the IP datagram was not delivered to the final destination system. For example, it is created when the final router doesn't know how to reach the destination system.

code 2(Protocol unreachable) - 이 에러 메시지는 목적지 시스템에서 특정 전송 프로토콜을 사용할 수 없다는 것을 나타낸다. 예를 들어 사용자가 XTP와 같은 비표준 전송 프로토콜을 사용하여 그 프로그램을 지원하지 않는 다른 호스트와 통신하는 경우에 나타난다.code 2 (Protocol unreachable)-This error message indicates that a particular transport protocol is not available on the destination system. For example, it may appear when a user uses a nonstandard transport protocol such as XTP to communicate with another host that does not support the program.

code 3(Port unreachable) - 이 에러 메시지는 목적지 시스템에서 특정 목적지 포트 번호가 사용되지 않는다는 것을 나타낸다.code 3 (Port unreachable)-This error message indicates that a specific destination port number is not used on the destination system.

이외에도 code 4(Fragmentation needed but DF bit set), code 5(Source router failed), code 6(Destination network unknown), code 7(Destination host unknown), code 8(Source host isolated), code 9(Destination network administratively prohibited), code 10(Destination host administratively prohibited), code 11(Network unreachable for TOS), code 12(Host unreachable for TOS), code 13(Communication administratively prohibited by filtering), code 14(Host precedence violation), code 15(Precedence cutoff in effect)가 있으며, 설명은 생략하기로 한다.In addition, code 4 (Fragmentation needed but DF bit set), code 5 (Source router failed), code 6 (Destination network unknown), code 7 (Destination host unknown), code 8 (Source host isolated), code 9 (Destination network administratively prohibited), code 10 (Destination host administratively prohibited), code 11 (Network unreachable for TOS), code 12 (Host unreachable for TOS), code 13 (Communication administratively prohibited by filtering), code 14 (Host precedence violation), code 15 (Precedence cutoff in effect), and the description is omitted.

이벤트 처리 담당부(165b)는 내용 정보 체크부(165a)에 의해 체크된 코드값에 따라 현재 실행되는 어플리케이션을 종료하거나, 통신 재연결을 하는 등의 해당 이벤트를 수행한다. 예를 들어 내용 정보 체크부(165a)에 의해 체크된 코드값이 code3(Port unreachable)인 경우, 이벤트 처리 담당부(165b)는 통신하고자 하는 호스트의 접속 포트를 변경하여 통신 재연결을 수행하는 처리를 할 수 있다. 아니면 어플리케이션의 실행을 종료하도록 하여 불필요한 네트워크 자원 낭비를 방지할 수도 있다.The event processing unit 165b performs a corresponding event such as terminating an application currently executed or reconnecting a communication according to a code value checked by the content information checker 165a. For example, when the code value checked by the content information check unit 165a is code3 (Port unreachable), the event processing unit 165b changes the connection port of the host to communicate with and performs communication reconnection. You can do Alternatively, you can terminate the execution of the application to avoid unnecessary network resource waste.

본 발명의 이 같은 양상에 따라 이동통신 단말기는 TCP/IP를 이용한 서비스시 네트워크 망 측으로부터 전송되어 수신되는 Destination unreachable 메시지를 인식하여 이에 대응할 수 있게 됨으로써, 불필요한 네트워크 통신 자원 낭비 및 단말기의 전원 낭비를 방지할 수 있게 된다.According to this aspect of the present invention, the mobile communication terminal can recognize and respond to a destination unreachable message transmitted and received from the network during service using TCP / IP, thereby unnecessary waste of network communication resources and waste of power of the terminal. It can be prevented.

도 6은 본 발명의 바람직한 실시예에 따른 이동통신 단말기의 네트워크 에러에 따른 제어 방법을 도시한 흐름도이다. 제어부(160)는 예를 들어 사용자 키 조작에 따라 TCP/IP를 이용하는 왑 브라우저(WAP Browser)와 같은 애플리케이션 실행 명령이 있는지를 판단한다(602단계). 판단 결과 애플리케이션 실행 명령이 있으면, 제어부(160)는 해당 애플리케이션을 로딩하여 실행한다. 제어부(160)는 애플 리케이션의 실행에 의해 패킷을 생성하여 무선 통신부(130)를 통해 통신하고자 하는 해당 호스트로 전송 처리한다(604단계). 무선 통신부(130)를 통해 전송 처리된 패킷은 네트워크 망의 라우터 등을 경유하게 되는데, 이 때 네트워크 망의 다양한 에러로 인해 라우터 혹은 호스트는 ICMP 메시지 중 Destination unreachable 메시지를 클라이언트인 이동통신 단말기로 전송하게 된다.6 is a flowchart illustrating a control method according to a network error of a mobile communication terminal according to a preferred embodiment of the present invention. The controller 160 determines whether there is an application execution command such as a WAP browser using TCP / IP according to a user key manipulation (step 602). If there is an application execution command as a result of the determination, the controller 160 loads and executes the application. The controller 160 generates a packet by executing an application and transmits the packet to a corresponding host to communicate with via the wireless communication unit 130 (step 604). The packet processed through the wireless communication unit 130 passes through a router of a network. At this time, due to various errors of the network, the router or the host transmits a destination unreachable message among the ICMP messages to the mobile terminal, the client. do.

이동통신 단말기의 제어부(160)는 무선 통신부(130)를 통해 ICMP 메시지를 수신하고, 수신된 메시지가 Destination unreachable 메시지인지를 판단한다(608단계). 이는 전술한 바와 같이 바람직한 양상에 따라 도 4에 도시된 ICMP메시지 형식 중 type 필드의 8비트 값이 type 3을 나타내는지를 체크함에 의해 판단할 수 있다. 판단 결과 수신된 메시지가 Destination unreachable 메시지이면, 제어부(160)는 현재 실행되는 TCP/IP를 이용하는 어플리케이션을 종료하는 등의 이벤트를 수행한다(612단계). The control unit 160 of the mobile communication terminal receives the ICMP message through the wireless communication unit 130, and determines whether the received message is a Destination unreachable message (step 608). As described above, this may be determined by checking whether the 8-bit value of the type field of the ICMP message format shown in FIG. 4 indicates type 3 according to a preferred aspect. If it is determined that the received message is a destination unreachable message, the controller 160 performs an event such as terminating the application using the currently executed TCP / IP (step 612).

제어부(160)는 추가적 양상에 따라 608단계 다음에 도 5에 도시된 바와 같은 Destination unreachable 메시지의 코드값을 체크할 수 있다(610단계). 이는 이동통신 단말기가 수신된 Destination unreachable 메시지의 다양한 코드값에 따라 612단계에서 수행되는 해당되는 이벤트 처리를 나눈 경우에 유용하다. 예를 들어 코드값이 code3(Port unreachable)인 경우, 제어부(160)는 통신하고자 하는 호스트의 접속 포트를 변경하여 통신 재연결을 수행하는 이벤트 처리를 할 수 있는 것이다. According to an additional aspect, the controller 160 may check a code value of a destination unreachable message as illustrated in FIG. 5 after step 608 (step 610). This is useful when the mobile terminal divides the corresponding event processing performed in step 612 according to various code values of the received Destination unreachable message. For example, when the code value is code3 (Port unreachable), the controller 160 may change an access port of a host to communicate with and perform an event processing for performing communication reconnection.

608단계에서 아니오이면, 제어부(160)는 수신된 ICMP가 인식 가능한 메시지 인지를 판단한다(620단계). 현재 Qualcomm Source에서는 전술한 바와 같이 Echo request(type 8), Timestamp request(type 13), Information request(type 15)와 같은 ICMP 메시지만 인식할 수 있으므로, 이러한 ICMP 메시지 타입이 수신된 경우에 제어부(160)는 전술한 바와 같은 메시지를 수신하였다는 의미 없는 메시지를 전송하는 해당 처리를 수행한다(622단계). 그 이외의 ICMP 메시지 타입이 수신된 경우에 제어부(160)는 어떤 메시지인지를 알 수 없으므로 무시한다(624단계). 그리고 612단계에서 제어부(160)가 어플리케이션 종료 이벤트 처리를 수행하였다고 한다면, 614단계의 종료 명령은 예를 들어 사용자의 키 조작에 따른 파워-오프 명령일 수 있다. 제어부(160)는 해당 종료 명령에 따라 종료 처리를 수행한다.If NO in step 608, the controller 160 determines whether the received ICMP is a recognizable message (step 620). As described above, the Qualcomm Source can recognize only ICMP messages such as Echo request (type 8), Timestamp request (type 13), and Information request (type 15) as described above. ) Performs a corresponding process of transmitting a meaningless message of receiving the message as described above (step 622). When other ICMP message types are received, the controller 160 does not know what message and ignores it (step 624). If the controller 160 performs the application termination event processing in step 612, the termination command of step 614 may be, for example, a power-off command according to a user's key manipulation. The controller 160 performs termination processing according to the corresponding termination command.

상술한 바와 같이 본 발명에 따른 이동통신 단말기는 TCP/IP를 이용한 서비스시 네트워크 망 측으로부터 전송되어 수신되는 Destination unreachable 메시지를 인식하여 이에 대응할 수 있게 됨으로써, 불필요한 네트워크 통신 자원 낭비 및 단말기의 전원 낭비를 방지할 수 있게 된다.As described above, the mobile communication terminal according to the present invention can recognize and cope with a destination unreachable message transmitted and received from the network during service using TCP / IP, thereby unnecessary waste of network communication resources and waste of power of the terminal. It can be prevented.

한편 본 발명은 도면에 도시된 실시예들을 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술분야에 통상의 지식을 지닌 자라면 이로부터 다양한 변형 및 균등한 타실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위에 의해서만 정해져야 할 것이다.On the other hand, the present invention has been described with reference to the embodiments shown in the drawings, which are merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be defined only by the appended claims.

Claims (11)

삭제delete TCP/IP를 이용하는 어플리케이션을 로딩하여 실행함에 의해 네트워크 망을 통해 특정 호스트와의 통신을 수행하고자 하는 이동통신 단말기에 있어서,In a mobile communication terminal to communicate with a specific host through a network by loading and executing an application using TCP / IP, 네트워크 망으로부터 전송되어 수신되는 인터넷 제어 메시지 프로토콜(ICMP : Internet Control Message Protocol) 메시지가 목적지 도착 불가능(Destination unreachable) 메시지인지를 인식하는 네트워크 에러 인식부와;A network error recognition unit for recognizing whether an Internet Control Message Protocol (ICMP) message transmitted and received from a network is a destination unreachable message; 상기 네트워크 에러 인식부에 의해 상기 목적지 도착 불가능 메시지가 인식되면, 해당 이벤트를 처리하는 이벤트 처리부;An event processing unit processing the event when the destination arrival impossible message is recognized by the network error recognizing unit; 를 포함하는 것을 특징으로 하는 네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기.Communication controllable mobile communication terminal according to the network error, characterized in that it comprises a. 제 2 항에 있어서, 상기 네트워크 에러 인식부가 :The method of claim 2, wherein the network error recognition unit: 상기 수신되는 ICMP 메시지의 형식에 포함된 타입 정보가 type 3인지를 판단하여 목적지 도착 불가능 메시지인지를 인식하는 것을 특징으로 하는 네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기.And determining whether the type information included in the format of the received ICMP message is type 3, and recognizing whether the message cannot reach the destination. 제 3 항에 있어서, 상기 이벤트가 :4. The method of claim 3, wherein the event is: 실행되는 어플리케이션 종료, 통신 재연결 수행을 포함하는 것을 특징으로 하는 네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기.A mobile communication terminal capable of controlling communication according to a network error, comprising terminating an application to be executed and performing a communication reconnection. 제 3 항 또는 제 4 항에 있어서, 상기 이벤트 처리부가 :The method of claim 3 or 4, wherein the event processing unit: 상기 네트워크 에러 인식부에 의해 상기 목적지 도착 불가능 메시지가 수신됨을 인식하면, 수신된 ICMP 메시지의 내용 정보를 체크하는 내용 정보 체크부와,A content information checker which checks the content information of the received ICMP message upon recognizing that the destination arrival impossible message is received by the network error recognition unit; 상기 내용 정보 체크부에 의해 체크된 ICMP 메시지의 내용 정보에 따라 해당 이벤트를 처리하는 이벤트 처리 담당부를 포함하는 것을 특징으로 하는 네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기.And an event processing unit for processing a corresponding event according to the content information of the ICMP message checked by the content information check unit. 제 5 항에 있어서, 상기 내용 정보 체크부가 수신된 목적지 도착 불가능 메시지의 내용 정보를 체크하는 것은 :6. The method of claim 5, wherein the content information checker checks the content information of the received destination impossible message: 수신된 ICMP 메시지 형식에서 코드값을 체크하는 것을 특징으로 하는 네트워크 에러에 따른 통신 제어 가능한 이동통신 단말기.A communication terminal capable of controlling communication according to a network error, characterized by checking a code value in a received ICMP message format. TCP/IP를 이용하는 어플리케이션을 로딩하여 실행함에 의해 네트워크 망을 통해 특정 호스트와의 통신을 수행하고자 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법에 있어서,In a communication control method according to a network error of a mobile communication terminal to communicate with a specific host through a network by loading and executing an application using TCP / IP, a) 네트워크 망으로부터 전송되는 인터넷 제어 메시지 프로토콜(ICMP : Internet Control Message Protocol) 메시지를 수신하는 단계와;a) receiving an Internet Control Message Protocol (ICMP) message transmitted from a network; b) 수신된 ICMP 메시지가 목적지 도착 불가능(Destination unreachable) 메시지인지를 판단하는 단계와;b) determining whether the received ICMP message is a destination unreachable message; c) 판단 결과 수신된 ICMP 메시지가 목적지 도착 불가능 메시지이면, 해당 이벤트를 처리하는 단계;c) if the ICMP message received as a result of the determination is a destination impossible message, processing the event; 를 포함하는 것을 특징으로 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법.Communication control method according to the network error of the mobile communication terminal comprising a. 제 7 항에 있어서, 상기 단계 b)가 목적지 도착 불가능 메시지인지를 판단하는 것은 :8. The method of claim 7, wherein determining whether step b) is a destination unreachable message comprises: 수신된 ICMP 메시지 형식에 포함된 타입 정보가 type 3인지를 판단하는 것을 특징으로 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법.And determining whether the type information included in the received ICMP message format is type 3. The communication control method according to the network error of the mobile communication terminal. 제 8 항에 있어서, 상기 이벤트가 :The method of claim 8, wherein the event is: 실행되는 어플리케이션 종료, 통신 재연결 수행을 포함하는 것을 특징으로 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법.A method of controlling communication according to a network error of a mobile communication terminal, comprising terminating an executed application and performing communication reconnection. 제 8 항 또는 제 9 항에 있어서, 상기 단계 c)가 :10. The method of claim 8 or 9, wherein step c) comprises: c1) 상기 단계 b)에서의 판단 결과 수신된 ICMP 메시지가 목적지 도착 불가능 메시지이면, 수신된 ICMP 메시지의 내용 정보를 체크하는 단계와,c1) checking the content information of the received ICMP message if the ICMP message received as a result of the determination in step b) is not a destination arrival message; c2) 체크된 ICMP 메시지의 내용 정보에 따라 해당 이벤트를 처리하는 단계를 포함하는 것을 특징으로 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법.c2) processing a corresponding event according to the content information of the checked ICMP message. 제 10 항에 있어서, 상기 단계 c1)이 수신된 ICMP 메시지의 내용 정보를 체크하는 것은 :11. The method of claim 10, wherein the checking of the content information of the received ICMP message in step c1) comprises: 수신된 ICMP 메시지 형식에서 코드값을 체크하는 것을 특징으로 하는 이동통신 단말기의 네트워크 에러에 따른 통신 제어 방법.And a code value is checked in a received ICMP message format.
KR1020040103713A 2004-12-09 2004-12-09 Mobile communication terminal be able to control communication according to network error and method thereof KR100698666B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040103713A KR100698666B1 (en) 2004-12-09 2004-12-09 Mobile communication terminal be able to control communication according to network error and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040103713A KR100698666B1 (en) 2004-12-09 2004-12-09 Mobile communication terminal be able to control communication according to network error and method thereof

Publications (2)

Publication Number Publication Date
KR20060065010A KR20060065010A (en) 2006-06-14
KR100698666B1 true KR100698666B1 (en) 2007-03-23

Family

ID=37160349

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040103713A KR100698666B1 (en) 2004-12-09 2004-12-09 Mobile communication terminal be able to control communication according to network error and method thereof

Country Status (1)

Country Link
KR (1) KR100698666B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040012402A (en) * 2002-08-03 2004-02-11 에스케이 텔레콤주식회사 Apparatus and Method for Monitoring Important System Messages in CDMA System

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040012402A (en) * 2002-08-03 2004-02-11 에스케이 텔레콤주식회사 Apparatus and Method for Monitoring Important System Messages in CDMA System

Also Published As

Publication number Publication date
KR20060065010A (en) 2006-06-14

Similar Documents

Publication Publication Date Title
EP2060085B1 (en) Sending keep-alive messages on behalf of another device via keep-alive proxy
JP4589405B2 (en) Client-supported firewall structure
EP1792468B1 (en) Connectivity over stateful firewalls
US20030227939A1 (en) Establishing a connection using a hybrid receiver
EP1886455B1 (en) System and method for accessing a web server on a device with a dynamic ip-address residing a firewall
US20040186918A1 (en) Method and apparatus for dispatching incoming data in a multi-application terminal
WO2004086690A1 (en) Wireless gateway
US7580403B2 (en) Status transmission system and method
US20030123423A1 (en) Mobile/portable terminal and PDP context management method used therefor in constantly-on state
KR101120856B1 (en) Time-to-disconnect enforcement when communicating with wireless devices that have transient network addresses
US7263087B2 (en) Method and system for adding IP routes to a routing mobile terminal with 3G messages
US7170896B2 (en) Communication infrastructure and method to preserve communication link bandwidth in a packet communication session
US20070142076A1 (en) Alarm and messaging communications system having wireless network gateway
US7633931B2 (en) Method for dynamically handling the data path of a wireless IP phone
KR100698666B1 (en) Mobile communication terminal be able to control communication according to network error and method thereof
US20060095546A1 (en) Method and system for locating services in proximity networks for legacy application
US7116784B2 (en) Method and apparatus for authenticated reporting in a mobile communication device
ZA200508661B (en) Establishing a connection using a hybrid receiver
JP2005210281A (en) Message communication method and system
Lemlouma et al. An Easy Cellular Gateway for Providing Shared Services and Data

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130304

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140228

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150302

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160302

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee