KR20120133623A - Method for meter registration - Google Patents
Method for meter registration Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
- G08C19/02—Electric 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
Description
본 발명은 계량기 등록 방법에 관한 것이다. 보다 상세하게, 본 발명은 데이터집중장치에 연결된 계량기들 중 미등록 계량기를 등록하기 위한 계량기 등록 방법에 관한 것이다.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
여기서, 데이터집중장치(110)와 복수 개의 계량기들(130)은 알에스-485(이하에서는 'RS-485'라고도 함) 네트워크를 통해 멀티포인트(multipoint)로 연결되며, 데이터집중장치(110)와 복수 개의 계량기들(130)간의 프로토콜은 원격검침용 통신 프로토콜에 해당하는 디엘엠에스(Device Language Message Specification, 이하에서는 'DLMS'라고도 함) 프로토콜을 따를 수 있다.Here, the data
또한, 데이터집중장치(110)와 복수 개의 계량기들(130)은 DLMS 프로토콜의 하위 프로토콜인 하이레벨 데이터 링크 컨트롤(High-level Data Link Control, 이하에서는 'HDLC'라고도 함) 프로토콜에 따라 패킷을 전송할 수 있다.In addition, the data
데이터집중장치(110)는 미리 설정된 프로토콜 명령어에 따라 복수 개의 계량기들(110) 중에서 미등록 계량기를 검색하기 위한 디스커버리 요청 패킷(discovery request packet)을 브로드캐스팅(broadcasting) 하여 디스커버리 요청 패킷을 복수 개의 계량기들(110)로 전송한다. 여기서, 데이터집중장치(110)는 미리 설정된 프로토콜 명령어에 해당하는 디스커버리 요청 메시지(discovery request message)에 따라 디스커버리 요청 패킷을 생성할 수 있다.The
또한, 데이터집중장치(110)는 미등록 계량기로부터 수신되는 디스커버리 응답 패킷(discovery response packet)을 이용하여 미등록 계량기에 대한 등록을 수행한다. 여기서, 데이터집중장치(110)는 디스커버리 응답 패킷에 포함된 계량기 주소(meter address) 및 계량기 일련번호(meter serial number)를 저장함으로써 미등록 계량기에 대한 등록을 완료할 수 있다.In addition, the data
또한, 데이터집중장치(110)는 디스커버리 응답 패킷에 의해 등록이 완료된 계량기로 레지스터 플래그에 대한 설정 요청을 전송한다. 여기서, 데이터집중장치(110)는 등록이 완료된 계량기에 접속하여 해당 계량기의 등록 여부를 나타내는 레지스터 플래그(register flag)를 갱신할 수 있다.In addition, the data
복수 개의 계량기들(130) 각각은 데이터집중장치(110)로부터 수신되는 디스커버리 요청 패킷에 따라 해당 계량기의 레지스터 플래그를 확인하여 데이터집중장치(110)에 대한 해당 계량기의 등록 또는 미등록을 판단한다.Each of the plurality of
또한, 복수 개의 계량기들(130) 각각은 해당 계량기가 미등록으로 판단되면 미리 설정된 프로토콜 명령어에 따라 해당 계량기에 대한 등록을 요청하기 위한 디스커버리 응답 패킷을 유니캐스트(unicast) 하여 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다. 여기서, 복수 개의 계량기들(130) 각각은 미리 설정된 프로토콜 명령어에 해당하는 디스커버리 응답 메시지(discovery response message)에 따라 해당 계량기의 계량기 주소 및 계량기 일련번호를 이용하여 디스커버리 응답 패킷을 생성할 수 있다.In addition, each of the plurality of
또한, 복수 개의 계량기들(130) 각각은 데이터집중장치(110)로부터 수신되는 설정 요청에 따라 해당 계량기의 레지스터 플래그를 갱신한다. 여기서, 레지스터 플래그는 해당 계량기의 등록 또는 미등록을 나타내며, 등록된 계량기의 레지스터 플래그는 "1"의 값을 가질 수 있고, 미등록된 계량기의 레지스터 플래그는 "0"의 값을 가질 수 있다.
In addition, each of the plurality of
다음, 도 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
다음, 제1 계량기(131)는 제1 타임 슬롯을 통해 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S110).Next, the
이후, 제4 계량기(134)는 제2 타임 슬롯을 통해 제4 계량기(134)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S120).Thereafter, the
다음, 데이터집중장치(110)는 제1 계량기(131) 및 제4 계량기(134)로부터 수신된 디스커버리 응답 패킷들에 포함된 제1 계량기(131) 및 제4 계량기(134) 각각의 계량기 주소 및 계량기 일련번호를 저장하여 미등록 계량기를 등록한다(S130).Next, the
여기서, 제1 계량기(131)와 제4 계량기(134)는 데이터집중장치(110)에 미등록된 계량기이고, 제2 계량기(132)와 제3 계량기(133)는 데이터집중장치(110)에 등록된 계량기이기 때문에, 제1 계량기(131)와 제4 계량기(134)만이 디스커버리 요청 패킷에 응답하여 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다.Here, the
이와 같이, 미등록 계량기만이 응답하게 함으로써, 등록 여부와 상관없이 데이터집중장치(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
또한, 제1 계량기(131)와 제4 계량기(134)는 서로 다른 타임 슬롯을 통해 디스커버리 응답 패킷을 전송하기 때문에, 제1 계량기(131)와 제4 계량기(134)간의 패킷 충돌을 회피할 수 있는 효과가 있다.
In addition, since the
다음, 도 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
예를 들어, 데이터집중장치(110)는 최대 연결 개수가 32개이면 순서 표시수(OIN)를 최대 연결 개수의 절반에 해당하는 "16"으로 결정할 수 있다.For example, when the maximum number of connections is 32, the data
다음, 데이터집중장치(110)는 디스커버리 요청 패킷을 복수 개의 계량기들(130)로 전송한다(S210).Next, the data
이후, 데이터집중장치(110)는 미리 정해진 시간 동안 미등록 계량기들로부터 디스커버리 응답 패킷들을 수신한다(S220). 여기서, 데이터집중장치(110)는 검색 요청 패킷을 전송한 후부터 1000 밀리초까지의 시간 동안 디스커버리 응답 패킷들을 수신할 수 있다. 이때, 디스커버리 응답 패킷들 각각은 계량기 주소 및 계량기 일련번호를 포함할 수 있다.Thereafter, the data
예를 들어, 데이터집중장치(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
다음, 데이터집중장치(110)는 디스커버리 응답 패킷들에 포함된 미등록 계량기들 각각의 계량기 주소 및 계량기 일련번호를 저장하여 미등록 계량기들을 등록한다(S230).Next, the data
예를 들어, 데이터집중장치(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
이후, 데이터집중장치(110)는 등록된 계량기들 각각의 레지스터 플래그를 갱신하기 위한 설정 요청을 등록된 계량기들로 전송한다(S240).Thereafter, the data
여기서, 데이터집중장치(110)는 도 3에 도시된 계량기 등록 방법에 따른 절차를 복수 회 반복 실시하여 복수 개의 계량기들(130)에 포함된 모든 미등록 계량기들이 등록될 수 있도록 할 수 있다.Here, the data
또한, 데이터집중장치(110)는 도 3에 도시된 계량기 등록 방법에 따른 절차를 복수 회 반복 실시한 후, 최대 연결 개수보다 큰 값을 가지는 순서 표시수(OIN)를 포함하는 디스커버리 요청 패킷을 복수 개의 계량기들(130)로 전송함으로써, 미등록 계량기들이 모두 등록되도록 할 수 있다.
In addition, the data
다음, 도 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
다음, 제1 계량기(131)는 디스커버리 요청 패킷에 따라 제1 계량기(131)의 레지스터 플래그의 값을 확인하여 제1 계량기(131)가 데이터집중장치(110)에 등록되었는지를 판단한다(S305). 여기서, 제1 계량기(131)는 레지스터 플래그가 "0"의 값을 가지면 제1 계량기(131)를 미등록 계량기로 판단할 수 있고, 레지스터 플래그가 "1"의 값을 가지면 제1 계량기(131)를 등록 계량기로 판단할 수 있다.Next, the
제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
이후, 제1 계량기(131)는 제1 난수(RN1)를 순서 표시수(OIN)와 비교하여, 제1 난수(RN1)가 순서 표시수(OIN)보다 작은지를 판단한다(S315). 여기서, 순서 표시수(OIN)는 데이터집중장치(110)에 연결되는 계량기의 최대 연결 개수의 절반에 해당하는 "16"에 해당할 수 있다.Thereafter, the
제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
다음, 제1 계량기(131)는 제2 난수(RN2)를 순서 표시수(OIN)와 비교하여, 제2 난수(RN2)가 순서 표시수(OIN)보다 작은지를 판단한다(S325).Next, the
제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
이후, 제1 계량기(131)는 제3 난수(RN3)를 순서 표시수(OIN)와 비교하여, 제3 난수(RN3)가 순서 표시수(OIN)보다 작은지를 판단한다(S335).Thereafter, the
제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
다음, 제1 계량기(131)는 미리 설정된 복수 개의 타임 슬롯들 중 어느 하나를 통해 데이터집중장치(110)로 응답하기 위해 제4 난수를 이용하여 응답지연시간을 결정한다(S345). 여기서, 제1 계량기(131)는 응답지연시간에 따라 응답하여 특정 타임 슬롯을 통해 응답할 수 있고, 이를 통해 제1 계량기(131)와 다른 계량기간의 패킷 충돌을 회피할 수 있는 효과가 있다.Next, the
이후, 제1 계량기(131)는 결정된 응답지연시간에 따라 복수 개의 타임 슬롯들 중 어느 하나의 타임 슬롯을 통해 제1 계량기(131)의 계량기 주소 및 계량기 일련번호를 포함하는 디스커버리 응답 패킷을 데이터집중장치(110)로 전송한다(S350).Subsequently, the
다음, 제1 계량기(131)는 데이터집중장치(110)로부터 제1 계량기(131)의 레지스터 플래그를 갱신할 것을 요청하는 설정 요청을 수신한다(S355). 여기서, 데이터집중장치(110)는 제1 계량기(131)에 대한 등록이 완료되면 제1 계량기(131)의 레지스터 플래그를 갱신할 것을 요청하는 설정 요청을 전송할 수 있다.Next, the
이후, 제1 계량기(131)는 수신된 설정 요청에 따라 레지스터 플래그를 갱신한다(S360). 여기서, 제1 계량기(131)는 레지스터 플래그의 값을 "0"에서 "1"로 갱신할 수 있으며, 이후에는 데이터집중장치(110)로부터 수신되는 디스커버리 요청 패킷에 응답하지 않을 수 있다.Thereafter, the
한편, 제1 계량기(131)가 등록되었는지를 판단한 결과, 제1 계량기(131)가 등록된 등록 계량기인 경우, 제1 계량기(131)는 계량기 등록 방법에 따른 절차를 종료한다.Meanwhile, as a result of determining whether the
한편, 제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
한편, 제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
한편, 제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
이와 같이, 계량기(131)가 복수 회에 걸쳐 생성된 난수들을 임계치에 해당하는 순서 표시수(OIN)과 비교함으로써, 계량기 등록 시스템(100)에서는 디스커버리 요청 패킷에 응답하는 계량기의 개수가 미리 설정된 타임 슬롯의 개수를 초과하지 않도록 할 수 있다.As described above, when the
즉, 데이터집중장치(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
다음, 도 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
시작 플래그 필드(Flag1)(210)는 HDLC 패킷(200)의 시작을 나타내는 필드이다.The start
프레임 포맷 필드(Frame Format)(220)는 HDLC 패킷(200)의 프레임 포맷에 대한 정보를 포함한다.The
도착 주소 필드(Dest. address)(230)는 HDLC 패킷(200)의 수신측 장치의 주소를 포함한다.The destination address field (Dest. Address) 230 includes the address of the receiving device of the
소스 주소 필드(Src. address)(240)는 HDLC 패킷(200)의 전송측 장치의 주소를 포함한다.The source address field (Src. Address) 240 includes the address of the transmitting device of the
제어 필드(Control)(250)는 미리 예약된 프로토콜 명령어를 포함한다. 여기서, 제어 필드(Control)(250)는 디스커버리 요청 메시지 또는 디스커버리 응답 메시지를 포함할 수 있다.The
헤더 체크 시퀀스 필드(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
프레임 체크 시퀀스 필드(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
종료 플래그 필드(Flag2)(290)는 HDLC 패킷(200)의 종료를 나타내는 필드이다.
The end flag field (Flag 2 ) 290 is a field indicating the end of the
다음, 도 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
여기서, 디스커버리 요청 메시지와 디스커버리 응답 메시지가 중복되지 않도록, 명령어 리스트(300)에서 디스커버리 요청 메시지에 대응되는 명령어를 지정하고, 디스커버리 응답 메시지에 대응되는 명령어를 지정할 수 있다.Herein, the command corresponding to the discovery request message may be designated in the
예를 들어, 명령어 리스트(300)에 포함된 제1 명령어(0x9F)(310)가 디스커버리 요청 메시지에 대응되는 명령어로 지정될 수 있고, 명령어 리스트(300)에 포함된 제2 명령어(0xAF)(310)가 디스커버리 응답 메시지에 대응되는 명령어로 지정될 수 있다.
For example, the first command (0x9F) 310 included in the
다음, 도 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
시작 플래그 필드(Flag1)(410)는 디스커버리 요청 패킷(400)의 시작을 나타내는 필드값 즉, "0x7E"를 포함한다.The start flag field (Flag 1 ) 410 includes a field value indicating the start of the
프레임 포맷 필드(Frame Format)(420)는 디스커버리 요청 패킷(400)의 프레임 포맷에 대한 정보를 나타내는 필드값 즉, "0xA0" 및 "0x18"을 포함한다.The frame format field (Frame Format) 420 includes field values indicating information on the frame format of the
도착 주소 필드(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
소스 주소 필드(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
제어 필드(Control)(450)는 디스커버리 요청 메시지에 대응되는 필드값 즉, "0x9F"를 포함한다.The
헤더 체크 시퀀스 필드(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
프레임 체크 시퀀스 필드(FCS)(480)는 디스커버리 요청 패킷(400)에 대한 오류 검출 및 수정을 위한 필드값, 즉, 프레임 체크섬(Frame checksum)을 포함한다.The frame check sequence field (FCS) 480 includes a field value for error detection and correction for the
종료 플래그 필드(Flag2)(490)는 디스커버리 요청 패킷(400)의 종료를 나타내는 필드값 즉, "0x7E"를 포함한다.
The end
다음, 도 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
시작 플래그 필드(Flag1)(510)는 디스커버리 응답 패킷(500)의 시작을 나타내는 필드값 즉, "0x7E"를 포함한다.The start flag field (Flag 1 ) 510 includes a field value indicating the start of the
프레임 포맷 필드(Frame Format)(520)는 디스커버리 응답 패킷(500)의 프레임 포맷에 대한 정보를 나타내는 필드값 즉, "0xA0" 및 "0x18"을 포함한다.The frame format field (Frame Format) 520 includes field values indicating information on the frame format of the
도착 주소 필드(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
소스 주소 필드(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
제어 필드(Control)(550)는 디스커버리 응답 메시지에 대응되는 필드값 즉, "0xAF"를 포함한다.The
헤더 체크 시퀀스 필드(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
프레임 체크 시퀀스 필드(FCS)(580)는 디스커버리 응답 패킷(500)에 대한 오류 검출 및 수정을 위한 필드값, 즉, 프레임 체크섬(Frame checksum)을 포함한다.The frame check sequence field (FCS) 580 includes a field value for error detection and correction for the
종료 플래그 필드(Flag2)(590)는 디스커버리 응답 패킷(500)의 종료를 나타내는 필드값 즉, "0x7E"를 포함한다.
The end flag field (Flag 2 ) 590 includes a field value indicating the end of the
다음, 도 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
데이터 테이블(600)은 COSEM(COmpanion Specification for Energy Metering)에 따라 데이터 범주(Classification)(610), 객체인식시스템 코드(Object Identification System code, 이하에서는 'OBIS 코드'라고도 함)(620) 및 인터페이스 클래스(Interface Class)(630)를 포함한다.The data table 600 includes a
여기서, OBIS 코드(620)는 객체인식시스템(Object Identification System, 이하에서는 'OBIS'라고도 함)을 따르며, 6자리 즉, "A", "B", "C", "D", "E" 및 "F"로 구성된다. 이때, OBIS는 전력량, 전압, 전류 등과 같이 계량기가 가지는 모든 전력 계량 데이터뿐만 아니라 계량기의 동작, 제어, 설정 등에 인식 코드를 부여하여 원격에서 계량값을 취득하거나, 계량기를 관리하고 제어하기 위한 국제 표준에 해당한다.Here, the
또한, 인터페이스 클래스(Interface Class)(630)는 COSEM에 따라 데이터의 형식, 구성방법, 이용방법 등이 정형화된 데이터의 종류를 나타내며, 유사한 객체들을 모아놓은 클래스를 구분하기 위한 클래스 아이디(Class id)를 갖는다.In addition, the
이와 같이, 계량기의 모든 데이터는 데이터 범주(Classification)(610)별로 인터페이스 클래스(Interface Class)(630)가 정의되고, 계량기의 내부 또는 외부에서 데이터에 접근할 수 있도록 OBIS 코드(620)를 가져야 한다.As such, all data in the meter must have an
예를 들어, 데이터 범주(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
또한, 데이터 범주(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
또한, 데이터 범주(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
또한, 데이터 범주(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
또한, 데이터 범주(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
도 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
여기서, 데이터 형식 테이블(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
또한, 데이터 형식 테이블(700)에 따르면, 데이터 속성(Attributes)(720)별로 데이터 타입(Data type)(730), 데이터 최소값(Min)(740) 및 데이터 최대값(Max)(750)이 정의된다.In addition, according to the data type table 700, a
예를 들어, 데이터 속성(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
도 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
여기서, 데이터 형식 테이블(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
또한, 데이터 형식 테이블(800)에 따르면, 데이터 속성(Attributes)(820)별로 데이터 타입(Data type)(830), 데이터 최소값(Min)(840) 및 데이터 최대값(Max)(850)이 정의된다.In addition, according to the data type table 800, a
예를 들어, 데이터 속성(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
도 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
여기서, 데이터 형식 테이블(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
또한, 데이터 형식 테이블(900)에 따르면, 데이터 속성(Attributes)(920)별로 데이터 타입(Data type)(930), 데이터 최소값(Min)(940) 및 데이터 최대값(Max)(950)이 정의된다.In addition, according to the data type table 900, a
예를 들어, 데이터 속성(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
이상에서와 같이 도면과 명세서에서 최적의 실시 예가 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.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)
상기 복수 개의 계량기들 중 일부의 미등록 계량기들로부터 서로 다른 타임 슬롯을 통해 복수 개의 디스커버리 응답 패킷들을 수신하는 단계;
상기 복수 개의 디스커버리 응답 패킷들 각각에 포함된 계량기 주소 및 계량기 일련번호를 저장하여 상기 일부의 미등록 계량기들을 등록하는 단계; 및
상기 일부의 미등록 계량기들 각각의 레지스터 플래그를 갱신하기 위한 설정 요청을 상기 일부의 미등록 계량기들로 전송하는 단계를 포함하는 계량기 등록 방법.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.
상기 레지스터 플래그는
상기 데이터집중장치에 대한 등록 여부를 나타내는 계량기 등록 방법.The method according to claim 1,
The register flag is
Meter registration method indicating whether or not to register the data intensive device.
상기 제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.
상기 임계치는
상기 데이터집중장치에 연결되는 계량기의 최대 연결 개수에 따라 결정되는 계량기 등록 방법.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.
상기 임계치는
상기 최대 연결 개수보다 작은 값을 가지는 계량기 등록 방법.The method of claim 4,
The threshold is
Meter registration method having a value less than the maximum number of connections.
상기 설정 요청을 상기 복수 개의 미등록 계량기들로 전송하는 단계 이후에,
상기 최대 연결 개수보다 큰 값을 갖는 임계치를 포함하는 제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.
객체인식시스템 코드(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.
상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 복수 개의 타임 슬롯들 중 상기 난수에 대응되는 타임 슬롯을 통해 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계를 포함하는 계량기 등록 방법.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.
상기 난수에 대응되는 타임 슬롯을 통해 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 난수를 이용하여 응답지연시간을 결정하는 단계; 및
상기 응답지연시간이 경과한 후 상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계를 포함하는 계량기 등록 방법.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.
상기 디스커버리 응답 패킷을 상기 데이터집중장치로 전송하는 단계는
상기 디스커버리 요청 패킷에 포함된 임계치를 제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.
상기 응답 여부를 판단하는 단계는
상기 디스커버리 요청 패킷에 응답할 때 상기 어느 하나의 타임 슬롯에서의 패킷 충돌을 회피하기 위해 상기 임계치를 상기 제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.
상기 임계치는
상기 데이터집중장치에 연결되는 계량기의 최대 연결 개수에 따라 결정되고,
상기 제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.
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)
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)
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)
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 |
-
2011
- 2011-05-31 KR KR1020110052356A patent/KR101791693B1/en active IP Right Grant
Cited By (7)
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 |