KR100852340B1 - Method for selecting master home gateway in home network system having multi home gateway - Google Patents

Method for selecting master home gateway in home network system having multi home gateway Download PDF

Info

Publication number
KR100852340B1
KR100852340B1 KR1020070010526A KR20070010526A KR100852340B1 KR 100852340 B1 KR100852340 B1 KR 100852340B1 KR 1020070010526 A KR1020070010526 A KR 1020070010526A KR 20070010526 A KR20070010526 A KR 20070010526A KR 100852340 B1 KR100852340 B1 KR 100852340B1
Authority
KR
South Korea
Prior art keywords
home gateway
master
home
gateway
message
Prior art date
Application number
KR1020070010526A
Other languages
Korean (ko)
Other versions
KR20080072165A (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 KR1020070010526A priority Critical patent/KR100852340B1/en
Publication of KR20080072165A publication Critical patent/KR20080072165A/en
Application granted granted Critical
Publication of KR100852340B1 publication Critical patent/KR100852340B1/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
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2821Avoiding conflicts related to the use of home appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법이 개시되어 있다. 마스터 선정방법은 게이트웨이 역할을 수행하는 기설정된 홈게이트웨이와 적어도 하나의 새로운 홈게이트웨이가 추가되는 시스템에서 마스터를 선정하는 방법에 있어서, 상기 추가된 적어도 하나의 새로운 홈게이트웨이는 등록 메시지를 브로드캐스팅하는 단계; 상기 기설정된 홈게이트웨이는 상기 등록 메시지를 전송한 상기 추가된 적어도 하나의 새로운 홈게이트웨이로 응답 메시지를 브로드캐스팅하는 단계; 및 상기 기설정된 홈게이트웨이는 마스터로 동작하고, 상기 응답 메시지를 수신한 적어도 하나의 새로운 홈게이트웨이는 슬레이브로 동작하는 단계로 이루어진다. 따라서 여러 개의 홈게이트웨이에서 마스터 역할을 하는 홈게이트웨이를 원활하게 선택할 수 있으므로 시스템을 안정적으로 운용할 수 있게 한다.

Figure R1020070010526

다중 홈게이트웨이, 마스터, 프로토콜, 슬레이브, 메시지

Disclosed is a master selection method of a home network system composed of multiple home gateways. The method of selecting a master includes selecting a master in a system in which a preset home gateway serving as a gateway and at least one new home gateway are added, wherein the at least one new home gateway broadcasts a registration message. ; The preset home gateway broadcasting a response message to the added at least one new home gateway that has transmitted the registration message; And the preset home gateway operates as a master, and the at least one new home gateway that receives the response message operates as a slave. Therefore, it is possible to smoothly select a home gateway that acts as a master in multiple home gateways, thus enabling stable system operation.

Figure R1020070010526

Multiple home gateways, masters, protocols, slaves, messages

Description

다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법 {Method for selecting master home gateway in home network system having multi home gateway}Method for selecting master home gateway in home network system having multi home gateway}

도 1은 본 발명에 따라 다수의 홈게이트웨이로 구성된 홈네트워크 시스템을 개략적으로 보여주는 도면,1 is a view schematically showing a home network system composed of a plurality of home gateways according to the present invention;

도 2는 본 발명의 제 1 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면,2 is a diagram of a multi-home gateway master selection method according to a first embodiment of the present invention;

도 3은 본 발명의 제 2 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면,3 is a diagram of a multi-home gateway master selection method according to a second embodiment of the present invention;

도 4는 본 발명의 제 3 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면.4 is a diagram of a multi-home gateway master selection method according to a third embodiment of the present invention;

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

HG1 : 홈 게이트웨이 1 HG2 : 홈 게이트웨이 2HG1: Home Gateway 1 HG2: Home Gateway 2

HG3 : 홈 게이트웨이 3HG3: Home Gateway 3

본 발명은 다중 홈게이트웨이 시스템에 관한 것으로서, 더욱 상세하게는 다수의 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법에 관한 것이다.The present invention relates to a multi-home gateway system, and more particularly, to a method of selecting a master of a home network system composed of a plurality of home gateways.

홈게이트웨이는 댁내 정보가전기기들을 연결하고 관리하는 허브로서의 역할과 가정과 외부 인터넷 망을 연결하는 게이트웨이로서의 역할을 담당한다.The home gateway serves as a hub for connecting and managing home appliances and a gateway for connecting homes and external internet networks.

현재 양산되고 있는 홈게이트웨이는 그 형태가 TV, 셋탑박스, PC, 월패드 등 다양한 형식을 취하고 있으며, 하드웨어의 사양이 다르기 때문에 제조사 독자적으로 개발하게 되어 그 규격도 다양하다.The home gateway, which is being mass-produced, takes various forms such as TV, set-top box, PC, and wall pad, and because the hardware specifications are different, it is developed independently by the manufacturer and its specifications are various.

그러나 아직까지 홈네트워크 시장이 초기단계에 있기 때문에 다양한 형태의 홈게이트웨이 중 어떤 형태가 표준으로 정해질지 불투명한 상황이다. 이러한 이유로 현재 홈네트워크 시장에서는 다양한 형태의 홈게이트웨이들이 존재하며, 하나의 홈네트워크 시스템에서 다양한 홈게이트웨이들이 혼용될 가능성이 있다.However, as the home network market is still in its infancy, it is unclear what type of home gateway is the standard. For this reason, various types of home gateways exist in the home network market, and various home gateways may be mixed in one home network system.

예컨대, 가장 간단한 형태인 셋탑박스의 경우에는 단가를 낮추기 위해 최소기능만을 제공하도록 양산하고, PC 형태의 게이트웨이는 보안 기능 서버기능 등의 다양한 기능을 제공할 수 있다.For example, in the case of the simplest set-top box, it is mass-produced to provide only a minimum function in order to reduce the unit cost, and the gateway in the form of a PC may provide various functions such as a security function server function.

그러나 현재의 홈네트워크 시스템은 단일의 홈게이트웨이를 기본으로 시스템을 설계하므로, 다수의 홈게이트웨이가 댁내에 존재할 경우 한 개를 제외한 나머지는 동작하지 못하게 되는 문제점이 있다.However, the current home network system designs a system based on a single home gateway, and thus, when a plurality of home gateways exist in the home, the rest of the home network systems cannot operate except one.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은 홈네트워크 시스템에 다수의 홈게이트웨이가 존재할 경우 홈게이트웨이간에 상호 충돌이 없도록 마스터를 선정하는 방법을 제공하는데 목적이 있다.An object of the present invention for solving the above problems is to provide a method for selecting a master so that there is no mutual collision between home gateways when there are a plurality of home gateways in the home network system.

이러한 목적을 달성하기 위한 본 발명에 따른 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법은 게이트웨이 역할을 수행하는 기설정된 홈게이트웨이와 적어도 하나의 새로운 홈게이트웨이가 추가되는 시스템에서 마스터를 선정하는 방법에 있어서, 상기 추가된 적어도 하나의 새로운 홈게이트웨이는 등록 메시지를 브로드캐스팅하는 단계; 상기 기설정된 홈게이트웨이는 상기 등록 메시지를 전송한 상기 추가된 적어도 하나의 새로운 홈게이트웨이로 응답 메시지를 브로드캐스팅하는 단계; 및 상기 기설정된 홈게이트웨이는 마스터로 동작하고, 상기 응답 메시지를 수신한 적어도 하나의 새로운 홈게이트웨이는 슬레이브로 동작하는 단계를 포함하는 것을 특징으로 한다.The master selection method of a home network system composed of multiple home gateways according to the present invention for achieving the above object is a method for selecting a master in a system in which a preset home gateway serving as a gateway and at least one new home gateway are added. The at least one new home gateway further comprises: broadcasting a registration message; The preset home gateway broadcasting a response message to the added at least one new home gateway that has transmitted the registration message; And the predetermined home gateway operates as a master, and the at least one new home gateway that receives the response message operates as a slave.

또한 상기의 목적을 달성하기 위한 본 발명에 따른 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법은 마스터 후보 홈게이트웨이는 타 마스터 후보 홈게이트웨이로부터 등록 메시지를 수집하는 단계; 상기 수집된 등록 메시지로부터 타 마스터 후보 홈게이트웨이의 마스터 선정 조건 정보를 획득하여 자 신의 마스터 선정 조건과 상기 타 마스터 후보 홈게이트웨이의 마스터 선정 조건을 비교하는 단계; 및 상기 마스터 선정 조건 비교결과에 따라 마스터 홈게이트웨이로 동작하거나 슬레이브 홈게이트웨이로 동작하는 단계를 포함하는 것을 특징으로 한다. 상기 마스터 선정 조건을 비교하는 단계는 상기 수집된 등록 메시지에 포함된 주소 정보로부터 가장 작은 수인지를 비교하는 것을 특징으로 한다.In addition, the master selection method of the home network system composed of multiple home gateways according to the present invention for achieving the above object is a master candidate home gateway step of collecting a registration message from another master candidate home gateway; Obtaining master selection condition information of another master candidate home gateway from the collected registration message and comparing the master selection condition of the master with the master selection condition of the other master candidate home gateway; And acting as a master home gateway or as a slave home gateway according to the master selection condition comparison result. The comparing of the master selection condition may be performed by comparing the smallest number from the address information included in the collected registration message.

상기 마스터 선정 조건을 비교하는 단계는 상기 수집된 등록 메시지에 포함된 각 홈게이트웨이 우선순위 정보를 비교하는 것을 특징으로 한다.The comparing of the master selection condition may include comparing the home gateway priority information included in the collected registration message.

상기 우선순위 정보는 상기 홈게이트웨이의 응용서비스 및 하드웨어 사양에 의해 결정될 수 있다.The priority information may be determined by the application service and hardware specification of the home gateway.

상기 각 홈게이트웨이 우선순위 정보를 비교하는 단계에서, 우선순위 정보가 높은 홈게이트웨이가 마스터 홈게이트웨이로 선정되는 것을 특징으로 한다.In the step of comparing the priority information of each home gateway, the home gateway with high priority information is selected as the master home gateway.

상기 마스터 후보 홈게이트웨이는 타 마스터 후보 홈게이트웨이로부터 등록 메시지를 수집하는 단계를 수행하기 전에, 마스터 역할을 수행하는 홈게이트웨이로부터 종료 메시지를 수신한 후, 상기 종료 메시지를 송신한 홈게이트웨이 이외의 타 마스터 후보 홈게이트웨이들은 등록 메시지를 브로드캐스팅하는 단계; 및 상기 등록 메시지를 브로드캐스팅한 후 소정시간 안에 응답 메시지를 수신하지 못하면 마스터 역할을 수행하는 홈게이트웨이가 부재인 것으로 판단하는 단계를 더 포함하는 것이 바람직하다.The master candidate home gateway receives the termination message from the home gateway serving as the master before performing the step of collecting the registration message from the other master candidate home gateway, and then other masters other than the home gateway that transmits the termination message. Candidate home gateways broadcasting a registration message; And if it is not received a response message within a predetermined time after broadcasting the registration message, determining that the home gateway serving as a master is absent.

이하, 본 발명이 속하는 분야에 통상의 지식을 지닌자가 본 발명을 용이하게 실시할 수 있도록 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설 명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도 1은 본 발명에 따라 다수의 홈게이트웨이로 구성된 홈네트워크 시스템을 개략적으로 보여주는 도면이다.1 is a view schematically showing a home network system composed of a plurality of home gateways according to the present invention.

도 1을 참조하면, 다수의 홈게이트웨이로 구성된 홈네트워크 시스템은 마스터(master) 역할을 수행하도록 기설정된 홈게이트웨이 1(HG1)과, 새로이 추가되어 마스터 홈게이트웨이 1(HG1)에 의해 제어받는 홈게이트웨이 2(HG2) 및 홈게이트웨이(HG3)로 구성된다.Referring to FIG. 1, a home network system including a plurality of home gateways includes a home gateway 1 (HG1) preset to play a role of a master and a home gateway newly added and controlled by a master home gateway 1 (HG1). 2 (HG2) and home gateway (HG3).

본 발명에서는 3개의 홈게이트웨이로 구성된 것으로 표현하였지만, 그 개수는 3개로 한정되지 않으며 사용자의 필요에 의해 얼마든지 변경가능하다.In the present invention, it is represented as consisting of three home gateways, the number is not limited to three and can be changed as much as the user's needs.

또한 마스터 역할을 수행하는 홈게이트웨이는 초기부터 그 역할이 고정되지 아니하며, 후술되는 방법에 의해 마스터로 선정된다.In addition, the home gateway performing the master role is not fixed from the beginning, and is selected as the master by the method described below.

마스터를 선정하기 위해 본 발명에서는 HELLO 프로토콜을 이용한다.In order to select a master, the present invention uses the HELLO protocol.

HELLO 프로토콜은 통신장비에 기본적으로 포함되는 프로토콜로서, 주변장치들과의 관계를 설정하고 관리하는데 사용된다.The HELLO protocol is basically included in communication equipment and is used to establish and manage relationships with peripheral devices.

게이트웨이를 위주로 HELLO 프로토콜을 부연설명하면 다음과 같다.The HELLO protocol is described in detail below with respect to gateways.

각 게이트웨이들은 주기적으로 원격 라우팅 표에 있는 정보를 서로 교환한다. 따라서 시간이 경과하여 게이트웨이들 간의 정보 교환이 몇 차례 이루어지면, 각 게이트웨이는 자율 시스템 내부에 있는 모든 망들과 게이트웨이들에 관한 정보를 갖게 된다. 게이트웨이에 지연 시간에 관한 정보를 유지하는 프로토콜로는 HELLO 가 있다.Each gateway periodically exchanges information in its remote routing table with each other. Thus, over time, as information exchanges between gateways occur several times, each gateway has information about all networks and gateways in the autonomous system. One protocol that maintains information about latency in the gateway is HELLO.

HELLO 프로토콜에서는 주기적으로 HELLO 메시지를 전송함으로써 자신의 자율 시스템 내부에 있는 망들과 게이트웨이들까지의 지연 시간에 관한 정보를 알아낸다. 이러한 정보는 내부 게이트웨이가 자율 시스템 내부에서 데이터 패킷을 전송할 때 어떠한 경로로 전송할 것인가를 알 수 있도록 한다.The HELLO protocol periodically sends HELLO messages to find information about the latency to networks and gateways within its autonomous system. This information allows the internal gateway to know which path to send the data packet inside the autonomous system.

이점에 착안하여, HELLO 프로토콜을 이용하여 다중 게이트웨이가 존재하는 시스템에서 하나의 게이트웨이가 마스터로 선정되도록 하는데 본 발명의 특징이 있다.In view of this, it is a feature of the present invention that one gateway is selected as the master in a system with multiple gateways using the HELLO protocol.

본 발명에서의 "Hello" 메시지는 본 기기가 계속 작동중이고 네트워크에서 사용할 수 있음을 나타내며, 본 발명에서는 이를 등록 메시지로 표현하며 "Hello" 메시지와 등록 메시지는 동일하게 해석될 수 있다. 또한 "Response" 메시지는 "Hello" 메시지에 대한 응답으로써, 응답 메시지로 표현하며 "Response" 메시지와 응답 메시지는 동일하게 해석될 수 있다. "Goodbye" 메시지 또한 종료 메시지로 표현하며 "Goodbye" 메시지와 종료 메시지는 동일하게 해석될 수 있다.The "Hello" message in the present invention indicates that the device is still in operation and can be used in the network. In the present invention, this is expressed as a registration message, and the "Hello" message and the registration message can be interpreted in the same manner. In addition, the "Response" message is a response to the "Hello" message, which is expressed as a response message, and the "Response" message and the response message may be interpreted in the same manner. The "Goodbye" message is also expressed as the end message, and the "Goodbye" message and the end message can be interpreted in the same way.

도 1에 도시된 바와 같이, 홈게이트웨이가 1(HG1)이 마스터로 선정되기 위해서는 새로이 추가되는 디바이스 즉 홈게이트웨이 2 및 3(HG2,HG3)으로부터 "Hello" 메시지를 수신한 후 자신의 존재를 알리는"Response" 메시지를 송신하여 홈게이트웨이 2 및 3(HG2,HG3)이 자신의 게이트웨이 역할을 포기하도록 하여야 한다.As shown in FIG. 1, the home gateway receives a " Hello " message from a newly added device, namely, the home gateways 2 and 3 (HG2 and HG3) in order to select 1 (HG1) as the master and informs its presence. Send a "Response" message to cause Home Gateways 2 and 3 (HG2 and HG3) to relinquish their gateway role.

"Response" 메시지를 수신한 홈게이트웨이 2 및 3(HG2,HG3)은 이미 게이트웨이 역할을 수행하는 홈게이트웨이가 있음을 인식하게 되어 자신들은 마스터의 제어신호에 의해서만 동작하는 슬레이브(slave)로 동작하도록 모드를 변경한다.The Home Gateways 2 and 3 (HG2 and HG3) that have received the "Response" message recognize that there is already a Home Gateway that acts as a gateway, so that they operate as slaves operating only by the master's control signal. Change

이하, 상기와 같이 구성된 홈네트워크 시스템의 홈게이트웨이 마스터 선정방법을 설명한다.Hereinafter, a home gateway master selection method of the home network system configured as described above will be described.

도 2는 본 발명의 제 1 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면이다. 도 2에서는 홈게이트웨이 1(HG1)이 이미 마스터로 동작하고 있는 상황을 전제로 한다. 따라서 홈게이트웨이 1(HG1)이 현재 마스터로 동작중에 (S10), 사용자의 필요에 의해 새로운 기기인 홈게이트웨이 2(HG2)와 홈게이트웨이 3(HG3)을 사용하기 위해 약간의 시간차를 갖고 홈네트워크 시스템에 접속한다.2 is a diagram illustrating a multi-home gateway master selection method according to a first embodiment of the present invention. In FIG. 2, it is assumed that home gateway 1 HG1 is already operating as a master. Therefore, while home gateway 1 (HG1) is currently operating as a master (S10), the home network system has a slight time difference to use the new devices, home gateway 2 (HG2) and home gateway 3 (HG3), as required by the user. Connect to

새로이 추가된 홈게이트웨이 2(HG2)는 전원이 온(on) 됨과 동시에 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 홈게이트웨이 3(HG3)으로 브로드캐스팅한다(S21,S22).The newly added home gateway 2 (HG2) broadcasts a "Hello" message to the home gateway 1 (HG1) and home gateway 3 (HG3) at the same time the power is turned on (on) and the presence (S21, S22).

여기서, 새로이 추가된 홈게이트웨이 3(HG3)은 아직 전원이 온되지 않은 상황이라는 전제하에, "Hello"메시지를 수신한 홈게이트웨이 1(HG1)이 "Hello" 메시지에 응답하여 "Response" 메시지를 홈게이트웨이 2(HG2)로 전송한다(S12).Here, the newly added Home Gateway 3 (HG3) is not powered on yet, and the Home Gateway 1 (HG1) receiving the "Hello" message responds with the "Hello" message to home the "Response" message. Transmit to gateway 2 (HG2) (S12).

바로 뒤에 새로이 추가된 홈게이트웨이 3(HG3)도 전원이 온 됨과 동시에 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 홈게이트웨이 2(HG2)로 브로드캐스팅한다(S31,S32).The newly added Home Gateway 3 (HG3) also broadcasts a "Hello" message to the Home Gateway 1 (HG1) and the Home Gateway 2 (HG2) at the same time the power is turned on and the presence (S31, S32).

홈게이트웨이 3(HG3)으로부터 "Hello"메시지를 수신한 홈게이트웨이 1(HG1)은 "Hello" 메시지에 응답하여 "Response" 메시지를 홈게이트웨이 3(HG3)으로 전송한다(S14).The home gateway 1 HG1 receiving the "Hello" message from the home gateway 3 HG3 transmits a "Response" message to the home gateway 3 HG3 in response to the "Hello" message (S14).

홈게이트웨이 1(HG1)로부터 "Response" 메시지를 수신한 홈게이트웨이 2(HG2) 및 홈게이트웨이 3(HG3)은 이미 게이트웨이 역할을 수행하는 기기가 있음을 인식하여 자신들은 슬레이브로 동작하도록 모드를 설정한다(S24,S34).Home Gateway 2 (HG2) and Home Gateway 3 (HG3) that have received the "Response" message from Home Gateway 1 (HG1) recognize that there is a device that already acts as a gateway, and set the mode to operate as a slave. (S24, S34).

그리고 홈게이트웨이 1(HG1)은 지속적으로 마스터로 동작한다(S16).The home gateway 1 (HG1) continuously operates as a master (S16).

추후에 마스터 역할을 수행하는 홈게이트웨이의 전원이 꺼지거나 스스로 마스터 역할을 포기하는 경우가 발생할 수 있다. 이하, 마스터를 새로이 선정하는 경우를 설명하기로 한다.In the future, a home gateway that plays a master role may be turned off or abandon the master role by itself. Hereinafter, a case of newly selecting a master will be described.

도 3은 본 발명의 제 2 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면이다.3 is a diagram illustrating a multi-home gateway master selection method according to a second embodiment of the present invention.

도 3에서는 홈게이트웨이 1(HG1)이 이미 마스터로 동작하고 있는 중에 어떤 원인에 의해 전원이 꺼지는 상황을 전제로 한다. 따라서 홈게이트웨이 1(HG1)이 현재 마스터로 동작중에 전원이 오프(off)되면(S100), 전원 오프와 함께 "Goodbye" 메시지를 홈게이트웨이 2(HG2)와 홈게이트웨이 3(HG3)으로 브로드캐스팅한다(S101).In FIG. 3, it is assumed that the home gateway 1 HG1 is already operating as a master and the power is turned off for some reason. Therefore, if the power is turned off while the home gateway 1 (HG1) is currently operating as the master (S100), a "Goodbye" message is broadcast to the home gateway 2 (HG2) and the home gateway 3 (HG3) together with the power off. (S101).

홈게이트웨이 2(HG2)는 자신의 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 홈게이트웨이 3(HG3)으로 브로드캐스팅한다(S201,S202).The home gateway 2 (HG2) broadcasts a "Hello" message indicating its presence to the home gateway 1 (HG1) and the home gateway 3 (HG3) (S201 and S202).

동시에 홈게이트웨이 3(HG3)도 자신의 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 홈게이트웨이 2(HG2)로 브로드캐스팅한다(S301,S302).At the same time, Home Gateway 3 (HG3) also broadcasts a "Hello" message indicating its presence to Home Gateway 1 (HG1) and Home Gateway 2 (HG2) (S301 and S302).

여기서, 홈게이트웨이 1(HG1)은 전원이 오프 상태이므로 메시지를 수신하거나 송신할 수 없다.Here, the home gateway 1 (HG1) cannot receive or transmit a message because the power is off.

따라서 마스터 역할을 하는 홈게이트웨이가 없으므로 홈게이트웨이들은 어떠 한 기기로부터도 "Response"메시지를 받을 수 없게 된다.Therefore, no home gateway acts as a master, so home gateways cannot receive "Response" messages from any device.

"Hello" 메시지를 송신한 후 소정시간 안에 "Response"메시지를 받지 못하면 새로운 마스터를 선정하기 위해 홈게이트웨이 2(HG2) 및 홈게이트웨이 3(HG3)은 자신 외에도 다른 후보 홈게이트웨이가 있을 수 있기 때문에 자신이 보낸 "Hello" 메시지 이외의 다른 기기가 보낸"Hello" 메시지를 수집한다(S203,S303).If you do not receive a "Response" message within a certain amount of time after sending a "Hello" message, then Home Gateway 2 (HG2) and Home Gateway 3 (HG3) may have other candidate home gateways in addition to them to select a new master. Collecting the "Hello" message sent by the device other than the "Hello" message sent (S203, S303).

"Hello" 메시지에는 각 기기를 식별할 수 있는 주소(예컨대, IP 주소)가 포함되어 있다. 수집한 "Hello" 메시지를 통해 주소 정보로부터 마스터를 선정할 수 있다. 제 2 실시예에서는 주소 중 가장 작은 수인 경우에 마스터로 선정하도록 기기들에 세팅되어 있는 경우를 설명한다.The "Hello" message contains an address (eg an IP address) that identifies each device. The collected "Hello" message allows the master to be selected from the address information. In the second embodiment, the case where the devices are set to be selected as the master in the smallest number of addresses will be described.

제 2 실시예에서는 주소가 제일 작은 수일 경우 마스터로 선정되는 것으로 설명되었지만, 우선순위 정보에 따라 마스터가 선정되거나 사용자의 의도에 의해 마스터로 선정되도록 하는 방법 등이 있을 수 있다. 기기의 주소를 이용한 경우는 고유의 정보이므로 중복되는 경우가 발생하지 않아 선출방식을 단순하게 구현할 수 있다는 장점이 있다.In the second embodiment, the smallest number of addresses has been described as being selected as the master. However, there may be a method in which the master is selected according to the priority information or the master is selected by the user's intention. Since the address of the device is unique information, there is an advantage that the selection method can be simply implemented because there is no duplication.

우선순위 정보는 상기 홈게이트웨이의 응용서비스 및 하드웨어 사양에 의해 결정될 수 있다.Priority information may be determined by the application service and hardware specification of the home gateway.

그리고 홈게이트웨이 2(HG2)의 주소가 가장 작은 수의 주소인 것으로 전제한다. 따라서 홈게이트웨이 2(HG2)는 주소 중 제일 작은 수로 판단하는 단계(S204)에서 제일 작은 것으로 확인되어 이후 마스터로 동작하게 된다(S206).It is assumed that the address of the home gateway 2 (HG2) is the smallest number of addresses. Therefore, the home gateway 2 HG2 is determined to be the smallest at step S204, which is determined to be the smallest number of addresses, and then operates as a master at step S206.

새로이 마스터로 선정된 것을 상대방 기기들에 알릴 수도 있지만, 본 발명에 서는 마스터 선정 방법만을 설명하기로 한다.The other device may be notified of the newly selected master, but only the master selection method will be described in the present invention.

반면, 홈게이트웨이 3(HG3)은 주소 중 제일 작은 수로 판단하는 단계(S304)에서 제일 작은 수의 주소 기기가 아닌 것으로 확인되어 계속하여 슬레이브로 동작하게 된다(S306).On the other hand, the home gateway 3 (HG3) is determined not to be the smallest number of address devices in step S304 to determine the smallest number of addresses to continue to operate as a slave (S306).

제 2 실시예에서는 전원이 오프되어 새로이 마스터를 선정하는 방법에 관하여 보여주었다.In the second embodiment, the power is turned off to show a method of newly selecting a master.

전원이 오프 되는 상황이 아니어도 홈게이트웨이의 기능 차이 등에 의해 마스터를 변경하는 경우가 발생할 수 있다.Even if the power is not turned off, the master may be changed due to a difference in the function of the home gateway.

도 4는 본 발명의 제 3 실시예에 따른 다중 홈게이트웨이 마스터 선정 방법에 관한 도면이다.4 is a diagram illustrating a multi-home gateway master selection method according to a third embodiment of the present invention.

도 4에서는 홈게이트웨이 1(HG1)이 이미 마스터로 동작하던 중에 마스터 역할을 포기하는 상황을 전제로 한다. 따라서 홈게이트웨이 1(HG1)이 현재 마스터로 동작 중에 마스터 역할을 포기하면(S1000) 홈게이트웨이 1(HG1)로부터 "Goodbye" 메시지가 마스터 후보 홈게이트웨이 2(HG2)와 마스터 후보 홈게이트웨이 3(HG3)으로 브로드캐스팅된다(S1001).In FIG. 4, it is assumed that home gateway 1 (HG1) gives up a master role while operating as a master. Therefore, if Home Gateway 1 (HG1) gives up the master role while operating as the current master (S1000), the message "Goodbye" from Home Gateway 1 (HG1) is displayed as Master Candidate Home Gateway 2 (HG2) and Master Candidate Home Gateway 3 (HG3). Is broadcasted (S1001).

마스터 후보 홈게이트웨이 2(HG2)는 자신의 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 마스터 후보 홈게이트웨이 3(HG3)으로 브로드캐스팅한다(S2001,S2002).The master candidate home gateway 2 (HG2) broadcasts a "Hello" message indicating its existence to home gateway 1 (HG1) and master candidate home gateway 3 (HG3) (S2001, S2002).

동시에 마스터 후보 홈게이트웨이 3(HG3)도 자신의 존재를 알리는 "Hello" 메시지를 홈게이트웨이 1(HG1)과 홈게이트웨이 2(HG2)로 브로드캐스팅한 다(S3001,S3002).At the same time, the master candidate home gateway 3 (HG3) also broadcasts a "Hello" message indicating its presence to home gateway 1 (HG1) and home gateway 2 (HG2) (S3001, S3002).

여기서, 홈게이트웨이 1(HG1)은 마스터 역할만 포기한 것이므로 전원은 온 상태이고, 스스로 슬레이브로 동작하도록 모드를 변경한다(S1002).Here, since the home gateway 1 (HG1) has given up only the master role, the power is on, and the mode is changed to operate as a slave by itself (S1002).

따라서 마스터 역할을 하는 홈게이트웨이가 없으므로 홈게이트웨이들은 어떠한 기기로부터도 "Response"메시지를 받을 수 없게 된다.Therefore, no home gateway acts as a master, so home gateways cannot receive "Response" messages from any device.

"Hello" 메시지를 송신한 후 소정시간 안에 "Response"메시지를 받지 못하면 새로운 마스터를 선정하기 위해 홈게이트웨이 2(HG2) 및 홈게이트웨이 3(HG3)은 자신 외에도 다른 후보 홈게이트웨이가 있을 수 있기 때문에 자신이 보낸 "Hello" 메시지 이외의 다른 기기가 보낸"Hello" 메시지를 수집한다(S2003,S3003).If you do not receive a "Response" message within a certain amount of time after sending a "Hello" message, then Home Gateway 2 (HG2) and Home Gateway 3 (HG3) may have other candidate home gateways in addition to them to select a new master. Collect the "Hello" message sent by the device other than the "Hello" message sent (S2003, S3003).

이하의 동작(S2004, S2006, S3004, S3006)은 제 2 실시예에서의 해당 동작(도 2의 S204, S206, S304, S306)과 동일하므로 그 상세한 설명은 생략하기로 한다.Since the following operations S2004, S2006, S3004, and S3006 are the same as the corresponding operations (S204, S206, S304, S306 in Fig. 2) in the second embodiment, detailed description thereof will be omitted.

이상 설명한 바와 같이 본 발명에 따른 다수의 홈게이트웨이로 구성된 홈네트워크 시스템은 여러 개의 홈게이트웨이에서 마스터 역할을 하는 홈게이트웨이를 원활하게 선택할 수 있으므로 시스템을 안정적으로 운용할 수 있게 한다.As described above, the home network system composed of a plurality of home gateways according to the present invention can smoothly select a home gateway serving as a master in a plurality of home gateways, thereby making it possible to stably operate the system.

또한 다중 홈게이트웨이를 홈네트워크 시스템에서 사용할 수 있도록 해줌으로써 소비자들의 다양한 요구사항을 만족시키는 홈게이트웨이들을 한 시스템에서 모두 사용할 수 있도록 해주기 때문에 사용자의 편의성 및 만족도를 높이는 효과가 있다.In addition, by allowing multiple home gateways to be used in a home network system, home gateways satisfying various requirements of consumers can be used in one system, thereby enhancing user convenience and satisfaction.

Claims (7)

삭제delete 마스터 후보 홈게이트웨이는 타 마스터 후보 홈게이트웨이로부터 등록 메시지를 수집하는 단계;Collecting, by the master candidate home gateway, a registration message from another master candidate home gateway; 상기 수집된 등록 메시지로부터 타 마스터 후보 홈게이트웨이의 마스터 선정 조건 정보를 획득하여 자신의 마스터 선정 조건과 상기 타 마스터 후보 홈게이트웨이의 마스터 선정 조건을 비교하는 단계; 및Acquiring master selection condition information of another master candidate home gateway from the collected registration message and comparing the master selection condition of the master with the master selection condition of the other master candidate home gateway; And 상기 마스터 선정 조건 비교결과에 따라 마스터 홈게이트웨이로 동작하거나 슬레이브 홈게이트웨이로 동작하는 단계를 포함하는 것을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.And acting as a master home gateway or as a slave home gateway according to a result of comparing the master selection condition. 제 2 항에 있어서, 상기 마스터 선정 조건을 비교하는 단계는The method of claim 2, wherein the comparing of the master selection condition 상기 수집된 등록 메시지에 포함된 주소 정보로부터 가장 작은 수인지를 비교하는 것을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.And selecting the smallest number from the address information included in the collected registration message. 제 2 항에 있어서, 상기 마스터 선정 조건을 비교하는 단계는The method of claim 2, wherein the comparing of the master selection condition 상기 수집된 등록 메시지에 포함된 각 홈게이트웨이 우선순위 정보를 비교하는 것을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.And master home gateway priority information included in the registered registration message. 제 4 항에 있어서, 상기 우선순위 정보는The method of claim 4, wherein the priority information is 상기 홈게이트웨이의 응용서비스 및 하드웨어 사양에 의해 결정됨을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.The master selection method of the home network system consisting of multiple home gateways, characterized in that determined by the application service and hardware specifications of the home gateway. 제 4 항에 있어서, 상기 각 홈게이트웨이 우선순위 정보를 비교하는 단계에서,The method of claim 4, wherein the comparing of the home gateway priority information comprises: 우선순위가 높은 홈게이트웨이가 마스터 홈게이트웨이로 선정되는 것을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.A master selection method of a home network system composed of multiple home gateways, wherein the high priority home gateway is selected as the master home gateway. 제 2 항에 있어서, 상기 마스터 후보 홈게이트웨이는 타 마스터 후보 홈게이트웨이로부터 등록 메시지를 수집하는 단계를 수행하기 전에,The method of claim 2, wherein before the master candidate home gateway performs a step of collecting a registration message from another master candidate home gateway, 마스터 역할을 수행하는 홈게이트웨이로부터 종료 메시지를 수신한 후, 상기 종료 메시지를 송신한 홈게이트웨이 이외의 타 마스터 후보 홈게이트웨이들은 등록 메시지를 브로드캐스팅하는 단계; 및After receiving a termination message from a home gateway serving as a master, broadcasting a registration message to other master candidate home gateways other than the home gateway that has transmitted the termination message; And 상기 등록 메시지를 브로드캐스팅한 후 소정시간 안에 응답 메시지를 수신하지 못하면 마스터 역할을 수행하는 홈게이트웨이가 부재인 것으로 판단하는 단계를 더 포함함을 특징으로 하는 다중 홈게이트웨이로 구성된 홈네트워크 시스템의 마스터 선정 방법.And if it is not received a response message within a predetermined time after broadcasting the registration message, determining that the home gateway serving as the master is absent. Way.
KR1020070010526A 2007-02-01 2007-02-01 Method for selecting master home gateway in home network system having multi home gateway KR100852340B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070010526A KR100852340B1 (en) 2007-02-01 2007-02-01 Method for selecting master home gateway in home network system having multi home gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070010526A KR100852340B1 (en) 2007-02-01 2007-02-01 Method for selecting master home gateway in home network system having multi home gateway

Publications (2)

Publication Number Publication Date
KR20080072165A KR20080072165A (en) 2008-08-06
KR100852340B1 true KR100852340B1 (en) 2008-08-18

Family

ID=39882547

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070010526A KR100852340B1 (en) 2007-02-01 2007-02-01 Method for selecting master home gateway in home network system having multi home gateway

Country Status (1)

Country Link
KR (1) KR100852340B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102002420B1 (en) * 2013-01-18 2019-10-01 삼성전자주식회사 Smart home system with portable gateway
KR102090797B1 (en) * 2013-12-20 2020-04-14 삼성전자주식회사 Electronic Device, Gateway Device, Home Network System And Method For Deciding Master Gate In Home Network
KR102131863B1 (en) 2014-03-05 2020-07-09 한국전자통신연구원 Method of performing transition of operation mode for a routing processor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060135898A (en) * 2004-04-28 2006-12-29 노키아 인크 System and method for maximizing connectivity during network failures in a cluster system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060135898A (en) * 2004-04-28 2006-12-29 노키아 인크 System and method for maximizing connectivity during network failures in a cluster system

Also Published As

Publication number Publication date
KR20080072165A (en) 2008-08-06

Similar Documents

Publication Publication Date Title
JP6208361B2 (en) Remote wireless screen sharing method, apparatus and system
CN101341680B (en) Method for transmitting digital television services, corresponding gateway and network
JP5951267B2 (en) Control device and system
EP1679839A1 (en) Traffic rerouting in a home network
JPH1094199A (en) Power supply and control system and communication system
WO2007142483A1 (en) A method and system for remotely accessing devices in a network
CN105357116A (en) Method of multiple terminals for accessing server and intelligent terminal
US20150019615A1 (en) Gateway apparatus, communication apparatus, apparatus co-operation network system, and apparatus co-operation method
KR20140116219A (en) Methods and apparatuses for device discovery
CN103201984B (en) For the system and method for the dynamic-configuration of the overlay network based on ISN memory
US20130159531A1 (en) Bandwidth management in a home network
CN103596052A (en) System and method for sharing digital television program
US20140337499A1 (en) Method, system and terminal for changing a management object of broadcast service guide
KR100513277B1 (en) Device and method of connecting network being separately
KR100852340B1 (en) Method for selecting master home gateway in home network system having multi home gateway
US20080140842A1 (en) UPnP QoS NETWORK SYSTEM AND METHOD FOR RESERVING PATH AND RESOURCE
DK2426867T3 (en) Interface device for a måleanordnings network
EP1596598A2 (en) System for the transmission and reception of radio or television data
KR102009810B1 (en) Method and apparatus for transmitting and receiving a service in a wireless communication system
EP2034663B1 (en) Main electronic device for communicating within a network and method for operating a main electronic device for communicating within the network
JP4486568B2 (en) Service discovery device, receiving terminal device, and content providing system
KR101732189B1 (en) Method and apparatus for providing service of external network to home network device
US20040132481A1 (en) Wireless communication device, wireless communication method, and wireless communication system
JP2010045720A (en) Network system, node and communication program
JP4786412B2 (en) Dynamic selection method and dynamic selection system for communication protocol between multiple computers

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

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee