KR20180137250A - smart streetlight system and control method using broadcasting contract in closed distributed database environment - Google Patents

smart streetlight system and control method using broadcasting contract in closed distributed database environment Download PDF

Info

Publication number
KR20180137250A
KR20180137250A KR1020170076677A KR20170076677A KR20180137250A KR 20180137250 A KR20180137250 A KR 20180137250A KR 1020170076677 A KR1020170076677 A KR 1020170076677A KR 20170076677 A KR20170076677 A KR 20170076677A KR 20180137250 A KR20180137250 A KR 20180137250A
Authority
KR
South Korea
Prior art keywords
information
contract
block
streetlight
control
Prior art date
Application number
KR1020170076677A
Other languages
Korean (ko)
Other versions
KR101972109B1 (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 KR1020170076677A priority Critical patent/KR101972109B1/en
Publication of KR20180137250A publication Critical patent/KR20180137250A/en
Application granted granted Critical
Publication of KR101972109B1 publication Critical patent/KR101972109B1/en

Links

Images

Classifications

    • H05B37/0245
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1854Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with non-centralised forwarding system, e.g. chaincast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/72Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps in street lighting

Abstract

According to the present invention, a smart streetlight system of a contract reference method using broadcasting in a private distributed database network environment comprises a manager terminal and a plurality of streetlight devices. The manager terminal generates a contract transaction depending on a request of a manager and broadcasts the contract transaction. The plurality of streetlight devices receive the contract transaction from the manager terminal and control a lighting device by using controlling information and state information depending on the contract transaction. The manager terminal and the plurality of streetlight devices are connected to a private distributed database network. When the contract transaction is provided, the contract transaction and partial information of a previous block are processed as a block and broadcasted, and approval is requested to the plurality of streetlight devices. When approval information is provided from the predetermined number of streetlight devices depending on a request, data synchronization is performed by recording the block in block chain information. When the block is provided from the outside, validity is determined by comparing partial information of a recorded previous block with the partial information of the previous block included in the provided block. When the block is valid, approval information is provided and approval is requested to the plurality of streetlight devices. When the approval information is provided from the predetermined number or more of streetlight devices depending on the request, the data synchronization is performed by recording the block in the block chain information. The present invention can improve stability of the system.

Description

비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템 및 제어 방법{smart streetlight system and control method using broadcasting contract in closed distributed database environment}Technical Field [0001] The present invention relates to a smart streetlight system and a control method using a contract reference method using broadcast in a private distributed database network environment.

본 발명은 가로등 제어 기술에 관한 것으로, 더욱 상세하게는 비공개적 분산형 데이터베이스 네트워크에 가로등 장치들 및 관리자 단말기가 노드로서 참여하여 스마트 가로등 시스템을 구성하고, 노드들 각각이 가로등 제어를 위한 계약 트랜잭션을 블록들로 가공하여 블록체인정보로서 기록 공유하여, 중앙집중서버 등에 의한 중앙제어가 없더라도 가로등 장치들이 상기 계약 트랙잭션에 따라 독립적으로 구동할 수 있게 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 시스템 및 제어 방법에 관한 것이다.The present invention relates to a streetlight control technology, and more particularly, to a private distributed database network in which a streetlight device and an administrator terminal participate as nodes to constitute a smart streetlight system, and each of the nodes performs a contract transaction for streetlight control Blocks to be recorded and shared as block chain information so that the street lamp devices can be independently driven according to the contract transaction even without centralized control by a centralized server or the like by using broadcasting in a distributed distributed database network environment The present invention relates to a smart streetlight control system and a control method using a contract reference method.

일반적으로 가로등을 제어하는 가로등 제어기는 주변의 광량에 의하여 점소등 되는 광전식으로부터 시작하여, 마이컴에 의하여 단순 점소등되는 타이머, 그리고 VHF를 이용한 단방향 제어를 거쳐 오늘날에는 양방향으로 가로등의 상태를 감시할 수 있는 양방향 감시 제어기가 등장하기에 이르렀다.In general, the streetlight controller that controls the streetlight starts from a photoelectric type that is turned off by the surrounding light quantity, and is controlled by a timer that is simply turned off by the microcomputer, and a unidirectional control using VHF. Today, A bidirectional surveillance controller has emerged.

이러한 가로등 감시 제어기에 있어서 종래의 양방향 감시 제어기는 전력선 통신(PLC)을 이용해 가로등의 상태를 양방향성으로 감시하여 가로등의 안정기와 램프 등의 이상 유무를 판단하고 누전 발생할시 이를 차단하는 등 전력선 통신으로 분전함 전체를 제어했다.In such a streetlight supervisory controller, the conventional bidirectional supervisory controller bidirectionally monitors the state of the streetlight using power line communication (PLC) to judge whether there is an abnormality such as a stabilizer or a lamp of the streetlight, I controlled the whole.

그리고 각 지역별 가로등 감시 제어기에 CDMA 등의 공중파 통신모듈을 탑재하여 해당 지역 가로등으로부터 전력선 통신을 통해 가로등 감시 제어기에 전송된 각종 정보를 공중망을 이용하여 가로등 관제 서버로 전송하는 시스템을 구비하였다.And a system for loading various information transmitted to the streetlight surveillance controller through a power line communication from a local street light to a street light control server using a public network by mounting a public telecommunication module such as CDMA on the street light surveillance controller for each region.

그러나 상기한 종래 기술은 가로등에 별도의 통신 모듈을 설치하지 않고 가로등에 전원을 공급하는 전력선을 통해 각 가로등의 상태를 파악하였으나, 전력선의 노화나 외부 영향에 의해 전력선이 끊어질 경우 전력선이 단선된 기점으로부터 이후 연속적으로 연결된 가로등의 정보를 확인하기 어려운 문제가 있었다. However, in the above conventional technology, the state of each streetlight is grasped through a power line supplying power to the street light without installing a separate communication module in the street light. However, if the power line is disconnected due to aging of the power line or external influences, There is a problem that it is difficult to confirm the information of the streetlights continuously connected from the starting point.

또한 상기 종래 기술에 따라 각 가로등 감시 제어기에서 가로등 관제 서버로 신호를 전송하려면 각 가로등 감시 제어기마다 공중파 통신모듈을 탑재해야하기 때문에 통신 모듈 설치에 따른 경제적인 비용이 컸다. In addition, in order to transmit a signal from each streetlamp monitoring controller to the streetlamp control server according to the related art, it is necessary to mount a landlord communication module in each streetlamp monitoring controller.

이러한 문제를 해소하기 위해 다양한 기술이 제안되었으며, 그중 하나로는 대한민국 특허청에 특허등록된 제10-0813132호이 있다. 이 등록특허는 지그비 모듈을 탑재하여 해당 가로등의 각종 상황별 정보를 감시 또는 제어하는 등주 감시제어기와; 지그비 모듈을 탑재하여 상기 등주 감시 제어기와의 지그비 통신을 통해 지역별 각 가로등의 각종 정보를 수신하는 가로등 감시 제어기와; 지그비 모듈 및 공중파 통신모듈을 탑재하여 상기 가로등 감시 제어기의 데이터를 지그비 통신을 통해 전송받고, 공중파 통신모듈을 이용하여 상기 데이터를 실시간 또는 비실시간으로 외부로 전송하는 게이트웨이와; 상기 게이트웨이의 데이터를 공중파 통신을 통해 전송받아 각 사용자에게 제공하고 필요시 특정의 등주 감시제어기에 제어 명령을 송신하는 가로등 관제 서버;를 포함하여 구성되며, 상기 가로등 감시제어기에서 게이트웨이로 전송되는 상기 데이터는, 개별 가로등 감시제어기를 구분하는 ID와, 해당 패킷의 최대 지연 전송 시간을 알려주는 MAX_DELAY_TIME과, 가로등 감시제어기로부터 전송된 해당 데이터의 실제 시간을 알 수 있는 TIMESTAMP 및 가로등 감시 데이터가 들어있는 PAYLOAD를 포함하여 구성된 가로등 감시 제어시스템을 개시한다. To solve these problems, various technologies have been proposed. One of them is Patent No. 10-0813132 registered in the Korean Intellectual Property Office. The registered patent includes a line monitoring controller for monitoring or controlling various kinds of situation information of the corresponding street lamp by mounting a ZigBee module; A streetlight surveillance controller installed with a ZigBee module and receiving various kinds of information of each streetlight by the Zigbee communication with the streetlight monitoring controller; A gateway for receiving data of the streetlight monitoring controller through a Zigbee communication with a ZigBee module and a public air communication module and transmitting the data to the outside in real time or in non-real time using a public air communication module; And a streetlight control server for receiving the data of the gateway through the airwave communication and providing the data to each user and transmitting a control command to the specific streetlight monitoring controller when necessary, wherein the data transmitted from the streetlight surveillance controller to the gateway MAX_DELAY_TIME indicating the maximum delay transmission time of the corresponding packet, TIMESTAMP indicating the actual time of the corresponding data transmitted from the streetlight monitoring controller, and PAYLOAD containing the streetlight monitoring data And a control unit for controlling the control unit.

이와 같이 종래에는 다수의 가로등을 하나의 가로등 감시 제어기를 통해 제어하므로, 가로등 감시 제어기가 공격받거나 장애가 발생한 경우에는 가로등 자체는 정상동작하더라도 해당 가로등 감시 제어기가 제어하는 다수의 가로등 전체에 대한 제어가 불능해지는 문제가 있었다. Thus, in the related art, a plurality of street lamps are controlled through a single street lamp monitor controller. Therefore, when the street lamp monitor controller is attacked or a fault occurs, even if the street lamp itself operates normally, it is impossible to control the entire plurality of street lamps There was a problem of getting rid of it.

또한 가로등 관제 서버가 직접적으로 타격을 받았을 때에는 해당 서버가 제어하는 네트워크에 연결된 모든 가로등에 대한 제어가 불능해지는 문제가 있었다. In addition, when the streetlight control server is hit directly, there is a problem that control for all the streetlights connected to the network controlled by the server is disabled.

이에 종래에는 네트워크 시스템에 있어 중요역할을 하는 노드가 기능이 하지 않는 단일 장애점(Single point of failure)의 경우나 물리적으로 서버가 직접적으로 타격을 받았을 때에도 장애 또는 타격받은 노드를 제외한 다른 노드의 경우에는 안정적으로 동작 및 제어할 수 있게 하는 기술의 개발이 절실하게 요망되었다. In the past, in case of a single point of failure in which a node that plays an important role in a network system is not functioning, or in the case where a server is physically directly hit by a node, It has been urgently required to develop a technique that enables stable operation and control of the system.

대한민국 특허등록 제10-0813132호Korean Patent Registration No. 10-0813132 대한민국 특허공개 제10-1995-0035524호Korean Patent Publication No. 10-1995-0035524 대한민국 특허공개 제10-2004-0100481호Korean Patent Publication No. 10-2004-0100481 대한민국 특허공개 제10-2001-0110064호Korean Patent Publication No. 10-2001-0110064

본 발명은 비공개적 분산형 데이터베이스 네트워크에 가로등 장치들 및 관리자 단말기가 노드로서 참여하여 스마트 가로등 시스템을 구성하고, 노드들 각각이 가로등 제어를 위한 계약 트랜잭션을 블록들로 가공하여 블록체인정보로서 기록 공유하여, 중앙집중서버 등에 의한 중앙제어가 없더라도 가로등 장치들이 상기 계약 트랙잭션에 따라 독립적으로 구동할 수 있게 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 시스템 및 제어 방법을 제공하는 것을 그 목적으로 한다. The present invention relates to a private distributed database network in which a streetlight device and an administrator terminal participate as nodes to constitute a smart streetlight system, and each of the nodes processes a contract transaction for streetlight control into blocks, A smart streetlight control system and a control method of a contract reference method using broadcasting in a private distributed database network environment in which the streetlight devices can be independently driven according to the contract transaction even without centralized control by a centralized server or the like And the like.

또한 본 발명의 다른 목적은 계약 트랜잭션에 대한 블록체인정보의 기록을 과반수 이상의 노드의 승인을 요구하여, 상기 계약 트랜잭션의 무결성을 보장함은 물론이고 비공개적 분산형 데이터베이스 네트워크 환경의 스마트 가로등 시스템의 안정성을 높일 수 있는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 시스템 및 제어 방법을 제공한다. It is a further object of the present invention to provide a method and system for securing the integrity of a smart streetlight system in a private distributed database network environment, as well as ensuring the integrity of the contract transaction by requesting approval of a majority of the nodes of the block chain information for contract transactions The present invention provides a smart streetlight control system and a control method using a contract reference method using broadcasting in a private distributed database network environment.

또한 본 발명의 또 다른 목적은 비공개적 분산형 데이터베이스 네트워크의 한 노드로서 참여한 관리자 단말기에 의한 모니터링 및 특정 노드에 대한 선택적 제어는 물론이고, 신규 노드에 대한 참여 등의 비공개적 분산형 데이터베이스 네트워크의 구성을 가능하게 하여, 비공개적 분산형 데이터베이스 네트워크 환경에서도 중앙 집중된 관리도 가능하게 하여 관리의 편이성을 제공할 수 있는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 시스템 및 제어 방법을 제공한다. It is a further object of the present invention to provide a method for monitoring and controlling a specific node by a participating administrator terminal as a node of a private distributed database network and a configuration of a private distributed database network A smart streetlight control system using a contract reference method using a broadcasting in a private distributed database network environment that can provide centralized management even in a private distributed database network environment and can provide ease of management, Control method.

상기한 목적을 달성하기 위한 본 발명에 따르는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템은, 관리자의 요청에 따라 계약 트랜잭션을 생성하여 브로드캐스팅하는 관리자 단말기;와 상기 관리자 단말기로부터의 계약 트랜잭션을 제공받아 상기 계약 트랜잭션에 따르는 제어정보와 상태정보를 이용하여 조명장치를 제어하는 다수의 가로등 장치;를 구비하며, 상기 관리자 단말기와 상기 다수의 가로등 장치는 비공개적 분산형 데이터베이스 네트워크로 연결되며, 상기 다수의 가로등 장치는 상기 계약 트랜잭션이 제공되면, 상기 계약 트랜잭션과 이전 블록의 일부정보를 가공하여 블록으로 가공하여 브로드캐스팅함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행하며, 외부로부터 블록이 제공되면 미리 기록된 이전 블록의 일부 정보와 제공받은 블록에 포함된 이전 블록의 일부정보를 비교하여 유효여부를 판별하고, 상기 블록이 유효하면 승인정보를 제공함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행함을 특징으로 한다. According to another aspect of the present invention, there is provided a smart streetlight system of contract reference type using broadcasting in a private distributed database network environment, comprising: an administrator terminal for generating and broadcasting a contract transaction at a request of an administrator; And a plurality of streetlight apparatuses that receive contract transactions from the administrator terminal and control the lighting apparatus using control information and state information according to the contract transactions, Type database network, and the plurality of streetlamp apparatuses processes the contract transaction and some information of the previous block, processes the information into blocks, and broadcasts the information to the plurality of streetlamp devices, , And If approval information is provided from a predetermined number of streetlamp devices according to the request, the block is recorded in the block chain information to perform data synchronization. If a block is provided from the outside, And if the block is valid, the approval information is provided, the approval of the plurality of streetlight devices is requested, and the number of the predetermined number or more of the streetlight devices When the approval information is provided, block synchronization is performed by recording the block in the block chain information.

본 발명은 비공개적 분산형 데이터베이스 네트워크에 가로등 장치들 및 관리자 단말기가 노드로서 참여하여 스마트 가로등 시스템을 구성하고, 노드들 각각이 가로등 제어를 위한 계약 트랜잭션을 블록들로 가공하여 블록체인정보로서 기록 공유하여, 중앙집중서버 등에 의한 중앙제어가 없더라도 가로등 장치들이 상기 계약 트랙잭션에 따라 독립적으로 구동할 수 있게 하는 효과를 야기한다. The present invention relates to a private distributed database network in which a streetlight device and an administrator terminal participate as nodes to constitute a smart streetlight system, and each of the nodes processes a contract transaction for streetlight control into blocks, Thereby causing the effect that the streetlight devices can be driven independently in accordance with the contract transaction even if there is no central control by a centralized server or the like.

특히 본 발명은 계약 트랜잭션에 대한 블록체인정보의 기록을 과반수 이상의 노드의 승인을 요구하여, 상기 계약 트랜잭션의 무결성을 보장함은 물론이고 비공개적 분산형 데이터베이스 네트워크 환경의 스마트 가로등 시스템의 안정성을 높일 수 있는 효과를 야기한다. In particular, the present invention requires the approval of more than half of the nodes to record block chain information for the contract transaction, thereby ensuring the integrity of the contract transaction, as well as enhancing the stability of the smart street lamp system in a private distributed database network environment It causes the effect.

또한 본 발명은 비공개적 분산형 데이터베이스 네트워크의 한 노드로서 참여한 관리자 단말기에 의한 모니터링 및 특정 노드에 대한 선택적 제어는 물론이고, 신규 노드에 대한 참여 등의 비공개적 분산형 데이터베이스 네트워크의 구성을 가능하게 하여, 비공개적 분산형 데이터베이스 네트워크 환경에서도 중앙 집중된 관리도 가능하게 하여 관리의 편이성을 제공할 수 있는 효과를 야기한다. In addition, the present invention enables a configuration of a private distributed database network such as participation in a new node as well as monitoring by an administrator terminal participating as a node of a private distributed database network and selective control for a specific node , Centralized management is possible even in a non-public distributed database network environment, and it is possible to provide ease of management.

도 1은 본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 시스템의 구성도.
도 2는 도 1의 가로등 장치와 관리자 단말기의 상세구성도.
도 3은 본 발명의 바람직한 실시예에 따르는 데이터의 암호화 및 인증과정을 예시한 도면.
도 4는 본 발명의 바람직한 실시예에 따르는 블록의 구조도.
도 5는 본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 방법의 구성도.
도 6 내지 도 11은 본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 방법의 절차도.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a smart streetlight control system of contract reference method using broadcasting in a private distributed database network environment according to a preferred embodiment of the present invention; FIG.
FIG. 2 is a detailed block diagram of the streetlight device and the manager terminal of FIG. 1. FIG.
3 is a diagram illustrating a process of encrypting and authenticating data according to a preferred embodiment of the present invention.
4 is a structural view of a block according to a preferred embodiment of the present invention.
FIG. 5 is a block diagram of a smart streetlight control method of contract reference method using broadcasting in a private distributed database network environment according to a preferred embodiment of the present invention. FIG.
FIG. 6 to FIG. 11 are flowcharts of a smart streetlight control method of contract reference method using broadcasting in a private distributed database network environment according to a preferred embodiment of the present invention. FIG.

본 발명은 비공개적 분산형 데이터베이스 네트워크에 가로등 장치들 및 관리자 단말기가 노드로서 참여하여 스마트 가로등 시스템을 구성하고, 노드들 각각이 가로등 제어를 위한 계약 트랜잭션을 블록들로 가공하여 블록체인정보로서 기록 공유하여, 중앙집중서버 등에 의한 중앙제어가 없더라도 가로등 장치들이 상기 계약 트랙잭션에 따라 독립적으로 구동할 수 있게 하는 효과를 야기한다. The present invention relates to a private distributed database network in which a streetlight device and an administrator terminal participate as nodes to constitute a smart streetlight system, and each of the nodes processes a contract transaction for streetlight control into blocks, Thereby causing the effect that the streetlight devices can be driven independently in accordance with the contract transaction even if there is no central control by a centralized server or the like.

특히 본 발명은 계약 트랜잭션에 대한 블록체인정보의 기록을 과반수 이상의 노드의 승인을 요구하여, 상기 계약 트랜잭션의 무결성을 보장함은 물론이고 비공개적 분산형 데이터베이스 네트워크 환경의 스마트 가로등 시스템의 안정성을 높일 수 있는 효과를 야기한다. In particular, the present invention requires the approval of more than half of the nodes to record block chain information for the contract transaction, thereby ensuring the integrity of the contract transaction, as well as enhancing the stability of the smart street lamp system in a private distributed database network environment It causes the effect.

또한 본 발명은 비공개적 분산형 데이터베이스 네트워크의 한 노드로서 참여한 관리자 단말기에 의한 모니터링 및 특정 노드에 대한 선택적 제어는 물론이고, 신규 노드에 대한 참여 등의 비공개적 분산형 데이터베이스 네트워크의 구성을 가능하게 하여, 비공개적 분산형 데이터베이스 네트워크 환경에서도 중앙 집중된 관리도 가능하게 하여 관리의 편이성을 제공할 수 있는 효과를 야기한다. In addition, the present invention enables a configuration of a private distributed database network such as participation in a new node as well as monitoring by an administrator terminal participating as a node of a private distributed database network and selective control for a specific node , Centralized management is possible even in a non-public distributed database network environment, and it is possible to provide ease of management.

<스마트 가로등 시스템의 구성><Configuration of Smart Streetlight System>

상기한 본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템의 구성을 도 1을 참조하여 설명한다. A configuration of a smart streetlight system of a contract reference method using broadcasting in a private distributed database network environment according to a preferred embodiment of the present invention will be described with reference to FIG.

상기 스마트 가로등 시스템은 제1 내지 제N가로등 장치(1001~100N)와 관리자 단말기(200)가 비공개적 분산형 데이터베이스 네트워크로 연결되어 각기 하나의 노드로 동작한다. 상기 제1 내지 제N가로등 장치(1001~100N)와 상기 관리자 단말기(200)인 노드들은 본 발명의 스마트 가로등 제어를 위한 다양한 트랜잭션을 브로드캐스팅하여 전달함으로써 통신을 이행한다. In the smart streetlight system, the first to N th street lamps 1001 to 100N and the administrator terminal 200 are connected to a private distributed database network, and operate as one node. The first to Nth street lamps 1001 to 100N and the nodes that are the administrator terminal 200 perform communication by broadcasting and transmitting various transactions for smart street lamp control of the present invention.

상기 관리자 단말기(200)는 관리자의 요청에 따라 비공개적 분산형 데이터베이스 네트워크에 신규 노드를 참여시키기 위해 첫번째 블록을 제공하거나 상기 신규 노드의 참여를 거부하는 네트워크 구성 프로세스를 수행한다. The administrator terminal 200 provides a first block for joining a new node to a private distributed database network at the request of an administrator or performs a network configuration process for refusing participation of the new node.

또한 상기 관리자 단말기(200)는 관리자의 요청에 따라 제1 내지 제N가로등 장치(1001~100N) 중 하나 이상에 대한 선택적 제어를 위한 제1계약 트랜잭션을 생성하여 브로드캐스팅하여 전송한다. In addition, the manager terminal 200 generates and broadcasts a first contract transaction for selective control of one or more of the first to N th street lamps 1001 to 100N according to a request from an administrator.

또한 상기 관리자 단말기(200)는 관리자의 요청에 따라 제1 내지 제N가로등 장치(1001~100N)에 대한 제어를 위한 제2계약 트랜잭션을 생성하여 브로드캐스팅하여 전송한다. Also, the manager terminal 200 generates and broadcasts a second contract transaction for controlling the first to N th street lamps 1001 to 100N according to a request of the manager, and transmits the second contract transaction.

또한 상기 관리자 단말기(200)는 상기 제1 내지 제2계약 트랜잭션에 대한 응답정보를 해당 가로등 장치로부터 제공받아 기록하여 저장한다. Also, the manager terminal 200 receives response information for the first and second contract transactions from the corresponding streetlight device, records and stores the response information.

상기 제1 내지 제N가로등 장치(1001~100N) 각각은 상기 비공개적 분산형 데이터베이스 네트워크에 신규로 참여하고자 하는 경우에는 상기 관리자 단말기(200)로부터 신규 참여를 위한 첫번째 블록을 제공받고, 이 첫번째 블록을 통해 다른 노드들로 계약 트랜잭션의 나머지 블록들을 제공받아 조건정보를 구성하고, 상기 조건정보에 따라 조명장치를 제어한다. 이로서 관리자는 관리자 단말기(200)를 통해 가로등 장치를 비공개적 분산형 데이터베이스 네트워크에 신규로 참여시킬 수 있다. Each of the first through N th street lamps 1001 through 100N is provided with a first block for new participation from the administrator terminal 200 when it intends to newly participate in the private DB network, The other nodes receive the remaining blocks of the contract transaction to form condition information, and control the lighting device according to the condition information. In this way, the administrator can newly participate in a private distributed database network through the manager terminal 200.

또한 상기 제1 내지 제N가로등 장치(1001~100N)는 가로등 제어를 위한 제1 또는 제2계약 트랜잭션에 대해서는 연쇄 암호화한 블록들로 변환하여 기록하여 공유하여, 중앙집중서버 등에 의한 중앙제어가 없더라도 가로등 장치들이 상기 계약 트랙잭션에 따라 독립적으로 구동할 수 있게 한다. 특히 상기 계약 트랜잭션의 기록은 과반수 이상의 노드의 승인이 획득되어야 이루어지므로, 상기 계약 트랜잭션의 무결성을 보장함은 물론이고 비공개적 분산형 데이터베이스 네트워크 환경의 스마트 가로등 시스템의 안정성을 높인다. In addition, the first to Nth street lamps 1001 to 100N convert and record the blocks of the first or second contract transaction for the streetlight control into chained blocks, so that even if there is no central control by the centralized server Thereby enabling the streetlight devices to independently operate in accordance with the contract transaction. In particular, since the recording of the contract transaction is performed after the approval of a majority of the nodes is obtained, the reliability of the smart streetlight system of the private distributed database network environment is improved, as well as ensuring the integrity of the contract transaction.

또한 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 상기 관리자 단말기(200)로부터 선택적 제어를 위한 제1계약 트랜잭션이 제공되면 상기 제2계약 트랜잭션에 따라 조건정보를 구성하고, 상기 조건정보에 따라 조명장치를 제어하고 그에 대한 응답정보를 생성하여 상기 관리자 단말기(200)로 반환한다. 이로서 관리자는 관리자 단말기(200)를 통해 가로등 장치를 선택적 제어할 수 있다. 여기서, 상기 제1계약 트랜잭션은 선택적 제어를 위한 것으로 관리자 단말기(100)는 선택 제어 대상인 가로등 장치에 대한 공개키와 제어 정보를 이용하여 제1계약 트랜잭션을 생성한다. 그리고 상기 제어 정보는 가로등 장치의 온/오프를 직접 입력하거나 소정 조도 조건에서 상기 가로등 장치를 온/오프하도록 하는 구동조건 정보가 기록된 계약정보의 참조주소로 구성될 수 있으며, 상기 계약정보는 제1 내지 제N가로등 장치(1001~100N)에 미리 기록된다. 그리고 상기 응답정보에는 조도 정보 또는 가로등 구동 상태 정보 등으로 구성될 수 있다. Each of the first to N th street lamps 1001 to 100N constitutes condition information according to the second contract transaction when a first contract transaction for selective control is provided from the manager terminal 200, And generates response information therefrom, and returns the response information to the administrator terminal 200. In this way, the administrator can selectively control the streetlight device through the manager terminal 200. Here, the first contract transaction is for selective control, and the manager terminal 100 generates a first contract transaction using the public key and the control information for the streetlight device as a selection control object. The control information may be configured as a reference address of contract information in which drive condition information for directly inputting on / off of the streetlight device or turning on / off the streetlight device under a predetermined illumination condition is recorded, 1 to N-th street lamps 1001 to 100N. The response information may include illuminance information or streetlight driving status information.

또한 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 상기 관리자 단말기(200)로부터 제2계약 트랜잭션이 제공되면, 상기 제2계약 트랜잭션에 따라 조건정보를 구성하고, 상기 조건정보에 따라 조명장치를 제어한다. 이로서 관리자는 관리자 단말기(200)를 통해 가로등 장치 전체에 대한 제어를 이행할 수 있다. 여기서, 상기 제2계약 트랜잭션은 전체 제어를 위한 것으로 관리자 단말기(100)는 가로등 장치 전체에 대한 공개키와 제어 정보를 이용하여 제2계약 트랜잭션을 생성한다. 그리고 상기 제어 정보는 소정 조도 조건에서 상기 가로등 장치를 온/오프하도록 하는 구동조건 정보가 기록된 계약정보의 참조주소로 구성될 수 있다. 그리고 상기 계약정보는 제1 내지 제N가로등 장치(1001~100N)에 미리 기록된다.  Each of the first to N th street lamps 1001 to 100N may be configured to construct condition information according to the second contract transaction when the second contract transaction is provided from the administrator terminal 200, Control the device. Thus, the manager can perform control over the entire streetlight device through the manager terminal 200. [ Here, the second contract transaction is for overall control, and the manager terminal 100 generates a second contract transaction using the public key and control information for the entire streetlight device. The control information may include a reference address of contract information in which drive condition information for turning on / off the streetlight device under a predetermined illumination condition is recorded. The contract information is previously recorded in the first to Nth street lamps 1001 to 100N.

<가로등 장치의 구성><Configuration of Streetlight Device>

상기한 본 발명의 바람직한 실시예에 따르는 제1 내지 제N가로등 장치(1001~100N) 각각은 그 구성 및 동작이 동일하므로 제1가로등 장치(1001)의 구성만을 도 2의 (a)를 참조하여 설명한다. Since each of the first to N th street lamps 1001 to 100N according to the preferred embodiment of the present invention has the same configuration and operation, only the structure of the first street lamp device 1001 is referred to Explain.

상기 제1가로등 장치(1001)는 통신모듈(102)과 제어장치(104)와 조명장치(106)와 센서장치(108)와 저장장치(110)로 구성된다. The first streetlight device 1001 includes a communication module 102, a control device 104, a lighting device 106, a sensor device 108, and a storage device 110.

상기 통신모듈(102)은 상기 비공개적 분산형 데이터베이스 네트워크를 통한 제어장치(104)와 다른 노드들과의 통신을 담당한다. The communication module 102 is responsible for communication between the control device 104 and other nodes via the private distributed database network.

상기 제어장치(104)는 상기 제1가로등 장치(1001)의 각부를 전반적으로 제어한다. The control device 104 controls the respective parts of the first lamp unit 1001 as a whole.

특히 상기 제어장치(104)는 비공개적 분산형 데이터베이스 네트워크에 신규 참여한 경우에는 관리자 단말기(200)로부터 미리 제공받은 블록체인정보의 첫 블록을 이용하여 상기 비공개적 분산형 데이터베이스 네트워크로 연결된 노드들로 블록체인정보를 요청하고, 상기 블록체인정보가 제공되면 저장장치(110)에 저장한다. 상기 블록체인정보는 제1 및 제2계약 트랜잭션을 가공하여 기록한 것이다. In particular, when the control device 104 newly participates in a private distributed database network, the control device 104 transmits, to the nodes connected to the private distributed database network using the first block of block chain information previously provided from the administrator terminal 200, Requesting the chain information, and storing the block chain information in the storage device 110 when the block chain information is provided. The block chain information is obtained by processing the first and second contract transactions.

상기한 비공개적 분산형 데이터베이스 네트워크에 연결된 후에 상기 제어장치(104)는 외부로부터 계약 트랜잭션이 제공되면 상기 계약 트랜잭션이 특정 노드의 개별키로 사인되어 있는 제1계약 트랜잭션인지를 체크하고, 상기 계약 트랜잭션이 제1계약 트랜잭션이면, 상기 제1계약 트랜잭션이 자신의 개별키로 사인되었는지를 체크하고, 상기 제1계약 트랜잭션이 자신의 공용키로 사인되었다면 자신에 대한 선택적 제어를 위한 것으로 판단하고, 상기 제1계약 트랜잭션에 기록된 제어정보, 즉 계약정보 참조주소에 따르는 계약정보에 따라 조건정보를 구성하고, 상기 조건 정보에 따라 조명장치(106)를 구동하고, 센서장치(108)를 통해 획득되는 상태정보를 응답정보로서 상기 비공개적 분산형 데이터베이스 네트워크로 브로드캐스팅하여 전송하여 관리자 단말기(200)로 반환한다. After being connected to the private distributed database network, the control device 104 checks whether the contract transaction is a first contract transaction signed with a private key of a particular node if a contract transaction is provided from the outside, Determining if the first contract transaction is signed with its own private key and if the first contract transaction is signed with its own public key, determining that the first contract transaction is for selective control over the first contract transaction; The condition information is configured in accordance with the control information recorded in the contract information reference address, and the condition information is generated in accordance with the contract information, the lighting device 106 is driven in accordance with the condition information, and the status information obtained through the sensor device 108 is returned Information is transmitted to the private distributed database network as information and transmitted, Return to the end (200).

상기한 비공개적 분산형 데이터베이스 네트워크에 연결된 후에 상기 제어장치(104)는 외부로부터 계약 트랜잭션이 제공되면 상기 계약 트랜잭션이 공용키로 사인되어 있는 제2계약 트랜잭션인지를 체크하고, 상기 계약 트랜잭션이 제공되면 상기 제2계약 트랜잭션이 공용키로 사인되었다면 전체 가로등 장치에 대한 제어를 위한 것으로 판단하고, 상기 제2계약 트랜잭션에 기록된 제어정보, 즉 계약정보 참조주소에 따르는 계약정보에 따라 조건정보를 구성하고, 상기 조건정보에 따라 조명장치(106)를 구동한다. After being connected to the private distributed database network, the control device 104 checks whether the contract transaction is a second contract transaction signed with a public key if an agreement transaction is provided from the outside, and when the contract transaction is provided, If it is determined that the second contract transaction is signed with the public key, it is determined that the second contract transaction is for control of the entire streetlamp apparatus, and the condition information is configured according to the control information recorded in the second contract transaction, And drives the lighting device 106 in accordance with the condition information.

또한 상기 제어장치(104)는 외부로부터 첫번째 블록을 포함하는 블록체인정보 요청이 발생하면, 상기 첫번째 블록이 자신이 저장한 블록체인정보의 첫번째 블록과 동일하지 여부를 통해 검증하고, 검증에 성공하면 상기 블록체인정보를 상기 블록체인정보를 요청한 노드로 전송한다. When a block chain information request including the first block is generated from the outside, the control unit 104 verifies whether the first block is identical to the first block of the block chain information stored therein, and if the verification is successful And transmits the block chain information to the node requesting the block chain information.

또한 상기 제어장치(104)는 상기 제1 또는 제2계약 트랜잭션이 수신될 때마다 상기 제1 또는 제2계약 트랜잭션이 유효하며 비공개적 분산형 데이터베이스 네트워크를 구성하는 노드 중 미리 정해둔 수 이상의 노드로부터 승인정보가 제공되면, 상기 제1 또는 제2계약 트랜잭션을 블록으로 가공하여 상기 블록체인정보에 기록한다. Also, the control device 104 may be configured such that each time the first or second contract transaction is received, the first or second contract transaction is valid, and from a predetermined number or more of the nodes constituting the private distributed database network If the approval information is provided, the first or second contract transaction is processed into a block and is recorded in the block chain information.

상기 조명장치(106)는 상기 제어장치(104)의 제어에 따라 발광하여 가로등의 광원으로서 동작한다. The lighting device 106 emits light under the control of the control device 104 and operates as a light source of the streetlight.

상기 센서장치(108)는 상기 제어장치(104)의 제어에 따라 외부 조도 또는 조명장치(106)의 조도, 상기 조명장치(106)의 장애 상태 등을 센싱하고, 그 센싱결과에 대응되는 상태정보를 생성하여 상기 제어장치(104)에 제공한다. The sensor device 108 senses external illuminance or illuminance of the illuminating device 106, a fault state of the illuminating device 106 or the like under the control of the control device 104, And provides it to the control device 104. [

상기 저장장치(110)는 상기 제어장치(104)의 제어 프로그램의 수행에 요구되는 데이터들을 저장한다. 특히 상기 저장장치(110)에는 블록체인정보를 저장하는 블록체인 저장소, 계약정보를 저장하는 계약정보 저장소, 공개키 및 노드에 부여된 개별키를 저장하는 공개키 및 개별키 저장소, 노드의 식별정보 등의 노드정보를 저장하는 노드정보 저장소, 적어도 네트워크를 구성하는 노드의 수 등을 저장하는 네트워크 구성정보 저장소를 구비한다. The storage device 110 stores data required to execute a control program of the control device 104. [ In particular, the storage device 110 is provided with a block chain store for storing block chain information, a contract information store for storing contract information, a public key for storing individual keys assigned to the node, And a network configuration information storage for storing at least a number of nodes constituting the network.

상기한 계약정보 저장소에는 계약정보 참조주소별로 서로 상이한 가로등 제어조건으로 구성된 계약정보가 미리 기록되며, 이는 계약 트랜잭션이 가로등 제어조건을 직접 전송하는 것이 아니라계약정보 참조주소만을 송수신하도록 하여 데이터 송수신량을 감소시킴은 물론이고 블록체인정보의 크기를 감소시키는 효과를 야기한다. In the contract information store, contract information composed of different streetlight control conditions for each contract information reference address is recorded in advance. This means that the contract transaction does not directly transmit the streetlight control condition, but transmits and receives only the contract information reference address, And reduce the size of the block chain information.

<관리자 단말기의 구성> <Configuration of administrator terminal>

그리고 본 발명의 바람직한 실시예에 따르는 관리자 단말기(200)의 구성을 도 2의 (b)를 참조하여 설명한다. The configuration of the administrator terminal 200 according to the preferred embodiment of the present invention will be described with reference to FIG. 2 (b).

상기 관리자 단말기(200)는 통신모듈(202)과 제어장치(204)와 저장장치(206)와 사용자 인터페이스(208)로 구성된다. The administrator terminal 200 includes a communication module 202, a control device 204, a storage device 206, and a user interface 208.

상기 통신모듈(202)은 상기 비공개적 분산형 데이터베이스 네트워크를 통한 제어장치(204)와 다른 노드와의 통신을 담당한다. The communication module 202 is responsible for communication between the control device 204 and other nodes via the private distributed database network.

상기 제어장치(204)는 사용자 인터페이스(208)를 통한 관리자의 요청에 따라 비공개적 분산형 데이터베이스 네트워크의 구성을 이행하기 위한 초기 블록의 생성 및 브로드캐스팅 전송을 이행하고, 제1 내지 제N가로등 장치(1001~100N) 중 하나 이상에 대한 선택적 제어를 위한 제1계약 트랜잭션을 생성함과 아울러 브로드캐스팅 전송하고, 제1 내지 제N가로등 장치(1001~100N) 전체에 대한 제어를 위한 제2계약 트랜잭션을 생성함과 아울러 브로드캐스팅 전송한다. 또한 상기 제1 또는 제2계약 트랜잭션은 계약정보의 참조주소를 개별키 또는 공개키로 사인하여 생성된다. 여기서, 상기 제1계약 트랜잭션은 선택된 노드의 개별키로 사인되고, 상기 제2계약 트랜잭션은 공개키로 사인된다.The control device 204 performs generation and broadcasting transmission of an initial block for implementing the configuration of the private distributed database network according to a request of the manager through the user interface 208, (1001 SIMILAR 100N), and broadcasts and transmits a first contract transaction for selective control of at least one of the first through Nth street lamps (1001 SIMILAR 100N) And broadcasts it. Also, the first or second contract transaction is generated by signing the reference address of the contract information with a private key or a public key. Here, the first contract transaction is signed with a private key of the selected node, and the second contract transaction is signed with a public key.

또한 상기 제어장치(204)는 상기 제1 및 제2계약 트랜잭션에 대해서는 연쇄 암호화한 블록체인정보로 가공 기록하여 다른 노드들과 동일화된 계약 트랜잭션을 유지한다. Also, the control device 204 records the block chain information in a chain encrypted manner for the first and second contract transactions, and maintains a contract transaction identical with other nodes.

상기 저장장치(206)는 상기 제어장치(204)의 프로그램의 수행에 요구되는 데이터들을 저장한다. 특히 상기 저장장치(204)에는 블록체인정보를 저장하는 블록체인 저장소, 계약정보를 저장하는 계약정보 저장소, 공개키 및 노드들에 부여된 개별키들을 저장하는 공개키 및 노드별 개별키 저장소, 노드의 식별정보, 노드들 각각에 대한 모니터링을 가능하게 하는 상태정보 등의 노드정보를 저장하는 노드정보 저장소, 네트워크를 구성하는 노드들의 수 또는 식별정보 등을 저장하는 네트워크 구성정보 저장소를 구비한다. The storage device 206 stores data required for executing the program of the control device 204. [ In particular, the storage device 204 includes a block chain store for storing block chain information, a contract information store for storing contract information, a public key for storing individual keys assigned to the nodes, A node information storage for storing node information such as status information for monitoring each of the nodes, a network configuration information storage for storing the number of nodes constituting the network or the identification information, and the like.

상기한 계약정보 저장소에는 계약정보 참조주소별로 서로 상이한 가로등 제어조건으로 구성된 계약정보가 미리 기록되며, 이는 계약 트랜잭션이 가로등 제어정보를 직접 전송하는 것이 아니라 계약정보 참조주소만을 송수신하도록 하여 데이터 송수신량을 감소시킴은 물론이고 블록체인정보의 크기를 감소시키는 효과를 야기한다. In the contract information store, contract information composed of different streetlight control conditions for each contract information reference address is recorded in advance. This means that the contract transaction does not directly transmit the streetlight control information but transmits only the contract information reference address, And reduce the size of the block chain information.

상기 사용자 인터페이스(208)는 관리자와 상기 제어장치(204) 사이의 인터페이스를 제공한다. 'The user interface 208 provides an interface between the administrator and the control device 204. '

<계약 트랜잭션과 블록체인><Contract transaction and block chain>

본 발명에 따르는 비공개적 분산형 데이터베이스 네트워크에 참여한 노드들은 계약 트랜잭션(TX)을 브로드캐스팅 방식으로 다른 노드로 전파한다. Nodes participating in a private distributed database network according to the present invention propagate a contract transaction (TX) to other nodes in a broadcast manner.

상기 계약 트랜잭션의 보안 및 무결성을 위해 본 발명에서는 송신측에서는 트랜잭션을 사인하여 전송하고, 수신측에서는 상기 트랙잭션의 사인을 검증하여 증명하고, 증명된 경우에만 수신처리한다. For the security and integrity of the contract transaction, in the present invention, the sender signs and transmits a transaction, the receiver verifies and verifies the signature of the transaction, and performs the receive processing only when it is proved.

이러한 트랜잭션의 송수신을 위한 처리 과정을 도 3에 예시하였다. A process for transmitting and receiving such a transaction is illustrated in FIG.

상기 도 3의 (a)는 선택적 제어를 위한 제1계약 트랜잭션의 처리과정을 예시한 것이다. 송신측은 데이터, 즉 계약정보의 참조주소를 해쉬 함수(hash function) 처리하고, 그 결과를 선택제어를 위해서는 개별키를 이용하여 암호화하여 시그니쳐(signature) 데이터를 생성하고, 상기 시그니쳐 데이터와 상기 데이터(계약정보의 참조주소)를 결합하여 사인드 데이터(singed data)를 생성한다. FIG. 3 (a) illustrates the processing of the first contract transaction for selective control. The sender processes the hash function of the data, that is, the reference address of the contract information, encrypts the result using a separate key for selective control, generates signature data, and transmits the signature data and the data The reference address of the contract information) to generate singed data.

상기 사인드 데이터는 비공개적 분산형 데이터베이스 네트워크를 통해 수신측으로 전달된다. The sign data is delivered to the receiving side via a private distributed database network.

상기 수신측은 상기 사인드 데이터를 제공받아 데이터와 시그니쳐로 분리하고, 상기 데이터를 해쉬 함수 처리함과 아울러 상기 시그니쳐를 공용키로 복호화하고, 상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일한지 여부를 토대로 상기 계약 트랜잭션이 제2계약 트랜잭션인지를 검증한다. The receiver side receives the sign data and separates the sign data into data and signature, processes the data by a hash function, decrypts the signature with a public key, and determines whether the hash function processing result and the decrypted signature are identical And verifies that the contract transaction is a second contract transaction.

상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일하지 않으면, 상기 시그니쳐를 자신의 노드에 부여된 개별키로 복호화하고, 상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일한지 여부를 토대로 상기 계약 트랜잭션이 자신에 대한 선택 제어를 위한 제1계약 트랜잭션인지를 검증한다. If the hash function processing result and the decrypted signature are not the same, decrypts the signature with an individual key assigned to the node, and if the hash function processing result and the decrypted signature are identical, Lt; RTI ID = 0.0 &gt; a &lt; / RTI &gt;

상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일하면, 상기 계약 트랜잭션이 자신에 대한 선택적 제어를 위한 제1계약 트랜잭션인 것으로 판단하여, 상기 계약 트랜잭션에 따른 가로등 제어를 이행하고, 그에 따른 가로등 상태정보를 응답정보로 수신측인 관리자 단말기(200)로 제공한다. If the hash function processing result and the decrypted signature are the same, it is determined that the contract transaction is the first contract transaction for selective control of the contract transaction, and the control unit performs the streetlight control according to the contract transaction, To the administrator terminal 200 on the receiving side as response information.

상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일하지 않으면, 상기 계약 트랜잭션을 무효화한다. If the hash function processing result and the decrypted signature are not the same, the contract transaction is invalidated.

상기 도 3의 (b)는 전체 제어를 위한 제2계약 트랜잭션의 처리과정을 예시한 것이다. 송신측은 데이터, 즉 계약정보의 참조주소를 해쉬 함수(hash function) 처리하고, 그 결과를 선택제어를 위해서는 공용키를 이용하여 암호화하여 시그니쳐(signature) 데이터를 생성하고, 상기 시그니쳐 데이터와 상기 데이터(계약정보의 참조주소)를 결합하여 사인드 데이터(singed data)를 생성한다. FIG. 3 (b) illustrates the processing of the second contract transaction for overall control. The sender processes the hash function of the data, that is, the reference address of the contract information, encrypts the result using a public key for selective control, generates signature data, and transmits the signature data and the data The reference address of the contract information) to generate singed data.

상기 사인드 데이터는 비공개적 분산형 데이터베이스 네트워크를 통해 수신측으로 전달된다. The sign data is delivered to the receiving side via a private distributed database network.

상기 수신측은 상기 사인드 데이터를 제공받아 데이터와 시그니쳐로 분리하고, 상기 데이터를 해쉬 함수 처리함과 아울러 상기 시그니쳐를 공용키로 복호화하고, 상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일한지 여부를 토대로 상기 계약 트랜잭션이 제2계약 트랜잭션인지를 검증한다. The receiver side receives the sign data and separates the sign data into data and signature, processes the data by a hash function, decrypts the signature with a public key, and determines whether the hash function processing result and the decrypted signature are identical And verifies that the contract transaction is a second contract transaction.

상기 해쉬 함수 처리 결과와 상기 복호화된 시그니쳐가 동일하면, 상기 계약 트랜잭션이 전체 노드에 대한 제어를 위한 제2계약 트랜잭션인 것으로 판단하여 상기 계약 트랜잭션에 따른 가로등 제어를 이행하고, 그에 따른 가로등 상태정보를 응답정보로 수신측인 관리자 단말기(200)로 제공한다. If the hash function processing result and the decrypted signature are the same, it is determined that the contract transaction is the second contract transaction for controlling all the nodes, and the streetlight control according to the contract transaction is executed, And provides the response information to the administrator terminal 200 on the receiving side.

본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크에 참여한 노드들, 즉 제1 내지 제N가로등 장치(1001~100N) 및 관리자 단말기는 상기 제1 및 제2계약 트랜잭션인 계약 트랜잭션 및 해당 계약 트랜잭션에 따른 가로등 제어 결과인 상태정보를 블록체인정보로 가공하고, 기록하며, 상기 블록체인을 노드들 사이에 브로드캐스팅방식으로 전달하여 공유한다. Nodes participating in a private distributed database network according to a preferred embodiment of the present invention, i.e., first through Nth street lamps 1001 through 100N and an administrator terminal, are the first and second contract transactions, State information, which is the result of the streetlight control according to the transaction, is processed and recorded as block chain information, and the block chain is transmitted and shared among the nodes by broadcasting.

상기 블록체인정보은 도 4에 예시한 바와 같다. 상기 블록체인정보는 다수의 블록으로 구성되며, 각 블록은 해쉬 함수로 암호화되어 저장되며 각 블록은 이전 블록의 해쉬값을 일부 기록함으로써 연쇄 구조를 가진다. 즉, 각 블록은 이전 블록의 해쉬값 일부, 현재 블록에 대한 증명정보, 블록 생성시각 정보, 계약 트랜잭션으로부터 추출한 계약정보 참조주소와 해당 계약정보 참조주소에 기록된 제어정보 및 그 제어정보에 따라 가로등을 제어한 결과인 상태정보로 구성된 계약 트랜잭션 가공정보들로 구성된다. 상기 계약 트랜잭션 가공정보는 송신 노드의 개인키를 통해 암호화된다. The block chain information is as illustrated in FIG. The block chain information is composed of a plurality of blocks, each block is encrypted and stored by a hash function, and each block has a chain structure by partially recording a hash value of the previous block. That is, each block stores the hash value of the previous block, the proof information of the current block, the block creation time information, the contract information reference address extracted from the contract transaction, the control information recorded in the corresponding contract information reference address, And contract transaction processing information composed of status information which is a result of controlling the transaction transaction processing information. The contract transaction processing information is encrypted through the transmitting node's private key.

<비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 구동 방법><Method of Driving Smart Streetlight Using Agreement-Referencing Method Using Broadcasting in a Private Distributed Database Network Environment>

이제 상기한 바와 같이 구성되는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템의 구동과정을 도면을 참조하여 설명한다. Now, the operation process of the smart streetlight system according to the contract reference method using broadcasting in a private distributed database network environment configured as described above will be described with reference to the drawings.

상기 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템의 기능은 도 5에 도시한 바와 같이 네트워크 구성 과정(300)와 블록생성 및 전파과정(400)과 가로등 제어과정(500)으로 나눌 수 있다. As shown in FIG. 5, the function of the smart streetlight system using the contract reference method using broadcasting in the private distributed database network environment includes a network configuration process 300, a block generation and propagation process 400, (500).

<신규 노드 참여 과정><New node participation process>

도 6은 본 발명의 바람직한 실시예에 따라 신규 노드를 비공개적 분산형 데이터베이스 네트워크에 참여시키는 과정을 도시한 것으로, 상기 도 6을 참조하여 네트워크 구성과정을 설명한다. FIG. 6 illustrates a process of joining a new node to a private distributed database network according to a preferred embodiment of the present invention. The network configuration process will be described with reference to FIG.

신규 노드는 본 발명의 바람직한 실시예에 따르는 비공개적 분산형 데이터베이스 네트워크에 참여를 희망하면 네트워크 참여 요청 메시지를 상기 관리자 단말기(200)에 제공한다(302,304단계). The new node provides the network participation request message to the administrator terminal 200 when it wishes to participate in the private distributed database network according to the preferred embodiment of the present invention (302, 304).

상기 관리자 단말기(200)는 네트워크 참여 요청 메시지가 수신되면, 이를 관리자에게 안내하여 신뢰성 판단을 요청한다. 상기 관리자에 의해 신뢰가능한 노드로 판단되면, 상기 관리자 단말기(200)는 블록체인 저장소에 저장된 블록체인정보의 첫번째 블록 및 네트워크 구성정보를 해당 노드로 전송한다(306~312단계). 상기 네트워크 구성정보에는 적어도 네트워크에 참여한 노드의 전체 수 등이 포함된다. When receiving the network participation request message, the manager terminal 200 notifies the manager of the network participation request message and requests reliability determination. If it is determined that the node is a trusted node, the manager terminal 200 transmits the first block of the block chain information and the network configuration information stored in the block chain store to the node (steps 306 to 312). The network configuration information includes at least the total number of nodes participating in the network, and the like.

상기 첫번째 블록을 제공받은 신규 노드는 상기 첫번째 블록을 포함하는 데이터 동기화 요청 메시지를 생성하여, 이웃 노드들로 브로드캐스팅하여 전송한다(314단계). 상기 첫번째 블록을 제공받은 이웃노드들은 상기 첫번째 블록이 자신이 저장해둔 블록체인정보의 첫번째 블록과 동일한지를 체크하여 인증하고, 상기 첫번째 블록이 자신이 저장해둔 블록체인정보의 첫번째 블록과 동일하면 자신이 저장하고 있던 블록체인정보의 블록들을 브로드캐스팅하여 상기 신규노드로 전달함으로서 데이터 동기화를 이행한다(316단계). In step 314, the new node generates a data synchronization request message including the first block, broadcasts the message to neighboring nodes, and transmits the message. The neighboring nodes provided with the first block check whether the first block is identical to the first block of the block chain information stored therein, and authenticate. If the first block is identical to the first block of the block chain information stored by itself, In step 316, data is synchronized by broadcasting blocks of the stored block chain information and transmitting the blocks to the new node.

상기 블록체인정보의 블록들을 수신한 신규노드는 각 블록에 대해 네트워크에 참여한 노드들 중 미리 정해둔 수 이상, 예를 들어 과반수의 노드들로부터의 승인을 요청하고, 상기 승인이 이루어지면 상기 블록들로 블록체인정보를 구성하여 기록하여 데이터 동기화를 이행한다(318단계). The new node receiving the blocks of the block chain information requests approval from a predetermined number, for example, a majority of nodes, of the nodes participating in the network for each block, and when the approval is made, Block chain information is constructed and recorded to perform data synchronization (Step 318).

이로서 신규 노드의 네트워크 참여과정은 완료된다(320단계). The network participation process of the new node is thus completed (step 320).

<블록 생성 및 전파과정><Block Generation and Propagation Process>

도 7은 본 발명의 바람직한 실시예에 따라 비공개적 분산형 데이터베이스 네트워크에 참여한 노드들이 블록을 생성하거나 전파하는 과정을 도시한 것이다. FIG. 7 illustrates a process in which nodes participating in a private distributed database network generate or propagate a block according to a preferred embodiment of the present invention.

상기 도 7을 참조하면, 비공개적 분산형 데이터베이스 네트워크에 참여한 노드들 각각은 블록이 수신되면(402단계), 미리 저장된 블록체인정보의 마지막 블록의 해쉬값의 일부가 상기 수신된 블록에 삽입된 이전 블록의 해쉬값의 일부와 동일한지 여부를 통해 해당 블록의 유효성을 판단한다. 상기 블록이 유효한 블록이면, 상기 블록에 대한 승인정보를 브로드캐스팅하여 비공개적 분산형 데이터베이스 네트워크에 참여한 다른 노드들로 제공한다. Referring to FIG. 7, when each of the nodes participating in the private distributed database network receives a block (step 402), a part of the hash value of the last block of the previously stored block chain information is transferred to the previous block The validity of the block is judged through whether or not it is the same as a part of the hash value of the block. If the block is a valid block, it broadcasts approval information for the block and provides it to other nodes participating in a private distributed database network.

이러한 상태에서 미리 정해둔 시간동안 과반수 이상의 노드로부터 해당 블록에 대한 승인정보가 수신되면, 상기 블록을 자신의 블록체인정보에 결합하여 기록하여 데이터 동기화를 이행한다(418,420단계).In this case, when the approval information for the corresponding block is received from a majority of the nodes for a predetermined period of time, the block is combined with its own block chain information and recorded to perform data synchronization (steps 418 and 420).

이와 달리 상기 미리 정해둔 시간동안 과반수 이상의 노드로부터 해당 블록에 대한 승인정보가 수신되지 않으면(418단계), 해당 블록에 대한 승인을 거부하고 해당 블록을 무효화 처리한다(410단계).If approval information for the corresponding block is not received from the nodes having more than a half of the predetermined time in step 418, the approval of the corresponding block is rejected and the corresponding block is invalidated in operation 410.

상기한 블록 수신이 발생하지 않은 상태에서 미리 정해둔 블록 브로드캐스팅 주기가 도래하면, 상기 노드는 자신이 수신 처리한 계약 트랜잭션 및 가로등 상태정보와 이전 블록의 해쉬값의 일부를 가공하여 블록을 생성하고, 상기 생성된 블록을 브로드캐스팅한다(416단계).When a predetermined block broadcasting cycle arrives in a state in which no block reception has occurred, the node generates a block by processing the contract transaction and streetlight status information received and processed by the node and a part of the hash value of the previous block , And broadcasts the generated block (step 416).

상기 브로드캐스팅후 상기 노드는 미리 정해둔 시간동안 과반수 이상의 노드로부터 해당 블록에 대한 승인정보가 수신되면, 상기 블록을 자신의 블록체인정보에 결합하여 기록한다(418,420단계).After the broadcasting, the node combines the block with its own block chain information and records it in step 418 and 420 when the approval information for the corresponding block is received from a majority of the nodes for a predetermined period of time.

이와 달리 상기 미리 정해둔 시간동안 과반수 이상의 노드로부터 해당 블록에 대한 승인정보가 수신되지 않으면(418단계), 해당 블록을 무효화 처리한다(410단계).Otherwise, if the approval information for the corresponding block is not received from a majority of the nodes during the predetermined time (step 418), the corresponding block is invalidated (step 410).

<가로등 장치 제어과정>&Lt; Streetlight device control process >

도 8 및 도 9는 이제 본 발명의 바람직한 실시예에 따라 비공개적 분산형 데이터베이스 네트워크 환경에서 가로등 장치를 제어하는 과정을 도시한 것이다. 8 and 9 illustrate a process for controlling a streetlight device in a private distributed database network environment according to a preferred embodiment of the present invention.

상기 도 8을 참조하면 관리자 단말기(200)는 관리자의 요청에 따라 가로등 장치에 대한 선택적 제어와 전체 제어 프로세스를 이행한다. Referring to FIG. 8, the administrator terminal 200 performs optional control and overall control processes for the streetlight device at the request of the administrator.

상기 관리자 단말기(200)는 관리자가 선택적 가로등 장치의 제어를 요청하면(502단계), 관리자에 의해 선택된 가로등 장치와 제어정보가 기록된 계약정보 주소정보를 입력받아, 상기 계약정보 주소정보를 선택된 가로등 장치의 개별키로 사인하여 제1계약 트랜잭션을 생성하고, 그 제1계약 트랜잭션을 제1 내지 제N가로등 장치(1001~100N)로 브로드캐스팅하여 전송한다. When the manager requests control of the selective streetlight device (step 502), the manager terminal 200 receives the streetlight device selected by the manager and the contract information address information in which the control information is recorded, and transmits the contract information address information to the selected streetlight Generates a first contract transaction by signing with the individual key of the apparatus, broadcasts the first contract transaction to the first to N th lamp units 1001 to 100N, and transmits the first contract transaction.

상기 제1 내지 제N가로등 장치(1001~100N) 각각은 상기 제1계약 트랜잭션이 수신되면, 상기 제1계약 트랜잭션이 유효하며 자신에게 전송된 것이면, 상기 제1계약 트랜잭션에 따른 계약정보 주소정보에 기록된 가로등 제어정보를 독출하여 제어정보 처리 이벤트를 발생한다. 상기 제어정보 처리 이벤트는 도 9에 도시한 이벤트 처리 절차에 따라 수행되어 가로등 제어가 수행된다. When the first contract transaction is received and the first contract transaction is valid and transmitted to the first contract transaction, the first through Nth street lamps 1001 through 100N respectively store the contract information address information according to the first contract transaction And reads the recorded streetlight control information to generate a control information processing event. The control information processing event is performed according to the event processing procedure shown in FIG. 9, and the streetlight control is performed.

상기한 바와 다르게 관리자가 전체 가로등 장치에 대한 제어를 요청하면(510단계), 상기 관리자 단말기(200)는 관리자에 의해 선택된 제어정보가 기록된 계약정보 주소정보를 입력받아, 공용키로 사인하여 제2계약 트랜잭션을 생성하고, 그 제2계약 트랜잭션을 제1 내지 제N가로등 장치(1001~100N)로 브로드캐스팅하여 전송한다. Unlike the above, when the manager requests control of the entire streetlamp (step 510), the manager terminal 200 receives the contract information address information in which the control information selected by the administrator is recorded, signs it with the public key, Generates a contract transaction, broadcasts the second contract transaction to the first to N th street lamps 1001 to 100N, and transmits the same.

상기 제1 내지 제N가로등 장치(1001~100N) 각각은 상기 제2계약 트랜잭션이 수신되면, 상기 제2계약 트랜잭션이 유효하면, 상기 제2계약 트랜잭션에 따른 계약정보 주소정보에 기록된 가로등 제어정보를 독출하여 현재 제어상태를 가변한다(518단계). 여기서 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 현재의 제어상태에 따른 조건에 따라 조도 등의 상태가 상기 조건에 부합되면 이벤트를 발생하며, 상기 이벤트는 도 9에 도시한 이벤트 처리 절차에 따라 처리되어 가로등 제어가 수행된다. If the second contract transaction is valid and the second contract transaction is valid, the first to Nth street lamps 1001 to 100N respectively update the streetlight control information recorded in the contract information address information according to the second contract transaction And the current control state is changed (step 518). Each of the first to N th street lamps 1001 to 100N generates an event when a condition such as illuminance meets the condition according to a condition according to the current control state, And the streetlight control is performed.

상기 도 9는 제1 내지 제N가로등 장치(1001~100N)에 의한 이벤트 처리 절차를 도시한 것이다. 상기 제1 내지 제N가로등 장치(1001~100N) 각각은, 이벤트가 발생하면 상기 이벤트가 제1계약 트랜잭션 수신에 따른 관리자에 의한 제어요청인지를 판별한다(602,604단계).9 shows an event processing procedure by the first to N th street lamps 1001 to 100N. Each of the first to N th street lamps 1001 to 100N determines whether the event is a control request by the administrator in response to receiving the first contract transaction (steps 602 and 604).

상기 이벤트가 제1계약 트랜잭션 수신에 따른 관리자의 제어요청이면, 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 제1계약 트랜잭션에 포함된 계약정보 참조주소를 토대로 계약정보의 해당 주소에 기입된 제어정보를 독출하고, 상기 제어정보에 따라 상기 가로등을 제어함과 아울러 가로등 제어에 따른 결과인, 조도 센싱정보 또는 가로등 온오프 정보 등의 상태정보를 생성하고, 상기 상태정보를 포함하는 제어확인 메시지를 생성하고, 상기 제어확인 메시지를 브로드캐스팅하여 상기 관리자 단말기(200)로 전송한다(606,612단계). If the event is a control request of the manager in response to the reception of the first contract transaction, each of the first through N th street lamps 1001 through 100N transmits a corresponding contract address to the corresponding address of the contract information based on the contract information reference address included in the first contract transaction Generates control information including the control information, controls the streetlight according to the control information, generates state information such as illumination sensing information or streetlight on-off information, which is a result of the streetlight control, Generates a confirmation message, broadcasts the control confirmation message, and transmits the broadcast message to the administrator terminal 200 (steps 606 and 612).

상기 이벤트가 제1계약 트랜잭션 수신에 따른 관리자의 제어요청이 아니면, 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 제2계약 트랜잭션에 의해 미리 정해진 제어상태에 따른 제어조건에 부합되어 발생된 자체적인 이벤트, 예를 들면 센서 이벤트인지를 체크한다(608단계). 상기 이벤트가 센서 이벤트이면, 상기 상기 제1 내지 제N가로등 장치(1001~100N) 각각은 센서정보가 제2계약 트랜젝션에 의해 미리 정해진 제어상태에 따른 조건을 참조하여 가로등을 제어함과 아울러 가로등 제어에 따른 결과인 상태정보를 생성하고, 상기 상태정보를 포함하는 제어확인 메시지를 생성하고, 상기 제어확인 메시지를 브로드캐스팅하여 상기 관리자 단말기(200)로 전송한다(610,612단계).If the event is not the control request of the manager according to the reception of the first contract transaction, each of the first through N th street lamps 1001 through 100N is generated in accordance with the control condition according to the predetermined control state by the second contract transaction For example, a sensor event (step 608). If the event is a sensor event, each of the first through N th street lamps 1001 through 100N controls the streetlight by referring to a condition according to a predetermined control state of the sensor information by the second contract transaction, Generates a control acknowledgment message including the status information, broadcasts the control acknowledgment message, and transmits the broadcast acknowledgment message to the administrator terminal 200 (steps 610 and 612).

상기한 본 발명은 블록체인의 분산화된 데이터베이스의 성질과 인증, 자기부인방지, 제어 기록의 무결성이 보장되는 성질을 이용하여 보안성과 안정성을 향상시키고 단일 장애점으로부터 보호하는 스마트 가로등 시스템을 제공한다. The present invention provides a smart streetlight system that improves security and stability and protects from a single point of failure by using the properties of a distributed database of block chains and the property of ensuring authentication, prevention of self-denial, and integrity of control records.

이러한 본 발명은 분산화된 데이터베이스 네트워크와, 비공개적 네트워크, 중앙 집중형 관리 기술의 장점을 모두 차용하였기 때문에 가로등 제어뿐만이 아닌 다양한 분야에서 더욱 다양하게 응용될 수 있다.Since the present invention borrows the advantages of a decentralized database network, a private network, and a centralized management technology, it can be applied not only to streetlight control, but also to various fields.

또한 본 발명의 분산형 데이터베이스 네트워크는 네트워크 참여 노드들의 진행으로만 그 시스템이 유지된다. 즉, 중앙에 집중화된 관리 서버없이 자율적으로 동작이 가능하다. 특히 중앙 관리 서버를 제거함으로서 중앙 기관의 구성 및 유지보수 비용에 대한 절감이 가능하고, 중앙 서버의 지속적인 관리와 초기 서버 개설 비용을 제거할 수 있다. 또한 본 발명에서는 중앙 관리자 노드를 분산형 데이터베이스 네트워크의 참여 노드 중 하나로 포함시켜 필요에 따라 직접적인 제어까지도 할 수 있도록 하여 기존 중앙 관리 서버를 가지는 시스템의 장점은 유지하였다. Also, the distributed database network of the present invention is maintained only by the progress of the network participating nodes. That is, it can autonomously operate without a centralized management server. In particular, by removing the central management server, it is possible to reduce the configuration and maintenance cost of the central organization, and to maintain the central server and eliminate the cost of initial server establishment. In the present invention, the central manager node is included as one of the participant nodes of the distributed database network, and even the direct control can be performed as necessary, thereby maintaining the advantage of the system having the existing central management server.

또한 본 발명은 에스크로 매커니즘(신뢰가 필요한 제 3자)에 대한 필요없이 노드에 대한 자기인증/인증에 대한 부인 방지/거래 기록의 무결성을 보장할 수 있다. Further, the present invention can ensure the integrity of the non-repudiation / transaction record for the authentication / authentication of the node without the need for an escrow mechanism (a third party that requires trust).

또한 본 발명은 분산형 데이터베이스의 해시 함수를 통한 암호화 및 데이터 분산 저장 방법을 통해 데이터의 무결성을 보장할 수 있으며, 각 참여 노드의 개인 키를 이용한 사인과 트랜잭션(Tx)를 통해 인증에 대한 자기 부인 및 이전 기록 조작을 방지한다. Also, the present invention can guarantee the integrity of data through the encryption and data distribution storage method using the hash function of the distributed database, and the self denial of the authentication through the sign and transaction (Tx) using the private key of each participating node And prevent previous recording operations.

1001~100N : 제1 내지 제N가로등 장치
200 : 관리자 단말기
200 : 의료기관 시스템
300 : 보험회사 시스템
1001 to 100N: first to Nth street lamp units
200: administrator terminal
200: Medical institution system
300: Insurance Company System

Claims (14)

비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템에 있어서,
관리자의 요청에 따라 계약 트랜잭션을 생성하여 브로드캐스팅하는 관리자 단말기;와
상기 관리자 단말기로부터의 계약 트랜잭션을 제공받아 상기 계약 트랜잭션에 따르는 제어정보와 상태정보를 이용하여 조명장치를 제어하는 다수의 가로등 장치;를 구비하며,
상기 관리자 단말기와 상기 다수의 가로등 장치는 비공개적 분산형 데이터베이스 네트워크로 연결되며,
상기 다수의 가로등 장치는 상기 계약 트랜잭션이 제공되면, 상기 계약 트랜잭션과 이전 블록의 일부정보를 가공하여 블록으로 가공하여 브로드캐스팅함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행하며,
외부로부터 블록이 제공되면 미리 기록된 이전 블록의 일부 정보와 제공받은 블록에 포함된 이전 블록의 일부정보를 비교하여 유효여부를 판별하고, 상기 블록이 유효하면 승인정보를 제공함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
Claims [1] A smart streetlight system of contract reference type using broadcasting in a private distributed database network environment,
An administrator terminal for generating and broadcasting a contract transaction at the request of the manager;
And a plurality of streetlight devices that receive contract transactions from the administrator terminal and control the illumination device using control information and state information according to the contract transaction,
Wherein the manager terminal and the plurality of streetlight devices are connected to a private distributed database network,
The plurality of streetlight devices may process the contract transaction and some information of the previous block, process the information into blocks, broadcast the request, request approval from the plurality of streetlight devices, When approval information is provided from a predetermined number of streetlamp devices, the block is recorded in block-chain information to perform data synchronization,
If a block is provided from outside, it compares some information of a previous block recorded in advance with some information of a previous block included in the provided block to determine validity. If the block is valid, it provides approval information, Wherein the approval information is provided from at least a predetermined number of streetlamp devices according to the request, and the block is recorded in the block chain information to perform data synchronization. A contract - referenced smart streetlight system using broadcasting in.
제1항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소를 포함하며,
상기 다수의 가로등 장치 각각은, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여 상기 조명장치를 제어하며,
상기 계약정보에는 계약정보 참조주소별로 각기 상이한 제어정보가 대응되게 저장됨을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
The method according to claim 1,
The contract transaction includes a contract information reference address,
Wherein each of the plurality of streetlamp apparatuses reads control information stored corresponding to a contract information reference address of the contract transaction from previously stored contract information to control the lighting apparatus,
Wherein the contract information includes different control information corresponding to each contract information reference address, and the control information is stored so as to correspond to each contract information reference address.
제1항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소가 개별키로 사인되어 생성된 제1계약 트랜잭션을 포함하며,
상기 다수의 가로등 장치 각각은 계약 트랜잭션이 자신에게 부여된 개별키로 사인된 제1계약 트랜잭션이면, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여 상기 조명장치를 제어하고, 그에 따른 제어결과를 상기 관리자 단말기로 제공하며,
상기 계약정보에는 계약정보 참조주소별로 각기 상이한 제어정보가 대응되게 저장됨을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
The method according to claim 1,
Wherein the contract transaction comprises a first contract transaction generated by signing the contract information reference address with an individual key,
Wherein each of the plurality of streetlight devices reads out the control information stored corresponding to the contract information reference address of the contract transaction from the previously stored contract information if the contract transaction is the first contract transaction signed with the individual key assigned thereto, And provides the control result to the manager terminal,
Wherein the contract information includes different control information corresponding to each contract information reference address, and the control information is stored so as to correspond to each contract information reference address.
제3항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소가 공용키로 사인되어 생성된 제2계약 트랜잭션을 포함하며,
상기 다수의 가로등 장치 각각은 상기 계약 트랜잭션이 공용키로 사인된 제2계약 트랜잭션이면, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여, 상기 제어정보에 포함된 조명장치 제어조건이 상태정보에 부합되는지에 따라 상기 조명장치를 제어함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
The method of claim 3,
The contract transaction includes a second contract transaction generated by signing the contract information reference address with a public key,
Wherein each of the plurality of streetlight devices reads control information stored in association with the contract information reference address of the contract transaction from the contract information stored in advance if the contract transaction is a second contract transaction signed with a public key, And the lighting device is controlled according to whether the lighting device control condition meets the status information. The smart streetlight system of claim 1, wherein the lighting device is controlled based on broadcasting information.
제4항에 있어서,
상기 상태정보는 조도 센싱정보임을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
5. The method of claim 4,
Wherein the state information is illuminance sensing information. 23. The smart streetlight system of claim 22, wherein the status information is illuminance sensing information.
제1항에 있어서,
상기 다수의 가로등 장치 각각은 최초 블록을 포함하는 데이터 동기화 요청정보가 수신되면,
상기 최초 블록이 블록체인정보의 최초 블록에 대응되는지 여부를 토대로 검증하고, 검증에 성공하면 상기 블록체인정보의 블록들을 브로드캐스팅하여 전송함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
The method according to claim 1,
Each of the plurality of streetlight devices, when receiving the data synchronization request information including the first block,
Wherein the verification is performed based on whether the first block corresponds to the first block of the block chain information, and when the verification is successful, the blocks of the block chain information are broadcast and transmitted. Smart streetlight system using contract reference method using.
제6항에 있어서,
상기 관리자 단말기는 외부로부터의 신규 노드의 참여가 요청되면 상기 최초 블록을 상기 신규 노드로 전송하고,
상기 신규 노드는 상기 최초 블록이 제공되면 상기 최초 블록을 포함하는 데이터 동기화 요청정보를 상기 다수의 가로등 장치로 브로드캐스팅하여 전송함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 시스템.
The method according to claim 6,
Wherein the manager terminal transmits the first block to the new node when participation of a new node from the outside is requested,
Wherein the new node broadcasts the data synchronization request information including the first block to the plurality of streetlamp devices when the first block is provided, and transmits the data synchronization request information to the plurality of streetlamp devices, Reference smart streetlight system.
비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 방법에 있어서,
관리자 단말기가, 관리자의 요청에 따라 계약 트랜잭션을 생성하여 브로드캐스팅하는 단계; 및
다수의 가로등 장치가, 상기 관리자 단말기로부터의 계약 트랜잭션을 제공받아 상기 계약 트랜잭션에 따르는 제어정보와 상태정보를 이용하여 조명장치를 제어하는 단계;를 구비하며,
상기 관리자 단말기와 상기 다수의 가로등 장치는 비공개적 분산형 데이터베이스 네트워크로 연결되며,
상기 다수의 가로등 장치는 상기 계약 트랜잭션이 제공되면, 상기 계약 트랜잭션과 이전 블록의 일부정보를 가공하여 블록으로 가공하여 브로드캐스팅함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행하며,
외부로부터 블록이 제공되면 미리 기록된 이전 블록의 일부 정보와 제공받은 블록에 포함된 이전 블록의 일부정보를 비교하여 유효여부를 판별하고, 상기 블록이 유효하면 승인정보를 제공함과 아울러 상기 다수의 가로등 장치에 승인을 요청하고, 상기 요청에 따라 미리 정해둔 수 이상의 가로등 장치로부터 승인정보가 제공되면, 상기 블록을 블록체인정보에 기록하여 데이터 동기화를 이행함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
A smart streetlight control method of a contract reference method using broadcasting in a private distributed database network environment,
Generating and broadcasting a contract transaction according to a request of an administrator terminal; And
And a plurality of streetlight devices receiving the contract transaction from the manager terminal and controlling the lighting device using the control information and the state information according to the contract transaction,
Wherein the manager terminal and the plurality of streetlight devices are connected to a private distributed database network,
The plurality of streetlight devices may process the contract transaction and some information of the previous block, process the information into blocks, broadcast the request, request approval from the plurality of streetlight devices, When approval information is provided from a predetermined number of streetlamp devices, the block is recorded in block-chain information to perform data synchronization,
If a block is provided from outside, it compares some information of a previous block recorded in advance with some information of a previous block included in the provided block to determine validity. If the block is valid, it provides approval information, Wherein the approval information is provided from at least a predetermined number of streetlamp devices according to the request, and the block is recorded in the block chain information to perform data synchronization. A Smart Streetlight Control Method Based on Contract Referencing Using Broadcasting in.
제8항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소를 포함하며,
상기 다수의 가로등 장치 각각은, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여 상기 조명장치를 제어하며,
상기 계약정보에는 계약정보 참조주소별로 각기 상이한 제어정보가 대응되게 저장됨을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어 방법.
9. The method of claim 8,
The contract transaction includes a contract information reference address,
Wherein each of the plurality of streetlamp apparatuses reads control information stored corresponding to a contract information reference address of the contract transaction from previously stored contract information to control the lighting apparatus,
Wherein the contract information includes different control information for each contract information reference address so that the different control information is stored in correspondence with the contract information reference address.
제8항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소가 개별키로 사인되어 생성된 제1계약 트랜잭션을 포함하며,
상기 다수의 가로등 장치 각각은 계약 트랜잭션이 자신에게 부여된 개별키로 사인된 제1계약 트랜잭션이면, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여 상기 조명장치를 제어하고, 그에 따른 제어결과를 상기 관리자 단말기로 제공하며,
상기 계약정보에는 계약정보 참조주소별로 각기 상이한 제어정보가 대응되게 저장됨을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
9. The method of claim 8,
Wherein the contract transaction comprises a first contract transaction generated by signing the contract information reference address with an individual key,
Wherein each of the plurality of streetlight devices reads out the control information stored corresponding to the contract information reference address of the contract transaction from the previously stored contract information if the contract transaction is the first contract transaction signed with the individual key assigned thereto, And provides the control result to the manager terminal,
Wherein the contract information includes different control information for each contract information reference address so that the different control information is stored in correspondence with the contract information reference address.
제10항에 있어서,
상기 계약 트랜잭션은 계약정보 참조주소가 공용키로 사인되어 생성된 제2계약 트랜잭션을 포함하며,
상기 다수의 가로등 장치 각각은 상기 계약 트랜잭션이 공용키로 사인된 제2계약 트랜잭션이면, 미리 저장된 계약정보에서 상기 계약 트랜잭션의 계약정보 참조주소에 대응되게 저장된 제어정보를 독출하여, 상기 제어정보에 포함된 조명장치 제어조건이 상태정보에 부합되는지에 따라 상기 조명장치를 제어함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
11. The method of claim 10,
The contract transaction includes a second contract transaction generated by signing the contract information reference address with a public key,
Wherein each of the plurality of streetlight devices reads control information stored in association with the contract information reference address of the contract transaction from the contract information stored in advance if the contract transaction is a second contract transaction signed with a public key, And controlling the lighting device according to whether the lighting device control condition matches the state information. The method of claim 12, wherein the lighting device control condition is based on state information.
제11항에 있어서,
상기 상태정보는 조도 센싱정보임을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
12. The method of claim 11,
And the state information is illumination sensing information. The smart streetlight control method according to the contract reference method using broadcasting in a private distributed database network environment.
제8항에 있어서,
상기 다수의 가로등 장치 각각은 최초 블록을 포함하는 데이터 동기화 요청정보가 수신되면,
상기 최초 블록이 블록체인정보의 최초 블록에 대응되는지 여부를 토대로 검증하고, 검증에 성공하면 상기 블록체인정보의 블록들을 브로드캐스팅하여 전송하는 단계;를 더 구비함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
9. The method of claim 8,
Each of the plurality of streetlight devices, when receiving the data synchronization request information including the first block,
And verifying whether the first block corresponds to a first block of block chain information, and if the first block is successfully verified, broadcasting the blocks of the block chain information and transmitting the resultant block. A method of smart streetlight control using contract reference method using broadcasting in network environment.
제13항에 있어서,
상기 관리자 단말기가 외부로부터의 신규 노드의 참여가 요청되면 상기 최초 블록을 상기 신규 노드로 전송하는 단계;
상기 신규 노드가 상기 최초 블록이 제공되면 상기 최초 블록을 포함하는 데이터 동기화 요청정보를 상기 다수의 가로등 장치로 브로드캐스팅하여 전송하는 단계;를 더 구비함을 특징으로 하는 비공개적 분산형 데이터베이스 네트워크 환경에서의 브로드캐스팅을 이용한 계약 참조 방식의 스마트 가로등 제어방법.
14. The method of claim 13,
Transmitting the first block to the new node when the manager terminal requests participation of a new node from the outside;
And broadcasting the data synchronization request information including the first block to the plurality of streetlight devices when the new node is provided with the first block, and transmitting the data synchronization request information to the plurality of streetlight devices. A Smart Streetlight Control Method Using Contract - Referencing Using Broadcasting of.
KR1020170076677A 2017-06-16 2017-06-16 smart streetlight system and control method using broadcasting contract in closed distributed database environment KR101972109B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170076677A KR101972109B1 (en) 2017-06-16 2017-06-16 smart streetlight system and control method using broadcasting contract in closed distributed database environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170076677A KR101972109B1 (en) 2017-06-16 2017-06-16 smart streetlight system and control method using broadcasting contract in closed distributed database environment

Publications (2)

Publication Number Publication Date
KR20180137250A true KR20180137250A (en) 2018-12-27
KR101972109B1 KR101972109B1 (en) 2019-04-25

Family

ID=64953323

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170076677A KR101972109B1 (en) 2017-06-16 2017-06-16 smart streetlight system and control method using broadcasting contract in closed distributed database environment

Country Status (1)

Country Link
KR (1) KR101972109B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102023094B1 (en) * 2019-03-26 2019-09-19 국방과학연구소 System and Method for Management of Unmanned Aerial Vehicle Mission Using Blockchain Network
CN110519277A (en) * 2019-08-29 2019-11-29 上海威尔立杰网络科技发展有限公司 A method of contract is executed based on single-point and realizes the other systems of control
WO2020187069A1 (en) * 2019-03-15 2020-09-24 腾讯科技(深圳)有限公司 Data synchronization method and apparatus, computer device and readable storage medium
KR102186758B1 (en) * 2019-07-02 2020-12-04 주식회사 라온컨버전스 Method for controlling and security of intelligent system for preventing disaster of earthquake
KR102246463B1 (en) * 2020-10-21 2021-04-30 주식회사 로지 System and Method for checking state of lighting device using block chain
US11985251B2 (en) 2019-03-15 2024-05-14 Tencent Technology (Shenzhen) Company Limited Data synchronization method and apparatus, computer device, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950035524A (en) 1994-05-04 1995-12-30 이범열 Street Light Auto Lighting Control and Wireless Time Transmitter
KR20010110064A (en) 2000-12-02 2001-12-12 이정훈 Remote Radio Control and Monitoring System for Street Lighting
KR20040100481A (en) 2003-05-23 2004-12-02 주식회사 엔버전스 Control system for road lamps using a communication through power line
KR100813132B1 (en) 2007-06-14 2008-03-17 주식회사 이너스텍 Street lamp control system and method for saving the communication cost by using the zigbee network
KR101678795B1 (en) * 2015-11-30 2016-11-22 전삼구 Iot-basesd things management system and method using block chain authentification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950035524A (en) 1994-05-04 1995-12-30 이범열 Street Light Auto Lighting Control and Wireless Time Transmitter
KR20010110064A (en) 2000-12-02 2001-12-12 이정훈 Remote Radio Control and Monitoring System for Street Lighting
KR20040100481A (en) 2003-05-23 2004-12-02 주식회사 엔버전스 Control system for road lamps using a communication through power line
KR100813132B1 (en) 2007-06-14 2008-03-17 주식회사 이너스텍 Street lamp control system and method for saving the communication cost by using the zigbee network
KR101678795B1 (en) * 2015-11-30 2016-11-22 전삼구 Iot-basesd things management system and method using block chain authentification

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020187069A1 (en) * 2019-03-15 2020-09-24 腾讯科技(深圳)有限公司 Data synchronization method and apparatus, computer device and readable storage medium
US11985251B2 (en) 2019-03-15 2024-05-14 Tencent Technology (Shenzhen) Company Limited Data synchronization method and apparatus, computer device, and readable storage medium
KR102023094B1 (en) * 2019-03-26 2019-09-19 국방과학연구소 System and Method for Management of Unmanned Aerial Vehicle Mission Using Blockchain Network
KR102186758B1 (en) * 2019-07-02 2020-12-04 주식회사 라온컨버전스 Method for controlling and security of intelligent system for preventing disaster of earthquake
CN110519277A (en) * 2019-08-29 2019-11-29 上海威尔立杰网络科技发展有限公司 A method of contract is executed based on single-point and realizes the other systems of control
CN110519277B (en) * 2019-08-29 2020-08-21 上海威尔立杰网络科技发展有限公司 Method for realizing control of other systems based on single-point execution contract
KR102246463B1 (en) * 2020-10-21 2021-04-30 주식회사 로지 System and Method for checking state of lighting device using block chain

Also Published As

Publication number Publication date
KR101972109B1 (en) 2019-04-25

Similar Documents

Publication Publication Date Title
KR101972109B1 (en) smart streetlight system and control method using broadcasting contract in closed distributed database environment
RU2613032C2 (en) Execution of security protocol in network
US8139588B2 (en) Method and apparatus to establish routes based on the trust scores of routers within an IP routing domain
US10680832B2 (en) Computer apparatus for transmitting a certificate to a device in an installation
US20200322171A1 (en) Method and apparatus for providing secure communication among constrained devices
US10461941B2 (en) Data structure for use as a positive list in a device, method for updating a positive list and device
US11329805B2 (en) First vehicle-side terminal, method for operating the first terminal, second vehicle-side terminal and method for operating the second vehicle-side terminal
JPWO2002093826A1 (en) Electronic equipment control device
WO2008030629A1 (en) Method and apparatus to establish routes based on the trust scores of routers withtn an ip routing domain
CN107409048A (en) Network based on public key
US20220131839A1 (en) Systems, methods and controllers for secure communications
US20220100493A1 (en) METHOD FOR UPGRADING IoT TERMINAL DEVICE AND ELECTRONIC DEVICE THEREOF
CN112235290B (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
US11626978B2 (en) Secure group communication in a cluster of devices
CN105357670A (en) Router
WO2015190041A1 (en) Communication system and communication method
CN114900337B (en) Authentication encryption method and system suitable for power chip
CN113114463B (en) Certificate registration method, certificate verification method and equipment
US11736347B2 (en) Provisioning control apparatus, system and method
CN117376904B (en) Communication method for vehicle group
KR102334896B1 (en) Joining method, device and program with automatic key update
US20230370279A1 (en) Terminal device, data management device, management system, processing method, and non-transitory computer-readable medium storing a program
KR20050001241A (en) A automated security service method for centralized remote control system using internet
EP4241415A1 (en) A method of, a provisioner and a system for provisioning a plurality of operatively interconnected node devices in a network
CN117201080A (en) Key management system, method and medium for distributed photovoltaic sensor network

Legal Events

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