KR20120133623A - Method for meter registration - Google Patents

Method for meter registration Download PDF

Info

Publication number
KR20120133623A
KR20120133623A KR1020110052356A KR20110052356A KR20120133623A KR 20120133623 A KR20120133623 A KR 20120133623A KR 1020110052356 A KR1020110052356 A KR 1020110052356A KR 20110052356 A KR20110052356 A KR 20110052356A KR 20120133623 A KR20120133623 A KR 20120133623A
Authority
KR
South Korea
Prior art keywords
meter
data
meters
discovery
unregistered
Prior art date
Application number
KR1020110052356A
Other languages
Korean (ko)
Other versions
KR101791693B1 (en
Inventor
유세현
김권준
전경석
이수묵
Original Assignee
한국전력공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전력공사 filed Critical 한국전력공사
Priority to KR1020110052356A priority Critical patent/KR101791693B1/en
Publication of KR20120133623A publication Critical patent/KR20120133623A/en
Application granted granted Critical
Publication of KR101791693B1 publication Critical patent/KR101791693B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • G08C19/02Electric signal transmission systems in which the signal transmitted is magnitude of current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE: A meter registration method is provided to shorten the time required for registering a newly connected meter as only an unregistered meter responds to a registration request according to a register flag by defining the register flag. CONSTITUTION: A data concentration device transmits discovery request packets to a first meter, a second meter, a third meter, and a fourth meter by broadcasting the discovery request packets(S100). The first meter transmits a discovery response packet including a serial number and a meter address of the first meter to the data concentration device through a first time slot(S110). The fourth meter transmits a discovery response packet including a serial number and a meter address of the fourth meter to the data concentration device through a second time slot(S120). The data concentration device stores serial numbers and meter addresses of the first meter and the fourth meter included in the discovery response packets received from the first and the fourth response packets in order to register an unregistered meter(S130). [Reference numerals] (AA) Data concentration device; (BB) First meter(unregistered); (CC) Second meter(registered); (DD) Third meter(registered); (EE) Fourth meter(unregistered); (S100) Broadcasting a discovery request packet; (S110) Discovery response packet(a first time slot); (S120) Discovery response packet(a second time slot); (S130) Registering an unregistered meter

Description

계량기 등록 방법{METHOD FOR METER REGISTRATION}How to register a meter {METHOD FOR METER REGISTRATION}

본 발명은 계량기 등록 방법에 관한 것이다. 보다 상세하게, 본 발명은 데이터집중장치에 연결된 계량기들 중 미등록 계량기를 등록하기 위한 계량기 등록 방법에 관한 것이다.The present invention relates to a meter registration method. More particularly, the present invention relates to a meter registration method for registering an unregistered meter among meters connected to a data intensive device.

집합형 연결 방식을 따르는 알에스-485(RS-485) 네트워크는 물리적으로 버스(BUS) 또는 데이지 체인(Daisy Chain)과 같이 단일 통신선에 다수의 단말이 연결되어 있기 때문에, 네트워크에서 발생하는 통신의 충돌 또는 네트워크가 통신중임을 감지하기 위해서는 데이터 링크 계층 이상의 프로토콜에서 해당 기능을 부여해야 한다.RS-485 network, which is a collective connection method, is connected to a single communication line such as a bus or daisy chain. In order to detect a collision or a network in communication, the corresponding function must be granted in a protocol higher than the data link layer.

원격검침을 위한 전자식 계량기는 국제표준인 DLMS/COSEM(Device Language Message Specification/COmpanion Specification for Energy Metering) 방식을 사용하고 있다.Electronic meter for remote metering uses DLMS / COSEM (Device Language Message Specification / Companion Specification for Energy Metering).

이때, 계량기들이 RS-485 네트워크에 연결된 경우, 데이터집중장치(DCU), 모뎀 등과 같이 계량기에 접속하는 접속기기는 DLMS/COSEM 방식에 따라 연결된 계량기의 주소를 미리 가지고 있어야만 계량기에 접속할 수 있다는 문제점이 있다.In this case, when the meters are connected to the RS-485 network, the connected device that connects the meter, such as a data concentrator (DCU) and a modem, can access the meter only if it has the address of the connected meter according to the DLMS / COSEM method in advance. have.

종래에는, 모뎀이 RS-485 네트워크에 연결된 계량기들의 가능한 모든 주소를 호출하여 응답하는 계량기의 주소를 선별한 후, 새로 연결된 계량기를 등록하였다.Conventionally, a modem selects the addresses of responding meters by calling all possible addresses of meters connected to the RS-485 network, and then registers the newly connected meters.

하지만, 종래에 따르면, 새로 연결된 계량기를 등록할 때마다 이미 등록된 계량기들의 주소를 모두 호출하고 응답대기 해야 하기 때문에, 새로 연결된 계량기를 등록하기 위해 긴 시간이 소요되는 문제점이 있다.However, according to the related art, each time a user registers a newly connected meter, the address of all the registered meters must be called and a response is waited. Therefore, a long time is required to register a newly connected meter.

또한, 모뎀에서 종래에 따른 방법을 구현하기 위해서는 프로세서, 메모리 및 구동 소프트웨어 등이 구비되어야 하기 때문에, 모뎀의 단가가 상승하는 문제점이 있다.In addition, since a modem, a processor, a memory, driving software, and the like must be provided to implement the conventional method in the modem, there is a problem in that the cost of the modem increases.

본 발명의 목적은, 데이터집중장치에서 새로 연결된 계량기의 주소를 등록할 때, 이미 등록된 계량기들을 제외하고 새로 연결된 계량기에서만 등록 요청에 응답할 수 있는 계량기 등록 방법을 제공하는 것이다.SUMMARY OF THE INVENTION An object of the present invention is to provide a meter registration method capable of responding to a registration request only in a newly connected meter except for already registered meters when registering an address of a newly connected meter in a data intensive device.

본 발명의 특징에 따른 계량기 등록 방법은 DLMS 프로토콜을 따르는 복수 개의 계량기들 중 데이터집중장치에 등록되지 않은 계량기를 검색하기 위한 제1 디스커버리 요청 패킷을 HDLC 프로토콜에 따라 브로드캐스팅하는 단계, 복수 개의 계량기들 중 일부의 미등록 계량기들로부터 서로 다른 타임 슬롯을 통해 복수 개의 디스커버리 응답 패킷들을 수신하는 단계, 복수 개의 디스커버리 응답 패킷들 각각에 포함된 계량기 주소 및 계량기 일련번호를 저장하여 일부의 미등록 계량기들을 등록하는 단계, 그리고 일부의 미등록 계량기들 각각의 레지스터 플래그를 갱신하기 위한 설정 요청을 일부의 미등록 계량기들로 전송하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of registering a meter according to a HDLC protocol, by broadcasting a first discovery request packet for searching for a meter not registered in a data intensive device among a plurality of meters conforming to a DLMS protocol. Receiving a plurality of discovery response packets through different time slots from some of the unregistered meters, and registering some unregistered meters by storing a meter address and a meter serial number included in each of the plurality of discovery response packets And sending a set request to some unregistered meters to update a register flag of each of the some unregistered meters.

본 발명의 다른 특징에 따른 계량기 등록 방법은 데이터집중장치로부터 수신된 디스커버리 요청 패킷에 따라 미리 저장된 레지스터 플래그를 확인하여 데이터집중장치에 대한 등록 여부를 판단하는 단계, 등록 여부를 판단한 결과가 미등록이면 하나 이상의 난수를 이용하여 미리 설정된 복수 개의 타임 슬롯들 중 어느 하나의 타임 슬롯을 통해 미리 저장된 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 HDLC 프로토콜에 따라 데이터집중장치로 전송하는 단계, 그리고 데이터집중장치로부터 수신되는 설정 요청에 따라 레지스터 플래그를 갱신하는 단계를 포함한다.Meter registration method according to another aspect of the present invention is to check the register flag stored in advance according to the discovery request packet received from the data intensive device to determine whether to register with the data intensive device, if the result of the registration is unregistered one Using the above random number, transmitting a discovery response packet including a meter address and a meter serial number previously stored in any one of a plurality of preset time slots to a data concentrator according to the HDLC protocol, and then data concentration Updating the register flag in accordance with a setup request received from the device.

본 발명의 특징에 따르면, 계량기에 등록 여부를 표시하는 레지스터 플래그를 정의하여 레지스터 플래그에 따라 미등록 계량기만이 등록 요청에 응답하게 함으로써, 새로 연결된 계량기에 대한 등록에 소요되는 시간을 단축할 수 있는 효과가 있다.According to a feature of the present invention, by defining a register flag indicating whether or not to register with the meter, so that only the unregistered meter responds to the registration request according to the register flag, it is possible to shorten the time required to register the newly connected meter. There is.

또한, 미등록 계량기들이 서로 다른 타임 슬롯을 통해 계량기 정보를 전송하도록 함으로써, 계량기들간의 패킷 충돌을 회피할 수 있는 효과가 있다.In addition, by having the unregistered meters transmit the meter information through different time slots, there is an effect that can avoid packet collision between the meters.

도 1은 본 발명의 실시 예에 따른 계량기 등록 시스템의 구성을 도시한 도면이다.
도 2는 본 발명의 실시 예에 따른 계량기 등록 방법을 도시한 도면이다.
도 3은 본 발명의 실시 예에 따른 데이터집중장치가 수행하는 계량기 등록 방법을 도시한 도면이다.
도 4는 본 발명의 실시 예에 따른 계량기가 수행하는 계량기 등록 방법을 도시한 도면이다.
도 5는 본 발명의 실시 예에 따른 HDLC 프로토콜에 대응되는 HDLC 패킷의 구조를 도시한 도면이다.
도 6은 본 발명의 실시 예에 따른 제어 필드의 명령어 리스트를 도시한 도면이다.
도 7은 본 발명의 실시 예에 따른 디스커버리 요청 패킷의 구조를 도시한 도면이다.
도 8은 본 발명의 실시 에에 따른 디스커버리 응답 패킷의 구조를 도시한 도면이다.
도 9는 본 발명의 실시 예에 따른 계량기의 데이터 테이블을 도시한 도면이다.
도 10은 본 발명의 실시 예에 따른 레지스터 플래그의 데이터 형식 테이블을 도시한 도면이다.
도 11은 본 발명의 제1 실시 예에 따른 난수의 데이터 형식 테이블을 도시한 도면이다.
도 12는 본 발명의 제2 실시 예에 따른 난수의 데이터 형식 테이블을 도시한 도면이다.
1 is a diagram showing the configuration of a meter registration system according to an embodiment of the present invention.
2 is a diagram illustrating a meter registration method according to an embodiment of the present invention.
3 is a diagram illustrating a meter registration method performed by a data intensive device according to an embodiment of the present invention.
4 is a diagram illustrating a meter registration method performed by a meter according to an embodiment of the present invention.
5 is a diagram illustrating a structure of an HDLC packet corresponding to an HDLC protocol according to an embodiment of the present invention.
6 is a diagram illustrating an instruction list of a control field according to an embodiment of the present invention.
7 is a diagram illustrating a structure of a discovery request packet according to an embodiment of the present invention.
8 is a diagram illustrating a structure of a discovery response packet according to an embodiment of the present invention.
9 is a diagram illustrating a data table of a meter according to an embodiment of the present invention.
10 is a diagram illustrating a data format table of a register flag according to an embodiment of the present invention.
11 is a diagram illustrating a data format table of random numbers according to a first embodiment of the present invention.
12 is a diagram illustrating a data format table of random numbers according to a second embodiment of the present invention.

본 발명을 첨부된 도면을 참고하여 상세히 설명하면 다음과 같다. 여기서, 반복되는 설명, 본 발명의 요지를 불필요하게 흐릴 수 있는 고지 기능, 및 구성에 대한 상세한 설명은 생략한다. 본 발명의 실시형태는 해당 기술분야에서 평균적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해서 제공되는 것이다. 따라서, 도면에서의 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. Here, the repeated description, the notification function that may unnecessarily obscure the gist of the present invention, and the detailed description of the configuration will be omitted. Embodiments of the present invention are provided to more completely explain the present invention to those skilled in the art. Accordingly, the shape and size of elements in the drawings may be exaggerated for clarity.

이하에서는 도면을 참고하여 본 발명의 실시 예에 따른 계량기 등록 방법에 대해 설명한다.
Hereinafter, a meter registration method according to an embodiment of the present invention will be described with reference to the drawings.

먼저, 도 1을 참고하여 본 발명의 실시 예에 따른 계량기 등록 시스템에 대해 설명한다.First, a meter registration system according to an embodiment of the present invention will be described with reference to FIG. 1.

도 1은 본 발명의 실시 예에 따른 계량기 등록 시스템의 구성을 도시한 도면이다.1 is a diagram showing the configuration of a meter registration system according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 계량기 등록 시스템(100)은 데이터집중장치(Data Concentration Unit, 이하에서는 'DCU'라고도 함)(110) 및 복수 개의 계량기들(130)을 포함하며, 복수 개의 계량기들(130) 중에서 데이터집중장치(110)에 등록되지 않은 계량기를 데이터집중장치(110)에 등록시키기 위한 시스템이다. 이때, 하나의 데이터집중장치(110)에는 32개의 계량기들이 연결될 수 있고, 복수 개의 계량기들(130)은 제1 계량기(131), 제2 계량기(132), 제3 계량기(133) 및 제4 계량기(134)를 포함할 수 있다.As shown in FIG. 1, the meter registration system 100 includes a data concentration unit (hereinafter referred to as a “DCU”) 110 and a plurality of meters 130, and a plurality of meters. It is a system for registering the meter not registered in the data intensive device 110 among the data intensive device 110. In this case, 32 meters may be connected to one data concentrator 110, and the plurality of meters 130 may include a first meter 131, a second meter 132, a third meter 133, and a fourth meter. Meter 134 may be included.

여기서, 데이터집중장치(110)와 복수 개의 계량기들(130)은 알에스-485(이하에서는 'RS-485'라고도 함) 네트워크를 통해 멀티포인트(multipoint)로 연결되며, 데이터집중장치(110)와 복수 개의 계량기들(130)간의 프로토콜은 원격검침용 통신 프로토콜에 해당하는 디엘엠에스(Device Language Message Specification, 이하에서는 'DLMS'라고도 함) 프로토콜을 따를 수 있다.Here, the data intensive device 110 and the plurality of meters 130 are connected in a multipoint through an RS-485 (hereinafter referred to as RS-485) network, and the data intensive device 110 The protocol between the plurality of meters 130 may follow a Device Language Message Specification (hereinafter, referred to as DLMS) protocol corresponding to a communication protocol for remote meter reading.

또한, 데이터집중장치(110)와 복수 개의 계량기들(130)은 DLMS 프로토콜의 하위 프로토콜인 하이레벨 데이터 링크 컨트롤(High-level Data Link Control, 이하에서는 'HDLC'라고도 함) 프로토콜에 따라 패킷을 전송할 수 있다.In addition, the data intensive device 110 and the plurality of meters 130 transmit packets according to a high-level data link control (hereinafter referred to as HDLC) protocol, which is a sub-protocol of the DLMS protocol. Can be.

데이터집중장치(110)는 미리 설정된 프로토콜 명령어에 따라 복수 개의 계량기들(110) 중에서 미등록 계량기를 검색하기 위한 디스커버리 요청 패킷(discovery request packet)을 브로드캐스팅(broadcasting) 하여 디스커버리 요청 패킷을 복수 개의 계량기들(110)로 전송한다. 여기서, 데이터집중장치(110)는 미리 설정된 프로토콜 명령어에 해당하는 디스커버리 요청 메시지(discovery request message)에 따라 디스커버리 요청 패킷을 생성할 수 있다.The data concentrator 110 broadcasts a discovery request packet for searching for an unregistered meter among the plurality of meters 110 according to a preset protocol command and transmits the discovery request packet to the plurality of meters. Transmit to 110. Here, the data intensive device 110 may generate a discovery request packet according to a discovery request message corresponding to a preset protocol command.

또한, 데이터집중장치(110)는 미등록 계량기로부터 수신되는 디스커버리 응답 패킷(discovery response packet)을 이용하여 미등록 계량기에 대한 등록을 수행한다. 여기서, 데이터집중장치(110)는 디스커버리 응답 패킷에 포함된 계량기 주소(meter address) 및 계량기 일련번호(meter serial number)를 저장함으로써 미등록 계량기에 대한 등록을 완료할 수 있다.In addition, the data intensive device 110 registers the unregistered meter by using a discovery response packet received from the unregistered meter. Here, the data intensive device 110 may complete registration for an unregistered meter by storing a meter address and a meter serial number included in the discovery response packet.

또한, 데이터집중장치(110)는 디스커버리 응답 패킷에 의해 등록이 완료된 계량기로 레지스터 플래그에 대한 설정 요청을 전송한다. 여기서, 데이터집중장치(110)는 등록이 완료된 계량기에 접속하여 해당 계량기의 등록 여부를 나타내는 레지스터 플래그(register flag)를 갱신할 수 있다.In addition, the data intensive device 110 transmits a request for setting a register flag to a meter that is registered by the discovery response packet. Here, the data intensive device 110 may access a registered meter and update a register flag indicating whether the corresponding meter is registered.

복수 개의 계량기들(130) 각각은 데이터집중장치(110)로부터 수신되는 디스커버리 요청 패킷에 따라 해당 계량기의 레지스터 플래그를 확인하여 데이터집중장치(110)에 대한 해당 계량기의 등록 또는 미등록을 판단한다.Each of the plurality of meters 130 checks a register flag of the corresponding meter according to the discovery request packet received from the data intensive device 110 to determine whether the corresponding meter is registered or unregistered with respect to the data intensive device 110.

또한, 복수 개의 계량기들(130) 각각은 해당 계량기가 미등록으로 판단되면 미리 설정된 프로토콜 명령어에 따라 해당 계량기에 대한 등록을 요청하기 위한 디스커버리 응답 패킷을 유니캐스트(unicast) 하여 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다. 여기서, 복수 개의 계량기들(130) 각각은 미리 설정된 프로토콜 명령어에 해당하는 디스커버리 응답 메시지(discovery response message)에 따라 해당 계량기의 계량기 주소 및 계량기 일련번호를 이용하여 디스커버리 응답 패킷을 생성할 수 있다.In addition, each of the plurality of meters 130 unicast the discovery response packet for requesting registration with respect to the meter according to a preset protocol command, if the meter is determined to be unregistered, the data intensive device Transmit to 110. Here, each of the plurality of meters 130 may generate a discovery response packet using a meter address and a meter serial number of the corresponding meter according to a discovery response message corresponding to a preset protocol command.

또한, 복수 개의 계량기들(130) 각각은 데이터집중장치(110)로부터 수신되는 설정 요청에 따라 해당 계량기의 레지스터 플래그를 갱신한다. 여기서, 레지스터 플래그는 해당 계량기의 등록 또는 미등록을 나타내며, 등록된 계량기의 레지스터 플래그는 "1"의 값을 가질 수 있고, 미등록된 계량기의 레지스터 플래그는 "0"의 값을 가질 수 있다.
In addition, each of the plurality of meters 130 updates the register flag of the corresponding meter according to a setting request received from the data intensive device 110. Here, the register flag may indicate registration or non-registration of the corresponding meter, the register flag of the registered meter may have a value of "1", and the register flag of the unregistered meter may have a value of "0".

다음, 도 2를 참고하여 본 발명의 실시 예에 따른 계량기 등록 시스템이 미등록 계량기를 등록하는 방법에 대해 설명한다.Next, a method of registering a non-registered meter by a meter registration system according to an embodiment of the present invention will be described with reference to FIG. 2.

도 2는 본 발명의 실시 예에 따른 계량기 등록 방법을 도시한 도면이다.2 is a diagram illustrating a meter registration method according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 먼저, 데이터집중장치(110)는 디스커버리 요청 패킷을 브로드캐스팅하여 디스커버리 요청 패킷을 제1 계량기(131), 제2 계량기(132), 제3 계량기(133) 및 제4 계량기(134)로 전송한다(S100).As shown in FIG. 2, first, the data concentrator 110 broadcasts a discovery request packet and transmits the discovery request packet to the first meter 131, the second meter 132, the third meter 133, and the first meter. 4 is transmitted to the meter 134 (S100).

다음, 제1 계량기(131)는 제1 타임 슬롯을 통해 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S110).Next, the first meter 131 transmits a discovery response packet including a meter address and a meter serial number of the first meter 131 to the data concentrator 110 through the first time slot (S110).

이후, 제4 계량기(134)는 제2 타임 슬롯을 통해 제4 계량기(134)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S120).Thereafter, the fourth meter 134 transmits the discovery response packet including the meter address and the meter serial number of the fourth meter 134 to the data concentrator 110 through the second time slot (S120).

다음, 데이터집중장치(110)는 제1 계량기(131) 및 제4 계량기(134)로부터 수신된 디스커버리 응답 패킷들에 포함된 제1 계량기(131) 및 제4 계량기(134) 각각의 계량기 주소 및 계량기 일련번호를 저장하여 미등록 계량기를 등록한다(S130).Next, the data concentrator 110 may include a meter address of each of the first meter 131 and the fourth meter 134 included in discovery response packets received from the first meter 131 and the fourth meter 134. Register the unregistered meter by storing the meter serial number (S130).

여기서, 제1 계량기(131)와 제4 계량기(134)는 데이터집중장치(110)에 미등록된 계량기이고, 제2 계량기(132)와 제3 계량기(133)는 데이터집중장치(110)에 등록된 계량기이기 때문에, 제1 계량기(131)와 제4 계량기(134)만이 디스커버리 요청 패킷에 응답하여 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다.Here, the first meter 131 and the fourth meter 134 are meters that are not registered in the data concentrator 110, and the second meter 132 and the third meter 133 are registered in the data concentrator 110. Since the first meter 131 and the fourth meter 134 only transmit the discovery response packet to the data concentrator 110 in response to the discovery request packet.

이와 같이, 미등록 계량기만이 응답하게 함으로써, 등록 여부와 상관없이 데이터집중장치(110)에 연결된 모든 계량기들로부터 응답을 수신하여 미등록 계량기를 등록하는 종래에 비해 등록에 소요되는 시간을 단축할 수 있는 효과가 있다.As such, by allowing only the unregistered meter to respond, the time required for registration can be shortened as compared with the conventional method of registering a non-registered meter by receiving a response from all meters connected to the data intensive device 110 regardless of whether or not it is registered. It works.

또한, 제1 계량기(131)와 제4 계량기(134)는 서로 다른 타임 슬롯을 통해 디스커버리 응답 패킷을 전송하기 때문에, 제1 계량기(131)와 제4 계량기(134)간의 패킷 충돌을 회피할 수 있는 효과가 있다.
In addition, since the first meter 131 and the fourth meter 134 transmit the discovery response packet through different time slots, packet collision between the first meter 131 and the fourth meter 134 may be avoided. It has an effect.

다음, 도 3을 참고하여 본 발명의 실시 예에 따른 계량기 등록 시스템의 데이터집중장치가 수행하는 계량기 등록 방법에 대해 설명한다.Next, a meter registration method performed by the data intensive device of the meter registration system according to an embodiment of the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 실시 예에 따른 데이터집중장치가 수행하는 계량기 등록 방법을 도시한 도면이다.3 is a diagram illustrating a meter registration method performed by a data intensive device according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 먼저, 데이터집중장치(110)는 네트워크 상에 연결된 모든 계량기들 중에서 미등록 계량기를 검색하기 위해 디스커버리 요청 메시지에 따라 순서 표시수(Order Indicating Number, 이하에서는 'OIN'이라고도 함)를 결정하여, 순서 표시수(OIN)를 포함하는 디스커버리 요청 패킷을 생성한다(S200). 여기서, 데이터집중장치(110)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수에 따라 순서 표시수(OIN)를 결정할 수 있으며, 이와 같은 순서 표시수(OIN)는 미등록 계량기가 응답 여부를 결정할 때 임계치로 이용될 수 있다.As shown in FIG. 3, first, the data concentrator 110 may also refer to an order indicating number (OIN) hereinafter according to a discovery request message to search for an unregistered meter among all meters connected on a network. In operation S200, a discovery request packet including an order indication number OIN is generated. Here, the data intensive device 110 may determine the number of order indications OIN according to the maximum number of connections of the meter connected to the data intensive device 110, and the number of order indications OIN may be determined by an unregistered meter. Can be used as a threshold when determining.

예를 들어, 데이터집중장치(110)는 최대 연결 개수가 32개이면 순서 표시수(OIN)를 최대 연결 개수의 절반에 해당하는 "16"으로 결정할 수 있다.For example, when the maximum number of connections is 32, the data intensive device 110 may determine the order indication number OIN as "16" corresponding to half of the maximum number of connections.

다음, 데이터집중장치(110)는 디스커버리 요청 패킷을 복수 개의 계량기들(130)로 전송한다(S210).Next, the data intensive device 110 transmits the discovery request packet to the plurality of meters 130 (S210).

이후, 데이터집중장치(110)는 미리 정해진 시간 동안 미등록 계량기들로부터 디스커버리 응답 패킷들을 수신한다(S220). 여기서, 데이터집중장치(110)는 검색 요청 패킷을 전송한 후부터 1000 밀리초까지의 시간 동안 디스커버리 응답 패킷들을 수신할 수 있다. 이때, 디스커버리 응답 패킷들 각각은 계량기 주소 및 계량기 일련번호를 포함할 수 있다.Thereafter, the data intensive device 110 receives discovery response packets from unregistered meters for a predetermined time (S220). Here, the data intensive device 110 may receive discovery response packets for a time up to 1000 milliseconds after transmitting the search request packet. In this case, each discovery response packet may include a meter address and a meter serial number.

예를 들어, 데이터집중장치(110)는 제1 계량기(131)로부터 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 포함하는 제1 디스커버리 응답 패킷을 수신한 후, 제4 계량기(134)로부터 제4 계량기(134)의 계량기 주소 및 계량기 일련번호를 포함하는 제4 디스커버리 응답 패킷을 수신할 수 있다.For example, the data concentrator 110 receives the first discovery response packet including the meter address and the meter serial number of the first meter 131 from the first meter 131, and then the fourth meter 134. From the fourth discovery response packet including the meter address of the fourth meter 134 and the meter serial number.

다음, 데이터집중장치(110)는 디스커버리 응답 패킷들에 포함된 미등록 계량기들 각각의 계량기 주소 및 계량기 일련번호를 저장하여 미등록 계량기들을 등록한다(S230).Next, the data intensive device 110 registers unregistered meters by storing a meter address and a meter serial number of each of the unregistered meters included in the discovery response packets (S230).

예를 들어, 데이터집중장치(110)는 제1 디스커버리 응답 패킷에 포함된 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 저장하여 제1 계량기(131)에 대한 계량기 등록을 수행하고, 제4 검색 응답 패킷에 포함된 제4 계량기(134)의 계량기 주소 및 계량기 일련번호를 저장하여 제4 계량기(134)에 대한 계량기 등록을 수행할 수 있다.For example, the data concentrator 110 stores a meter address and a meter serial number of the first meter 131 included in the first discovery response packet to register the meter with respect to the first meter 131. Meter registration of the fourth meter 134 may be performed by storing the meter address and the meter serial number of the fourth meter 134 included in the 4 search response packet.

이후, 데이터집중장치(110)는 등록된 계량기들 각각의 레지스터 플래그를 갱신하기 위한 설정 요청을 등록된 계량기들로 전송한다(S240).Thereafter, the data intensive device 110 transmits a setting request for updating a register flag of each registered meters to the registered meters (S240).

여기서, 데이터집중장치(110)는 도 3에 도시된 계량기 등록 방법에 따른 절차를 복수 회 반복 실시하여 복수 개의 계량기들(130)에 포함된 모든 미등록 계량기들이 등록될 수 있도록 할 수 있다.Here, the data intensive device 110 may repeat the procedure according to the meter registration method illustrated in FIG. 3 a plurality of times so that all unregistered meters included in the plurality of meters 130 may be registered.

또한, 데이터집중장치(110)는 도 3에 도시된 계량기 등록 방법에 따른 절차를 복수 회 반복 실시한 후, 최대 연결 개수보다 큰 값을 가지는 순서 표시수(OIN)를 포함하는 디스커버리 요청 패킷을 복수 개의 계량기들(130)로 전송함으로써, 미등록 계량기들이 모두 등록되도록 할 수 있다.
In addition, the data intensive device 110 repeats the procedure according to the meter registration method illustrated in FIG. 3 a plurality of times, and then includes a plurality of discovery request packets including an order indication number OIN having a value greater than the maximum number of connections. By sending to the meters 130, all unregistered meters can be registered.

다음, 도 4를 참고하여 본 발명의 실시 예에 따른 계량기 등록 시스템의 계량기가 수행하는 계량기 등록 방법에 대해 설명한다.Next, a meter registration method performed by a meter in a meter registration system according to an embodiment of the present invention will be described with reference to FIG. 4.

도 4는 본 발명의 실시 예에 따른 계량기가 수행하는 계량기 등록 방법을 도시한 도면이다.4 is a diagram illustrating a meter registration method performed by a meter according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 먼저, 복수 개의 계량기들(130) 각각은 데이터집중장치(110)로부터 순서 표시수(OIN)를 포함하는 디스커버리 요청 패킷을 수신한다(S300). 여기서, 복수 개의 계량기들(130)이 동일한 절차에 따라 계량기 등록 방법을 수행하기 때문에, 이하에서는 제1 계량기(131)에 대해서만 설명하지만 복수 개의 계량기들(130)도 동일한 절차를 수행한다. 또한, 데이터집중장치(110)에 연결될 수 있는 계량기의 최대 연결 개수가 32개인 경우에 대해 설명한다.As shown in FIG. 4, first, each of the plurality of meters 130 receives a discovery request packet including an order indication number OIN from the data intensive device 110 (S300). Here, since the plurality of meters 130 perform the meter registration method according to the same procedure, only the first meter 131 will be described below, but the plurality of meters 130 also perform the same procedure. In addition, a case in which the maximum number of connections of the meter that can be connected to the data intensive device 110 is 32 will be described.

다음, 제1 계량기(131)는 디스커버리 요청 패킷에 따라 제1 계량기(131)의 레지스터 플래그의 값을 확인하여 제1 계량기(131)가 데이터집중장치(110)에 등록되었는지를 판단한다(S305). 여기서, 제1 계량기(131)는 레지스터 플래그가 "0"의 값을 가지면 제1 계량기(131)를 미등록 계량기로 판단할 수 있고, 레지스터 플래그가 "1"의 값을 가지면 제1 계량기(131)를 등록 계량기로 판단할 수 있다.Next, the first meter 131 checks the value of the register flag of the first meter 131 according to the discovery request packet to determine whether the first meter 131 is registered in the data concentrator 110 (S305). . Here, the first meter 131 may determine the first meter 131 as an unregistered meter if the register flag has a value of "0", and the first meter 131 if the register flag has a value of "1". Can be determined as a registered meter.

제1 계량기(131)가 등록되었는지를 판단한 결과, 제1 계량기(131)가 등록되지 아니한 미등록 계량기인 경우, 제1 계량기(131)는 제1 난수(Random Number 1, 이하에서는 'RN1'이라고도 함)를 생성한다(S310). 여기서, 제1 계량기(131)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수에 따라 1이상 32이하의 정수 중에서 제1 난수(RN1)를 결정할 수 있다.As a result of determining whether the first meter 131 is registered, when the first meter 131 is an unregistered meter that is not registered, the first meter 131 is also called a first random number (Random Number 1, hereinafter referred to as 'RN1'). ) Is generated (S310). Here, the first meter 131 may determine the first random number RN1 from 1 to 32 integers according to the maximum number of connections of the meter connected to the data concentrator 110.

이후, 제1 계량기(131)는 제1 난수(RN1)를 순서 표시수(OIN)와 비교하여, 제1 난수(RN1)가 순서 표시수(OIN)보다 작은지를 판단한다(S315). 여기서, 순서 표시수(OIN)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수의 절반에 해당하는 "16"에 해당할 수 있다.Thereafter, the first meter 131 compares the first random number RN1 with the order indication number OIN to determine whether the first random number RN1 is smaller than the order indication number OIN (S315). Here, the order indication number OIN may correspond to “16” corresponding to half of the maximum connection number of the meter connected to the data concentrator 110.

제1 난수(RN1)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제1 난수(RN1)가 순서 표시수(OIN)보다 작은 경우, 제1 계량기(131)는 제2 난수(Random Number 2, 이하에서는 'RN2'이라고도 함)를 생성한다(S320). 여기서, 제1 계량기(131)는 1이상 32이하의 정수 중에서 제2 난수(RN2)를 결정할 수 있다.As a result of determining whether the first random number RN1 is smaller than the order indication number OIN, when the first random number RN1 is smaller than the order indication number OIN, the first meter 131 determines the second random number 2 (Random Number 2). , Hereinafter also referred to as 'RN2' (S320). Here, the first meter 131 may determine the second random number RN2 among integers of 1 or more and 32 or less.

다음, 제1 계량기(131)는 제2 난수(RN2)를 순서 표시수(OIN)와 비교하여, 제2 난수(RN2)가 순서 표시수(OIN)보다 작은지를 판단한다(S325).Next, the first meter 131 compares the second random number RN2 with the order indication number OIN, and determines whether the second random number RN2 is smaller than the order indication number OIN (S325).

제2 난수(RN2)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제2 난수(RN2)가 순서 표시수(OIN)보다 작은 경우, 제1 계량기(131)는 제3 난수(Random Number 3, 이하에서는 'RN3'이라고도 함)를 생성한다(S330). 여기서, 제1 계량기(131)는 1이상 32이하의 정수 중에서 제3 난수(RN3)를 결정할 수 있다.As a result of determining whether the second random number RN2 is smaller than the order indication number OIN, when the second random number RN2 is smaller than the order indication number OIN, the first meter 131 determines the third random number 3. , Also referred to as 'RN3' below (S330). Here, the first meter 131 may determine the third random number RN3 among integers of 1 or more and 32 or less.

이후, 제1 계량기(131)는 제3 난수(RN3)를 순서 표시수(OIN)와 비교하여, 제3 난수(RN3)가 순서 표시수(OIN)보다 작은지를 판단한다(S335).Thereafter, the first meter 131 compares the third random number RN3 with the order indication number OIN to determine whether the third random number RN3 is smaller than the order indication number OIN (S335).

제3 난수(RN3)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제3 난수(RN3)가 순서 표시수(OIN)보다 작은 경우, 제1 계량기(131)는 제4 난수(Random Number 4, 이하에서는 'RN4'이라고도 함)를 생성한다(S340). 여기서, 제1 계량기(131)는 미리 설정된 타임 슬롯의 개수에 따라 1이상 5이하의 정수 중에서 제4 난수(RN4)를 결정할 수 있다.As a result of determining whether the third random number RN3 is smaller than the order indication number OIN, when the third random number RN3 is smaller than the order indication number OIN, the first meter 131 determines the fourth random number 4. , Hereinafter also referred to as 'RN4' (S340). Here, the first meter 131 may determine the fourth random number RN4 among integers of 1 or more and 5 or less according to the preset number of time slots.

다음, 제1 계량기(131)는 미리 설정된 복수 개의 타임 슬롯들 중 어느 하나를 통해 데이터집중장치(110)로 응답하기 위해 제4 난수를 이용하여 응답지연시간을 결정한다(S345). 여기서, 제1 계량기(131)는 응답지연시간에 따라 응답하여 특정 타임 슬롯을 통해 응답할 수 있고, 이를 통해 제1 계량기(131)와 다른 계량기간의 패킷 충돌을 회피할 수 있는 효과가 있다.Next, the first meter 131 determines the response delay time using the fourth random number to respond to the data intensive device 110 through any one of a plurality of preset time slots (S345). Here, the first meter 131 may respond through a specific time slot in response to the response delay time, thereby avoiding a packet collision between the first meter 131 and another metering period.

이후, 제1 계량기(131)는 결정된 응답지연시간에 따라 복수 개의 타임 슬롯들 중 어느 하나의 타임 슬롯을 통해 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S350).Subsequently, the first meter 131 concentrates the discovery response packet including the meter address and the meter serial number of the first meter 131 through one of the time slots according to the determined response delay time. Transmitting to the device 110 (S350).

다음, 제1 계량기(131)는 데이터집중장치(110)로부터 제1 계량기(131)의 레지스터 플래그를 갱신할 것을 요청하는 설정 요청을 수신한다(S355). 여기서, 데이터집중장치(110)는 제1 계량기(131)에 대한 등록이 완료되면 제1 계량기(131)의 레지스터 플래그를 갱신할 것을 요청하는 설정 요청을 전송할 수 있다.Next, the first meter 131 receives a setting request for updating the register flag of the first meter 131 from the data concentrator 110 (S355). Here, when the registration for the first meter 131 is completed, the data intensive device 110 may transmit a setting request for requesting to update a register flag of the first meter 131.

이후, 제1 계량기(131)는 수신된 설정 요청에 따라 레지스터 플래그를 갱신한다(S360). 여기서, 제1 계량기(131)는 레지스터 플래그의 값을 "0"에서 "1"로 갱신할 수 있으며, 이후에는 데이터집중장치(110)로부터 수신되는 디스커버리 요청 패킷에 응답하지 않을 수 있다.Thereafter, the first meter 131 updates the register flag according to the received setting request (S360). Here, the first meter 131 may update the value of the register flag from "0" to "1", and may not respond to the discovery request packet received from the data intensive device 110.

한편, 제1 계량기(131)가 등록되었는지를 판단한 결과, 제1 계량기(131)가 등록된 등록 계량기인 경우, 제1 계량기(131)는 계량기 등록 방법에 따른 절차를 종료한다.Meanwhile, as a result of determining whether the first meter 131 is registered, when the first meter 131 is a registered registered meter, the first meter 131 ends the procedure according to the meter registration method.

한편, 제1 난수(RN1)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제1 난수(RN1)가 순서 표시수(OIN)보다 작지 아니한 경우, 제1 계량기(131)는 계량기 등록 방법에 따른 절차를 종료한다.On the other hand, as a result of determining whether the first random number RN1 is smaller than the order indication number OIN, when the first random number RN1 is not smaller than the order indication number OIN, the first meter 131 determines whether the first random number RN1 is smaller than the order indication number OIN. Terminate the procedure accordingly.

한편, 제2 난수(RN2)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제2 난수(RN2)가 순서 표시수(OIN)보다 작지 아니한 경우, 제1 계량기(131)는 계량기 등록 방법에 따른 절차를 종료한다.On the other hand, as a result of determining whether the second random number RN2 is smaller than the order indication number OIN, and when the second random number RN2 is not smaller than the order indication number OIN, the first meter 131 enters the meter registration method. Terminate the procedure accordingly.

한편, 제3 난수(RN3)가 순서 표시수(OIN)보다 작은지를 판단한 결과, 제3 난수(RN3)가 순서 표시수(OIN)보다 작지 아니한 경우, 제1 계량기(131)는 계량기 등록 방법에 따른 절차를 종료한다.On the other hand, as a result of determining whether the third random number RN3 is smaller than the order indication number OIN, and when the third random number RN3 is not smaller than the order indication number OIN, the first meter 131 enters the meter registration method. Terminate the procedure accordingly.

이와 같이, 계량기(131)가 복수 회에 걸쳐 생성된 난수들을 임계치에 해당하는 순서 표시수(OIN)과 비교함으로써, 계량기 등록 시스템(100)에서는 디스커버리 요청 패킷에 응답하는 계량기의 개수가 미리 설정된 타임 슬롯의 개수를 초과하지 않도록 할 수 있다.As described above, when the meter 131 compares the random numbers generated a plurality of times with the order indication number OIN corresponding to the threshold, the meter registration system 100 sets the number of meters in response to the discovery request packet in a preset time. The number of slots may not be exceeded.

즉, 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수가 32개일 때, 계량기에서 생성된 난수와 순서 표시수에 대한 첫 번째 비교 절차에 따라 확률적으로 최대 16개의 계량기들만이 다음 비교 절차로 넘어가고, 계량기에서 생성된 난수와 순서 표시수에 대한 두 번째 비교 절차에 따라 확률적으로 최대 8개의 계량기들만이 다음 비교 절차로 넘어가며, 계량기에서 생성된 난수와 순서 표시수에 대한 세 번째 비교 절차에 따라 확률적으로 최대 4개의 계량기들만이 남는다.That is, when the maximum number of connections of the meters connected to the data concentrator 110 is 32, according to the first comparison procedure for the random number and the order indication number generated in the meter, only 16 meters are probabilistic in the next comparison procedure. In accordance with the second comparison procedure for random numbers and sequence marks generated by the meter, only up to eight meters are passed on to the next comparison procedure, and the third for random numbers and sequence marks generated by the meter. According to the comparison procedure, only up to four meters remain.

따라서, 복수 회에 걸쳐 생성된 난수들을 순서 표시수(OIN)과 비교함으로써, 데이터집중장치(110)에 응답하는 계량기들이 하나의 타임 슬롯을 중복 사용하는 것을 방지하여 계량기들간의 패킷 충돌을 회피할 수 있는 효과가 있다.
Accordingly, by comparing the random numbers generated multiple times with the order indication number (OIN), it is possible to prevent the meters responding to the data intensive device 110 from overlapping one time slot to avoid packet collisions between the meters. It can be effective.

다음, 도 5를 참고하여 본 발명의 실시 예에 따른 HDLC 프로토콜에 대응되는 패킷 구조에 대해 설명한다.Next, a packet structure corresponding to the HDLC protocol according to an embodiment of the present invention will be described with reference to FIG. 5.

도 5는 본 발명의 실시 예에 따른 HDLC 프로토콜에 대응되는 HDLC 패킷의 구조를 도시한 도면이다.5 is a diagram illustrating a structure of an HDLC packet corresponding to an HDLC protocol according to an embodiment of the present invention.

도 5에 도시된 바와 같이, HDLC 패킷(200)은 시작 플래그 필드(Flag1)(210), 프레임 포맷 필드(Frame Format)(220), 도착 주소 필드(Destination address, 이하에서는 'Dest. address'라고도 함)(230), 소스 주소 필드(Source address, 이하에서는 'Src. address'라고도 함)(240), 제어 필드(Control)(250), 헤더 체크 시퀀스 필드(Header Check Sequence, 이하에서는 'HCS'라고도 함)(260), 정보 필드(Information)(270), 프레임 체크 시퀀스 필드(Frame Check Sequence, 이하에서는 'FCS'라고도 함)(280), 및 종료 플래그 필드(Flag2)(290)를 포함한다.As shown in FIG. 5, the HDLC packet 200 includes a start flag field (Flag 1 ) 210, a frame format field (Frame Format) 220, a destination address field (hereinafter referred to as 'Dest. Address'). 230), source address field (hereinafter referred to as 'Src. Address') 240, control field (250), header check sequence field (hereinafter referred to as 'HCS') 260, information field (Information) 270, frame check sequence field (hereinafter referred to as 'FCS') 280, and end flag field (Flag 2 ) 290 Include.

시작 플래그 필드(Flag1)(210)는 HDLC 패킷(200)의 시작을 나타내는 필드이다.The start flag field Flag 1 210 is a field indicating the start of the HDLC packet 200.

프레임 포맷 필드(Frame Format)(220)는 HDLC 패킷(200)의 프레임 포맷에 대한 정보를 포함한다.The frame format field 220 includes information about the frame format of the HDLC packet 200.

도착 주소 필드(Dest. address)(230)는 HDLC 패킷(200)의 수신측 장치의 주소를 포함한다.The destination address field (Dest. Address) 230 includes the address of the receiving device of the HDLC packet 200.

소스 주소 필드(Src. address)(240)는 HDLC 패킷(200)의 전송측 장치의 주소를 포함한다.The source address field (Src. Address) 240 includes the address of the transmitting device of the HDLC packet 200.

제어 필드(Control)(250)는 미리 예약된 프로토콜 명령어를 포함한다. 여기서, 제어 필드(Control)(250)는 디스커버리 요청 메시지 또는 디스커버리 응답 메시지를 포함할 수 있다.The control field 250 includes a protocol command reserved in advance. Herein, the control field 250 may include a discovery request message or a discovery response message.

헤더 체크 시퀀스 필드(HCS)(260)는 순환중복검사(Cyclic Redundancy Checking, 이하에서는 'CRC'라고도 함)를 위해 삽입되는 필드이다.The header check sequence field (HCS) 260 is a field inserted for cyclic redundancy checking (hereinafter also referred to as 'CRC').

정보 필드(Information)(270)는 HDLC 패킷(200)의 수신측 장치로 전송하고자 하는 정보나 데이터가 삽입되는 필드이다.The information field 270 is a field into which information or data to be transmitted to the receiving device of the HDLC packet 200 is inserted.

프레임 체크 시퀀스 필드(FCS)(280)는 HDLC 패킷(200)의 수신측 장치에서 오류 검출 및 수정을 위해 삽입되는 필드이다.The frame check sequence field (FCS) 280 is a field inserted for error detection and correction at the receiving device of the HDLC packet 200.

종료 플래그 필드(Flag2)(290)는 HDLC 패킷(200)의 종료를 나타내는 필드이다.
The end flag field (Flag 2 ) 290 is a field indicating the end of the HDLC packet 200.

다음, 도 6을 참고하여 본 발명의 실시 예에 따른 계량기 등록을 위한 프로토콜 명령어를 지정하는 방법에 대해 설명한다.Next, a method of designating a protocol command for registering a meter according to an embodiment of the present invention will be described with reference to FIG. 6.

도 6은 본 발명의 실시 예에 따른 제어 필드의 명령어 리스트를 도시한 도면이다.6 is a diagram illustrating an instruction list of a control field according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 명령어 리스트(300)는 DLMS 프로토콜의 제어 필드에서 예약되지 않은 명령어들에 대한 리스트이다.As shown in FIG. 6, the command list 300 is a list of commands not reserved in the control field of the DLMS protocol.

여기서, 디스커버리 요청 메시지와 디스커버리 응답 메시지가 중복되지 않도록, 명령어 리스트(300)에서 디스커버리 요청 메시지에 대응되는 명령어를 지정하고, 디스커버리 응답 메시지에 대응되는 명령어를 지정할 수 있다.Herein, the command corresponding to the discovery request message may be designated in the command list 300 and the command corresponding to the discovery response message may be specified so that the discovery request message and the discovery response message do not overlap.

예를 들어, 명령어 리스트(300)에 포함된 제1 명령어(0x9F)(310)가 디스커버리 요청 메시지에 대응되는 명령어로 지정될 수 있고, 명령어 리스트(300)에 포함된 제2 명령어(0xAF)(310)가 디스커버리 응답 메시지에 대응되는 명령어로 지정될 수 있다.
For example, the first command (0x9F) 310 included in the command list 300 may be designated as a command corresponding to the discovery request message, and the second command (0xAF) included in the command list 300 ( 310 may be designated as a command corresponding to the discovery response message.

다음, 도 7을 참고하여 본 발명의 실시 예에 따른 디스커버리 요청 패킷의 구조에 대해 설명한다.Next, a structure of a discovery request packet according to an embodiment of the present invention will be described with reference to FIG. 7.

도 7은 본 발명의 실시 예에 따른 디스커버리 요청 패킷의 구조를 도시한 도면이다.7 is a diagram illustrating a structure of a discovery request packet according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 디스커버리 요청 패킷(400)은 시작 플래그 필드(Flag1)(410), 프레임 포맷 필드(Frame Format)(420), 도착 주소 필드(Dest. address)(430), 소스 주소 필드(Src. address)(440), 제어 필드(Control)(450), 헤더 체크 시퀀스 필드(HCS)(460), 정보 필드(Information)(470), 프레임 체크 시퀀스 필드(FCS)(480), 및 종료 플래그 필드(Flag2)(490)를 포함한다.As shown in FIG. 7, the discovery request packet 400 includes a start flag field (Flag 1 ) 410, a frame format field (Frame Format) 420, a destination address field (Dest. Address) 430, a source. Address field (Src. Address) 440, control field (Control) 450, header check sequence field (HCS) 460, information field (Information) 470, frame check sequence field (FCS) 480 , And an end flag field (Flag 2 ) 490.

시작 플래그 필드(Flag1)(410)는 디스커버리 요청 패킷(400)의 시작을 나타내는 필드값 즉, "0x7E"를 포함한다.The start flag field (Flag 1 ) 410 includes a field value indicating the start of the discovery request packet 400, that is, "0x7E".

프레임 포맷 필드(Frame Format)(420)는 디스커버리 요청 패킷(400)의 프레임 포맷에 대한 정보를 나타내는 필드값 즉, "0xA0" 및 "0x18"을 포함한다.The frame format field (Frame Format) 420 includes field values indicating information on the frame format of the discovery request packet 400, that is, "0xA0" and "0x18".

도착 주소 필드(Dest. address)(430)는 디스커버리 요청 패킷(400)을 수신하는 계량기의 주소를 나타내는 필드값 즉, "0xFEFE" 및 "0xFEFF"를 포함한다. 여기서, 도착 주소 필드(Dest. address)(430)는 데이터집중장치(110)에 연결된 모든 계량기들에 대응되는 필드값을 가질 수 있다.The destination address field (Dest. Address) 430 includes field values indicating the address of the meter receiving the discovery request packet 400, that is, "0xFEFE" and "0xFEFF". Here, the destination address field (Dest. Address) 430 may have a field value corresponding to all meters connected to the data concentrator 110.

소스 주소 필드(Src. address)(440)는 디스커버리 요청 패킷(400)을 전송하는 데이터집중장치(110)의 주소를 나타내는 필드값 즉, "DCU address"를 포함한다.The source address field (Src. Address) 440 includes a field value indicating the address of the data concentrator 110 that transmits the discovery request packet 400, that is, a "DCU address."

제어 필드(Control)(450)는 디스커버리 요청 메시지에 대응되는 필드값 즉, "0x9F"를 포함한다.The control field 450 includes a field value corresponding to the discovery request message, that is, "0x9F".

헤더 체크 시퀀스 필드(HCS)(460)는 순환중복검사(Cyclic Redundancy Checking, 이하에서는 'CRC'라고도 함)를 위한 필드값 즉, 헤더 체크섬(Header checksum)을 포함한다.The header check sequence field (HCS) 460 includes a field value for cyclic redundancy checking (hereinafter also referred to as 'CRC'), that is, a header checksum.

정보 필드(Information)(470)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수에 따라 결정되는 순서 표시수(Order Indicating Number)를 포함한다. 여기서, 정보 필드(Information)(470)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수가 32개이면 순서 표시수(Order Indicating Number)로 "16"을 가질 수 있다.The information field 470 includes an order indicating number determined according to the maximum number of connections of the meter connected to the data intensive device 110. Herein, the information field 470 may have “16” as an order indication number when the maximum number of connections of the meter connected to the data intensive device 110 is 32.

프레임 체크 시퀀스 필드(FCS)(480)는 디스커버리 요청 패킷(400)에 대한 오류 검출 및 수정을 위한 필드값, 즉, 프레임 체크섬(Frame checksum)을 포함한다.The frame check sequence field (FCS) 480 includes a field value for error detection and correction for the discovery request packet 400, that is, a frame checksum.

종료 플래그 필드(Flag2)(490)는 디스커버리 요청 패킷(400)의 종료를 나타내는 필드값 즉, "0x7E"를 포함한다.
The end flag field Flag 2 490 includes a field value indicating the end of the discovery request packet 400, that is, "0x7E".

다음, 도 8을 참고하여 본 발명의 실시 예에 따른 디스커버리 응답 패킷의 구조에 대해 설명한다.Next, a structure of a discovery response packet according to an embodiment of the present invention will be described with reference to FIG. 8.

도 8은 본 발명의 실시 에에 따른 디스커버리 응답 패킷의 구조를 도시한 도면이다.8 is a diagram illustrating a structure of a discovery response packet according to an embodiment of the present invention.

도 8에 도시된 바와 같이, 디스커버리 응답 패킷(500)은 시작 플래그 필드(Flag1)(510), 프레임 포맷 필드(Frame Format)(520), 도착 주소 필드(Dest. address)(530), 소스 주소 필드(Src. address)(540), 제어 필드(Control)(550), 헤더 체크 시퀀스 필드(HCS)(560), 정보 필드(Information)(570), 프레임 체크 시퀀스 필드(FCS)(580), 및 종료 플래그 필드(Flag2)(590)를 포함한다.As illustrated in FIG. 8, the discovery response packet 500 includes a start flag field (Flag 1 ) 510, a frame format field (Frame Format) 520, a destination address field (Dest. Address) 530, a source. Address field (Src. Address) 540, control field (Control) 550, header check sequence field (HCS) 560, information field (Information) 570, frame check sequence field (FCS) 580 , And an end flag field (Flag 2 ) 590.

시작 플래그 필드(Flag1)(510)는 디스커버리 응답 패킷(500)의 시작을 나타내는 필드값 즉, "0x7E"를 포함한다.The start flag field (Flag 1 ) 510 includes a field value indicating the start of the discovery response packet 500, that is, "0x7E".

프레임 포맷 필드(Frame Format)(520)는 디스커버리 응답 패킷(500)의 프레임 포맷에 대한 정보를 나타내는 필드값 즉, "0xA0" 및 "0x18"을 포함한다.The frame format field (Frame Format) 520 includes field values indicating information on the frame format of the discovery response packet 500, that is, "0xA0" and "0x18".

도착 주소 필드(Dest. address)(530)는 디스커버리 응답 패킷(500)을 수신하는 데이터집중장치(110)의 주소를 나타내는 필드값 즉, "DCU address"를 포함한다.The destination address field (Dest. Address) 530 includes a field value indicating the address of the data concentrator 110 that receives the discovery response packet 500, that is, a "DCU address".

소스 주소 필드(Src. address)(540)는 디스커버리 응답 패킷(500)을 전송하는 계량기의 주소를 나타내는 필드값 즉, "Meter address"를 포함한다.The source address field (Src. Address) 540 includes a field value indicating the address of the meter sending the discovery response packet 500, that is, "Meter address."

제어 필드(Control)(550)는 디스커버리 응답 메시지에 대응되는 필드값 즉, "0xAF"를 포함한다.The control field 550 includes a field value corresponding to the discovery response message, that is, "0xAF".

헤더 체크 시퀀스 필드(HCS)(560)는 순환중복검사(Cyclic Redundancy Checking, 이하에서는 'CRC'라고도 함)를 위한 필드값 즉, 헤더 체크섬(Header checksum)을 포함한다.The header check sequence field (HCS) 560 includes a field value for cyclic redundancy checking (hereinafter also referred to as 'CRC'), that is, a header checksum.

정보 필드(Information)(570)는 해당 계량기의 계량기 일련번호(Meter Serial Number)를 포함한다.The information field 570 includes a meter serial number of the corresponding meter.

프레임 체크 시퀀스 필드(FCS)(580)는 디스커버리 응답 패킷(500)에 대한 오류 검출 및 수정을 위한 필드값, 즉, 프레임 체크섬(Frame checksum)을 포함한다.The frame check sequence field (FCS) 580 includes a field value for error detection and correction for the discovery response packet 500, that is, a frame checksum.

종료 플래그 필드(Flag2)(590)는 디스커버리 응답 패킷(500)의 종료를 나타내는 필드값 즉, "0x7E"를 포함한다.
The end flag field (Flag 2 ) 590 includes a field value indicating the end of the discovery response packet 500, that is, "0x7E".

다음, 도 9 내지 도 12를 참고하여 본 발명의 실시 예에 따른 계량기의 데이터 테이블에 대해 설명한다.Next, a data table of a meter according to an embodiment of the present invention will be described with reference to FIGS. 9 to 12.

도 9는 본 발명의 실시 예에 따른 계량기의 데이터 테이블을 도시한 도면이다.9 is a diagram illustrating a data table of a meter according to an embodiment of the present invention.

도 9에 도시된 바와 같이, 복수 개의 계량기들(130) 각각은 계량기가 보유해야 하는 모든 데이터의 형식, 구성방법, 이용방법을 정형화한 데이터 테이블(600)을 저장한다.As shown in FIG. 9, each of the plurality of meters 130 stores a data table 600 in which a format, a configuration method, and a usage method of all data that the meter should hold.

데이터 테이블(600)은 COSEM(COmpanion Specification for Energy Metering)에 따라 데이터 범주(Classification)(610), 객체인식시스템 코드(Object Identification System code, 이하에서는 'OBIS 코드'라고도 함)(620) 및 인터페이스 클래스(Interface Class)(630)를 포함한다.The data table 600 includes a data classification 610, an object identification system code (hereinafter referred to as an 'OBIS code') 620 and an interface class according to the COmpanion Specification for Energy Metering (COSEM). (Interface Class) 630.

여기서, OBIS 코드(620)는 객체인식시스템(Object Identification System, 이하에서는 'OBIS'라고도 함)을 따르며, 6자리 즉, "A", "B", "C", "D", "E" 및 "F"로 구성된다. 이때, OBIS는 전력량, 전압, 전류 등과 같이 계량기가 가지는 모든 전력 계량 데이터뿐만 아니라 계량기의 동작, 제어, 설정 등에 인식 코드를 부여하여 원격에서 계량값을 취득하거나, 계량기를 관리하고 제어하기 위한 국제 표준에 해당한다.Here, the OBIS code 620 follows the Object Identification System (hereinafter also referred to as 'OBIS'), and has six digits, namely "A", "B", "C", "D", and "E". And "F". At this time, OBIS gives recognition codes to the operation, control, and setting of the meter as well as all power meter data such as power amount, voltage, current, etc. to acquire the meter value remotely or to manage and control the meter. Corresponds to

또한, 인터페이스 클래스(Interface Class)(630)는 COSEM에 따라 데이터의 형식, 구성방법, 이용방법 등이 정형화된 데이터의 종류를 나타내며, 유사한 객체들을 모아놓은 클래스를 구분하기 위한 클래스 아이디(Class id)를 갖는다.In addition, the interface class 630 represents a type of data in which the format, composition, and usage of the data are formalized according to COSEM, and class ID for classifying a class of similar objects. Has

이와 같이, 계량기의 모든 데이터는 데이터 범주(Classification)(610)별로 인터페이스 클래스(Interface Class)(630)가 정의되고, 계량기의 내부 또는 외부에서 데이터에 접근할 수 있도록 OBIS 코드(620)를 가져야 한다.As such, all data in the meter must have an interface class 630 defined for each data category 610 and have an OBIS code 620 so that the data can be accessed from inside or outside the meter. .

예를 들어, 데이터 범주(Classification)(610)가 레지스터 플래그(Register Flag)인 경우, OBIS 코드(620)는 "A", "B", "C", "D", "E" 및 "F"가 "0", "96", "96", "1", "14" 및 "255"에 각각 대응되도록 구성되고, 인터페이스 클래스(Interface Class)(630)는 클래스 아이디(Class id)가 "1"로 정의되고, 버전(version)이 "0"으로 정의되어 "Data"로 정의될 수 있다.For example, if the data classification 610 is a register flag, the OBIS code 620 may be "A", "B", "C", "D", "E" and "F". Is configured to correspond to "0", "96", "96", "1", "14" and "255", respectively, and the interface class 630 has a class id of " 1 ", the version (version) is defined as" 0 "can be defined as" Data ".

또한, 데이터 범주(Classification)(610)가 제1 난수(Random Number 1)인 경우, OBIS 코드(620)는 "A", "B", "C", "D", "E" 및 "F"가 "0", "96", "96", "1", "15" 및 "255"에 각각 대응되도록 구성되고, 인터페이스 클래스(Interface Class)(630)는 클래스 아이디(Class id)가 "1"로 정의되고, 버전(version)이 "0"으로 정의되어 "Data"로 정의될 수 있다.In addition, when the data classification 610 is the first random number (Random Number 1), the OBIS code 620 is "A", "B", "C", "D", "E" and "F". Is configured to correspond to "0", "96", "96", "1", "15" and "255", respectively, and the interface class 630 has a class id of " 1 ", the version (version) is defined as" 0 "can be defined as" Data ".

또한, 데이터 범주(Classification)(610)가 제2 난수(Random Number 2)인 경우, OBIS 코드(620)는 "A", "B", "C", "D", "E" 및 "F"가 "0", "96", "96", "1", "16" 및 "255"에 각각 대응되도록 구성되고, 인터페이스 클래스(Interface Class)(630)는 클래스 아이디(Class id)가 "1"로 정의되고, 버전(version)이 "0"으로 정의되어 "Data"로 정의될 수 있다.In addition, when the data classification 610 is the second random number, the OBIS code 620 is "A", "B", "C", "D", "E" and "F". Is configured to correspond to "0", "96", "96", "1", "16", and "255", respectively, and the interface class 630 has a class id of " 1 ", the version (version) is defined as" 0 "can be defined as" Data ".

또한, 데이터 범주(Classification)(610)가 제3 난수(Random Number 3)인 경우, OBIS 코드(620)는 "A", "B", "C", "D", "E" 및 "F"가 "0", "96", "96", "1", "17" 및 "255"에 각각 대응되도록 구성되고, 인터페이스 클래스(Interface Class)(630)는 클래스 아이디(Class id)가 "1"로 정의되고, 버전(version)이 "0"으로 정의되어 "Data"로 정의될 수 있다.In addition, when the data classification 610 is a third random number, the OBIS code 620 is "A", "B", "C", "D", "E" and "F". Is configured to correspond to "0", "96", "96", "1", "17" and "255", respectively, and the interface class 630 has a class id of " 1 ", the version (version) is defined as" 0 "can be defined as" Data ".

또한, 데이터 범주(Classification)(610)가 제4 난수(Random Number 4)인 경우, OBIS 코드(620)는 "A", "B", "C", "D", "E" 및 "F"가 "0", "96", "96", "1", "18" 및 "255"에 각각 대응되도록 구성되고, 인터페이스 클래스(Interface Class)(630)는 클래스 아이디(Class id)가 "1"로 정의되고, 버전(version)이 "0"으로 정의되어 "Data"로 정의될 수 있다.
In addition, when the data classification 610 is the fourth random number, the OBIS code 620 is "A", "B", "C", "D", "E" and "F". Is configured to correspond to "0", "96", "96", "1", "18", and "255", respectively, and the interface class 630 has a class id of " 1 ", the version (version) is defined as" 0 "can be defined as" Data ".

도 10은 본 발명의 실시 예에 따른 레지스터 플래그의 데이터 형식 테이블을 도시한 도면이다.10 is a diagram illustrating a data format table of a register flag according to an embodiment of the present invention.

도 10에 도시된 바와 같이, 데이터 형식 테이블(700)은 레지스터 플래그(Register Flag)에 대한 인터페이스 클래스(710), 데이터 속성(Attributes)(720), 데이터 타입(Data type)(730), 데이터 최소값(Min)(740) 및 데이터 최대값(Max)(750)을 포함한다.As shown in FIG. 10, the data type table 700 includes an interface class 710 for a register flag, data attributes 720, a data type 730, and a data minimum value. (Min) 740 and data maximum value Max 750.

여기서, 데이터 형식 테이블(700)에 따르면, 레지스터 플래그(Register Flag)는 인터페이스 클래스(Interface Class)(710)가 "Data"로 정의될 수 있다. 여기서, 인터페이스 클래스(Interface Class)(710)가 "Data"로 정의된 경우, 클래스 아이디(Class_id)는 "1"로 정의되고, 버전(version)은 "0"으로 정의될 수 있다.Here, according to the data type table 700, the register flag may be defined as an interface class 710 as "Data". Here, when the interface class 710 is defined as "Data", the class ID Class_id may be defined as "1", and the version may be defined as "0".

또한, 데이터 형식 테이블(700)에 따르면, 데이터 속성(Attributes)(720)별로 데이터 타입(Data type)(730), 데이터 최소값(Min)(740) 및 데이터 최대값(Max)(750)이 정의된다.In addition, according to the data type table 700, a data type 730, a data minimum value Min 740, and a data maximum value Max 750 are defined for each data attribute 720. do.

예를 들어, 데이터 속성(Attributes)(720)이 "logical_name"인 경우, 데이터 타입(Data type)(730)은 "octet-string"으로 정의될 수 있다. 또한, 데이터 속성(Attributes)(720)이 "value"인 경우, 데이터 타입(Data type)(730)은 "boolean"으로 정의되고, 데이터 최소값(Min)(740)은 해당 계량기가 미등록 계량기임을 나타내는 "0"로 정의되며, 데이터 최대값(Max)(750)은 해당 계량기가 등록 계량기임을 나타내는 "1"로 정의될 수 있다.
For example, when the data attributes 720 are "logical_name", the data type 730 may be defined as "octet-string". In addition, when the data attributes 720 is "value", the data type 730 is defined as "boolean", and the data minimum value Min 740 indicates that the meter is an unregistered meter. Defined as "0", the data maximum value (Max) 750 may be defined as "1" indicating that the meter is a registered meter.

도 11은 본 발명의 제1 실시 예에 따른 난수의 데이터 형식 테이블을 도시한 도면이다.11 is a diagram illustrating a data format table of random numbers according to a first embodiment of the present invention.

도 11에 도시된 바와 같이, 데이터 형식 테이블(800)은 난수(Random Number)에 대한 인터페이스 클래스(810), 데이터 속성(Attributes)(820), 데이터 타입(Data type)(830), 데이터 최소값(Min)(840) 및 데이터 최대값(Max)(850)을 포함한다.As shown in FIG. 11, the data type table 800 includes an interface class 810 for random numbers, data attributes 820, a data type 830, and a data minimum value ( Min) 840 and data maximum value 850.

여기서, 데이터 형식 테이블(800)에 따르면, 난수(Random Number)는 인터페이스 클래스(Interface Class)(810)가 "Data"로 정의될 수 있다. 여기서, 인터페이스 클래스(Interface Class)(810)가 "Data"로 정의된 경우, 클래스 아이디(Class_id)는 "1"로 정의되고, 버전(version)은 "0"으로 정의될 수 있다.Here, according to the data type table 800, the random number may be defined as an interface class 810 as "Data". Here, when the interface class 810 is defined as "Data", the class ID Class_id may be defined as "1", and the version may be defined as "0".

또한, 데이터 형식 테이블(800)에 따르면, 데이터 속성(Attributes)(820)별로 데이터 타입(Data type)(830), 데이터 최소값(Min)(840) 및 데이터 최대값(Max)(850)이 정의된다.In addition, according to the data type table 800, a data type 830, a data minimum Min, and a data maximum 850 are defined for each data attribute 820. do.

예를 들어, 데이터 속성(Attributes)(820)이 "logical_name"인 경우, 데이터 타입(Data type)(830)은 "octet-string"으로 정의될 수 있다. 또한, 데이터 속성(Attributes)(820)이 "value"인 경우, 데이터 타입(Data type)(830)은 "integer"로 정의되고, 데이터 최소값(Min)(840)은 "1"로 정의되며, 데이터 최대값(Max)(850)은 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수에 대응되는 "32"로 정의될 수 있다.
For example, when the data attributes 820 are "logical_name", the data type 830 may be defined as "octet-string". In addition, when the data attributes 820 is "value", the data type 830 is defined as "integer", and the data minimum value Min 840 is defined as "1". The data maximum value 850 may be defined as “32” corresponding to the maximum number of connections of the meter connected to the data intensive device 110.

도 12는 본 발명의 제2 실시 예에 따른 난수의 데이터 형식 테이블을 도시한 도면이다.12 is a diagram illustrating a data format table of random numbers according to a second embodiment of the present invention.

도 12에 도시된 바와 같이, 데이터 형식 테이블(900)은 난수(Random Number)에 대한 인터페이스 클래스(910), 데이터 속성(Attributes)(920), 데이터 타입(Data type)(930), 데이터 최소값(Min)(940) 및 데이터 최대값(Max)(950)을 포함한다.As shown in FIG. 12, the data type table 900 includes an interface class 910 for random numbers, data attributes 920, a data type 930, and a data minimum value ( Min) 940 and data maximum (Max) 950.

여기서, 데이터 형식 테이블(900)에 따르면, 난수(Random Number)는 인터페이스 클래스(Interface Class)(910)가 "Data"로 정의될 수 있다. 여기서, 인터페이스 클래스(Interface Class)(910)가 "Data"로 정의된 경우, 클래스 아이디(Class_id)는 "1"로 정의되고, 버전(version)은 "0"으로 정의될 수 있다.Here, according to the data type table 900, the random number may be defined as an interface class 910 as "Data". Here, when the interface class 910 is defined as "Data", the class ID Class_id may be defined as "1", and the version may be defined as "0".

또한, 데이터 형식 테이블(900)에 따르면, 데이터 속성(Attributes)(920)별로 데이터 타입(Data type)(930), 데이터 최소값(Min)(940) 및 데이터 최대값(Max)(950)이 정의된다.In addition, according to the data type table 900, a data type 930, a data minimum Min, and a data maximum 950 are defined for each data attribute 920. do.

예를 들어, 데이터 속성(Attributes)(920)이 "logical_name"인 경우, 데이터 타입(Data type)(930)은 "octet-string"으로 정의될 수 있다. 또한, 데이터 속성(Attributes)(920)이 "value"인 경우, 데이터 타입(Data type)(930)은 "integer"로 정의되고, 데이터 최소값(Min)(940)은 "1"로 정의되며, 데이터 최대값(Max)(950)은 미리 설정된 타임 슬롯의 개수에 대응되는 "5"로 정의될 수 있다.
For example, when the data attributes 920 is "logical_name", the data type 930 may be defined as "octet-string". In addition, when the data attributes 920 is "value", the data type 930 is defined as "integer", the data minimum value Min 940 is defined as "1", The data maximum value Max 950 may be defined as “5” corresponding to the number of preset time slots.

이상에서와 같이 도면과 명세서에서 최적의 실시 예가 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.As described above, an optimal embodiment has been disclosed in the drawings and specification. Although specific terms have been employed herein, they are used for purposes of illustration only and are not intended to limit the scope of the invention as defined in the claims or the claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100: 계량기 등록 시스템
110: 데이터집중장치
130-134: 계량기
200: HDLC 패킷
300: 명령어 리스트
400: 디스커버리 요청 패킷
500: 디스커버리 응답 패킷
600: 데이터 테이블
700, 800, 900: 데이터 형식 테이블
100: meter registration system
110: data intensive device
130-134: Meter
200: HDLC packet
300: command list
400: discovery request packet
500: discovery response packet
600: data table
700, 800, 900: Data Type Tables

Claims (13)

DLMS 프로토콜을 따르는 복수 개의 계량기들 중 데이터집중장치에 등록되지 않은 계량기를 검색하기 위한 제1 디스커버리 요청 패킷을 HDLC 프로토콜에 따라 브로드캐스팅하는 단계;
상기 복수 개의 계량기들 중 일부의 미등록 계량기들로부터 서로 다른 타임 슬롯을 통해 복수 개의 디스커버리 응답 패킷들을 수신하는 단계;
상기 복수 개의 디스커버리 응답 패킷들 각각에 포함된 계량기 주소 및 계량기 일련번호를 저장하여 상기 일부의 미등록 계량기들을 등록하는 단계; 및
상기 일부의 미등록 계량기들 각각의 레지스터 플래그를 갱신하기 위한 설정 요청을 상기 일부의 미등록 계량기들로 전송하는 단계를 포함하는 계량기 등록 방법.
Broadcasting, according to the HDLC protocol, a first discovery request packet for searching for a meter not registered in the data intensive device among the plurality of meters conforming to the DLMS protocol;
Receiving a plurality of discovery response packets through different time slots from unregistered meters of some of the plurality of meters;
Registering the plurality of unregistered meters by storing a meter address and a meter serial number included in each of the plurality of discovery response packets; And
And sending a request for setting to update a register flag of each of the some unregistered meters to the some unregistered meters.
청구항 1에 있어서,
상기 레지스터 플래그는
상기 데이터집중장치에 대한 등록 여부를 나타내는 계량기 등록 방법.
The method according to claim 1,
The register flag is
Meter registration method indicating whether or not to register the data intensive device.
청구항 2에 있어서,
상기 제1 디스커버리 요청 패킷은
상기 제1 디스커버리 요청 패킷에 응답하는 계량기의 수가 미리 설정된 복수 개의 타임 슬롯들의 수를 초과하지 않도록 하기 위한 임계치를 포함하는 계량기 등록 방법.
The method according to claim 2,
The first discovery request packet is
And a threshold for ensuring that the number of meters responsive to the first discovery request packet does not exceed a number of a plurality of preset time slots.
청구항 3에 있어서,
상기 임계치는
상기 데이터집중장치에 연결되는 계량기의 최대 연결 개수에 따라 결정되는 계량기 등록 방법.
The method according to claim 3,
The threshold is
Meter registration method is determined according to the maximum number of connections of the meter connected to the data intensive device.
청구항 4에 있어서,
상기 임계치는
상기 최대 연결 개수보다 작은 값을 가지는 계량기 등록 방법.
The method of claim 4,
The threshold is
Meter registration method having a value less than the maximum number of connections.
청구항 4에 있어서,
상기 설정 요청을 상기 복수 개의 미등록 계량기들로 전송하는 단계 이후에,
상기 최대 연결 개수보다 큰 값을 갖는 임계치를 포함하는 제2 디스커버리 요청 패킷을 상기 복수 개의 계량기들로 전송하는 단계; 및
상기 복수 개의 계량기들 중 상기 일부의 미등록 계량기들을 제외한 나머지 미등록 계량기로부터 수신된 디스커버리 응답 패킷을 이용하여 상기 나머지 미등록 계량기를 등록하는 단계를 더 포함하는 계량기 등록 방법.
The method of claim 4,
After transmitting the setup request to the plurality of unregistered meters,
Sending a second discovery request packet to the plurality of meters including a threshold having a value greater than the maximum number of connections; And
And registering the remaining unregistered meter by using a discovery response packet received from the remaining unregistered meter except for the some unregistered meter among the plurality of meters.
청구항 1에 있어서,
객체인식시스템 코드(OBIS code)를 통해 상기 일부의 미등록 계량기들에 접속하여 상기 일부의 미등록 계량기들 각각의 레지스터 플래그를 갱신하는 단계를 더 포함하는 계량기 등록 방법.
The method according to claim 1,
Connecting to the some unregistered meters via an object recognition system code (OBIS code) and updating a register flag of each of the some unregistered meters.
데이터집중장치로부터 수신된 디스커버리 요청 패킷에 따라 미리 저장된 레지스터 플래그를 확인하여 상기 데이터집중장치에 대한 등록 여부를 판단하는 단계;
상기 등록 여부를 판단한 결과가 미등록이면 하나 이상의 난수를 이용하여 미리 설정된 복수 개의 타임 슬롯들 중 어느 하나의 타임 슬롯을 통해 미리 저장된 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 HDLC 프로토콜에 따라 상기 데이터집중장치로 전송하는 단계; 및
상기 데이터집중장치로부터 수신되는 설정 요청에 따라 상기 레지스터 플래그를 갱신하는 단계를 포함하는 계량기 등록 방법.
Determining whether to register the data intensive device by checking a register flag stored in advance according to a discovery request packet received from the data intensive device;
If it is determined that the registration is not registered, the discovery response packet including a meter address and a meter serial number previously stored in any one of a plurality of preset time slots using one or more random numbers is detected according to the HDLC protocol. Transmitting to a data intensive device; And
And updating the register flag according to a setting request received from the data intensive device.
청구항 8에 있어서,
상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 복수 개의 타임 슬롯들 중 상기 난수에 대응되는 타임 슬롯을 통해 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계를 포함하는 계량기 등록 방법.
The method according to claim 8,
The step of transmitting the discovery response packet to the data concentrator
And transmitting the discovery response packet to the data intensive device through a time slot corresponding to the random number among the plurality of time slots.
청구항 9에 있어서,
상기 난수에 대응되는 타임 슬롯을 통해 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 난수를 이용하여 응답지연시간을 결정하는 단계; 및
상기 응답지연시간이 경과한 후 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계를 포함하는 계량기 등록 방법.
The method according to claim 9,
The step of transmitting the discovery response packet to the data intensive device through the time slot corresponding to the random number is
Determining a response delay time using the random number; And
And transmitting the discovery response packet to the data intensive device after the response delay time has elapsed.
청구항 8에 있어서,
상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 디스커버리 요청 패킷에 포함된 임계치를 제1 난수와 비교하여 상기 디스커버리 요청 패킷에 대한 응답 여부를 판단하는 단계; 및
상기 응답 여부를 판단한 결과에 따라 응답하는 경우, 상기 복수 개의 타임 슬롯들 중 제2 난수에 대응되는 타임 슬롯을 통해 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계를 포함하는 계량기 등록 방법.
The method according to claim 8,
The step of transmitting the discovery response packet to the data concentrator
Determining whether to respond to the discovery request packet by comparing a threshold included in the discovery request packet with a first random number; And
And sending a discovery response packet to the data intensive device through a time slot corresponding to a second random number of the plurality of time slots when responding according to a result of the determination of the response.
청구항 11에 있어서,
상기 응답 여부를 판단하는 단계는
상기 디스커버리 요청 패킷에 응답할 때 상기 어느 하나의 타임 슬롯에서의 패킷 충돌을 회피하기 위해 상기 임계치를 상기 제1 난수와 비교하여 상기 응답 여부를 판단하는 계량기 등록 방법.
The method of claim 11,
Determining whether or not the response
And, when responding to the discovery request packet, determine whether the response is determined by comparing the threshold with the first random number to avoid packet collision in the one time slot.
청구항 12에 있어서,
상기 임계치는
상기 데이터집중장치에 연결되는 계량기의 최대 연결 개수에 따라 결정되고,
상기 제1 난수는
상기 최대 연결 개수 이하의 값으로 생성되는 계량기 등록 방법.
The method of claim 12,
The threshold is
Determined according to the maximum number of connections of the meter connected to the data concentrator,
The first random number is
Meter registration method is generated with a value less than the maximum number of connections.
KR1020110052356A 2011-05-31 2011-05-31 Method for meter registration KR101791693B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110052356A KR101791693B1 (en) 2011-05-31 2011-05-31 Method for meter registration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110052356A KR101791693B1 (en) 2011-05-31 2011-05-31 Method for meter registration

Publications (2)

Publication Number Publication Date
KR20120133623A true KR20120133623A (en) 2012-12-11
KR101791693B1 KR101791693B1 (en) 2017-10-31

Family

ID=47516958

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110052356A KR101791693B1 (en) 2011-05-31 2011-05-31 Method for meter registration

Country Status (1)

Country Link
KR (1) KR101791693B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217566A (en) * 2014-09-16 2014-12-17 北京天公瑞丰科技有限公司 Intelligent meter searching method and system for type II collector
CN105261192A (en) * 2015-09-18 2016-01-20 国网山东省电力公司电力科学研究院 Method for automatically obtaining logical addresses of electricity information acquisition terminals, and system thereof
WO2018062613A1 (en) * 2016-09-29 2018-04-05 한국전력공사 Remote management system and method for batch parameter setting of smart meter
KR20200080776A (en) * 2018-12-27 2020-07-07 한국전력공사 Data security apparatus
KR20210037422A (en) * 2019-09-27 2021-04-06 경북대학교 산학협력단 In-vehicle infotainment management system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102409836B1 (en) 2020-10-21 2022-06-20 한국전력공사 Address allocation method for electronic instruments and electronic instrument for performing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100960396B1 (en) * 2010-04-20 2010-05-28 한국전력공사 Apparatus for automated meter reading using serial number of meter and method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217566A (en) * 2014-09-16 2014-12-17 北京天公瑞丰科技有限公司 Intelligent meter searching method and system for type II collector
CN105261192A (en) * 2015-09-18 2016-01-20 国网山东省电力公司电力科学研究院 Method for automatically obtaining logical addresses of electricity information acquisition terminals, and system thereof
WO2018062613A1 (en) * 2016-09-29 2018-04-05 한국전력공사 Remote management system and method for batch parameter setting of smart meter
CN109691021A (en) * 2016-09-29 2019-04-26 韩国电力公社 The long-distance management system and its method of batch parameter setting for intelligent electric meter
KR20200080776A (en) * 2018-12-27 2020-07-07 한국전력공사 Data security apparatus
KR20230127951A (en) * 2018-12-27 2023-09-01 한국전력공사 Data security apparatus
KR20210037422A (en) * 2019-09-27 2021-04-06 경북대학교 산학협력단 In-vehicle infotainment management system

Also Published As

Publication number Publication date
KR101791693B1 (en) 2017-10-31

Similar Documents

Publication Publication Date Title
KR20120133623A (en) Method for meter registration
CN103314534B (en) Coexistence mechanism for noncompatible powerline communication devices
US20140286321A1 (en) Method of associating a client with an access point in a wireless local area network
US20120224503A1 (en) Discovery of conventional devices and bridges in hybrid communication networks
CN111464955B (en) Fault reporting method, device, terminal and computer readable medium
RU2670605C9 (en) System and method for indicating type of response frame
US8190186B2 (en) Wireless communication system, weak radio wave communication device, mobile terminal device, base station device, and program
JPH0344464B2 (en)
JP7030797B2 (en) Network management information receiving method, receiving device and storage medium
CN109246189B (en) Network data distribution method and device, storage medium and server
CN104509074A (en) Address resolution mechanism for hybrid communication networks
US20120089731A1 (en) Terminal apparatus and method of registering the same
US20230188380A1 (en) Data collection method and apparatus, modbus system, and storage medium
KR20090008425A (en) Multi-mode host interface for and remote register and memory access of a wireless communication module
US20150106519A1 (en) Selective multiple-media access control
US8406165B2 (en) Magnetic field communication method and apparatus capable of recognizing multiple nodes
CN116614326A (en) Modbus communication method based on single-channel multi-device
CN103457786A (en) Sensor access detection method, device and system
JP6288268B2 (en) Wireless communication device, wireless communication method, and computer program
WO2018025602A1 (en) Communication device, communication system, communication control method and program
JP2018061140A (en) Radio communication device and radio communication method
JP6226541B2 (en) Power line communication system and terminal subscription method to the same system
CN204993887U (en) Networking system
Yusuf Determination of optimal power for zigbee-based wireless sensor networks
Flowers et al. Microchip Stack for the ZigBee™ Protocol

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant