KR20100138110A - An entry management method of binding table using multi-thread for multimedia service stablity - Google Patents

An entry management method of binding table using multi-thread for multimedia service stablity Download PDF

Info

Publication number
KR20100138110A
KR20100138110A KR1020090056488A KR20090056488A KR20100138110A KR 20100138110 A KR20100138110 A KR 20100138110A KR 1020090056488 A KR1020090056488 A KR 1020090056488A KR 20090056488 A KR20090056488 A KR 20090056488A KR 20100138110 A KR20100138110 A KR 20100138110A
Authority
KR
South Korea
Prior art keywords
entry
thread
binding table
value
user
Prior art date
Application number
KR1020090056488A
Other languages
Korean (ko)
Other versions
KR101067848B1 (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 KR1020090056488A priority Critical patent/KR101067848B1/en
Publication of KR20100138110A publication Critical patent/KR20100138110A/en
Application granted granted Critical
Publication of KR101067848B1 publication Critical patent/KR101067848B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1845Arrangements for providing special services to substations for broadcast or conference, e.g. multicast broadcast or multicast in a specific location, e.g. geocast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A method for managing the entry of a binding table using multi-thread for multimedia service stability is provided to generate multi-thread to manage the maintenance time of a binding table. CONSTITUTION: An entry management unit receives an entry update message from a terminal within a home network, and creates and generates the entry of a binding table according to the information included in the entry update message. A thread management unit creates a thread which manages the created entry whenever generating a new entry to the binding table. The thread management unit manages the maintenance time of the entry of the binding table by using the thread.

Description

홈 네트워크 환경에서 안정적인 멀티미디어 서비스 제공을 위하여 멀티 쓰레드를 이용한 바인딩 테이블 엔트리 관리방법{AN ENTRY MANAGEMENT METHOD OF BINDING TABLE USING MULTI-THREAD FOR MULTIMEDIA SERVICE STABLITY}Binding Table Entry Management using Multi-Threading to Provide Stable Multimedia Service in Home Network Environments [ANB EUNTV RMB MAAN MEVN MV ETV YG MV LBI VHD iv MV

본 발명은 홈 네트워크 환경에서 안정적인 멀티미디어 서비스 제공을 위하여 멀티 쓰레드를 이용한 바인딩 테이블 엔트리 관리 방법에 관한 것으로서, 보다 상세하게는 홈 네트워크 내에서 IP공유기를 활용하여 멀티미디어 서비스 이동성을 실현하기 위해 서비스 이동성 지원 서버 에이전트가 관리·제어하는 바인딩 테이블의 엔트리의 오버플로를 방지하고 엔트리 유지시간을 관리하기 위한 방법에 관한 것이다.The present invention relates to a binding table entry management method using multi-threads to provide a stable multimedia service in a home network environment. More particularly, the present invention relates to a service mobility support server for realizing multimedia service mobility using an IP router in a home network. The present invention relates to a method for preventing entry overflow of a binding table managed and controlled by an agent and managing entry retention time.

최근 다수의 PC를 보유한 가구의 증가, 네트워킹 디지털 가전 시장의 확대, 홈 엔터테인먼트의 요구 확대 및 기술 발전으로 인해 홈 네트워크 내에서도 TV나 영화, 드라마, 음악 등의 멀티미디어 스트리밍 서비스를 즐길 수 있게 되었고, IPTV의 발전과 함께 홈 네트워크 내에서도 멀티미디어 스트리밍 서비스를 제공 받을 수 있도록 하기 위한 기술들이 많이 연구되고 있다. 하지만, 홈 네트워크 내에 서 IP공유기를 활용하여 사용자의 이동에 관계없이 끊김없는 멀티미디어 스트리밍 서비스를 제공 받을 수 있도록 하기 위한 기술에 대해 연구되고 있지는 않은 실정이다.With the recent increase in the number of households with multiple PCs, the expansion of the networking digital consumer market, the demand for home entertainment, and the development of technology, multimedia streaming services such as TV, movies, dramas and music can be enjoyed in the home network. With the development, many technologies for receiving multimedia streaming service in the home network have been studied. However, there is no research on the technology for providing a seamless multimedia streaming service regardless of the user's movement by using the IP router in the home network.

또한, IP 공유기 내에 바인딩 테이블을 이용하여 홈 네트워크 내의 사용자들이 홈 네트워크 내의 단말 간에 이동하더라도 끊김없는 멀티미디어 서비스를 제공할 수 있으나, 바인딩 테이블의 오버플로가 발생하는 문제가 있어 엔트리를 안정적으로 유지할 수 있는 기술이 필수적이다.In addition, by using the binding table in the IP router, even if users in the home network move between terminals in the home network, a seamless multimedia service can be provided. However, there is a problem that the binding table overflows, so that the entry can be stably maintained. Skill is essential.

홈 네트워크 내에서 멀티미디어 서비스를 제공받고 있는 사용자가 서비스 해제 요청없이 비정상적인 종료가 반복될 경우 사용자가 접속을 해제하여도 엔트리가 삭제되지 않아 삭제되어야 할 엔트리들의 누적으로 발생하는 바인딩 테이블 오버플로 문제를 해결하기 위한 방법이 필요하다.Resolves the problem of binding table overflow caused by the accumulation of entries that should be deleted because entries are not deleted when the user disconnects when the user receiving the multimedia service in the home network repeats the request without the service release. We need a way to do this.

또한, 이 바인딩 테이블 엔트리의 불규칙적인 삭제현상을 막기 위한 엔트리 유지방법이 필요하다.In addition, there is a need for an entry maintenance method to prevent irregular deletion of the binding table entry.

본 발명은 상기의 문제점들을 해결하기 위해 안출된 것으로서, 본 발명에 따른 홈 네트워크 환경에서 안정적인 멀티미디어 서비스 제공을 위하여 멀티쓰레드를 이용한 바인딩 테이블 엔트리 관리 방법은 멀티쓰레드를 생성하여 바인딩 테이블의 유지시간을 관리하도록 함으로써 바인딩테이블의 엔트리 오버플로를 방지하는 것을 목적으로 한다.The present invention has been made to solve the above problems, the binding table entry management method using a multi-threaded to provide a stable multimedia service in a home network environment according to the invention manages the maintenance time of the binding table by creating a multi-thread The purpose is to prevent entry overflow of the binding table.

또한, 바인딩 테이블의 오버플로가 발생하는 경우 정상적인 엔트리가 삭제되어 멀티미디어 서비스가 비정상적으로 끊기는 현상이 발생할 수가 있는데, 엔트리의 오버플로 발생 가능성을 미연에 방지함으로써 홈 네트워크 내에서 사용자의 단말 이동이 빈번하더라도 안정적이고 끊김없는 멀티미디어 스트리밍 서비스를 제공함을 목적으로 한다. In addition, if an overflow of the binding table occurs, a normal entry may be deleted and abnormally disconnected multimedia services may occur.However, even if a user moves frequently in a home network by preventing an entry overflow, It aims to provide a stable and seamless multimedia streaming service.

상기의 문제점을 해결하기 위한 본 발명의 멀티쓰레드를 이용한 바인딩 테이블 엔트리 관리 방법은 홈 네트워크 내의 단말로부터 엔트리 업데이트 메시지를 수신하는 단계와, 엔트리 업데이트 메시지에 포함된 정보에 따라 바인딩 테이블의 엔트리를 생성 또는 갱신하는 단계와, 바인딩 테이블에 새로운 엔트리가 생성될 때마다 생성된 엔트리를 관리하는 쓰레드를 생성하는 단계와, 쓰레드를 이용하여 바인딩 테이블의 엔트리의 유지시간을 관리하는 단계를 포함하여 이루어질 수 있다.In the binding table entry management method using the multi-thread of the present invention for solving the above problems, receiving an entry update message from the terminal in the home network, and generates or generates an entry in the binding table according to the information contained in the entry update message. Updating, creating a thread for managing the generated entry each time a new entry is created in the binding table, and managing the maintenance time of the entry in the binding table using the thread.

또한, 전술한 구성에서, 바인딩 테이블의 엔트리 유지시간을 관리하는 단계는, 쓰레드를 이용하여 상기 바인딩 테이블에서 상기 쓰레드의 관리 대상 엔트리를 검색하고 관리 대상 엔트리의 엔트리 유지시간 데이터를 추출하여 소정의 초기 설정값으로 설정 또는 갱신되었는지 판단하는 단계와, 엔트리 유지시간 데이터가 초기 설정값으로 설정 또는 갱신된 경우에는 상기 엔트리 유지시간 데이터를 카운팅 변수값으로 저장부에 저장하는 단계와, 저장부에 저장된 카운팅 변수값을 일정 시간 경과 후 소정의 크기 만큼 감산하고, 감산된 카운팅 변수값을 바인딩 테이블의 관리 대상 엔트리에 갱신된 엔트리 유지시간 데이터로 저장하는 단계와, 쓰레드에 의해 수행되는 상기의 단계를 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 될 때까지 반복 수행하며 상기 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 된 경우, 관리 대상 엔트리를 삭제하고 관리 대상 엔트리를 관리하는 쓰레드를 삭제하는 단계를 포함하여 이루어질 수 있다.In the above configuration, the managing of the entry retention time of the binding table may include: searching for a managed entry of the thread in the binding table using a thread and extracting entry retention time data of a managed entry from a predetermined initial state. Determining whether the setting value is updated or set to a set value, and if the entry holding time data is set or updated to an initial setting value, storing the entry holding time data as a counting variable value in a storage unit, and counting stored in the storage unit. Subtracting the variable value by a predetermined size after a predetermined time, storing the subtracted counting variable value as updated entry holding time data in a managed entry of the binding table, and counting the above-described steps performed by a thread. Repeat until the value is a predetermined entry hold end value Performs can be achieved, including the step of: if the counting value of the variable a is a predetermined entry holding the end value, deleting a managed entry and deletes the thread that manages the managed entry.

또한 전술한 구성에서, 상기 엔트리 유지시간을 관리하는 단계는,Also in the above configuration, the step of managing the entry retention time,

쓰레드는 상기 관리 대상 엔트리의 엔트리 유지시간 초기 설정값을 수신하여 카운팅 변수값으로 저장하고, 카운팅 변수값을 소정 시간의 경과마다 소정의 크기만큼 반복 감산하여 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 된 경우, 관리 대상 엔트리를 삭제하되, 특정 엔트리에 대한 엔트리 업데이트 메시지를 수신하는 경우에는 특정 엔트리를 관리하는 쓰레드의 카운팅 변수값을 엔트리 유지시간 초기 설정값으로 갱신할 수도 있다.The thread receives the entry holding time initial setting value of the managed entry and stores the counting variable value as a counting variable value, and repeatedly counts the counting variable value by a predetermined size over a predetermined time period so that the counting variable value has a predetermined entry holding end value. In this case, the management target entry may be deleted, but when receiving an entry update message for a specific entry, the counting variable value of the thread managing the specific entry may be updated to the initial entry time setting value.

또한 전술한 구성에서, 엔트리는 각각의 사용자 ID 별로 하나씩 생성되고, 쓰레드는 각각의 관리대상 엔트리 별로 생성되는 것이며, 엔트리 업데이트 메시지 수신 시 상기 엔트리 업데이트 메시지에 포함된 사용자 ID 정보와 상기 바인딩 테이블에 기 생성되어 있는 엔트리들의 사용자 ID와 비교하여, 일치하는 사용자 ID가 존재하는 경우 상기 일치하는 사용자 ID를 갖는 바인딩 테이블의 엔트리를 갱신(업데이트)하고, 일치하는 사용자 ID가 존재하지 않는 경우 상기 수신된 엔트리 업데이트 메시지 정보에 따라 새로운 엔트리를 바인딩 테이블에 생성하는 것을 특징으로 할 수 있다.In addition, in the above-described configuration, one entry is created for each user ID, and a thread is created for each managed object entry. When an entry update message is received, entries are written to the user ID information included in the entry update message and the binding table. Compares (updates) the entry in the binding table with the matching user ID if there is a matching user ID, and compares the received entry if there is no matching user ID. The new entry may be generated in the binding table according to the update message information.

또한 전술한 구성에서, 엔트리 업데이트 메시지는 단말로부터 주기적으로 수신되는 것이거나, 제어부가 엔트리 업데이트 메시지 송신 요청을 단말로 전송한 경우에 대한 응답으로 수신되는 것을 특징으로 할 수 있다.In addition, in the above-described configuration, the entry update message may be received periodically from the terminal or may be received in response to the case in which the control unit transmits an entry update message transmission request to the terminal.

또한, 본 발명에 따른 멀티쓰레드를 이용한 바인딩 테이블 엔트리 관리 기능을 갖는 IP 공유장치는 바인딩 테이블을 생성하여 관리하는 바인딩 테이블 관리부와, 홈 네트워크 내의 단말에 설치된 단말에 접속한 사용자 정보 및 단말 정보를 포함하는 엔트리를 상기 바인딩 테이블 내에 생성하여 관리하는 엔트리 관리부와, 엔트리의 유지시간을 관리하여 엔트리 유지시간이 만료되면 상기 엔트리를 삭제하는 쓰레드를 생성하여 관리하는 쓰레드 관리부와, 홈 네트워크 내의 단말과의 데이터의 송신과 수신을 수행하는 송수신부를 포함하되, 엔트리는 단말에 접속한 사용자 별로 생성되고 갱신 가능한 엔트리 유지시간 정보를 포함하며, 쓰레드는 생성된 각각의 엔트리를 관리하기 위해 각각의 관리대상 엔트리마다 생성되며, 쓰레드는 엔트리 유지시간을 카운팅하여 관리 대상 엔트리의 유지시간이 만료되면 상기 관리대상 엔트리를 삭제하는 것을 특징으로 할 수 있다.In addition, the IP sharing apparatus having a binding table entry management function using the multi-thread according to the present invention includes a binding table manager for generating and managing a binding table, and user information and terminal information connected to a terminal installed in a terminal in a home network. An entry manager for creating and managing an entry in the binding table, a thread manager for managing a maintenance time of the entry, and a thread for deleting the entry when the entry retention time expires, and a terminal in the home network. It includes a transmitting and receiving unit for performing the transmission and reception of the entry, the entry is generated for each user connected to the terminal, and includes an entry retention time information that can be updated, the thread is created for each managed object entry to manage each generated entry The thread is holding the entry When the counting by the retention time of the managed entry expiry may be characterized in that for deleting the entries managed.

또한 전술한 구성에서, 쓰레드는 엔트리 유지시간을 검색하여 쓰레드의 카운팅 변수로 저장부에 저장하고, 카운팅 변수로 저장된 값을 카운팅하여 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 되면 관리하는 엔트리를 삭제하며, 송수신부가 특정 사용자가 접속한 단말로부터 바인딩 테이블 업데이트 메시지를 수신하면, 엔트리 관리부는 상기 바인딩 테이블의 상기 특정 사용자 정보가 포함된 엔트리의 엔트리 유지시간을 소정의 초기값으로 갱신하고, 쓰레드는 바인딩 테이블의 엔트리 유지시간이 소정의 초기값으로 갱신되었는지 여부를 검색하여 갱신된 경우 갱신된 엔트리 유지시간을 카운팅 변수로 저장하여 엔트리 유지시간을 다시 카운팅 하는 것을 특징으로 할 수 있다.Also, in the above configuration, the thread retrieves the entry retention time and stores it in the storage as a counting variable of the thread, and counts the value stored as the counting variable to delete the managed entry when the counting variable value reaches a predetermined entry retention end value. If the transceiver receives the binding table update message from the terminal to which the specific user is connected, the entry manager updates the entry holding time of the entry including the specific user information in the binding table to a predetermined initial value, and the thread binds. When the entry retention time of the table has been updated to a predetermined initial value, the updated entry retention time may be stored as a counting variable, and the entry retention time may be counted again.

또한 전술한 구성에서, 쓰레드가 수행하는 카운팅은 일정 시간이 경과할 때마다 상기 카운팅 변수에 저장된 값을 소정의 크기만큼 감소시키는 것이고, 쓰레드는 상기 카운팅 변수에 저장된 값이 상기 소정의 크기만큼 감소될 때마다 바인딩 테이블에 저장된 엔트리 유지시간을 소정의 크기만큼 감소시키는 것을 특징으로 할 수 있다.Also, in the above-described configuration, the counting performed by the thread is to decrease the value stored in the counting variable by a predetermined amount every time a certain time elapses, and the thread is to reduce the value stored in the counting variable by the predetermined size. Each time, the entry retention time stored in the binding table may be reduced by a predetermined size.

또한 전술한 구성에서, 바인딩 테이블의 데이터는 적어도 하나 이상의 엔트리를 포함하고, 엔트리는 사용자 ID, 서비스 ID, 사용자가 접속한 단말의 IP 주소, 사용자가 접속한 단말의 MAC 주소, 엔트리 유지시간을 포함하는 것을 특징으로 할 수 있다.In addition, in the above configuration, the data in the binding table includes at least one entry, and the entry includes a user ID, a service ID, an IP address of a terminal to which the user is connected, a MAC address of a terminal to which the user is connected, and an entry holding time. It can be characterized by.

본 발명에 따르면 홈 네트워크 내에서 이동하면서 멀티미디어 서비스를 제공받고 있던 사용자의 위치 정보, ID 정보, 서비스 정보를 저장하는 바인딩 테이블의 엔트리를 멀티쓰레드를 생성하여 바인딩 테이블의 엔트리 유지시간을 관리하도록 함으로써 바인딩테이블의 엔트리 오버플로를 방지하는 효과가 있다.According to the present invention, a multi-threaded entry in a binding table that stores location information, ID information, and service information of a user who is receiving a multimedia service while moving in a home network is managed by creating a multi-thread to manage the entry retention time of the binding table. This prevents table overflow.

또한, 바인딩 테이블의 오버플로가 발생하는 경우 정상적인 엔트리가 삭제되어 멀티미디어 서비스가 비정상적으로 끊기는 현상이 발생할 수가 있는데, 엔트리의 오버플로 발생 가능성을 미연에 방지함으로써 홈 네트워크 내에서 사용자의 단말 이동이 빈번하더라도 안정적이고 끊김없는 멀티미디어 스트리밍 서비스를 제공할 수 있는 효과가 있으며, 결과적으로 홈 네트워크 내에서 멀티미디어 서비스 이동성을 실현함으로써 서비스가 사용자의 위치를 따라가는 사용자가 중심의 네트워크를 구성하여 보다 편리하게 멀티미디어 스트리밍 서비스를 제공 받게 할 수 있는 효과가 있다.In addition, if an overflow of the binding table occurs, a normal entry may be deleted and abnormally disconnected multimedia services may occur.However, even if a user moves frequently in a home network by preventing an entry overflow, It has the effect of providing a stable and seamless multimedia streaming service, and as a result, it realizes the mobility of multimedia service within the home network. It is effective to be provided.

이하에서는 첨부된 도면을 참조하여 본 발명의 바람직한 실시예들을 보다 상세히 설명하도록 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 서비스 이동성 지원 서버 에이전트와 바인딩 테이블과의 관계에 대한 상세 구성도이다.1 is a detailed configuration diagram of a relationship between a service mobility support server agent and a binding table according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 홈 네트워크에서의 서비스 이동성을 제공하기 위 한 시스템에 설치되는 프로그램 모듈은 서비스 이동성 지원 단말 에이전트(101)와 서비스 이동성 지원 서버 에이전트(102)가 있으며 각각 홈 네트워크의 단말과 IP 공유기에 설치된다. 서비스 이동성 지원 서버 에이전트(102)는 바인딩 테이블을 생성 관리하는데, 서비스 이동성 지원 단말 에이전트로부터 전달된 사용자의 위치 정보, ID 정보, 서비스 정보등과 같은 정보를 바인딩 테이블에 저장하여 관리한다.As shown in FIG. 1, a program module installed in a system for providing service mobility in a home network includes a service mobility support terminal agent 101 and a service mobility support server agent 102, each of which is a terminal of a home network. Is installed on the router. The service mobility support server agent 102 generates and manages a binding table. The service mobility support server agent 102 stores and manages information such as location information, ID information, service information, etc. of a user transferred from the service mobility support terminal agent.

서비스 이동성 지원 서버 에이전트 프로그램이 IP 공유기에 설치되어 동작하는 제어 기능들은 바인딩 테이블을 생성하여 관리하는 바인딩 테이블 관리부와, 홈 네트워크 내의 단말에 설치된 단말 에이전트 프로그램에 접속한 사용자 정보 및 단말 정보를 포함하는 엔트리를 바인딩 테이블 내에 생성하여 관리하는 엔트리 관리부와, 엔트리의 유지시간을 관리하여 엔트리 유지시간이 만료되면 상기 엔트리를 삭제하는 쓰레드(Thread)를 생성하여 관리하는 쓰레드 관리부를 통해 수행된다.The control functions in which the service mobility support server agent program is installed in the IP router and operate include a binding table manager for generating and managing a binding table, an entry including user information and terminal information connected to a terminal agent program installed in a terminal in a home network. It is performed through the entry management unit for creating and managing the entry in the binding table, and the thread management unit for managing and maintaining the entry of the entry to create a thread (thread) for deleting the entry when the entry retention time expires.

또한, 홈 네트워크 내의 단말과의 데이터의 송신과 수신을 수행하는 송수신부의 제어를 포함한다. 편의 상 바인딩 테이블 관리부, 엔트리 관리부, 쓰레드 관리부, 송수신부 제어부가 수행하는 기능을 서비스 이동성 지원 서버 에이전트가 수행하는 것으로 설명한다.It also includes a control unit for transmitting and receiving the data transmission and reception with the terminal in the home network. For convenience, the service mobility support server agent performs a function performed by the binding table manager, the entry manager, the thread manager, and the transceiver controller.

도 2는 본 발명의 일 실시예에 따른 바인딩 테이블의 동작 상태 변화에 대한 쓰레드의 동작을 나타낸 동작도이다.2 is an operation diagram illustrating a thread's operation of an operation state change of a binding table according to an exemplary embodiment of the present invention.

사용자가 서비스 이동성 지원 단말 에이전트에 최초로 접속하게 되면 서비스 이동성 지원 서버 에이전트는 바인딩 테이블에 사용자의 위치 정보 및 ID 정보를 저장하기 위한 새로운 엔트리를 추가(201)한다. 바인딩 테이블에 엔트리가 추가되면서 해당 엔트리의 유지 시간을 관리하기 위한 쓰레드(204)가 생성된다.When the user first connects to the service mobility support terminal agent, the service mobility support server agent adds 201 a new entry for storing the user's location information and ID information to the binding table. As an entry is added to the binding table, a thread 204 is created to manage the retention time of the entry.

바인딩 테이블에 추가되는 엔트리들은 서비스 이동성에 필요한 정보와 함께 엔트리 유지시간 항목을 포함한다. 바인딩 테이블 엔트리가 추가 될 때 마다 해당 엔트리의 유지시간을 관리하는 쓰레드를 생성하며 이 쓰레드에서는 일정 시간 간격으로 잔여 유지시간을 카운팅한다. 각각의 쓰레드는 각 관리대상 엔트리의 잔여 유지시간을 카운팅 변수값으로 저장하여 이를 일정시간 간격으로 감산한다. 쓰레드는 바인딩 테이블에 존재하는 엔트리의 숫자만큼의 멀티쓰레드가 동작하며 각 쓰레드에서 카운팅 하는 엔트리의 잔여 유지시간이 만료되면, 즉 카운팅 변수값이 미리 설정된 소정의 종료값이 되면 관리대상 엔트리를 삭제하고 동작하고 있던 쓰레드 자체도 제거된다. 이 때, 카운팅 변수값은 초기 설정값으로부터 일정 시간이 경과할때마다 소정의 크기 만큼 감산하도록 할 수 있으며, 미리 설정된 소정의 종료값(엔트리 유지 종료값)을 설정할 수 있다. 바람직하게는 1초가 경과할 때마다 카운팅 변수값을 1만큼 감소하도록 설정하고, 카운팅 변수값이 엔트리 유지 종료값인 0이 되는 경우, 그 쓰레드가 관리하는 관리 대상 엔트리를 삭제하고 쓰레드를 종료할 수 있다. 쓰레드가 정상적으로 동작되는 동안 바인딩 테이블 엔트리를 일정 간격으로 검색하고 업데이트하는 동작을 한다.Entries added to the binding table include entry duration items along with information needed for service mobility. Each time a binding table entry is added, it creates a thread that manages the retention time for that entry, and counts the remaining maintenance time at regular intervals. Each thread stores the remaining retention time of each managed entry as a counting variable value and subtracts it at regular intervals. The thread operates as many threads as the number of entries in the binding table, and when the remaining retention time of the entry counting in each thread expires, that is, when the counting variable value reaches a predetermined end value, the managed entry is deleted. The running thread itself is also removed. At this time, the counting variable value can be subtracted from the initial setting value by a predetermined size whenever a predetermined time elapses, and a predetermined end value (entry holding end value) set in advance can be set. Preferably, the counting variable is decremented by 1 every 1 second. If the counting variable becomes 0, the entry retention end value, the managed entry managed by the thread can be deleted and the thread can be terminated. have. Retrieve and update binding table entries at regular intervals while the thread is running normally.

서비스 이동성 지원 단말 에이전트는 바인딩 테이블 엔트리 업데이트 메시지를 서비스 이동성 지원 서버 에이전트가 설치된 IP 공유기로 전송하고 이를 수신한 IP 공유기는 바인딩 테이블의 해당 엔트리를 검색하여 해당 엔트리의 엔트리 유지 시간을 초기 설정값으로 업데이트 한다(202). 이 초기 설정값은 멀티미디어 서비스를 안정적으로 유지위하기 위해 적절히 선택될 수 있는 값으로 최소한의 엔트리 유지 시간을 보장한다. 이 초기 설정값은 홈 네트워크의 사용자 이동성과 네트워크 상황에 따라 가변될 수도 있다. 예컨대, 새로운 사용자 엔트리 추가 속도가 빨라지면 최소한의 엔트리 유지시간을 보장하는 상기 초기 설정값을 보다 작은 수치로 변경하여 불필요한 엔트리의 삭제가 원활히 이루어지도록 하여 바인딩테이블 오버플로 발생 가능성을 감소시키고, 새로운 사용자 엔트리 추가 속도가 상대적으로 느려지면 최소한의 엔트리 유지시간을 보장하는 초기 설정값을 보다 큰 값으로 변경하여 엔트리의 최소 유지시간을 증가시킬 수 있다.The service mobility support terminal agent sends a binding table entry update message to the IP router on which the service mobility support server agent is installed, and the received IP router searches for the corresponding entry in the binding table and updates the entry retention time of the entry to the initial setting. (202). This initial value is a value that can be appropriately selected to keep the multimedia service stable, ensuring a minimum entry retention time. This initial setting value may vary depending on the user mobility of the home network and the network situation. For example, when the speed of adding new user entries is increased, the initial setting value that guarantees minimum entry retention time is changed to a smaller value to facilitate the deletion of unnecessary entries, thereby reducing the possibility of a binding table overflow, and the new user. If the entry addition speed becomes relatively slow, the minimum retention time of the entry can be increased by changing the initial setting value that guarantees the minimum entry retention time to a larger value.

한편, 바인딩 테이블의 특정 엔트리의 엔트리 유지 시간이 초기 설정값으로 업데이트되면, 업데이트된 엔트리를 관리하는 쓰레드(204)의 카운팅 변수값 역시 초기 설정값으로 업데이트 한다.On the other hand, when the entry retention time of a specific entry in the binding table is updated to the initial setting value, the counting variable value of the thread 204 managing the updated entry is also updated to the initial setting value.

이러한 동작을 통해 각 쓰레드는 자신이 관리하는 엔트리의 엔트리 유지 시간을 관리할 수 있으며, 쓰레드의 카운팅 변수값이 엔트리 유지 종료값이 되거나 관리 대상 엔트리가 삭제되지 않는 한 계속하여 유지된다.This operation allows each thread to manage the entry retention time of its own managed entry, and remains constant unless the counting variable value of the thread becomes the entry retention end value or the managed entry is deleted.

한편, 사용자가 서비스 이동성 지원 단말 에이전트에 접속을 정상적으로 종료하게 되면 서비스 이동성 지원 단말은 접속 종료 메시지를 IP 공유기로 송신하고 서비스 이동성 지원 서버 에이전트는 바인딩 테이블에 접근하여 해당 사용자 User ID가 포함되어 있는 바인딩 테이블의 엔트리를 삭제하게 된다. 엔트리가 삭제되는 경우 그 엔트리를 관리하는 쓰레드도 제거된다.On the other hand, if the user terminates the access to the service mobility support terminal agent normally, the service mobility support terminal sends the connection termination message to the IP router, and the service mobility support server agent accesses the binding table and binds the corresponding user ID. Delete the table entry. When an entry is deleted, the thread managing that entry is also removed.

바인딩 테이블의 엔트리 유지 시간을 관리하는 쓰레드(204)는 엔트리가 추가 될 때마다 생성되며 바인딩 테이블 엔트리의 갯수 만큼의 쓰레드가 생성, 유지된다.The thread 204 managing the entry holding time of the binding table is created each time an entry is added, and as many threads as the number of the binding table entries are created and maintained.

엔트리 업데이트 메시지는 서비스 이동성 지원 에이전트에 의해 주기적으로 IP 공유기로 전송하도록 하거나, 서비스 이동성 지원 서버 에이전트에 의해 제어되고 송수신부를 통해 전송되는 엔트리 업데이트 메시지 송신 요청을 단말이 수신하는 경우에 이에 대한 응답으로 전송되도록 할 수도 있다.The entry update message is transmitted by the service mobility support agent to the IP router periodically or in response to the terminal receiving an entry update message transmission request controlled by the service mobility support server agent and transmitted through the transceiver. You can also

도 3은 본 발명의 일 실시예에 따른 바인딩 테이블 엔트리 추가에 따른 쓰레드의 동작으로 나타낸 순서도이다.3 is a flowchart illustrating an operation of a thread according to adding a binding table entry according to an embodiment of the present invention.

홈 네트워크 내에서 멀티미디어 서비스를 제공받고자 하는 사용자가 초기 접속할 경우 바인딩 테이블에 새로운 엔트리가 추가된다(S310). 엔트리가 추가되면 해당 엔트리의 유지시간을 관리하기 위한 쓰레드가 생성되고(S320), 쓰레드는 엔트리 관리를 위한 동작으로 수행하게 된다(S330). 엔트리 유지를 위한 쓰레드 동작은 도 5에서 자세히 설명하기로 한다. 쓰레드의 동작에 따라 관리 대상 엔트리의 엔트리 유지시간이 만료되면 쓰레드는 엔트리를 삭제 시도하고 엔트리가 삭제되었는지를 바인딩 테이블을 참조하여 검사한 후(S340) 검사 결과 엔트리가 삭제되지 않았다며 쓰레드는 제거되지 않고 최초 쓰레드가 생성된 이후부터의 동작을 반복하며 검사 결과 엔트리가 정상적으로 삭제되었다면 해당 쓰레드는 종료하게 된다(S350).When a user who wants to receive a multimedia service in the home network initially connects, a new entry is added to the binding table (S310). When the entry is added, a thread for managing the maintenance time of the entry is generated (S320), and the thread performs an operation for entry management (S330). The thread operation for maintaining an entry will be described in detail with reference to FIG. 5. When the entry maintenance time of a managed entry expires according to the operation of the thread, the thread attempts to delete the entry, checks whether the entry has been deleted by referring to the binding table (S340), and checks that the entry has not been deleted. After the first thread is created, the operation is repeated, and if the entry is normally deleted as a result of the check, the thread is terminated (S350).

도 4는 본 발명의 일 실시예에 따른 쓰레드의 동작 상태 변화에 따라 바인딩 테이블의 엔트리를 제어하는 동작을 나타낸 상태도이다.4 is a state diagram illustrating an operation of controlling an entry of a binding table according to a change in an operating state of a thread according to an embodiment of the present invention.

쓰레드 생성 초기상태(401)에서 자신이 관리하고자 하는 해당 바인딩 테이블 엔트리에 초기 설정된 Time1(407) 값(엔트리 유지 시간)을 검색하여 쓰레드의 Time2(406) 값(카운팅 변수값)에 저장하여 초기 설정 한다.In the initial state of thread creation (401), it retrieves the time1 (407) value (entry holding time) initially set in the corresponding binding table entry that it wants to manage, and stores it in the time2 (406) value (counting variable value) of the thread. do.

이후 쓰레드는 진행상태(402)로 진입하여 “Time2 = Time2 -1”의 수식(404)을 수행하게 된다. 상기의 수식은 1초 간격으로 수행되는 것이 바람직하다. 그러나, 일정한 간격으로 Time2의 값을 일정 크기 만큼 감산하도록 하면 무방하므로 반드시 1만큼 감산할 필요는 없으며 Time2 값을 0부터 증가시켜 엔트리 유지 시간 초기 설정값과 동일해질때까지 쓰레드가 동작하도록 할 수도 있다.Thereafter, the thread enters the progress state 402 to perform the expression 404 of "Time2 = Time2 -1". The above formula is preferably performed at 1 second intervals. However, it is not necessary to subtract the value of Time2 by a certain amount at regular intervals, so it is not necessary to subtract by 1, and the thread can be operated until the value of Time2 is increased from 0 until it is equal to the initial value of the entry retention time. .

쓰레드의 동작으로 인해 변화되는 Time2(406)값은 수식(404)를 수행할 때 마다 해당 바인딩 테이블 엔트리의 Time1(407)값을 업데이트하고, 엔트리에 Time1(407)값을 검색하여 엔트리 유지 시간 초기 설정값으로 다시 갱신된 경우에만 쓰레드의 Time2(406) 값으로 설정한다. 이와 같은 과정을 쓰레드의 Time2(406) 값이 만료(Time2 = 0) 될 때까지 실행한다. The value of Time2 (406) that changes due to the thread's operation updates the Time1 (407) value of the corresponding binding table entry each time the formula (404) is executed, and searches for the Time1 (407) value in the entry to start the entry retention time. Set to Thread 2's Time2 value only when the value is updated again. This process is executed until the thread's Time2 (406) value expires (Time2 = 0).

쓰레드의 Time2(406) 값이 만료되면 만료상태(403)에 돌입하게 되고 쓰레드는 관리하고 있던 해당 바인딩 테이블 엔트리의 삭제 명령을 내린다. 이는 사용자가 접속되어 있는 서비스 이동성 지원 단말 에이전트로부터의 바인딩 테이블 엔트리 업데이트 메시지가 더 이상 서비스 이동성 지원 서버 에이전트에게 전송되어지지 않는 경우에 발생한다. 즉, 사용자가 정상적으로 서비스 접속 종료를 알리지 않고 비정상적으로 접속을 해지한 경우 서비스 이동성 서버 에이전트에 의한 정상적인 엔트리 삭제 프로세스가 이루어지지 않은 경우에 해당된다. 이러한 비정상적인 종료로 인해 바인딩 테이블에 필요 없는 엔트리가 증가하여 바인딩 테이블의 오버플로가 발생함을 방지하기 위해 필수적으로 엔트리의 유지시간을 관리해야 한다.  When the thread's Time2 (406) value expires, it enters the expiration state (403) and the thread issues a delete command for the corresponding binding table entry that it was managing. This occurs when the binding table entry update message from the service mobility support terminal agent to which the user is connected is no longer sent to the service mobility support server agent. That is, when the user terminates the connection abnormally without notifying the service connection termination normally, this is a case where the normal entry deletion process is not performed by the service mobility server agent. In order to prevent overflow of the binding table due to an increase in unnecessary entries due to such abnormal termination, it is necessary to manage the retention time of the entry.

도 5는 본 발명의 일 실시예에 따른 쓰레드의 구체적인 동작을 나타내며 도 4의 상태변화도를 순차적으로 표현한 순서도이다.FIG. 5 is a flowchart illustrating a detailed operation of a thread according to an embodiment of the present invention and sequentially expressing a state diagram of FIG. 4.

최초 쓰레드가 생성되고 생성된 쓰레드는 자신이 관리할 엔트리의 유지시간을 쓰레드에서 카운팅 할 변수값(Time2)으로 설정하기 위해 해당 엔트리의 유지 시간(Time1) 항목을 검색한다. 쓰레드는 최초 엔트리를 생성한 때와 검색한 엔트리의 유지시간이 엔트리 유지 시간 초기 설정값으로 갱신된 경우에만 초기 설정값을 쓰레드의 카운팅 변수값(Time2)으로 설정한다(S510). 이후 쓰레드는 1초간의 딜레이 후(S520)에 "Time2 = Time2 -1"의 수식을 수행하고(S530) 수행한 결과 값인 Time2 값을 엔트리의 유지시간(Time1) 항목에 업데이트한다(S540). 쓰레드의 동작 1사이클 마다 카운팅 변수 Time2 값이 만료가 되었는지를 검사하고(S550) 만료되지 않았다면 위의 동작을 반복하여 수행하며 만료되었을 경우 자신이 관리하고 있던 엔트리를 삭제한다(S560). The initial thread is created and the created thread searches for the entry's retention time (Time1) to set the retention time of the entry it manages to the variable value (Time2) to be counted in the thread. The thread sets the initial setting value to the counting variable value (Time2) of the thread only when the first entry is created and when the retention time of the retrieved entry is updated to the entry retention time initial setting value (S510). After the delay for 1 second (S520), the thread executes the expression "Time2 = Time2 -1" (S530), and updates the value of Time2, which is a result value, to the entry time (Time1) of the entry (S540). It checks whether the counting variable Time2 has expired every one cycle of the thread's operation (S550). If it has not expired, the above operation is repeated and the entry managed by the thread is deleted (S560).

도 1은 본 발명의 일 실시예에 따른 서비스 이동성 지원 서버 에이전트와 바인딩 테이블과의 관계에 대한 상세 구성도이다.1 is a detailed configuration diagram of a relationship between a service mobility support server agent and a binding table according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 바인딩 테이블의 동작 상태 변화에 대한 쓰레드의 동작을 나타낸 동작도이다.2 is an operation diagram illustrating a thread's operation of an operation state change of a binding table according to an exemplary embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 바인딩 테이블 엔트리 추가에 따른 쓰레드의 동작으로 나타낸 순서도이다.3 is a flowchart illustrating an operation of a thread according to adding a binding table entry according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 쓰레드의 동작 상태 변화에 따라 바인딩 테이블의 엔트리를 제어하는 동작을 나타낸 상태도이다.4 is a state diagram illustrating an operation of controlling an entry of a binding table according to a change in an operating state of a thread according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 쓰레드의 구체적인 동작을 나타내며 도 4의 상태변화도를 순차적으로 표현한 순서도이다.FIG. 5 is a flowchart illustrating a detailed operation of a thread according to an embodiment of the present invention and sequentially expressing a state diagram of FIG. 4.

Claims (9)

홈 네트워크 내의 단말로부터 엔트리 업데이트 메시지를 수신하는 (a) 단계;(A) receiving an entry update message from a terminal in the home network; 상기 엔트리 업데이트 메시지에 포함된 정보에 따라 바인딩 테이블의 엔트리를 생성 또는 갱신하는 (b) 단계;(B) generating or updating an entry of a binding table according to the information included in the entry update message; 상기 바인딩 테이블에 새로운 엔트리가 생성될 때마다 상기 생성된 엔트리를 관리하는 쓰레드(Thread)를 생성하는 (c) 단계; 및(C) creating a thread managing the created entry each time a new entry is created in the binding table; And 상기 쓰레드를 이용하여 상기 바인딩 테이블의 엔트리의 유지시간을 관리하는 (d) 단계를 포함하는 것을 특징으로 하는 IP 공유기의 안정적인 엔트리 관리 방법.And (d) managing a maintenance time of an entry of the binding table by using the thread. 제 1 항에 있어서, 상기 (d) 단계는,The method of claim 1, wherein step (d) 상기 쓰레드를 이용하여 상기 바인딩 테이블에서 상기 쓰레드의 관리 대상 엔트리를 검색하고 상기 관리 대상 엔트리의 엔트리 유지시간 데이터를 추출하여 소정의 초기 설정값으로 설정 또는 갱신되었는지 판단하는 (d-1) 단계;Searching for a management target entry of the thread in the binding table using the thread, extracting entry retention time data of the management target entry, and determining whether the thread is set or updated to a predetermined initial setting value; 상기 엔트리 유지시간 데이터가 초기 설정값으로 설정 또는 갱신된 경우에는 상기 엔트리 유지시간 데이터를 카운팅 변수값으로 저장부에 저장하는 (d-2) 단계;(D-2) storing the entry holding time data as a counting variable value when the entry holding time data is set or updated to an initial setting value; 상기 저장부에 저장된 카운팅 변수값을 일정 시간 경과 후 소정의 크기 만큼 감산하고, 상기 감산된 카운팅 변수값을 상기 바인딩 테이블의 관리 대상 엔트리에 갱신된 엔트리 유지시간 데이터로 저장하는 (d-3) 단계; 및Subtracting a counting variable value stored in the storage unit by a predetermined size after a predetermined time and storing the subtracted counting variable value as updated entry holding time data in a management target entry of the binding table (d-3) ; And 상기 (d-1) 내지 (d-3) 단계를 상기 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 될 때까지 반복 수행하며, 상기 반복 수행에 의하여 상기 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 된 경우, 상기 관리 대상 엔트리를 삭제하고 상기 관리 대상 엔트리를 관리하는 쓰레드를 삭제하는 (d-4) 단계를 포함하는 것을 특징으로 하는 IP 공유기의 안정적인 엔트리 관리 방법.Steps (d-1) to (d-3) are repeated until the counting variable value reaches a predetermined entry retention end value, and the counting variable value is determined by the iteration. And (d-4) deleting the management target entry and deleting the thread managing the management target entry. 제 1 항에 있어서, 상기 (d) 단계는,The method of claim 1, wherein step (d) 상기 쓰레드는 상기 관리 대상 엔트리의 엔트리 유지시간 초기 설정값을 수신하여 카운팅 변수값으로 저장하고, 상기 카운팅 변수값을 소정 시간의 경과마다 소정의 크기만큼 반복 감산하여 상기 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 된 경우, 상기 관리 대상 엔트리를 삭제하되,The thread receives an entry holding time initial setting value of the management target entry and stores it as a counting variable value, and repeatedly counts the counting variable value by a predetermined size for each elapse of a predetermined time to maintain the preset counting value. When the end value is reached, the management target entry is deleted. 특정 엔트리에 대한 엔트리 업데이트 메시지를 수신하는 경우에는 상기 특정 엔트리를 관리하는 쓰레드의 카운팅 변수값을 엔트리 유지시간 초기 설정값으로 갱신하는 것을 특징으로 하는 IP 공유기의 안정적인 엔트리 관리 방법.And upon receiving an entry update message for a specific entry, updating a counting variable value of a thread managing the specific entry to an initial entry time setting value. 제 2 항 또는 제 3 항에 있어서,The method according to claim 2 or 3, 상기 엔트리는 각각의 사용자 ID 별로 하나씩 생성되고, 상기 쓰레드는 각각의 관리대상 엔트리 별로 생성되는 것이며,The entry is created one for each user ID, the thread is created for each managed entry, 상기 (b) 단계에서, 상기 엔트리 업데이트 메시지 수신 시 상기 엔트리 업데 이트 메시지에 포함된 사용자 ID 정보와 상기 바인딩 테이블에 기 생성되어 있는 엔트리들의 사용자 ID와 비교하여, 일치하는 사용자 ID가 존재하는 경우 상기 일치하는 사용자 ID를 갖는 바인딩 테이블의 엔트리를 갱신하고, 일치하는 사용자 ID가 존재하지 않는 경우 상기 수신된 엔트리 업데이트 메시지 정보에 따라 새로운 엔트리를 바인딩 테이블에 생성하는 것을 특징으로 하는 IP 공유기의 안정적인 엔트리 관리 방법. In the step (b), when the entry update message is received, the user ID information included in the entry update message is compared with the user IDs of entries previously created in the binding table. Stable entry management of an IP router, characterized by updating an entry of a binding table having a matching user ID, and creating a new entry in the binding table according to the received entry update message information when a matching user ID does not exist. Way. 제 4 항에 있어서,The method of claim 4, wherein 상기 엔트리 업데이트 메시지는 상기 단말로부터 주기적으로 수신되는 것이거나, 상기 제어부가 엔트리 업데이트 메시지 송신 요청을 상기 단말로 전송한 경우에 대한 응답으로 수신되는 것을 특징으로 하는 IP 공유기의 안정적인 엔트리 관리 방법. The entry update message is periodically received from the terminal, or a stable entry management method of the IP router, characterized in that received in response to the case in which the control unit transmits an entry update message transmission request to the terminal. 바인딩 테이블을 생성하여 관리하는 바인딩 테이블 관리부;A binding table manager for generating and managing a binding table; 홈 네트워크 내의 단말에 설치된 단말에 접속한 사용자 정보 및 단말 정보를 포함하는 엔트리를 상기 바인딩 테이블 내에 생성하여 관리하는 엔트리 관리부;An entry manager configured to generate and manage an entry in the binding table, the entry including user information and terminal information connected to a terminal installed in a terminal in a home network; 상기 엔트리의 유지시간을 관리하여 엔트리 유지시간이 만료되면 상기 엔트리를 삭제하는 쓰레드를 생성하여 관리하는 쓰레드 관리부; 및A thread manager for managing a maintenance time of the entry to generate and manage a thread for deleting the entry when the entry maintenance time expires; And 홈 네트워크 내의 단말과의 데이터의 송신과 수신을 수행하는 송수신부를 포 함하되,Including a transceiver for transmitting and receiving data with the terminal in the home network, 상기 엔트리는 상기 단말에 접속한 사용자 별로 생성되고 갱신 가능한 엔트리 유지시간 정보를 포함하며, 상기 쓰레드는 상기 생성된 각각의 엔트리를 관리하기 위해 각각의 관리대상 엔트리마다 생성되며, 상기 쓰레드는 엔트리 유지시간을 카운팅하여 관리 대상 엔트리의 유지시간이 만료되면 상기 관리대상 엔트리를 삭제하는 것을 특징으로 하는 홈 네트워크 내에서 안정적인 엔트리 관리 기능을 갖는 IP 공유장치.The entry includes entry retention time information that is generated and updatable for each user accessing the terminal, and the thread is generated for each managed entry to manage each generated entry, and the thread is an entry retention time. And sharing the management target entry when the maintenance time of the management target entry expires by counting the IP sharing device. 제 6 항에 있어서,The method of claim 6, 상기 쓰레드는 상기 엔트리 유지시간을 검색하여 쓰레드의 카운팅 변수로 저장부에 저장하고, 상기 카운팅 변수로 저장된 값을 카운팅하여 카운팅 변수값이 미리 정해진 엔트리 유지 종료값이 되면 관리하는 엔트리를 삭제하며,The thread retrieves the entry holding time and stores the counting variable of the thread in a storage unit, and counts a value stored as the counting variable to delete a managed entry when a counting variable value reaches a predetermined entry holding end value. 상기 송수신부가 특정 사용자가 접속한 단말로부터 바인딩 테이블 업데이트 메시지를 수신하면, 상기 엔트리 관리부는 상기 바인딩 테이블의 상기 특정 사용자 정보가 포함된 엔트리의 엔트리 유지시간을 소정의 초기값으로 갱신하고, 상기 쓰레드는 상기 바인딩 테이블의 엔트리 유지시간이 소정의 초기값으로 갱신되었는지 여부를 검색하여 갱신된 경우 상기 갱신된 엔트리 유지시간을 상기 카운팅 변수로 저장하여 엔트리 유지시간을 다시 카운팅 하는 것을 특징으로 하는 홈 네트워크 내에서 안정적인 엔트리 관리 기능을 갖는 IP 공유장치.When the transceiver receives a binding table update message from a terminal connected to a specific user, the entry manager updates the entry holding time of an entry including the specific user information of the binding table to a predetermined initial value, and the thread In the home network, characterized in that if the entry retention time of the binding table has been updated to a predetermined initial value, the updated entry retention time is stored as the counting variable and counted again. IP sharing device with stable entry management. 제 7 항에 있어서,The method of claim 7, wherein 상기 쓰레드가 수행하는 카운팅은 일정 시간이 경과할 때마다 상기 카운팅 변수에 저장된 값을 소정의 크기만큼 감소시키는 것이고, 상기 쓰레드는 상기 카운팅 변수에 저장된 값이 상기 소정의 크기만큼 감소될 때마다 상기 바인딩 테이블에 저장된 엔트리 유지시간을 상기 소정의 크기만큼 감소시키는 것을 특징으로 하는 홈 네트워크 내에서 안정적인 엔트리 관리 기능을 갖는 IP 공유장치.The counting performed by the thread is to reduce the value stored in the counting variable by a predetermined amount every time a predetermined time elapses, and the thread is configured to bind the value whenever the value stored in the counting variable is reduced by the predetermined size. An IP sharing apparatus having stable entry management function in a home network, characterized by reducing the entry retention time stored in a table by the predetermined size. 제 8 항에 있어서,The method of claim 8, 상기 바인딩 테이블의 데이터는 적어도 하나 이상의 엔트리를 포함하고, 상기 엔트리는 사용자 ID, 서비스 ID, 사용자가 접속한 단말의 IP 주소, 사용자가 접속한 단말의 MAC 주소, 엔트리 유지시간을 포함하는 것을 특징으로 하는 홈 네트워크 내에서 안정적인 엔트리 관리 기능을 갖는 IP 공유장치.The data of the binding table includes at least one entry, wherein the entry includes a user ID, a service ID, an IP address of a terminal to which the user is connected, a MAC address of a terminal to which the user is connected, and an entry holding time. IP sharing device with stable entry management in the home network.
KR1020090056488A 2009-06-24 2009-06-24 An entry management method of binding table using multi-thread for multimedia service stablity KR101067848B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090056488A KR101067848B1 (en) 2009-06-24 2009-06-24 An entry management method of binding table using multi-thread for multimedia service stablity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090056488A KR101067848B1 (en) 2009-06-24 2009-06-24 An entry management method of binding table using multi-thread for multimedia service stablity

Publications (2)

Publication Number Publication Date
KR20100138110A true KR20100138110A (en) 2010-12-31
KR101067848B1 KR101067848B1 (en) 2011-09-27

Family

ID=43511625

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090056488A KR101067848B1 (en) 2009-06-24 2009-06-24 An entry management method of binding table using multi-thread for multimedia service stablity

Country Status (1)

Country Link
KR (1) KR101067848B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021794A1 (en) * 2014-08-06 2016-02-11 주식회사 케이티 Method for determining connection structure of home terminal, and management server and system therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293385A (en) * 1999-04-07 2000-10-20 Nec Corp System and method for thread management and recording medium with management program recorded thereon
KR20060134175A (en) * 2004-04-21 2006-12-27 코닌클리케 필립스 일렉트로닉스 엔.브이. System and method for managing threads in a network chat environment
KR100728276B1 (en) * 2005-03-03 2007-06-13 삼성전자주식회사 Network element management system and method thereof
KR100874403B1 (en) * 2006-12-26 2008-12-16 한남대학교 산학협력단 Server thread management method and system using non-blocking I / O

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021794A1 (en) * 2014-08-06 2016-02-11 주식회사 케이티 Method for determining connection structure of home terminal, and management server and system therefor
KR20160017813A (en) * 2014-08-06 2016-02-17 주식회사 케이티 Method for determining connection structure of home device, management server and system
US9992664B2 (en) 2014-08-06 2018-06-05 Kt Corporation Determining network connection structure of target area

Also Published As

Publication number Publication date
KR101067848B1 (en) 2011-09-27

Similar Documents

Publication Publication Date Title
US20150133049A1 (en) Method and apparatus for downloading content using nfc
KR100701383B1 (en) Method for synchronizing network profiles stored in a plurality of managing devices in a home network and a network system for the synchronizing method
US8973005B2 (en) Information processing apparatus, information processing method, recording medium and information processing system
US20160381174A1 (en) Managing contact status updates in a presence management system
CN102821000B (en) Improve the method for usability of PaaS platform
CN103888934B (en) A kind of mobile terminal cache management device and management method
JP6378057B2 (en) Connection control device, connection control method, connection control system, and computer program
EP3572950A1 (en) Method of synchronizing a plurality of content directory service (cds) devices, cds device, and system
US20140289428A1 (en) Dynamic Intervals for Synchronizing Data
KR100755715B1 (en) Method for synchronizing multiple cds devices, cds device, and system comprising the cds device
CN110620681B (en) Network connection timeout time setting method, device, equipment and medium
EP2219320B1 (en) System and method for managing data between control point and at least one device in digital living network alliance system
CN103747286A (en) Method and equipment for providing videos
US9992140B2 (en) Electronic apparatus, server, and control method of system
CN114697150B (en) Command issuing method and device, storage medium and electronic device
US20130047014A1 (en) Communication apparatus and computer program product
KR101067848B1 (en) An entry management method of binding table using multi-thread for multimedia service stablity
CN111144954A (en) Display resource releasing method and device
CN107634868B (en) Method and system for managing network service
CN104410721B (en) The method and system of caching automatically are supported according to update content
CN116158069A (en) Configurable access-based cache policy control
KR20070060997A (en) System and method for providing media-contents of home network using web services
CN110035132B (en) Data synchronization method, computer device and storage medium
RU2654369C1 (en) Method for bandwidth management, iptv terminal device and communication system
JP2014164479A (en) Control device, control method, and control program

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: 20140901

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150914

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160902

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee