KR100840939B1 - Electronic apparatus and control mehthod thereof - Google Patents

Electronic apparatus and control mehthod thereof Download PDF

Info

Publication number
KR100840939B1
KR100840939B1 KR1020070007163A KR20070007163A KR100840939B1 KR 100840939 B1 KR100840939 B1 KR 100840939B1 KR 1020070007163 A KR1020070007163 A KR 1020070007163A KR 20070007163 A KR20070007163 A KR 20070007163A KR 100840939 B1 KR100840939 B1 KR 100840939B1
Authority
KR
South Korea
Prior art keywords
electronic device
condition information
master
communication
external electronic
Prior art date
Application number
KR1020070007163A
Other languages
Korean (ko)
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 KR1020070007163A priority Critical patent/KR100840939B1/en
Application granted granted Critical
Publication of KR100840939B1 publication Critical patent/KR100840939B1/en

Links

Images

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • 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/044Network management architectures or arrangements comprising hierarchical management structures

Abstract

An electronic apparatus and a control method thereof are provided to perform smooth communication by reselecting a master when an instruction for communication start is not received. An electronic apparatus(100) comprises a connection unit(10) and a controller(30). The connection unit is connected to a communication bus(150). The controller receives first and second condition information. If the second condition information is set, the controller compares ID(Identification) numbers of the electronic apparatus and an external electronic apparatus. If the electronic apparatus has a big ID number, the controller determines the electronic apparatus as a master. The controller transmits communication activation message to the all external electronic apparatuses(200,300,400), and sets the second condition information of the electronic apparatus as reset. If the electronic apparatus is determined as a slave and the communication activation message for communication start is not received within a predetermined time from a master through the connection unit, the controller sets up the second condition information as set. The controller generates a reset event of the communication bus so as to compare the ID numbers again. If receiving the communication activation message within a predetermined time from a master, the controller sets up the second condition information of the electronic apparatus as reset.

Description

전자장치 및 그 제어방법 {ELECTRONIC APPARATUS AND CONTROL MEHTHOD THEREOF}Electronic device and its control method {ELECTRONIC APPARATUS AND CONTROL MEHTHOD THEREOF}

도 1은 본 발명의 일실시예에 따른 적어도 하나의 전자장치가 통신버스를 통해 연결되어 네트워크를 형성하고 있는 홈 네트워크 시스템의 사시도이다.1 is a perspective view of a home network system in which at least one electronic device is connected via a communication bus to form a network according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 전자장치의 블록도이다.2 is a block diagram of an electronic device according to an embodiment of the present invention.

도 3과 도4는 본 발명의 일실시예에 따른 전자장치(100)의 제어방법의 흐름도이다.3 and 4 are flowcharts illustrating a control method of the electronic device 100 according to an embodiment of the present invention.

< 도면의 주요 부분에 대한 부호의 설명 > <Description of Symbols for Main Parts of Drawings>

10 : 접속부 20 : 메모리부 10: connection part 20: memory part

30 : 제어부 100 : 전자장치 30: control unit 100: electronic device

150 : 통신 버스 200, 300, 400 : 외부 전자장치 150: communication bus 200, 300, 400: external electronic device

1 : 홈 네트워크 시스템  1: home network system

본 발명은 전자장치 및 제어방법에 관한 것으로서, 더욱 상세하게는, 홈 네트워크를 구성하고 있는 전자장치가 다른 전자장치와 통신을 하기 위한 전자장치 및 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device and a control method, and more particularly, to an electronic device and a control method for an electronic device constituting a home network to communicate with another electronic device.

통신 및 가전 기술의 발달로 각 가정의 가전제품과 같은 전자장치들을 통신버스를 통해 연결할 수 있고, 사용자가 외출한 상태에서도 무선 또는 유선 단말기 등을 통해 가정 내의 전자장치를 제어할 수 있게 되었다.With the development of communication and home appliance technology, electronic devices such as home appliances in each home can be connected through a communication bus, and the electronic devices in the home can be controlled through a wireless or wired terminal even when the user is away.

가정 내의 전자장치 즉 가전제품들은 통신 버스를 통해 연결되어 있으며, 복수의 전자장치 중 하나는 다른 전자장치를 제어할 수 있는 마스터(Master)가 된다.Home electronic devices, that is, home appliances, are connected via a communication bus, and one of the plurality of electronic devices becomes a master that can control another electronic device.

사용자는 외출한 상태에서도 휴대폰으로 가정 내의 마스터에 해당하는 전자장치에 다른 전자장치의 전원을 ON/OFF하라는 명령을 송신할 수 있고, 마스터 전자장치를 이를 수신하여 해당 전자장치를 ON/OFF시킬 수 있다. 물론 사용자는 가정 내부에서도 리모콘 등의 단말기를 통해 마스터 전자장치에 명령을 내릴 수 있고 마스터 전자장치를 수신한 명령을 수행할 수도 있다.A user can send a command to turn on / off the power of other electronic devices to an electronic device corresponding to a master in the home by using a mobile phone while going out, and receive the master electronic device to turn the electronic device on / off. have. Of course, the user may issue a command to the master electronic device through a terminal such as a remote controller even in a home, and may perform a command that receives the master electronic device.

이와 같이 가정내 전자장치를 통신 버스를 통해 연결하고, 가정 내에서 또는 외출시 단말기를 통해 각 전자장치를 제어할 수 있도록 하는 것을 홈 네트워크 시스템이라고 한다.In this way, connecting the electronic devices in the home through a communication bus and controlling each electronic device through a terminal in the home or when going out is called a home network system.

마스터 전자장치가 다른 전자장치를 제어하기 위해선 모든 전자장치가 통신 버스를 통해 통신 활성화가 되어야 한다. 만일 통신 버스 리셋 이벤트가 발생하면 모든 전자장치는 통신 활성화 과정을 수행하여 다른 전자장치와 통신이 가능한 상태가 되어야 한다.In order for the master electronics to control other electronics, all electronics must be enabled for communication via the communication bus. If a communication bus reset event occurs, all electronic devices should be in a state capable of communicating with other electronic devices by performing a communication activation process.

각 전자장치는 통신 활성화 과정을 수행하는데 있어서, 마스터 전자장치로부터 통신 활성화 메시지를 수신하여 통신 활성화 과정을 종료한다.Each electronic device performs a communication activation process and receives a communication activation message from the master electronic device to terminate the communication activation process.

그러나 종래의 전자장치는 마스터 전자장치로부터 통신 활성화 메시지를 수신하면 않으면, 수신할 때까지 계속해서 대기하고 있는 상태가 되고 따라서, 사용자는 전자장치에 대한 제어 명령을 송신하여도 전자장치는 사용자의 제어 명령에 따라 동작하지 못하는 문제점을 가지고 있다.However, unless the electronic device receives the communication activation message from the master electronic device, the conventional electronic device is in a waiting state until the reception. Therefore, even if the user transmits a control command to the electronic device, the electronic device controls the user. There is a problem that does not work according to the command.

따라서, 본 발명은 전술한 문제점을 해결하기 위한 것으로서, 홈 네트워크를 구성하고 있는 전자장치가 통신 활성화를 위한 대기 시간이 기준 시간을 초과하면 통신 활성화 과정을 재수행하도록 하기 위한 것이다.Accordingly, an object of the present invention is to solve the above-described problem and to re-execute a communication activation process when the electronic device configuring the home network exceeds a reference time for activation of communication.

상기 목적을 달성하기 위해서, 본 발명에 따른 전자장치는 상기 통신버스에 접속되는 접속부와, 전자장치와 외부 전자장치의 식별번호를 비교하여 큰 식별번호를 갖는 전자장치가 마스터가 되도록 하고, 마스터가 아닌 경우, 접속부를 통해 일정시간 내에 통신 개시를 위한 통신 활성화 메시지를 마스터로부터 수신하지 못하면, 식별번호를 재비교하도록 통신버스의 리셋(Reset) 이벤트를 발생시키는 제어부를 포함하는 것을 특징으로 한다.In order to achieve the above object, an electronic device according to the present invention compares a connection part connected to the communication bus with an identification number of an electronic device and an external electronic device so that an electronic device having a large identification number becomes a master. If not, if not receiving a communication activation message for starting communication within a certain time from the master through the connection, characterized in that it comprises a control unit for generating a reset (Reset) event of the communication bus to re-compare the identification number.

여기서 마스터가 아닌 전자장치의 제어부는 슬레이브인 제어부이거나 슬레이브가 아닌 제어부인 것을 특징으로 한다.The control unit of the electronic device other than the master is a control unit that is a slave or a control unit that is not a slave.

그리고 마스터가 아닌 제어부는 상기 슬레이브 제어부인 경우에만 향후 마스터가 될 수 있는 것을 특징으로 한다.The controller other than the master may be a master only in the case of the slave controller.

본 발명에 따른 전자장치는 각 전자장치의 구성정보를 저장하는 메모리부를 더 포함하고, 구성정보는 식별번호와, 지원 프로토콜(Protocol) 정보와, 전자장치의 타입(Type)과, 벤더(Vender)명 및 모델(Model)명을 포함하며, 지원 프로토콜 정보는 제어부가 특정 프로토콜을 지원할 수 있는지를 알 수 있는 제1 조건정보를 포함하며, 통신 버스의 리셋 이벤트가 발생하면, 제어부는 외부 전자장치로부터 각 외부 전자장치에 대한 구성정보를 수신하고 제1 조건정보가 셋(Set)이면 외부 전자장치에 대한 구성정보와 구성정보에 대응하는 전자장치가 마스터가 될 수 있는지를 알 수 있는 제2 조건정보를 메모리부에 저장하고, 제2 조건정보가 셋(Set)인 전자장치의 식별번호를 전자장치의 식별번호와 비교하여 전자장치가 마스터인지 여부를 결정하는 것을 특징으로 한다.The electronic device according to the present invention further includes a memory unit for storing configuration information of each electronic device, wherein the configuration information includes an identification number, supporting protocol information, a type of the electronic device, and a vendor. It includes a name and a model name, and the supported protocol information includes first condition information for identifying whether the controller can support a specific protocol, and when a reset event of the communication bus occurs, Receiving configuration information about each external electronic device, and if the first condition information is set, second condition information for determining whether the electronic device corresponding to the configuration information and the configuration information for the external electronic device can become a master. Store the memory in the memory unit and compare the identification number of the electronic device having the second condition information with the identification number of the electronic device to determine whether the electronic device is a master. .

제어부는 전자장치가 마스터로 결정된 경우, 모든 외부 전자장치로 통신 활성화 메시지를 송신하고 전자장치의 상기 제2 조건정보를 리셋으로 설정하며, 전자장치가 슬레이브로 결정된 경우, 마스터인 외부 전자장치로부터 일정시간 내에 통신 활성화 메시지를 수신하면 전자장치의 제2 조건정보를 리셋으로 설정하고, 일정시간 내에 통신 활성화 메시지를 수신하지 못하면 제2 조건정보를 셋으로 설정하고 통신 버스 리셋 이벤트를 발생시키는 것을 특징으로 한다.If the electronic device is determined to be a master, the controller transmits a communication activation message to all external electronic devices and sets the second condition information of the electronic device to reset. When the electronic device is determined to be a slave, the control unit sets a schedule from the external electronic device that is the master. When the communication activation message is received within a time period, the second condition information of the electronic device is set to reset, and when the communication activation message is not received within a predetermined time, the second condition information is set to three and a communication bus reset event is generated. do.

본 발명에 따른 상기 목적은 통신버스를 통해 외부 전자장치와 연결될 수 있는 전자장치의 제어방법에 있어서, (a) 통신 버스의 리셋 이벤트가 발생한 경우, 각 외부 전자장치로부터 구성정보를 수신하는 단계와, (b) 구성정보에 포함되어 특정 프로토콜에 대한 지원의 여부 정보를 갖는 제1 조건정보를 확인하는 단계와, (c) 제1 조건정보가 셋(Set)이면 구성정보와, 구성정보에 대응하는 외부 전자장치 가 마스터가 될 수 있는지 확인할 수 있는 제2 조건정보를 저장하는 단계와, (d) 모든 외부 전자장치에 대해 제1 조건정보를 확인하였는지 판단하는 단계와, (e) 모두 확인하였다면, 제2 조건정보가 셋(Set)되어 있는 모든 외부 전자장치에 대해 구성정보에 저장되어 있는 식별번호를 읽어와 전자장치의 식별번호와 비교하는 단계와, (f) 비교 결과, 전자장치의 식별번호가 크면 모든 외부 전자장치의 통신 개시를 지시하는 마스터로 동작하고, 전자장치의 식별번호가 크지 않으면 통신개시 지시를 받는 슬레이브로 동작할 것을 결정하는 단계와, (g) 슬레이브 동작으로 결정되면, 마스터인 외부 전자장치로부터 통신개시를 위한 통신 활성화 메시지를 일정시간 내에 수신하지 못하면, 통신 버스의 리셋 이벤트를 발생시키고, 제2 조건정보를 셋으로 설정하는 단계와, (h) 일정시간 내에 통신 활성화 메시지를 수신하면 제2 조건정보를 리셋으로 설정하는 단계를 포함하는 것을 특징으로 하는 전자장치의 제어방법에 의해서도 달성된다.According to an aspect of the present invention, there is provided a method of controlling an electronic device that can be connected to an external electronic device through a communication bus, comprising: (a) receiving configuration information from each external electronic device when a reset event of the communication bus occurs; (b) identifying first condition information included in the configuration information and having support for a specific protocol; and (c) if the first condition information is set, the configuration information corresponds to the configuration information. Storing second condition information for confirming that the external electronic device can be a master; (d) determining whether the first condition information is confirmed for all external electronic devices; and (e) And reading the identification numbers stored in the configuration information for all the external electronic devices having the second condition information set therein and comparing them with the identification numbers of the electronic devices. If the star number is large, operate as a master instructing communication start of all external electronic devices, and if the identification number of the electronic device is not large, determine to operate as a slave receiving communication start instruction; If a communication activation message for communication start is not received from a master external electronic device within a predetermined time, generating a reset event of the communication bus and setting the second condition information to three; and (h) communicating within a predetermined time. The control method of the electronic device may be achieved by setting the second condition information to a reset upon receiving the activation message.

도 1은 본 발명의 일실시예에 따른 적어도 하나의 전자장치가 통신버스를 통해 연결되어 네트워크를 형성하고 있는 홈 네트워크 시스템(1)의 사시도이다.1 is a perspective view of a home network system 1 in which at least one electronic device is connected via a communication bus to form a network according to an embodiment of the present invention.

도 1에 도시한 바와 같이, 본 발명에 따른 전자장치는 외부 전자장치와 통신버스를 통해 연결되어 홈 네트워크 시스템을 형성한다.As shown in FIG. 1, an electronic device according to the present invention is connected to an external electronic device through a communication bus to form a home network system.

외부 전자장치와 전자장치는 텔레비전, 냉장고 등 가전제품일 수 있고, 통신이 가능한 기타 전자제품일 수 있다.The external electronic device and the electronic device may be home appliances such as a television or a refrigerator, and may be other electronic products that can communicate.

전자장치(100)와 외부 전자장치(200, 300, 400)는 통신버스(150)를 통해 상호 통신할 수 있다. 그런데 이들 홈 네트워크 시스템(1)를 구성하는 전자장치(100) 및 외부 전자장치(200, 300, 400) 중 하나는 통신버스(150) 및 다른 전자장치를 제어할 수 있는 마스터가 되어야 한다. 도 1에서는 전자장치(100)가 마스터이다.The electronic device 100 and the external electronic devices 200, 300, and 400 may communicate with each other through the communication bus 150. However, one of the electronic device 100 and the external electronic devices 200, 300, and 400 constituting the home network system 1 should be a master capable of controlling the communication bus 150 and other electronic devices. In FIG. 1, the electronic device 100 is a master.

마스터인 전자장치(100)는 사용자가 가정과 건물 등의 실내에서 리모콘과 같은 단말기를 통해 모든 전자장치들을 제어할 수 있도록 해야 한다. 또한 사용자는 외출 시 유무선 전화 단말기로 공중망과 인터넷 망 및 기타 망 중 적어도 어느 하나를 통해 전자장치(100)로 제어명령을 내릴 수 있고, 전자장치(100)은 사용자로부터 제어명령을 수신하고 제어명령을 수행하는 외부 전자장치(200, 300, 400)를 확인하여 해당 외부 전자장치로 제어명령을 송신한다. 제어명령을 전자장치(100)를 통해 수신한 외부 전자장치(200, 300, 400)은 제어명령에 기초하여 전원 ON/OFF 등의 이벤트를 수행한다.The electronic device 100, which is a master, should allow a user to control all electronic devices through a terminal such as a remote controller in a room such as a home or a building. Also, when the user goes out, the user may issue a control command to the electronic device 100 through at least one of the public network, the Internet network, and other networks by using a wired or wireless telephone terminal, and the electronic device 100 receives the control command from the user and controls the control command. Check the external electronic device (200, 300, 400) to perform the control command to the corresponding external electronic device. The external electronic devices 200, 300, and 400 that receive the control command through the electronic device 100 perform an event such as power on / off based on the control command.

홈 네트워크 시스템(1)를 구성하는 모든 전자장치(100, 200, 300, 400)는 마스터가 될 수 있고, 마스터의 제어를 받는 슬레이브도 될 수 있고, 마스터 도 슬레이브도 아닌 통신만 가능한 전자장치 일 수 있다.All electronic devices 100, 200, 300, and 400 constituting the home network system 1 may be masters, may be slaves under the control of the master, and are electronic devices capable of communication only, not masters or slaves. Can be.

슬레이브인 전자장치는 마스터가 차후에 마스터가 될 수 있지만, 슬레이브도 아닌 전자장치는 마스터가 될 수 없다.An electronic device that is a slave can be a master later, but an electronic device that is not a slave cannot be a master.

도 2는 본 발명의 일실시예에 따른 전자장치의 블록도이다.2 is a block diagram of an electronic device according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 본 발명에 따른 전자장치(100)는 접속부(10)와, 메모리부(20)와, 제어부(30)를 포함한다.As shown in FIG. 2, the electronic device 100 according to the present invention includes a connection unit 10, a memory unit 20, and a controller 30.

접속부(10)는 통신버스(150)와 연결되어 제어부(30)가 통신을 할 수 있도록 한다. 여기서 접속부(10)는 IEEE 1394에서 규정한 물리적 전송 매체로서의 규격을 준수하여야 한다.The connection unit 10 is connected to the communication bus 150 to allow the control unit 30 to communicate. Here, the connection unit 10 must comply with the standard as a physical transmission medium specified in IEEE 1394.

메모리부(20)는 전자장치(100)의 구성정보와 외부 전자장치(200, 300, 400)로부터 수신한 구성정보를 저장한다.The memory unit 20 stores configuration information of the electronic device 100 and configuration information received from the external electronic devices 200, 300, and 400.

구성정보는 식별번호와 지원 프로토콜(Protocol) 정보와, 전자장치의 타입(Type)과, 벤더(Vender)명 및 모델(Model)명을 포함하고 그밖에 다른 정보를 더 포함할 수 있다.The configuration information may include an identification number and protocol information, a type of an electronic device, a vendor name and a model name, and other information.

여기서 식별번호는 제어부(30)가 각 외부 전자장치를 구별할 수 있도록 정보이다. 식별번호는 복수의 비트들에 의해 구성되며, 일반적으로 32비트의 비트열로 구성되나 비트열의 수는 증가할 수도 감소할 수도 있다. 이와 같은 비트열을 GUID(General Unique Identification)이라고 한다. 실질적으로 구성정보는 GUID를 포함하고 식별번호는 GUID을 구성하고 있는 각 비트 자리의 비트를 반전한 역 GUID(Reverse GUID)이다. GUID가 고유하므로 식별번호도 고유하다.Here, the identification number is information so that the controller 30 can distinguish each external electronic device. The identification number is composed of a plurality of bits, and generally consists of a 32-bit bit string, but the number of bit strings may increase or decrease. Such a bit string is called a general unique identification (GUID). Substantially, the configuration information includes a GUID, and the identification number is a reverse GUID in which bits of each bit position constituting the GUID are inverted. Because the GUID is unique, the identification number is also unique.

지원 프로토콜 정보는 각 전자장치가 상호 통신을 위해 사용하는 통신 규격이 어떠한 것들이 있는지 확인할 수 있는 정보이다.The supporting protocol information is information for identifying which communication standards each electronic device uses for mutual communication.

모든 전자장치가 홈 네트워크 시스템(1)에 구성요소로서 다른 전자장치와 통신버스(150)를 통해 통신하기 위해선 IEEE 1394 규격을 만족하여야 하고, 통신버스를 이용하는 전자장치의 성격에 따라 전자장치는 다른 프로토콜의 규격을 더 만족해야만 한다. 일예로 디지털 TV가 전자장치인 경우 전자장치는 EIA(Electronic Industries Alliance)에서 정의한 EIA775.1 규격을 지원해야 한다. EIA775.1은 홈 네트워크에서 전자장치들이 전자장치간 통신을 하기 위한 통신 프로토콜의 기준을 제시한다. 즉 홈 네트워크의 미들웨어(Middleware)인 HNCP(Home Network Control Protocol)를 정의한다.In order for all electronic devices to communicate with other electronic devices via the communication bus 150 as components of the home network system 1, the electronic devices must satisfy the IEEE 1394 standard. The specification of the protocol must be further satisfied. For example, if a digital TV is an electronic device, the electronic device must support the EIA775.1 standard defined by the Electronic Industries Alliance (EIA). EIA775.1 sets the standard for communication protocols for electronic devices to communicate between electronic devices in a home network. That is, Home Network Control Protocol (HNCP), which is middleware of the home network, is defined.

제어부(30)는 접속부(10)를 통해 외부 전자장치(200, 300, 400)를 제어하기 위해 외부 전자장치(200, 300, 400)와 제어메시지를 송수신한다.The control unit 30 transmits and receives a control message with the external electronic devices 200, 300, and 400 to control the external electronic devices 200, 300, and 400 through the connection unit 10.

통신버스(150)의 리셋 이벤트가 발생하면, 제어부(30)는 각 외부 전자장치(200, 300, 400)로 구성정보를 송신할 것을 요구하는 리퀘스트(Request) 메시지를 송신한다. 리퀘스트 메시지를 수신한 외부 전자장치는 리퀘스트 메시지를 송신한 전자장치로 구성요소를 포함하는 리스폰스(Response) 메시지를 송신하여 응답한다.When a reset event of the communication bus 150 occurs, the controller 30 transmits a request message requesting transmission of configuration information to each external electronic device 200, 300, or 400. Upon receiving the request message, the external electronic device responds by sending a response message including a component to the electronic device that has sent the request message.

이와 같은 리퀘스트 메시지는 반드시 전자장치(100)만 송신할 수 있는 것은 아니며 외부 전자장치(200)가 다른 외부 전자장치(300)로 송신할 수도 있다. Such a request message may not necessarily be transmitted only by the electronic device 100, but may be transmitted by the external electronic device 200 to another external electronic device 300.

그리고 구성정보는 반드시 리스폰스 메시지에 포함시켜 보내야 할 필요는 없으며 다른 메시지에 포함시켜 보낼 수도 있다.The configuration information does not have to be included in the response message but may be included in another message.

제어부(30)는 각 외부 전자장치(200, 300, 400)로부터 수신한 구성정보에 대해 먼저 지원 프로토콜 정보를 확인한다. 제어부(30)는 구성정보에서 각 외부 전자장치가 EIA775.1에서 정의한 HNCP(Home Network Control Protocol) 프로토콜을 지원하는 지 확인한다. 예를 들어, 제어부(30)가 외부 전자장치(200)로부터 수신한 구성정보로부터 HNCP 프로토콜을 지원하는 것을 확인하였다면, 제어부(30)는 이 외부 전자장치가 마스터 전자장치가 될 수 있는지를 표시하는 제1 조건정보를 확인한다. 제 1 조건정보는 셋(Set) 또는 리셋(Reset)값을 갖는다. 셋은 차후에 라도 마 스터가 될 수 있다는 것을 나타내고, 리셋은 마스터가 될 수 없다는 것을 나타낸다.The controller 30 first checks support protocol information with respect to configuration information received from each of the external electronic devices 200, 300, and 400. The controller 30 checks in the configuration information whether each external electronic device supports the Home Network Control Protocol (HNCP) protocol defined in EIA775.1. For example, if the controller 30 confirms that the HNCP protocol is supported from the configuration information received from the external electronic device 200, the controller 30 indicates whether the external electronic device can be a master electronic device. Check the first condition information. The first condition information has a Set or Reset value. Set indicates that it can be a master later, and reset indicates that it cannot be a master.

제어부(30)는 구성정보에 대응하는 외부 전자장치(200)의 제1 조건정보가 셋이면 해당 외부 전자장치(200)에 대응하는 제2 조건정보와 함께 구성정보를 저장한다. 제2 조건정보는 셋 또는 리셋을 가지며, 셋인 경우 외부 전자장치(200)가 마스터가 될 수 있다는 것을 나타낸다. 제2 조건정보가 리셋인 경우 외부 전자장치(200)는 슬레이브가 되고, 차후에 마스터가 될 수 있다는 것을 나타낸다.If the first condition information of the external electronic device 200 corresponding to the configuration information is three, the controller 30 stores the configuration information together with the second condition information corresponding to the corresponding external electronic device 200. The second condition information has a set or reset, and in the case of the set, the second condition information indicates that the external electronic device 200 can be a master. When the second condition information is a reset, the external electronic device 200 becomes a slave and may indicate that the master may be a master later.

외부 전자장치(200)의 제2 조건정보가 셋인 경우, 제어부(30)는 외부 전자장치(200)의 식별번호인 역 GUID를 전자장치(100)의 역 GUID와 비교한다. 만일 전자장치(100)의 역 GUID가 외부 전자장치(200)의 역 GUID보다 크면 외부 전자장치(200)는 마스터가 될 수 없다.When the second condition information of the external electronic device 200 is three, the controller 30 compares the inverse GUID which is the identification number of the external electronic device 200 with the inverse GUID of the electronic device 100. If the reverse GUID of the electronic device 100 is larger than the reverse GUID of the external electronic device 200, the external electronic device 200 may not be a master.

제어부(30)는 모든 외부 전자장치(200, 300, 400)에 대해 이와 같은 비교를 수행하고 전자장치(100)의 역 GUID가 큰 것으로 판정되면 마스터가 된 것으로 인식한다.The controller 30 performs such a comparison on all the external electronic devices 200, 300, and 400, and recognizes that the master is the master when the reverse GUID of the electronic device 100 is determined to be large.

전자장치(100)가 마스터이면, 제어부(30)는 모든 외부 전자장치(200, 300, 400)로 통신 개시를 실시할 것을 지시하는 통신 활성화 메시지를 송신한다. 통신 활성화 메시지에 의해 모든 외부 전자장치(200, 300, 400)가 통신 활성화되면, 제어부(30)는 전자장치(100)에 대응하는 제2 조건정보를 리셋시켜 저장한다.If the electronic device 100 is a master, the controller 30 transmits a communication activation message instructing all external electronic devices 200, 300, and 400 to start communication. When all external electronic devices 200, 300, and 400 are communication activated by the communication activation message, the controller 30 resets and stores the second condition information corresponding to the electronic device 100.

전자장치(100)가 슬레이브이면, 제어부(30)는 마스터인 외부 전자장치(200)로부터 통신 개시를 실시할 것을 지시하는 통신 활성화 메시지를 수신하기 위해 일 정시간 대기한다. 일정 시간 내에 통신 활성화 메시지를 수신하지 못하면, 제어부(30)는 전자장치(100)에 대한 제2 조건정보를 셋으로 변경하고 통신 버스(150)의 리셋 이벤틀 발생시킨다. 만일 일정 시간 내에 통신 활성화 메시지를 수신하면, 제어부(30)는 통신 버스(150)를 통해 통신을 개시하고 제2 조건정보를 리셋시킨다.If the electronic device 100 is a slave, the controller 30 waits for a predetermined time to receive a communication activation message instructing to start communication from the external electronic device 200 that is the master. If the communication activation message is not received within a predetermined time, the controller 30 changes the second condition information for the electronic device 100 to three and generates a reset event of the communication bus 150. If the communication activation message is received within a predetermined time, the controller 30 initiates communication through the communication bus 150 and resets the second condition information.

통신버스(150)의 리셋 이벤트가 발생하면, 전자장치(100)의 제어부(30) 및 외부 전자장치(200, 300, 400)의 제어부는 위의 절차를 다시 수행하고 마스터와 슬레이브인 전자장치를 결정한다.When a reset event of the communication bus 150 occurs, the control unit 30 of the electronic device 100 and the control unit of the external electronic devices 200, 300, and 400 perform the above procedure again and operate the electronic device that is a master and a slave. Decide

홈 네트워크 시스템(1)을 구성하는 모든 전자장치(100, 200, 300, 400)의 제어부는 마스터와 슬레이브로 구분되는 것은 아니다. 어떤 전자장치의 제어부는 슬레이브가 아닌 제어부일 수 있다. 슬레이브가 아닌 제어부는 마스터인 제어부에 의해 제어를 받을 수 있다. 슬레이브인 제어부는 마스터가 될 수 있지만, 슬레이브가 아닌 제어부는 마스터가 될 수 없다.The controllers of all the electronic devices 100, 200, 300, and 400 constituting the home network system 1 are not divided into a master and a slave. The control unit of an electronic device may be a control unit rather than a slave. The control unit other than the slave may be controlled by the control unit which is the master. A controller that is a slave may be a master, but a controller that is not a slave cannot be a master.

다음은 본 발명의 일실시예에 따른 전자장치(100)의 특징을 더욱 상세히 설명한 것이다.Next, the characteristics of the electronic device 100 according to an embodiment of the present invention will be described in more detail.

홈 네트워크 시스템(1)은 적어도 하나의 전자장치를 포함한다. 예를 들면 가정내의 가전제품을 통신버스(150)를 통해 연결하여 네트워크를 구성한다. 복수의 가전제품이 연결된 경우 하나의 가전제품이 마스터가 되고 다른 가전제품은 슬레이브가 되면, 어떤 가전제품은 슬레이브가 아닌 가전제품이다. 마스터인 가전제품(예 DTV)는 다른 가전제품(예 에어컨, 오디오, 가스오븐 등)들을 제어할 수 있다. 슬레 이브인 가전제품을 포함해서 다른 가전제품은 마스터인 가전제품의 제어에 의해 제어된다.The home network system 1 includes at least one electronic device. For example, home appliances in the home are connected through a communication bus 150 to form a network. When a plurality of home appliances are connected, if one home appliance becomes a master and the other home appliance is a slave, some home appliances are not slaves. A home appliance (eg DTV) that is a master may control other home appliances (eg, air conditioners, audio, gas ovens, etc.). Other appliances, including the slave appliances, are controlled by the control of the master appliance.

사용자는 가정 내 또는 외부에서 리모콘 또는 유무선 통신 단말기를 통해 마스터 가전제품으로 명령을 송신할 수 있고, 명령을 수신한 마스터 가전제품은 명령에 의해 자신의 상태를 변경하거나, 다른 가전제품의 상태를 변경하기 위해 명령을 다른 가전제품을 송신한다.A user can send a command to a master appliance through a remote control or a wired or wireless communication terminal in or outside the home, and the master appliance receiving the command changes its state or changes the state of another appliance by the command. Send other home appliances to order.

마스터 가전제품은 리모콘 또는 유무선 단말기를 통해 직접 사용자로부터 명령을 수신할 수 있고, 별도의 서버장치로 통해 수신할 수 도 있다.The master appliance may receive a command directly from the user through a remote controller or a wired or wireless terminal, or may be received through a separate server device.

가전제품들 예를 들면 DTV(100), 에어컨(200), 가스오븐(300), 오디오(400)가 통신버스(150)를 통해 연결되어 홈 네트워크 시스템(1)을 구성하고 있다고 가정하여 본 발명의 따른 전자장치의 특징을 설명한다.The present invention assumes that home appliances, for example, the DTV 100, the air conditioner 200, the gas oven 300, and the audio 400 are connected through the communication bus 150 to form a home network system 1. The following describes the characteristics of the electronic device.

통신버스(150)의 리셋 이벤트가 발생하면, 각 가전제품 DTV(100), 에어컨(200), 가스오븐(300), 오디오(400)은 다른 가전제품으로 구성정보를 송신할 것을 요청한다.When a reset event of the communication bus 150 occurs, each home appliance DTV 100, air conditioner 200, gas oven 300, audio 400 requests to send the configuration information to other home appliances.

DTV(100)가 다른 가전제품 에어컨(200), 가스오븐(300), 오디오(400)로부터 구성정보를 수신하였다면, 제어부(30)는 수신한 구성정보로부터 각 가전제품(200, 300, 400)이 특정 프로토콜을 지원하는지 알 수 있는 제1 조건정보를 확인한다.If the DTV 100 receives the configuration information from the other home appliance air conditioner 200, the gas oven 300, the audio 400, the control unit 30 from the received configuration information to each home appliance (200, 300, 400) Check the first condition information to see if it supports this particular protocol.

만일 제어부(30)가 에어컨(200)으로부터 구성정보를 수신하였다면 제어부(30)는 구성정보로부터 HNCP 프로토콜(EIA775.1)을 지원하는지를 알 수 있는 제1 조건정보를 확인한다. 제1 조건정보가 셋이면, 제어부(30)는 에어컨(200)에 대 응하는 구성정보와 에어컨(200)이 마스터가 될 수 있는지를 알 수 있는 제2 조건정보를 저장한다. 제2 조건정보는 셋 또는 리셋을 가지며, 에어컨(200)의 제2 조건정보가 셋이면 에어컨(200)은 다른 가전제품을 제어할 수 있는 마스터가 될 수 있다.If the control unit 30 has received the configuration information from the air conditioner 200, the control unit 30 checks the first condition information that can know whether to support the HNCP protocol (EIA775.1) from the configuration information. If the first condition information is three, the controller 30 stores the configuration information corresponding to the air conditioner 200 and the second condition information indicating whether the air conditioner 200 can be a master. The second condition information has a set or reset, and if the second condition information of the air conditioner 200 is three, the air conditioner 200 may be a master capable of controlling other home appliances.

제어부(30)는 에어컨(200)의 제2 조건정보가 셋이라면, 에어컨(200)의 구성정보로부터 GUID를 추출하고 GUID를 구성하는 각 비트자리의 비트를 반전한 역 GUID를 산출한다. 역 GUID는 가전제품을 구별하기 위한 식별번호이다. 제어부(30)는 DTV(100)의 역 GUID, 즉 자신의 역 GUID와 에어컨(200)의 역 GUID를 비교한다. 그리고, 제어부(30)는 자신의 역 GUID와 가스오븐(300)의 역 GUID, 오디오(400)이 역 GUID를 순차적으로 비교한다. 비교결과 제어부(30)는 자신의 식별번호인 역 GUID가 에어컨(200)의 역 GUID, 가스오븐(300)의 역 GUID, 오디오(400)의 역 GUID보다 크면 제어부(30)는 마스터로서 동작한다. 즉 DTV(100)가 마스터로서 에어컨(200)과 가스오븐(300)과 오디오(400)를 제어한다. 사용자는 DTV(100)를 통해 DTV(100) 뿐만아니라 에어컨(200)와 가스오븐(300)와 오디오(400)를 조정할 수 있다. 제어부(30)는 제2 조건정보가 셋인 가전제품의 역 GUID를 자신의 역 GUID와 비교하고, 제2 조건정보가 리셋인 가전제품에 대해서는 역 GUID를 비교하지 않는다.If the second condition information of the air conditioner 200 is three, the controller 30 extracts the GUID from the configuration information of the air conditioner 200 and calculates an inverse GUID inverting the bits of each bit position constituting the GUID. The reverse GUID is an identification number for distinguishing home appliances. The controller 30 compares the reverse GUID of the DTV 100, that is, the reverse GUID of the DTV 100 and the reverse GUID of the air conditioner 200. The controller 30 sequentially compares its reverse GUID, the reverse GUID of the gas oven 300, and the audio 400 with the reverse GUID. As a result of the comparison, the control unit 30 operates if the reverse GUID, which is its identification number, is larger than the reverse GUID of the air conditioner 200, the reverse GUID of the gas oven 300, and the reverse GUID of the audio 400. . That is, the DTV 100 controls the air conditioner 200, the gas oven 300, and the audio 400 as a master. The user may adjust not only the DTV 100 but also the air conditioner 200, the gas oven 300, and the audio 400 through the DTV 100. The control unit 30 compares the reverse GUID of the home appliance having the second condition information with its own reverse GUID, and does not compare the reverse GUID with respect to the home appliance having the second condition information as reset.

제어부(30)가 마스터인 경우, 제어부(30)는 에어컨(200)과, 가스오븐(300)과, 오디오(400)로 일정 시간 내에 통신 버스(150)에 연결된 접속부(10)를 통해 통신을 개시할 것을 지시하는 통신 활성화 메시지를 송신한다. 각 가전제품(200, 300, 400)은 통신 활성화 메시지를 수신하면 통신 버스(150)를 통해 HNCP 775.1에 서 통신한 통신 프로토콜을 이용하여 통신을 시작한다. 통신이 시작되면, 제어부(30)는 자신의 제2 조건정보를 리셋으로 설정한다.When the control unit 30 is a master, the control unit 30 communicates with the air conditioner 200, the gas oven 300, and the connection unit 10 connected to the communication bus 150 within a predetermined time through the audio 400. Send a communication activation message indicating to start. When each household appliance 200, 300, 400 receives a communication activation message, it starts communication using the communication protocol communicated by HNCP 775.1 through the communication bus 150. When the communication is started, the controller 30 sets its second condition information to reset.

만일 제어부(30)가 슬레이브인 경우, 제어부(30)는 일정 시간동안 마스터인 가전제품(예 : 에어컨(200))로부터 송신되는 통신 활성화 메시지를 기다린다. 만일 제어부(30)가 일정 시간 내에 에어컨(200)으로부터 수신하지 못하면, 제어부(30)는 자신의 제2 조건정보를 셋으로 설정하고 통신 버스(150)의 리셋 이벤트를 발생시켜 마스터를 새로 정할 수 있도록 한다. 일정 시간은 특별히 정해진 시간은 아니며 사용자의 요구에 따라 변경하여 설정할 수 있다.If the controller 30 is a slave, the controller 30 waits for a communication activation message transmitted from the home appliance (for example, the air conditioner 200) that is the master for a predetermined time. If the control unit 30 does not receive from the air conditioner 200 within a predetermined time, the control unit 30 may set its second condition information to set and generate a reset event of the communication bus 150 to newly set the master. Make sure The predetermined time is not a specific time, but can be changed and set according to a user's request.

통신 버스(150)의 리셋 이벤트가 발생하면, DTV(100)의 제어부(30)는 다시 모든 가전제품으로부터 구성정보를 요청하고 수신된 구성정보에 기초하여 마스터를 선출한다.When a reset event of the communication bus 150 occurs, the controller 30 of the DTV 100 requests configuration information from all home appliances again and selects a master based on the received configuration information.

위에서 DTV(100)가 마스터이고, 에어컨(200)과 가스오븐(300) 및 오디오(400)는 슬레이브인 경우를 예로 설명하였다. The case where the DTV 100 is a master and the air conditioner 200, the gas oven 300, and the audio 400 are slaves has been described as an example.

그러나 통신 버스(150)에 연결되는 가전제품이 마스터와 슬레이브로 구분되는 것은 아니며 마스터인 가전제품, 마스터가 아닌 가전제품, 슬레이브가 아닌 가전제품으로 나눠질 수 있다. 슬레이브가 아닌 가전제품은 마스터가 될 수 없으며, 단지 IEEE에서 정의한 IEEE 1394의 통신 프로토콜에 따라 통신만 할 수 있다.However, the home appliance connected to the communication bus 150 is not divided into a master and a slave, and may be divided into a home appliance that is a master, a non-master home appliance, and a non-slave home appliance. Appliances that are not slaves cannot be masters, but can only communicate according to the IEEE 1394 communication protocol defined by the IEEE.

마스터가 아닌 가전제품은 제2 조건정보에 따라 통신 버스의 리셋 이벤트 발생 후 마스터가 될 수 있다. The home appliance other than the master may become a master after a reset event of the communication bus is generated according to the second condition information.

도 3과 도 4는 본 발명의 일실시예에 따른 전자장치(100)의 제어방법의 흐름 도이다.3 and 4 are flowcharts illustrating a control method of the electronic device 100 according to an embodiment of the present invention.

도 3과 도 4에 도시한 바와 같이, 본 발명의 일실시예에 따른 전자장치(100)의 제어방법은 통신버스를 통해 외부 전자장치와 연결될 수 있고, 통신 버스의 리셋 이벤트가 발생한 경우, 각 외부 전자장치로부터 구성정보를 수신한다(S10). 구성정보에 포함되어 특정 프로토콜에 대한 지원의 여부 정보를 갖는 제1 조건정보를 확인한다(S20). 제1 조건정보가 셋(Set)이면 상기 구성정보와, 구성정보에 대응하는 외부 전자장치가 마스터가 될 수 있는지 확인할 수 있는 제2 조건정보를 저장한다(S30). 모든 외부 전자장치에 대해 제1 조건정보를 확인하였는지 판단한다(S40). 모두 확인하였다면, 제2 조건정보가 셋(Set)되어 있는 모든 외부 전자장치에 대해 구성정보에 저장되어 있는 식별번호를 읽어와 전자장치의 식별번호와 비교한다(S50). 비교 결과, 전자장치의 식별번호가 크면 모든 상기 외부 전자장치의 통신 개시를 지시하는 마스터로 동작하고, 전자장치의 식별번호가 크지 않으면 통신개시 지시를 받는 슬레이브로 동작할 것을 결정한다(S60). 슬레이브 동작으로 결정되면, 마스터인 외부 전자장치로부터 통신개시를 위한 통신 활성화 메시지를 일정시간 내에 수신하지 못 하면, 통신 버스의 리셋 이벤트를 발생시키고, 제2 조건정보를 셋으로 설정한다(S70). 일정시간 내에 상기 통신 활성화 메시지를 수신하면 제2 조건정보를 리셋으로 설정한다(S80). S60 단계에서, 전자장치가 마스터가 된 경우, 모든 외부 전자장치로 통신 활성화 메시지를 송신하고, 제2 조건정보를 리셋으로 설정한다(미도시).3 and 4, the control method of the electronic device 100 according to an embodiment of the present invention may be connected to an external electronic device through a communication bus, and when a reset event of the communication bus occurs, Configuration information is received from an external electronic device (S10). The first condition information included in the configuration information and whether or not support for a specific protocol is checked (S20). If the first condition information is set, the configuration information and second condition information for identifying whether the external electronic device corresponding to the configuration information can become a master are stored (S30). It is determined whether the first condition information is confirmed for all external electronic devices (S40). If all are confirmed, the identification numbers stored in the configuration information of all the external electronic devices having the second condition information set are read and compared with the identification numbers of the electronic devices (S50). As a result of the comparison, if the identification number of the electronic device is large, it is determined to operate as a master instructing communication start of all the external electronic devices, and if the identification number of the electronic device is not large, it is determined to operate as a slave receiving a communication start instruction (S60). If it is determined that the slave operation, if a communication activation message for starting communication from the external external electronic device is not received within a predetermined time, a reset event of the communication bus is generated, and the second condition information is set to set (S70). If the communication activation message is received within a predetermined time, the second condition information is set to reset (S80). In operation S60, when the electronic device becomes the master, the communication activation message is transmitted to all external electronic devices, and the second condition information is set to reset (not shown).

비록, 본 발명의 몇몇 실시예들이 도시되고 설명되었지만, 본 발명에 속하는 기술분야의 통상의 지식을 가진 당업자라면 본 발명의 원칙이나 정신에서 벗어나지 않으면서 본 실시예를 변형할 수 있음을 알 수 있을 것이다. 발명의 범위는 첨부된 청구항과 그 균등물에 의해 정해질 것이다.Although some embodiments of the invention have been shown and described, it will be apparent to those skilled in the art that modifications may be made to the embodiment without departing from the spirit or spirit of the invention. will be. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.

이상 설명한 바와 같이, 본 발명에 따른 전자장치 및 그 제어방법은 통신 개시를 위한 지시를 수신하지 못한 경우, 마스터를 다시 선출하여 원활한 통신이 이루어 질 수 있도록 한다.As described above, when the electronic device and the control method according to the present invention do not receive an instruction for communication start, the master is re-elected so that smooth communication can be performed.

Claims (7)

통신버스를 통해 외부 전자장치와 연결될 수 있는 전자장치에 있어서,An electronic device that can be connected to an external electronic device through a communication bus, 상기 통신버스에 접속되는 접속부와;A connection portion connected to the communication bus; 상기 외부 전자장치로부터 특정 프로토콜을 지원할 수 있는지 여부를 알 수 있는 제1조건정보와 상기 제1조건정보가 셋(Set)이면 상기 외부 전자장치에 대한 구성정보와 상기 구성정보에 대응하는 전자장치가 마스터가 될 수 있는지를 알 수 있는 제2조건정보를 수신하고, If the first condition information and whether the first condition information for determining whether a specific protocol can be supported from the external electronic device are set, the configuration information for the external electronic device and the electronic device corresponding to the configuration information are determined. Receive second condition information to know whether you can become a master, 상기 제2조건정보가 셋(Set)인 경우, 상기 전자장치와 상기 외부 전자장치의 식별번호를 비교하여 상기 전자장치가 큰 식별번호를 갖는다면 상기 전자장치를 마스터로 결정하고, 모든 상기 외부 전자장치에 통신 활성화 메시지를 송신하고 상기 전자장치의 상기 제2조건정보를 리셋으로 설정하며,If the second condition information is set, the identification number of the electronic device and the external electronic device is compared, and if the electronic device has a large identification number, the electronic device is determined as a master, and all the external electronic devices are determined. Send a communication activation message to the device and set the second condition information of the electronic device to reset, 상기 전자장치가 슬레이브로 결정된 경우, 상기 접속부를 통해 일정 시간 내에 통신 개시를 위한 상기 통신 활성화 메시지를 마스터로부터 수신하지 못하면 상기 제2조건정보를 셋으로 설정하고 상기 식별번호를 재비교하도록 상기 통신버스의 리셋(Reset) 이벤트를 발생시키고, 마스터로부터 일정 시간 내에 통신 활성화 메시지를 수신하면 상기 전자장치의 상기 제2조건정보를 리셋으로 설정하는 제어부를 포함하는 것을 특징으로 하는 전자장치. If the electronic device is determined to be a slave, if the communication activation message for communication start is not received from the master through the connection unit within a predetermined time, the second condition information is set to set and the communication number is compared again. And a controller for generating a reset event of the controller and setting the second condition information of the electronic device to a reset when a communication activation message is received from the master within a predetermined time. 제1항에 있어서,The method of claim 1, 상기 마스터가 아닌 전자장치의 제어부는 슬레이브인 제어부이거나 슬레이브가 아닌 제어부인 것을 특징으로 하는 전자장치.The control unit of the electronic device other than the master is a control unit which is a slave or a control unit which is not a slave. 제2항에 있어서,The method of claim 2, 상기 마스터가 아닌 제어부는 상기 슬레이브 제어부인 경우에만 향후 마스터가 될 수 있는 것을 특징으로 하는 전자장치.The control unit other than the master may be a master in the future only when the slave control unit. 제3항에 있어서,The method of claim 3, 상기 각 전자장치의 구성정보를 저장하는 메모리부를 더 포함하고,Further comprising a memory unit for storing the configuration information of each electronic device, 상기 구성정보는 상기 식별번호와, 지원 프로토콜(Protocol) 정보와, 전자장치의 타입(Type)과, 벤더(Vender)명 및 모델(Model)명을 포함하며,The configuration information includes the identification number, supporting protocol information, a type of an electronic device, a vendor name, and a model name. 상기 지원 프로토콜 정보는 상기 제1 조건정보과 상기 제2조건정보를 포함하며,The support protocol information includes the first condition information and the second condition information. 상기 통신 버스의 리셋 이벤트가 발생하면, 상기 제어부는 상기 외부 전자장치로부터 각 외부 전자장치에 대한 상기 구성정보를 수신하고 상기 제1 조건정보가 셋(Set)이면 상기 제2 조건정보를 상기 메모리부에 저장하고, 상기 제2 조건정보가 셋(Set)인 전자장치의 상기 식별번호를 상기 전자장치의 식별번호와 비교하여 상기 전자장치가 마스터인지 여부를 결정하는 것을 특징으로 하는 전자장치.When a reset event of the communication bus occurs, the controller receives the configuration information for each external electronic device from the external electronic device, and if the first condition information is set, the controller receives the second condition information. Store the information in the electronic device, and determine whether the electronic device is a master by comparing the identification number of the electronic device having the second condition information with a set to the identification number of the electronic device. 삭제delete 통신버스를 통해 외부 전자장치와 연결될 수 있는 전자장치의 제어방법에 있어서,In a control method of an electronic device that can be connected to an external electronic device through a communication bus, (a) 상기 통신 버스의 리셋 이벤트가 발생한 경우, 각 상기 외부 전자장치로부터 구성정보를 수신하는 단계와;(a) receiving configuration information from each external electronic device when a reset event of the communication bus occurs; (b) 상기 구성정보에 포함되어 특정 프로토콜에 대한 지원의 여부 정보를 갖는 제1 조건정보를 확인하는 단계와;(b) confirming first condition information included in the configuration information and having information on whether to support a specific protocol; (c) 상기 제1 조건정보가 셋(Set)이면 상기 구성정보와, 상기 구성정보에 대응하는 상기 외부 전자장치가 마스터가 될 수 있는지 확인할 수 있는 제2 조건정보를 저장하는 단계와;(c) storing the configuration information and second condition information for identifying whether the external electronic device corresponding to the configuration information can become a master when the first condition information is set; (d) 모든 상기 외부 전자장치에 대해 상기 제1 조건정보를 확인하였는지 판단하는 단계와;(d) determining whether the first condition information is confirmed for all the external electronic devices; (e) 모두 확인하였다면, 상기 제2 조건정보가 셋(Set)되어 있는 모든 상기 외부 전자장치에 대해 상기 구성정보에 저장되어 있는 상기 식별번호를 읽어와 상기 전자장치의 식별번호와 비교하는 단계와;(e) if all are confirmed, reading the identification numbers stored in the configuration information for all the external electronic devices having the second condition information set and comparing them with the identification numbers of the electronic devices; ; (f) 상기 비교 결과, 상기 전자장치의 식별번호가 크면 모든 상기 외부 전자장치의 통신 개시를 지시하는 마스터로 동작하고, 상기 전자장치의 식별번호가 크지 않으면 통신개시 지시를 받는 슬레이브로 동작할 것을 결정하는 단계와;(f) As a result of the comparison, if the identification number of the electronic device is large, it operates as a master instructing communication start of all the external electronic devices, and if the identification number of the electronic device is not large, it operates as a slave receiving a communication start instruction. Determining; (g) 슬레이브 동작으로 결정되면, 상기 마스터인 상기 외부 전자장치로부터 통신개시를 위한 통신 활성화 메시지를 일정시간 내에 수신하지 못 하면, 상기 통신 버스의 리셋 이벤트을 발생시키고, 상기 제2 조건정보를 셋으로 설정하는 단계와;(g) If it is determined as a slave operation, if a communication activation message for communication start is not received from the external electronic device, which is the master, within a predetermined time, a reset event of the communication bus is generated, and the second condition information is set to three. Setting up; (h) 상기 일정시간 내에 상기 통신 활성화 메시지를 수신하면 상기 제2 조건정보를 리셋으로 설정하는 단계를 포함하는 것을 특징으로 하는 전자장치의 제어방법.and (h) setting the second condition information to a reset upon receiving the communication activation message within the predetermined time. 제6항에 있어서,The method of claim 6, 상기 (f)단계에서, 상기 전자장치가 상기 마스터가 된 경우, 모든 상기 외부 전자장치로 상기 통신 활성화 메시지를 송신하고, 상기 제2 조건정보를 리셋으로 설정하는 단계를 더 포함하는 것을 특징으로 하는 전자장치의 제어방법.In the step (f), if the electronic device is the master, further comprising the step of transmitting the communication activation message to all the external electronic device, and setting the second condition information to reset Control method of electronic device.
KR1020070007163A 2007-01-23 2007-01-23 Electronic apparatus and control mehthod thereof KR100840939B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070007163A KR100840939B1 (en) 2007-01-23 2007-01-23 Electronic apparatus and control mehthod thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070007163A KR100840939B1 (en) 2007-01-23 2007-01-23 Electronic apparatus and control mehthod thereof

Publications (1)

Publication Number Publication Date
KR100840939B1 true KR100840939B1 (en) 2008-06-24

Family

ID=39772334

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070007163A KR100840939B1 (en) 2007-01-23 2007-01-23 Electronic apparatus and control mehthod thereof

Country Status (1)

Country Link
KR (1) KR100840939B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020204451A1 (en) * 2019-03-29 2020-10-08 삼성전자 주식회사 Method for keyless reset, and electronic device therefor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58107746A (en) 1981-12-21 1983-06-27 Mitsubishi Electric Corp Communication system
JPH01284133A (en) * 1988-05-11 1989-11-15 Mitsubishi Electric Corp Signal transmission device
JPH05122232A (en) * 1991-10-28 1993-05-18 Meidensha Corp Device for coupling remote supervisory control terminal stations
JPH07288530A (en) * 1994-04-20 1995-10-31 Hitachi Ltd Cyclic communication system
EP1195941A1 (en) 2000-07-28 2002-04-10 Mitsubishi Denki Kabushiki Kaisha Communication method and communication system
KR20050060766A (en) * 2003-12-17 2005-06-22 엘지전자 주식회사 Method of error detection and restoration in multi-point type hdlc bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58107746A (en) 1981-12-21 1983-06-27 Mitsubishi Electric Corp Communication system
JPH01284133A (en) * 1988-05-11 1989-11-15 Mitsubishi Electric Corp Signal transmission device
JPH05122232A (en) * 1991-10-28 1993-05-18 Meidensha Corp Device for coupling remote supervisory control terminal stations
JPH07288530A (en) * 1994-04-20 1995-10-31 Hitachi Ltd Cyclic communication system
EP1195941A1 (en) 2000-07-28 2002-04-10 Mitsubishi Denki Kabushiki Kaisha Communication method and communication system
KR20050060766A (en) * 2003-12-17 2005-06-22 엘지전자 주식회사 Method of error detection and restoration in multi-point type hdlc bus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020204451A1 (en) * 2019-03-29 2020-10-08 삼성전자 주식회사 Method for keyless reset, and electronic device therefor
US11755086B2 (en) 2019-03-29 2023-09-12 Samsung Electronics Co., Ltd. Method for keyless reset, and electronic device therefor

Similar Documents

Publication Publication Date Title
KR100559023B1 (en) Home network system and its configuration system
US7564804B2 (en) Method of assigning addresses to a plurality of devices on a network and a network system therefor
US7729282B2 (en) Home network system and its configuration system
JP2009075735A (en) Gateway device and information control method therefor
JP2009135783A (en) Communication adapter and connection information setting method thereof
JP2002186058A (en) Consumer electric appliance network controller and method
WO2002101628A1 (en) Home networking communication system and method for communicating using the same
JP2004194264A (en) Multi-master apparatus connecting network system and method of operating the same
JP2002354556A (en) Method for registering controlled apparatus to controller and control system
JP2008172570A (en) Home network system
KR100840939B1 (en) Electronic apparatus and control mehthod thereof
WO2021248963A1 (en) Home appliance, networking method therefor, control terminal, and computer storage medium
JP2023091045A (en) Home appliance system and home appliance
JP6133934B2 (en) Remote controller
KR102085114B1 (en) Method and apparatus for communication using smart module in home network system
KR101242054B1 (en) M2M Module for Supporting Serial Communication Emulation through WiBro Network and Operation Method thereof
JP6270491B2 (en) Authentication method and authentication system
EP3554003B1 (en) Network system
JP2004538689A (en) Numerous home network isolation methods
CN115220360A (en) Household appliance pairing method and device, server and storage medium
TWI639350B (en) Method for verifying operation of wireless control system
KR100729623B1 (en) Method for controlling home-device and home-device control apparatus using the same
JP2014230064A (en) Communication system, server device, communication method, and program
KR100437045B1 (en) Home Appliance Network System and Controlling Method for the Same
JP2002319949A (en) Communication controller and communication controlling method

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

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee