KR101084335B1 - Home GateWay ? Multi Master Process Method of Home Network - Google Patents

Home GateWay ? Multi Master Process Method of Home Network Download PDF

Info

Publication number
KR101084335B1
KR101084335B1 KR1020050009693A KR20050009693A KR101084335B1 KR 101084335 B1 KR101084335 B1 KR 101084335B1 KR 1020050009693 A KR1020050009693 A KR 1020050009693A KR 20050009693 A KR20050009693 A KR 20050009693A KR 101084335 B1 KR101084335 B1 KR 101084335B1
Authority
KR
South Korea
Prior art keywords
master
handler
home network
home
message
Prior art date
Application number
KR1020050009693A
Other languages
Korean (ko)
Other versions
KR20060088740A (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 KR1020050009693A priority Critical patent/KR101084335B1/en
Publication of KR20060088740A publication Critical patent/KR20060088740A/en
Application granted granted Critical
Publication of KR101084335B1 publication Critical patent/KR101084335B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/06Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with support elements performing a rotating cycling movement, i.e. a closed path movement
    • A63B22/0605Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements with support elements performing a rotating cycling movement, i.e. a closed path movement performing a circular movement, e.g. ergometers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B22/00Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements
    • A63B22/0002Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements involving an exercising of arms
    • A63B22/001Exercising apparatus specially adapted for conditioning the cardio-vascular system, for training agility or co-ordination of movements involving an exercising of arms by simultaneously exercising arms and legs, e.g. diagonally in anti-phase

Landscapes

  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Vascular Medicine (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은 상층 API와 하층 메시지 후킹 핸들러 사이에 위치한 마스터 핸들러를 포함하는 홈 게이트웨이에 있어서, 상기 마스터 핸들러를 네트워크 매니저 모듈부와 마스터 모듈부로 분리하고, 이미 로그인 된 마스터가 네트워크에 존재한 경우, 나중에 로그인 된 마스터는 상기 마스터 모듈부를 통해 홈네트워크 제품 제어에 관련된 업무만 수행함을 특징으로 한다. The present invention relates to a home gateway including a master handler located between an upper layer API and a lower message hooking handler, wherein the master handler is divided into a network manager module unit and a master module unit, and if a master already logged in exists in the network, The logged in master is characterized in that only the tasks related to home network product control are performed through the master module unit.

또한, 본 발명에 따른 홈 네트워크에서의 다중 마스터 처리 방법은 소정의 마스터 디바이스를 로그인 하는 단계; 상기 마스터 디바이스는 현재 접속된 다른 마스터 디바이스가 있는지 체크하는 단계; 및 상기에서 현재 접속된 다른 마스터 디바이스가 있으면 마스터로서의 기능만 수행하고, 다른 마스터 디바이스가 없으면 마스터 및 네트워크 매니저로서의 기능을 함께 수행하는 단계를 포함한다.In addition, the multi-master processing method in a home network according to the present invention comprises the steps of logging in a predetermined master device; The master device checking whether there is another master device currently connected; And if there is another master device currently connected, performing only a function as a master, and if there is no other master device, performing a function as a master and a network manager together.

이상에서와 같이, 본 발명은 마스터 핸들러에서 하는 역할을 두 부분(마스터로서의 역할, 네트워크 매니저로서의 역할)으로 분리하고, 나중에 로그인한 마스터가 상기 마스터로서의 역할만 수행하도록 함으로써 중복된 패킷 전송을 미리 방지시킬 수 있다. 이에 따라 본 발명은 홈 네트워크의 효율성을 향상시킬 수 있다.As described above, the present invention prevents duplicate packet transmission in advance by separating the role of the master handler into two parts (the role of the master, the role of the network manager), and having the master who logs in later only perform the role of the master. You can. Accordingly, the present invention can improve the efficiency of the home network.

홈 게이트웨이, 다중 마스터, 마스터 핸들러Home gateway, multi-master, master handler

Description

홈 게이트웨이 및 홈네트워크에서의 다중 마스터 처리 방법{Home GateWay & Multi Master Process Method of Home Network} Multi-Master Process in Home Gateways and Home Networks {Home GateWay & Multi Master Process Method of Home Network}             

도 1은 종래의 기술에 따른 홈 게이트웨이의 구성을 나타내는 도면이다.1 is a view showing the configuration of a home gateway according to the prior art.

도 2는 본 발명의 일실시예에 따른 홈 게이트웨이의 전체적인 구성을 나타내는 도면이다.2 is a view showing the overall configuration of a home gateway according to an embodiment of the present invention.

도 3a는 홈 게이트웨이에서의 네트워크 매니저의 위치 및 제어 흐름을 나타내는 도면이다.3A is a diagram illustrating the position and control flow of a network manager in a home gateway.

도 3b는 홈 게이트웨이에서의 마스터 모듈의 위치 및 제어 흐름을 나타내는 도면이다.3B is a diagram illustrating the position and control flow of the master module in the home gateway.

도 3c는 홈 게이트웨이에서의 마스터 모듈의 구조를 나타내는 도면이다.3C is a diagram illustrating the structure of a master module in a home gateway.

도 3d는 홈 게이트웨이에서의 메시지 후킹 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3D is a diagram illustrating the location and control flow of a message hooking handler in a home gateway.

도 3e는 홈 게이트웨이에서의 전송 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3E is a diagram illustrating the location and control flow of a transport handler in a home gateway.

도 3f는 홈 게이트웨이에서의 채널 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3F is a diagram illustrating the position and control flow of a channel handler in a home gateway.

도 4는 본 발명의 일실시예에 따른 홈 네트워크에서의 다중 마스터 처리 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a multi-master processing method in a home network according to an embodiment of the present invention.

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

10 : API 모듈부 20 : 마스터 핸들러 모듈부10: API module unit 20: master handler module unit

21 : 네트워크 매니저 모듈부 22 : 마스터 모듈부21: network manager module 22: master module

30 : 메시지 후킹 핸들러 모듈부 40 : 전달 핸들러 모듈부30: message hooking handler module 40: delivery handler module

50 : 채널 핸들러 모듈부 60 : 물리적 인터페이스50: channel handler module 60: physical interface

본 발명은 홈 게이트웨이 및 홈 네트워크에서의 다중 마스터 처리 방법에 관한 것으로, 특히 로그인된 마스터들간의 중복적인 업무량을 줄여 홈 네트워크의 효율성을 향상시킬 수 있는 홈 게이트웨이 및 홈 네트워크에서의 다중 마스터 처리 방법에 관한 것이다.The present invention relates to a multi-master processing method in a home gateway and a home network, and more particularly, to a multi-master processing method in a home gateway and a home network, which can improve the efficiency of a home network by reducing the amount of redundant work between logged in masters. It is about.

도 1을 참조하여 종래의 홈 게이트웨이의 구성을 살펴보면, 상층에서 하층으로 응용 프로그래밍 인터페이스(Application Programming Interface : API)(10), 마스터 핸들러(Master Handler)(20), 메시지 후킹 핸들러(Message Hooking Handler)(30), 전달 핸들러(Transmission Handler)(40), 채널 핸들러(Channel Handler)(50) 및 물리적 인터페이스(Physical Interface)(60)를 포함하여 이루어진다.Looking at the configuration of a conventional home gateway with reference to Figure 1, from the upper layer to the lower application programming interface (Application Programming Interface: API) 10, master handler (Master Handler) 20, message hooking handler (Message Hooking Handler) 30, a transmission handler 40, a channel handler 50, and a physical interface 60.

상기 마스터 핸들러(20)에서는 홈 네트워크 관리 및 홈네트워크 제품(기기, 디바이스 : Device)을 제어하는 기능을 수행한다.The master handler 20 functions to control home network management and home network products (devices, devices).

즉, 상기 마스터 핸들러(20)에서는 홈 코드(Home code) 설정, 어드레스 할당(Address Allocation), 디바이스 목록 관리(Device List Management), 다중 네트워크 매니저(Multi Network Manager)에 대한 관리, 시스템 이벤트(System Event) 관리, 디바이스 기초 정보(Device Basic Information)를 관리하며 상기 메시지 후킹 핸들러(30)에서 보낸 어플리케이션 패킷(Application Packet)을 처리하고, API(10)에서 내려온 명령을 처리한다.That is, in the master handler 20, home code setting, address allocation, device list management, management of a multi network manager, a system event ) Manages device basic information, processes an application packet sent from the message hooking handler 30, and processes a command issued from the API 10.

뿐만 아니라 상기 마스터 핸들러(20)에서는 홈네트워크 제품을 제어하고, 상기 홈네트워크 제품의 상태를 모니터링(Monitoring)하는 일을 담당한다.In addition, the master handler 20 is responsible for controlling the home network product and monitoring the status of the home network product.

상기 메시지 후킹 핸들러(30)는 상기 마스터 핸들러(Master Handler)(20)와 전달 핸들러(Transmission Handler)(40) 사이에서 요청(Request)/응답(Response)/통지(Notification) 패킷(Packet)에 대한 특별 처리(Special processing)를 담당한다. The message hooking handler 30 may be configured to request / response / notification packets between the master handler 20 and the transmission handler 40. It is in charge of special processing.

여기서, 특별 처리(Special processing)란 패킷(Packet)의 필터링(filtering) 또는 로깅(logging) 처리, 기타 여러 기능들을 말한다. Here, special processing refers to filtering or logging processing of packets, and various other functions.

상기 전달 핸들러(Transmission Handler)(40)는 상기 메시지 후킹 핸들러(30)가 전달한 요청(Request)/응답(Response)/통지(Notification) 패킷(Packet)을 상기 물리적 인터페이스(60)로 전달될 수 있게 처리하고, 상기 채널 핸들러(50)에서 전달된 패킷을 검증하고 상위로 전달한다.The transmission handler 40 may transmit a request / response / notification packet delivered by the message hooking handler 30 to the physical interface 60. Process, the packet transmitted from the channel handler 50 is verified and delivered to the upper layer.

또한, 상기 전달 핸들러(40)는 재전송 패킷 처리를 담당한다.The forwarding handler 40 is also responsible for retransmission packet processing.

상기 채널 핸들러(50)는 동적으로 상기 물리적 인터페이스(60)를 관리한다. 즉, 상기 채널 핸들러(50)는 하부 물리적 인터페이스(60)를 쉽게 추가하고 관리한다.The channel handler 50 dynamically manages the physical interface 60. That is, the channel handler 50 easily adds and manages the underlying physical interface 60.

상기 물리적 인터페이스(60)는 다양한 인터페이스가 포함되는데, 예를 들면, 전력선 통신(PLC) I/F부, 직렬 통신(RS-232, RS-485) I/F부, 무선통신(RF)I/F부, 및 USB I/F부 등이 있다.The physical interface 60 includes various interfaces, for example, power line communication (PLC) I / F unit, serial communication (RS-232, RS-485) I / F unit, wireless communication (RF) I / F section and USB I / F section.

상기와 같이 이루어진 종래의 홈 네트워크(Home Network)에서 다수 개의 마스터(Master)가 존재하면, 상기 마스터들이 네트워크 매니저(Network Manager)의 기능을 수행하여 네트워크(Network)를 관리하기 위한 많은 패킷(Packet)을 보낸다.If there are a plurality of masters in the conventional home network made as described above, many packets for managing the networks by the masters functioning as network managers. Send it.

그러나, 상기 패킷은 대부분 중복되는 것으로 같은 패킷(Packet)을 불필요하게 많이 보내게 되면 홈 네트워크 내 과도한 트래픽(Traffic)이 발생된다. 이에 따라, 홈 네트워크의 효율성이 떨어진다.However, since most of the packets are duplicated, when the same packet is sent unnecessarily, excessive traffic in the home network is generated. As a result, the efficiency of the home network is reduced.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 그 목적은 마스터 핸들러에서 하는 역할을 두 부분(마스터로서의 역할, 네트워크 매니저로서의 역할)으로 분리하고, 나중에 로그인한 마스터가 상기 마스터로서의 역할만 수행 하도록 함으로써 홈 네트워크의 효율성을 향상시킬 수 있는 홈 게이트웨이 및 홈 네트워크에서의 다중 마스터 처리 방법을 제공하는 데 있다.
The present invention has been made to solve the above problems, the purpose of which is to separate the role of the master handler into two parts (role as master, role as network manager), and later logged in master only the role as the master The present invention provides a home gateway and a multi-master processing method in a home network to improve the efficiency of the home network.

상기와 같은 목적을 이루기 위해 본 발명은 상층 API와 하층 메시지 후킹 핸들러 사이에 위치한 마스터 핸들러를 포함하는 홈 게이트웨이에 있어서, 상기 마스터 핸들러를 네트워크 매니저 모듈부와 마스터 모듈부로 분리하고, 이미 로그인 된 마스터가 네트워크에 존재한 경우, 나중에 로그인 된 마스터는 상기 마스터 모듈부를 통해 홈네트워크 제품('기기 또는 Device'라고도 함) 제어에 관련된 업무만 수행함을 특징으로 한다.In order to achieve the above object, the present invention provides a home gateway including a master handler located between an upper layer API and a lower message hooking handler, wherein the master handler is divided into a network manager module unit and a master module unit, When present in the network, the master logged in later performs only tasks related to controlling a home network product (also referred to as 'device or device') through the master module unit.

상기 마스터 모듈부에서는 사용자가 홈네트워크 디바이스를 제어하기 위한 API 함수를 호출하면 적절한 메시지를 생성하여 상기 메시지 후킹 핸들러에 전달하고, 사용자가 상기 홈네트워크 디바이스를 모니터링하려고 할 때 상기 메시지 후킹 핸들러에서 올라온 메시지를 해석하여 사용자에게 전달하는 기능만 수행한다.When the user calls an API function for controlling a home network device, the master module unit generates an appropriate message and delivers the message to the message hooking handler. When the user tries to monitor the home network device, the message from the message hooking handler is raised. It only performs the function of interpreting and delivering it to the user.

또한, 본 발명에 따른 홈 네트워크에서의 다중 마스터 처리 방법은 소정의 마스터 디바이스를 로그인 하는 단계; 상기 마스터 디바이스는 현재 접속된 다른 마스터 디바이스가 있는지 체크하는 단계; 및 상기에서 현재 접속된 다른 마스터 디바이스가 있으면 마스터로서의 기능만 수행하고, 다른 마스터 디바이스가 없으면 마스터 및 네트워크 매니저로서의 기능을 함께 수행하는 단계를 포함한다.In addition, the multi-master processing method in a home network according to the present invention comprises the steps of logging in a predetermined master device; The master device checking whether there is another master device currently connected; And if there is another master device currently connected, performing only a function as a master, and if there is no other master device, performing a function as a master and a network manager together.

상기에서 현재 접속된 다른 마스터 디바이스 체크는 마스터 그룹 어드레스로 현재 접속된 마스터의 이름을 요청하여 그 응답 여부로 체크할 수 있다. The other currently connected master device check may request the name of the currently connected master by the master group address and check whether or not it responds.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세하게 설명하고자 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일실시예에 따른 홈 게이트웨이의 전체적인 구성을 나타내는 도면이다.2 is a view showing the overall configuration of a home gateway according to an embodiment of the present invention.

도 2를 참조하여 본 발명에 따른 홈 게이트웨이의 구성을 살펴보면, 상층에서 하층으로 응용 프로그래밍 인터페이스(Application Programming Interface : API)(10), 마스터 핸들러(Master Handler)(20), 메시지 후킹 핸들러(Message Hooking Handler)(30), 전달 핸들러(Transmission Handler)(40), 채널 핸들러(Channel Handler)(50) 및 물리적 인터페이스(Physical Interface)(60)를 포함하여 이루어진다.Looking at the configuration of the home gateway according to the present invention with reference to Figure 2, from the upper layer to the lower application programming interface (Application Programming Interface: API) 10, the master handler (Master Handler) 20, message hooking handler (Message Hooking) Handler 30, Transmission Handler 40, Channel Handler 50, and Physical Interface 60.

본 발명과 종래의 기술과 다른 점은 본 발명에서는 상기 마스터 핸들러(Master Handler)(20)가 두 부분으로 나뉘어진 것이다. 즉, 본 발명에서는 상기 마스터 핸들러(20)가 네트워크 매니저 모듈부(21)와 마스터 모듈부(22)로 나뉘어진다. The present invention is different from the conventional art in that the master handler 20 is divided into two parts. That is, in the present invention, the master handler 20 is divided into a network manager module unit 21 and a master module unit 22.

다시 말하면, 종래에는 모든 마스터가 상기 마스터로서의 기능을 전부 수행하였지만, 본 발명에서는 나중에 로그인 한 마스터는 홈네트워크 제품 제어에 관련된 업무만 수행한다.In other words, in the past, all the masters performed all of the functions as the masters, but in the present invention, the master who logs in later performs only the tasks related to home network product control.

상기 홈네트워크 제품 제어에 관련된 업무는 상기 마스터 모듈부(22)를 통해 이루어진다.The work related to the home network product control is performed through the master module unit 22.

상기 홈네트워크 제품 제어에 관련된 업무는 홈네트워크 제품을 제어하고, 홈네트워크 제품의 상태를 모니터링하는 것을 말한다.The tasks related to home network product control refer to controlling home network products and monitoring the status of home network products.

상기 홈네트워크 제품은 에어컨, 전자레인지, 가스오븐레인지, 식기세척기,드럼세탁기, 전등, 셋탑 박스뿐만 아니라 김치냉장고, 로봇청소기 등도 포함한다The home network products include air conditioners, microwave ovens, gas oven ranges, dishwashers, drum washing machines, lamps, set-top boxes, as well as kimchi refrigerators and robot cleaners.

상기 홈게이트웨이의 구조에 대해서는 도 3a 내지 도 3f를 참조하여 보다 상세히 설명하기로 한다.The structure of the home gateway will be described in more detail with reference to FIGS. 3A to 3F.

도 3a는 홈 게이트웨이에서의 네트워크 매니저의 위치 및 제어 흐름을 나타내는 도면이며, 도 3b는 홈 게이트웨이에서의 마스터 모듈의 위치 및 제어 흐름을 나타내는 도면이다.3A is a diagram illustrating the position and control flow of the network manager in the home gateway, and FIG. 3B is a diagram illustrating the position and control flow of the master module in the home gateway.

도 3a 및 도 3b를 참조하면, 본 발명에 따른 마스터 핸들러 모듈(20)은 응용 프로그래밍 인터페이스(Application Programming Interface : API)(10)와 메시지 후킹 핸들러(30) 사이에 있는 모듈로서, 크게 네트워크 매니저 모듈(21)과 마스터 모듈(22)로 구성된다.3A and 3B, the master handler module 20 according to the present invention is a module between an application programming interface (API) 10 and a message hooking handler 30, and is largely a network manager module. 21 and the master module 22.

상기 네트워크 매니저 모듈(21)에서는 홈 네트워크 관리기능을 담당한다.The network manager module 21 is responsible for the home network management function.

즉, 상기 네트워크 매니저 모듈(21)에서는 홈 코드(Home code) 설정, 어드레스 할당(Address Allocation), 디바이스 목록 관리(Device List Management), 다중 네트워크 매니저(Multi Network Manager)에 대한 관리, 시스템 이벤트(System Event) 관리, 디바이스 기초 정보(Device Basic Information)를 관리하며, 또한 상 기 메시지 후킹 핸들러(30)에서 보낸 어플리케이션 패킷(Application Packet)을 처리하고, API(10)에서 내려온 명령을 처리한다.That is, in the network manager module 21, home code setting, address allocation, device list management, management of multiple network managers, and system events It manages event management, device basic information, and also processes application packets sent from the message hooking handler 30 and processes commands issued from the API 10.

또한, 상기 마스터 모듈(22)에서는 홈네트워크 제품을 제어하고, 상기 홈네트워크 제품의 상태를 모니터링(Monitoring)하는 일을 담당한다.In addition, the master module 22 is responsible for controlling the home network product and monitoring the status of the home network product.

즉, 상기 마스터 모듈(22)에서는 사용자가 홈 네트워크 디바이스(제품)를 제어하기 위한 API 함수를 호출하면 적절한 메시지를 생성하여 메시지 후킹 핸들러 계층(30)으로 내려 보내주는 역할을 하며, 또한 사용자가 홈 네트워크 디바이스를 모니터링하려고 할 경우는 상기 메시지 후킹 핸들러(30)에서 올라오면 메시지를 해석하여 사용자에게 적절한 방법으로 전달한다.That is, in the master module 22, when a user calls an API function for controlling a home network device (product), the master module 22 generates an appropriate message and sends it down to the message hooking handler layer 30. In the case of monitoring the network device, when the message hooking handler 30 comes up, the message is interpreted and delivered to the user in an appropriate manner.

도 3c는 홈 게이트웨이에서의 마스터 모듈의 구조를 나타내는 도면이다.3C is a diagram illustrating the structure of a master module in a home gateway.

도 3c를 참조하여 상기 마스터 모듈 내부의 구조를 살펴보면, API(10)로부터 device_handler.c로 디바이스 제어 흐름이 넘어 오면 마스터 모듈의 메인 부(Main Part)(22a)에서는 그 명령을 분석하여 커먼 커맨드(Common command) 처리부(22b) 또는 타입(Type)별 커맨드(Command) 처리부(22c)로 보내진다.Referring to the structure of the master module with reference to FIG. 3C, when the device control flow is transferred from the API 10 to device_handler.c, the main part 22a of the master module analyzes the command and analyzes the command. Common command) is sent to the processor 22b or the command processor 22c for each type.

상기 타입(Type)별 커맨드(Command) 처리부(22c)로 보내면 에어컨, 전자레인지, 가스오븐레인지, 식기세척기 등 어느 디바이스 타입(Device Type)의 커맨드(Command) 처리부로 보내야 할 지에 따라 제어권이 분기된다. When the command is sent to the command processing unit 22c for each type, the control right is branched according to which device type command processing unit such as an air conditioner, a microwave oven, a gas oven range, and a dishwasher should be sent. .

도 3d는 홈 게이트웨이에서의 메시지 후킹 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3D is a diagram illustrating the location and control flow of a message hooking handler in a home gateway.

도 3d를 참조하면, 본 발명에 따른 메시지 후킹 핸들러 모듈부(30)는 상기 마스터 핸들러(Master Handler)(20)와 전달 핸들러(Transmission Handler)(40) 사이에서 요청(Request)/응답(Response)/통지(Notification) 패킷(Packet)에 대한 특별 처리(Special processing)를 담당한다. Referring to FIG. 3D, the message hooking handler module unit 30 according to the present invention may request / response between the master handler 20 and the transmission handler 40. / Notification It is in charge of special processing for packet.

여기서, 특별 처리(Special processing)란, 패킷(Packet)의 필터링(filtering) 또는 로깅(logging) 처리를 포함한 기타 여러 기능들을 말한다. Here, special processing refers to various other functions including filtering or logging processing of a packet.

상기 메시지 후킹 핸들러 모듈부(30)에 대해 보다 상세히 설명하면, 상기 마스터 핸들러(20)에서 전달받은 패킷에 특별 처리를 한 후, 전달 핸들러(40)로 전달해주고, 상기 전달 핸들러(40)에서 전달받은 패킷에 특별 처리를 한 후, 상기 마스터 핸들러로 전달한다.The message hooking handler module unit 30 will be described in more detail. After special processing of the packet received from the master handler 20, the message hooking handler module 30 is delivered to the delivery handler 40, and the delivery handler 40 is delivered. After special processing on the received packet, the packet is delivered to the master handler.

도 3e는 홈 게이트웨이에서의 전송 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3E is a diagram illustrating the location and control flow of a transport handler in a home gateway.

도 3e를 참조하면, 본 발명에 따른 전송 핸들러(Transmission Handler) 모듈부(40)는 상기 메시지 후킹 핸들러(30)가 전달한 요청(Request)/응답(Response)/통지(Notification) 패킷(Packet)을 상기 물리적 인터페이스(60)로 전달될 수 있게 처리하고, 상기 채널 핸들러(50)에서 전달된 패킷을 검증하고 상위로 전달한다.Referring to FIG. 3E, the transmission handler module unit 40 according to the present invention transmits a request / response / notification packet delivered by the message hooking handler 30. Process to be delivered to the physical interface 60, verify the packet delivered by the channel handler 50, and forwards it to the upper level.

또한, 상기 전달 핸들러(40)는 재전송 패킷 처리를 담당한다.The forwarding handler 40 is also responsible for retransmission packet processing.

도 3f는 홈 게이트웨이에서의 채널 핸들러의 위치 및 제어 흐름을 나타내는 도면이다.3F is a diagram illustrating the position and control flow of a channel handler in a home gateway.

도 3f를 참조하면, 본 발명에 따른 채널 핸들러(Channel Handler) 모듈부(40)는 라이브러리(Library)에서 다양한 하부 인터페이스를 제어하고, 하부 인터페이스를 용이하게 추가 및 관리할 수 있도록 역할을 수행한다.Referring to FIG. 3F, the channel handler module unit 40 according to the present invention serves to control various lower interfaces in a library and to easily add and manage lower interfaces.

또한, 상기 채널 핸들러 모듈부(40)에서는 상기 전달 핸들러(40)에서 저달 받은 패킷을 해당 물리적 인터페이스(60)로 전달해주며, 상기 물리적 인터페이스(60)에서 전달받은 패킷을 상기 전달 핸들러(40)로 전달시킨다.In addition, the channel handler module 40 transmits the packet received by the delivery handler 40 to the corresponding physical interface 60, and transmits the packet received by the physical interface 60 to the delivery handler 40. Pass it.

상기 물리적 인터페이스(60)는 다양한 인터페이스가 포함되는데, 예를 들면, 전력선 통신(PLC) I/F부, 직렬 통신(RS-232, RS-485) I/F부, 무선통신(RF)I/F부, 및 USB I/F부 등이 있다.The physical interface 60 includes various interfaces, for example, power line communication (PLC) I / F unit, serial communication (RS-232, RS-485) I / F unit, wireless communication (RF) I / F section and USB I / F section.

도 4는 본 발명의 일실시예에 따른 홈 네트워크에서의 다중 마스터 처리 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a multi-master processing method in a home network according to an embodiment of the present invention.

도 4를 참조하여 본 발명에 따른 홈 네트워크에서의 다중 마스터 처리 방법을 설명하면, 소정의 마스터 디바이스(일례로, 'A마스터'라 함)를 로그인했을 때(S101), 상기 A마스터는 현재 접속된 다른 마스터 디바이스(일례로, 'B마스터'라 함)가 있는지 체크(S102) 및 판단한다.(S103)Referring to FIG. 4, the multi-master processing method in the home network according to the present invention will be described. When a predetermined master device (for example, 'A master') is logged in (S101), the A master is currently connected. (S102) and determine whether there is another master device (for example, 'B master').

상기에서 현재 접속된 다른 마스터 디바이스 체크는 마스터 그룹 어드레스로 현재 접속된 마스터의 이름을 요청하여 그 응답 여부로 체크할 수 있다. The other currently connected master device check may request the name of the currently connected master by the master group address and check whether or not it responds.

만약, 상기에서 현재 접속된 다른 마스터(B마스터 등)가 있으면(즉, 응답이 있으면) A마스터는 마스터로서의 기능만 수행한다.(S104)If there is another master (B master, etc.) currently connected (that is, there is a response), the A master performs only a function as a master (S104).

또한, 상기에서 현재 접속된 다른 마스터(B마스터 등)가 없으면 A마스터는 마스터로서의 기능뿐만 아니라 네트워크 매니저로서의 기능도 함께 수행한다.(S105)In addition, if there is no other master (B master, etc.) currently connected, the A master performs not only a function as a master but also a function as a network manager (S105).

상기와 같이, 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자라면 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.As described above, with reference to the preferred embodiment of the present invention, those skilled in the art will be variously modified and modified within the scope of the present invention without departing from the spirit and scope of the present invention described in the claims below. It will be appreciated that it can be changed.

이상에서와 같이, 본 발명은 마스터 핸들러에서 하는 역할을 두 부분(마스터로서의 역할, 네트워크 매니저로서의 역할)으로 분리하고, 나중에 로그인한 마스터가 상기 마스터로서의 역할만 수행하도록 함으로써 중복된 패킷 전송을 미리 방지시킬 수 있다. 이에 따라 본 발명은 홈 네트워크의 효율성을 향상시킬 수 있다.As described above, the present invention prevents duplicate packet transmission in advance by separating the role of the master handler into two parts (the role of the master, the role of the network manager), and having the master who logs in later only perform the role of the master. You can. Accordingly, the present invention can improve the efficiency of the home network.

Claims (5)

상층 API와 하층 메시지 후킹 핸들러 사이에 위치한 마스터 핸들러를 포함하는 홈 게이트웨이에 있어서,A home gateway comprising a master handler located between an upper API and a lower message hooking handler, 상기 마스터 핸들러를 네트워크 매니저 모듈부와 마스터 모듈부로 분리하고, 이미 로그인 된 마스터가 네트워크에 존재한 경우, 나중에 로그인 된 마스터는 상기 마스터 모듈부를 통해 홈네트워크 제품 제어에 관련된 업무만 수행함을 특징으로 하는 홈 게이트웨이.The master handler is divided into a network manager module unit and a master module unit, and if a master who is already logged in exists in the network, the master who is logged in later performs only tasks related to home network product control through the master module unit. Gateway. 제 1항에 있어서, 마스터 모듈부에서는 사용자가 홈네트워크 디바이스를 제어하기 위한 API 함수를 호출하면 적절한 메시지를 생성하여 상기 메시지 후킹 핸들러에 전달하고, 사용자가 상기 홈네트워크 디바이스를 모니터링하려고 할 때 상기 메시지 후킹 핸들러에서 올라온 메시지를 해석하여 사용자에게 전달하는 기능을 수행하도록 함을 특징으로 하는 홈 게이트웨이.The master module unit of claim 1, wherein the master module unit generates an appropriate message and delivers the message to the message hooking handler when the user calls an API function for controlling the home network device, and when the user tries to monitor the home network device. A home gateway that performs a function of interpreting and delivering a message from a hooking handler to a user. 소정의 마스터 디바이스를 로그인 하는 단계;Logging in a predetermined master device; 상기 마스터 디바이스는 현재 접속된 다른 마스터 디바이스가 있는지 체크하는 단계; 및The master device checking whether there is another master device currently connected; And 상기에서 현재 접속된 다른 마스터 디바이스가 있으면 마스터로서의 기능만 수행하고, 다른 마스터 디바이스가 없으면 마스터 및 네트워크 매니저로서의 기능 을 함께 수행하는 단계를 포함하는 홈 네트워크에서의 다중 마스터 처리 방법.And performing a function as a master when there is another master device currently connected, and performing a function as a master and a network manager together when there is no other master device. 제 3항에 있어서, 현재 접속된 다른 마스터 디바이스 체크는 마스터 그룹 어드레스로 현재 접속된 마스터의 이름을 요청하여 그 응답 여부로 체크하는 것을 특징으로 하는 홈 네트워크에서의 다중 마스터 처리 방법.4. The multi-master processing method of claim 3, wherein the other currently connected master device check requests the name of the currently connected master by the master group address and checks whether or not it responds. 제 3항에 있어서, 마스터로서의 기능은 사용자가 홈네트워크 디바이스를 제어하기 위한 API 함수를 호출하면 적절한 메시지를 생성하여 상기 메시지 후킹 핸들러에 전달하고, 사용자가 상기 홈네트워크 디바이스를 모니터링하려고 할 때 상기 메시지 후킹 핸들러에서 올라온 메시지를 해석하여 사용자에게 전달하는 기능인 것을 특징으로 하는 홈 네트워크에서의 다중 마스터 처리 방법.4. The method of claim 3, wherein the function as a master generates an appropriate message when the user calls an API function for controlling the home network device and delivers it to the message hooking handler, when the user tries to monitor the home network device. Multi-master processing method in a home network, characterized in that the function to interpret the message from the hooking handler and deliver it to the user.
KR1020050009693A 2005-02-02 2005-02-02 Home GateWay ? Multi Master Process Method of Home Network KR101084335B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050009693A KR101084335B1 (en) 2005-02-02 2005-02-02 Home GateWay ? Multi Master Process Method of Home Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050009693A KR101084335B1 (en) 2005-02-02 2005-02-02 Home GateWay ? Multi Master Process Method of Home Network

Publications (2)

Publication Number Publication Date
KR20060088740A KR20060088740A (en) 2006-08-07
KR101084335B1 true KR101084335B1 (en) 2011-11-16

Family

ID=37177075

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050009693A KR101084335B1 (en) 2005-02-02 2005-02-02 Home GateWay ? Multi Master Process Method of Home Network

Country Status (1)

Country Link
KR (1) KR101084335B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101014814B1 (en) * 2009-07-22 2011-02-14 주식회사 즐게임 Kernel monitoring module installed computer system and kernel monitoring method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010065409A (en) * 1999-12-29 2001-07-11 윤종용 Master machine selecting method in distribution type intelligent network system
KR20030060519A (en) * 2002-01-09 2003-07-16 엘지전자 주식회사 Method of deciding configuration manager in home network
KR20040049666A (en) * 2002-12-06 2004-06-12 엘지전자 주식회사 Network system connected with multi-master devices and its operating method for the same
WO2004107658A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system and its configuration system
KR20050034410A (en) * 2003-10-09 2005-04-14 엘지전자 주식회사 Plug-in method of master appliances

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010065409A (en) * 1999-12-29 2001-07-11 윤종용 Master machine selecting method in distribution type intelligent network system
KR20030060519A (en) * 2002-01-09 2003-07-16 엘지전자 주식회사 Method of deciding configuration manager in home network
KR100406857B1 (en) * 2002-01-09 2003-11-21 엘지전자 주식회사 Method of deciding configuration manager in home network
KR20040049666A (en) * 2002-12-06 2004-06-12 엘지전자 주식회사 Network system connected with multi-master devices and its operating method for the same
WO2004107658A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system and its configuration system
KR20050034410A (en) * 2003-10-09 2005-04-14 엘지전자 주식회사 Plug-in method of master appliances

Also Published As

Publication number Publication date
KR20060088740A (en) 2006-08-07

Similar Documents

Publication Publication Date Title
CN105429883B (en) The long connection method of multiple smart machines and server apparatus and smart machine
KR101077992B1 (en) Home Network Control System and Data Flow Control Method of Above the Home Network Control System
CN101656732B (en) Contouring system
CN100583818C (en) Method for switching network connecting device in network system and network system
US7516187B2 (en) Remote control system for home appliance network and method for operating the same
CN104089371B (en) Multi-online air-conditioning system
CN210428181U (en) Intelligent home gateway system
WO2022174752A1 (en) Distributed scenario cluster interconnection central control system and control method
CN100521603C (en) Method for realizing high-usability of network security equipment under cluster mode
CN112566155A (en) Networking method, device and system
CN104410530A (en) Method of finding and utilizing MAC address to manage industrial switches
TWI592892B (en) Smart home system
KR101084335B1 (en) Home GateWay ? Multi Master Process Method of Home Network
CN102957549A (en) System and method for managing cross-platform remote servers
CN105429884A (en) Method and system of managing routers in different networks through terminal
RU2399161C2 (en) System and method of processing control interception during failure in distributed environment with routing
KR102052481B1 (en) Controlling apparatus for access device, and control method thereof
CN103685178A (en) Industrial wireless network oriented online debugging method and system
CN106412131A (en) Server monitoring management system
CN202103697U (en) Anti-attack security linkage system
CN102316136A (en) Load balancing method for dual-controller system
CN112764350A (en) Control method and device of intelligent household equipment and storage medium
KR20160147330A (en) Home appliance
CN204928858U (en) Spare link system based on switch
CN100362792C (en) Intelligent gate bridge and its method for realizing network isolation control &#39;

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151023

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee