KR102359509B1 - Apparatus for generating seed of random number and method thereof - Google Patents

Apparatus for generating seed of random number and method thereof Download PDF

Info

Publication number
KR102359509B1
KR102359509B1 KR1020190126830A KR20190126830A KR102359509B1 KR 102359509 B1 KR102359509 B1 KR 102359509B1 KR 1020190126830 A KR1020190126830 A KR 1020190126830A KR 20190126830 A KR20190126830 A KR 20190126830A KR 102359509 B1 KR102359509 B1 KR 102359509B1
Authority
KR
South Korea
Prior art keywords
seed
value
measurement
converter
data
Prior art date
Application number
KR1020190126830A
Other languages
Korean (ko)
Other versions
KR20210043916A (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 KR1020190126830A priority Critical patent/KR102359509B1/en
Publication of KR20210043916A publication Critical patent/KR20210043916A/en
Application granted granted Critical
Publication of KR102359509B1 publication Critical patent/KR102359509B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/48Meters specially adapted for measuring real or reactive components; Meters specially adapted for measuring apparent energy
    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/60Security, fault tolerance

Abstract

본 발명은 난수용 시드 생성 장치 및 그 방법이 개시된다. 본 발명의 난수용 시드 생성 장치는, 디지털 전력량계에서 부하측과 인입측의 전력 상태를 계측하기 위한 계측부; 계측부에서 계측된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기; 및 AD 변환기를 통해 변환된 계측 데이터로부터 소스값 추출을 위한 측정시점을 결정하여 소스값을 추출하고, 추출된 소스값에 기초하여 시드값을 생성하는 시드 생성부;를 포함하는 것을 특징으로 한다. Disclosed are an apparatus for generating a seed for random numbers and a method therefor. A random number seed generator according to the present invention includes: a measuring unit for measuring power states of a load side and an incoming side in a digital watt hour meter; an AD converter that converts the measurement data measured by the measurement unit into digital data; and a seed generator configured to determine a measurement point for extracting a source value from the measurement data converted through the AD converter to extract the source value, and to generate a seed value based on the extracted source value.

Figure R1020190126830
Figure R1020190126830

Description

난수용 시드 생성 장치 및 그 방법{APPARATUS FOR GENERATING SEED OF RANDOM NUMBER AND METHOD THEREOF}Apparatus for generating a seed for random numbers and a method therefor

본 발명은 난수용 시드 생성 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 AMI 시스템의 디지털 전력량계에서 보안 및 통신을 위해 사용되는 난수를 추출하기 위한 시드값을 전력 계측센서를 이용한 전력값에 기초하여 자체 생성하고, 이를 관련모듈에 공급하는 난수용 시드 생성 장치 및 방법에 관한 것이다. The present invention relates to an apparatus for generating a seed for random numbers and a method therefor, and more particularly, a seed value for extracting a random number used for security and communication in a digital watt-hour meter of an AMI system based on the power value using a power measurement sensor It relates to an apparatus and method for generating seeds for random numbers that are generated by themselves and supplied to related modules.

일반적으로, AMI 시스템은(Advanced Metering Infrastructure System)은 에너지를 소비하는 수용가에 설치된 전기, 가스, 수도, 온수, 열량 등 각종 계량기의 사용량을 원격에서 검침하는 한편, 해당 정보를 상위 시스템에서 자동으로 취합, 분석 및 가공한 후 이를 다시 수용가에게 제공하는 양방항 통신 인프라를 의미한다. In general, the AMI system (Advanced Metering Infrastructure System) remotely reads the usage of various meters installed in consumers who consume energy, such as electricity, gas, water, hot water, and heat, while automatically collecting the information from the upper system. , it means a two-way communication infrastructure that analyzes and processes and provides it back to consumers.

이러한, AMI 시스템은 기존 수용가의 에너지 사용량 정보를 유틸리티 회사에서 단순 수집하기 위한 AMR 시스템(Advanced Meter Reading System ; 원격검침시스템)에 에너지 사용량 정보를 수용가에게 제공하는 양방향 소통의 기능을 추가한 차세대 버전의 에너지 계량 인프라로서, 전 세계적으로 스마트그리드 도입의 활성화에 힘입어 전력 분야에 광범위하게 도입되고 있다.The AMI system is the next-generation version of the AMR system (Advanced Meter Reading System) for simply collecting the energy usage information of the existing consumers from the utility company, adding a two-way communication function that provides energy usage information to the consumers. As an energy metering infrastructure, it is being widely introduced in the electric power field thanks to the activation of smart grid introduction worldwide.

이와 같은 통상의 AMI 시스템에서는 수용가측에 설치된 전자식 전력량계의 사용량을 AMI용 슬레이브 모뎀과 마스터 모뎀을 이용하여 데이터 집중장치(Data Concentration Unit; DCU)에서 수집한 후 AMI 서버로 전송하게 된다.In such a typical AMI system, the amount of usage of the electronic watt-hour meter installed on the consumer side is collected from the Data Concentration Unit (DCU) using the AMI slave modem and the master modem, and then transmitted to the AMI server.

여기서, AMI 서버는 검침을 위해 설치되는 전자식 전력량계, 모뎀 등 검침기기의 구성 정보를 관리하고 검침 데이터를 취득, 저장하며 웹브라우저를 통하여 각 수용가의 사용 정보를 제공한다. 또한, 데이터 집중장치(DCU)는 AMI 시스템에 있어서 수용가 측 전자식 전력량계의 검침 데이터를 수집하는 장치이다. 전자식 전력량계는 수용가의 전기 사용량을 계측, 저장하고 통신을 통해 정보를 제공하는 전력량계이다.Here, the AMI server manages configuration information of meter reading devices, such as electronic watt-hour meters and modems installed for meter reading, acquires and stores meter reading data, and provides usage information of each customer through a web browser. In addition, the data concentrator (DCU) is a device that collects the meter reading data of the consumer-side electronic watt-hour meter in the AMI system. The electronic watt-hour meter is a watt-hour meter that measures and stores the electricity consumption of consumers and provides information through communication.

본 발명의 배경기술은 대한민국 공개특허공보 제2014-0120203호(2014.10.13. 공개, AMI 시스템의 전력정보 계측 장치)에 개시되어 있다. The background technology of the present invention is disclosed in Korean Patent Application Laid-Open No. 2014-0120203 (published on October 13, 2014, power information measuring device of AMI system).

이와 같이 AMI 시스템에서 검침 데이터를 주기적으로 혹은 비주기적으로 AMI 서버로 송신하게 되는데, 검침 데이터의 송수신을 위해 통신 프로토콜에 암호화 기술을 적용하여 제 3자에 의한 요금변조, 개인정보의 무단 수집 등이 이루어지지 않도록 하고 있다. In this way, the AMI system transmits the meter reading data periodically or aperiodically to the AMI server. Encryption technology is applied to the communication protocol for the transmission and reception of the meter reading data to prevent charge manipulation by a third party and unauthorized collection of personal information. preventing it from happening.

따라서 AMI 시스템의 디지털 전력량계에는 기본적으로 고객의 전력사용 정보 등을 실시간으로 계측하는 모듈, 데이터를 보호하고 암호화하는 모듈, 데이터를 전송하기 위한 통신 모듈 및 전체 시스템을 관리하는 메인 모듈로 나뉠 수 있다. Therefore, the digital watt-hour meter of the AMI system can be basically divided into a module that measures customer power usage information in real time, a module that protects and encrypts data, a communication module for data transmission, and a main module that manages the entire system.

이와 같은 각 모듈들에는 디지털 시스템에서 이야기하는 난수값 추출 및 활용이 필수적으로 요구된다. 예를 들어, 보안 모듈에서는 암호키를 생성하기 위해 난수를 생성 및 사용하며, 통신모듈에서는 서로 겹치지 않는 채널을 뽑기 위해 난수를 사용하고, 나아가 인공지능에서는 다양한 패턴에 대한 학습화를 높이기 위해 난수를 사용한다. For each of these modules, it is essential to extract and utilize the random number value mentioned in the digital system. For example, the security module generates and uses a random number to generate an encryption key, the communication module uses the random number to select non-overlapping channels, and furthermore, in the artificial intelligence, random numbers are generated to increase learning of various patterns. use.

이러한 난수를 생성하기 위해서는 진난수 생성기(TRNG), 의사난수 생성기(PRNG), 의사난수 함수(PRF) 등이 일반적으로 사용된다. 하지만 이러한 난수생성기조차 난수성을 갖는 초기값인 시드값(Seed)을 사용해야 한다. 예를 들어, 진난수 생성기를 사용하기 위해서는 일반적으로 진난수 생성기나 의사난수 함수의 난수를 초기값으로 사용하고 있다. In order to generate such a random number, a true random number generator (TRNG), a pseudo random number generator (PRNG), a pseudo random number function (PRF), etc. are generally used. However, even such a random number generator must use a seed value, which is an initial value having randomness. For example, in order to use a true random number generator, a random number of a true random number generator or a pseudo random number function is generally used as an initial value.

난수의 시드값은 다양한 조합 또는 시스템 내에서 예측 불가능한 외부의 값을 이용하여 사용할 수 있다. 먼저 진난수 생성기에서의 시드값은 진난수 생성기나 진난수 함수의 난수값을 시드로 활용할 수 있다. The seed value of the random number can be used in various combinations or by using an external value that is unpredictable within the system. First, the seed value in the true random number generator can be used as a seed using the random number value of the true random number generator or true random number function.

여기서 진난수 생성기는 시스템 외부에서 발생 또는 내부에서 예측이 어려운 물리적 현상에 대한 측정값을 기준으로 시드를 사용하게 된다. 예를 들어, 사용가능한 시드값 계산 소스로서, 시스템 내부의 CPU 온도, 시간, 마아스의 움직임 패턴, 키보드의 입력 타이밍, 시스템 디스크의 전기적 활동 및 시스템 클럭의 순간 값 등과 사용자가 정의한 특정값을 결합하여 진난수 함수의 난수값으로 사용할 수 있다. Here, the true random number generator uses a seed based on a measurement value for a physical phenomenon that is generated outside the system or is difficult to predict inside the system. For example, as a usable seed value calculation source, user-defined values can be combined with internal CPU temperature, time, mouse movement pattern, keyboard input timing, system disk electrical activity and instantaneous values of the system clock, etc. Therefore, it can be used as a random number value of a true random number function.

이와 같이 패턴이 일정하지 않고, 예측이 어려운 시드값을 찾기 위해서는 연산시스템 외부에서의 물리적 특성 등에 의한 값을 사용하지만, 해당 값을 측정하기 위해서는 비용이 상승하게 되는 문제점이 있다. As such, in order to find a seed value that is not uniform and difficult to predict, a value based on physical characteristics outside the operating system is used, but there is a problem in that the cost increases in order to measure the corresponding value.

예를 들어, 전자식 전력량계의 암호모듈 등에서 진난수 생성기를 위해 칩셋의 온도를 사용할 경우, 온도 측정을 위한 센서가 추가로 장착됨에 따라 비용이 상승하는 문제점이 있다. For example, when the temperature of the chipset is used for a true random number generator in the encryption module of an electronic watt-hour meter, there is a problem in that the cost increases as a sensor for measuring the temperature is additionally mounted.

또한, 시스템의 시간 값 등을 사용할 수도 있으나, 시스템이 정전 및 배터리 노후화로 인해 시간이 리셋되는 경우, 동일 집단군에서 시드값이 같아지는 문제점이 있다. In addition, the time value of the system may be used, but there is a problem in that the seed value becomes the same in the same group when the system time is reset due to a power outage and battery aging.

본 발명은 상기와 같은 문제점들을 개선하기 위하여 안출된 것으로, 일 측면에 따른 본 발명의 목적은 AMI 시스템의 디지털 전력량계에서 보안 및 통신을 위해 사용되는 난수를 추출하기 위한 시드값을 전력 계측센서를 이용한 전력값에 기초하여 자체 생성하고, 이를 관련모듈에 공급하는 난수용 시스 생성 장치 및 방법을 제공하는 것이다. The present invention has been devised to improve the above problems, and an object of the present invention according to one aspect is to obtain a seed value for extracting a random number used for security and communication in a digital watt-hour meter of an AMI system using a power measurement sensor. An object is to provide an apparatus and method for generating a sheath for random numbers that are self-generated based on a power value and supply the same to a related module.

본 발명의 일 측면에 따른 난수용 시드 생성 장치는, 디지털 전력량계에서 부하측과 인입측의 전력 상태를 계측하기 위한 계측부; 계측부에서 계측된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기; 및 AD 변환기를 통해 변환된 계측 데이터로부터 소스값 추출을 위한 측정시점을 결정하여 소스값을 추출하고, 추출된 소스값에 기초하여 시드값을 생성하는 시드 생성부;를 포함하는 것을 특징으로 한다. According to an aspect of the present invention, there is provided an apparatus for generating a seed for random numbers, comprising: a measuring unit for measuring power states of a load side and an incoming side in a digital watt-hour meter; an AD converter that converts the measurement data measured by the measurement unit into digital data; and a seed generator configured to determine a measurement point for extracting a source value from the measurement data converted through the AD converter to extract the source value, and to generate a seed value based on the extracted source value.

본 발명은 시드 생성부에서 생성된 시드값을 주변 모듈에 제공하는 출력부를 더 포함하는 것을 특징으로 한다. The present invention is characterized in that it further comprises an output unit for providing the seed value generated by the seed generating unit to the peripheral module.

본 발명에서 계측부는, 상별 전압센서 및 상별 전류센서를 포함하는 것을 특징으로 한다. In the present invention, the measuring unit is characterized in that it includes a voltage sensor for each phase and a current sensor for each phase.

본 발명에서 시드 생성부는, 소스값 추출을 위한 측정시점을 결정하는 측정시점 결정부; 시드값의 자리수를 결정하는 자리수 결정부; 측정시점에 결정된 자리수에 따라 계측 데이터로부터 소스값을 추출하는 데이터 추출부; 및 데이터 추출부에서 추출된 소스값을 조합하거나 결합하여 시드값을 결정하는 시드값 결정부를 포함하는 것을 특징으로 한다. In the present invention, the seed generating unit includes: a measurement time determination unit for determining a measurement time for extracting a source value; a digit determining unit that determines the number of digits of the seed value; a data extraction unit for extracting a source value from the measurement data according to the number of digits determined at the time of measurement; and a seed value determiner configured to combine or combine the source values extracted by the data extractor to determine a seed value.

본 발명에서 측정시점 결정부는, AD 변환기에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 측정시점을 결정하는 것을 특징으로 한다. In the present invention, the measurement time determining unit determines the measurement time by combining any one or more of a selected value among the number of pulses transmitted from the AD converter, a reception time of external data, and an operation time of an external factor and an internal functional element. .

본 발명에서 측정시점 결정부는, AD 변환기를 통해 변환된 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수로 적용하여 주파수 패턴의 상하한값을 생성하여 측정시점을 선택하는 것을 특징으로 한다. The measurement time determination unit in the present invention is characterized in that the measurement time is selected by applying a value selected from the measurement data converted through the AD converter as a constant to the Fourier series to generate upper and lower limit values of the frequency pattern.

본 발명에서 데이터 추출부는, AD 변환기의 분해능에 따라 셔플링 기법을 통해 섞은 후 자리수 결정부에서 결정된 자리수에 기초하여 소스값을 추출하는 것을 특징으로 한다. In the present invention, the data extraction unit extracts the source value based on the number of digits determined by the digit determination unit after mixing through a shuffling technique according to the resolution of the AD converter.

본 발명에서 데이터 추출부는, AD 변환기의 분해능보다 자리수 결정부에서 결정된 자리수가 큰 경우, 다수회 검출된 계측 데이터를 기반으로 유니폼 분포를 생성하여 추출하는 것을 특징으로 한다. In the present invention, when the number of digits determined by the digit determination unit is greater than the resolution of the AD converter, the data extraction unit generates and extracts a uniform distribution based on the measurement data detected multiple times.

본 발명의 다른 측면에 따른 난수용 시드 생성 방법은, 시드 생성부가 디지털 전력량계의 계측부로부터 측정된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기의 출력으로부터 소스값 추출을 위한 측정시점을 결정하는 단계; 시드 생성부가 생성하기 위한 시드값의 자리수를 결정하는 단계; 시드 생성부가 측정시점에 결정된 자리수에 따라 계측 데이터로부터 소스값을 추출하는 단계; 및 시드 생성부가 추출된 소스값을 기반으로 시드값을 결정하는 단계;를 포함하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided a method for generating a seed for random numbers, the method comprising: determining a measurement time point for extracting a source value from an output of an AD converter for converting, by a seed generating unit, measured data measured by a measuring unit of a digital watt-hour meter into digital data; determining the number of digits of a seed value to be generated by the seed generator; extracting, by the seed generator, a source value from the measurement data according to the number of digits determined at the time of measurement; and determining, by the seed generator, a seed value based on the extracted source value.

본 발명에서 측정시점을 결정하는 단계는, 시드 생성부가 AD 변환기에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 측정시점을 결정하는 것을 특징으로 한다. In the present invention, the step of determining the measurement time includes combining any one or more of the selected value among the number of pulses transmitted from the AD converter by the seed generator, the reception time of external data, and the operation time of external factors and internal functional elements to determine the measurement time. characterized by determining.

본 발명에서 측정시점을 결정하는 단계는, 시드 생성부가 AD 변환기를 통해 변환된 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수로 적용하여 주파수 패턴의 상하한값을 생성하여 측정시점을 선택하는 것을 특징으로 한다. In the present invention, the step of determining the measurement time includes selecting the measurement time by generating the upper and lower limit values of the frequency pattern by applying the value selected from the measurement data converted through the AD converter by the seed generator as a constant to the Fourier series. do.

본 발명에서 소스값을 추출하는 단계는, 시드 생성부가 AD 변환기의 분해능에 따라 셔플링 기법을 통해 섞어서 결정된 자리수에 기초하여 소스값을 추출하는 것을 특징으로 한다. The step of extracting the source value in the present invention is characterized in that the seed generator extracts the source value based on the number of digits determined by mixing through a shuffling technique according to the resolution of the AD converter.

본 발명에서 소스값을 추출하는 단계는, 시드 생성부가 AD 변환기의 분해능보다 결정된 자리수가 큰 경우, 다수회 검출된 계측 데이터를 기반으로 유니폼 분포를 생성하여 추출하는 것을 특징으로 한다. The step of extracting the source value in the present invention is characterized in that, when the number of digits determined by the seed generator is greater than the resolution of the AD converter, a uniform distribution is generated and extracted based on the measurement data detected a plurality of times.

본 발명에서 시드값을 결정하는 단계는, 시드 생성부가 추출된 소스값을 기반으로 조합하거나 결합하여 시드값을 결정하는 것을 특징으로 한다. The step of determining the seed value in the present invention is characterized in that the seed generator determines the seed value by combining or combining based on the extracted source value.

본 발명은 시드 생성부가 생성된 시드값을 주변 모듈에 제공하는 단계를 더 포함하는 것을 특징으로 한다. The present invention is characterized in that it further comprises the step of providing the seed value generated by the seed generator to the peripheral module.

본 발명의 일 측면에 따른 난수용 시드 생성 장치 및 그 방법은 AMI 시스템의 디지털 전력량계에서 보안 및 통신을 위해 사용되는 난수를 추출하기 위한 시드값을 전력 계측센서를 이용한 전력값에 기초하여 자체 생성하고, 이를 관련모듈에 공급함으로써, 추가적인 장치와 비용을 감소시킬 수 있을 뿐만 아니라 측정시점을 특정하기 어려워 외부에서 정확한 시드값의 예측이나 추측이 확률적으로 어려워 개체식별 및 보안성을 강화할 수 있다. An apparatus and method for generating a seed for random numbers according to an aspect of the present invention generate a seed value for extracting a random number used for security and communication in a digital watt-hour meter of an AMI system based on the power value using a power measurement sensor, and , by supplying it to the relevant module, additional devices and costs can be reduced, and the individual identification and security can be strengthened because it is difficult to specify the measurement time, making it probabilistically difficult to predict or guess the exact seed value from the outside.

도 1은 본 발명의 일 실시예에 따른 난수용 시드 생성 장치를 나타낸 블록 구성도이다.
도 2는 본 발명의 일 실시예에 따른 난수용 시드 생성 장치의 시드 생성부를 나타낸 블록 구성도이다.
도 3은 본 발명의 일 실시예에 따른 난수용 시드 생성 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating an apparatus for generating a seed for random numbers according to an embodiment of the present invention.
2 is a block diagram illustrating a seed generator of an apparatus for generating a seed for random numbers according to an embodiment of the present invention.
3 is a flowchart illustrating a method for generating a seed for random numbers according to an embodiment of the present invention.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 난수용 시드 생성 장치 및 그 방법을 설명한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, an apparatus for generating a seed for random numbers and a method therefor according to the present invention will be described with reference to the accompanying drawings. In this process, the thickness of the lines or the size of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, the terms to be described later are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the user or operator. Therefore, definitions of these terms should be made based on the content throughout this specification.

도 1은 본 발명의 일 실시예에 따른 난수용 시드 생성 장치를 나타낸 블록 구성도이고, 도 2는 본 발명의 일 실시예에 따른 난수용 시드 생성 장치의 시드 생성부를 나타낸 블록 구성도이다. 1 is a block diagram illustrating an apparatus for generating a seed for random numbers according to an embodiment of the present invention, and FIG. 2 is a block diagram illustrating a seed generator of an apparatus for generating a seed for random numbers according to an embodiment of the present invention.

도 1과 도 2에 도시된 바와 같이 본 발명의 일 실시예에 따른 난수용 시드 생성 장치는, 계측부(10), AD 변환기(20) 및 시드 생성부(30)를 비롯하여 출력부(40)를 포함할 수 있다. 1 and 2 , the apparatus for generating a random number seed according to an embodiment of the present invention includes an output unit 40 including a measuring unit 10 , an AD converter 20 , and a seed generating unit 30 . may include

계측부(10)는 디지털 전력량계에서 부하측과 인입측의 전력 상태를 계측하기 위한 상별 전압센서 및 상별 전류센서를 포함할 수 있다. 또한, 계측부(10)는 디지털 전력량계에서 환경적인 요소를 측정할 수 있는 온도센서 및 습도센서를 포함할 수도 있다. The measuring unit 10 may include a voltage sensor for each phase and a current sensor for each phase for measuring the power state of the load side and the incoming side in the digital watt hour meter. In addition, the measuring unit 10 may include a temperature sensor and a humidity sensor capable of measuring environmental factors in the digital watt-hour meter.

AD 변환기(20)는 계측부(10)에서 계측된 계측 데이터를 디지털 데이터로 변환할 수 있다. The AD converter 20 may convert the measurement data measured by the measurement unit 10 into digital data.

여기서 AD 변환기(20)는 아날로그 데이터를 디지털 데이터로 변환하는 모듈로, 분해 능력에 따라 측정 정밀도가 달라진다. 디지털 전력량계에서 사용되는 AD 변환기(20)의 분해능은 24bit 수준으로 대단위의 숫자를 표현할 수 있으며, 이는 와트를 기준으로 볼 때 피코와트 범위로, 매우 넓은 범위의 수 표현이 가능하다. Here, the AD converter 20 is a module that converts analog data into digital data, and measurement precision varies according to resolution capability. The resolution of the AD converter 20 used in the digital watt-hour meter can express a large number at the level of 24 bits, which is a picowatt range in terms of watts, and a very wide range of numbers can be expressed.

또한 AD 변환기(20)는 기본적으로 난수성을 갖고 있기 때문에 전력 사용량 역시 특정 시점에서 무작위로 발생되는 값이 될 수 있다. In addition, since the AD converter 20 basically has randomness, the power consumption may also be a value that is randomly generated at a specific point in time.

시드 생성부(30)는 AD 변환기(20)를 통해 변환된 계측 데이터로부터 소스값 추출을 위한 측정시점을 결정하여 소스값을 추출하고, 추출된 소스값에 기초하여 시드값을 생성할 수 있다. The seed generator 30 may extract a source value by determining a measurement time for extracting a source value from the measurement data converted through the AD converter 20 , and may generate a seed value based on the extracted source value.

여기서 시드 생성부(30)는 도 2에 도시된 바와 같이 측정시점 결정부(32), 자리수 결정부(34), 데이터 추출부(36) 및 시드값 결정부(38)를 포함할 수 있다. Here, the seed generator 30 may include a measurement time determiner 32 , a digit determiner 34 , a data extractor 36 , and a seed value determiner 38 as shown in FIG. 2 .

측정시점 결정부(32)는 소스값 추출을 위한 측정시점을 결정할 수 있다. The measurement time determination unit 32 may determine a measurement time for extracting the source value.

여기서, 측정시점 결정부(32)는 무작위성을 높여 예측할 수 없도록 하기 위해 AD 변환기(20)에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 측정시점을 결정할 수 있다. Here, in order to increase randomness and make it unpredictable, the measurement time determination unit 32 selects any one of a value selected among the number of pulses transmitted from the AD converter 20, a time of reception of external data, and an operation time of an external factor and an internal functional element. By combining the above, the measurement time can be determined.

또한, 측정시점 결정부(32)는 수학식 1과 같이 AD 변환기(20)를 통해 변환된 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수(a, b)로 적용하여 주파수 패턴의 상하한값을 생성하여 측정시점을 선택할 수도 있다. In addition, the measurement time determination unit 32 applies a value selected from the measurement data converted through the AD converter 20 as a constant (a, b) to a Fourier series equation as in Equation 1 to generate upper and lower limit values of the frequency pattern It is also possible to select the measurement point.

Figure 112019104289637-pat00001
Figure 112019104289637-pat00001

자리수 결정부(34)는 생성하기 위한 시드값의 자리수를 결정할 수 있다. The number of digits determiner 34 may determine the number of digits of the seed value to be generated.

데이터 추출부(36)는 측정시점에 결정된 자리수에 따라 계측 데이터로부터 소스값을 추출할 수 있다. The data extraction unit 36 may extract a source value from the measurement data according to the number of digits determined at the time of measurement.

여기서, 데이터 추출부(36)는 AD 변환기(20)의 분해능에 따라 셔플링 기법을 통해 섞어 자리수 결정부(34)에서 결정된 자리수에 기초하여 소스값을 추출할 수 있다. Here, the data extraction unit 36 may extract a source value based on the number of digits determined by the number of digits determination unit 34 by mixing through a shuffling technique according to the resolution of the AD converter 20 .

또한, 데이터 추출부(36)는 AD 변환기(20)의 분해능보다 자리수 결정부(34)에서 결정된 자리수가 큰 경우, 다수 회 검출된 계측 데이터를 기반으로 유니폼(uniform) 분포를 생성하여 추출할 수도 있다. 이때 변동폭이 큰 마지막 자릿수를 기준으로 추출할 수 있다. In addition, when the number of digits determined by the digit determination unit 34 is greater than the resolution of the AD converter 20, the data extraction unit 36 may generate and extract a uniform distribution based on the measurement data detected a plurality of times. have. In this case, it can be extracted based on the last digit with a large fluctuation range.

또한, 1회차 계측 데이터 값이 1111이고, 2회차 특성데이터의 값이 2222 이며 두 자리 시드값이 필요한 경우 12로 소스값을 추출할 수도 있다. In addition, when the first measurement data value is 1111, the second characteristic data value is 2222, and a two-digit seed value is required, the source value may be extracted as 12.

시드값 결정부(34)는 데이터 추출부(36)에서 추출된 소스값을 조합하거나 결합하여 시드값을 결정할 수 있다. The seed value determiner 34 may determine the seed value by combining or combining the source values extracted by the data extractor 36 .

예를 들어, 시드값 결정부(34)는 설정시간 동안의 합성 유효 전력량, 합성 지상 무효 전력량, 합성 진상 무효 전력량 및 합성 피상 전력량을 산출하여 시드값을 결정할 수도 있다. For example, the seed value determiner 34 may determine the seed value by calculating the synthesized active power amount, the synthesized terrestrial reactive power, the synthesized advanced reactive power, and the synthesized apparent power for a set time.

시드 생성부(34)는 디지털 전력량계의 종류 및 측정 방식에 따라 소스값을 가변적으로 추출하여 조합하거나 결합하여 시드값을 생성할 수 있다. The seed generator 34 may generate a seed value by variably extracting and combining or combining source values according to the type and measurement method of the digital watt-hour meter.

즉, 3상 전력량계의 경우 각 상별로 추출하여 각 상별로 추출된 소스값을 조합식으로 계산하여 생성할 수도 있고, 각 상 전압별로 분리된 높은 임피던스 전압 분압회로에 의해 검출된 전압을 사용하여 결합할 수도 있다. That is, in the case of a three-phase watt-hour meter, it can be generated by extracting each phase and calculating the source value extracted for each phase in a combinatorial formula, and combining the voltage detected by the high impedance voltage dividing circuit separated by each phase voltage You may.

출력부(40)는 시드 생성부(30)에서 생성된 시드값을 주변 모듈인 암호모듈(52), 통신모듈(54) 및 시스템 모듈(56)로 제공하여 각 모듈에서 제공된 시드값을 기반으로 난수를 생성할 수 있도록 한다. The output unit 40 provides the seed value generated by the seed generator 30 to the encryption module 52, the communication module 54, and the system module 56, which are peripheral modules, and based on the seed value provided by each module. Allows you to generate random numbers.

상술한 바와 같이, 본 발명의 실시예에 의한 난수용 시드 생성 장치에 따르면, AMI 시스템의 디지털 전력량계에서 보안 및 통신을 위해 사용되는 난수를 추출하기 위한 시드값을 전력 계측센서를 이용한 전력값에 기초하여 자체 생성하고, 이를 관련모듈에 공급함으로써, 추가적인 장치와 비용을 감소시킬 수 있을 뿐만 아니라 측정시점을 특정하기 어려워 외부에서 정확한 시드값의 예측이나 추측이 확률적으로 어려워 개체식별 및 보안성을 강화할 수 있다. As described above, according to the device for generating a random number seed according to an embodiment of the present invention, the seed value for extracting a random number used for security and communication in the digital watt-hour meter of the AMI system is based on the power value using the power measurement sensor By generating it by itself and supplying it to related modules, it is possible to reduce additional devices and costs, as well as to strengthen individual identification and security because it is difficult to specify the measurement time, making it probabilistically difficult to predict or guess the exact seed value from the outside. can

도 3은 본 발명의 일 실시예에 따른 난수용 시드 생성 방법을 설명하기 위한 흐름도이다. 3 is a flowchart illustrating a method for generating a seed for random numbers according to an embodiment of the present invention.

도 3에 도시된 바와 같이 본 발명의 일 실시예에 따른 난수용 시드 생성 방법에서는 먼저, 시드 생성부(30)가 디지털 전력량계의 계측부(10)로부터 측정된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기(20)의 출력을 입력받는다(S10). As shown in FIG. 3 , in the method for generating a random number seed according to an embodiment of the present invention, first, the seed generating unit 30 converts the measured data measured by the measuring unit 10 of the digital watt-hour meter into digital data. The output of (20) is received (S10).

여기서, 계측부(10)에서 측정되는 계측 데이터는 디지털 전력량계에서 부하측과 인입측의 전력 상태를 계측하기 위한 상별 전압센서 및 상별 전류센서를 통해 측정되는 전압 및 전류를 포함할 수 있다. 또한, 디지털 전력량계에서 환경적인 요소를 측정할 수 있는 온도 및 습도를 포함할 수도 있다. Here, the measurement data measured by the measurement unit 10 may include voltage and current measured by a phase-by-phase voltage sensor and phase-by-phase current sensor for measuring the power state of the load side and the incoming side in the digital watt-hour meter. It may also include temperature and humidity, which can measure environmental factors in a digital watt-hour meter.

AD 변환기(20)는 아날로그 데이터를 디지털 데이터로 변환하는 모듈로, 분해 능력에 따라 측정 정밀도가 달라지기 때문에 디지털 전력량계에서 사용되는 AD 변환기(20)의 분해능이 24bit 수준인 경우 대단위의 숫자를 표현할 수 있으며, 이는 와트를 기준으로 볼 때 피코와트 범위로, 매우 넓은 범위의 수 표현이 가능하다. The AD converter 20 is a module that converts analog data into digital data, and since the measurement precision varies depending on the resolution capability, if the resolution of the AD converter 20 used in the digital watt-hour meter is 24 bits, large numbers can be expressed. In terms of watts, this is a picowatt range, and a very wide range of numbers can be expressed.

또한 AD 변환기(20)는 기본적으로 난수성을 갖고 있기 때문에 전력 사용량 역시 특정 시점에서 무작위로 발생되는 값이 될 수 있다. In addition, since the AD converter 20 basically has randomness, the power consumption may also be a value that is randomly generated at a specific point in time.

S10 단계에서 입력되는 계측 데이터로부터 소스값을 추출하기 위해 시드 생성부(30)가 소스값을 추출하는 측정시점을 결정한다(S20). In order to extract a source value from the measurement data input in step S10, the seed generator 30 determines a measurement time point at which the source value is extracted (S20).

여기서, 측정시점은 무작위성을 높여 예측할 수 없도록 하기 위해 시드 생성부(30)가 AD 변환기(20)에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 결정할 수 있다. Here, the measurement time is a value selected among the number of pulses transmitted from the AD converter 20 by the seed generator 30 in order to increase randomness so that it cannot be predicted, the time of receiving external data, and the operating time of external factors and internal functional elements It can be determined by combining any one or more.

또한, 수학식 2와 같이 AD 변환기(20)를 통해 변환된 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수(a, b)로 적용하여 주파수 패턴의 상하한값을 생성하여 측정시점을 선택할 수도 있다. In addition, as shown in Equation 2, a value selected from the measurement data converted through the AD converter 20 may be applied as constants (a, b) to the Fourier series equation to generate upper and lower limit values of the frequency pattern to select a measurement time point.

Figure 112019104289637-pat00002
Figure 112019104289637-pat00002

S20 단계에서 측정시점을 결정한 후 시드 생성부(30)는 생성하기 위한 시드값의 자리수를 결정한다(S30). After determining the measurement time in step S20, the seed generator 30 determines the number of digits of a seed value to be generated (S30).

S30 단계에서 시드값의 자리수를 결정한 후 시드 생성부(30)는 측정시점에 결정된 자리수에 따라 계측 데이터로부터 소스값을 추출한다(S40). After determining the number of digits of the seed value in step S30, the seed generator 30 extracts a source value from the measurement data according to the number of digits determined at the measurement time (S40).

여기서, 시드 생성부(30)는 AD 변환기(20)의 분해능에 따라 셔플링 기법을 통해 섞어 결정된 자리수에 기초하여 소스값을 추출할 수 있다. Here, the seed generator 30 may extract a source value based on the number of digits determined by mixing through a shuffling technique according to the resolution of the AD converter 20 .

또한, 시드 생성부(30)는 AD 변환기(20)의 분해능보다 결정된 자리수가 큰 경우, 다수 회 검출된 계측 데이터를 기반으로 유니폼(uniform) 분포를 생성하여 추출할 수도 있다. 이때 변동폭이 큰 마지막 자릿수를 기준으로 추출할 수 있다. Also, when the determined number of digits is greater than the resolution of the AD converter 20 , the seed generator 30 may generate and extract a uniform distribution based on the measurement data detected a plurality of times. In this case, it can be extracted based on the last digit with a large fluctuation range.

한편, 시드 생성부(30)는 1회차 계측 데이터 값이 1111이고, 2회차 특성데이터의 값이 2222 이며 두 자리 시드값이 필요한 경우 12로 소스값을 추출할 수도 있다. Meanwhile, the seed generator 30 may extract the source value as 12 when the first measurement data value is 1111, the second characteristic data value is 2222, and a two-digit seed value is required.

S40 단계에서 소스값을 추출한 후 시드 생성부는 추출된 소스값을 기반으로 시드값을 결정한다(S50). After extracting the source value in step S40, the seed generator determines a seed value based on the extracted source value (S50).

예를 들어, 시드 생성부(30)는 설정시간 동안의 합성 유효 전력량, 합성 지상 무효 전력량, 합성 진상 무효 전력량 및 합성 피상 전력량을 산출하여 시드값을 결정할 수도 있다. For example, the seed generator 30 may determine the seed value by calculating the synthesized active power amount, the synthesized terrestrial reactive power, the synthetic advanced reactive power, and the synthesized apparent power for a set time.

또한, 시드 생성부(30)는 디지털 전력량계의 종류 및 측정 방식에 따라 소스값을 가변적으로 추출하여 조합하거나 결합하여 시드값을 생성할 수 있다. Also, the seed generator 30 may generate a seed value by variably extracting and combining or combining source values according to the type and measurement method of the digital watt-hour meter.

즉, 3상 전력량계의 경우 각 상별로 추출하여 각 상별로 추출된 소스값을 조합식으로 계산하여 생성할 수도 있고, 각 상 전압별로 분리된 높은 임피던스 전압 분압회로에 의해 검출된 전압을 사용하여 결합할 수도 있다. That is, in the case of a three-phase watt-hour meter, it can be generated by extracting each phase and calculating the source value extracted for each phase in a combinatorial formula, and combining the voltage detected by the high impedance voltage dividing circuit separated by each phase voltage You may.

S50 단계에서 시드값을 결정한 후 시드 생성부(30)는 생성된 시드값을 주변 모듈인 암호모듈(52), 통신모듈(54) 및 시스템 모듈(56)로 제공하여 각 모듈에서 제공된 시드값을 기반으로 난수를 생성할 수 있도록 한다(S60). After determining the seed value in step S50, the seed generation unit 30 provides the generated seed value to the encryption module 52, communication module 54, and system module 56, which are peripheral modules, to obtain the seed value provided by each module. Based on the random number to be generated (S60).

상술한 바와 같이, 본 발명의 실시예에 의한 난수용 시드 생성 방법에 따르면, AMI 시스템의 디지털 전력량계에서 보안 및 통신을 위해 사용되는 난수를 추출하기 위한 시드값을 전력 계측센서를 이용한 전력값에 기초하여 자체 생성하고, 이를 관련모듈에 공급함으로써, 추가적인 장치와 비용을 감소시킬 수 있을 뿐만 아니라 측정시점을 특정하기 어려워 외부에서 정확한 시드값의 예측이나 추측이 확률적으로 어려워 개체식별 및 보안성을 강화할 수 있다. As described above, according to the method for generating a random number seed according to an embodiment of the present invention, the seed value for extracting a random number used for security and communication in the digital watt-hour meter of the AMI system is based on the power value using the power measurement sensor. By generating it by itself and supplying it to related modules, it is possible to reduce additional devices and costs, as well as to strengthen individual identification and security because it is difficult to specify the measurement time, making it probabilistically difficult to predict or guess the exact seed value from the outside. can

본 명세서에서 설명된 구현은, 예컨대, 방법 또는 프로세스, 장치, 소프트웨어 프로그램, 데이터 스트림 또는 신호로 구현될 수 있다. 단일 형태의 구현의 맥락에서만 논의(예컨대, 방법으로서만 논의)되었더라도, 논의된 특징의 구현은 또한 다른 형태(예컨대, 장치 또는 프로그램)로도 구현될 수 있다. 장치는 적절한 하드웨어, 소프트웨어 및 펌웨어 등으로 구현될 수 있다. 방법은, 예컨대, 컴퓨터, 마이크로프로세서, 집적 회로 또는 프로그래밍 가능한 로직 디바이스 등을 포함하는 프로세싱 디바이스를 일반적으로 지칭하는 프로세서 등과 같은 장치에서 구현될 수 있다. 프로세서는 또한 최종-사용자 사이에 정보의 통신을 용이하게 하는 컴퓨터, 셀 폰, 휴대용/개인용 정보 단말기(personal digital assistant: "PDA") 및 다른 디바이스 등과 같은 통신 디바이스를 포함한다.Implementations described herein may be implemented in, for example, a method or process, an apparatus, a software program, a data stream, or a signal. Although discussed only in the context of a single form of implementation (eg, discussed only as a method), implementations of the discussed features may also be implemented in other forms (eg, as an apparatus or program). The apparatus may be implemented in suitable hardware, software and firmware, and the like. A method may be implemented in an apparatus such as, for example, a processor, which generally refers to a computer, a microprocessor, a processing device, including an integrated circuit or programmable logic device, or the like. Processors also include communication devices such as computers, cell phones, portable/personal digital assistants (“PDA”) and other devices that facilitate communication of information between end-users.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. Although the present invention has been described with reference to the embodiment shown in the drawings, this is merely an example, and those skilled in the art to which various modifications and equivalent other embodiments are possible. will understand

따라서 본 발명의 진정한 기술적 보호범위는 아래의 청구범위에 의해서 정하여져야 할 것이다.Therefore, the true technical protection scope of the present invention should be defined by the following claims.

10 : 계측부 20 : AD 변환기
30 : 시드 생성부 32 : 측정시점 결정부
34 : 자리수 결정부 36 : 데이터 추출부
38 : 시드값 결정부 40 : 출력부
52 : 암호모듈 54 : 통신모듈
56 : 시스템모듈
10: measurement unit 20: AD converter
30: seed generation unit 32: measurement time determination unit
34: digit determining unit 36: data extraction unit
38: seed value determination unit 40: output unit
52: encryption module 54: communication module
56: system module

Claims (15)

디지털 전력량계에서 부하측과 인입측의 전력 상태를 계측하기 위한 계측부;
상기 계측부에서 계측된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기; 및
상기 AD 변환기를 통해 변환된 상기 계측 데이터로부터 소스값 추출을 위한 측정시점을 결정하여 소스값을 추출하고, 추출된 상기 소스값에 기초하여 시드값을 생성하는 시드 생성부;를 포함하되,
상기 시드 생성부는,
상기 소스값 추출을 위한 상기 측정시점을 결정하는 측정시점 결정부;
상기 시드값의 자리수를 결정하는 자리수 결정부;
상기 측정시점에 결정된 자리수에 따라 상기 계측 데이터로부터 상기 소스값을 추출하는 데이터 추출부; 및
상기 데이터 추출부에서 추출된 상기 소스값을 조합하거나 결합하여 상기 시드값을 결정하는 시드값 결정부를 포함하고,
상기 데이터 추출부는, 상기 AD 변환기의 분해능보다 상기 자리수 결정부에서 결정된 자리수가 큰 경우, 다수회 검출된 상기 계측 데이터를 기반으로 유니폼 분포를 생성하여 추출하는 것을 특징으로 하는 난수용 시드 생성 장치.
a measuring unit for measuring the power state of the load side and the incoming side in the digital watt hour meter;
an AD converter for converting the measurement data measured by the measurement unit into digital data; and
A seed generator configured to determine a measurement time for extracting a source value from the measurement data converted through the AD converter to extract a source value, and to generate a seed value based on the extracted source value;
The seed generator,
a measurement time determination unit for determining the measurement time for extracting the source value;
a digit determining unit that determines the number of digits of the seed value;
a data extraction unit for extracting the source value from the measurement data according to the number of digits determined at the measurement time; and
a seed value determining unit configured to determine the seed value by combining or combining the source values extracted by the data extraction unit;
and the data extraction unit generates and extracts a uniform distribution based on the measurement data detected a plurality of times, when the number of digits determined by the number determination unit is greater than the resolution of the AD converter.
제 1항에 있어서, 상기 시드 생성부에서 생성된 상기 시드값을 주변 모듈에 제공하는 출력부를 더 포함하는 것을 특징으로 하는 난수용 시드 생성 장치.
The apparatus of claim 1, further comprising an output unit that provides the seed value generated by the seed generator to a peripheral module.
제 1항에 있어서, 상기 계측부는, 상별 전압센서 및 상별 전류센서를 포함하는 것을 특징으로 하는 난수용 시드 생성 장치.
The apparatus of claim 1, wherein the measuring unit includes a voltage sensor for each phase and a current sensor for each phase.
삭제delete 제 1항에 있어서, 상기 측정시점 결정부는, 상기 AD 변환기에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 상기 측정시점을 결정하는 것을 특징으로 하는 난수용 시드 생성 장치.
The method of claim 1, wherein the measurement time determination unit determines the measurement time by combining any one or more of a selected value among the number of pulses transmitted from the AD converter, a reception time of external data, and an operation time of an external factor and an internal functional element. A seed generating device for random numbers, characterized in that it determines.
제 1항에 있어서, 상기 측정시점 결정부는, 상기 AD 변환기를 통해 변환된 상기 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수로 적용하여 주파수 패턴의 상하한값을 생성하여 상기 측정시점을 선택하는 것을 특징으로 하는 난수용 시드 생성 장치.
The method according to claim 1, wherein the measurement time determining unit selects the measurement time by generating upper and lower limit values of the frequency pattern by applying a value selected from the measurement data converted through the AD converter as a constant to a Fourier series equation. A seed generator for random numbers.
제 1항에 있어서, 상기 데이터 추출부는, 상기 AD 변환기의 분해능에 따라 셔플링 기법을 통해 섞은 후 상기 자리수 결정부에서 결정된 자리수에 기초하여 상기 소스값을 추출하는 것을 특징으로 하는 난수용 시드 생성 장치.
The apparatus of claim 1, wherein the data extractor extracts the source value based on the number of digits determined by the digit determiner after mixing through a shuffling technique according to the resolution of the AD converter. .
삭제delete 시드 생성부가 디지털 전력량계의 계측부로부터 측정된 계측 데이터를 디지털 데이터로 변환하는 AD 변환기의 출력으로부터 소스값 추출을 위한 측정시점을 결정하는 단계;
상기 시드 생성부가 생성하기 위한 시드값의 자리수를 결정하는 단계;
상기 시드 생성부가 상기 측정시점에 결정된 자리수에 따라 상기 계측 데이터로부터 상기 소스값을 추출하는 단계; 및
상기 시드 생성부가 추출된 상기 소스값을 기반으로 시드값을 결정하는 단계;를 포함하되,
상기 소스값을 추출하는 단계는, 상기 시드 생성부가 상기 AD 변환기의 분해능보다 결정된 자리수가 큰 경우, 다수회 검출된 상기 계측 데이터를 기반으로 유니폼 분포를 생성하여 추출하는 것을 특징으로 하는 난수용 시드 생성 방법.
determining, by the seed generator, a measurement point for extracting a source value from the output of an AD converter that converts the measurement data measured by the measurement unit of the digital watt-hour meter into digital data;
determining the number of digits of the seed value to be generated by the seed generator;
extracting, by the seed generator, the source value from the measurement data according to the number of digits determined at the measurement time; and
determining, by the seed generator, a seed value based on the extracted source value;
In the step of extracting the source value, when the number of digits determined by the seed generator is greater than the resolution of the AD converter, a uniform distribution is generated and extracted based on the measurement data detected a plurality of times. Way.
제 9항에 있어서, 상기 측정시점을 결정하는 단계는, 상기 시드 생성부가 상기 AD 변환기에서 송출하는 펄스 횟수 중 선택된 값, 외부 데이터의 수신시점, 외부 요인 및 내부 기능요소의 동작시점 중 어느 하나 이상을 결합하여 상기 측정시점을 결정하는 것을 특징으로 하는 난수용 시드 생성 방법.
10. The method of claim 9, wherein the determining of the measurement time comprises any one or more of a value selected among the number of pulses transmitted from the AD converter by the seed generator, a time of receiving external data, an operating time of an external factor, and an internal functional element. A method for generating seeds for random numbers, characterized in that by combining them to determine the measurement time.
제 9항에 있어서, 상기 측정시점을 결정하는 단계는, 상기 시드 생성부가 상기 AD 변환기를 통해 변환된 상기 계측 데이터로부터 선택된 값을 푸리에 급수식에 상수로 적용하여 주파수 패턴의 상하한값을 생성하여 상기 측정시점을 선택하는 것을 특징으로 하는 난수용 시드 생성 방법.
10. The method of claim 9, wherein the determining of the measurement time comprises applying a value selected from the measurement data converted through the AD converter by the seed generator as a constant to a Fourier series to generate upper and lower limit values of the frequency pattern. A method for generating seeds for random numbers, characterized in that the measurement time is selected.
제 9항에 있어서, 상기 소스값을 추출하는 단계는, 상기 시드 생성부가 상기 AD 변환기의 분해능에 따라 셔플링 기법을 통해 섞어서 결정된 자리수에 기초하여 상기 소스값을 추출하는 것을 특징으로 하는 난수용 시드 생성 방법.
10. The random number seed of claim 9, wherein the extracting the source value comprises extracting the source value based on the number of digits determined by mixing through a shuffling technique according to the resolution of the AD converter by the seed generator. How to create.
삭제delete 제 9항에 있어서, 상기 시드값을 결정하는 단계는, 상기 시드 생성부가 추출된 상기 소스값을 기반으로 조합하거나 결합하여 상기 시드값을 결정하는 것을 특징으로 하는 난수용 시드 생성 방법.
10. The method of claim 9, wherein the determining of the seed value comprises determining the seed value by combining or combining based on the extracted source value by the seed generator.
제 9항에 있어서, 상기 시드 생성부가 생성된 상기 시드값을 주변 모듈에 제공하는 단계를 더 포함하는 것을 특징으로 하는 난수용 시드 생성 방법. 10. The method of claim 9, further comprising the step of providing the seed value generated by the seed generator to a peripheral module.
KR1020190126830A 2019-10-14 2019-10-14 Apparatus for generating seed of random number and method thereof KR102359509B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190126830A KR102359509B1 (en) 2019-10-14 2019-10-14 Apparatus for generating seed of random number and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190126830A KR102359509B1 (en) 2019-10-14 2019-10-14 Apparatus for generating seed of random number and method thereof

Publications (2)

Publication Number Publication Date
KR20210043916A KR20210043916A (en) 2021-04-22
KR102359509B1 true KR102359509B1 (en) 2022-02-09

Family

ID=75731075

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190126830A KR102359509B1 (en) 2019-10-14 2019-10-14 Apparatus for generating seed of random number and method thereof

Country Status (1)

Country Link
KR (1) KR102359509B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101630791B1 (en) * 2015-03-27 2016-06-16 황순영 Method of generating true random number from pseudo random number and computer readable medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101625857B1 (en) * 2009-03-30 2016-05-31 시게이트 테크놀로지 엘엘씨 Apparatus for generating a random number and method thereof
KR101538150B1 (en) * 2013-04-02 2015-07-29 한전케이디엔주식회사 Power information measurement device for AMI(advanced metering infrastructure) system
KR101877245B1 (en) * 2016-06-15 2018-07-11 주식회사 셀바스에이아이 Method of transporting a code data using an analogue audio signal, data transmission apparatus for performing the same, method of extracting a code data from an analogue audio signal, and data extraction apparatus for performing the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101630791B1 (en) * 2015-03-27 2016-06-16 황순영 Method of generating true random number from pseudo random number and computer readable medium

Also Published As

Publication number Publication date
KR20210043916A (en) 2021-04-22

Similar Documents

Publication Publication Date Title
Makonin et al. AMPds: A public dataset for load disaggregation and eco-feedback research
Sirojan et al. Embedded edge computing for real-time smart meter data analytics
Lin et al. Non-cooperative game model applied to an advanced metering infrastructure for non-technical loss screening in micro-distribution systems
ES2693446T3 (en) Procedure and device for non-intrusive determination of the electrical power consumed by an installation, by analysis of load transients
US20130254881A1 (en) Method to Detect Tampering of Data
Ma et al. Entropy estimation for ADC sampling-based true random number generators
CN104569900A (en) Dynamic error testing method and device for intelligent ammeter
Kriechbaumer et al. Medal: A cost-effective high-frequency energy data acquisition system for electrical appliances
Tamkittikhun et al. AC power meter design based on Arduino: Multichannel single-phase approach
Paciello et al. Smart sensors for demand response
KR102359509B1 (en) Apparatus for generating seed of random number and method thereof
Fujdiak et al. Design of low-power random number generator using signal quantization error in smart grid
Houidi et al. Design of an electricity consumption measurement system for Non Intrusive Load Monitoring
Bacurau et al. Experimental investigation on the load signature parameters for non-intrusive load monitoring
US10151804B2 (en) Power monitoring system
Reinhardt et al. Can smart plugs predict electric power consumption? A case study
Tyler et al. Direct, Instantanious Identification of Home Appliances
Chiang et al. Load disaggregation using harmonic analysis and regularized optimization
Wu et al. An energy metering and measurement SoC with a novel low-power DSP architecture
CN106597243A (en) Probability characteristic parameter extraction method based on partial discharge holographic data
Wang et al. Dynamic test signal modelling and a compressed sensing based test for electric energy meter errors
KR101719954B1 (en) System for monitoring electric energy
Sinha et al. Harmonics measurement using FFT algorithm in digital signal controller for smart micro-grid system
Mubdir et al. Smart Energy Monitoring and Control System Based on Wireless Communication
Gowrienanthan et al. Low-Cost Ensembling for Deep Neural Network based Non-Intrusive Load Monitoring

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right