KR100506694B1 - Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet - Google Patents

Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet Download PDF

Info

Publication number
KR100506694B1
KR100506694B1 KR1020040082639A KR20040082639A KR100506694B1 KR 100506694 B1 KR100506694 B1 KR 100506694B1 KR 1020040082639 A KR1020040082639 A KR 1020040082639A KR 20040082639 A KR20040082639 A KR 20040082639A KR 100506694 B1 KR100506694 B1 KR 100506694B1
Authority
KR
South Korea
Prior art keywords
identifier
subnet
node
home code
home
Prior art date
Application number
KR1020040082639A
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 KR1020040082639A priority Critical patent/KR100506694B1/en
Application granted granted Critical
Publication of KR100506694B1 publication Critical patent/KR100506694B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • 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

Abstract

전력선을 이용하여 구성된 통신망에서 서브넷 창설 이후, 서브넷 식별자의 중복 사용을 검출하고 조치하는 방법을 제공한다.After the creation of a subnet in a communication network constructed using a power line, a method of detecting and acting on duplicate use of a subnet identifier is provided.

본 발명에 따르면, 송신 노드가 상기 제 1 식별자 및 제 2 식별자를 포함하는 데이터 패킷을 생성하여 통신망 상에 브로드캐스팅하는 제 1 단계; 수신 노드에서 수신된 데이터 패킷에 포함된 제 1 식별자 및 제 2 식별자를 자신의 소속 서브넷을 식별하기 위한 제 1 식별자 및 제 2 식별자와 비교하는 제 2 단계; 및 상기 식별자 비교 단계에서 제 1 식별자가 동일하고 제 2 식별자가 상이하면, 상기 수신 노드가 다른 서브넷이 자신의 소속 서브넷과 동일한 제 1 식별자를 중복적으로 사용하고 있다고 판정하는 제 3 단계; 를 포함하는 식별자 중복 사용 검출 방법을 제공한다.According to the present invention, there is provided a method comprising: a first step of a transmitting node generating and broadcasting a data packet including the first identifier and a second identifier on a communication network; A second step of comparing the first identifier and the second identifier included in the data packet received at the receiving node with the first identifier and the second identifier for identifying its own subnet; And a third step in which, if the first identifier is the same and the second identifier is different in the identifier comparison step, the receiving node determines that another subnet uses the same first identifier as its own subnet. It provides a method for detecting duplicated identifiers, including.

Description

개방적 통신망에서의 식별자 중복 사용을 검출하고 조치하는 방법과, 그러한 통신망의 서브넷에 연결되는 전기전자응용기기 {Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet} Methods for detecting and regulating the use of identifier duplication in open networks, and for electronic and electronic devices connected to the subnet of such networks {method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet}

이 발명은 개방적 통신 매체를 이용하여 구성된 통신망에서 서브넷 창설 이후, 서브넷 식별자의 중복 사용을 검출하고 조치하는 방법에 관한 것이다.The present invention relates to a method for detecting and acting on duplicate use of subnet identifiers after the creation of a subnet in a communication network constructed using an open communication medium.

여기에서, 개방적 통신 매체라고 함은 통신 매체가 통제 범위 내에만 분포되는 것이 아니라 전력선 등과 같이 통제 범위의 외부까지 연장되어 통제 범위 내부의 노드와 통제 범위 외부의 노드가 통신이 가능하게 하는 통신 매체를 의미한다. 이에는 전력선 통신 방법과 RF(Radio Frequency) 무선 통신 방식이 대표적이다.Here, the open communication medium refers to a communication medium in which the communication medium is not only distributed within the control range but extends to the outside of the control range, such as a power line, so that nodes within the control range and nodes outside the control range can communicate. it means. This includes power line communication methods and radio frequency (RF) wireless communication methods.

또한, 여기에서, 서브넷이라고 함은 전력선 등과 같은 개방적 통신 매체를 이용하여 예를 들어 한 가정의 홈네트워크와 같이 특정한 통제 범위 내에 수용되어 통신하는 전기 전자 응용 기기들을 포함하는 통신망을 지칭하며, 그러한 서브넷에 연결된 각각의 전기 전자 응용 기기들을 노드라고 지칭하기로 한다.In addition, the term subnet herein refers to a communication network that includes electrical and electronic application devices that receive and communicate within a specific control range, such as, for example, a home network of a home, using an open communication medium such as a power line. Each of the electrical and electronic applications connected to the node will be referred to as a node.

이 발명에서는 서브넷의 노드로서 연결되어 식별자 중복 사용의 검출 및 조치 방법을 구현하게 구성된 전기 전자 응용 기기를 제안하고 있다.The present invention proposes an electric and electronic application device which is connected as a node of a subnet and is configured to implement a method for detecting and acting on duplicate identifiers.

가정의 모든 전기 전자 응용 기기를 상호 연결시켜 중앙 통제하기 위한 홈 네트워킹에 있어서 전력선을 이용한 통신 방식(PLC : Power Line Communication)은 별도의 통신 매체를 배선할 필요가 없다는 점으로 인해 각광받고 있다.In home networking to centrally control and interconnect all home electrical and electronic applications, Power Line Communication (PLC) has come into the spotlight because it does not require a separate communication medium.

전력선 통신 방식을 이용한 홈 네트워킹에서는 통제 범위 내의 모든 전기 및 전자 기기들은 전력선 모뎀(Carrier-Current Transceiver)이라고 지칭되는 트랜시버를 이용하여 전력선을 통해 데이터 패킷을 주고받으며 게이트웨이를 통해 인터넷 등과 같은 외부의 통신망에 연결되는 것이 유력한 방안으로 인정받고 있다.In home networking using powerline communication, all electrical and electronic devices within the control range use data transceivers called carrier-current transceivers to send and receive data packets over the powerline and through gateways to external networks such as the Internet. Connecting is recognized as a viable solution.

그런데, 전력선은 통제 범위 내에서의 폐쇄적 배선망이 아니고 송전소로부터 다수의 가정으로 분기된 개방적 배선망이며, 그러한 배선망 상에서의 통신 방식은 라우터를 이용하지 않는 브로드캐스팅(Broadcasting, 브로드캐스팅) 방식이 주로 이용된다. 그로 인하여, 통제 범위 내의 어느 한 기기에서 브로드캐스팅된 데이터 패킷은 통제 범위 내의 다른 기기 뿐만 아니라, 통제 범위 외의 다른 기기에도 도달하게 된다. 다시 말해서, 어느 한 가정의 홈 네트워크에 수용된 기기에서 브로드캐스팅된 데이터 패킷은 이웃한 다른 가정의 홈 네트워크에 수용된 기기에 도달하게 되며, 수신측 기기가 그러한 데이터 패킷에 포함된 명령이나 정보를 마땅한 것으로 수용한다면 큰 혼란을 초래할 것이다.By the way, the power line is not a closed network within the control range, but an open network branched from the power station to many homes, and the communication method on such a network is a broadcasting method without using a router. This is mainly used. As a result, data packets broadcast from one device within the control range reach not only the other device within the control range but also other devices outside the control range. In other words, a data packet broadcast from a device housed in one home network reaches a device housed in a home network of another neighboring home, and the receiving device deserves the instructions or information contained in that data packet. Accepting will cause great confusion.

*위와 같은 문제를 해결하기 위해 제안된 방식 중의 하나는 전력선의 옥내 인입 부위에 전력선을 통한 데이터의 외부 유출을 방지하는 블록킹 필터(Blocking Filter)를 설치하는 것이다. 그러나, 이러한 방식은 블록킹 필터를 설치하기 위한 비용 문제도 있거니와, 경우에 따라서는 적절한 설치 위치를 정하기 어렵고, 전화선 등과 같이 전력선 이외의 선로를 통해 유출될 우려와 필터의 오작동으로 인한 문제도 있어서 완전한 해결책이 되지 못한다.* One of the proposed methods to solve the above problem is to install a blocking filter (blocking filter) to prevent the leakage of data through the power line in the indoor entry portion of the power line. However, this method also has a cost problem for installing a blocking filter, and in some cases, it is difficult to determine a proper installation position, and there is also a problem due to a filter malfunction or a malfunction of the filter, such as a telephone line. It doesn't work out.

따라서, 현재의 주류 기술에 의하면, 홈 네트워크에 수용된 기기들이 브로드캐스팅하는 데이터 패킷이 흔히 홈 코드라고 지칭하는 식별자(ID : identifier)를 포함하고, 수신측 기기는 이 식별자에 의해 브로드캐스팅측 기기를 확인하여 데이터를 취사 선택하는 방식이 제안되어 있다. 이러한 방식에서는 동일한 홈 네트워크에 수용된 모든 기기는 동일한 식별자를 이용하여야 한다. 즉, 홈 네트워크에 수용된 기기가 통제 범위 내의 다른 기기들과 통신하기 위해서는 식별자를 설정하는 과정이 필수적이다.Thus, according to current mainstream technology, a data packet broadcast by devices accommodated in a home network includes an identifier (ID) commonly referred to as a home code, and the receiving device identifies the broadcasting device by this identifier. A method of confirming and selecting the data has been proposed. In this way, all devices housed in the same home network must use the same identifier. That is, a process of setting an identifier is essential for a device accommodated in a home network to communicate with other devices within a control range.

종래의 식별자 설정 방식은 딥 스위치 등과 같은 하드웨어적 조작 수단을 이용하는 것이다. 이러한 방식에서는 사용자가 기기에 전원을 연결하기 전에 딥 스위치를 조작하여 자신의 가정의 홈 네트워크에서 사용하는 식별자로 맞추어야 한다. 대부분의 사용자들은 이러한 조작에 능숙하지 못하므로, 기기 판매자들이 사용자의 가정을 방문하여 식별자를 확인하고 맞춰주어야 하는 번거로움이 있다. 또한, 불행하게도 한 가정의 홈 네트워크의 구축시에 선택한 식별자가 전력선을 통해 브로드캐스팅되는 데이터 패킷의 도달 범위 내에 있는 다른 가정의 홈 네트워크의 식별자와 동일한 경우에, 이를 즉각적으로 발견할 방안이 마땅하지 않다.The conventional identifier setting method uses a hardware operation means such as a dip switch. This way, the user must manipulate the dip switch to match the identifier used in their home network before powering on the device. Since most users are not good at such operations, it is a hassle for device sellers to visit the user's home to check and match the identifier. Also, unfortunately, if the identifier chosen during the construction of one home network is the same as the identifier of another home network within the reach of the data packet broadcast over the powerline, there is no way to find it immediately. not.

종래 기술로 대표적인 것으로는 'Timothy D. Schoechle, Boulder, Colo.'가 출원한 미국특허공보 05471190호, "Method and apparatus for resource allocation in a communication network system"이 대표적인 바, 그 기술적 핵심과 문제점을 살펴 보면, 다음과 같다.Typical examples of the prior art are US Patent Publication No. 05471190, "Method and apparatus for resource allocation in a communication network system," filed by Timothy D. Schoechle, Boulder, Colo. If you look at it:

임의의 홈 코드를 기기에서 발생시켜 그 홈 코드를 헤일(Hail) 방식으로 송신하면, 이미 설정된 홈 코드를 사용하는 기기는 Nack 신호를 송신하게 되며, 상기 헤일한 기기는 상기 Nack 신호를 수신함으로써, 중복을 피하게 된다. 또한, 사용되지 않는 홈 코드인 경우에는 무신호로서, 응답이 없는 것(Ack)으로 인식하여 홈 코드를 배정하고 있다.If any home code is generated in the device and the home code is transmitted in a hale manner, the device using the already set home code transmits a Nack signal, and the hale device receives the Nack signal, Duplicates are avoided. In the case of an unused home code, the home code is assigned by recognizing that there is no response (Ack) as a no signal.

그러나 이와 같은 방법은 다음과 같은 문제점이 있다.However, this method has the following problems.

첫째, 사용하지 아니하는 홈 코드를 응답이 없는 무신호 상태로 판단하기 때문에, 타 기기의 통신 신호나 노이즈에 의하여 수신 에러가 발생할 경우 오판한 가능성이 항상 존재한다.First, since the unused home code is determined to be a no-signal state without a response, there is always a possibility of a misjudgment when a reception error occurs due to a communication signal or noise of another device.

둘째, 전력선 통신의 특성상 기기들이 연결은 되어 있지만, 부하 변동에 의한 환경으로 인하여 일시적으로 일정한 영역의 통신이 불량한 경우가 발생하면, 중복 홈 코드가 설정될 수 있다.Second, although the devices are connected due to the characteristics of the power line communication, if a case where communication in a certain region temporarily fails due to an environment due to load variation, a duplicate home code may be set.

셋째, 홈 코드가 대부분 가정 단위로 구성되는 바, 누전이나 기타 보수 등의 편의를 위한 이유로 가정 전체의 전기가 차단되면, 기기가 존재하지 않는 것으로 인식되어 중복 홈 코드가 설정될 수 있다.Third, since the home code is mostly composed of household units, when electricity is cut off from the entire home for convenience of leakage or other maintenance, it is recognized that the device does not exist and duplicate home codes may be set.

본 발명의 발명자들은 서브넷 창설 후에 나타나는 홈 코드의 중복 사용을 조기에 좀더 용이하게 발견하고 조치할 수 있는 통신망을 제안하여 "전력선을 이용하는 통신망, 그 통신망의 서브넷과 그러한 서브넷의 창설 방법과, 그러한 서브넷에 연결되는 전기 전자 응용 기기" 및 "전력선을 이용한 통신망의 서브넷에 노드를 가입시키는 방법과, 그러한 서브넷에 연결되는 전기 전자 응용 기기"라는 명칭으로 이 발명과 동시에 출원한다.The inventors of the present invention have proposed a communication network that can more easily detect and cope with the duplication of home codes that appear after the creation of a subnet, and further suggests that "a communication network using a power line, a subnet of the communication network and a method of creating such a subnet, and such a subnet It is filed simultaneously with the present invention under the names of "electrical and electronic application devices connected to" and "methods for joining nodes to subnets of communication networks using power lines, and electrical and electronic application devices connected to such subnets".

전자는 서브넷을 창설하는 과정이고, 후자는 서브넷 창설 이후 새로운 노드를 창설된 서브넷에 가입시키는 과정이다. 한편, 본 발명은 서브넷 창설 이후 통신망에서의 식별자 중복 사용을 검출하고 조치하는 과정이다.The former is the process of creating a subnet, and the latter is the process of joining a new node to the created subnet after the creation of the subnet. On the other hand, the present invention is a process of detecting and acting on the duplicated identifier in the communication network after the creation of the subnet.

이 발명은 개방적 통신 매체를 이용하며 서브넷 창설 이후, 서브넷이 중복으로 사용되는지 여부를 검출하여 이를 변경하는 방법 및 이에 이용되는 전기 전자 응용 기그를 제안하려는 것이다.The present invention intends to propose a method of detecting and changing whether a subnet is used in duplicate after the creation of a subnet using an open communication medium and an electric and electronic application gig used therein.

여기에서, "개방 통신 범위"라고 함은 전력선 등과 같은 개방적 통신 매체를 통해 브로드캐스팅되는 데이터 패킷의 도달 범위를 의미한다. As used herein, the term " open communication range " means the reach of a data packet broadcast over an open communication medium such as a power line.

위와 같은 기술적 과제를 해결하기 위한 본 발명에 따르면, 개방적 통신망에서 서브넷(SubNet) 창설 이후, 송신 노드가 소속 서브넷을 식별하기 위한 제 1 식별자를 포함한 데이터 패킷을 생성하여 개방적 통신 매체를 이용하여 브로드캐스팅하고, 수신 노드는 수신된 데이터 패킷에 포함된 제 1 식별자가 자신의 소속 노드를 식별하기 위한 제 1 식별자와 동일하면 수신된 데이터를 유효하게 처리하고, 상이하면 무효화함으로써, 통상적으로는 동일한 서브넷에 속한 노드끼리만 유효한 통신을 행할 수 있게 구성된 통신망에서, 소속 서브넷을 식별하기 위한 2 종의 식별자를 이용하여, 상이한 서브넷이 동일한 제 1 식별자를 중복적으로 사용하는 것을 검출하는 방법과 관련하여, 송신 노드가 상기 제 1 식별자 및 제 2 식별자를 포함하는 데이터 패킷을 생성하여 통신망 상에 브로드캐스팅하는 제 1 단계; 수신 노드에서 수신된 데이터 패킷에 포함된 제 1 식별자 및 제 2 식별자를 자신의 소속 서브넷을 식별하기 위한 제 1 식별자 및 제 2 식별자와 비교하는 제 2 단계; 및 상기 식별자 비교 단계에서 제 1 식별자가 동일하고 제 2 식별자가 상이하면, 상기 수신 노드가 다른 서브넷이 자신의 소속 서브넷과 동일한 제 1 식별자를 중복적으로 사용하고 있다고 판정하는 제 3 단계; 를 포함하고, 상기 서브넷 창설 과정은, 제 1 노드는 자신이 소속된 서브넷 식별을 위한 임시 홈 코드를 발생시키는 단계; 상기 홈 코드를 포함하는 식별자 헤일(Hail) 신호를 통신망 상에 브로드캐스팅하는 단계; 상기 브로드캐스팅된 신호를 수신한 타 노드 각각은 수신된 신호에 포함된 상기 홈 코드와 자신이 저장하고 있는 등록된 모든 홈 코드를 비교하여 동일한 홈 코드가 존재하면 홈 코드 사용 불허 메시지(Nack)를 브로드캐스팅하고, 동일한 홈 코드가 존재하지 아니하면, 홈 코드 사용 허락 메시지(Ack)를 브로드캐스팅하는 단계; 상기 제 1 노드가 홈 코드 사용 허락 메시지를 수신하면, 상기 요청한 홈 코드를 서브넷 식별자로 설정한 후, 이를 재차 브로드캐스팅하여 타 노드들이 이를 등록하는 단계; 를 포함하는 것을 특징으로 하는 식별자 중복 사용 검출 방법을 제공한다.According to the present invention for solving the above technical problem, after the creation of a subnet (SubNet) in an open communication network, the transmitting node generates a data packet including a first identifier for identifying the subnet belongs by broadcasting using an open communication medium And if the first identifier included in the received data packet is the same as the first identifier for identifying the node to which it belongs, the receiving node validates the received data and invalidates it if it is different. With respect to a method for detecting that different subnets repeatedly use the same first identifier by using two kinds of identifiers for identifying the belonging subnet in a communication network configured to enable only valid communication between the belonging nodes, Generates a data packet comprising the first identifier and the second identifier. A first step of broadcasting on a telecommunication network; A second step of comparing the first identifier and the second identifier included in the data packet received at the receiving node with the first identifier and the second identifier for identifying its own subnet; And a third step in which, if the first identifier is the same and the second identifier is different in the identifier comparison step, the receiving node determines that another subnet uses the same first identifier as its own subnet. The subnet creation process may include: generating a temporary home code for identifying a subnet to which the first node belongs; Broadcasting an identifier Hail signal including the home code on a communication network; Each other node receiving the broadcasted signal compares the home code included in the received signal with all registered home codes stored therein, and if a same home code exists, a home code disallowed message (Nack) is provided. Broadcasting, if a same home code does not exist, broadcasting a home code permission message (Ack); When the first node receives a home code usage permission message, setting the requested home code as a subnet identifier and broadcasting it again to register other nodes; It provides a method for detecting duplicate identifiers, characterized in that it comprises a.

또한, 소속 서브넷을 식별하기 위한 적어도 2 이상의 식별자를 생성하는 식별자 생성 수단; 상기 식별자 생성 수단이 생성한 식별자 중에서 다른 서브넷이 사용하는 식별자와 상이한 식별자만을 자신의 소속 서브넷을 식별하기 위한 식별자로 설정하는 식별자 설정 수단; 상기 식별자 설정 수단이 설정한 식별자를 저장하는 식별자 저장 수단; 상기 2 이상의 식별자 중 적어도 한 종류 이상의 식별자를 포함하는 데이터 패킷을 통신망 상에 브로드캐스팅하는 트랜시버; 수신된 데이터 패킷에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하는 비교 수단; 및 수신된 데이터 패킷에 포함된 상기 2 종류 이상의 식별자 중 일부의 식별자는 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 동일하고 잔부의 식별자는 상이하면 자신의 소속 서브넷이 아닌 다른 서브넷이 상기 동일한 식별자를 중복적으로 사용하고 있는 것으로 판정하는 중복 사용 검출 수단; 을 포함하는 것을 특징으로 하는 전기 전자 응용 기기를 제공한다.Identifier generating means for generating at least two or more identifiers for identifying the belonging subnet; Identifier setting means for setting only an identifier different from an identifier used by another subnet among the identifiers generated by the identifier generating means as an identifier for identifying its own subnet; Identifier storage means for storing an identifier set by the identifier setting means; A transceiver for broadcasting a data packet including at least one type of identifier among the two or more identifiers on a communication network; Comparison means for comparing each identifier included in the received data packet with a corresponding identifier for identifying its own subnet; And if the identifier of some of the two or more kinds of identifiers included in the received data packet is the same as the corresponding identifier for identifying its own subnet, and the remaining identifiers are different, a subnet other than its own subnet is the same identifier. Redundant use detection means for determining that the data is used in duplicate; It provides an electrical and electronic application device comprising a.

이 발명의 상기 및 기타의 특징 및 장점은 도면을 참조하면서 아래에 기재된 양호한 실시예에 대한 설명을 읽으면 좀더 명료해질 것이다.These and other features and advantages of this invention will become more apparent upon reading the description of the preferred embodiments described below with reference to the drawings.

한편, 본 발명은 동일자에 본 출원인이 출원한 "전력선을 이용하는 통신망, 그 통신망의 서브넷과 그러한 서브넷의 창설 방법과, 그러한 서브넷에 연결되는 전기 전자 응용 기기"(이하 A 출원이라고 지칭.)에 기재되어 있는 서브넷 창설 이후에 그 서브넷에 새로운 노드를 가입시키는 방법에 관한 것이다. 따라서, 서브넷 창설 방법에 대하여 먼저 간략하게 설명하면, 다음과 같다.On the other hand, the present invention is described in "Applicant's communication network using the power line, the subnet of the communication network and the creation method of such a subnet, and the electrical and electronic application device connected to such a subnet" (hereinafter referred to as A application) filed by the applicant. It is about how to join a new node to the subnet after creating the subnet. Therefore, a brief description of the method of creating a subnet is as follows.

도 1에는 A 출원 발명(서브넷 창설 방법)에 따른 통신을 수행하기 위하여 노드에서 이용되는 통신 장치의 구성을 설명하기 위한 기능 블록선도가 도시되어 있다.1 is a functional block diagram for explaining the configuration of a communication device used in a node to perform communication according to the invention A application (subnet creation method).

도 1에 보이듯이, 각각의 노드에 이용되는 통신 장치의 구성을 기능적으로 살펴보면, 통신 제어 프로그램의 수행을 제어하는 마이크로 프로세서(171)와, 서브넷 창설 시퀀스를 개시하는 개시 수단(172)과, 홈 코드 및 홈 유니크 아이디를 발생시키는 식별자 생성 수단(173)과, 상기 홈 코드 또는 홈 유니크 아이디를 포함하는 식별자 헤일 신호를 통신망 상에 브로드캐스팅하는 트랜시버(174)와, 식별자 헤일 신호에 포함된 홈 코드를 자신이 속한 서브넷의 대응하는 홈 코드와 각각 비교하는 비교 수단(175)과, 통신망 상의 다른 노드가 사용을 승낙한 식별자를 자신이 속한 서브넷의 식별자로 설정하는 식별자 설정 수단(176)과, 설정된 식별자를 저장하는 식별자 저장 수단(177)을 포함한다.As shown in Fig. 1, when the functional configuration of the communication apparatus used for each node is considered, the microprocessor 171 for controlling the execution of the communication control program, the start means 172 for starting the subnet creation sequence, and the home An identifier generating means 173 for generating a code and a home unique ID, a transceiver 174 for broadcasting an identifier hale signal including the home code or a home unique ID on a communication network, and a home code included in the identifier hale signal Comparing means 175 for comparing each to a corresponding home code of the subnet to which it belongs, an identifier setting means 176 for setting an identifier accepted by another node on the communication network as an identifier of the subnet to which it belongs, and Identifier storage means 177 for storing the identifier.

도 2는 본 발명의 일 실시예에 따른 전기 전자 응용 기기 중 수신부측 기기의 동작 과정을 보여주는 흐름도이고, 도 3은 송신부측 기기의 동작 과정을 보여주는 흐름도이다.2 is a flowchart illustrating an operation process of a receiver side device in an electronic and electronic application device according to an embodiment of the present invention, and FIG. 3 is a flowchart illustrating an operation process of a transmitter side device.

도 2 내지 도 3을 참조하면서 노드가 서브넷을 창설하는 과정에 대해 설명하겠다.A process of creating a subnet by a node will be described with reference to FIGS. 2 to 3.

서브넷 창설은 해당 가정에 서브넷이 구축되지 않은 경우에 행해지는데, 이러한 경우로는 이 가정의 전력선에 아무런 응용 기기도 연결되지 않은 상태에서 상기 노드의 응용 기기가 맨 처음으로 연결되거나, 응용 기기가 연결되어 있을지라도 트랜시버를 구비하지 아니하여 노드로서의 역할을 할 수 없거나, 다른 노드들이 이미 연결되어 있지만 서브넷 창설 과정을 실행할 능력이 없는 경우, 또는 해당 가정 내에 이미 하나의 서브넷이 구축되어 있을지라도 별도의 서브넷을 구축할 것이 요구되는 경우 등이다.Subnet creation is done when no subnets are established in the home, in which case the application at the node is connected for the first time or no application is connected to the power line of the home. Even if it does not have a transceiver to act as a node, or if other nodes are already connected but not capable of running the subnet creation process, or if a subnet is already established in the home, a separate subnet If it is required to build a.

서브넷 창설 시퀀스를 개시하는 개시 수단(172)은 노드에 전원을 연결하자마자 자동으로 시작되도록 프로그래밍된 프로그램일 수도 있으며, 사용자가 온시킴으로써 시작되도록 구성된 개시 스위치일 수도 있다. 보다 양호하게는 플러그앤플레이 기능을 구현하기 위하여 프로그램으로 구성하는 것이 보통이다.The initiating means 172 for initiating the subnet creation sequence may be a program programmed to start automatically as soon as the node is powered up, or it may be an initiation switch configured to be started by the user turning on. More preferably, it is usually configured as a program to implement the plug and play function.

해당 노드(이하 '제 1 노드'라 칭함.)에서의 서브넷 창설 과정이 개시되면, 상기 제 1 노드의 식별자 생성 수단(173)은 서브넷을 식별하기 위한 식별자(이하 '홈 코드'라고 지칭) 생성 명령(S501)에 따라 임시 홈 코드를 생성한다.(S503) 이 때, 홈 코드는 정해진 자릿수 이내의 디지트나 문자로 생성되며, 그 방식은 이미 확정되어 바이오스(BIOS)에 저장된 다수의 홈 코드 후보군 중에서 하나를 선택하거나 난수 발생 수단을 이용하는 것 등과 같이 다양한 방법이 이용될 수 있다.When the process of creating a subnet at the corresponding node (hereinafter referred to as 'first node') is started, the identifier generating means 173 of the first node generates an identifier (hereinafter referred to as a 'home code') for identifying the subnet. In operation S501, a temporary home code is generated. In operation S503, the home code is generated with digits or letters within a predetermined number of digits, and the method is already determined and stored in a plurality of home code candidate groups stored in the BIOS. Various methods may be used, such as selecting one of them or using a random number generating means.

한편, 도 2 또는 도 3에 도시되지는 않았지만, 서브넷 식별을 위한 홈 코드 이외에도 기기들을 식별하기 위한 홈 유니크 아이디(Address Code)도 사용되는 바, 이 홈 유니크 아이디도 식별자 생성 수단(173)에 의하여 생성되는 것이 보통이며, 그 취급도 홈 코드와 유사하거나 종래 널리 알려진 기기 식별 방법을 그대로 따르는 바, 본 명세서에서 필요한 부분을 제외하고는 특별히 상세하게 설명하지는 않는다. 한편, 홈 유니크 아이디는 정해진 자릿수 이내의 디지트나 문자로 생성되며, 그 방식은 앞서 생성된 홈 코드에 노드의 고유 아이디를 덧붙여서 생성하거나, 홈 코드 생성과 마찬가지로 이미 확정되어 바이오스(BIOS)에 저장된 다수의 홈 유니크 아이디 후보군 중에서 하나를 선택하거나 난수 발생 수단을 이용하는 것 등과 같이 다양한 방법이 이용될 수 있다. 노드의 고유 아이디도 일반적으로는 해당 응용 기기의 제품 일련 번호를 그대로 이용하지만, 앞서 설명한 홈 코드나 홈 유니크 아이디와 마찬가지로 정해진 자릿수 이내의 디지트나 문자로 생성될 수도 있다.Although not shown in FIG. 2 or FIG. 3, a home unique ID (Address Code) for identifying devices is also used in addition to a home code for identifying a subnet, and this home unique ID is also determined by the identifier generating means 173. It is usually generated, and the handling thereof is similar to the home code or follows the conventionally well-known device identification method, and is not described in detail except as necessary herein. On the other hand, the home unique ID is generated by digits or characters within a predetermined number of digits, and the method is generated by adding the unique ID of the node to the previously generated home code, or, like the home code generation, a plurality of already stored and stored in the BIOS. Various methods may be used, such as selecting one of the home unique ID candidates or using a random number generating means. The unique ID of a node generally uses the product serial number of the corresponding application, but may be generated as a digit or character within a predetermined number of digits, similar to the home code or home unique ID described above.

임시 홈 코드와 임시 홈 유니크 아이디의 생성이 완료되면, 상기 제 1 노드의 트랜시버(174)는 이를 포함시킨 데이터 패킷(식별자 헤일 신호)를 브로드캐스팅한다(S505). 식별자 헤일 신호를 이루는 데이터 패킷의 홈 코드 위치에는 상기 제 1 노드의 임시 홈 코드가 기록된다. 양호하게는, 데이터 패킷의 헤더(Header)가 식별자 헤일 신호임을 알리는 정보를 포함한다.When the generation of the temporary home code and the temporary home unique ID is completed, the transceiver 174 of the first node broadcasts a data packet including the identifier (Identifier Hale Signal) (S505). The temporary home code of the first node is recorded in the home code position of the data packet constituting the identifier hale signal. Preferably, the header of the data packet includes information indicating that the identifier is a hale signal.

식별자 헤일 신호를 브로드캐스팅한 상기 제 1 노드는 일정 시간동안 대기하면서(단계 204) 불승낙 신호가 수신되는지 여부를 판단한다(S507).The first node broadcasting the identifier hale signal waits for a predetermined time (step 204) and determines whether a disapproval signal is received (S507).

브로드캐스팅된 식별자 헤일 신호는, 개방 통신 범위 내의 모든 서브넷의 노드들(상기 제 1 노드를 제외한 나머지 노드들로서 이하 '타 노드'라 칭함.) 중에서 현재 전원이 온(On)상태인 모든 타 노드들에 도달하게 되며, 이는 타 노드 입장에서 바라보면, 홈 코드 사용 요청 메시지에 해당한다.The broadcasted identifier hale signal includes all other nodes that are currently powered on among nodes of all subnets (hereinafter, referred to as 'other nodes' except for the first node) within an open communication range. It is reached, which is the home code use request message from the other node's point of view.

상기 홈 코드 사용 요청 메시지를 수신한 타 노드는 데이터 패킷의 헤더를 분석하여 그 데이터가 홈 코드 사용 요청 메시지인지 여부를 판단한다(S401). 이를 위해, 각각의 타 노드는 통신망을 통해 수신되는 데이터가 홈 코드 사용 요청 메시지인지 여부를 판단하게 구성된 판단 수단을 포함한다.The other node receiving the home code use request message analyzes the header of the data packet and determines whether the data is a home code use request message (S401). To this end, each other node includes determination means configured to determine whether the data received through the communication network is a home code use request message.

판단 결과, 홈 코드 사용 요청 메시지이면, 그 신호에 포함된 임시홈 코드가 자신의 홈 코드와 일치하는지 여부를 판단한다(S403). As a result of the determination, if it is the home code use request message, it is determined whether the temporary home code included in the signal matches the home code (S403).

판단 결과, 일치하면, 해당 노드의 트랜시버를 통해 홈 코드 사용 불허 메시지(Nack)를 브로드캐스팅하고(S417), 일치하지 아니하면, 요청 홈 코드를 식별자 저장 수단(177)에 등록되어 있는 등록 홈 코드를 검색하여 비교한다.(S405, S407)As a result of the determination, if it is matched, the home code disallowed message (Nack) is broadcast through the transceiver of the node (S417). If not, the registered home code is registered in the identifier storage means 177. Search for and compare (S405, S407).

한편, 식별자 저장 수단(177)에는 자신이 사용하고 있는 홈 코드뿐만 아니라 주변의 타 노드들이 사용하고 있는 홈 코드 모두가 등록되어 있는 바, 상기 S403 내지 S407에서의 과정은 결국, 타 노드들은 요청 홈 코드와 자신의 홈 코드만을 비교하는 것이 아니라, 요청 홈 코드와 등록되어 있는 모든 홈 코드를 서로 비교한다는 것이다.On the other hand, not only the home code used by the identifier storage means 177 but also the home code used by other nodes in the vicinity are registered. In the process of S403 to S407, other nodes eventually request home. Not only are you comparing your code with your home code, but you are also comparing the requested home code with all registered home codes.

상기 비교 결과, 요청 홈 코드가 등록 홈 코드와 같으면, 상기 스텝 S417로 진행하고, 요청 홈 코드가 등록 홈 코드와 같지 아니하면, 홈 코드 사용 허락 메시지(Ack)를 브로드캐스팅한다.(S409) 그 후, 보다 더 정확한 동작을 수행하기 위하여 홈 코드 사용 허락 메시지를 브로드캐스팅한 후, 충돌이 발생하는지 여부를 판단하여(S411), 발생하지 아니하면 종료하고, 발생하면 재차 Ack 신호인지 여부를 검증하여, 긍정이면 종료하고, 부정이면, 상기 스텝 S409로 복귀한다.As a result of the comparison, if the requested home code is the same as the registered home code, the flow advances to step S417. If the requested home code is not the same as the registered home code, a home code permission message (Ack) is broadcasted (S409). After that, in order to perform a more accurate operation, after broadcasting the home code permission message, it is determined whether a collision occurs (S411), if it does not occur, it terminates, and if it occurs, it is again verified whether it is an Ack signal. If it is positive, it ends, and if it is negative, it returns to said step S409.

상기 스텝 S417 이후에도 상술한 검증 과정을 거치는 바, 이는 스텝 S419 및 S421에 도시되어 있다.The above-described verification process is also performed after step S417, which is illustrated in steps S419 and S421.

상술한 검증 과정, 즉, 스텝 S411 및 S423, 스텝 S419 및 S421 과정은 흔히 충돌 감지(Collision Detect) 블록이라 불리우며, 주로 CSMA 방식에 적용되는 것으로서, 경우에 따라서는 이러한 방법을 사용하지 않을 수도 있다.The above-described verification process, that is, the steps S411 and S423, the steps S419 and S421 are commonly referred to as collision detection blocks, and are mainly applied to the CSMA method, and may not be used in some cases.

한편, 상기 제 1 노드는 상기 스텝 S505이후, Nack 신호가 수신되는지 또는 Ack 신호가 수신되는지 여부를 판단한다.Meanwhile, after the step S505, the first node determines whether a Nack signal or an Ack signal is received.

상기 판단 결과, Nack 신호가 수신되면, 상기 스텝 S503으로 복귀하여 임시 홈 코드를 재생성하며, Ack 신호가 수신되면, 식별자 설정 수단(176)은 상기 임시 홈 코드를 정상적인 홈 코드로 설정 확정한 후, 이를 식별자 저장 수단(177)에 저장한다.(S507 내지 S513)As a result of the determination, when the Nack signal is received, the process returns to the step S503 to regenerate the temporary home code. When the Ack signal is received, the identifier setting means 176 sets and determines the temporary home code as a normal home code. This is stored in the identifier storage means 177. (S507 to S513)

그 후, 이 사실을 통신망 상에 브로드캐스팅하여, 상기 임시 홈 코드가 정상 홈 코드로 설정 완료되었음(Notice 메시지)을 타 노드들에게 브로드캐스팅하며(S515), 타 노드들은 상기 홈 코드를 자신의 식별자 저장 수단에 등록하게 된다.Thereafter, this fact is broadcasted on a communication network to broadcast to other nodes that the temporary home code has been set to a normal home code (Notice message) (S515), and other nodes transmit the home code to their own node. It is registered in the identifier storage means.

즉, 상기 Notice 메시지를 수신한 타 노드들은 그 메시지를 수신하면, 해당 홈 코드 비교 동작을 종료하고, 해당 홈 코드를 자신의 식별자 저장 수단에 등록하게 된다.That is, when receiving the notice message, the other nodes terminate the home code comparison operation and register the home code in their identifier storage means.

이와 같은 과정을 거침으로써, 서브넷 창설 과정은 종료되며, 이 내용은 동일자로 출원된 상기 A 출원에 상세하게 기재되어 있다.By this process, the process of creating a subnet is terminated, which is described in detail in the A application filed as the same.

본 실시예에서는 전력선을 통신 매체로 하여 연결된 다양한 전기 전자 응용 기기들로 이루어진 다수의 노드들이 각 가정을 단위로 한 서브넷을 이루며, 각각의 서브넷이 홈 코드(Home Code)라고 지칭되는 제 1 식별자와 홈 유니크 아이디(Address Code)라고 지칭되는 제 2 식별자로 이루어진 이원적 식별자에 의해 식별되는 통신망을 예시하기로 한다. 한편, 일반적으로 상기 홈 유니크 아이디는 기기들을 식별하기 위한 기능으로 전용되는 것이며, 서브넷에서의 식별자 중복 사용을 검출하기 위하여 본 발명에서는 종래의 기기 식별 기능뿐만이 아니라 서브넷 기능도 제공하고 있는 것이다.In the present embodiment, a plurality of nodes composed of various electrical and electronic application devices connected through a power line as a communication medium form a subnet based on each home, and each subnet includes a first identifier referred to as a home code. A communication network identified by a binary identifier consisting of a second identifier, referred to as a home unique ID, will be exemplified. On the other hand, in general, the home unique ID is dedicated to a function for identifying devices, the present invention provides a subnet function as well as a conventional device identification function in order to detect the use of duplicate identifiers in the subnet.

도 4 내지 도 6에는 이 발명이 적용되는 통신망의 구성과 그러한 통신망의 일부를 이루는 서브넷의 구성이 개략적으로 도시되어 있다. 도 4에서 인용 부호 100 내지 109는 전력선(PL) 상에서 각각의 가정에 구축된 서브넷을 지칭하며, OCR로 지칭된 영역은 본 실시예에서 예시적으로 설명하는 가정의 서브넷(100)에 수용된 어느 한 노드가 브로드캐스팅한 데이터 패킷이 도달하는 범위, 즉 개방 통신 범위를 지칭한다. 도 5에서 인용 부호 111 내지 119는 제 1 서브넷(100)에 수용된 노드, 즉, 전기 전자 응용 기기들을 지칭하고, 도 6에서 인용부호 121 내지 129는 제 2 서브넷(101)에 수용된 노드, 즉, 전기 전자 응용 기기들을 지칭한다.4 to 6 schematically show a configuration of a communication network to which the present invention is applied and a configuration of subnets forming part of such a communication network. In FIG. 4, reference numerals 100 to 109 refer to subnets established in respective homes on the power line PL, and an area referred to as OCR is any one accommodated in the subnet 100 of the home described by way of example in this embodiment. Refers to the range in which the data packet broadcast by the node arrives, that is, the open communication range. In FIG. 5, reference numerals 111 to 119 denote nodes that are accommodated in the first subnet 100, that is, electrical and electronic applications, and reference numerals 121 to 129 in FIG. 6 denote nodes that are accommodated in the second subnet 101, that is, Electrical and electronic applications.

이 전기 전자 응용 기기들은 본 실시예에서처럼 제 1 서브넷(100) 및 제 2 서브넷(101)이 가정에 구축된 경우에는 컴퓨터, 냉장고, 난방기, 주방용품 등과 같은 가전 제품을 포함하여 옥내 전원으로부터 급전되는 것들일 수 있고, 사무실 등과 같은 다른 공간에 구축된 경우에는 그러한 공간 내에서 사용되는 전기 제품일 수 있다.These electrical and electronic application devices are supplied from an indoor power source including home appliances such as computers, refrigerators, heaters, kitchen appliances, etc., when the first subnet 100 and the second subnet 101 are built in a home as in the present embodiment. If it is built in another space, such as an office, it may be an electrical appliance used in that space.

도 7은 본 발명에 따른 통신을 수행하기 위하여 도 5 및 도 6에 도시된 노드에서 이용되는 통신 장치의 구성을 설명하기 위한 기능 블록선도이다.7 is a functional block diagram illustrating the configuration of a communication apparatus used in the nodes shown in FIGS. 5 and 6 to perform communication according to the present invention.

도 7에 도시되어 있듯이, 각각의 노드는 통신 제어 프로그램의 수행을 제어하는 마이크로 프로세서(131)와, 소속 서브넷을 식별하기 위한 식별자(본 실시예에서는 홈 코드 및 홈 유니크 아이디)를 발생시키는 식별자 생성 수단(132)과, 상기 식별자 생성 수단(132)이 생성한 식별자 중에서 다른 서브넷이 사용하는 식별자와 상이한 식별자만을 자신의 소속 서브넷을 식별하기 위한 식별자로 설정하는 식별자 설정 수단(133)과, 상기 식별자 설정 수단(133)이 설정한 식별자를 저장하는 식별자 저장 수단(135)과, 상기 식별자 중 적어도 한 종류 이상의 식별자를 포함하는 데이터 패킷을 통신망 상에 브로드캐스팅하는 트랜시버(134)와, 수신된 데이터 패킷에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하는 비교 수단(137)과, 수신된 데이터 패킷에 포함된 2 종류 이상의 식별자 중 일부의 식별자는 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 동일하고 잔부의 식별자는 상이하면 자신의 소속 서브넷이 아닌 다른 서브넷이 동일한 식별자를 중복적으로 사용하고 있는 것으로 판정하는 중복 사용 검출 수단(136)을 포함한다.As shown in Fig. 7, each node generates an identifier for generating a microprocessor 131 for controlling the execution of a communication control program and an identifier for identifying a subnet to which it belongs (in this embodiment, a home code and a home unique ID). An identifier setting means 133 for setting only an identifier different from an identifier used by another subnet among the identifiers generated by the identifier generating means 132 as an identifier for identifying its own subnet; An identifier storing means 135 for storing an identifier set by the setting means 133, a transceiver 134 for broadcasting a data packet including at least one type of identifier among the identifiers on a communication network, and a received data packet. Comparison means (137) for respectively comparing the identifiers contained in with corresponding identifiers for identifying their subnets; Some of the two or more types of identifiers included in the updated data packet are identical to corresponding identifiers for identifying their own subnets, and the remaining identifiers are different from each other. The redundant use detection means 136 which judges that it is using is included.

본 실시예에 따르면, 상기 트랜시버(134)는 상기 중복 사용 검출 수단(136)이 중복 사용 판정을 하면 중복 사용되고 있는 식별자를 포함하는 검출 사실 공표 신호를 통신망 상에 브로드캐스팅하게 구성된 것이 양호하다.According to the present embodiment, it is preferable that the transceiver 134 is configured to broadcast a fact-finding signal including an identifier that is being used when the duplicate use detection means 136 makes a duplicate use decision on the communication network.

상기 식별자 생성 수단(132)은 상기 중복 사용 검출 수단(136)이 중복 사용 판정을 하면 중복 사용되고 있는 식별자를 새로 생성하게 구성되며, 상기 트랜시버(134)는 상기 식별자 생성 수단(132)이 식별자를 새로 생성하면 해당 식별자가 포함된 식별자 헤일 신호를 통신망 상에 브로드캐스팅하게 구성되고, 상기 식별자 설정 수단(133)은 상기 새로 생성된 식별자가 통신망 상의 다른 모든 노드가 사용을 승낙한 경우 이를 새로운 식별자로 사용할 수 있도록 정식 식별자로 변경하여 설정하게 구성된다.The identifier generating means 132 is configured to generate a newly used identifier when the duplicate use detecting means 136 makes a duplicate use determination, and the transceiver 134 causes the identifier generating means 132 to newly generate an identifier. When generated, the identifier hale signal including the identifier is broadcasted on the communication network, and the identifier setting means 133 uses the newly generated identifier as a new identifier when all other nodes on the communication network accept the use. It is configured to change to a formal identifier so that it can be set.

또한, 상기 비교 수단(137)은 수신된 식별자 헤일 신호에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하게 구성되고, 상기 트랜시버(134)는 수신된 식별자 헤일 신호에 포함된 식별자가 자신의 소속 서브넷의 대응하는 식별자와 동일한 것으로 판단되면 불승인 신호를 통신망 상에 브로드캐스팅하게 구성되며, 상기 식별자 생성 수단(132)은 트랜시버(134)가 불승인 신호를 수신하면 해당 식별자를 다시 생성하게 구성된다.Further, the comparing means 137 is configured to compare the identifier included in the received identifier hale signal with a corresponding identifier for identifying its own subnet, and the transceiver 134 is included in the received identifier hale signal. If the determined identifier is determined to be the same as the corresponding identifier of its own subnet, it is configured to broadcast a disapproval signal on the communication network, the identifier generating means 132 if the transceiver 134 receives the disapproval signal again It is configured to generate.

또한, 상기 트랜시버(134)는 상기 식별자 설정 수단(133)이 식별자를 새로 변경하여 설정하면 변경된 식별자 및 변경되지 않은 식별자를 포함하는 식별자 변경 명령을 통신망 상에 브로드캐스팅하게 구성된다.In addition, the transceiver 134 is configured to broadcast an identifier change command including the changed identifier and the unchanged identifier on the communication network when the identifier setting means 133 newly changes and sets the identifier.

또한, 상기 트랜시버(134)는 전기 전자 응용 기기의 전원이 온(On)되면 식별자를 포함하는 시동 신호를 통신망 상에 브로드캐스팅하고, 상기 비교 수단(137)은 수신된 시동 신호에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교한다.In addition, the transceiver 134 broadcasts a start signal including an identifier on a communication network when the power of the electrical and electronic application device is turned on, and the comparing means 137 receives the identifier included in the received start signal. Compare each with a corresponding identifier to identify its own subnet.

또한, 상기 비교 수단(137)은 상기 트랜시버(134)가 식별자 변경 명령을 수신하면 수신된 식별자 변경 명령에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하고, 상기 식별자 설정 수단(133)은 상기 비교 수단(137)에 의해 비교된 식별자 중 일부 또는 전부가 동일하면 상이한 식별자를 식별자 변경 명령에 포함된 식별자로 변경하여 설정한다.In addition, when the transceiver 134 receives the identifier change command, the comparison means 137 compares the identifier included in the received identifier change command with a corresponding identifier for identifying its own subnet, and sets the identifier. The means 133 sets and sets a different identifier to an identifier included in the identifier change command if some or all of the identifiers compared by the comparing means 137 are identical.

또한, 상기 비교 수단(137)은 상기 트랜시버(134)가 식별자 헤일 신호를 수신하면, 수신된 식별자 헤일 신호에 포함된 식별자를 자신의 소속 서브넷의 식별자와 비교하고, 상기 트랜시버(134)는 수신된 식별자 헤일 신호에 포함된 식별자가 자신의 소속 서브넷의 식별자와 다른 것으로 판단되면 무응답 상태를 유지하며, 상기 식별자 설정 수단(133)은 상기 트랜시버(134)가 식별자 헤일 신호를 브로드캐스팅한 후에 일정 시간 이내에 불승인 신호를 받지 않으면 통신망 상의 다른 모든 노드가 사용을 승낙한 것으로 간주하고, 해당 식별자를 자신의 소속 서브넷의 식별자로 설정한다.In addition, when the transceiver 134 receives the identifier hale signal, the comparison means 137 compares the identifier included in the received identifier hale signal with an identifier of its own subnet, and the transceiver 134 receives If it is determined that the identifier included in the identifier hale signal is different from the identifier of its own subnet, it remains unresponsive, and the identifier setting means 133 within a predetermined time after the transceiver 134 broadcasts the identifier hale signal. If no disapproval signal is received, all other nodes on the network are considered to have accepted the use, and the identifier is set to an identifier of their own subnet.

이상과 같은 이 발명에 따른 전기 전자 응용 기기의 전체적인 구성 및 각각의 구성 요소의 작동상의 관계는 아래에서 설명하는 이 발명의 또다른 양태에 따른 식별자 중복 사용의 검출 방법 및 식별자 변경 과정을 읽으면 좀더 명료해질 것이다.The overall configuration of the electrical and electronic application device according to the present invention and the operation relationship of each component are more clearly read by the method of detecting identifier duplication and changing the identifier according to another aspect of the present invention described below. Will be.

아래에서는 도 8 내지 도 13을 보면서 이 발명이 적용되는 통신망에서의 통신 규약에 따라 제 1 서브넷(100)에 소속된 제 1 노드(111)가 제 1 서브넷(100)에 소속된 다른 노드(112 내지 119)들과 통상적인 통신을 행하는 과정(이하에서는 "통상적 통신 과정"이라고 칭함)과, 서브넷 식별자의 중복 사용을 검출하는 과정(이하에서는 "중복 사용 검출 과정"이라고 칭함)과, 식별자를 중복 사용하는 서브넷의 식별자를 변경하는 과정(이하에서는 "식별자 변경 과정"이라고 칭함) 및, 식별자를 변경한 노드와 동일한 서브넷에 소속되어 있지만 식별자 변경 과정에 참여하지 못한 노드들이 후속적으로 식별자를 변경하는 과정(이하에서는 "후속 변경 과정"이라고 칭함)에 대해 설명하겠다.8 to 13, the first node 111 belonging to the first subnet 100 is another node 112 belonging to the first subnet 100 according to the communication protocol in the communication network to which the present invention is applied. 119), a process of performing normal communication (hereinafter referred to as a "normal communication process"), a process of detecting duplicate use of a subnet identifier (hereinafter referred to as a "duplicate use detection process"), and an identifier The process of changing the identifier of the subnet used (hereinafter referred to as "identifier change process"), and nodes belonging to the same subnet as the node that changed the identifier but not participating in the identifier change process subsequently change the identifier. The process (hereinafter referred to as "subsequent change process") will be described.

도 8은 통상적인 통신 과정을 도시한 플로우 챠트이며, 도 9는 식별자 검출 과정을 도시한 플로우 챠트이고, 도 10 내지 도 12는 식별자변경과정을 도시한 플로우챠트이며, 도 13은 후속 변경 과정을 도시한 플로우챠트이다.8 is a flowchart illustrating a typical communication process, FIG. 9 is a flowchart illustrating an identifier detection process, FIGS. 10 to 12 are flowcharts illustrating an identifier change process, and FIG. 13 is a subsequent change process. It is a flowchart shown.

도 8 내지 도 13에 보이듯이, 제 1 서브넷(100)의 제 1 노드(111)가 제 1 서브넷(100)의 다른 노드(112 내지 119)에 통상적인 데이터를 전송하고자 할 때에는, 제 1 서브넷(100)의 제 1 노드(111)에서는 패킷화 수단(도시 안됨)을 이용하여 전송할 데이터를 제 1 서브넷(100)의 홈 코드와 함께 패킷화하고(단계 201), 그 데이터 패킷을 트랜시버(134)를 이용하여 통신망 상에 브로드캐스팅한다(단계 202). 이 때, 제 1 서브넷(100)을 식별하기 위한 제 2 식별자인 홈 유니크 아이디는 데이터 패킷에 포함되어도 무방하지만, 이 실시예에서는 포함되지 않는 것으로 한다. 데이터를 제 1 서브넷(100)에 속한 특정한 노드에만 전송하고자 할 때에는 이 데이터패킷에 수신 노드의 노드 식별자(이 노드 식별자의 기능을 상기 홈 유니크 아이디가 담당할 수 있다.)를 포함시키지만, 제 1 서브넷(100)에 속한 모든 노드에 전송하고자 할 때에는 수신 노드의 노드 식별자 대신에 미리 약속된 와일드 카드(Wild Card)를 포함시킬 수 있으며, 기타 지역 코드나 그룹 코드 등을 포함하는 어드레스를 구성할 수도 있다.As shown in FIGS. 8 to 13, when the first node 111 of the first subnet 100 wants to transmit normal data to other nodes 112 to 119 of the first subnet 100, the first subnet The first node 111 of 100 packetizes the data to be transmitted using the packetization means (not shown) together with the home code of the first subnet 100 (step 201), and transmits the data packet to the transceiver 134. Broadcast on the communication network using step (202). At this time, the home unique ID, which is the second identifier for identifying the first subnet 100, may be included in the data packet, but it is not included in this embodiment. When the data is to be transmitted only to a specific node belonging to the first subnet 100, the data packet includes the node identifier of the receiving node (the home unique ID may be responsible for the function of this node identifier). In order to transmit to all nodes belonging to the subnet 100, a wild card may be included in place of the node identifier of the receiving node, and an address including other area codes or group codes may be configured. have.

통신망 상에 브로드캐스팅된 데이터 패킷은 개방 통신 범위 내의 모든 노드들에 도달한다(단계 203). 그러나, 데이터 패킷을 수신한 각각의 노드들은 비교 수단(137)을 이용하여 수신된 데이터 패킷에 포함된 홈 코드를 자신의 소속 서브넷을 식별하기 위한 홈 코드와 비교하고(단계 204), 두 개의 홈 코드가 동일한 경우에만 수신된 데이터 패킷을 유효한 데이터로 인식한다. 간단히 말해서, 통상적 통신 과정에서는 제 1 서브넷(100)의 제 1 노드(111)에서 브로드캐스팅된 데이터 패킷은 제 2 서브넷(101)에 속한 노드들(121 내지 129)에도 도달하지만, 제 2 서브넷(101)에 속한 노드들(121 내지 129)은 홈 코드 비교 과정을 통하여 이 데이터 패킷을 무효한 것으로 간주하고 무응답 상태를 유지해야 하며(단계 206), 제 1 서브넷(100)의 노드들(112 내지 119)만이 유효한 것으로 인식하고 처리한다(단계 205).The data packet broadcast on the communication network reaches all nodes within the open communication range (step 203). However, each node receiving the data packet compares the home code included in the received data packet with the home code for identifying its own subnet using the comparing means 137 (step 204). Only when the codes are the same, the received data packet is recognized as valid data. In short, in a typical communication process, the data packet broadcast from the first node 111 of the first subnet 100 also arrives at nodes 121 to 129 belonging to the second subnet 101, but the second subnet ( Nodes 121 to 129 belonging to 101 must regard this data packet as invalid and maintain an unresponsive state through a home code comparison process (step 206), and nodes 112 to 126 of the first subnet 100 must be maintained. 119) only recognize as valid and process (step 205).

그러나, 이러한 통상의 과정과 달리 제 2 서브넷(101)의 홈 코드가 제 1 서브넷(100)의 홈 코드와 동일한 경우에는 제 2 서브넷(101)에 속한 노드들(121 내지 129)도 제 1 서브넷(100)의 제 1 노드(111)에서 브로드캐스팅된 데이터 패킷을 유효한 것으로 오인한다. 그러한 데이터 패킷에 포함된 정보가 제 2 서브넷(101)에 속한 노드(121 내지 129)의 관리 및 통제에 심각한 영향을 미치는 것일 경우에는 이러한 오인의 결과가 매우 심각해질 수 있다. 그러므로, 이러한 심각한 영향을 미치는 정보를 브로드캐스팅할 때에는 홈 코드 뿐만 홈 유니크 아이디도 포함하는 데이터 패킷을 형성해야 한다. 또한, 홈 코드 중복 사용으로 인한 문제는 매우 심각한 결과를 야기할 수 있으므로 주기적으로 중복 사용 검출 과정을 수행할 필요가 있다. 이 경우에도 중복 사용 검출 과정을 수행하고자 하는 노드는 트랜시버(134)를 이용하여 홈 코드와 홈 유니크 아이디를 포함하는 데이터 패킷을 브로드캐스팅한다.However, unlike the conventional process, when the home code of the second subnet 101 is the same as the home code of the first subnet 100, the nodes 121 to 129 belonging to the second subnet 101 are also the first subnet. The data packet broadcast at the first node 111 of (100) is mistaken for valid. If the information contained in such a data packet has a serious impact on the management and control of nodes 121 to 129 belonging to the second subnet 101, the result of this misunderstanding can be very serious. Therefore, when broadcasting such severely affecting information, a data packet containing a home unique ID as well as a home code must be formed. In addition, the problem caused by the use of duplicated home code can have very serious consequences, it is necessary to perform the duplicate usage detection process periodically. Even in this case, the node that wants to perform the duplicate usage detection process broadcasts a data packet including a home code and a home unique ID using the transceiver 134.

즉, 도 8 및 도 13에 보이듯이, 통상적 통신 과정의 단계 201에서 제 1 서브넷(100)의 제 1 노드(111)는 홈 코드만을 포함하는 데이터 패킷을 생성하지만, 중복 사용 검출 과정의 단계 201에서는 제 1 서브넷(100)의 제 1 노드(111)가 홈 코드뿐만 아니라 홈 유니크 아이디도 포함하는 데이터 패킷을 생성하고, 트랜시버(134)를 이용하여 그러한 데이터 패킷을 통신망 상에 브로드캐스팅(단계 202)함으로써 중복 사용 검출 과정이 진행된다. 홈 코드와 홈 유니크 아이디를 포함하는 데이터 패킷을 수신(단계 203)한 노드들은 데이터 패킷에 포함된 홈 코드와 홈 유니크 아이디를 자신의 소속 서브넷을 식별하기 위한 홈 코드와 홈 유니크 아이디와 차례로 비교한다.That is, as shown in FIGS. 8 and 13, in step 201 of the normal communication process, the first node 111 of the first subnet 100 generates a data packet including only a home code, but in step 201 of the duplicate usage detection process. In FIG. 1, the first node 111 of the first subnet 100 generates a data packet including a home unique ID as well as a home code, and broadcasts the data packet on a communication network using the transceiver 134 (step 202). The duplicated use detection process proceeds. Receiving a data packet including a home code and a home unique ID (step 203), the nodes compare the home code and home unique ID included in the data packet with a home code and a home unique ID for identifying their subnet. .

이 실시예에서는 제 2 서브넷(101)의 홈 코드가 제 1 서브넷(100)의 홈 코드와 동일하다고 가정하자. 이러한 경우는, 제 1 서브넷(100)의 창설 과정에서 제 2 서브넷(101)의 노드, 특히 헤일 신호에 응답할 능력이 있는 노드들이 모두 전원 차단(Power Off)된 경우 등에 발생할 수 있다.In this embodiment, assume that the home code of the second subnet 101 is the same as the home code of the first subnet 100. Such a case may occur when all nodes of the second subnet 101, in particular, nodes capable of responding to the Hale signal, are powered off during the creation of the first subnet 100.

제 2 서브넷(101)의 홈 코드가 제 1 서브넷(100)의 홈 코드와 동일하다고 할지라도, 홈 유니크 아이디마저 동일할 확률은 지극히 낮다. 홈 유니크 아이디는 해당 서브넷을 창설하는 노드의 제품 일련 번호를 그대로 이용하거나, 그러한 제품 일련 번호에 해당 서브넷의 홈 코드를 합쳐서 생성하거나, 난수 발생 방식으로 생성하는데, 홈 코드가 동일한 두 개의 서브넷이 홈 유니크 아이디마저 동일할 확률은 거의 없을 것이다. 한편, 이러한 홈 유니크 아이디는 식별자 중복 사용을 검출하는 기능 이외에도 기기를 식별하기 위한 아이디로서도 사용 가능함이 일반적이다.Although the home code of the second subnet 101 is the same as the home code of the first subnet 100, the probability that even the home unique ID is the same is extremely low. The home unique ID can be created using the product serial number of the node that creates the subnet, or by adding the product serial number to the subnet's home code, or by generating a random number. It is unlikely that even unique IDs will be the same. On the other hand, such a home unique ID is generally available as an ID for identifying the device in addition to the function of detecting the use of duplicate identifiers.

제 2 서브넷(101)에 속한 노드(121 내지 129)가 수신된 데이터 패킷에 포함된 홈 코드와 홈 유니크 아이디를 자신의 소속 서브넷을 식별하기 위한 홈 코드와 홈 유니크 아이디를 비교하는 과정에서 홈 코드는 동일함에도 불구하고 홈 유니크 아이디가 상이한 것을 발견하면, 이 것은 개방 통신 범위 내의 어떤 서브넷이 자신의 소속 서브넷을 식별하기 위한 홈 코드와 동일한 홈 코드를 중복적으로 사용하고 있다는 사실을 검출한 것으로 인식된다.In the process of comparing the home code and the home unique ID of the home code and the home unique ID included in the received data packet by the nodes 121 to 129 belonging to the second subnet 101 to the home unique ID, If it finds that the home unique IDs are different despite being the same, it is recognized that it detects the fact that a subnet within the open communication range uses the same home code as the home code to identify its own subnet. do.

도 9의 단계 204에서 수신된 데이터 패킷의 홈 코드와 수신 노드의 홈 코드를 비교하여 서로 상이하면 통상적 통신 과정에서처럼 수신된 데이터 패킷을 무효화하고 무응답 상태를 유지하며(단계 206), 동일하면 수신된 데이터 패킷의 홈 유니크 아이디와 수신 노드의 홈 유니크 아이디를 서로 비교한다(단계 301). 비교된 홈 유니크 아이디도 서로 동일하면, 수신 노드는 수신된 데이터 패킷을 유효한 것으로 인정하여 처리하지만(단계 205), 홈 코드는 동일함에도 불구하고 홈 유니크 아이디가 서로 상이하다면, 데이터 패킷을 브로드캐스팅한 노드의 서브넷, 즉 제 1 서브넷(100)과 자신의 서브넷이 홈 코드를 서로 중복적으로 사용하고 있다고 판정한다(단계 302).If the home code of the data packet received in step 204 of FIG. 9 and the home code of the receiving node are different from each other, the received data packet is invalidated and kept in an unresponsive state as in a normal communication process (step 206). The home unique ID of the data packet and the home unique ID of the receiving node are compared with each other (step 301). If the compared home unique IDs are also the same, the receiving node recognizes and processes the received data packet as valid (step 205), but if the home unique IDs differ from each other despite the same home code, it broadcasts the data packet. It is determined that the subnet of the node, that is, the first subnet 100 and its own subnet, uses the home code redundantly with each other (step 302).

홈 코드 중복 사용을 검출한 노드들은 검출 사실 공표 신호를 생성하여 브로드캐스팅한다. 그러나, 이 실시예에 따르면, 다른 노드에서 브로드캐스팅한 검출 사실 공표 신호를 수신한 노드는 홈 코드 중복 사용을 검출하였을지라도 검출 사실 공표 신호를 브로드캐스팅하지 아니하며, 검출 사실 공표 신호를 브로드캐스팅한 노드만 아래에서 설명할 식별자 변경 과정을 수행하고, 다른 노드들은 식별자 변경 과정을 수행하지 아니한다. 이 것은 여러 노드들이 동시에 식별자 변경 과정을 수행함으로 인해 혼란이 야기되는 것을 방지하기 위한 것이다.Nodes that detect the use of home code duplication generate and broadcast a detection announcement signal. However, according to this embodiment, a node receiving a fact-finding signal broadcast from another node does not broadcast the fact-finding signal even if it detects the use of home code duplication, and a node broadcasting the fact-finding signal. However, the identifier change process described below is performed, and other nodes do not perform the identifier change process. This is to prevent confusion caused by multiple nodes performing the identifier change process at the same time.

*다시 말해서, 앞서 설명한 바와 같이, 제 1 서브넷(100)의 제 1 노드(111)가 브로드캐스팅한 홈 코드와 홈 유니크 아이디를 포함하는 데이터 패킷을 수신한 제 2 서브넷(101)의 노드들(121 내지 129)은 홈 코드 중복 사용을 검출한다(단계 302). 그 후, 제 2 서브넷(101)의 제 1 노드(121)가 다른 노드(122 내지 129)로부터 검출 사실 공표 신호를 수신하였는지 판단하고(단계 303), 수신하지 아니하였으면, 검출 사실 공표 신호를 생성하여 브로드캐스팅하고(단계 304), 식별자 변경 과정을 주도적으로 수행한다.In other words, as described above, the nodes of the second subnet 101 that received the data packet including the home code and the home unique ID broadcast by the first node 111 of the first subnet 100 ( 121-129 detects home code duplication usage (step 302). Thereafter, it is determined whether the first node 121 of the second subnet 101 has received the detection fact announcement signal from the other nodes 122 to 129 (step 303), and if not, generates a detection fact announcement signal. Broadcasting (step 304), and performs an identifier change process.

그러나, 제 2 서브넷(101)의 다른 노드들(122 내지 129)도 홈 코드 중복 사용을 검출하고(단계 302), 다른 노드로부터 검출 사실 공표 신호를 수신하였는지 각각 판단해 보면(단계 303), 제 2 서브넷(101)의 제 1 노드(121)에서 브로드캐스팅된 검출 사실 공표 신호를 수신하였음을 인식할 것이므로, 검출 사실 공표 신호를 별도로 브로드캐스팅하지 아니한다. 즉, 수신된 데이터 패킷을 무효화하고, 무응답 상태를 유지하다가, 도 10에 도시된 식별자 변경 과정에 참여한다.However, if other nodes 122 to 129 of the second subnet 101 also detect the use of home code duplication (step 302), and judge whether or not the detection fact announcement signal is received from another node (step 303), Since the first node 121 of the second subnet 101 recognizes that the broadcasted fact-finding signal has been received, the fact-finding signal is not broadcast separately. That is, while invalidating the received data packet, and maintains an unresponsive state, it participates in the identifier change process shown in FIG.

이 실시예에서는 제 2 서브넷(101)의 모든 노드들(121 내지 129)이 제각기 식별자 변경 과정을 수행할 능력을 구비하게 구성하고, 그 중에서 검출 사실 공표 신호를 브로드캐스팅한 제 1 노드(121)만 식별자 변경 과정을 실제로 수행하게 구성하는 것으로 설명하고 있지만, 이 것은 단지 예시적인 것일 뿐이며, 이 발명을 제한하는 것이 아니다. 다른 실시예로는 제 2 서브넷(101)의 마스터 노드를 미리 정하여 두고 이 마스터 노드를 제외한 다른 노드들은 식별자 변경 과정을 수행할 능력이 없게 구성함으로써 검출 사실 공표 단계 및 그 수신 여부를 판단하는 단계를 생략할 수도 있다.In this embodiment, all nodes 121 to 129 of the second subnet 101 are configured to have the ability to perform the identifier change process, respectively, and among them, the first node 121 broadcasting the detection fact announcement signal. Only the configuration of the identifier change process is described as actually performing, but this is merely illustrative and does not limit the present invention. In another embodiment, the master node of the second subnet 101 is determined in advance, and other nodes except the master node are configured to be incapable of performing an identifier change process, thereby determining a detection fact announcement step and determining whether or not to receive it. May be omitted.

아래에서는 도 10 내지 도 12를 통하여 식별자 변경 과정을 상세하게 설명한다.Hereinafter, the identifier change process will be described in detail with reference to FIGS. 10 to 12.

도 10은 식별자 변경 과정을 수행하는 제 2 서브넷(101)의 노드들(121 내지 129)에서 진행되는 과정을 도시한 플로우 챠트이며, 도 11은 제2 서브넷(101)에서 식별자 변경 과정을 수행하는 동안에 브로드캐스팅하는 데이터를 수신한 다른 서브넷의 노드에서 진행되는 과정을 도시한 플로우 챠트이다.FIG. 10 is a flowchart illustrating a process performed in the nodes 121 to 129 of the second subnet 101 performing the identifier changing process, and FIG. 11 illustrates an identifier changing process in the second subnet 101. Is a flow chart showing the process that takes place in a node of another subnet that has received data broadcast during the process.

도 10에 도시되어 있듯이, 검출 사실 공표 신호를 브로드캐스팅(단계 304)한 제 2 서브넷(101)의 제 1 노드(121)의 식별자 생성 수단(132)은 홈 코드라고 지칭되는 제 1 식별자를 생성하여 식별자 저장 수단(135)에 임시 홈 코드로 저장해 둔다(단계 401). 임시 홈 코드의 생성 및 저장이 완료되면, 임시 홈 코드 및 기존의 홈 유니크 아이디를 포함하는 식별자 헤일 신호를 생성하고(단계 402), 트랜시버(134)를 이용하여 식별자 헤일 신호를 브로드캐스팅한다(단계 403). 식별자 헤일 신호를 이루는 데이터 패킷의 홈 코드 위치에는 선행 단계에서 생성되어 저장된 임시 홈 코드가 기록되고, 홈 유니크 아이디 위치에는 기존의 홈 유니크 아이디가 기록된다. 이때, 보다 더 양호하게는, 데이터 패킷의 헤더(Header)가 식별자 헤일 신호임을 알리는 정보를 포함한다.As shown in Fig. 10, the identifier generating means 132 of the first node 121 of the second subnet 101 broadcasting the detection fact announcement signal (step 304) generates a first identifier called a home code. The temporary storage code is stored in the identifier storage means 135 as a temporary home code (step 401). When generation and storage of the temporary home code is completed, an identifier hale signal including the temporary home code and an existing home unique ID is generated (step 402), and the identifier hale signal is broadcast using the transceiver 134 (step 403). The temporary home code generated and stored in the preceding step is recorded in the home code position of the data packet constituting the identifier hale signal, and the existing home unique ID is recorded in the home unique ID position. At this time, more preferably, the header of the data packet includes information indicating that the identifier hale signal.

식별자 헤일 신호를 브로드캐스팅한 제 2 서브넷(101)의 제1 노드(121)는 일정 시간동안 대기하면서(단계 204) 불승낙 신호가 수신되는지를 관찰한다(단계 405).The first node 121 of the second subnet 101 broadcasting the identifier hale signal waits for a period of time (step 204) and observes whether a disapproval signal is received (step 405).

브로드캐스팅된 식별자 헤일 신호는, 도 11에 도시되어 있듯이, 개방 통신 범위 내의 모든 서브넷의 노드들 중에서 현재 전원이 온(On)상태인 모든 노드들에 도달하게 된다(단계 501). 데이터를 수신한 노드는 데이터 패킷의 헤더를 분석하여 그 데이터가 식별자 헤일 신호인지를 판단한다(단계 502). 판단한 결과, 식별자 헤일 신호가 아니면 다른 데이터 처리 알고리즘에 따라 처리하며(단계 503), 식별자 헤일 신호이면, 그 신호에 포함된 임시 홈 코드가 자신의 홈 코드와 일치하는지 판단한다(단계 504). 판단 결과가 긍정이면 해당 노드의 트랜시버를 통해 불승낙 신호를 브로드캐스팅하고(단계 506), 부정이면 무응답 상태를 유지한다(단계 507). 이 때, 불승낙 신호에는 식별자 헤일 신호에 포함되어 있던 임시 홈 코드 및/또는 홈 유니크 아이디가 포함된다.The broadcasted identifier hale signal, as shown in FIG. 11, reaches all nodes of all subnets within the open communication range that are currently powered on (step 501). The node receiving the data analyzes the header of the data packet to determine if the data is an identifier hale signal (step 502). As a result of the determination, if it is not the identifier hale signal, processing is performed according to another data processing algorithm (step 503). If it is the identifier hale signal, it is determined whether the temporary home code included in the signal matches its own home code (step 504). If the result of the determination is affirmative, a disapproval signal is broadcast through the transceiver of the node (step 506), and if it is negative, it remains unresponsive (step 507). At this time, the disapproval signal includes a temporary home code and / or a home unique ID included in the identifier hale signal.

도 12는 이 실시예에 따라 도 10의 단계 404 및 405에서 이루어지는 과정을 세분하여 도시한 것이다. 도 10에 보이듯이, 식별자 헤일 신호를 브로드캐스팅한 후에, 제 2 서브넷(101)의 제 1 노드(121)는 단위 시간마다 발생하는 클럭수를 계수하면서 대기하다가(단계 441), 통신망 상에서 데이터를 수신하면(단계 451), 수신된 데이터의 헤더를 분석하여 식별자 헤일 신호에 대한 불승낙 신호인지의 여부를 판단한다(단계 452). 불승낙 신호가 아닌 것으로 판단되면 무시하고 계속 대기하며(단계 441), 불승낙 신호인 것으로 판단되면 수신된 데이터가 자신이 브로드캐스팅한 식별자 헤일 신호에 대한 불승낙 신호인지의 여부를 판단한다(단계 453).FIG. 12 shows in detail the processes performed in steps 404 and 405 of FIG. 10 in accordance with this embodiment. As shown in FIG. 10, after broadcasting the identifier hale signal, the first node 121 of the second subnet 101 waits while counting the number of clocks generated every unit time (step 441), and then waits for data on the communication network. Upon receipt (step 451), the header of the received data is analyzed to determine whether it is a disapproval signal for the identifier hale signal (step 452). If it is determined that the signal is not a disapproval signal, it is ignored and continues to wait (step 441). If it is determined that the signal is a disapproval signal, it is determined whether the received data is a disapproval signal for the identifier hale signal broadcasted by the user (step 441). 453).

제 2 서브넷(101)의 제 1 노드(121)가 식별자 헤일 신호에 대한 불승낙 신호인 것으로 판단되는 데이터를 수신하면(단계 452), 수신된 데이터 패킷에 포함된 임시 홈 코드를 식별자 저장 수단(135)에 저장된 임시 홈 코드와 비교하여 일치하는지 판단한다(단계 453). 판단결과가 일치하는 것이면 자신이 브로드캐스팅한 식별자 헤일 신호에 대한 불승낙 신호인 것으로 판단하고, 도 10의 단계 401로 복귀하여 식별자 생성 수단(132)에서 새로운 홈 코드를 생성하고, 식별자 저장 수단(135)에 임시홈 코드로 저장해 둔다(단계 401). 그 이후의 과정은 앞서 설명한 바와 동일하게 진행된다. 판단 결과가 일치하지 않는 것이면 , 제 2 서브넷(101)의 제 1 노드(121)는 새로운 불승낙 신호의 수신을 기다린다.When the first node 121 of the second subnet 101 receives data determined to be a disapproval signal for the identifier hale signal (step 452), the temporary home code included in the received data packet is stored in the identifier storage means ( A comparison is made with the temporary home code stored at 135 to determine whether it matches (step 453). If it is determined that the result of the determination matches, it is determined that the signal is a disapproval signal for the identifier hale signal broadcasted by itself, and the process returns to step 401 of FIG. 10 to generate a new home code in the identifier generating means 132, and the identifier storage means ( And stored as a temporary home code (step 401). The process after that is the same as described above. If the determination result does not match, the first node 121 of the second subnet 101 waits for the reception of a new disapproval signal.

위와 같은 과정은 계속적으로 반복되며, 제 2 서브넷(101)의 제 1 노드(121)가 식별자 헤일 신호를 브로드캐스팅하고 나서 자신의 임시 홈 코드를 포함하는 불승낙 신호를 받지 않은 채로 일정 시간이 경과한 후, 즉, 단계 442에서 계수된 클럭수가 일정치를 초과한 것으로 판단되어야 비로소 위 과정이 완료된다.The above process is repeated continuously, and a predetermined time has elapsed after the first node 121 of the second subnet 101 broadcasts the identifier hale signal without receiving a disapproval signal including its temporary home code. After that, that is, the process is completed only when it is determined that the number of clocks counted in step 442 exceeds a predetermined value.

제 2 서브넷(101)의 제 1 노드(121)는 자신이 식별자 헤일 신호를 브로드캐스팅하고나서 일정 시간이 경과하기까지(단계 442) 자신의 임시 홈 코드를 포함하는 불승낙 신호를 받지 못하면, 개방 통신 범위 내의 모든 서브넷의 노드들이 해당 임시 홈 코드를 자신의 홈 코드로 사용하는 것을 승인한 것으로 간주하고, 해당 임시 홈 코드를 자신의 정식 홈 코드로 설정하여 식별자 저장 수단(135)에 저장한다(단계 406).If the first node 121 of the second subnet 101 does not receive a disapproval signal including its temporary home code until a predetermined time has elapsed since it broadcasts the identifier hale signal (step 442), the first node 121 of the second subnet 101 opens. It is assumed that nodes of all subnets within the communication range have approved the use of the temporary home code as their home code, and the temporary home code is set as its official home code and stored in the identifier storage means 135 ( Step 406).

위와 같이 함으로써 제 2 서브넷(101)의 제 1 노드(121)의 식별자 변경 과정은 완료되며, 이하의 단계 407 내지 411에 의해 제 2 서브넷(101)의 다른 노드들(122 내지 129)을 위한 식별자 변경 과정이 진행된다. 식별자 변경 과정을 완료한 제 2 서브넷(101)의 제 1 노드(121)는 변경된 홈 코드 및 기존의 홈 유니크 아이디를 포함한 홈 코드 변경 명령을 생성하고 트랜시버(134)를 이용하여 통신망 상에 브로드캐스팅한다(단계 407). 브로드캐스팅된 홈 코드 변경 명령은 개방 통신 범위 내의 모든 노드들에서 수신될 것이지만, 수신 노드는 홈 코드 변경 명령에 포함된 홈 유니크 아이디와 자신의 홈 유니크 아이디를 비교하고(단계 408), 비교된 홈 유니크 아이디가 서로 동일한 경우(단계 409)에는 수신 노드가 기존의 홈 코드를 홈 코드 변경 명령에 포함된 홈 코드로 변경하며(단계 410), 동일하지 않은 경우(단계 409)에는 수신된 데이터 패킷을 무효화한다.As described above, the process of changing the identifier of the first node 121 of the second subnet 101 is completed, and the identifiers for the other nodes 122 to 129 of the second subnet 101 are performed by the following steps 407 to 411. The change process is in progress. After completing the identifier change process, the first node 121 of the second subnet 101 generates a home code change command including the changed home code and the existing home unique ID, and broadcasts it on the communication network using the transceiver 134. (Step 407). The broadcast home code change command will be received at all nodes within the open communication range, but the receiving node compares its home unique ID with the home unique ID included in the home code change command (step 408), and compares the compared home If the unique IDs are the same (step 409), the receiving node changes the existing home code to the home code included in the home code change command (step 410), and if it is not the same (step 409), it receives the received data packet. Invalidate.

이렇게 해서 얻어지는 결과를 살펴보면, 홈 코드 변경 명령에는 제 2 서브넷(101)의 홈 유니크 아이디가 포함되어 있으므로, 제 2 서브넷(101)이 아닌 서브넷에 속한 노드에서는 비교된 홈 유니크 아이디가 동일하지 않을 것이며, 따라서 수신된 데이터 패킷을 무효화할 것이다(단계 411). 그러나, 제 2 서브넷(101)의 다른 노드들(212 내지 219)에서는 비교된 홈 유니크 아이디가 동일할 것이므로, 기존의 홈 코드를 홈 코드 변경 명령에 포함된 새로운 홈 코드로 변경한다(단계 410). 그럼으로써, 제 2 서브넷(101)의 모든 노드들은 서로 동일한 신규 홈 코드를 갖게 된다.As a result, when the home code change command includes the home unique ID of the second subnet 101, the compared home unique ID will not be the same in the node belonging to the subnet other than the second subnet 101. Therefore, it will invalidate the received data packet (step 411). However, since the compared home unique IDs will be the same in the other nodes 212 through 219 of the second subnet 101, the existing home code is changed to the new home code included in the home code change command (step 410). . As a result, all nodes in the second subnet 101 have the same new home code.

제 2 서브넷(101)의 제 1 노드(121)가 홈 코드 변경 명령을 브로드캐스팅(단계 407)할 때에 전원이 온되어 있는 제 2 서브넷(101)의 노드들은 홈 코드 변경 과정을 수행할 것이지만, 전원이 온되어 있지 않은 제 2 서브넷(101)의 노드들은 홈 코드 변경 과정을 수행하지 못하고 기존의 홈 코드를 그대로 유지할 것이며, 그로 인해 이러한 노드는 후에 전원이 온되더라도 제 2 서브넷(101)의 구성 노드로서의 통신에 참여할 수 없게 된다. 이러한 문제를 해결하기 위해 후속 변경 과정이 요구된다.When the first node 121 of the second subnet 101 broadcasts a home code change command (step 407), the nodes of the second subnet 101 that are powered on will perform the home code change process. Nodes in the second subnet 101 that are not powered on will not be able to perform the home code change process and will maintain the existing home code, so that these nodes are configured in the second subnet 101 even if the power is turned on later. You will not be able to participate in communication as a node. Subsequent changes are required to address this issue.

도 13을 보면서 후속 변경 과정을 상세히 설명한다. 후속 변경 과정이 진행될 수 있는 전제 조건으로서, 이 실시예에서는 홈 코드와 홈 유니크 아이디가 설정된 모든 노드들이 전원이 오프되었다가 온되면(단계 601), 통신망 상에 자신의 홈 코드와 홈 유니크 아이디를 포함하는 시동 신호를 생성하여(단계 602), 통신망 상에 자동으로 브로드캐스팅한다(단계 603). 그러나, 이 발명은 시동 신호를 자동으로 브로드캐스팅하는 것에만 한정되는 것은 아니며, 사용자가 개입하여 초기화 스위치 등을 조작하였을 경우에만 홈 코드와 홈 유니크 아이디를 포함하는 초기화 신호를 브로드캐스팅하게 구성할 수도 있다.13, the subsequent modification process will be described in detail. As a prerequisite for the subsequent change process, in this embodiment, when all the nodes set the home code and the home unique ID are powered off and on (step 601), the home code and the home unique ID on the communication network are entered. A start signal is included (step 602) and automatically broadcasted on the communication network (step 603). However, the present invention is not limited to broadcasting the start signal automatically, and may be configured to broadcast the initialization signal including the home code and the home unique ID only when the user operates the initialization switch and the like. have.

통신망 상에 브로드캐스팅된 이러한 시동 신호 또는 초기화 신호(이하에서는 간단하게 "시동 신호"라고 통칭적으로 지칭함)는 개방 통신 범위 내의 모든 노드들에서 수신되며(단계 604), 이러한 시동 신호를 수신한 노드들은 시동 신호에 포함된 홈 코드 및 홈 유니크 아이디를 자신의 홈 코드 및 홈 유니크 아이디와 비교하여(단계 605) 홈 코드가 동일하거나(단계 606) 홈 코드와 홈 유니크 아이디가 모두 상이하면(단계 607) 수신된 데이터패킷을 무효화하고 무응답 상태를 유지하며(단계 613), 홈 유니크 아이디는 동일한데(단계 606) 홈 코드가 상이한 경우(단계 607)에만 자신의 기존의 홈 코드 및 홈 유니크 아이디를 포함하는 홈 코드 변경 명령을 생성하여 통신망 상에 브로드캐스팅한다(단계 608).This startup signal or initialization signal broadcasted on the network (hereinafter simply referred to collectively as "start signal") is received at all nodes within the open communication range (step 604), and the node that received this start signal. Compares the home code and home unique ID included in the start-up signal with their home code and home unique ID (step 605), if the home code is the same (step 606) or if both the home code and home unique ID are different (step 607). ) Invalidate the received data packet and remain unresponsive (step 613), and include its existing home code and home unique ID only if the home unique IDs are the same (step 606) but the home codes are different (step 607). A home code change command is generated and broadcast on the communication network (step 608).

브로드캐스팅된 홈 코드 변경 명령은 개방 통신 범위 내의 모든 노드들에서 수신될 것이지만, 수신 노드는 홈 코드 변경 명령에 포함된 홈 유니크 아이디와 자신의 홈 유니크 아이디를 비교하고(단계 609), 비교된 홈 코드가 동일하거나(단계 610) 홈 코드와 홈 유니크 아이디가 모두 상이하면(단계 611) 수신된 데이터 패킷을 무효화 하고 무응답 상태를 유지하며(단계 614), 홈 유니크 아이디는 동일한데(단계 610) 홈 코드가 상이한 경우(단계 611)에만 자신의 기존의 홈 코드를 홈 코드 변경 명령에 포함된 홈 코드로 변경한다(단계 612).The broadcast home code change command will be received at all nodes within the open communication range, but the receiving node compares its home unique ID with the home unique ID included in the home code change command (step 609) and compares the home If the code is the same (step 610) or both the home code and the home unique ID are different (step 611), the received data packet is invalidated and remains unresponsive (step 614), and the home unique ID is the same (step 610). Only if the code is different (step 611), it changes its existing home code to the home code included in the home code change command (step 612).

앞서 설명한 식별자 변경 과정에 참여하지 못한 제 2 서브넷(101)의 노드들은 전원이 온되면서 진행되는 이 후속 변경 과정에서 기존의 홈 코드를 제 2 서브넷(101)의 다른 노드들이 앞서 설명한 식별자 변경 과정에서 변경한 홈 코드와 동일한 홈 코드로 변경하고 제 2 서브넷(101)의 구성 노드로서의 통상적 통신을 수행할 수 있게 된다.Nodes of the second subnet 101 that have not participated in the above-described identifier change process may change the existing home code from other nodes of the second subnet 101 during the identifier change process described above. It is possible to change to the same home code as the changed home code and to perform normal communication as a configuration node of the second subnet 101.

앞서 설명한 실시예에서는 노드가 마이크로 프로세서(131)와, 식별자 생성 수단(132)과, 식별자 설정 수단(133)과, 식별자 저장 수단(135)과, 트랜시버(134)와, 비교 수단(137) 및, 중복 사용 검출 수단(136)을 포함하는 것으로 설명하고 있지만, 이 발명은 이러한 배치에 한정되는 것이 아니며, 전기 전자 응용 기기 본연의 기능을 수행하기 위한 수단 외에 통신을 수행하기 위해 통상적으로 요구되는 구성 요소들을 포함할 것이고, 마이크로 프로세서(131)는 통신 기능만을 제어하기 위한 별도의 마이크로 프로세서로 구비될 수도 있지만, 전기 전자 응용 기기 본연의 기능을 제어하기 위한 노드의 마이크로 프로세서를 이용할 수도 있으며, 또한 위와 같은 구성 요소들이 응용 기기에 합체되지 않고, 전송 데이터의 처리를 위한 패킷화 수단(도시 안됨)이나 부호화 수단(도시 안됨) 또는 복호화 수단(도시 안됨) 등과 같은 기타의 수단을 모두 포함하는 통신 모듈의 형태로 구성될 수도 있다.In the above-described embodiment, the node includes the microprocessor 131, the identifier generating means 132, the identifier setting means 133, the identifier storing means 135, the transceiver 134, the comparing means 137, Although it has been described as including a redundancy detection means 136, the present invention is not limited to such an arrangement, and is generally required to perform communication in addition to means for performing an intrinsic function of an electric and electronic application. Elements, the microprocessor 131 may be provided as a separate microprocessor for controlling only the communication functions, but may also use a microprocessor of the node for controlling the functions of the electrical and electronic application. The same components are not incorporated in the application, and packetization means (not shown) or encoding number for the processing of the transmission data It may be of the other means of the like (not shown) or decoding means (not shown) in the form of the communication module containing both.

앞서 설명한 실시예에서는 이 발명에 따른 통신망이 전력선을 매체로 하여 이루어진 경우를 예시하고 있지만, 이 것은 단지 예시적인 것일 뿐이고 이 발명을 제한하려는 것이 아니다. 이 발명에 따른 통신망은 전화선이나 유선브로드캐스팅용 케이블 뿐만 아니라 공중파를 포함하는 모든 통신 매체들 중의 어느 하나를 이용하여 라우팅 방식이 아닌 브로드캐스팅 방식으로 데이터를 전송하는 구축된 통신망의 서브넷에서 식별자의 중복 사용을 검출하고 조치하는 경우에 유용하게 적용될 수 있다.Although the above-described embodiment illustrates the case where the communication network according to the present invention is made with a power line as a medium, this is merely exemplary and is not intended to limit the present invention. The communication network according to the present invention uses duplicates of identifiers in subnets of established communication networks that transmit data not by routing but by using any one of all communication media including airwaves, as well as a telephone line or a wired broadcasting cable. This can be useful when detecting and acting on usage.

이 발명이 속한 기술 분야에서 숙련된 자에게는 이 발명의 기술사상을 벗어남이 없이 앞서 설명한 실시예로부터의 변화나 변경 또는 조절이 가능함이 자명할 것이다. 첨부된 특허청구의 범위에서는 그러한 변화예나 변경예 또는 조절예를 이 발명의 보호 범위에 포함시킬 것을 의도한다.It will be apparent to those skilled in the art that the present invention can be changed, changed, or adjusted from the above-described embodiment without departing from the technical spirit of the present invention. It is intended that the appended claims cover such modifications, variations or adjustments as falling within the protection scope of the present invention.

이 발명에 따라 구성된 개방적 통신망에서는 서브넷 식별자의 중복 사용을 적시에 검출하여 적절한 조치를 취할 수 있으므로, 서브넷 식별자의 중복 사용으로 인한 노드 관리 오류의 우려가 없이 안정적으로 통신망을 운용할 수 있다.In the open communication network configured according to the present invention, timely detection of duplicate use of the subnet identifier can be appropriately taken, and thus, the communication network can be stably operated without fear of node management error due to the use of the duplicate subnet identifier.

도 1은 서브넷 창설 방법에 따른 통신을 수행하기 위하여 노드에서 이용되는 통신 장치의 구성을 설명하기 위한 기능 블록선도이고,1 is a functional block diagram illustrating a configuration of a communication device used in a node to perform communication according to a subnet creation method;

도 2는 본 발명의 일 실시예에 따른 전기 전자 응용 기기 중 수신부측 기기의 동작 과정을 보여주는 흐름도이며, 도 3은 송신부측 기기의 동작 과정을 보여주는 흐름도이고,2 is a flowchart illustrating an operation process of a receiver side device in an electronic and electronic application device according to an embodiment of the present invention, FIG. 3 is a flowchart illustrating an operation process of a transmitter side device;

도 4 내지 도 6은 본 발명의 일 실시예에 따른 통신망의 구성과 그러한 통신망의 일부를 이루는 서브넷의 구성을 도시한 구성도이고,4 to 6 is a configuration diagram showing the configuration of a communication network according to an embodiment of the present invention and the configuration of the subnet forming part of such a communication network,

도 7은 본 발명에 따른 통신을 수행하기 위하여 도 5 및 도 6에 도시된 노드에서 이용되는 통신 장치의 구성을 설명하기 위한 기능 블록선도이고,7 is a functional block diagram illustrating a configuration of a communication apparatus used in the nodes shown in FIGS. 5 and 6 to perform communication according to the present invention.

도 8은 도 1에 도시된 통신망 상에서 통상적인 통신 과정을 도시한 흐름도이고,8 is a flowchart illustrating a typical communication process on the communication network shown in FIG. 1;

도 9는 서브넷에 속하는 노드가 본 발명의 일 실시예에 따라 식별자 중복 사용을 검출하는 과정을 도시한 흐름도이고,9 is a flowchart illustrating a process of detecting a duplicated identifier by a node belonging to a subnet according to an embodiment of the present invention;

도 10은 서브넷에 속하는 각각의 노드가 본 발명의 일 실시예에 따라 식별자를 변경하는 과정을 도시한 흐름도이고,10 is a flowchart illustrating a process in which each node belonging to a subnet changes an identifier according to an embodiment of the present invention.

도 11은 제 2 서브넷에서 식별자 변경 과정을 수행하는 동안에 브로드캐스팅하는 데이터를 수신한 다른 서브넷의 노드에서 진행되는 과정을 도시한 흐름도이고,FIG. 11 is a flowchart illustrating a process performed by a node of another subnet that receives broadcast data while performing an identifier change process in a second subnet.

도 12는 도 10의 단계 404 및 405에서 이루어지는 과정을 세분하여 도시한 흐름도이고,12 is a flowchart illustrating the process performed in steps 404 and 405 of FIG. 10 in detail.

도 13은 본 발명의 일 실시예에 따른 식별자 변경 후, 후속 변경 과정을 도시한 흐름도이다.13 is a flowchart illustrating a subsequent change process after an identifier change according to an embodiment of the present invention.

Claims (18)

개방적 통신망에서 서브넷(SubNet) 창설 이후, 송신 노드가 소속 서브넷을 식별하기 위한 제 1 식별자를 포함한 데이터 패킷을 생성하여 개방적 통신 매체를 이용하여 브로드캐스팅하고, 수신 노드는 수신된 데이터 패킷에 포함된 제 1 식별자가 자신의 소속 노드를 식별하기 위한 제 1 식별자와 동일하면 수신된 데이터를 유효하게 처리하고, 상이하면 무효화함으로써, 통상적으로는 동일한 서브넷에 속한 노드끼리만 유효한 통신을 행할 수 있게 구성된 통신망에서, 소속 서브넷을 식별하기 위한 2 종의 식별자를 이용하여, 상이한 서브넷이 동일한 제 1 식별자를 중복적으로 사용하는 것을 검출하는 방법과 관련하여,After creating a SubNet in an open communication network, a transmitting node generates a data packet including a first identifier for identifying a subnet to be broadcasted using an open communication medium, and the receiving node includes a first packet included in the received data packet. In a communication network configured to enable valid communication only between nodes belonging to the same subnet, by validating the received data if the first identifier is the same as the first identifier for identifying the node to which it belongs, and invalidating it if different. With respect to a method of detecting that different subnets use the same first identifier redundantly, using two kinds of identifiers for identifying the belonging subnet, 송신 노드가 송기 제 1 식별자 및 제 2 식별자를 포함하는 데이터 패킷을 생성하여 통신망 상에 브로드캐스팅하는 제 1 단계;A first step in which the transmitting node generates and broadcasts a data packet including a first transmission identifier and a second identifier on a communication network; 수신 노드에서 수신된 데이터 패킷에 포함된 제 1 식별자 및 제 2 식별자를 자신의 소속 서브넷을 식별하기 위한 제 1 식별자 및 제 2 식별자와 비교하는 제 2 단계; 및A second step of comparing the first identifier and the second identifier included in the data packet received at the receiving node with the first identifier and the second identifier for identifying its own subnet; And 상기 식별자 비교 단계에서 제 1 식별자가 동일하고 제 2 식별자가 상이하면, 상기 수신 노드가 다른 서브넷이 자신의 소속 서브넷과 동일한 제 1 식별자를 중복적으로 사용하고 있다고 판정하는 제 3 단계; 를 포함하고,A third step in which, if the first identifier is the same and the second identifier is different in the identifier comparing step, the receiving node determines that another subnet is using the same first identifier as its own subnet; Including, 상기 서브넷 창설 과정은,The subnet creation process, 어떤 한 노드(제 1 노드)가 자신이 소속된 서브넷 식별을 위한 임시 홈 코드를 발생시키는 단계; 상기 홈 코드를 포함하는 식별자 헤일(Hail) 신호를 통신망 상에 브로드캐스팅하는 단계; 상기 브로드캐스팅된 신호를 수신한 타 노드 각각은 수신된 신호에 포함된 상기 홈 코드와 자신이 저장하고 있는 등록된 모든 홈 코드를 비교하여 동일한 홈 코드가 존재하면 홈 코드 사용 불허 메시지(Nack)를 브로드캐스팅하고, 동일한 홈 코드가 존재하지 아니하면 홈 코드 사용 허락 메시지(Ack)를 브로드캐스팅하는 단계; 상기 제 1 노드가 홈 코드 사용 허락 메시지를 수신하면 상기 요청 홈 코드를 서브넷 식별자로 설정한 후, 이를 재차 브로드캐스팅하여 타 노드들이 이를 등록하는 단계;Any one node (first node) generating a temporary home code for identifying the subnet to which it belongs; Broadcasting an identifier Hail signal including the home code on a communication network; Each other node receiving the broadcasted signal compares the home code included in the received signal with all registered home codes stored therein, and if a same home code exists, a home code disallowed message (Nack) is provided. Broadcasting and broadcasting a home code permission message (Ack) if the same home code does not exist; When the first node receives the home code usage permission message, setting the request home code as a subnet identifier and broadcasting the same again to register other nodes; 를 포함하는 것을 특징으로 하는 식별자 중복 사용 검출 방법.Identifier duplication usage detection method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 수신 노드가 상기 제 3 단계 후에 중복 사용 검출 사실을 공표하는 신호를 통신망 상에 브로드캐스팅하는 제 4 단계;A fourth step of the receiving node broadcasting a signal on the communication network to announce the fact that the duplicate use detection is detected after the third step; 를 더 포함하는 것을 특징으로 하는 식별자 중복 사용 검출 방법.The method of claim 2, further comprising an identifier. 제 2 항에 있어서,The method of claim 2, 상기 수신 노드가 상기 제 4 단계 후에 상기 제 1 식별자를 변경하는 제 5 단계; 및A fifth step of the receiving node changing the first identifier after the fourth step; And 소속 서브넷의 다른 노드들이 저장하고 있는 상기 제 1 식별자를 동일한 제 1 식별자로 변경시키기 위한 식별자 변경 명령을 통신망 상에 브로드캐스팅하는 제 6 단계;A sixth step of broadcasting, on a communication network, an identifier change command for changing the first identifier stored by other nodes in the subnet belonging to the same first identifier; 를 더 포함하는 것을 특징으로 하는 식별자 중복 사용 검출 방법.The method of claim 2, further comprising an identifier. 제 3 항에 있어서,The method of claim 3, wherein 상기 수신 노드가 브로드캐스팅한 검출 사실 공표 신호를 수신한 다른 노드들은 중복 사용 검출 사실을 공표하지 아니하고 상기 수신 노드가 브로드캐스팅한 식별자 변경 명령에 따라 상기 제 1 식별자를 변경하는 것을 특징으로 하는 식별자 중복 사용 검출 방법.The other nodes that receive the detection fact announcement signal broadcast by the receiving node change the first identifier according to the identifier change command broadcast by the receiving node without notifying the use of the detection of duplicate usage. Usage detection method. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 개방적 통신 매체가 전력선인 것을 특징으로 하는 식별자 중복 사용 검출 방법.And the open communication medium is a power line. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 개방적 통신 매체가 알에프(RF : Radio Frequency) 무선 통신 방식인 것을 특징으로 하는 식별자 중복 사용 검출 방법.And the open communication medium is a radio frequency (RF) wireless communication method. 개방적 통신망에서 서브넷(SubNet) 창설 이후, 송신 노드가 소속 서브넷을 식별하기 위한 제 1 식별자를 포함한 데이터 패킷을 생성하여 개방적 통신 매체를 이용하여 브로드캐스팅하고, 수신 노드는 수신된 데이터 패킷에 포함된 제 1 식별자가 자신의 소속 서브넷을 식별하기 위한 제 1 식별자와 동일하면 수신된 데이터를 유효하게 처리하고, 상이하면 무효화함으로써 통상적으로는 동일한 서브넷에 속한 노드끼리만 유효한 통신을 행할 수 있게 구성된 통신망에서, 상이한 서브넷이 동일한 제 1 식별자를 중복적으로 사용하는 것을 검출한 후에, 소속 서브넷을 식별하기 위한 제 2 식별자를 이용하여, 상기 제 1 식별자를 변경하는 방법과 관련하여,After creating a SubNet in an open communication network, a transmitting node generates a data packet including a first identifier for identifying a subnet to be broadcasted using an open communication medium, and the receiving node includes a first packet included in the received data packet. 1 If the identifier is the same as the first identifier for identifying its own subnet, the received data is effectively processed, and if it is different, it is invalidated, so that in a communication network normally configured to enable only valid communication between nodes belonging to the same subnet, Regarding a method for changing the first identifier after detecting that the subnet uses the same first identifier repeatedly, using the second identifier for identifying the subnet to which the subnet belongs, 소속 서브넷을 식별하기 위한 제 1 식별자를 새로이 생성하여 임시적으로 저장하는 제 1 단계;A first step of newly generating and temporarily storing a first identifier for identifying a subnet to which the subnet belongs; 상기 임시적인 제 1 식별자 및 기존의 제 2 식별자를 포함하는 식별자 헤일 신호를 생성하여 통신망 상에 브로드캐스팅하는 제 2 단계;A second step of generating an identifier hale signal including the temporary first identifier and an existing second identifier and broadcasting it over a communication network; 일정 시간 이상 대기하면서 상기 식별자 헤일 신호에 대한 불승낙 신호가 수신되는지 여부를 판단하는 제 3 단계;A third step of determining whether a disapproval signal for the identifier hale signal is received while waiting for a predetermined time; 상기 제 3 단계에서 불승낙 신호가 수신된 것으로 판단되면 상기 제 1 단계를 복귀하는 제 4 단계; 및A fourth step of returning to the first step if it is determined that the disapproval signal is received in the third step; And 상기 제 3 단계에서 일정 시간이 경과하기까지 불승낙 신호가 수신되지 않은 것으로 판단되면 상기 임시적인 제 1 식별자를 정식의 제 1 식별자로 설정하고 저장하는 제 5 단계; 를 포함하고,A fifth step of setting and storing the temporary first identifier as a formal first identifier if it is determined that the disapproval signal is not received until a predetermined time elapses in the third step; Including, 상기 서브넷 창설 과정은,The subnet creation process, 어떤 한 노드(제 1 노드)가 자신이 소속된 서브넷 식별을 위한 임시 홈 코드를 발생시키는 단계; 상기 홈 코드를 포함하는 식별자 헤일(Hail) 신호를 통신망 상에 브로드캐스팅하는 단계; 상기 브로드캐스팅된 신호를 수신한 타 노드 각각은 수신된 신호에 포함된 상기 홈 코드와 자신이 저장하고 있는 등록된 모든 홈 코드를 비교하여 동일한 홈 코드가 존재하면 홈 코드 사용 불허 메시지(Nack)를 브로드캐스팅하고, 동일한 홈 코드가 존재하지 아니하면 홈 코드 사용 허락 메시지(Ack)를 브로드캐스팅하는 단계; 상기 제 1 노드가 홈 코드 사용 허락 메시지를 수신하면 상기 요청 홈 코드를 서브넷 식별자로 설정한 후, 이를 재차 브로드캐스팅하여 타 노드들이 이를 등록하는 단계;Any one node (first node) generating a temporary home code for identifying the subnet to which it belongs; Broadcasting an identifier Hail signal including the home code on a communication network; Each other node receiving the broadcasted signal compares the home code included in the received signal with all registered home codes stored therein, and if a same home code exists, a home code disallowed message (Nack) is provided. Broadcasting and broadcasting a home code permission message (Ack) if the same home code does not exist; When the first node receives the home code usage permission message, setting the request home code as a subnet identifier and broadcasting the same again to register other nodes; 를 포함하는 것을 특징으로 하는 식별자 변경 방법.Identifier changing method comprising a. 제 7 항에 있어서,The method of claim 7, wherein 상기 제 5 단계 후에 식별자 변경을 완료한 노드가 소속 서브넷에 속하는 다른 노드들이 저장하고 있는 상기 제 1 식별자를 동일한 제 1 식별자로 변경시키기는 제 6 단계;A sixth step of changing, after the fifth step, the first identifier stored by other nodes belonging to the subnet of the node which has completed the identifier change to the same first identifier; 를 더 포함하는 것을 특징으로 하는 식별자 변경 방법.The method of changing an identifier, characterized in that it further comprises. 제 8 항에 있어서,The method of claim 8, 상기 제 6 단계는,The sixth step, 식별자 변경을 완료한 노드가 변경된 제 1 식별자 및 기존의 제 2 식별자를 포함한 식별자 변경 명령을 생성하여 통신망 상에 브로드캐스팅하는 제 1 서브 단계;A first sub-step, in which the node which has completed the identifier change, generates an identifier change command including the changed first identifier and the existing second identifier and broadcasts it on the communication network; 수신 노드가 수신된 식별자 변경 명령에 포함된 제 2 식별자를 자신의 제 2 식별자와 비교하는 제 2 서브 단계; 및A second substep of the receiving node comparing the second identifier included in the received identifier change command with its second identifier; And 상기 제 2 서브 단계에서 비교된 제 2 식별자가 서로 동일하면 상기 수신 노드가 자신의 기존의 제 1 식별자를 식별자 변경 명령에 포함된 제 1 식별자로 변경하는 제 3 서브 단계;A third sub-step, in which the receiving node changes its existing first identifier to a first identifier included in an identifier change command if the second identifiers compared in the second sub-steps are identical to each other; 를 포함하는 것을 특징으로 하는 식별자 변경 방법.Identifier changing method comprising a. 제 7 항 내지 제 9 항 중 어느 한 항에 있어서,The method according to any one of claims 7 to 9, 상기 개방적 통신 매체가 전력선인 것을 특징으로 하는 식별자 변경 방법.And the open communication medium is a power line. 제 7 항 내지 제 9 항 중 어느 한 항에 있어서,The method according to any one of claims 7 to 9, 상기 개방적 통신 매체가 알에프(RF : Radio Frequency) 무선 통신 방식인 것을 특징으로 하는 식별자 변경 방법.And the open communication medium is RF (radio frequency) wireless communication. 개방적 통신망에서 서브넷(SubNet) 창설 이후, 송신 노드가 소속 서브넷을 식별하기 위한 제 1 식별자를 포함한 데이터 패킷을 생성하여 개방적 통신 매체를 이용하여 브로드캐스팅하고, 수신 노드는 수신된 데이터 패킷에 포함된 제 1 식별자가 자신의 소속 서브넷을 식별하기 위한 제 1 식별자와 동일하면 수신된 데이터를 유효하게 처리하고, 상이하면 무효화함으로써 통상적으로는 동일한 서브넷에 속한 노드끼리만 유효한 통신을 행할 수 있게 구성된 통신망에서, 소속 서브넷에 속한 다른 노드들이 제 1 식별자를 변경한 후에, 소속 서브넷을 식별하기 위한 제 2 식별자를 이용하여, 식별자 미변경 노드가 시동되면서 제 1 식별자를 변경하는 방법과 관련하여.After creating a SubNet in an open communication network, a transmitting node generates a data packet including a first identifier for identifying a subnet to be broadcasted using an open communication medium, and the receiving node includes a first packet included in the received data packet. 1 If the identifier is the same as the first identifier for identifying its own subnet, the received data is effectively processed, and if it is different, it is invalidated, so that in a communication network normally configured to enable only valid communication between nodes belonging to the same subnet With respect to the method of changing the first identifier as the unaltered node is started up, using the second identifier for identifying the belonging subnet, after other nodes belonging to the subnet change the first identifier. 시동 노드가 제 1 식별자 및 제 2 식별자를 포함하는 시동 신호를 생성하여 통신망 상에 브로드캐스팅하는 제 1 단계;A first step of the starting node generating and broadcasting a start-up signal including the first identifier and the second identifier on the communication network; 수신 노드가 수신된 시동 신호에 포함된 제 1 식별자 및 제 2 식별자를 자신의 제 1 식별자 및 제 2 식별자와 비교하는 제 2 단계;A second step of the receiving node comparing the first identifier and the second identifier included in the received start signal with its first identifier and the second identifier; 상기 제 2 단계에서 비교된 제 1 식별자가 상이하고 제 2 식별자가 서로 동일하면, 상기 수신 노드가 자신의 제 1 식별자 및 제 2 식별자를 포함하는 식별자 변경 명령을 생성하여 통신망 상에 브로드캐스팅하는 제 3 단계;If the first identifiers compared in the second step are different and the second identifiers are the same, the receiving node generates and broadcasts an identifier change command including its first identifier and the second identifier on the communication network. Three steps; 시동 노드가 수신된 식별자 변경 명령에 포함된 제 1 식별자 및 제 2 식별자를 자신의 제 1 식별자 및 제 2 식별자와 비교하는 제 4 단계; 및A fourth step of the starting node comparing the first identifier and the second identifier included in the received identifier change command with its first identifier and the second identifier; And 상기 제 4 단계에서 비교된 제 1 식별자가 상이하고 제 2 식별자가 서로 동일하면, 상기 수신 노드가 자신의 기존의 제 1 식별자를 식별자 변경 명령에 포함된 제 1 식별자로 변경하는 제 5 단계; 를 포함하고,A fifth step of the receiving node changing its existing first identifier to a first identifier included in an identifier change command if the first identifiers compared in the fourth step are different and the second identifiers are the same; Including, 상기 서브넷 창설 과정은,The subnet creation process, 어떤 한 노드(제 1 노드)가 자신이 소속된 서브넷 식별을 위한 임시 홈 코드를 발생시키는 단계; 상기 홈 코드를 포함하는 식별자 헤일(Hail) 신호를 통신망 상에 브로드캐스팅하는 단계; 상기 브로드캐스팅된 신호를 수신한 타 노드 각각은 수신된 신호에 포함된 상기 홈 코드와 자신이 저장하고 있는 등록된 모든 홈 코드를 비교하여 동일한 홈 코드가 존재하면 홈 코드 사용 불허 메시지(Nack)를 브로드캐스팅하고, 동일한 홈 코드가 존재하지 아니하면 홈 코드 사용 허락 메시지(Ack)를 브로드캐스팅하는 단계; 상기 제 1 노드가 홈 코드 사용 허락 메시지를 수신하면 상기 요청 홈 코드를 서브넷 식별자로 설정한 후, 이를 재차 브로드캐스팅하여 타 노드들이 이를 등록하는 단계;Any one node (first node) generating a temporary home code for identifying the subnet to which it belongs; Broadcasting an identifier Hail signal including the home code on a communication network; Each other node receiving the broadcasted signal compares the home code included in the received signal with all registered home codes stored therein, and if a same home code exists, a home code disallowed message (Nack) is provided. Broadcasting and broadcasting a home code permission message (Ack) if the same home code does not exist; When the first node receives the home code usage permission message, setting the request home code as a subnet identifier and broadcasting the same again to register other nodes; 를 포함하는 것을 특징으로 하는 식별자 변경 방법.Identifier changing method comprising a. 제 1 항, 제 7항 및 제 12 항 중 어느 한 항에 적용되는 전기 전자 응용 기기에 있어서,In the electrical and electronic application device applied to any one of claims 1, 7, and 12, 소속 서브넷을 식별하기 위한 적어도 2 이상의 식별자를 생성하는 식별자 생성 수단;Identifier generating means for generating at least two identifiers for identifying a belonging subnet; 상기 식별자 생성 수단이 생성한 식별자 중에서 다른 서브넷이 사용하는 식별자와 상이한 식별자만을 자신의 소속 서브넷을 식별하기 위한 식별자로 설정하는 식별자 설정 수단;Identifier setting means for setting only an identifier different from an identifier used by another subnet among the identifiers generated by the identifier generating means as an identifier for identifying its own subnet; 상기 식별자 설정 수단이 설정한 식별자를 저장하는 식별자 저장 수단;Identifier storage means for storing an identifier set by the identifier setting means; 상기 2 이상의 식별자 중 적어도 한 종류 이상의 식별자를 포함하는 데이터 패킷을 통신망 상에 브로드캐스팅하는 트랜시버;A transceiver for broadcasting a data packet including at least one type of identifier among the two or more identifiers on a communication network; 수신된 데이터 패킷에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하는 비교 수단; 및Comparison means for comparing each identifier included in the received data packet with a corresponding identifier for identifying its own subnet; And 수신된 데이터 패킷에 포함된 상기 2 종류 이상의 식별자 중 일부의 식별자는 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 동일하고 잔부의 식별자는 상이하면 자신의 소속 서브넷이 아닌 다른 서브넷이 상기 동일한 식별자를 중복적으로 사용하고 있는 것으로 판정하는 중복 사용 검출 수단;If the identifier of some of the two or more kinds of identifiers included in the received data packet is the same as the corresponding identifier for identifying its own subnet, and the remaining identifiers are different, a subnet other than its own subnet may use the same identifier. Redundant use detection means for determining that the data is used in duplicate; 을 포함하는 것을 특징으로 하는 전기 전자 응용 기기.Electrical and electronic application device comprising a. 제 13 항에 있어서,The method of claim 13, 상기 트랜시버는 상기 중복 사용 검출 수단이 중복 사용 판정을 하면 중복 사용되고 있는 식별자를 포함하는 검출 사실 공표 신호를 통신망 상에 브로드캐스팅하는 것을 특징으로 하는 전기 전자 응용 기기.And the transceiver broadcasts a detection fact announcement signal on the communication network including an identifier that is being used in duplicate when the duplicate use detection means makes a duplicate use determination. 제 13 항에 있어서,The method of claim 13, 상기 식별자 생성 수단은 상기 중복 사용 검출 수단이 중복 사용 판정을 하면 중복 사용되고 있는 식별자를 새로 생성하고,The identifier generating means generates a newly used identifier when the duplicate use detecting means determines the duplicate use, 상기 트랜시버는 상기 식별자 생성 수단이 새로 식별자를 생성하면 해당 식별자가 포함된 식별자 헤일 신호를 통신망 상에 재차 브로드캐스팅하며,When the identifier generating means newly generates an identifier, the transceiver broadcasts the identifier hale signal including the identifier again on the communication network. 상기 식별자 설정 수단은 중복 사용하는 것으로 판정된 식별자를 통신망 상의 다른 모든 노드가 사용을 승낙한 식별자로 변경하여 설정하는 것을 특징으로 하는 전기 전자 응용 기기.And the identifier setting means changes and sets the identifier determined to be duplicated to an identifier accepted by all other nodes on the communication network. 제 15 항에 있어서,The method of claim 15, 상기 비교 수단은 수신된 식별자 헤일 신호에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하고,The comparing means compares each of the identifiers included in the received identifier hale signal with a corresponding identifier for identifying its own subnet, 상기 트랜시버는 수신된 식별자 헤일 신호에 포함된 식별자가 자신의 소속 서브넷의 대응하는 식별자와 동일한 것으로 판단되면 불승인 신호를 통신망 상에 브로드캐스팅하며,The transceiver broadcasts a disapproval signal on the communication network when it is determined that the identifier included in the received identifier hale signal is the same as the corresponding identifier of its own subnet. 상기 식별자 생성 수단은 상기 트랜시버가 불승인 신호를 수신하면 해당 식별자를 다시 생성하는 것을 특징으로 하는 전기 전자 응용 기기.And the identifier generating means regenerates the identifier when the transceiver receives the disapproval signal. 제 15 항에 있어서,The method of claim 15, 상기 트랜시버는 상기 식별자 설정 수단이 식별자로 변경하여 설정하면 변경된 식별자 및 상기 2 종류 이상의 식별자 중 변경되지 않은 식별자를 포함하는 식별자 변경 명령을 통신망 상에 브로드캐스팅하는 것을 특징으로 하는 전기 전자 응용 기기.And the transceiver broadcasts, on the communication network, an identifier change command including a changed identifier and an unchanged identifier among the two or more kinds of identifiers when the identifier setting means is changed to an identifier. 제 13 항에 있어서,The method of claim 13, 상기 비교 수단은 상기 트랜시버가 식별자 변경 명령을 수신하면 수신된 식별자 변경 명령에 포함된 식별자를 자신의 소속 서브넷을 식별하기 위한 대응하는 식별자와 각각 비교하고,The comparison means, when the transceiver receives the identifier change command, compares the identifier included in the received identifier change command with a corresponding identifier for identifying its own subnet, 상기 식별자 설정 수단은 상기 비교 수단에 의해 비교된 식별자 중 일부는 동일하고 일부는 상이한 경우에만 상이한 식별자를 상기 식별자 변경 명령에 포함된 식별자로 변경하여 설정하는 것을 특징으로 하는 전기 전자 응용 기기.And the identifier setting means changes and sets a different identifier to an identifier included in the identifier change command only when some of the identifiers compared by the comparing means are the same and some are different.
KR1020040082639A 2004-10-15 2004-10-15 Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet KR100506694B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040082639A KR100506694B1 (en) 2004-10-15 2004-10-15 Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040082639A KR100506694B1 (en) 2004-10-15 2004-10-15 Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet

Publications (1)

Publication Number Publication Date
KR100506694B1 true KR100506694B1 (en) 2005-08-08

Family

ID=37304023

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040082639A KR100506694B1 (en) 2004-10-15 2004-10-15 Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet

Country Status (1)

Country Link
KR (1) KR100506694B1 (en)

Similar Documents

Publication Publication Date Title
US7129823B2 (en) Communications setting method and communications setting system for power line communications system
KR20030024262A (en) Method for detecting and regulating identifier overlap on power line communication network, electronic appliance connected to subnet of power line communication network and, communication module used in electronic appliance
US10680883B2 (en) Devices and systems for consumer-installed hub-based intermediate-range packetized wireless networks utilizing assignable operational channels
CN102132592B (en) Commissioning a network system
CN102461288B (en) The enhanced debugging of Radio Network System
KR100565487B1 (en) Home appliance network system and its method for the same
US20070036358A1 (en) Secure and automatic configuration of wireless networks
US20030107471A1 (en) House code setting method and power line carrier communication system
CN101321102A (en) Detection method and access equipment of DHCP server
CN101223761A (en) Link management system
KR100562380B1 (en) Method for joining node into subnet of power line communication network, electronic appliance connected to subnet and, communication module used in electronic appliance
CN103249040A (en) Method and device for wireless access authentication
CN101841445B (en) User identifying method and device for Internet connection sharing
KR20030024260A (en) Subnet of power line communication network, method for setting up the same, electronic appliance connected to the same and, communication module used in the same
WO1999007113A2 (en) Wireless networked device installation
KR100506694B1 (en) Method for detecting and regulating identifier overlap on network, electronic appliance connected to the subnet
EP1570576B1 (en) Method for setting home code of home network system
KR100506693B1 (en) Method for joining node into subnet of power line communication network, electronic appliance connected to subnet
KR100515476B1 (en) Power line communication network, subnet, method for setting up the subnet and, electronic appliance connected to the same
CN113781677A (en) Method for replacing intelligent door lock and cloud platform
KR100674756B1 (en) Method for setting a home code in home network system
JP6954071B2 (en) Network monitoring equipment and methods
US20040066272A1 (en) House code assigning device for assigning house code to electronic equipment
TWI470441B (en) Method and system of intelligent address allocation based on tandem bus
KR20050029800A (en) Network connection control method

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated 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: 20130515

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20140620

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20150702

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee