KR100419578B1 - Session control method in DIAMETER base transfer internet protocol net - Google Patents

Session control method in DIAMETER base transfer internet protocol net Download PDF

Info

Publication number
KR100419578B1
KR100419578B1 KR10-2002-0013340A KR20020013340A KR100419578B1 KR 100419578 B1 KR100419578 B1 KR 100419578B1 KR 20020013340 A KR20020013340 A KR 20020013340A KR 100419578 B1 KR100419578 B1 KR 100419578B1
Authority
KR
South Korea
Prior art keywords
session
state
subscriber
information
home
Prior art date
Application number
KR10-2002-0013340A
Other languages
Korean (ko)
Other versions
KR20030035759A (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 엘지전자 주식회사
Publication of KR20030035759A publication Critical patent/KR20030035759A/en
Application granted granted Critical
Publication of KR100419578B1 publication Critical patent/KR100419578B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 관한 것임.The present invention relates to a session control method in a diameter based mobile internet protocol network.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 다이아미터 세션의 구분자인 세션 아이디와 안정적인 메시지 처리를 위한 가입자의 세션 상태 등을 포함한 세션 정보를 이용하며, 방문 가입자 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리할 수 있도록 하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention utilizes session information including a session ID, which is a separator of a diameter session, and a session state of a subscriber for stable message processing, and can process a session establishment and release request according to an address request type of a visiting subscriber home subscriber. To provide a session control method in a diameter-based mobile Internet protocol network and a computer-readable recording medium recording a program for realizing the method.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 있어서, 다이아미터 서버에서 사용될 세션 정보를 초기화하고 세션 상태 정보를 유휴 상태로 초기화하는 제 1 단계; 연결되어 있는 상대 노드들간의 통신을 위해 소켓을 생성하여 연결을 설정하는 제 2 단계; 연결 설정된 소켓을 통해 상기 다이아미터 서버에 연결되어 있는 상대 노드들로부터 시스템 정보를 수집하는 제 3 단계; 및 상기 시스템 정보내에 실린 이동 아이피(IP)를 지원하는 다이아미터(DIAMETER) 메시지들의 세션 아이디와 세션 정보를 이용하여 방문 가입자 및 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리하고, 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시에 처리하는 제 4 단계를 포함함.A session control method in a diameter based mobile internet protocol network, the method comprising: a first step of initializing session information to be used in a diameter server and initializing session state information to an idle state; A second step of establishing a connection by creating a socket for communication between connected nodes; Collecting system information from counterpart nodes connected to the diameter server through a connected socket; And using the session ID and session information of DIAMETER messages supporting the mobile IP included in the system information, process the session establishment and release request according to the address request type of the visitor and the home subscriber, And a fourth step of simultaneously processing a session establishment and release request of a subscriber using the network resource.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 다이아미터 기반 이동 인터넷 프로토콜 망 등에 이용됨.The present invention is used in the diameter-based mobile Internet protocol network.

Description

다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법{Session control method in DIAMETER base transfer internet protocol net}Session control method in diameter based mobile internet protocol network {Session control method in DIAMETER base transfer internet protocol net}

본 발명은 다이아미터(DIAMETER) 기반 이동 인터넷 프로토콜 망에서의 다이아미터 세션 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히 정적 또는 동적 주소와 같은 주소 타입의 홈 주소 및 홈 에이전트 주소를 가지는 홈가입자/방문가입자 뿐만 아니라방문망 자원을 사용하는 동적 주소를 가진 방문망 가입자의 세션 설정 및 해제 요구를 다른 프로세서로 분리하여 처리하지 않고 단일 프로세서에서 동시에 처리할 수 있도록 하기 위한 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for controlling a session of a diameter in a DIAMETER based mobile internet protocol network and to a computer readable recording medium having recorded thereon a program for realizing the method, in particular an address type such as a static or dynamic address. The session setup and teardown requests of home subscribers / visitors with home addresses and home agent addresses of the network as well as visitor subscribers with dynamic addresses using visitor resources can be handled simultaneously by a single processor rather than by separating them into other processors. The present invention relates to a session control method in a diameter-based mobile Internet protocol network and a computer readable recording medium storing a program for realizing the method.

현재, 인터넷 프로토콜(이하 IP)망에서 이동성을 제공해주기 위한 방안으로 이동 IP가 제안되고 있다. 이는 이동 노드가 접속점 변경시에도 연결을 유지할 수 있게 한다. 그러나, 무선 환경에서 상용 인터넷 서비스를 제공하기 위해서는 가입자를 인증하고, 연결에 대한 권한 검증을 수행하며 과금을 수행하는 기능이 추가되어야 한다.Currently, mobile IP has been proposed as a method for providing mobility in an Internet protocol (hereinafter referred to as IP) network. This allows the mobile node to stay connected even when the connection point changes. However, in order to provide a commercial Internet service in a wireless environment, a function of authenticating a subscriber, verifying authorization of a connection, and performing charging must be added.

이를 위해 RADIUS(Remote Authentication Dial In User Service) 프로토콜이 제안되었으나, 라우터 및 네트워크 액서스 서버들이 복잡해짐에 따라 ROAMOPS(Roaming Operations Working Groups) 워킹 그룹은 RADIUS의 클라이언트-서버 구조로 인하여 이동망 적용이 부적절함을 지적하고 있다.The Remote Authentication Dial In User Service (RADIUS) protocol has been proposed for this purpose, but as routers and network access servers become more complex, the Roaming Operations Working Groups (ROAMOPS) working group is inadequate for mobile network applications due to the client-server architecture of RADIUS. Pointing out.

또한, 제한된 데이터 공간을 가지고 있어 정보전달에 있어 한계가 있으며, UDP 위에서 동작하므로 신뢰성 및 재전송 기능을 제공하지 못함으로 이를 보완하기 위해 다이아미터 프로토콜이 제안되었다. DIAMETER 프로토콜은 "peer-to-peer" 모델로 디자인되어 있어, DIAMETER 서버간에도 메시지를 송수신할 수 있다. 또한, 데이터들이 AVP(Attribute Value Pair)로 캡슐화되어 많은 양의 정보를 전송하기에 충분한 데이터 공간을 가지며, SCTP(Stream Control Transmission Protocol)위에동작하도록 되어 있어 RADIUS 단점을 보완할 수 있는 신뢰성 전송 및 재전송을 제공한다.In addition, there is a limit in information transmission because of limited data space, and because the operation over UDP does not provide reliability and retransmission function, a diameter protocol has been proposed to compensate for this. The DIAMETER protocol is designed as a "peer-to-peer" model, so messages can be sent and received between DIAMETER servers. In addition, the data is encapsulated in an Attribute Value Pair (AVP), which has enough data space to transmit a large amount of information, and operates over SCTP (Stream Control Transmission Protocol) to provide reliable transmission and retransmission to compensate for the RADIUS shortcomings. To provide.

따라서, DIAMETER는 네트워크 액서스 서비스를 위해 사용되는 인증, 권한 검증 및 과금 프로토콜이며, DIAMETER 프로토콜은 세션 기반의 프로토콜이다. 하나의 세션은 세션 아이디로 구분이 가능하며, 이는 세션 연장 및 핸드 오버시 구분할 수 있는 가장 중요한 요소이다. DIAMETER 서버들은 자신에게 등록되어 있는 가입자가 새로운 세션 등록하는 경우 가입자 인증, 권한 검증 및 이동 노드와 이동 에이전트간의 보안을 위한 세션 키 분배 기능을 수행하며, 세션 정보를 유지하고 있어야 한다. 세션은 세션 아이디로 구분이 되며, 각각의 세션은 정해진 세션 타임동안 유지된다. 가입자의 요청에 따라 세션 정보를 유지하기 위해 세션 타임이 만료되기 전에 연장하거나, 이동 노드의 이동에 따른 핸드 오버 요청을 수행하기 위해서는 초기 등록된 세션 정보를 유지하고 있어야 한다. 또한, 메시지 송신 및 수신 과정을 올바르게 처리하기 위해서는 DIAMETER 세션 상태 관리가 필요하다. 가입자가 요구한 홈 주소 및 홈 에이전트 주소의 타입에 따라 세션 설정 및 해제 요구를 처리할 수 있어야 하며, 방문 가입자 역시 처리가 가능해야 한다. 그리고, 방문망 자원 사용을 요구하는 가입자의 경우, 가입자와 미리 협약된 사항에 따라 세션 요구를 처리할 수 있어야 한다.Therefore, DIAMETER is an authentication, authorization verification and billing protocol used for network access service, and DIAMETER protocol is a session based protocol. One session can be distinguished by session ID, which is the most important element to distinguish between session extension and handover. DIAMETER servers must perform session key distribution for subscriber authentication, authorization verification, and security between mobile node and mobile agent when subscriber registered to new session registers new session. Sessions are identified by session ID, and each session is held for a set session time. In order to maintain session information according to a subscriber's request, it is necessary to extend the session time before expiration or to maintain initial registered session information in order to perform a handover request according to the movement of a mobile node. In addition, DIAMETER session state management is required to correctly process message transmission and reception. The session establishment and release request should be handled according to the type of home address and home agent address requested by the subscriber, and the visiting subscriber should also be able to process. In addition, the subscriber requesting the use of the visited network resource should be able to process the session request according to the pre-arranged matter with the subscriber.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 다이아미터 세션의 구분자인 세션 아이디와 안정적인 메시지 처리를 위한 가입자의 세션 상태 등을 포함한 세션 정보를 이용하며, 방문 가입자 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리할 수 있도록 하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and uses session information including session ID, which is a separator of a diameter session, and session state of a subscriber for stable message processing. The purpose of the present invention is to provide a session control method in a diameter-based mobile Internet protocol network that can handle session establishment and teardown requests according to a request type, and a computer-readable recording medium recording a program for realizing the method. have.

도 1 은 본 발명이 적용되는 다이아미터를 기반으로 한 이동 IP 망의 구성 예시도.1 is a diagram illustrating a configuration of a mobile IP network based on a diameter to which the present invention is applied.

도 2 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에서 다이아미터 망들의 구조와 보안관계를 나타낸 일실시예 설명도.2 is a diagram illustrating an embodiment of a structure and security relationship of a diameter network in a session control method in a diameter-based mobile internet protocol network according to the present invention;

도 3a 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 대한 일실시예 흐름도.3A is a flowchart illustrating a session control method in a diameter based mobile internet protocol network according to the present invention;

도 3b 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 AMR 메시지 처리 과정에 대한 일실시예 상세 흐름도.3B is a detailed flowchart illustrating an AMR message processing procedure in a session control method in a diameter-based mobile Internet protocol network according to the present invention;

도 3c 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 AMA 메시지 처리 과정에 대한 일실시예 상세 흐름도.3c is a detailed flowchart illustrating an AMA message processing procedure in a session control method in a diameter-based mobile internet protocol network according to the present invention;

도 3d 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 HAR 메시지 처리 과정에 대한 일실시예 상세 흐름도.3d is a detailed flowchart illustrating an HAR message processing procedure in a session control method in a diameter-based mobile internet protocol network according to the present invention;

도 3e 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의세션 제어 방법 중 HAA 메시지 처리 과정에 대한 일실시예 상세 흐름도.3E is a detailed flowchart illustrating an HAA message processing procedure in a session control method in a diameter-based mobile internet protocol network according to the present invention;

도 3f 및 도 3g는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STR 메시지 처리 과정에 대한 일실시예 상세 흐름도.3F and 3G are detailed flowcharts illustrating an STR message processing procedure of a session control method in a diameter based mobile Internet protocol network according to the present invention.

도 3h 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STA 메시지 처리 과정에 대한 일실시예 상세 흐름도.3h is a detailed flowchart illustrating an STA message processing in a session control method in a diameter-based mobile internet protocol network according to the present invention;

도 3i 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STI 메시지 처리 과정에 대한 일실시예 상세 흐름도.3I is a detailed flowchart illustrating an STI message processing procedure in a session control method in a diameter-based mobile Internet protocol network according to the present invention.

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

11 : 이동노드 12 : 무선 접근망11: mobile node 12: wireless access network

13 : 외부에이전트(FA) 14 : 라우터13: external agent (FA) 14: router

15 : 다이아미터 서버 16 : 홈에이전트(HA)15: diameter server 16: home agent (HA)

상기 목적을 달성하기 위한 본 발명은, 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 있어서, 다이아미터 서버에서 사용될 세션 정보를 초기화하고 세션 상태 정보를 유휴 상태로 초기화하는 제 1 단계; 연결되어 있는 상대 노드들간의 통신을 위해 소켓을 생성하여 연결을 설정하는 제 2 단계; 연결 설정된 소켓을 통해 상기 다이아미터 서버에 연결되어 있는 상대 노드들로부터 시스템 정보를 수집하는 제 3 단계; 및 상기 시스템 정보내에 실린 이동 아이피(IP)를 지원하는 다이아미터(DIAMETER) 메시지들의 세션 아이디와 세션 정보를 이용하여 방문 가입자 및 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리하고, 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시에 처리하는 제 4 단계를 포함하여 이루어진 것을 특징으로 한다.In order to achieve the above object, the present invention provides a session control method in a diameter-based mobile Internet protocol network, comprising: a first step of initializing session information to be used in a diameter server and initializing session state information in an idle state; A second step of establishing a connection by creating a socket for communication between connected nodes; Collecting system information from counterpart nodes connected to the diameter server through a connected socket; And using the session ID and session information of DIAMETER messages supporting the mobile IP included in the system information, process the session establishment and release request according to the address request type of the visitor and the home subscriber, And a fourth step of simultaneously processing a session establishment and release request of a subscriber using a network resource.

또한, 본 발명은, 프로세서를 구비한 이동 인터넷 프로토콜 망에, 다이아미터 서버에서 사용될 세션 정보를 초기화하고 세션 상태 정보를 유휴 상태로 초기화하는 제 1 기능; 연결되어 있는 상대 노드들간의 통신을 위해 소켓을 생성하여 연결을 설정하는 제 2 기능; 연결 설정된 소켓을 통해 상기 다이아미터 서버에 연결되어 있는 상대 노드들로부터 시스템 정보를 수집하는 제 3 기능; 및 상기 시스템 정보내에 실린 이동 아이피(IP)를 지원하는 다이아미터(DIAMETER) 메시지들의 세션 아이디와 세션 정보를 이용하여 방문 가입자 및 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리하고, 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시에 처리하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a mobile Internet protocol network having a processor, comprising: a first function of initializing session information to be used in a diameter server and initializing session state information into an idle state; A second function of establishing a connection by creating a socket for communication between connected nodes; A third function of collecting system information from counterpart nodes connected to the diameter server through a connected socket; And using the session ID and session information of DIAMETER messages supporting the mobile IP included in the system information, process the session establishment and release request according to the address request type of the visitor and the home subscriber, A computer readable recording medium having recorded thereon a program for realizing a fourth function of simultaneously processing a session establishment and release request of a subscriber using a network resource.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 다이아미터를 기반으로 한 이동 IP 망의 구성 예시도로서, 도면에서 "11"은 이동노드, "12"는 무선 접근망, "13"은 외부에이전트(FA), "14"는 라우터, "15"는 다이아미터 서버 및 "16"은 홈에이전트(HA)를 각각 나타낸다.1 is a diagram illustrating a configuration of a mobile IP network based on a diameter to which the present invention is applied. In the drawing, "11" is a mobile node, "12" is a wireless access network, "13" is an external agent (FA), " 14 denotes a router, 15 denotes a diameter server, and 16 denotes a home agent HA.

도 1에 도시된 바와 같이, 하나의 도메인은 이동 IP 프로토콜이 탑재되어 링크를 변경하여도 서비스가 지속될 수 있는 이동노드(11), 기지국 등으로 이루어진 무선 접근망(12), 이동 노드(11)가 방문한 링크의 라우터(14)로써 이동 노드(11)의 패킷을 라우팅하는 다수의 외부에이전트(13), 이동 노드(11)의 위치 정보를 유지하고, 이동 노드(11)의 인증을 수행하며, 이동 노드(11)의 링크 변경시 이동한 곳으로 패킷을 전달해주는 홈에이전트(16), 이동 노드(11)의 인증, 권한 검증, 과금을수행하는 다이아미터 서버(15)로 구성된다.As shown in FIG. 1, one domain includes a mobile node 11, a base station, and the like, wherein a mobile node 11, a base station, etc., in which a mobile IP protocol is mounted so that service can continue even if a link is changed is provided. Maintains location information of a plurality of external agents 13 and mobile nodes 11 that route packets of mobile nodes 11 as routers 14 of visited links, performs authentication of mobile nodes 11, and moves It consists of a home agent 16 which delivers packets to the moving place when the link of the node 11 is moved, and a diameter server 15 which performs authentication, authority verification, and charging of the mobile node 11.

도 2 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에서 다이아미터 망들의 구조와 보안관계를 나타낸 일실시예 설명도이다.2 is a diagram illustrating an embodiment of a structure and security relationship of a diameter network in a session control method in a diameter-based mobile Internet protocol network according to the present invention.

도 2에 도시된 바와 같이, 한 도메인은 이동 노드(11), 외부에이전트(13), 다이아미터 서버(15) 및 홈에이전트(16)로 구성된다.As shown in FIG. 2, one domain consists of a mobile node 11, an external agent 13, a diameter server 15, and a home agent 16.

이들은 다이아미터 서버(15)와 미리 정의된 보안 관계인 SA((Security Association)), 즉 SA1(201), SA2(202), SA3(203)를 가지고 있다. 다이아미터 서버(15)들 간에도 SA4(204)가 있다.They have a security association (SA) (SA1) 201, SA2 (202), SA3 (203), which are predefined security relationships with the diameter server (15). There is also SA4 204 between the diameter servers 15.

이동 노드(11)의 이동시 각 도메인은 홈망(205)과 방문망(206)으로 구분된다. 홈망(205)은 이동 노드(11)가 처음으로 가입한 망으로, 가입자에 대한 인증 및 권한 검증을 수행할 수 있는 망을 의미한다. 방문망(206)은 이동 노드(11)의 홈망(205)을 제외한 망으로 이동 노드(11)에게 서비스를 제공하는 망을 의미한다.When the mobile node 11 moves, each domain is divided into a home network 205 and a visited network 206. The home network 205 is a network to which the mobile node 11 joins for the first time, and means a network that can perform authentication and authority verification for subscribers. The visited network 206 means a network that provides a service to the mobile node 11 in a network other than the home network 205 of the mobile node 11.

이동 노드(11)가 방문망(206)에서 등록시 이동 노드(11)에 대한 가입자 인증 및 권한 검증은 홈 다이아미터 서버(15)만이 이동 노드(11)와 가지고 있는 SA(201)를 통해 수행할 수 있다. 가입자 인증 및 권한 검증이 성공하면, 이동 노드(11)와 이동 에이전트간의 메시지 인증 및 노드 인증에 사용되는 세션 키(세션 키1(207), 세션 키2(208), 세션 키3(209))를 홈 다이아미터 서버(15)가 생성 및 분배한다. 생성되는 세션 키는 이동 노드(11)와 홈 에이전트(16)간 세션 키1(207), 이동 노드(11)와 외부 에이전트(13)간 세션 키2(208), 그리고 외부 에이전트(13)와홈 에이전트(16)간 세션 키3(209)이다. 이렇게 생성된 세션 키는 각 노드에서 미리 정의된 보안 관계인 SA로 암호화되어 각 노드들에게 전달된다. 이들 세션 키는 세션 연장전까지 사용이 가능하며, 세션이 종료되면 의미를 더 이상 가지지 않는다.When the mobile node 11 registers in the visited network 206, subscriber authentication and authority verification for the mobile node 11 may be performed through the SA 201, which only the home diameter server 15 has with the mobile node 11. Can be. If subscriber authentication and authority verification succeed, the session key (session key 1 207, session key 2 208, session key 3 209) used for message authentication and node authentication between the mobile node 11 and the mobile agent. Is generated and distributed by the home diameter server 15. The generated session key includes session key 1 207 between mobile node 11 and home agent 16, session key 2 208 between mobile node 11 and external agent 13, and home agent 13 with home agent. Session key 3 209 between agents 16. The generated session key is encrypted with SA, which is a predefined security relationship at each node, and transmitted to each node. These session keys can be used until session overtime and have no meaning once the session ends.

도 3a 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 대한 일실시예 흐름도로서, 다이아미터 이동 IP망에서 이동 노드(11)를 인증하고, 세션 연결에 대한 권한 검증, 그리고 서비스 사용에 대한 과금 부과를 위해 이동 노드(11)가 연결해야 하는 다이아미터 서버(15)에서의 세션 설정 및 해제 요구 처리 과정을 나타낸 것이다.3A is a flowchart illustrating a session control method in a diameter-based mobile internet protocol network according to the present invention, which authenticates a mobile node 11 in a diameter mobile IP network, verifies the authority for session connection, and The process of session establishment and release request processing in the diameter server 15 to which the mobile node 11 needs to connect in order to charge a service is shown.

다이아미터 서버(15)는 자신에게 최초 등록된 가입자들과 상기 도 2와 같은 보안 관계를 가지고 있으며, 가입자들이 요구하는 주소 타입, HA 도메인 등의 가입자와 미리 협약한 정보를 가지고 있다.The diameter server 15 has the security relationship as shown in FIG. 2 with the subscribers initially registered to the diameter server 15, and has information previously agreed with the subscribers such as the address type and HA domain required by the subscribers.

본 발명에서 세션 정보는 홈 가입자 세션 정보, 방문 가입자 세션 정보 및 방문가입자 임시 세션 정보로 3가지로 구분되어 저장된다.In the present invention, the session information is divided into three types of home subscriber session information, visited subscriber session information, and visitor temporary session information.

먼저, 홈 가입자 세션 정보는 다이아미터 홈 가입자를 위한 세션 정보이다.First, home subscriber session information is session information for a diameter home subscriber.

다음, 방문 가입자 세션 정보는 세션 설정을 요청한 가입자의 인증, 권한 검증이 성공한 방문 가입자만을 위한 세션 정보이다.Next, the visited subscriber session information is session information only for visited subscribers who have successfully authenticated and verified their authority.

마지막으로, 방문 가입자 임시 세션 정보는 세션 설정을 요청한 가입자의 인증 및 권한 검증이 이루어 지지 않은 가입자를 위한 임시 세션 정보로서, 인증 및 권한 검증이 성공한 경우 방문 가입자 임시 세션 정보에 있는 가입자에 대한 정보가 방문 가입자 세션 정보로 옮겨지고 복사된 방문 가입자 임시 세션 정보는 삭제된다.Lastly, the visitor temporary session information is temporary session information for a subscriber who has not performed authentication and authorization verification of the subscriber who requested the session establishment. If the authentication and authorization verification is successful, information about the subscriber in the visitor temporary session information is displayed. The visited subscriber temporary session information that has been moved and copied to the visited subscriber session information is deleted.

이와 같이, 이동 가입자의 정보에 따라 이동 가입자는 정적 주소 및 동적 주소를 사용할 수 있으며, 또한 방문망 주소를 사용할 수도 있다.As such, according to the mobile subscriber's information, the mobile subscriber may use a static address and a dynamic address, and may also use a visited network address.

본 발명에서 이동 가입자가 동적 주소를 사용하는 경우 필요한 동적 주소 할당을 위한 DHCP(Dynamic Home Configuration Protocol) 그리고 가입자 주소와 호스트 이름을 매칭하기 위한 DNS(Domain Name Server)를 이용하지만, 각각에 대한 메커니즘은 논외로 한다. 모든 메시지 전송시, 송신 메시지에 대한 응답 메시지를 수신할 때까지의 시간을 임의로 셋한다.In the present invention, a mobile subscriber uses a dynamic home configuration protocol (DHCP) for dynamic address allocation and a domain name server (DNS) for matching a subscriber address and a host name when the mobile subscriber uses a dynamic address. Be out of argument. In all message transmissions, the time until receipt of a response message to the transmission message is arbitrarily set.

만일, 기다리는 응답 메시지를 수신하지 못하는 경우, 수신 메시지를 무시하고 기다리며, 만일 시간이 만료하면 관련된 세션 정보를 삭제한다. 가입자는 홈망 자원과 방문망 자원의 사용이 가입자가 최초 홈 다이아미터 서버와 협약한 내용에 따라 가능하다. 본 발명에서 가입자가 홈망 자원을 사용하는지 방문망 자원을 사용하는지에 대한 여부는 "ha_domain" 변수에 저장된다. "ha_domain"이 가질 수 있는 값에는 "home", "foreign", 그리고 "fha_request"가 있다. "home"은 홈망 자원을 사용하는 경우이고, "foreign"은 방문망 자원을 사용하는 경우이며, "fha_request"는 방문망에서 등록하여, 홈 주소와 홈 에이전트 주소 모두를 동적 주소로 요구한 경우, 방문망 자원 사용이 가능한지 유무는 방문 다이아미터에서 판단할 수 없고, 홈 다이아미터 서버에서 가입자 프로파일로 판단이 가능하므로, 결정을 유보한 상태이다. 가입자의 요구가 가입자의 홈 다이아미터 서버로 전달되면, 가입자가 방문망 자원 사용 요구시, 가입자 프로파일을 확인하여, 방문망 자원 사용이 가능하면,"ha_domain"은 "foreign"으로, 방문망 자원 사용이 불가능하면, "ha_domain"은 "home"으로 저장된다. 한편, 세션 해제가 발생할 수 있는 경우는 크게 2가지가 있다. 먼저, 가입자가 세션 해제를 명시적으로 요구하는 경우와 미리 정해진 세션 타임 동안 유지된 세션 정보가 세션 타임이 만료함에 따라 자동적으로 세션 해제 절차가 발생할 수 있다. 세션 타임은 이동 노드, FA, HA, 그리고 다이아미터 서버가 유지하고 있으며, 세션 타임 만료에 의한 세션 해제 절차시 다이아미터 서버는 STI를 발생시키고, 이동 노드, FA 그리고 HA는 STR을 발생시킨다.If it does not receive the waiting response message, it ignores the received message and waits. If the time expires, the associated session information is deleted. The subscriber can use the home network resources and the visited network resources according to the contents of the subscriber's initial agreement with the home diameter server. In the present invention, whether a subscriber uses home network resources or visiting network resources is stored in a "ha_domain" variable. The possible values of "ha_domain" are "home", "foreign", and "fha_request". When "home" is used for home network resources, "foreign" is used for visiting network resources, and "fha_request" is registered on the visiting network so that both a home address and a home agent address are required as dynamic addresses, Whether or not the use of the visiting network resources is available cannot be determined by the visitor diameter, and can be determined by the subscriber profile in the home-diameter server. When the subscriber's request is forwarded to the subscriber's home diameter server, the subscriber checks the subscriber profile when requesting the visited network resource usage, and if the visited network resource is available, "ha_domain" is "foreign" and the visited network resource is used. If this is not possible, "ha_domain" is stored as "home". On the other hand, there are two cases in which session release may occur. First, a session release procedure may occur automatically when a subscriber explicitly requests to release a session and when session information expired for session information maintained for a predetermined session time. The session time is maintained by the mobile node, FA, HA, and diameter server. In the session release procedure due to session time expiration, the diameter server generates STI, and the mobile node, FA, and HA generate STR.

상기한 바와 같이, 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 대한 동작 과정을 살펴보면 다음과 같다.As described above, the operation of the session control method in the diameter-based mobile Internet protocol network according to the present invention will be described as follows.

도 3a에 도시된 바와 같이, 다이아미터 서버(15)는 시작시 세션 정보들을 초기화하고, 각 세션 상태(state)를 유휴(idle) 상태로 저장한다(301).As shown in FIG. 3A, the diameter server 15 initializes session information at startup and stores each session state in an idle state (301).

이렇게, 세션 정보를 초기화 후, 연결되어 있는 상대 노드들과의 정보를 교환하기 위해 소켓을 생성한다(302).In this manner, after initializing the session information, a socket is created to exchange information with connected partner nodes (302).

이어서, 다이아미터 서버(15)에 연결되어 있는 에이전트들의 정보를 수집하고(303), 상대 시스템 정보에서 전달되는 메시지들의 수신을 기다린 후, 다이아미터 세션 설정 및 해제를 위하여, 다이아미터 서버(15)가 수신할 수 있는 메시지의 종류를 판단한다(304).Subsequently, after collecting information on the agents connected to the diameter server 15 (303), waiting for reception of messages transmitted from the counterpart system information, and setting up and tearing down the diameter session, the diameter server 15 The type of message that can be received is determined (304).

이후, 각 수신된 메시지의 종류에 따라, 이동 IP를 지원하는 다이아미터 메시지(AMR 메시지, AMA 메시지, HAR 메시지, HAA 메시지, STR 메시지, STA 메시지, 및 STI 메시지)들을 각각 처리한다(305 내지 311).Then, according to the type of each received message, process the diameter messages (AMR message, AMA message, HAR message, HAA message, STR message, STA message, and STI message) supporting the mobile IP, respectively (305 to 311). ).

이렇게, 세션을 설정 및 해제하는데 있어서 다이아미터 서버(15)가 수신할 수 있는 메시지에는 AMR(AA-Mobile-Node-Request), AMA(AA-Mobile-Node-Answer), HAR(Home-Agent-MIP-Request), HAA(Home-Agent-MIP-Answer), STR(Session-Termination-Request), STA(Session-Termination-Answer), 및 STI(Session-Termination-Ind)가 있다. 각 메시지 수신 시, 처리 절차는 다음과 같으며, 각 메시지 처리 후 다이아미터 서버(15)는 다음 메시지를 기다리는 상태가 된다.In this way, the message that the diameter server 15 may receive in establishing and releasing a session may include AA-Mobile-Node-Request (AMR), AA-Mobile-Node-Answer (AMA), and Home-Agent- (HAR). MIP-Request, Home-Agent-MIP-Answer (HAA), Session-Termination-Request (STR), Session-Termination-Answer (STA), and Session-Termination-Ind (STI). Upon receiving each message, the processing procedure is as follows, and after processing each message, the diameter server 15 is in a state of waiting for the next message.

도 3b 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 AMR(AA-Mobile-Node-Request) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.3b is a detailed flowchart illustrating an AMR (AA-Mobile-Node-Request) message processing procedure in a session control method in a diameter-based mobile internet protocol network according to the present invention.

도 3b에 도시된 바와 같이, FA(13)로부터 수신한 에이전트 광고 메시지를 수신한 이동 노드(11)는 MIP(Management Information Protocol) 등록 요구 메시지를 FA(13)에게 전송하며, 이를 수신한 FA(13)는 유일한 세션 아이디를 생성하고, MIP 등록 요구 메시지를 포함하는 다이아미터 AMR 메시지를 생성하고, 해당 지역의 다이아미터 서버(15)에게 전송한다. 이를 수신한 다이아미터 서버(15)는 AMR을 전송한 가입자의 NAI(Network Access Identifier)로 다이아미터 서버(15)에 속해 있는 가입자 정보를 검색하여(401) 홈가입자 또는 방문가입자인지를 판단한다(402).As shown in FIG. 3B, the mobile node 11 receiving the agent advertisement message received from the FA 13 transmits a Management Information Protocol (MIP) registration request message to the FA 13, and receives the FA ( 13) generates a unique session ID, generates a diameter AMR message containing a MIP registration request message, and sends it to the diameter server 15 of the corresponding region. The received diameter server 15 searches for subscriber information belonging to the diameter server 15 by NAI (Network Access Identifier) of the subscriber who transmitted the AMR (401) and determines whether it is a home subscriber or a visited subscriber (401). 402).

판단 결과(402), 방문가입자일 경우, AMR을 통해 수신한 정보들을 방문가입자 임시 세션 정보에 저장한다(403).As a result of the determination (402), in the case of the visitor, information received through the AMR is stored in the visitor temporary session information (403).

이어서, 가입자가 MN(Mobile Node), HA 주소 모두 동적 주소 요구시(404,405), HA 도메인을 방문망 홈에이전트(16)를 요구한 상태로 일단 지정한다(ha_domaim=fha_request)(406). 이때, 상태는 HAR 및 AMA를 기다리고 있는 상태로 천이하게 되며(state=HarAmaWaiting)(407), 홈 다이어미터 서버(AAAh)(15)에게 AMR 메시지를 전송한다(408).Subsequently, when the subscriber requests the dynamic address (404, 405) for both the mobile node (MN) and the HA address, the subscriber designates the HA domain with the visited network home agent 16 requested (ha_domaim = fha_request) 406. At this time, the state transitions to the state waiting for HAR and AMA (state = HarAmaWaiting) (407), and transmits an AMR message to the home diameter server (AAAh) 15 (408).

가입자가 요구한 MN, HA 주소 타입이 이와 다른 경우(404.405), HA 도메인을 홈 도메인으로 지정한다(ha_domain=home)(409). 이때, 상태는 AMA를 기다리고 있는 상태로 천이하게 된다(state=AmaWaiting)(410).If the subscriber requested MN and HA address types are different (404.405), the HA domain is designated as the home domain (ha_domain = home) (409). At this time, the state transitions to the state waiting for AMA (state = AmaWaiting) 410.

판단 결과(402), 홈 가입자일 경우, 가입자 인증이 실패하거나(411) 가입자 권한 검증이 실패한 경우(412), 가입자 인증 실패 및 가입자 권한 검증 실패 결과값을 포함하여 FA(13)에게 AMA를 전송(실패 이유를 전송)한다(413).If the determination result (402), if the home subscriber, the subscriber authentication fails (411) or the subscriber authority verification failed (412), the AMA is sent to the FA (13) including the subscriber authentication failure and subscriber authority verification failure results (Send a failure reason) (413).

그리고, 가입자 인증(411) 및 권한 검증(412)이 성공한 경우, MN 동적 주소 사용 여부를 확인한다(414).If the subscriber authentication 411 and the authority verification 412 succeed, it is checked whether the MN dynamic address is used (414).

확인 결과(414), 이동 노드(11)와 HA(16)가 모두 HA 동적 주소를 요구하면(415) 방문망에 있는 HA(16) 사용을 요구하여 미리 저장되어 있는 가입자 정보에서 방문망 HA(16) 사용이 가능한지를 확인하여(416,417) 사용이 가능하면 HAA를 기다리는 상태로 천이하게 되고 HA 도메인을 방문망 HA(16) 사용하는 것으로 저장된다(state=HaaWaiting, ha_domain=foreign)(418). 또한, 가입자 인증 및 권한 검증이 모두 성공적으로 수행되었으므로 가입자 세션 정보를 홈 가입자 세션 정보에 저장한다(419). 이어서, 새로운 세션을 위한 세션 키를 생성하고(420) 방문망 다이아미터 서버(AAAf)(15)에게 HAR을 전송한다(421).As a result of the check (414), if the mobile node 11 and the HA 16 both require the HA dynamic address (415), the mobile node 11 and the HA 16 request the use of the HA (16) in the visited network. 16) If it is available (416, 417), if available, the transition to the state waiting for HAA and the HA domain is stored by using the visited network HA (16) (state = HaaWaiting, ha_domain = foreign) (418). In addition, since both subscriber authentication and authority verification have been successfully performed, the subscriber session information is stored in the home subscriber session information (419). Subsequently, a session key for a new session is generated (420) and the HAR is transmitted to the visiting network diameter server (AAAf) 15 (421).

한편, 이동 노드(11)와 HA(16) 모두 동적 주소를 요구하나, 방문망 HA(16)사용이 불가능한 가입자로 등록되어 있는 경우, 또한 이동 노드(11)만 동적 주소를 요구하는 경우, HA(16)만 동적 주소를 요구하는 경우 홈 다이아미터 서버에서 동적 주소 할당을 요구하게 되므로 주소 요구 상태로 천이하게 되며(state= AdrPending, ha_domain=home)(422), HA 도메인은 HA(16)를 사용하는 것으로 저장된다. 주소 할당 요구를 통해 주소를 할당받으면(423) HAA를 기다리는 상태로 천이하게 되며(state=HaaWaiting)(424), 가입자의 세션 정보는 홈 가입자 세션 정보에 저장된다(425). 또한, 새로운 세션을 위한 키를 생성하고(426), HA(16)에게 HAR 메시지를 전송한다(427).On the other hand, when both the mobile node 11 and the HA 16 require a dynamic address, but are registered as a subscriber who cannot use the visited network HA 16, and only the mobile node 11 requires a dynamic address, the HA If only (16) requires a dynamic address, the home diameter server requests dynamic address allocation, so it transitions to the address request state (state = AdrPending, ha_domain = home) (422), and the HA domain is assigned to HA (16). Stored for use. When the address is allocated through the address allocation request (423), the state transitions to a waiting state for the HAA (state = HaaWaiting) (424), and the subscriber session information is stored in the home subscriber session information (425). In addition, generate a key for a new session (426), and transmits a HAR message to the HA (427).

한편, 이동 노드(11)와 HA(16) 모두 정적 주소를 요구한 경우(428) HAA를 기다리는 상태로 천이하고 HA 도메인은 홈 도메인의 HA(16)를 사용하는 것으로 저장되며(429), 가입자가 요구한 세션 정보는 홈 가입자 세션 정보에 저장되고(430), 새로운 세션에 사용될 세션 키를 생성하여(431) HA(16)에게 HAR 메시지를 전송한다(432).On the other hand, if both the mobile node 11 and the HA 16 request a static address (428), the mobile node 11 transitions to waiting for the HAA and the HA domain is stored using the HA 16 of the home domain (429). The requested session information is stored in the home subscriber session information (430), and generates a session key to be used for a new session (431) and transmits an HAR message to the HA (432).

도 3c 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 AMA(AA-Mobile-Node-Answer) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.3c is a detailed flowchart illustrating an AMA (AA-Mobile-Node-Answer) message processing procedure in a session control method in a diameter-based mobile Internet protocol network according to the present invention.

도 3c에 도시된 바와 같이, AMA 수신 시, 수신한 세션 아이디를 방문 가입자 임시 세션 정보에 있는지를 확인한다(501).As shown in FIG. 3C, upon receiving the AMA, it is checked whether the received session ID is in the visited subscriber temporary session information (501).

확인 결과(501), 다이아미터 서버(15)가 AMA 메시지를 수신하는 경우는 방문가입자 처리시에만 발생하므로 방문가입자 임시 세션 정보에서 찾지 못한 경우 홈다이아미터 서버(AAAh)에게 관련 세션이 존재하지 않음을 알리는 MRI(Message-Reject-Ind)를 전송한다(502).When the result of the check 501, the diameter server 15 receives the AMA message, it occurs only during the subscriber processing, so that if the subscriber temporary session information is not found, the related session does not exist in the home diameter server AAAh. Message-Reject-Ind (MRI) notifying of the transmission is transmitted (502).

확인 결과(501), 수신한 세션 아이디가 방문가입자 임시 세션 정보에 있는 경우, HAR 기다리는 상태인지를 확인하여(state==HarWaiting)(503), 상태 정보가 다르면 메시지를 무시하고(504), 상태정보가 일치하면 수신한 AMA의 결과 값이 성공인지 실패인지를 확인한다(505).As a result of the check 501, if the received session ID is in the visitor temporary session information, it is checked whether the state is waiting for HAR (state == HarWaiting) (503), and if the state information is different, the message is ignored (504). If the information matches, it is checked whether the result value of the received AMA is success or failure (505).

확인 결과(505), 실패인 경우 세션 정보를 유지할 필요가 없으므로 해당방문 가입자 임시 세션 정보를 삭제하고(508) FA(13)에게 AMA 메시지를 전송한다(509).As a result of the check (505), if the failure does not need to maintain session information, the visited subscriber temporary session information is deleted (508) and the AMA message is transmitted to the FA (13) (509).

확인 결과(505), 성공인 경우 방문가입자 임시 세션 정보에 있는 가입자 세션 정보를 방문 가입자 세션 정보에 복사한다(506). 세션 상태는 모든 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성(active) 상태로 천이한다(state=active)(507). 더 이상 사용되지 않는 임시 세션 정보인 해당 방문 가입자 임시 세션 정보를 삭제한 후(508), FA(13)에게 AMA 메시지를 전송한다(509).The verification result 505, if successful, the subscriber session information in the subscriber temporary session information is copied to the visited subscriber session information (506). The session state transitions to an active state, meaning that all session establishment procedures have been successfully performed (state = active) (507). After deleting the visited subscriber temporary session information, which is the temporary session information that is no longer used (508), the AMA message is transmitted to the FA 13 (509).

도 3d 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 HAR(Home-Agent-MIP-Request) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.FIG. 3d is a detailed flowchart illustrating a process of processing a Home-Agent-MIP-Request (HAR) message among session control methods in a diameter-based mobile Internet protocol network according to the present invention.

도 3d에 도시된 바와 같이, HAR 수신 시, 수신한 세션 아이디를 방문 가입자 임시 세션 정보에 있는지 확인한다(601).As shown in FIG. 3D, upon receiving HAR, it is checked whether the received session ID is in the visitor temporary session information (601).

확인 결과(601), 해당 세션 정보를 찾지 못한 경우, 홈 다이아미터서버(AAAh)에게 관련 세션이 존재 하지 않음을 알리는 MRI를 전송한다(602).As a result of the check 601, if the session information is not found, the MRI is transmitted to the home diameter server AAAh indicating that the related session does not exist (602).

확인 결과(601), 해당 세션 정보를 찾은 경우, 세션 상태가 HAR 및 AMA를 기다리고 있는 상태인지를 확인한다(state==HarAmaWaiting)(603).As a result of the check 601, if the corresponding session information is found, it is checked whether the session state is waiting for HAR and AMA (state == HarAmaWaiting) 603.

확인 결과(603), 상태 정보가 다르면 메시지를 무시하고(605), 상태 정보가 일치하면 HA 도메인이 방문 HA(16)가 사용 중인지를 확인하여(ha_domain==foreign)(604). 상태 정보가 일치하지 않아 다이아미터 서버(15)가 HAR를 수신하는 경우는 방문 HA(16)를 사용하는 방문가입자 만이 해당되므로 HA(16) 도메인 정보가 다른 경우 메시지를 무시한다(605). 한편, 상태 정보가 일치하여 HA 도메인 정보가 일치하면 주소 할당을 기다리는 상태로 천이하게 되므로(606). 주소 할당이 성공적으로 이루어지면(607) HAA를 기다리는 상태로 천이하게 된다(state=active)(608). 마지막으로, 할당받은 HA 주소로 HAR 메시지를 전송한다(609).As a result of the check (603), if the status information is different, the message is ignored (605). If the status information matches, the HA domain checks whether the visiting HA (16) is in use (ha_domain == foreign) (604). When the diameter server 15 receives the HAR because the state information does not match, only the visit subscriber who uses the visit HA 16 corresponds to the visit subscriber ignoring the message when the HA 16 domain information is different (605). On the other hand, if the status information is matched and the HA domain information is matched, the state transitions to the waiting for address assignment (606). If the address assignment is successful (607), the state transition to the state waiting for HAA (state = active) (608). Finally, the HAR message is transmitted to the assigned HA address (609).

도 3e 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 HAA(Home-Agent-MIP-Answer) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.FIG. 3E is a detailed flowchart illustrating a process of processing a Home-Agent-MIP-Answer (HAA) message in a session control method in a diameter-based mobile internet protocol network according to the present invention.

도 3e에 도시된 바와 같이, HAA 수신 시, 수신한 세션 아이디가 홈 가입자 세션 정보에 있는지 확인한다(701).As shown in FIG. 3E, upon receiving the HAA, it is checked whether the received session ID is in the home subscriber session information (701).

확인 결과(701), 존재하면 세션 상태가 HAR 및 AMA를 기다리고 있는 상태인지를 확인하여(state==HarAmaWaiting)(702), 상태가 일치하지 않은 경우, 메시지를 무시하고(703), 세션 상태가 일치하는 경우, 방문망 혹은 홈망 HA(16)를 사용하는지 확인한다(ha_domain==foreign)(704).The check result 701, if present, checks whether the session state is waiting for HAR and AMA (state == HarAmaWaiting) (702), if the state does not match, ignores the message (703), and the session state is If there is a match, it is checked whether a visited or home network HA 16 is used (ha_domain == foreign) 704.

확인 결과(704), 방문망 HA(16)를 사용하는 경우, 상태를 DNS 업데이트를 기다리는 상태로 천이하고(706), DNS를 업데이트를 수행한 다음, 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성 상태로 천이한다(state=active)(707). 마지막으로, 방문망 다이아미터 서버(AAAf)에게 AMA 메시지를 전송한다(708).As a result of the check (704), if the visited network HA (16) is used, the state transitions to the state waiting for DNS update (706), the DNS is updated, and then an active means that the session establishment procedure was successful. Transition to state (state = active) (707). Finally, the AMA message is sent to the visiting network diameter server AAAf (708).

확인 결과(704), 홈망 HA(16)를 사용하는 경우, 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성 상태로 천이한다(state=active)(710). 이어서, 이동 노드(11)가 방문망에 있는 경우 AMA를 방문망 다이아미터 서버(AAAf)에게 전송하고, 홈망에 있는 경우 AMA를 FA(13)에게 전송한다(711).As a result of the check 704, when the home network HA 16 is used, it transitions to an active state indicating that the session establishment procedure was successfully performed (state = active) 710. Subsequently, when the mobile node 11 is in the visited network, the AMA is transmitted to the visited network diameter server AAAf, and when the mobile node 11 is in the home network, the AMA is transmitted to the FA 13 (711).

한편, 수신한 세션 아이디가 홈 가입자 세션 정보에 없으면(701), 수신한 세션 아이디가 방문 가입자 임시 세션 정보에 있는지 확인히여(712), 존재한다면 세션 상태가 HAA를 기다리고 있는 상태인지를 확인한다(state==HaaWaiting)(713).On the other hand, if the received session ID is not in the home subscriber session information (701), it is checked whether the received session ID is in the visited subscriber temporary session information (712), and if it exists, it is checked whether the session state is waiting for HAA ( state == HaaWaiting) (713).

확인 결과(713), 상태 정보가 일치 하지 않는 경우 메시지를 무시하고(714), 상태 정보가 일치하고 방문망 HA(16)를 사용하면(ha_domain==foreign)(715) AMA를 기다리는 상태로 천이하고(state=AmaWaiting)(716), 홈 다이아미터 서버(AAAh)에게 HAA 메시지를 전송한다(717).As a result of the check (713), if the status information does not match, the message is ignored (714), and if the status information is matched and the visited network HA (16) is used (ha_domain == foreign) (715), the system transitions to waiting for AMA (State = AmaWaiting) (716), and transmits the HAA message to the home diameter server (AAAh) (717).

이외의 경우는 비정상적인 상황이므로 메시지를 무시하고 다음 메시지 수신을 기다린다. 수신한 세션 아이디가 홈 가입자 세션 정보와 방문 가입자 임시 세션 정보에서 찾지 못한 경우, 해당 세션 아이디가 없음을 알리는 MRI를 AMA를 전송한 노드에게 전송한다(718).Otherwise, it is an abnormal situation, so ignore the message and wait for the next message. If the received session ID is not found in the home subscriber session information and the visited subscriber temporary session information, an MRI indicating that there is no corresponding session ID is transmitted to the node transmitting the AMA (718).

도 3f 및 도 3g는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STR(Session-Termination-Request) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.3F and 3G are detailed flowcharts illustrating an example of a process of processing a Session-Termination-Request (STR) message in a session control method in a diameter-based mobile Internet protocol network according to the present invention.

도 3f 및 도 3g에 도시된 바와 같이, STR 수신 시, 수신한 세션 아이디가 방문 가입자 세션 정보에 존재하는지 확인한다(801).As shown in FIG. 3F and FIG. 3G, upon receiving the STR, it is checked whether the received session ID exists in the visited subscriber session information (801).

확인 결과(801), 존재하면 홈망 HA(16)를 사용하는지 확인한다(ha_domain==home)(802).As a result of the check (801), it is checked whether the home network HA (16) is used (ha_domain == home) (802).

확인 결과(802), 홈망 HA(16)를 사용하지 않고 방문망 HA(16)를 사용하는 경우, 세션 상태가 활성 상태인지를 확인하여(state==active)(803) 활성 상태이면 STA를 기다리는 상태로 천이하고(state=fha_StaWaiting)(804), 홈망 다이아미터 서버(AAAh)에게 STR 메시지를 전송하며(805), 세션 상태가 비활성 상태이면 STR을 기다리는 상태인지를 확인하여(806) STR을 기다리는 상태이면 두번째 STA를 기다리는 상태로 천이하며(807), 홈 다이아미터 서버(AAAh)에게 STR 메시지를 전송하며(809), 세션 상태가 위의 두 가지 경우에 일치하지 않은 경우 메시지를 무시한다(810).As a result of the check 802, if the visited network HA 16 is used without using the home network HA 16, it is checked whether the session state is active (state == active) (803) and waits for the STA if it is active. Transitioning to state (state = fha_StaWaiting) (804), sending an STR message to the home network diameter server (AAAh) (805), and checking if the session state is inactive (waiting for STR) by waiting for the STR (806). If the state transitions to the state waiting for the second STA (807), and transmits the STR message to the home diameter server (AAAh) (809), if the session state does not match the above two cases and ignores the message (810) ).

반면, 홈망 HA(16)를 사용하는 경우(802), 세션 상태가 활성 상태임을 확인한다(state==active)(811).On the other hand, when using the home network HA 16 (802), it is confirmed that the session state is active (state = = active) (811).

확인 결과(811), 활성 상태이면 상태를 STA를 기다리는 상태로 천이한 후(state=StaWaiting)(812), 홈 다이아미터 서버(AAAh)에게 STR 메시지를 전송한다(813).As a result of the check (811), if the state transitions to the waiting state for the STA (state = StaWaiting) (812), and transmits the STR message to the home diameter server (AAAh) (813).

확인 결과(811), 비활성 상태이고 STR을 기다리는 상태이면(state==StrWaiting)(814) STA를 기다리는 상태로 천이하고(state=StaWaiting)(815) 홈망 다이아미터 서버(AAAh)에게 STR을 전송하며(816), 세션 상태가 위의 두 가지 경우에 일치하지 않는 경우 메시지를 무시한다(817).If the check result 811 is inactive and waiting for STR (state == StrWaiting) (814), the state transitions to waiting for STA (state = StaWaiting) (815) and transmits the STR to the home network diameter server (AAAh). 816, if the session state does not match in the two cases above, ignore the message (817).

한편, 확인 결과(801), 방문 가입자 세션 정보에 존재하지 않으면 수신한 세션 아이디가 홈 가입자 세션 정보에 존재하는지 확인하여(818) 수신한 세션 아이디가 방문 가입자 세션 정보(801)와 홈 가입자 세션 정보(818) 모두에게 존재하지 않은 경우, STR을 전송한 노드에게 해당 세션 아이디가 없음을 알리는 결과값과 함께 STA를 전송하고(819), 홈 가입자 세션 정보에 존재하는 경우, 세션 상태가 활성 상태인지 확인한다(state==active)(820).On the other hand, if the check result (801), if it does not exist in the visited subscriber session information checks whether the received session ID exists in the home subscriber session information (818), the received session ID is the visited subscriber session information (801) and home subscriber session information If not present to all, the STA transmits an STA with a result indicating that the corresponding session ID is not present to the node transmitting the STR (819). If the present state is present in the home subscriber session information, whether the session state is active. Check (state == active) (820).

확인 결과(820), 세션 상태가 활성 상태이고 해당 세션이 홈망 HA(16)를 사용하면(ha_domain==home)(821) STA와 STI를 전송한다(822,823). 각각의 경우는 다음과 같다. 만일, STR을 HA(16)로부터 수신한 경우 STA를 HA(16)에게 전달하고(822), 이동 노드(11)가 홈망에 있는 경우 STI를 FA(13)에게 전송하며, 이동 노드(11)가 방문망에 있는 경우 STI를 방문망 다이아미터 서버(AAAf)에게 전송한다(823). 만일, STR을 FA(13)로부터 수신한 경우 FA(13)에게 STA를 전송하고(822), STI를 HA(16)에게 전송한다(823). 방문망 다이아미터 서버(AAAf)로부터 STR을 수신한 경우 방문망 다이아미터 서버(AAAf)에게 STA를 전송하고(822) HA(16)에게 STI를 전달한다(823). 세션 상태는 두 번째 STR을 기다리는 상태로 천이한다(state=Str2ndWaiting)(824). 반면에, 세션 상태가 활성 상태이면서, 방문망에 있는 HA(16)를 사용하면(ha_domain==foreign)(825), 방문망 다이아미터 서버(AAAf)에게 STA와 STI를 전송한 후(826,827), 세션 상태는 두 번째 STR을 기다리는 상태로 천이한다(state=Str2ndWaiting)(824).As a result of the check 820, if the session state is active and the session uses the home network HA 16 (ha_domain == home) 821, STA and STI are transmitted (822, 823). Each case is as follows. If the STR is received from the HA 16, the STA is transmitted to the HA 16 (822). If the mobile node 11 is in the home network, the STA is transmitted to the FA 13, and the mobile node 11 transmits the STI. If SFA is in the visited network, the STI is transmitted to the visited network diameter server AAAf (823). If the STR is received from the FA 13, the STA is transmitted to the FA 13 (822), and the STI is transmitted to the HA 16 (823). When the STR is received from the visited network diameter server AAAf, the STA is transmitted to the visited network diameter server AAAf (822) and the STI is transmitted to the HA 16 (823). The session state transitions to a state waiting for a second STR (state = Str2ndWaiting) 824. On the other hand, if the session state is active and the HA 16 in the visiting network is used (ha_domain == foreign) (825), the STA and STI are transmitted to the visiting network diameter server (AAAf) (826,827). The session state transitions to a state waiting for a second STR (state = Str2ndWaiting) 824.

한편, 확인 결과(820), 수신 세션 아이디가 홈 가입자 세션 정보에 존재하면서(818) 세션 상태가 활성 상태가 아닌(state==active)(820) 두 번째 STR을 기다리는 상태에 있으면(state==Str2ndWaiting)(828) HA 도메인을 확인한다(ha_domain==home)(829).On the other hand, if the check result 820, the receiving session ID is present in the home subscriber session information (818) and the session state is not in the active state (state = = active) (820) is waiting for the second STR (state = = Str2ndWaiting) (828) Check the HA domain (ha_domain == home) (829).

확인 결과(829), 홈망 HA(16)를 사용하는 경우, STR을 전송한 노드에게 STA를 전송하고(830) 주소 할당 해제 절차를 수행한 후(831) 해당 홈 가입자 세션 정보를 삭제하며(835), 방문망 HA를 사용하는 경우(ha_domain==foreign)(832), 상태를 DNS에 해당 주소와 호스트 이름의 매핑 삭제를 요구하는 상태인 "DnsDelPending"로 천이하고(state==DnsDelpenfing)(833), DNS업데이트(404)를 수행한 뒤, 해당 홈 가입자 세션 정보를 삭제한다(835). 이외 상태가 일치하지 않은 경우 메시지 수신을 무시하고, 다음 메시지 수신을 기다린다.As a result of the verification (829), in case of using the home network HA (16), the STA is transmitted to the node that transmitted the STR (830), and after the address allocation procedure is performed (831), the corresponding home subscriber session information is deleted (835). ), When using visited network HA (ha_domain == foreign) (832), transition the state to "DnsDelPending", which requires DNS to delete the mapping of the address and host name (state == DnsDelpenfing) (833 After the DNS update 404 is performed, the corresponding home subscriber session information is deleted (835). If the other conditions do not match, the message reception is ignored and the next message reception is waited.

도 3h 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STA(Session-Termination-Answer) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.3H is a detailed flowchart illustrating a process of processing a Session-Termination-Answer (STA) message in a session control method in a diameter-based mobile Internet protocol network according to the present invention.

도 3h에 도시된 바와 같이, STA 수신 시, 수신한 세션 아이디가 방문 가입자 세션 정보에 있는지 확인한다(901).As shown in FIG. 3H, upon reception of the STA, it is checked whether the received session ID is in the visited subscriber session information (901).

확인 결과(901), 다이아미터 서버는 방문가입자 처리시에만 STA를 수신하므로, 방문 가입자 세션 정보에 세션 아이디가 존재하지 않는 경우 홈 다이아미터 서버(AAAf)에게 MRI를 전송하고(902), 존재하는 경우 HA 도메인을 검사한다(ha_domain==home)(903).As a result of the check (901), since the diameter server receives the STA only when the subscriber process, the MRI is transmitted to the home diameter server (AAAf) when the session ID does not exist in the visited subscriber session information (902). If it is, check the HA domain (ha_domain == home) (903).

검사 결과(903), 홈망 HA(16)를 사용하는 경우 상태가 STA를 기다리는 상태인지를 확인하여(state==StaWaiting)(904) 상태가 일치하지 않으면, 메시지 수신을 무시하고, 다음 메시지 수신을 기다리며, 상태가 일치하면 세션 상태는 유휴 상태로 천이되고 FA(13)에게 STA를 전송하며(905), 해당 세션 정보를 삭제한다(906).If the check result 903 uses the home network HA 16, check whether the state is waiting for the STA (state == StaWaiting), and if the state does not match, ignore message reception and stop receiving the next message. If the state matches, the session state transitions to an idle state, transmits an STA to the FA 13 (905), and deletes the corresponding session information (906).

검사 결과(903), 방문망 HA(16)를 사용하는 경우(ha_domain==foreign)(907) 세션 상태가 STA를 기다리고 있는 상태이면(state==fha_StaWaiting)(908) STI를 기다리고 있는 상태로 천이하고(state=fha_StiWaiting)(909), STR을 발생한 FA(13) 또는 HA(16)에게 STA를 전송하고(910), 세션 상태가 STA를 기다리고 있는 상태가 아니면 방문망 HA를 사용하면서 세션 상태가 두번째 STA를 기다리고 있는 상태인지를 확인한다(state==fha_2ndStaWaiting)(911).If the check result 903 uses the visiting network HA 16 (ha_domain == foreign) (907), if the session state is waiting for the STA (state == fha_StaWaiting) (908), the state transitions to the waiting state for the STI. (State = fha_StiWaiting) (909), and transmits the STA to the FA (13) or HA (16) that generated the STR (910), and if the session state is not waiting for the STA, the session state is used while using the visited network HA. Check whether the state is waiting for the second STA (state == fha_2ndStaWaiting) 911.

확인 결과(911), STR이 FA(13)로부터 발생한 경우 STA를 HA(16)에게 전송하고, HA(16)로부터 발생한 경우 STA를 FA(13)에게 전송한다(912). 이 경우는 동적 주소를 사용하는 경우에만 해당되므로 동적 주소를 사용하지 않는 경우(913)에는 메시지 수신을 무시하고, 다음 메시지 수신을 기다린다. 반면, 동적 주소를 사용하는 경우(913)에는 주소 할당을 해제하고(914), 해당 방문 가입자 세션 정보를 삭제한다(915).As a result of the check 911, if the STR occurs from the FA 13, the STA is transmitted to the HA 16, and if the STR occurs from the HA 16, the STA is transmitted to the FA 13 (912). In this case, since only the dynamic address is used, when the dynamic address is not used (913), the reception of the message is ignored and the next message is waited for. On the other hand, when using a dynamic address (913), the address allocation is released (914), and the visited subscriber session information is deleted (915).

도 3i 는 본 발명에 따른 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법 중 STI(Session-Termination-Ind) 메시지 처리 과정에 대한 일실시예 상세 흐름도이다.3I is a detailed flowchart illustrating a process of processing a Session-Termination-Ind (STI) message in a session control method in a diameter-based mobile internet protocol network according to the present invention.

도 3i에 도시된 바와 같이, STI 수신 시, 세션 아이디가 방문 가입자 세션 정보에 존재하는지 확인한다(1001).As shown in FIG. 3I, upon receiving the STI, it is checked whether a session ID exists in the visited subscriber session information (1001).

확인 결과(1001), 다이아미터 서버(15)는 방문가입자 처리 시에만 STI를 수신하므로, 세션 아이디가 방문 가입자 세션 정보에 존재하지 않는 경우 홈 다이아미터 서버(AAAh)에게 MRI를 전송하고(1002). 존재 하는 경우, 홈망 HA(16)를 사용하는지 확인하여(ha_domain==home)(1003), 사용하면 세션 상태가 활성 상태인지를 확인한다(state==active)(1004).As a result of the check (1001), the diameter server 15 receives the STI only when processing the subscriber, and if the session ID does not exist in the visited subscriber session information, transmits the MRI to the home diameter server AAAh (1002). . If present, it is checked whether the home network HA 16 is used (ha_domain == home) (1003), and if it is used, it is checked whether the session state is active (state == active) (1004).

확인 결과(1004), 활성 상태이면 STR을 기다리는 상태로 천이하고(state=StrWaiting)(1005) FA(13)에게 STI를 전송한다(1006).If the check result (1004), if the active state, the transition to the state waiting for the STR (state = StrWaiting) (1005) and transmits the STI to the FA 13 (1006).

한편, 홈망 HA(16)를 사용하는지 확인하여(ha_domain==home)(1003) 사용하지 않으면 방문망 HA(16)를 사용하는지 확인하여(ha_domain==foreign)(1007), 사용한다면 세션 상태가 STI를 기다리고 있는 상태인지를 확인한다(state==fha_StiWaiting)(1008).On the other hand, if the home network HA (16) is used (ha_domain == home) (1003), if not used, the visited network HA (16) is checked (ha_domain == foreign) (1007). Check if the state is waiting for STI (state == fha_StiWaiting) (1008).

확인 결과(1008), 상태가 일치할 경우 STR을 기다리는 상태로 천이하고(state=fha_StrWaiting)(1009), FA(13)가 STR을 발생한 경우 HA(16)에게 STI를 전달하고, HA(16)가 STR을 발생한 경우 FA(13)에게 STI를 전달하며(1010), 상태가 일치하지 않을 경우 세션 상태가 활성 상태이면(state==active)(1011)HA(16)에게 STI를 전송하고(1012), 활성 상태가 아니면(1011) 해당 방문가입자 세션 정보를 삭제한다(1013).As a result of the check (1008), if the state is matched, the state transitions to the waiting state for the STR (state = fha_StrWaiting) (1009), if the FA 13 generates the STR, the STI is delivered to the HA 16, and the HA 16 Sends an STI to the FA 13 when the STR has occurred (1010), and if the session state is not active (state == active) (1011) and sends an STI to the HA 16 (1012). If not, the visitor session information is deleted (1013).

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 방문 가입자 및 홈 가입자를 다른 프로세서로 분리하여 처리하지 않고 단일 프로세서에서 동시에 처리할 수 있도록 하며, 가입자의 주소 요구 타입(정적 또는 동적 주소)에 따른 세션 설정 및 해제 요구와 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시 처리할 수 있도록 하는 효과가 있다.As described above, the present invention allows a visitor and a home subscriber to be simultaneously processed in a single processor without being processed separately from other processors, and a session establishment and release request according to the address request type (static or dynamic address) of the subscriber. It is effective to simultaneously handle session establishment and teardown requests of subscribers using network resources.

또한, 본 발명은, 미리 정의한 세션 상태를 이용하여 세션을 관리함으로써, 다이아미터 서버가 메시지 송신 및 수신 과정을 올바르게 제어할 수 있고, 메시지 처리 과정 중 실패 시점을 알 수 있도록 하는 효과가 있다.In addition, the present invention, by managing the session using a predefined session state, the diameter server can correctly control the message transmission and reception process, there is an effect that can know the failure point during the message processing process.

Claims (12)

다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법에 있어서,A session control method in a diameter based mobile internet protocol network, 다이아미터 서버에서 사용될 세션 정보를 초기화하고 세션 상태 정보를 유휴 상태로 초기화하는 제 1 단계;A first step of initializing session information to be used in the diameter server and initializing session state information to an idle state; 연결되어 있는 상대 노드들간의 통신을 위해 소켓을 생성하여 연결을 설정하는 제 2 단계;A second step of establishing a connection by creating a socket for communication between connected nodes; 연결 설정된 소켓을 통해 상기 다이아미터 서버에 연결되어 있는 상대 노드들로부터 시스템 정보를 수집하는 제 3 단계; 및Collecting system information from counterpart nodes connected to the diameter server through a connected socket; And 상기 시스템 정보내에 실린 이동 아이피(IP)를 지원하는 다이아미터(DIAMETER) 메시지들의 세션 아이디와 세션 정보를 이용하여 방문 가입자 및 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리하고, 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시에 처리하는 제 4 단계The session ID and session information of DIAMETER messages supporting the mobile IP included in the system information are used to process the session establishment and release request according to the address request type of the visitor and the home subscriber. Fourth step of simultaneously handling session establishment and teardown requests of subscribers using resources 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항에 있어서,The method of claim 1, 상기 다이아미터(DIAMETER) 메시지는,The DIAMETER message is, AMR(AA-Mobile-Node-Request), AMA(AA-Mobile-Node-Answer), HAR(Home-Agent-MIP-Request), HAA(Home-Agent-MIP-Answer), STR(Session-Termination-Request), STA(Session-Termination-Answer), 및 STI(Session-Termination-Ind) 메시지인 것을 특징으로 하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.AA-Mobile-Node-Request (AMR), AA-Mobile-Node-Answer (AMA), Home-Agent-MIP-Request (HAR), Home-Agent-MIP-Answer (HAA), Session-Termination- A request method, a Session-Termination-Answer (STA), and a Session-Termination-Ind (STI) message. 제 1 항에 있어서,The method of claim 1, 상기 세션 정보는,The session information, 다이아미터 홈 가입자를 위한 홈가입자 세션 정보, 세션 설정을 요청한 가입자의 인증, 권한 검증이 성공한 방문 가입자만을 위한 방문가입자 세션 정보 및 세션 설정을 요청한 가입자의 인증 및 권한 검증이 이루어지지 않은 가입자를 위한 임시 세션 정보로서 인증 및 권한 검증이 성공한 경우 방문 가입자 임시 세션 정보에 있는 가입자에 대한 정보를 방문 가입자 세션 정보로 옮기고 복사된 방문 가입자 임시 세션 정보를 삭제하기 위한 방문가입자 임시 세션 정보를 포함하는 것을 특징으로 하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Home subscriber session information for diameter home subscribers, authentication of the subscriber requesting session establishment, visitor session information only for visiting subscribers with successful authorization verification, and temporary provision for subscribers whose authentication and authorization verification has not been performed. If the authentication and authorization verification is successful as the session information, the subscriber temporary session information for moving the information on the subscriber in the visitor temporary session information to the visited subscriber session information and deleting the copied visited subscriber temporary session information. A session control method in a diameter based mobile internet protocol network. 제 1 항에 있어서,The method of claim 1, 상기 다이아미터 서버는,The diameter server, 가입자 홈망 자원을 사용하는지 방문망 자원을 사용하는지에 대한 여부를 "home", "foreign", "fha_domain"으로 구분하여, "ha_domain" 변수에 저장하는 것을 특징으로 하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.In a diameter-based mobile Internet protocol network, whether a subscriber home network resource or a visiting network resource is used is stored in a "ha_domain" variable, divided into "home", "foreign", and "fha_domain". Session control method. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, AMR 수신시, 상기 다이아미터 서버를 통해 가입자 정보를 검색하여 홈가입자 또는 방문가입자를 판단하는 제 5 단계;A fifth step of retrieving subscriber information through the diameter server when receiving an AMR, and determining a home subscriber or a visit subscriber; 상기 제 5 단계의 판단결과, 방문가입자이면, AMR을 통해 수신한 정보들을 방문가입자 임시 세션 정보에 저장하고 가입자가 요구한 주소 타입이 MN(Mobile Node), HA 동적 주소인 경우 HA 도메인을 방문망 HA를 요구한 상태로 지정하여 HAR, AMA를 기다리고 있는 상태로 천이한 후 홈 다이아미터 서버에게 AMR 메시지를 전달하고, 가입자가 요구한 주소 타입이 MN, HA 동적 주소가 아닌 경우 HA 도메인을 홈 도메인으로 지정하여 AMA를 기다리고 있는 상태로 천이한 후 홈 다이아미터 서버에게 AMR 메시지를 전달하는 제 6 단계;As a result of the determination of the fifth step, if the visitor is a visitor, the information received through the AMR is stored in the visitor temporary session information, and if the address type requested by the subscriber is a mobile node (MN) or an HA dynamic address, the visitor network is visited. After the transition to the state waiting for HAR and AMA by designating HA as required state, AMR message is delivered to home diameter server. If the address type requested by subscriber is not MN or HA dynamic address, HA domain is home domain. A sixth step of transferring the AMR message to the home-diameter server after the transition to the waiting state for the AMA by designating a state of the AMA; 상기 제 5 단계의 판단결과, 홈가입자이면, 가입자 인증 및 권한 검증에 실패한 경우 가입자 인증 실패 및 가입자 권한 검증 실패 결과값을 포함하여 FA에게 AMA를 전송(실패 이유를 전송)하고, 가입자 인증 및 권한 검증에 성공한 경우 MN동적 주소 사용 여부를 확인하는 제 7 단계;As a result of the determination of the fifth step, if the home subscriber, if the subscriber authentication and authorization verification fails, the AMA is transmitted to the FA (send failure reason), including the subscriber authentication failure and subscriber authority validation failure results, and subscriber authentication and authorization A seventh step of confirming whether or not to use the MN dynamic address if the verification is successful; 상기 제 7 단계의 확인 결과, 이동 노드와 HA가 모두 HA 동적 주소를 요구하면, 방문망에 있는 HA 사용을 요구하여 미리 저장되어 있는 가입자 정보에서 방문망 HA 사용이 가능한지를 확인하여 사용이 가능하면 HAA를 기다리는 상태로 천이하고 HA 도메인을 방문망 HA를 사용하는 것으로 저장하며 가입자 세션 정보를 홈 가입자 세션 정보에 저장한 후 새로운 세션을 위한 세션 키를 생성하고 방문망 다이아미터 서버(AAAf)에게 HAR을 전송하는 제 8 단계;If the mobile node and the HA both require the HA dynamic address as a result of the check in the seventh step, if the HA is available in the visited network by checking the availability of the HA in the visited network, it is possible to use the HA. Transitioning to the HAA waiting state, storing the HA domain as using the visiting network HA, storing the subscriber session information in the home subscriber session information, generating a session key for the new session, and sending the HAR to the visiting network diameter server (AAAf). An eighth step of transmitting; 상기 제 7 단계의 확인 결과, 이동 노드와 HA 모두 동적 주소를 요구하나 방문망 HA 사용이 불가능한 가입자로 등록되어 있는 경우, 또한 이동 노드만 동적 주소를 요구하는 경우, HA만 동적 주소를 요구하는 경우 홈 다이아미터 서버에서 동적 주소 할당을 요구하게 되므로 주소 요구 상태로 천이하며 HA 도메인은 HA를 사용하는 것으로 저장되고 주소 할당 요구를 통해 주소를 할당받으면 HAA를 기다리는 상태로 천이하게 되며 가입자의 세션 정보는 홈 가입자 세션 정보에 저장되고 새로운 세션을 위한 키를 생성하며 HA에게 HAR 메시지를 전송하는 제 9 단계; 및If the mobile node and the HA require a dynamic address, but are registered as a subscriber who cannot use the visited network HA, and only the mobile node requires the dynamic address, only the HA requires the dynamic address. As the home diameter server requests dynamic address allocation, it transitions to the address request state, and the HA domain is stored as using HA, and when the address is assigned through the address assignment request, it transitions to the HAA waiting state. A ninth step stored in home subscriber session information, generating a key for a new session, and transmitting a HAR message to the HA; And 상기 제 7 단계의 확인 결과, 이동 노드와 HA 모두 정적 주소를 요구한 경우, HAA를 기다리는 상태로 천이하고 HA 도메인은 홈 도메인의 HA를 사용하는 것으로 저장되며 가입자가 요구한 세션 정보는 홈 가입자 세션 정보에 저장되며, 새로운 세션에 사용될 세션 키를 생성하여 HA에게 HAR 메시지를 전송하는 제 10 단계When the mobile node and the HA request a static address as a result of the check of the seventh step, the mobile node and the HA transition to a waiting state of the HAA and the HA domain is stored as using the HA of the home domain, and the session information requested by the subscriber is stored in the home subscriber session. A tenth step of generating a session key stored in the information and to be used for a new session and transmitting a HAR message to the HA; 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, AMA 수신 시, 수신한 세션 아이디를 방문 가입자 임시 세션 정보에 있는지를 확인하는 제 5 단계;A fifth step of confirming whether the received session ID is in the visited subscriber temporary session information when the AMA is received; 상기 제 5 단계의 확인 결과, 방문가입자 임시 세션 정보에서 찾지 못한 경우, 홈 다이아미터 서버(AAAh)에게 관련 세션이 존재하지 않음을 알리는 MRI(Message-Reject-Ind)를 전송하고 수신한 세션 아이디가 방문가입자 임시 세션 정보에 있는 경우 HAR 기다리는 상태인지를 확인하여 상태 정보가 다르면 메시지를 무시하고 상태정보가 일치하면 수신한 AMA의 결과 값이 성공인지 실패인지를 확인하는 제 6 단계; 및As a result of the checking in the fifth step, if it is not found in the visitor temporary session information, the session ID received by transmitting a message-reject-ind (MRI) indicating that the relevant session does not exist to the home diameter server AAAh A sixth step of confirming whether or not to wait for HAR in the visitor temporary session information, ignoring the message if the status information is different, and confirming whether the result value of the received AMA is success or failure if the status information matches; And 상기 제 6 단계의 확인 결과, 실패인 경우, 해당 방문 가입자 임시 세션 정보를 삭제하고 FA에게 AMA 메시지를 전송하고, 성공인 경우, 방문가입자 임시 세션 정보에 있는 가입자 세션 정보를 방문 가입자 세션 정보에 복사하여 모든 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성(active) 상태로 천이하고 해당 방문 가입자 임시 세션 정보를 삭제한 후 FA에게 AMA 메시지를 전송하는 제 7 단계As a result of the check in step 6, in case of failure, the visitor temporary session information is deleted and the AMA message is transmitted to the FA, and in case of success, the subscriber session information in the visitor temporary session information is copied to the visited subscriber session information. Step 7 of transitioning to the active state, which indicates that all session establishment procedures have been performed successfully, deleting the visited subscriber temporary session information and sending an AMA message to the FA. 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, HAR 수신 시, 수신한 세션 아이디를 방문 가입자 임시 세션 정보에 있는지 확인하는 제 5 단계;A fifth step of confirming whether the received session ID is in the visited subscriber temporary session information when receiving the HAR; 상기 제 5 단계의 확인 결과, 해당 세션 정보를 찾지 못한 경우, 홈 다이아미터 서버(AAAh)에게 관련 세션이 존재 하지 않음을 알리는 MRI를 전송하고, 해당 세션 정보를 찾은 경우, 세션 상태가 HAR 및 AMA를 기다리고 있는 상태인지를 확인하는 제 6 단계; 및If the corresponding session information is not found as a result of the checking of the fifth step, an MRI indicating that the related session does not exist is transmitted to the home diameter server AAAh, and if the session information is found, the session state is HAR and AMA. A sixth step of checking whether the state is waiting; And 상기 제 6 단계의 확인 결과, 상태 정보가 다르면, 메시지를 무시하고 상태 정보가 일치하면 HA 도메인이 방문 HA가 사용 중인지를 확인하여 상태 정보가 일치하지 않아 다이아미터 서버가 HAR를 수신하는 경우는 방문 HA를 사용하는 방문가입자 만이 해당되므로 HA 도메인 정보가 다른 경우 메시지를 무시하며 상태 정보가 일치하여 HA 도메인 정보가 일치하면 주소 할당을 기다리는 상태로 천이하고 주소 할당이 성공적으로 이루어지면 HAA를 기다리는 상태로 천이한 후 할당받은 HA 주소로 HAR 메시지를 전송하는 제 7 단계As a result of the check in step 6, if the status information is different, the message is ignored and if the status information is consistent, the HA domain checks whether the visiting HA is in use, and if the status server does not match the status information, the HAR server visits. Only HA subscribers are used, so if the HA domain information is different, the message is ignored. If the HA domain information matches, the state transitions to waiting for address assignment and waits for HAA if the address assignment is successful. Step 7 of transmitting a HAR message to the assigned HA address after the transition 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, HAA 수신 시, 수신한 세션 아이디가 홈 가입자 세션 정보에 있는지 확인하는 제 5 단계;A fifth step of confirming whether the received session ID is in home subscriber session information when the HAA is received; 상기 제 5 단계의 확인 결과, 홈가입자 세션 정보에 존재하면, 세션 상태가 HAR 및 AMA를 기다리고 있는 상태인지를 확인하여 상태가 일치하지 않은 경우 메시지를 무시하고 세션 상태가 일치하는 경우 방문망 혹은 홈망 HA를 사용하는지 확인하는 제 6 단계;As a result of the check in step 5, if it is present in the home subscriber session information, it is checked whether the session state is waiting for HAR and AMA, and if the state is not matched, the message is ignored and the visited or home network is matched. A sixth step of confirming whether HA is used; 상기 제 6 단계의 확인 결과, 방문망 HA를 사용하는 경우, 상태를 DNS 업데이트를 기다리는 상태로 천이하고 DNS를 업데이트를 수행한 후 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성 상태로 천이한 후 방문망 다이아미터 서버(AAAf)에게 AMA 메시지를 전송하는 제 7 단계;As a result of the check in the sixth step, in the case of using the visited network HA, the state transitions to the state waiting for DNS update, the DNS is updated, and then the state is changed to the active state, which means that the session establishment procedure was successfully performed. A seventh step of transmitting an AMA message to a network diameter server AAAf; 상기 제 6 단계의 확인 결과, 홈망 HA를 사용하는 경우, 세션 설정 절차가 성공적으로 수행되었음을 의미하는 활성 상태로 천이한 후 이동 노드가 방문망에 있는 경우 AMA를 방문망 다이아미터 서버(AAAf)에게 전송하고 홈망에 있는 경우 AMA를 FA에게 전송하는 제 8 단계; 및When the home network HA is used as a result of the check in step 6, when the mobile node is in the visited network after transitioning to an active state indicating that the session establishment procedure is successfully performed, the AMA is sent to the visited network diameter server (AAAf). Transmitting the AMA to the FA if it is in the home network; And 상기 제 5 단계의 확인 결과, 수신한 세션 아이디가 홈 가입자 세션 정보에 없고 방문가입자 세션 정보에 있으면, 수신한 세션 아이디가 방문 가입자 임시 세션 정보에 있는지 확인하여 존재한다면 세션 상태가 HAA를 기다리고 있는 상태인지를 확인하여 상태 정보가 일치하지 않는 경우 메시지를 무시하고 상태 정보가 일치하고 방문망 HA를 사용하는 경우 AMA를 기다리는 상태로 천이한 후 홈 다이아미터서버(AAAh)에게 HAA 메시지를 전송하며, 수신한 세션 아이디가 홈 가입자 세션 정보와 방문 가입자 임시 세션 정보에서 찾지 못한 경우, 해당 세션 아이디가 없음을 알리는 MRI를 AMA를 전송한 노드에게 전송하는 제 9 단계If the received session ID is not present in the home subscriber session information and in the visitor session information as a result of the checking of the fifth step, the session state is waiting for HAA if the received session ID exists in the visited subscriber temporary session information. If the status information does not match, the message is ignored, and if the status information is matched and the visited network HA is used, transition to the waiting state for AMA, and then send the HAA message to the home diameter server (AAAh). If a session ID is not found in the home subscriber session information and the visited subscriber temporary session information, a ninth step of transmitting an MRI to the node that sent the AMA indicating that the session ID does not exist. 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, STR 수신 시, 수신한 세션 아이디가 방문 가입자 세션 정보에 존재하는지 확인하는 제 5 단계;A fifth step of, upon receiving the STR, checking whether the received session ID exists in the visited subscriber session information; 상기 제 5 단계의 확인 결과, 존재하면 홈망 HA를 사용하는지 확인하여, 홈망 HA를 사용하지 않고 방문망 HA를 사용하는 경우 세션 상태가 활성 상태인지를 확인하는 제 6 단계;A sixth step of checking whether the session state is active when using the visited network HA without using the home network HA by checking whether the home network HA is used as a result of the checking of the fifth step; 상기 제 6 단계의 확인 결과, 활성 상태이면, STA를 기다리는 상태로 천이하고 홈망 다이아미터 서버(AAAh)에게 STR 메시지를 전송하고, 세션 상태가 비활성 상태이면, STR을 기다리는 상태인지를 확인하여 STR을 기다리는 상태이면 두번째 STA를 기다리는 상태로 천이하고 홈 다이아미터 서버(AAAh)에게 STR 메시지를 전송하며 세션 상태가 상기의 두 가지 경우에 일치하지 않은 경우 메시지를 무시하는 제 7 단계;As a result of the check in the sixth step, if it is active, the STA transitions to a waiting state and transmits an STR message to the home network diameter server (AAAh). If the session state is inactive, it is determined whether to wait for the STR to determine the STR. A seventh step of transitioning to a waiting state for the second STA, sending a STR message to the home diameter server AAAh, and ignoring the message if the session state does not match the above two cases; 상기 제 5 단계의 확인 결과, 홈망 HA를 사용하는 경우, 세션 상태가 활성 상태임을 확인하여 활성 상태이면 상태를 STA를 기다리는 상태로 천이한 후 홈 다이아미터 서버(AAAh)에게 STR 메시지를 전송하고 비활성 상태이고 STR을 기다리는 상태이면 STA를 기다리는 상태로 천이하고 홈망 다이아미터 서버(AAAh)에게 STR을 전송하며,세션 상태가 상기의 두 가지 경우에 일치하지 않는 경우 메시지를 무시하는 제 8 단계;When the home network HA is used as a result of the check in step 5, it is confirmed that the session state is active, and if the state is active, the state transitions to the waiting state for the STA, and then the STR message is transmitted to the home diameter server AAAh and inactivated. Transitioning to a waiting state for the STA and transmitting the STR to the home network diameter server AAAh if the state is waiting for the STR, and ignoring the message if the session state does not match the above two cases; 상기 제 5 단계의 확인 결과, 방문 가입자 세션 정보에 존재하지 않으면, 수신한 세션 아이디가 홈 가입자 세션 정보에 존재하는지 확인하여 수신한 세션 아이디가 방문 가입자 세션 정보와 홈 가입자 세션 정보 모두에게 존재하지 않은 경우 STR을 전송한 노드에게 해당 세션 아이디가 없음을 알리는 결과값과 함께 STA를 전송하고 홈 가입자 세션 정보에 존재하는 경우 세션 상태가 활성 상태인지 확인하는 제 9 단계;As a result of the checking of the fifth step, if it is not present in the visited subscriber session information, it is checked whether the received session ID exists in the home subscriber session information, and the received session ID does not exist in both the visited subscriber session information and the home subscriber session information. A ninth step of transmitting an STA with a result value indicating that the corresponding session ID is not present to the node transmitting the STR and checking whether the session state is active when it is present in the home subscriber session information; 상기 제 9 단계의 확인 결과, 세션 상태가 활성 상태이고 해당 세션이 홈망 HA를 사용하면 STA와 STI를 전송하고, 세션 상태가 활성 상태가 아닌 두 번째 STR을 기다리는 상태에 있으면 HA 도메인을 확인하는 제 10 단계; 및As a result of the check of the ninth step, if the session state is active and the session uses the home network HA, the STA and the STI are transmitted, and if the session state is in a waiting state for the second STR that is not active, the agent checks the HA domain. 10 steps; And 상기 제 10 단계의 확인 결과, 홈망 HA를 사용하는 경우, STR을 전송한 노드에게 STA를 전송하고 주소 할당 해제 절차를 수행한 후 해당 홈 가입자 세션 정보를 삭제하며, 방문망 HA를 사용하는 경우, 상태를 DNS에 해당 주소와 호스트 이름의 매핑 삭제를 요구하는 상태인 "DnsDelPending"로 천이하고, DNS 업데이트를 수행한 후, 해당 홈 가입자 세션 정보를 삭제하는 제 11 단계As a result of the check of the tenth step, when using the home network HA, if the STA is transmitted to the node that transmitted the STR, and after performing the address assignment release procedure, the corresponding home subscriber session information is deleted, and when using the visited network HA, The eleventh step of transitioning the state to "DnsDelPending", which requires the deletion of the mapping of the address and the host name to the DNS, performing the DNS update, and then deleting the home subscriber session information. 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, STA 수신 시, 수신한 세션 아이디가 방문 가입자 세션 정보에 있는지 확인하는 제 5 단계;A fifth step of confirming whether the received session ID is in the visited subscriber session information when the STA is received; 상기 제 5 단계의 확인 결과, 방문 가입자 세션 정보에 세션 아이디가 존재하지 않는 경우, 홈 다이아미터 서버(AAAf)에게 MRI를 전송하고 존재하는 경우 HA 도메인을 검사하는 제 6 단계;A sixth step of transmitting an MRI to a home diameter server (AAAf) and checking an HA domain if there is no session ID in the visited subscriber session information as a result of the checking of the fifth step; 상기 제 6 단계의 검사 결과, 홈망 HA를 사용하는 경우 상태가 STA를 기다리는 상태인지를 확인하여, 상태가 일치하지 않으면 메시지 수신을 무시하고 다음 메시지 수신을 기다리며, 상태가 일치하면 세션 상태는 유휴 상태로 천이되고 FA에게 STA를 전송하며 해당 세션 정보를 삭제하는 제 7 단계;As a result of the inspection of the sixth step, if the home network HA is used, it is checked whether the state is waiting for the STA. If the state does not match, it ignores the reception of the message and waits for receiving the next message. A seventh step of transitioning to the STA and transmitting the STA to the FA and deleting corresponding session information; 상기 제 6 단계의 검사 결과, 방문망 HA를 사용하는 경우, 세션 상태가 STA를 기다리고 있는 상태이면 STI를 기다리고 있는 상태로 천이한 후 STR을 발생한 FA 또는 HA에게 STA를 전송하고 세션 상태가 STA를 기다리고 있는 상태가 아니면 방문망 HA를 사용하면서 세션 상태가 두번째 STA를 기다리고 있는 상태인지를 확인하는 제 8 단계; 및As a result of the inspection of the sixth step, when using the visited network HA, if the session state is a state waiting for the STA, the state transitions to the state waiting for STI and then transmits the STA to the FA or HA having generated the STR, and the session state transmits the STA. An eighth step of checking whether the session state is waiting for the second STA while using the visited network HA if not in the waiting state; And 상기 제 8 단계의 확인 결과, STR이 FA로부터 발생한 경우 STA를 HA에게 전송하고, HA로부터 발생한 경우 STA를 FA에게 전송하며, 동적 주소를 사용하지 않는경우에는 메시지 수신을 무시하고, 다음 메시지 수신을 기다리며, 동적 주소를 사용하는 경우에는 주소 할당을 해제하고, 해당 방문 가입자 세션 정보를 삭제하는 제 9 단계As a result of the checking of the eighth step, if the STR originates from the FA, the STA is transmitted to the HA, and if the STR is generated from the HA, the STA is transmitted to the FA. The ninth step of unassigning the address and deleting the visited subscriber session information if the dynamic address is used. 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 제 1 항 내지 제 4 항중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 4 단계는,The fourth step, STI 수신 시, 세션 아이디가 방문 가입자 세션 정보에 존재하는지 확인하는 제 5 단계;A fifth step of confirming whether the session ID exists in the visited subscriber session information when the STI is received; 상기 제 5 단계의 확인 결과, 세션 아이디가 방문 가입자 세션 정보에 존재하지 않는 경우, 홈 다이아미터 서버(AAAh)에게 MRI를 전송하고, 방문 가입자 세션 정보에 존재하는 경우, 홈망 HA를 사용하는지 확인하여, 사용하면 세션 상태가 활성 상태인지를 확인하는 제 6 단계;If the session ID is not present in the visited subscriber session information as a result of the fifth step, the MRI is transmitted to the home diameter server (AAAh), and if it is present in the visited subscriber session information, it is checked whether home network HA is used. A sixth step of checking if the session state is active when used; 상기 제 6 단계의 확인 결과, 활성 상태이면 STR을 기다리는 상태로 천이하고 FA에게 STI를 전송하는 제 7 단계;A seventh step of transitioning to a waiting state for the STR and transmitting an STI to the FA if it is determined as the result of the sixth step; 상기 제 6 단계에서 홈망 HA를 사용하는지 확인하여, 사용하지 않으면 방문망 HA를 사용하는지 확인하여 사용한다면 세션 상태가 STI를 기다리고 있는 상태인지를 확인하는 제 8 단계; 및An eighth step of checking whether the home network HA is used in the sixth step, and if not using the visited network HA, checking whether the session state is waiting for STI if it is used; And 상기 제 8 단계의 확인 결과, 상태가 일치할 경우, STR을 기다리는 상태로 천이하고 FA가 STR을 발생한 경우 HA에게 STI를 전달하고 HA가 STR을 발생한 경우 FA에게 STI를 전달하며, 상태가 일치하지 않을 경우, 세션 상태가 활성 상태이면 HA에게 STI를 전송하고, 활성 상태가 아니면 해당 방문가입자 세션 정보를 삭제하는 제 9 단계As a result of the check of the eighth step, if the state is matched, the state transitions to the waiting state for the STR and if the FA has generated the STR, the STI is delivered to the HA. Otherwise, the ninth step of transmitting the STI to the HA if the session state is active and deleting the visitor session information if the session state is not active. 를 포함하는 다이아미터 기반 이동 인터넷 프로토콜 망에서의 세션 제어 방법.Session control method in a diameter-based mobile Internet protocol network comprising a. 프로세서를 구비한 이동 인터넷 프로토콜 망에,In a mobile Internet protocol network with a processor, 다이아미터 서버에서 사용될 세션 정보를 초기화하고 세션 상태 정보를 유휴 상태로 초기화하는 제 1 기능;A first function of initializing session information to be used in the diameter server and initializing session state information into an idle state; 연결되어 있는 상대 노드들간의 통신을 위해 소켓을 생성하여 연결을 설정하는 제 2 기능;A second function of establishing a connection by creating a socket for communication between connected nodes; 연결 설정된 소켓을 통해 상기 다이아미터 서버에 연결되어 있는 상대 노드들로부터 시스템 정보를 수집하는 제 3 기능; 및A third function of collecting system information from counterpart nodes connected to the diameter server through a connected socket; And 상기 시스템 정보내에 실린 이동 아이피(IP)를 지원하는 다이아미터(DIAMETER) 메시지들의 세션 아이디와 세션 정보를 이용하여 방문 가입자 및 홈 가입자의 주소 요구 타입에 따라 세션 설정 및 해제 요구를 처리하고, 방문망 자원을 사용하는 가입자의 세션 설정 및 해제 요구를 동시에 처리하는 제 4 기능The session ID and session information of DIAMETER messages supporting the mobile IP included in the system information are used to process the session establishment and release request according to the address request type of the visitor and the home subscriber. Fourth function that simultaneously handles session establishment and teardown requests of subscribers using resources 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-2002-0013340A 2001-10-30 2002-03-12 Session control method in DIAMETER base transfer internet protocol net KR100419578B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20010067272 2001-10-30
KR1020010067272 2001-10-30

Publications (2)

Publication Number Publication Date
KR20030035759A KR20030035759A (en) 2003-05-09
KR100419578B1 true KR100419578B1 (en) 2004-02-21

Family

ID=29567123

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0013340A KR100419578B1 (en) 2001-10-30 2002-03-12 Session control method in DIAMETER base transfer internet protocol net

Country Status (1)

Country Link
KR (1) KR100419578B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100473028B1 (en) * 2002-04-24 2005-03-08 에스케이 텔레콤주식회사 HRPD Telecommunication System Capable of Operating Transaction and Method thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100489891B1 (en) * 2002-12-04 2005-05-17 한국전자통신연구원 Authentication and Management Method in Diameter Server for User Connecting Other Network
KR100905594B1 (en) * 2003-02-18 2009-07-02 삼성전자주식회사 Apparatus and method for the release of redundant session in binding table of home agent between foreign agent and home agent
WO2010025627A1 (en) * 2008-09-03 2010-03-11 中兴通讯股份有限公司 Method and apparatus for identifying session information
CN101583112B (en) * 2008-08-12 2011-09-21 中兴通讯股份有限公司 Method and device for marking session information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100473028B1 (en) * 2002-04-24 2005-03-08 에스케이 텔레콤주식회사 HRPD Telecommunication System Capable of Operating Transaction and Method thereof

Also Published As

Publication number Publication date
KR20030035759A (en) 2003-05-09

Similar Documents

Publication Publication Date Title
JP4034729B2 (en) Mobile internet communication apparatus and method
US7266100B2 (en) Session updating procedure for authentication, authorization and accounting
JP4746044B2 (en) Enhanced technology to use core-based nodes for state transfer
JP3964257B2 (en) System and method for allowing a simple IP mobile node to operate seamlessly by performing true roaming in a mobile IP network
JP3557056B2 (en) Packet inspection device, mobile computer device, and packet transfer method
KR100442594B1 (en) Packet data service method for wireless telecommunication system and apparatus therefor
US7369855B2 (en) Methods and apparatus for the utilization of core based nodes for state transfer
US8065518B1 (en) Fast authentication and access control system for mobile networking
US8914005B2 (en) Method and system for network logout of a mobile station in idle mode
US7561692B2 (en) Method of authenticating mobile terminal
RU2437218C2 (en) Method to coordinate and transfer information on time interval of location update
CN101006682B (en) Fast network attchment
RU2009138223A (en) USER PROFILE, POLICY, AND PMIP KEY DISTRIBUTION IN A WIRELESS COMMUNICATION NETWORK
JP2003008622A (en) Service control network, and router equipment used in the service control network
WO2007134498A1 (en) A system and method for implementing the mobile ip access
KR20080102906A (en) Method and system for managing mobility in mobile telecommunication system using mobile ip
JP6476319B2 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
KR100419578B1 (en) Session control method in DIAMETER base transfer internet protocol net
CN101031133B (en) Method and apparatus for determining mobile-node home agent
KR100737140B1 (en) The processing apparatus and method for providing internet protocol virtual private network service on mobile communication
WO2008151569A1 (en) Method, device and system for acquiring key
KR20050046499A (en) System and method for establishing session of mobile terminal in a mobile ip system
KR100413965B1 (en) Method of Session Recovery in Diameter Servers
KR20070122053A (en) System and method for authenticating roaming mobile node based on mipv6
KR20060060533A (en) Apparatus supporting seamless mobility in the ubiquitous environment and its method

Legal Events

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

Payment date: 20130117

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140115

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20150116

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee