KR102037848B1 - Digital electronic device operation method based on dual block chain comprising virtual blockchain - Google Patents

Digital electronic device operation method based on dual block chain comprising virtual blockchain Download PDF

Info

Publication number
KR102037848B1
KR102037848B1 KR1020190034985A KR20190034985A KR102037848B1 KR 102037848 B1 KR102037848 B1 KR 102037848B1 KR 1020190034985 A KR1020190034985 A KR 1020190034985A KR 20190034985 A KR20190034985 A KR 20190034985A KR 102037848 B1 KR102037848 B1 KR 102037848B1
Authority
KR
South Korea
Prior art keywords
communication device
blockchain
token
virtual
node
Prior art date
Application number
KR1020190034985A
Other languages
Korean (ko)
Inventor
송성면
이상지
박진하
Original Assignee
주식회사 푸시풀시스템
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 푸시풀시스템 filed Critical 주식회사 푸시풀시스템
Priority to KR1020190034985A priority Critical patent/KR102037848B1/en
Application granted granted Critical
Publication of KR102037848B1 publication Critical patent/KR102037848B1/en

Links

Images

Classifications

    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
    • H04L2209/38
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/082Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying multi-factor authentication
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

According to the present invention, an operating method of digital electronic devices based on a dual blockchain having a virtual blockchain comprises the steps of: allowing a query controller to receive a transaction request and a communication device token from a blockchain network; allowing a token validator to validate the communication device token based on information available in general blockchain or virtual blockchain; determining whether the communication device token is successfully validated; when the communication device token is successfully validated, allowing a processor to output an operation control signal for controlling operations of digital electronic devices; allowing a transaction based on successful validation of the communication device token; allowing a token generator to generate an updated communication device token; and when the communication device token fails to be validated, allowing a virtual node generator to replicate and add a virtual node in a redundancy area within the digital electronic device according to replication commands of the processor. Accordingly, the present invention provides a very high security in communications and from hacking.

Description

가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법{DIGITAL ELECTRONIC DEVICE OPERATION METHOD BASED ON DUAL BLOCK CHAIN COMPRISING VIRTUAL BLOCKCHAIN}TECHNICAL APPLICATION OF DUAL BLOCKCHAIN-BASED DIGITAL ELECTRONICS WITH VIRTUAL BLOCKCHAIN {DIGITAL ELECTRONIC DEVICE OPERATION METHOD BASED ON DUAL BLOCK CHAIN COMPRISING VIRTUAL BLOCKCHAIN}

본 발명은 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법에 관한 것으로, 더욱 상세하게는 통상적인 인터넷 등의 네트워크를 통해 다수의 디지털 전자기기가 연결되어 구현되는 분산 블록체인 기반으로 효과적인 암호화 및 위변조 방지 체계를 통해 통신보안 및 해킹 문제를 근본적으로 해결할 수 있다. 뿐만 아니라, 각각의 디지털 전자기기에 구축된 가상 블록체인과 연계시켜 다중으로 인증되도록 함으로써 통상적인 인터넷 등 네트워크가 단절되는 상황에서도 신속하고 안전하게 서비스를 제공하는 효율적이고도 보다 확실하게 보안 체계를 구현할 수 있도록 하는 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법에 관한 것이다.The present invention relates to a method of operating a dual blockchain-based digital electronic device having a virtual blockchain, and more particularly, to a distributed blockchain based on a plurality of digital electronic devices connected through a network such as a general Internet. Encryption and tampering prevention system can fundamentally solve communication security and hacking problems. In addition, by connecting with the virtual blockchain built in each digital electronic device to be authenticated multiplely, it is possible to implement an efficient and more secure system that provides quick and secure service even in the case of network disconnection such as the general Internet. The present invention relates to a dual blockchain-based digital electronic device operating method having a virtual blockchain.

일반적으로 디지털 전자기기 중 하나인 도어록 장치를 예로 들어 설명하면, 도어록 장치 중 비접촉식 도어록 장치는 스마트폰의 대중화로 새로운 기능을 적용한 도어록 장치들이 개발되고 있다.In general, a door lock device, which is one of digital electronic devices, will be described as an example. As a non-contact door lock device among door lock devices, door lock devices to which new functions are applied due to the popularization of smart phones have been developed.

스마트폰을 이용한 도어록 장치는 근거리 통신 또는 상용 무선 통신을 이용하여 도어록 장치의 도어 개폐장치를 동작하도록 구성되어 있다.The door lock device using the smartphone is configured to operate the door opening and closing device of the door lock device using near field communication or commercial wireless communication.

대한민국 등록특허공보 제10-1138924호에 개시된 도어록 제어 시스템의 제어방법은 키버튼 조작에 상응하여 입력 정보를 입력받고 기 저장된 인증 정보를 이용하여 인증을 수행한 후 인증 결과정보를 생성한 다음, 등록된 도어록 제어용 단말기로 결과정보를 통신 메시지로 전송하도록 구성되어 있으며, 출입자는 메시지에 포함된 제어 명령에 따라 도어록 장치를 개폐하도록 구성되어 있다.The control method of the door lock control system disclosed in the Republic of Korea Patent Publication No. 10-1138924 is to receive the input information corresponding to the key button operation, perform authentication using the stored authentication information, and then generate the authentication result information, and then register It is configured to transmit the result information in the communication message to the door lock control terminal, the accessor is configured to open and close the door lock device according to the control command included in the message.

또한, 한국등록특허공보 제10-1242122호에 개시된 스마트폰을 이용한 도어록 장치 및 그 제어방법은 출입자가 도어록의 비밀번호를 입력하면 제어부는 인증을 거친 후 비밀번호의 오류 여부를 확인하고 오류 정도가 경미한 경우에는 비밀번호를 재입력 가능하게 하고, 오류 정도가 큰 경우에는 캡쳐된 영상과 도어록 상태정보를 스마트폰으로 전송하며, 잠금 해제 비밀번호가 입력되어도 잠금 상태가 해제되지 않은 보안상태로 진입하도록 구성되어 있다.In addition, the door lock device using the smart phone disclosed in Korean Patent Publication No. 10-1242122 and its control method, when the accessor enters the password of the door lock, the control unit is authenticated if the error of the password after the authentication and the error degree is slight It is possible to re-enter the password, and if the error degree is large, the captured image and door lock status information is transmitted to the smartphone, and even if the unlock password is configured to enter a security state that is not unlocked.

이와 같은 종래 기술들은 도어록 장치의 비밀번호의 인증을 스마트폰을 이용하여 인증결과를 전송하여 도어의 개폐 여부를 결정한다.Such conventional technologies determine whether the door is opened or closed by sending an authentication result using a smartphone to authenticate the password of the door lock device.

한편, 네트워크를 이용하는 경우, 종래의 스마트 도어록 시스템은 도어록과 연결되는 서버를 두고 사용자 단말기와 TCP/IP 프로토콜로 통신하여 제어되고 센서에서 송신하는 데이터를 바탕으로 외부인의 침입 여부를 판단하나, 이 모든 과정에서 송수신되는 데이터들은 위조 및 해킹에 취약한 문제점이 있다.On the other hand, when using a network, the conventional smart door lock system has a server connected to the door lock and communicates with the user terminal through the TCP / IP protocol, and determines whether intrusion of outsiders based on the data transmitted from the sensor, but all Data transmitted and received in the process is vulnerable to forgery and hacking.

물론, 사용자의 인증 여부와 데이터의 보안은 기존에도 일부 암호화 기술이나 소프트웨어를 활용하여 이루어지고 있지만, 그 암호화 방식이 상대적으로 취약하거나 단순하고 특정 소프트웨어에 의존한다는 문제가 있기 때문에 온전한 데이터의 보존 및 사용자의 인증 여부 판단에 결점이 존재하는 한계가 있다.Of course, whether the user is authenticated and the data is secured by using some encryption technology or software. However, since the encryption method is relatively weak or simple and depends on specific software, the integrity and preservation of the user There is a limitation that a flaw exists in the determination of whether the authentication of the certificate.

대한민국 등록특허공보 10-1138924(2012.05.14. 공고)Republic of Korea Patent Registration 10-1138924 (2012.05.14. Notification) 대한민국 등록특허공보 10-1242122(2013.03.11. 공고)Republic of Korea Patent Publication No. 10-1242122 (announced on March 11, 2013) 대한민국 등록특허공보 10-1634734(2016.07.08. 공고)Republic of Korea Patent Publication 10-1634734 (2016.07.08. Notification) 대한민국 등록특허공보 10-1470747(2014.12.08. 공고)Republic of Korea Patent Registration 10-1470747 (August 12, 2014)

따라서, 상기한 종래의 문제점을 해결하기 위한 본 발명은, 디지털 전자기기의 노드들 간이 연계되어 원격 인증을 실행하는 원격 인증 모드와 디지털 전자기기 자체에 구비된 가상 블록체인의 인증에 의한 셀프 인증 모드를 통하여 다중 인증 체계를 구축함으로써, 한층 높은 암호화 및 위변조 방지 체계를 통해 통신보안 및 해킹 문제를 근본적으로 해결할 수 있는 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법을 제공하는 데에 그 목적이 있다.Accordingly, the present invention for solving the above-described problems, the remote authentication mode for performing remote authentication in connection with the nodes of the digital electronic device and the self-authentication mode by authentication of the virtual block chain provided in the digital electronic device itself. By establishing a multi-authentication system through the system, we provide a dual blockchain-based digital electronics operation method that has a virtual blockchain that can fundamentally solve communication security and hacking problems through a higher encryption and anti-forgery system. There is a purpose.

또한, 본 발명은 인증 서버의 오류, 고장, 단전 등으로 인해 통상적인 네트워크를 통한 온라인이 차단된 상태를 포함하는 상황에서 각각의 디지털 전자기기에 구현된 가상 블록체인을 이용하여 신속하고 안전한 서비스를 제공하고, 블루투스와 같은 근거리 통신을 이용한 해킹 또한 확실하게 방지할 수 있는 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법을 제공하는 데에 다른 목적이 있다.In addition, the present invention provides a fast and secure service using a virtual block chain implemented in each digital electronic device in a situation that the online via the normal network is blocked due to the error, failure, power failure of the authentication server. Another purpose is to provide a dual blockchain-based digital electronic device operating method having a virtual blockchain that can reliably prevent hacking using near field communication such as Bluetooth.

본 발명의 해결과제는 이상에서 언급한 것들에 한정되지 않으며, 언급되지 아니한 다른 해결과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problems of the present invention are not limited to those mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

또한, 본 발명의 일 관점에 따른 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법은, 쿼리 제어기가 블록체인 망에서 트랜잭션을 위한 요청과 통신기기 토큰을 수신하는 단계; 토큰 밸리데이터가 통상의 블록체인 또는 가상 블록체인에서 이용가능한 정보에 기반하여 상기 통신기기 토큰을 유효화하는 단계; 상기 통신기기 토큰이 성공적으로 유효화되는지를 판단하는 단계; 상기 통신기기 토큰이 성공적으로 유효화되면, 프로세서는 디지털 전자기기의 동작을 제어하기 위한 동작제어신호를 출력하는 단계; 상기 통신기기 토큰의 성공적인 유효화에 기반하여 트랜잭션을 허용하는 단계; 토큰 제너레이터가 갱신된 통신기기 토큰을 생성하는 단계; 및 상기 통신기기 토큰의 유효화가 실패하면, 가상 노드 제너레이터가 상기 프로세서의 복제 명령에 따라 상기 디지털 전자기기 내 리던던시 영역에 가상 노드를 복제하여 추가하는 단계를 포함한다.In addition, a method for operating a dual blockchain-based digital electronic device having a virtual blockchain according to an aspect of the present invention may include: receiving, by the query controller, a request for a transaction and a communication device token in a blockchain network; Validating the communication device token based on information in which token validity data is available in a conventional blockchain or virtual blockchain; Determining whether the communication device token is successfully validated; If the communication device token is successfully validated, the processor outputting an operation control signal for controlling the operation of the digital electronic device; Allowing a transaction based on successful validation of the communication device token; Generating a updated communication device token by the token generator; And if the validation of the communication device token fails, the virtual node generator duplicating the virtual node and adding the virtual node to the redundancy area of the digital electronic device according to the duplication command of the processor.

또한, 본 발명의 다른 관점에 따른 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법은, 쿼리 제어기가 블록체인 망에서 트랜잭션을 위한 요청과 통신기기 토큰을 수신하는 단계; 토큰 밸리데이터가 통상의 블록체인 또는 가상 블록체인에서 이용가능한 정보에 기반하여 상기 통신기기 토큰을 유효화하는 단계; 상기 통신기기 토큰이 성공적으로 유효화되는지를 판단하는 단계; 상기 통신기기 토큰이 성공적으로 유효화되면, 프로세서는 디지털 전자기기의 동작을 제어하기 위한 동작제어신호를 출력하는 단계; 상기 통신기기 토큰의 성공적인 유효화에 기반하여 트랜잭션을 허용하는 단계; 토큰 제너레이터가 갱신된 통신기기 토큰을 생성하는 단계; 및 상기 통신기기 토큰의 유효화가 실패하면, 가상 노드 제너레이터가 상기 프로세서의 활성화 명령에 따라 상기 디지털 전자기기 내 리던던시 영역에 비활성화되어 있는 가상 노드를 활성화하는 단계를 포함한다.In addition, a method for operating a dual blockchain-based digital electronic device having a virtual blockchain according to another aspect of the present invention includes the steps of: a query controller receiving a request for a transaction and a communication device token in a blockchain network; Validating the communication device token based on information in which token validity data is available in a conventional blockchain or virtual blockchain; Determining whether the communication device token is successfully validated; If the communication device token is successfully validated, the processor outputting an operation control signal for controlling the operation of the digital electronic device; Allowing a transaction based on successful validation of the communication device token; Generating a updated communication device token by the token generator; And if the validation of the communication device token fails, the virtual node generator activating a virtual node deactivated in the redundancy area of the digital electronic device according to the activation command of the processor.

본 발명에 따른 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법에 의하면, 디지털 전자기기 간에 연계된 블록체인 및 디지털 전자기기 자체의 가상 블록체인을 연계시킨 다중 인증 체계를 구축함으로써, 매우 높은 통신보안 및 해킹 보안을 구현할 수 있는 효과가 있다.According to the dual blockchain-based digital electronic device operating method having the virtual blockchain according to the present invention, by establishing a multi-authentication system in which the blockchain connected between the digital electronic devices and the virtual blockchain of the digital electronic device itself are linked, It is effective to implement high communication security and hacking security.

또한, 본 발명은 인증 서버의 오류, 고장, 단전 등으로 인해 온라인이 차단된 상태 등의 상황에서 블루투스와 같은 근거리 통신을 이용한 해킹 또한 확실하게 방지할 수 있는 효과가 있다.In addition, the present invention can also reliably prevent hacking using short-range communication such as Bluetooth in a situation in which the online server is blocked due to an error, failure or power failure of the authentication server.

본 발명의 효과는 이상에서 언급된 것들에 한정되지 않으며, 언급되지 아니한 다른 해결과제들은 아래의 기재로부터 당업자에게 명확하게 이해되어 질 수 있을 것이다.The effects of the present invention are not limited to those mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

도 1은 본 발명의 일실시예에 따른 블록체인 기반 스마트 도어록에서의 접근 제어 시스템 구성도,
도 2는 본 발명의 일실시예에 따른 통상의 블록체인 망 상에서의 접근 제어 시스템 구성도,
도 3a는 본 발명의 일실시예에 따른 통상의 블록체인 망(PBN)이 단절되거나 통상의 블록체인 망이 정상적으로 작동이 불가능한 경우의 접근 제어 시스템 구성도,
도 3b는 본 발명의 일실시예에 따른 가상 블록체인 망 내 접근 제어 시스템 구성도,
도 4는 본 발명의 일실시예에 따른 가상 노드가 추가된 접근 제어 시스템 구성도,
도 5는 본 발명의 일실시예에 따른 통상 노드의 블록도,
도 6은 본 발명의 일실시예에 따른 가상 노드의 블록도,
도 7은 본 발명의 일실시예에 따른 블록체인 합의를 이루기 위한 경량 암호 합의 프로토콜용 시나리오,
도 8은 본 발명의 일실시예에 따른 블록체인 기반 접속 제어 흐름도,
도 9는 본 발명의 일실시예에 따른 스마트 도어록이 적용된 네트워크 구성도, 및
도 10은 본 발명의 다른 실시예에 따른 스마트 도어록이 적용된 네트워크 구성도이다.
1 is a block diagram of an access control system in a blockchain-based smart door lock according to an embodiment of the present invention,
2 is a block diagram of an access control system on a conventional blockchain network according to an embodiment of the present invention;
3A is a block diagram of an access control system when a normal blockchain network (PBN) is disconnected or a normal blockchain network is not normally operated according to an embodiment of the present invention;
3b is a block diagram of an access control system in a virtual blockchain network according to an embodiment of the present invention;
4 is a block diagram of an access control system to which a virtual node is added according to an embodiment of the present invention;
5 is a block diagram of a typical node according to an embodiment of the present invention;
6 is a block diagram of a virtual node according to an embodiment of the present invention;
7 is a scenario for a lightweight cryptographic agreement protocol for achieving blockchain agreement according to an embodiment of the present invention;
8 is a blockchain-based access control flowchart according to an embodiment of the present invention;
9 is a diagram illustrating a network to which a smart door lock is applied according to an embodiment of the present invention; and
10 is a diagram illustrating a network to which a smart door lock is applied according to another embodiment of the present invention.

본 발명의 추가적인 목적들, 특징들 및 장점들은 다음의 상세한 설명 및 첨부도면으로부터 보다 명료하게 이해될 수 있다. Further objects, features and advantages of the present invention can be more clearly understood from the following detailed description and the accompanying drawings.

본 발명의 상세한 설명에 앞서, 본 발명은 다양한 변경을 도모할 수 있고, 여러 가지 실시 예를 가질 수 있는바, 아래에서 설명되고 도면에 도시된 예시들은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Prior to the detailed description of the present invention, the present invention may be variously modified and may have various embodiments, and the examples described below and illustrated in the drawings are intended to limit the present invention to specific embodiments. It is to be understood that the present invention includes all modifications, equivalents, and substitutes included in the spirit and technical scope of the present invention.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도는 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. As used herein, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described on the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

또한, 명세서에 기재된 "...부", "...유닛", "...모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In addition, the terms "... unit", "... unit", "... module", and the like described in the specification mean a unit that processes at least one function or operation, which means hardware or software or hardware and It can be implemented in a combination of software.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, in the description with reference to the accompanying drawings, the same components regardless of reference numerals will be given the same reference numerals and duplicate description thereof will be omitted. In the following description of the present invention, if it is determined that the detailed description of the related known technology may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

이하, 본 발명의 바람직한 실시 예에 따른 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법 및 디지털 전자기기 시스템에 대하여 첨부 도면을 참조하여 상세히 설명한다.Hereinafter, a dual blockchain-based digital electronic device operating method and digital electronic device system having a virtual blockchain according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 디지털 전자기기는 예시적으로, 스마트도어록, CCTV, 냉장고 등일 수 있으나, 이에 한정되는 것은 아니다. 한편, 본 발명의 실시예에서는 스마트도어록에 대한 적용 가능성을 설명하기로 한다.The digital electronic device according to the present invention may be, for example, a smart door lock, a CCTV, a refrigerator, or the like, but is not limited thereto. On the other hand, in the embodiment of the present invention will be described the applicability to the smart door lock.

먼저, 본 발명에 적용되는 블록체인에 대하여 설명하기로 한다. 본 발명에서 서술하는 블록체인이란 온라인 상에서 전달되는 데이터 정보를 블록으로 연결하여 피투피(p2p) 네트워크 분산 환경에서 중앙 관리 서버가 아니라 참여자(peer)들의 디지털 전자기기에 분산시켜 저장함으로써 데이터 정보를 공동으로 관리하는 방식을 말한다. First, the blockchain applied to the present invention will be described. In the blockchain described in the present invention, data information transmitted on-line is connected by a block, and the data information is jointly stored in digital electronic devices of peers rather than a central management server in a P2P network distributed environment. How to manage

본 발명에 적용되는 통상의 블록체인 기반 디지털 전자기기 노드(PBDN: Physical Blockchain Based Digital Electonic Device Node, 이하, '통상 노드'라 한다.)라 함은 통상적인 유무선 네트워크를 통하여 연결되는 통상의 디지털 전자기기를 의미한다.A general blockchain-based digital electronic node (PBDN), which is applied to the present invention, is referred to as a 'normal node', which is a conventional digital electronic device connected through a conventional wired or wireless network. Means appliance.

또한, 본 발명에 적용되는 통상의 블록체인 망(PBN: Physical Blockchain Network)이라 함은 통상적인 유무선 네트워크를 통하여 다수의 통상 노드들 간에 연결되는 블록체인 망을 의미한다. In addition, a conventional blockchain network (PBN) applied to the present invention means a blockchain network connected between a plurality of normal nodes through a conventional wired or wireless network.

또한, 본 발명에 적용되는 가상 블록체인 기반 디지털 전자기기 노드(VBDN: Virtual Blockchain Based Digital Electonic Device Node, 이하, '가상 노드'라 한다)라 함은 디지털 전자기기 내에 소프트웨어로 구현되는 가상의 디지털 전자기기를 의미한다.In addition, a virtual blockchain based digital electronic node (VBDN), which is applied to the present invention, is referred to as a `` virtual node '', a virtual digital electronic implemented in software in the digital electronic device. Means appliance.

또한, 본 발명에 적용되는 가상 블록체인 망(VBN: Virtual Blockchain Network)이라 함은 통상 노드와 상기 통상 노드 내에 구현된 하나 이상의 가상 노드 간에 연결되는 블록체인 망을 의미한다. 이에 따라 소정 통상 노드 내에 구현된 가상 노드는 외부에 소재하는 통상 노드와의 직접적인 접속이 원천적으로 차단된다.In addition, a virtual blockchain network (VBN) applied to the present invention means a blockchain network connected between a normal node and one or more virtual nodes implemented in the normal node. Accordingly, the virtual node implemented in the predetermined normal node is inherently blocked from direct connection with the normal node located outside.

또한, 본 발명에 적용되는 블록체인 망(BN: Blockchain Network)은 통상의 블록체인 망(PBN)과 가상 블록체인 망(VBN)을 포괄하는 개념으로 이해되어야 한다.In addition, a blockchain network (BN) applied to the present invention should be understood as a concept encompassing a general blockchain network (PBN) and a virtual blockchain network (VBN).

이하에서는 디지털 전자기기를 스마트 도어록에 적용하여 설명하기로 한다.Hereinafter will be described by applying a digital electronic device to the smart door lock.

도 1은 본 발명의 일실시예에 따른 블록체인 기반 스마트 도어록에서의 접근 제어 시스템 구성도이다.1 is a block diagram of an access control system in a blockchain-based smart door lock according to an embodiment of the present invention.

시스템(100)은 개별 스마트 도어록(105, 106, 107) 내 분리된 다수의 노드를 포함한다. 제1 스마트 도어록(105)은 통상 노드(105A, PBDN)와 적어도 하나 이상의 가상 노드(105B, 105C, 105D, VBDN) 그리고 통상 노드 내에 하나 이상의 가상 노드를 예비로 구현하기 위한 리던던시 영역(미도시)을 포함한다. 제2 스마트 도어록(106)은 통상 노드(106A, PBDN)와 적어도 하나 이상의 가상 노드(106B, 106C, 106D, VBDN) 그리고 통상 노드 내에 하나 이상의 가상 노드를 예비로 구현하기 위한 리던던시 영역(미도시)을 포함한다. 제3 스마트 도어록(107)은 통상노드(107A, PBDN)와 적어도 하나 이상의 가상 노드(107B, 107C, 107D, VBDN) 그리고 통상 노드 내에 하나 이상의 가상 노드를 예비로 구현하기 위한 리던던시 영역(미도시)을 포함한다. 여기서, 리던던시 영역에는 가상 노드(VBDN)로 동작할 수 있도록 구성된 접속 제어기 및 메모리가 적어도 한 세트 이상 배치된다.System 100 includes a plurality of nodes separated within individual smart door locks 105, 106, 107. The first smart door lock 105 is typically a node 105A, PBDN and at least one virtual node 105B, 105C, 105D, VBDN and a redundancy area (not shown) for preliminarily implementing one or more virtual nodes within the node. It includes. The second smart door lock 106 is typically a node 106A, PBDN and at least one virtual node 106B, 106C, 106D, VBDN and a redundancy area (not shown) for preliminarily implementing one or more virtual nodes within the node. It includes. The third smart door lock 107 is a normal node (107A, PBDN) and at least one virtual node (107B, 107C, 107D, VBDN) and a redundancy area (not shown) for preliminarily implementing one or more virtual nodes in the normal node. It includes. Here, at least one or more access controllers and memories configured to operate as virtual nodes (VBDNs) are disposed in the redundancy region.

도 1에는 예시적으로, 3개의 스마트 도어록이 도시되어 있으나, 이에 한정되는 것은 아니며, 수백개 또는 수억개가 통상의 블록체인 망(PBN) 내에서 연결될 수 있다. 스마트 도어록(105, 106, 107) 내에 각각 3 ~ 4개의 가상 노드(VBDN)가 도시되어 있으나, 이에 한정되는 것은 아니며, 수백 내지 수억개의 가상 노드가 가상의 블록체인 망(VBN) 내에서 연결될 수 있다.1 illustrates three smart door locks, but is not limited thereto. Hundreds or hundreds of millions may be connected in a conventional blockchain network (PBN). 3 to 4 virtual nodes (VBDNs) are shown in the smart door locks 105, 106, and 107, respectively, but are not limited thereto. Hundreds to hundreds of millions of virtual nodes may be connected in a virtual blockchain network (VBN). have.

블록체인(101)은 암호기법을 사용하여 연결되고 보호받는 데이터 블록의 시퀀스이다. 각각의 블록은 이전 블록과의 연결을 위해 직전 블록의 블록해시와 트랜잭션 데이터를 포함한다. 여기서, 블록해시라 함은 블록을 해시 방식으로 암호화한 데이터이다. 또한 트랜잭션 데이터는 블록체인 망 내에서 노드에 관해 사용자의 행위가 존재하는 데이터를 포함한다. Blockchain 101 is a sequence of data blocks that are connected and protected using cryptographic techniques. Each block contains the block hash of the previous block and transaction data for connection with the previous block. Here, the block hash is data obtained by encrypting a block in a hash method. Transactional data also includes data in which the user's behavior exists with respect to the nodes in the blockchain network.

블록체인(101)은 블록체인 망(BN)에 의해 관리되는 분산 원장으로 기능한다. 블록체인(101)은 블록체인 망(BN)을 통해 발생되는 트랜잭션 데이터를 포함하는 블록의 시퀀스 형태를 가진다. 트랜잭션 데이터를 기반으로 새로 구성되는 블록은 토큰 기반 합의 프로토콜, 경량 암호 합의 프로토콜, 가변 암호 합의 프로토콜의 어느 하나 또는 그들의 결합에 기반하여 노드들 간에 정해진 절차에 따라 합의가 이루어진 후에 블록체인에 추가된다. 여기서 블록을 구성하는 트랜잭션 데이터에는 사용자 통신기기 토큰, 디지털 전자기기 접속요청 정보, 작동 제어 신호 및 작동 결과 정보 등이 포함될 수 있다. 한편, 암호화를 위해 공개 키와 개인 키 그리고 접속을 위해 고유의 아이디(ID)와 비밀번호(Password)가 생성되어 이용될 수 있다. 일 사용예로, 개인 키(비밀 키)는 본인이라는 사실을 증명하는 전자서명을 할 때 이용될 수 있다. 전자서명은 트랜잭션의 타당성을 증명하는 것으로 트랜잭션 데이터를 전송하는 노드 또는 사용자가 개인 키로 서명하고 수신하는 노드 또는 사용자가 송신자의 공개 키를 이용하여 그 서명을 검증하여 부적절한 위조 또는 변조의 존재 유무를 확인할 수 있다. The blockchain 101 functions as a distributed ledger managed by the blockchain network BN. The blockchain 101 has a sequence form of a block including transaction data generated through the blockchain network BN. The newly constructed block based on transaction data is added to the blockchain after agreement is established between nodes based on one or a combination of token-based consensus protocol, lightweight cryptographic consensus protocol, and variable cryptographic consensus protocol. The transaction data constituting the block may include a user communication device token, digital electronic device connection request information, an operation control signal, and operation result information. Meanwhile, a public ID, a private key, and a unique ID and password may be generated and used for access. In one use, the private key (secret key) can be used to sign an electronic signature proving that you are yourself. Digital signatures verify the validity of a transaction.The node or user sending the transaction data signs the private key and the node or user receives the signature using the sender's public key to verify the presence of inappropriate forgery or tampering. Can be.

도 2는 본 발명의 일실시예에 따른 통상의 블록체인 망 상에서의 접근 제어 시스템 구성도로서, 통상의 블록체인 망(103)이 정상적으로 동작하는 경우이다.2 is a block diagram of an access control system on a conventional blockchain network according to an embodiment of the present invention, in which the conventional blockchain network 103 operates normally.

통상 노드에 접근이 가능하도록 정해진 절차에 따라 승인된 사용자(이하, '유효한 사용자'라 한다)인 집주인이 외출시 친척이 방문하는 경우, 집주인이 원격지에서 스마트 도어록을 해정할 필요가 있다. 즉, 유효한 사용자가 원격지에서 사용자 통신기기(210)를 이용하여 통상 노드(105A, PBDN)에 접속할 필요가 있다. 여기서, 사용자 통신기기(210)는 휴대폰, 태블릿 컴퓨터, 또는 스마트 워치 등일 수 있으나, 이에 제한되는 것은 아니다. In general, when a relative visits a homeowner who is an authorized user (hereinafter referred to as an 'effective user') according to a predetermined procedure for accessing a node, the homeowner needs to release the smart door lock remotely. That is, a valid user needs to connect to the normal node 105A, PBDN using the user communication device 210 at a remote location. Here, the user communication device 210 may be a mobile phone, a tablet computer, or a smart watch, but is not limited thereto.

사용자 통신기기(210)는 통상 노드(105A)에 트랜잭션을 위해 접속 요청 메시지(access request)와 통신기기 토큰(Communication Device Token)을 전송한다. 통신기기 토큰은 블록체인(101) 내 트랜잭션 블록의 시퀀스에 기반하여 동적으로 할당된다. The user communication device 210 typically sends an access request message and a communication device token to the node 105A for a transaction. Communication device tokens are dynamically allocated based on the sequence of transaction blocks in blockchain 101.

통상 노드(105A)는 사용자 통신기기(201)로부터 전송받은 트랜잭션 데이터를 통상의 블록체인 망을 통해 트랜잭션 풀(미도시)로 전송하고, 통상의 블록체인 망에 상기 트랜잭션 데이터의 인증을 요청하고, 통상의 블록체인 망에서 상기 트랜잭션 데이터가 인증되면 상기 트랜잭션 데이터는 새로 구성되는 신규 블록에 포함된다. The normal node 105A transmits the transaction data received from the user communication device 201 to a transaction pool (not shown) through a normal blockchain network, and requests authentication of the transaction data from the normal blockchain network. In the normal blockchain network, if the transaction data is authenticated, the transaction data is included in a newly constructed new block.

즉, 트랜잭션 풀이 인증이 요청된 트랜잭션 데이터를 포함하도록 마스터로 지정된 통상 노드(미도시)는 신규 블록을 구성하여 통상 노드(106A, 107A)에 배포하고, 상기 신규 블록을 수신한 통상 노드(106A, 107A)는 블록체인(101) 내 이용가능한 정보에 기반하여 상기 신규 블록에 대한 인증여부를 결정하기 위해 정해진 절차에 따라 검증한다. That is, a normal node (not shown) designated as a master so that a transaction pool includes transaction data for which authentication is requested, forms a new block, distributes it to the normal nodes 106A and 107A, and receives the normal block 106A, 107A verifies according to a predetermined procedure to determine whether to authenticate the new block based on the information available in the blockchain 101.

통상 노드(106A, 107A)는 상기 신규 블록에 대한 검증 결과를 마스터 통상 노드(미도시)에 회신하고, 마스터 통상 노드(미도시)는 회신 받은 검증 결과를 수집하고, 합의된 해당 신규 블록은 각각 통상 노드에 저장된 기존의 블록체인에 추가하여 갱신되고 저장된다.The normal nodes 106A and 107A return the verification result of the new block to the master normal node (not shown), and the master normal node (not shown) collects the returned verification results, and each of the agreed new blocks is It is usually updated and stored in addition to the existing blockchain stored in the node.

그리고 인증을 요청한 통상 노드(105A)는 해당 트랜잭션 데이터가 포함된 신규 블록에 대한 합의 결과, 인증에 성공하면, 성공적인 인증에 기반하여 스마트 도어록을 해정하도록 도어 개폐부(미도시)에 해정제어신호를 출력한다. The normal node 105A requesting authentication outputs a unlocking control signal to a door opening / closing unit (not shown) to release the smart door lock based on the successful authentication, as a result of the agreement on the new block including the transaction data. do.

그리고 통상 노드(105A, PBDN)는 사용자 통신기기(210)의 통신기기 토큰(Communication Device Token)을 갱신한다. Normally, nodes 105A and PBDNs update the communication device token of the user communication device 210.

본 발명의 일실시예에 따르면, 마스터 통상 노드는 다수의 통상 노드 가운데 어느 하나가 랜덤하게 설정된다.According to an embodiment of the present invention, a master normal node is randomly set among any of a plurality of normal nodes.

여기서, 통신기기 토큰의 배포, 인증, 인증 결과 수집, 그리고 갱신을 합의라 칭한다.Here, the distribution, authentication, authentication result collection, and renewal of the communication device token are referred to as agreement.

상기 합의는 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 또는 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol) 또는 이들의 결합에 기반하여 결정된다. 상기 갱신된 통신기기 토큰(Updated Communication Device Token)은 통상 노드(105A, 106A, 107A, PBDN)에 저장된다.The agreement is determined based on Token based Consensus Protocol, Lightweight Cryptographic Consensus Protocol, or A Variable Cryptographic Consensus Protocol, or a combination thereof. The updated communication device token is typically stored in nodes 105A, 106A, 107A, PBDN.

상기 통신기기 토큰(Communication Device Token)은 여하의 통상 노드(PBDN)에의 접속에 권한을 부여하도록 이용되는 여하의 데이터 객체일 수 있다. 상기 통신기기 토큰(Communication Device Token)은 블록체인 망(BN) 내 개별 노드의 저장소에 저장될 수 있다. 상기 통신기기 토큰(Communication Device Token)은 블록체인 망 내 여하의 노드에 특화된 유일한 토큰이다. 상기 통신기기 토큰(Communication Device Token)은 복수의 속성을 포함할 수 있다. 복수의 속성이라 함은 개별 노드의 고유 아이디(ID), 트랜잭션을 대표하는 고유 아이디(ID), 그리고 상기 통신기기 토큰(Communication Device Token)의 고유 아이디(ID) 중 어느 하나 또는 그들의 결합일 수 있다.The Communication Device Token may be any data object used to authorize access to any normal node (PBDN). The communication device token may be stored in a storage of an individual node in a blockchain network (BN). The communication device token is a unique token specialized for any node in the blockchain network. The communication device token may include a plurality of attributes. The plurality of attributes may be one or a combination of unique IDs of individual nodes, unique IDs representing transactions, and unique IDs of the communication device tokens. .

한편, 유효하지 않은 사용자가 원격지에서 사용자 통신기기(220)를 이용하여 통상 노드(106A, 107A)에 접근하면, 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 또는 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol) 또는 이들의 결합에 기반한 결정에 따라 트랜잭션이 거부된다. On the other hand, when an invalid user accesses the normal nodes 106A and 107A using the user communication device 220 at a remote location, Token based Consensus Protocol and Lightweight Cryptographic Consensus Protocol Or a transaction is rejected according to a decision based on A Variable Cryptographic Consensus Protocol or a combination thereof.

그리고, 통상 노드(105A, 106A, 107A)는 주기적으로 통상의 블록체인 망(PBN)의 연결상태를 확인한다. 만일 통상 노드(105A)가 통상의 블록체인 망의 전체 또는 일부와 단절되거나 통상의 블록체인 망이 정상적으로 작동하는 것이 불가능한 상황을 인지한 경우, 통상 노드(105A)는 통상의 블록체인 망에서 가장 최근에 갱신 저장된 블록체인을 당해 통상 노드(105A) 내부에 구현된 가상 노드(105B, 105C, 105D)에 배포한다. 가상 노드(105B, 105C, 105D)는 배포된 블록체인(301)을 각각의 가상 노드(105B, 105C, 105D)에 할당된 저장 공간에 저장하고, 이후 통상 노드(105A)가 마스터 노드로 참여하는 가상의 블록체인 망(303)에서 슬레이브 노드로 작동한다. In addition, the normal nodes 105A, 106A, and 107A periodically check the connection state of the normal blockchain network PBN. If the normal node 105A is disconnected from all or part of the normal blockchain network or if it is not possible for the normal blockchain network to operate normally, the normal node 105A is the most recent in the normal blockchain network. The blockchain updated in the distribution is distributed to the virtual nodes 105B, 105C, and 105D implemented in the normal node 105A. The virtual nodes 105B, 105C, and 105D store the distributed blockchain 301 in a storage space allocated to each of the virtual nodes 105B, 105C, and 105D, and then the normal node 105A participates as a master node. It acts as a slave node in the virtual blockchain network 303.

도 3a는 본 발명의 일실시예에 따른 통상의 블록체인 망(PBN)이 단절되거나 통상의 블록체인 망이 정상적으로 작동이 불가능한 경우의 접근 제어 시스템 구성도이고, 도 3b는 본 발명의 일실시예에 따른 가상 블록체인 망 내 접근 제어 시스템 구성도이다.FIG. 3A is a block diagram of an access control system when a conventional blockchain network (PBN) is disconnected or a normal blockchain network is not normally operated according to an embodiment of the present invention, and FIG. 3B is an embodiment of the present invention. Is a block diagram of an access control system in a virtual blockchain network.

유효한 사용자가 원격지에서 사용자 통신기기(210)를 이용하여 통상 노드(105A)에 접근한다. 여기서, 사용자 통신기기(210)는 휴대폰, 태블릿 컴퓨터, 또는 스마트 워치 등일 수 있으며, 이에 제한되는 것은 아니다. A valid user remotely accesses node 105A using user communication device 210. Here, the user communication device 210 may be a mobile phone, a tablet computer, or a smart watch, but is not limited thereto.

사용자 통신기기(210)는 통상 노드(105A)에 트랜잭션을 위해 접속 요청 메시지와 통신기기 토큰을 전송한다. 통신기기 토큰이 가상 블록체인(301) 내 트랜잭션 블록의 시퀀스에 기반하여 동적으로 할당된다. 통상 노드(105A)는 트랜잭션 데이터가 포함된 신규 블록을 구성하고 가상 노드(105B, 105C, 105D)에 배포하여 검증을 요청한다. 가상 노드(105B, 105C, 105D)는 정해진 합의 프로토콜 절차에 따라 가상 블록체인(301) 내 이용가능한 정보에 기반하여 상기 통신기기 토큰 및 스마트 도어록의 개폐 승인 요청 등의 트랜잭션에 대한 인증여부를 결정하기 위해 해당 트랜잭션 데이터가 포함된 신규 블록을 검증하는 합의 과정에 참여한다.The user communication device 210 typically sends a connection request message and communication device token to the node 105A for a transaction. The communication device token is dynamically allocated based on the sequence of transaction blocks in the virtual blockchain 301. Normally, node 105A constructs a new block containing transaction data and distributes it to virtual nodes 105B, 105C, and 105D to request verification. The virtual nodes 105B, 105C, and 105D determine whether to authenticate the transaction, such as a request for opening / closing approval of the communication device token and the smart door lock, based on information available in the virtual blockchain 301 according to a predetermined agreement protocol procedure. To participate in the consensus process of verifying a new block containing the transaction data.

가상 노드(105B, 105C, 105D)는 상기 통신기기 토큰(Communication Device Token)의 인증 결과를 통상 노드(105A)에 회신하고, 통상 노드(105A)는 인증 결과를 수집하고, 상기 통신기기 토큰(Communication Device Token)의 성공적인 인증에 기반하여 스마트 도어록을 해정하도록 도어 개폐부(미도시)에 해정제어신호를 출력하고, 트랜잭션을 허용한다. The virtual nodes 105B, 105C, and 105D return the authentication result of the communication device token to the normal node 105A, and the normal node 105A collects the authentication result, and the communication device token (Communication). Based on the successful authentication of the Device Token, the release control signal is output to the door opening and closing part (not shown) to release the smart door lock, and the transaction is allowed.

통상 노드(105A)는 상기 트랜잭션과 갱신된 통신기기 토큰을 포함하는 합의된 신규 블록을 가상 노드들(105B, 105C, 105D)에 배포하고, 각각의 가상 노드별로 기존의 블록체인(301)에 추가로 연결되어 갱신하고 저장한다.Node 105A typically distributes the agreed new block containing the transaction and the updated communication device token to virtual nodes 105B, 105C, and 105D, and adds to the existing blockchain 301 for each virtual node. Connect and update and save.

그리고 통상 노드(105A)는 사용자 통신기기(210)의 통신기기 토큰을 갱신한다. Normally, node 105A updates the communication device token of user communication device 210.

상기 트랜잭션과 갱신된 통신기기 토큰이 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol)의 결합에 기반하여 결정된다. The transaction and the updated communication device token are determined based on a combination of a Token based Consensus Protocol, a Lightweight Cryptographic Consensus Protocol, and a Variable Cryptographic Consensus Protocol.

상기 통신기기 토큰은 여하의 통상 노드에의 접속에 권한을 부여하도록 이용되는 여하의 데이터 객체일 수 있다. 상기 통신기기 토큰은 가상 블록체인 망 내 개별 가상 노드(105B, 105C, 105D)의 저장소에 저장될 수 있다. 상기 통신기기 토큰은 가상 블록체인 망 내 여하의 가상 노드(105B, 105C, 105D)에 특화된 유일한 토큰이다. 상기 통신기기 토큰은 복수의 속성을 포함할 수 있다. 복수의 속성이라 함은 개별 가상 노드(105B, 105C, 105D)의 고유 아이디(ID), 트랜잭션을 대표하는 고유 아이디(ID), 그리고 상기 통신기기 토큰의 고유 아이디(ID) 중 어느 하나 또는 그들의 결합일 수 있다.The communication device token may be any data object used to authorize access to any normal node. The communication device token may be stored in the storage of individual virtual nodes 105B, 105C, and 105D in the virtual blockchain network. The communication device token is the only token specialized for any virtual node 105B, 105C, 105D in the virtual blockchain network. The communication device token may include a plurality of attributes. The plurality of attributes refer to any one or combination of unique IDs of individual virtual nodes 105B, 105C, and 105D, unique IDs representing transactions, and unique IDs of the communication device token. Can be.

여기서, 개별 가상 노드(105B, 105C, 105D)는 자동으로 비밀번호를 변경하고, 변경된 비밀번호를 통상 노드(105A)에 보고하도록 구현될 수 있다. 여기서, 비밀번호의 변경 주기는 상호 독립적이거나 종속적일 수 있다. 또한, 비밀번호의 변경 주기는 상호 유일하거나 유일하지 않을 수 있다.Here, individual virtual nodes 105B, 105C, and 105D may be implemented to automatically change passwords and report changed passwords to normal node 105A. Here, the change period of the password may be independent or dependent on each other. In addition, the password change period may or may not be unique to each other.

본 발명의 일실시예에 따르면, 통상의 블록체인 망(PBN)이 단절된 경우, 통상 노드(105A)와 개별 가상 노드(105B, 105C, 105D)와 1:1로 연결되어 통신기기 토큰을 인증한다. 즉, 통상 노드(105A)가 해킹을 당해 블록을 구성하는 트랜잭션 데이터가 비정상적으로 변경되더라도 통상 노드(105A) 내부에 비공개로 구현된 개별 가상 노드(105B, 105C, 105D)에 분산 저장된 해당 블록의 트랜잭션 데이터와 상이한 경우, 개별 가상 노드(105B, 105C, 105D)는 유효하지 않은 데이터를 인증한 결과를 통상 노드(105A)로 전송한다. 통상 노드(105A)는 개별 가상 노드(105B, 105C, 105D)로부터 전송받은 인증 결과에 기반하여 과반의 가상 노드가 유효하지 않은 데이터로 인증한 경우, 실패한 인증으로 합의를 이루게 된다. 이 경우에는 해당 트랜잭션 데이터를 무효 처리한다. 반면 과반의 가상 노드가 유효한 데이터로 인증하는 경우 성공한 인증으로 합의를 이루게 되고 해당 트랜잭션 데이터를 유효 처리한다.According to an embodiment of the present invention, when the normal blockchain network (PBN) is disconnected, the normal node 105A and the individual virtual nodes 105B, 105C, and 105D are connected 1: 1 to authenticate the communication device token. . That is, even if the transaction data constituting the block in which the normal node 105A is hacked is abnormally changed, the transaction of the corresponding block distributed and stored in the individual virtual nodes 105B, 105C, and 105D privately implemented in the normal node 105A. If different from the data, the individual virtual nodes 105B, 105C, and 105D send the result of authenticating the invalid data to the node 105A. Normally, the node 105A agrees with the failed authentication when the majority of the virtual nodes authenticate with invalid data based on the authentication result received from the individual virtual nodes 105B, 105C, and 105D. In this case, the transaction data is invalidated. On the other hand, if the majority of the virtual nodes authenticate with valid data, the successful authentication is agreed and the transaction data is processed effectively.

한편, 통상의 블록체인 망(PBN)이 단절되었다가 복구되면, 통상 노드(105A)에 저장된 블록체인과 여타의 통상 노드(106A, 107A)에 저장된 블록체인 간에는 불일치가 발생한다. 이때, 통상 노드(105A)는 통상의 블록체인 망이 단절된 동안 가상 블록체인 망을 통해 발생한 블록체인 내 트랜잭션의 일부 또는 전부를 여타 통상 노드(106A, 107A)에 배포하여 인증 받고, 여타 통상 노드(106A, 107A)로부터 인증에 성공하면, 통상 노드(105A)는 상기 트랜잭션을 갱신한다. 통상 노드(105A)는 갱신된 트랜잭션을 여타 통상 노드(106A, 107A)에 배포한다.On the other hand, when the normal blockchain network (PBN) is disconnected and restored, inconsistency occurs between the blockchain stored in the normal node 105A and the blockchain stored in the other normal nodes 106A and 107A. At this time, the normal node 105A distributes some or all of the transactions in the blockchain through the virtual blockchain network to other normal nodes 106A and 107A while the normal blockchain network is disconnected, and is authenticated. If authentication is successful from 106A and 107A, normally node 105A updates the transaction. Normal node 105A distributes the updated transaction to other normal nodes 106A, 107A.

본 발명의 일실시예에 따르면, 통상 노드는, 통상의 블록체인 망(PBN)을 통해 Byzantine faults와 같은 faults를 인지하게 되면, 내부의 리던던시 영역에 적어도 하나 이상의 가상 노드를 추가적으로 생성할 수 있다. 또한, 본 발명의 다른 실시예에 따르면, 통상 노드는 내부의 리던던시 영역에 2배수, 3배수, 또는 제곱수만큼의 가상 노드를 추가적으로 생성할 수 있다. 또한, 본 발명의 또 다른 실시예에 따르면, 통상 노드는, 통상의 블록체인 망을 통해 Byzantine Fault와 같은 faults를 인지할 때마다, 내부의 리던던시 영역에 적어도 하나 이상의 가상 노드를 추가적으로 생성할 수 있다. 도 4는 스마트 도어록(105) 내 가상 노드(105E)가 추가적으로 생성되어 가상 블록체인 망에 연결된 상태도를 보인다. 이에 따라 스마트 도어록의 보안성을 향상시킬 수 있다.According to an embodiment of the present invention, if a normal node recognizes faults such as Byzantine faults through a normal blockchain network (PBN), at least one virtual node may be additionally created in an internal redundancy area. In addition, according to another embodiment of the present invention, a normal node may additionally generate as many as two, three, or square numbers of virtual nodes in an internal redundancy region. In addition, according to another embodiment of the present invention, whenever a normal node recognizes a fault such as a Byzantine Fault through a normal blockchain network, at least one virtual node may be additionally created in an internal redundancy area. . 4 shows a state diagram in which the virtual node 105E in the smart door lock 105 is additionally generated and connected to the virtual blockchain network. Accordingly, the security of the smart door lock can be improved.

한편, 본 발명의 일실시예에 따르면, 통상의 블록체인 망과 가상 블록체인 망은 독립적으로 또는 상호 연계하여 운용될 수 있다.Meanwhile, according to an embodiment of the present invention, a normal blockchain network and a virtual blockchain network may be operated independently or in cooperation with each other.

도 5는 본 발명의 일실시예에 따른 통상 노드의 블록도이다.5 is a block diagram of a typical node according to an embodiment of the present invention.

본 발명의 일실시예에 따른 통상 노드(105A, 106A, 107A)는 접속 제어기(510), 프로세서(520), 및 메모리(530)를 포함한다. 접속 제어기(510)는 쿼리 제어기(511), 토큰 밸리데이터(512), 합의 모듈(513), 토큰 제너레이터(514), 및 가상 노드 제너레이터(515)를 포함한다. Typical nodes 105A, 106A, and 107A in accordance with one embodiment of the present invention include a connection controller 510, a processor 520, and a memory 530. The connection controller 510 includes a query controller 511, token validity 512, consensus module 513, token generator 514, and virtual node generator 515.

사용자 통신기기(210)는 블루투스, 지그비, 알에프아이디(RFID), 와이파이 다이렉트, NFC 등과 같은 기기간 근거리 통신 인터페이스 모듈을 통해 스마트 도어록(105)과 직접 접속되거나, 와이파이와 같이 근거리 인터넷 통신 인터페이스 모듈을 통해 게이트웨이를 거쳐 스마트 도어록(105)과 간접 접속될 수 있다. 즉, 본 발명에 따르면 근거리 통신 인터페이스 모듈이란 예컨대, 사용자 통신기기와 스마트 도어록이 직접 접속될 수 있는 인터페이스 모듈을 의미하고, 근거리 인터넷 통신 인터페이스 모듈이란 예컨대 사용자 통신기기와 스마트 도어록 사이에 게이트웨이가 배치되어 사용자 통신기기와 스마트 도어록이 간접적으로 접속될 수 있는 인터페이스 모듈을 의미한다.The user communication device 210 is directly connected to the smart door lock 105 through a short range communication interface module, such as Bluetooth, Zigbee, RFID, WiFi Direct, NFC, or the like, or through a short range Internet communication interface module such as Wi-Fi. It may be indirectly connected with the smart door lock 105 via a gateway. That is, according to the present invention, the short-range communication interface module means, for example, an interface module to which a user communication device and a smart door lock can be directly connected, and the short-range internet communication interface module is, for example, a gateway is disposed between the user communication device and the smart door lock. The interface module may be indirectly connected to the user communication device and the smart door lock.

접속 제어기(510)는 트랜잭션을 위하여 휴대용 통신기기로부터 접속 요청과 통신기기 토큰을 수신한다. 통신기기 토큰은 통상의 블록체인(101) 또는 가상 블록체인(301)에서 이용가능한 정보에 기반하여 유효화된다. The connection controller 510 receives a connection request and a communication device token from the portable communication device for the transaction. The communication device token is validated based on the information available in the conventional blockchain 101 or the virtual blockchain 301.

예를 들면, 유효화는 최초 인증정보(최초 탑재된 인증정보)에 포함된 개인 키와 새롭게 생성되는 개인 키와 공개 키(기수적 표현으로, 두번째 개인 키와 공개 키) 중 공개 키 및 비밀번호 변경 이력에 기반하여 이루어지며, 이에 따라 최초의 개인 키와 비밀번호 변경 이력으로 두번째의 공개 키를 서명하여 통신기기 토큰을 갱신하도록 이루어질 수 있다.For example, the validation is a change history of the public key and the password among the private key included in the original authentication information (the first mounted authentication information) and the newly generated private key and public key (in odd expression, the second private key and the public key). It is based on, and thus can be made to renew the communication device token by signing the second public key with the first private key and password change history.

이와 같이 유효화는 미리 설정된 규칙에 따라 N번 째의 개인 키와 비밀번호 변경 이력으로 N+1번째의 공개 키를 서명하여 진행하는 방식으로 주기적 또는 비주기적으로 갱신하도록 이루어질 수 있다.In this way, the validation may be performed periodically or aperiodically by updating the N + 1 th public key with the N th private key and the password change history according to a preset rule.

통신기기 토큰의 유효성이 성공적으로 입증되면, 프로세서(520)는 스마트 도어록을 해정하도록 도어 개폐부(미도시)에 해정제어신호를 출력하고, 트랜잭션이 허용된다. If the validity of the communication device token is successfully verified, the processor 520 outputs a release control signal to the door opener (not shown) to release the smart door lock, and the transaction is allowed.

프로세서(520)는 CPU, 마이크로프로세서, 또는 마이크로콘트롤러일 수 있으나, 이에 한정되는 것은 아니다. 프로세서(520)는 메모리(530) 및 접속 제어기(510)와 결합된다. 프로세서(520)는 메모리(530)에 저장된 일련의 명령을 처리한다. 여하의 갱신된 통신기기 토큰이 메모리(530)에 저장된다.The processor 520 may be a CPU, a microprocessor, or a microcontroller, but is not limited thereto. The processor 520 is coupled with the memory 530 and the connection controller 510. The processor 520 processes a series of instructions stored in the memory 530. Any updated communication device token is stored in memory 530.

쿼리 제어기(511)는 블록체인 망에서 트랜잭션을 위한 요청을 수신한다. 쿼리 제어기(511)는 블록체인 망을 통해 트랜잭션 요청에 귀속되는 쿼리를 수신하거나 생성하는 프로세싱 유닛일 수 있다. 예를 들어, 쿼리 제어기(511)는 휴대용 통신기기로부터 접속 요청과 통신기기 토큰을 수신한다. 통신기기 토큰은 통상의 블록체인(101) 또는 가상 블록체인(301)에서 이용가능한 정보에 기반하여 토큰 밸리데이터(512)에 의해 유효화된다. 유효성이 성공적으로 입증되면, 접속 제어기(510)는 상기 요청에 귀속되는 트랜잭션이 발생하도록 허용한다. The query controller 511 receives a request for a transaction in the blockchain network. The query controller 511 may be a processing unit that receives or generates a query belonging to a transaction request through the blockchain network. For example, query controller 511 receives a connection request and a communication device token from the portable communication device. The communication device token is validated by the token validity data 512 based on the information available in the conventional blockchain 101 or the virtual blockchain 301. If validity is successfully verified, the connection controller 510 allows a transaction to be attributed to the request.

합의 모듈(513)은 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol) 중 어느 하나 또는 이들의 결합을 이용한다. 합의가 이루어지면, 상기 트랜잭션과 상기 갱신된 통신기기 토큰이 블록체인(101, 301)에 추가된다. 결과적으로, 갱신된 통신기기 토큰이 휴대용 통신기기와 메모리(530)에 저장된다. The consensus module 513 utilizes any one or a combination of a token based consensus protocol, a light weight cryptographic consensus protocol, and a variable cryptographic consensus protocol. If an agreement is reached, the transaction and the updated communication device token are added to the blockchain 101, 301. As a result, the updated communication device token is stored in the portable communication device and the memory 530.

토큰 제너레이터(514)는 다른 노드와 연관된 갱신된 통신기기 토큰을 생성한다. 접속 제어기(510)는 휴대용 통신기기의 통신기기 토큰을 동적으로 갱신한다. 연관된 트랜잭션과 갱신된 통신기기 토큰은 블록체인 망 내에서 개별 노드들에 브로드캐스트 방식으로 전파된다. Token generator 514 generates an updated communication device token associated with the other node. The access controller 510 dynamically updates the communication device token of the portable communication device. Associated transactions and updated communication device tokens are broadcast in a broadcast manner to individual nodes within the blockchain network.

통신기기 토큰이 토큰 밸리데이터(512)에서 성공적으로 유효화되지 않으면, 프로세서(520)는 가상 노드 제너레이터(515)로 하여금 내부의 리던던시 영역에 가상 노드를 생성하도록 복제 명령을 전송하고, 가상 노드 제너레이터(515)는 내부의 리던던시 영역에 가상 노드를 복제하여 추가한다. 또한, 본 발명의 다른 실시예에 따르면, 내부의 리던던시 영역에 잠재적 가상 노드가 적어도 하나 이상 배치되고, 가상 노드 제너레이터(515)가 잠재적 가상 노드를 활성화시켜 추가할 수도 있다. If the communication device token is not successfully validated in the token validator 512, the processor 520 sends a replication command to the virtual node generator 515 to create a virtual node in the internal redundancy area, and the virtual node generator 515 ) Duplicates and adds a virtual node to an internal redundancy zone. In addition, according to another embodiment of the present invention, at least one potential virtual node may be disposed in an internal redundancy area, and the virtual node generator 515 may activate and add the potential virtual node.

본 발명에서는, 개별 노드(105A, 105B, 105C, 105D, 106A, 106B, 106C, 106D, 107A, 107B, 107C, 107D)는 블록체인을 구현하고 있으며, 각각에 분산 저장된 정보를 최신 버전으로 유지하여, 해당 정보를 공유하고 있을 수 있다.In the present invention, the individual nodes 105A, 105B, 105C, 105D, 106A, 106B, 106C, 106D, 107A, 107B, 107C, 107D implement a blockchain, and each of the distributed information stored in each of them is kept up to date. The information may be shared.

개별 노드 중 중 통상 노드 각각은 상술한 바와 같이, 단말 형태로 구현될 수 있지만, 이에 제한되지 않으며, 특정 업체에서 운영하는 서버 형태로 구현될 수 있다.As described above, each of the individual nodes may be implemented in the form of a terminal, but is not limited thereto and may be implemented in the form of a server operated by a specific company.

통상 노드 중 단말 형태로 구현된 노드는 블록체인 상에서 공유되는 정보를 메모리의 보안 영역에 저장할 수 있으며, 통상 노드 중 서버 형태로 구현된 노드는 블록체인 상에서 공유되는 정보를 데이터베이스의 보안 영역에 저장할 수 있다.A node implemented in the form of a terminal among the normal nodes may store information shared on the blockchain in a secure area of memory, and a node implemented in the form of a server among the nodes typically may store information shared on the blockchain in a secure area of a database. have.

즉, 본 발명에서는 개별 노드가 단말로만 구성된 통상의 블록체인, 개별 노드가 서버로만 구성된 통상의 블록체인, 개별 노드가 단말 및 서버 혼합으로 구성된 통상의 블록체인, 개별 노드가 가상 블록체인과 통상의 블록체인 혼합으로 구성된 블록체인 등 다양한 형태의 블록체인을 기반으로 하여 구성될 수 있다.That is, in the present invention, a conventional blockchain in which individual nodes are composed solely of terminals, a conventional blockchain in which individual nodes are composed only of servers, and a general blockchain in which individual nodes are composed of a terminal and a server, and each node is a virtual blockchain and a conventional blockchain. It can be configured based on various types of blockchains, including blockchains composed of mixed blockchains.

도 6은 본 발명의 일실시예에 따른 가상 노드의 블록도이다.6 is a block diagram of a virtual node according to an embodiment of the present invention.

본 발명의 일실시예에 따른 가상 노드(105B, 105C, 105D, 106B, 106C, 106D, 107B, 107C, 107D)는 접속 제어기(610), 및 메모리(630)를 포함한다. 접속 제어기(610)는 쿼리 제어기(611), 토큰 밸리데이터(612), 합의 모듈(613), 및 토큰 제너레이터(614)를 포함하고, 접속 제어기(610)는 소정의 소프트웨어로 구현될 수 있다. 여기서, 본 발명의 일실시예에 따르면, 가상 노드 내 메모리(630)는 통상 노드 내 메모리(530) 내 소정 장소를 이용하거나, 별개로 배치될 수 있다.Virtual nodes 105B, 105C, 105D, 106B, 106C, 106D, 107B, 107C, and 107D according to an embodiment of the present invention include an access controller 610 and a memory 630. The connection controller 610 includes a query controller 611, token validity 612, consensus module 613, and token generator 614, which may be implemented in some software. Here, according to an embodiment of the present invention, the memory 630 in the virtual node typically uses a predetermined place in the memory 530 in the node or may be disposed separately.

본 발명의 일실시예에 따른 가상 노드는 블록체인 망 상에서 직접 연결되는 통상 노드 내 프로세서를 공유할 수 있다. 또한, 본 발명의 다른 실시예에 따른 가상 노드는 가상 노드 전용의 프로세서(미도시)를 이용할 수 있다.A virtual node according to an embodiment of the present invention may share a processor in a normal node that is directly connected on a blockchain network. In addition, the virtual node according to another embodiment of the present invention may use a processor (not shown) dedicated to the virtual node.

접속 제어기(610)는 트랜잭션을 위하여 통상 노드(105A)로부터 접속 요청과 통상 노드(105A) 토큰을 수신한다. 통상 노드(105A) 토큰은 가상 블록체인(301)에서 이용가능한 정보에 기반하여 유효화된다. The connection controller 610 receives a connection request and a normal node 105A token from the normal node 105A for a transaction. The node 105A token is typically validated based on the information available in the virtual blockchain 301.

통상 노드(105A) 토큰의 유효성이 성공적으로 입증되면 프로세서(520)는 스마트 도어록을 해정하도록 도어 개폐부(미도시)에 해정제어신호를 출력하고, 트랜잭션을 허용한다. In general, if the validity of the node 105A token is successfully verified, the processor 520 outputs a release control signal to the door opener (not shown) to release the smart door lock, and allows a transaction.

쿼리 제어기(611)는 블록체인 망에서 트랜잭션을 위한 요청을 수신한다. 쿼리 제어기(611)는 블록체인 망을 통해 트랜잭션 요청에 귀속되는 쿼리를 수신하거나 생성하는 프로세싱 유닛일 수 있다. 예를 들어, 쿼리 제어기(611)는 통상 노드(105A)로부터 접속 요청과 가상 노드 토큰을 수신한다. 가상 노드 토큰은 가상 블록체인(301)에서 이용가능한 정보에 기반하여 토큰 밸리데이터(612)에 의해 유효화된다. 즉, 토큰 밸리데이터(612)는 가상 노드가 통상 노드(105A)에 등록된 노드인지 여부, 사용자 통신기기(210) 내에 탑재된 애플리케이션에 기록된 사용자 ID와 비밀번호(PW) 등의 정보에 기반하여 가상 노드 토큰을 유효화한다. 즉, 토큰 밸리데이터(612)는 가상 노드가 자신이 속한 스마트 도어록 내 통상 노드에 등록되지 않은 노드이거나, 사용자 통신기기(210) 내에 탑재된 애플리케이션에 기록된 사용자 ID 또는 비밀번호(PW)와 불일치하면 해킹된 노드로 판단한다. The query controller 611 receives a request for a transaction in the blockchain network. The query controller 611 may be a processing unit that receives or generates a query belonging to a transaction request through the blockchain network. For example, query controller 611 typically receives a connection request and virtual node token from node 105A. The virtual node token is validated by the token validator 612 based on the information available in the virtual blockchain 301. That is, the token validity data 612 is based on information such as whether the virtual node is a node registered in the node 105A, the user ID and password PW recorded in the application mounted in the user communication device 210, and the like. Validate the node token. That is, the token validity data 612 is hacked if the virtual node is a node that is not registered with the normal node in the smart door lock to which it belongs, or if it is inconsistent with a user ID or password (PW) recorded in an application mounted in the user communication device 210. It is determined to be a node.

유효성이 성공적으로 입증되면, 접속 제어기(610)는 상기 요청에 귀속되는 트랜잭션이 발생하도록 허용한다. If validity is successfully verified, the connection controller 610 allows a transaction to be attributed to the request.

합의 모듈(613)은 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol) 중 어느 하나 또는 이들의 결합을 이용한다. 합의가 이루어지면, 상기 트랜잭션과 상기 갱신된 가상 노드 토큰이 블록체인(301)에 추가된다. 결과적으로, 갱신된 가상 노드 토큰이 통상 노드(105A)와 메모리(630)에 저장된다. The consensus module 613 uses one or a combination of a token based consensus protocol, a light weight cryptographic consensus protocol, and a variable cryptographic consensus protocol. If an agreement is reached, the transaction and the updated virtual node token are added to the blockchain 301. As a result, the updated virtual node token is typically stored in node 105A and memory 630.

토큰 제너레이터(614)는 다른 노드와 연관된 갱신된 가상 노드 토큰을 생성한다. 접속 제어기(610)는 통상 노드(105A)의 가상 노드 토큰을 동적으로 갱신한다. 연관된 트랜잭션과 갱신된 가상 노드 토큰은 블록체인 망 내에서 개별 노드들에 브로드캐스트 방식으로 전파된다. Token generator 614 generates an updated virtual node token associated with the other node. The connection controller 610 typically updates the virtual node token of node 105A dynamically. Associated transactions and updated virtual node tokens are broadcasted to individual nodes within the blockchain network.

가상 노드 토큰이 토큰 밸리데이터(612)에서 성공적으로 유효화되지 않으면, 통상 노드(105A) 내 프로세서(520)는 가상 노드 제너레이터(515)로 하여금 내부의 리던던시 영역에 가상 노드를 생성하도록 복제 명령을 전송하고, 가상 노드 제너레이터(515)는 내부의 리던던시 영역에 가상 노드를 복제하여 가상 노드를 추가할 수 있다. 또한, 본 발명의 다른 실시예에 따르면, 내부의 리던던시 영역에 잠재적(비활성) 가상 노드가 적어도 하나 이상 배치되고, 가상 노드 제너레이터(515)가 잠재적 가상 노드를 활성화시켜 추가할 수 있다. If the virtual node token is not successfully validated in token validation 612, processor 520 in node 105A typically sends a replication command to cause virtual node generator 515 to create a virtual node in the internal redundancy zone. The virtual node generator 515 may add a virtual node by duplicating the virtual node in an internal redundancy area. In addition, according to another embodiment of the present invention, at least one potential (inactive) virtual node is disposed in an internal redundancy area, and the virtual node generator 515 may activate and add the potential virtual node.

통상 노드 내 프로세서(520)는 직접 연결된 가상 노드 내 메모리(630) 및 접속 제어기(610)와 결합되고, 메모리(630)에 저장된 일련의 명령을 처리한다. 여하의 갱신된 가상 노드 토큰이 메모리(630)에 저장된다.In general, the intra-node processor 520 is coupled to the directly-connected intra-node memory 630 and the connection controller 610 to process a series of instructions stored in the memory 630. Any updated virtual node token is stored in memory 630.

이와 같이 본 발명은 인터넷이 단절되는 경우, 통상 노드와 그 내부에 구축된 가상 블록체인 망에 연결된 다수의 가상 노드 간에 구현된 다중 블록체인 기능을 활용하여 독립적으로 블록체인 기반의 도어록으로 작용하고 스스로 블록체인 기능을 가동하여 트랜잭션(transaction)의 유효성을 신속히 수행하도록 하여, 해킹방지 기능을 한층 강화시킬 수 있게 된다.As such, when the Internet is disconnected, the present invention independently utilizes multiple blockchain functions implemented between a node and a plurality of virtual nodes connected to a virtual blockchain network built therein, and independently acts as a blockchain-based door lock. By enabling the blockchain function to quickly perform the validity of transactions, the hacking prevention function can be further strengthened.

이와 같이 자동으로 변경되는 비밀번호를 갖는 가상 블록체인 기반 스마트 도어록 노드는, 프로세서(520)에서 문의 개폐제어신호가 포함된 트랜잭션(transaction)을 수신하는 경우, 각자의 비밀번호 변경 이력을 제시함으로써 인증 절차를 거치게 된다. 특히 유무선 통신이 단절되는 상태에서도 근거리 통신을 통한 인증 요청시에 최근 생성된 비밀번호 변경 이력의 제시를 통한 인증 절차를 진행하게 되어 셀프 블록체인기능을 구현하여 강력한 보안기능을 갖게 된다.As described above, when the virtual blockchain-based smart door lock node having the automatically changed password receives a transaction including the door open / close control signal from the processor 520, the virtual blockchain-based smart door lock node presents an authentication procedure by presenting a password change history. Going through. In particular, even when the wired / wireless communication is disconnected, the authentication procedure is performed by presenting a password change history that is recently generated when the authentication request is made through short-range communication, thereby implementing a self-blockchain function to have a strong security function.

이후, 유무선 통신이 복구되면, 최근 비밀번호 변경 이력을 포함한 새로운 공개키 정보(통상의 블록체인)을 유무선 망을 통하여 다른 노드에 제공하게 된다.Then, when the wired / wireless communication is restored, new public key information (normal blockchain) including a recent password change history is provided to other nodes through the wired / wireless network.

상기에서 설명한 바와 같이 본 발명은 블록체인 네트워크 도어록 시스템이 불순한 사용자에 의하여 의도되거나 서버의 오류, 고장, 단전 등으로 인한 온라인이 차단된 상태에서도, 하나 이상의 가상 노드에 연결된 가상 블록체인을 통하여 인증되도록 함으로써 완벽한 보안 시스템이 완성하게 되고, 통상의 블록체인 망이 정상적일 때 통상 노드들에 연결하여 변경된 공개키를 전송 및 공유하도록 구현된다.As described above, the present invention allows the blockchain network door lock system to be authenticated through a virtual blockchain connected to one or more virtual nodes, even when the blockchain network doorlock system is intentionally blocked by an impure user or is blocked due to an error, failure, or power failure of a server. By doing so, a complete security system is completed, and when the normal blockchain network is normal, it is implemented to connect to normal nodes and transmit and share the changed public key.

도 7은 본 발명의 일실시예에 따른 블록체인 합의를 이루기 위한 경량 암호 합의 프로토콜용 시나리오이다.7 is a scenario for a lightweight cryptographic agreement protocol to achieve blockchain agreement according to one embodiment of the present invention.

도 7에 따르면, 시스템(700)에서 경량 암호 합의 프로토콜은 FBA(Federated Byzantine Agreement)와 PBFT(Partial Byzantine Faults Tolerance) 합의 프로토콜을 결합한다. 일실시예에 따르면, 105A, 105B, 105C, 105D가 하나의 노드 그룹을 이루고, 106A, 106B, 106C, 106D가 다른 하나의 노드 그룹을 이룬다. 개별 노드 그룹은 각각 스마트 도어록 내 통상 노드와 가상 노드로 이루어진다. 그룹 내 합의(Intra-group consensus)는 그룹 내에 많은 노드들이 존재하고, 노드들간에 고도로 확장가능한 합의가 필요하므로 FBA 합의를 사용하여 이루어진다. 반면, 그룹 간 합의(Inter-group consensus)는 그룹의 갯수가 그룹 내 노드들의 갯수보다 적기 때문에 PBFT 합의를 사용하여 이루어진다. According to FIG. 7, a lightweight cryptographic agreement protocol in the system 700 combines a federated byzantine agreement (FBA) and a partial byzantine faults tolerance (PBFT) agreement protocol. According to one embodiment, 105A, 105B, 105C, and 105D form one node group, and 106A, 106B, 106C, and 106D form another node group. Each node group consists of a normal node and a virtual node in the smart door lock, respectively. Intra-group consensus is achieved using FBA consensus because there are many nodes in the group and a highly scalable consensus is needed between the nodes. On the other hand, inter-group consensus is achieved using PBFT consensus because the number of groups is smaller than the number of nodes in the group.

일실시예에 따르면, 가변 암호 퍼즐에 기반한 합의 프로토콜이 블록체인(101, 301)과 관련되는 트랜잭션에 합의를 달성하기 위해 사용될 수 있다. Bitcoin ™ 또는 Ethererum ™와 같은 암호용 화폐에 대해 사용된 블록체인 기반 기술에서, 작업 증명(Proof Of Work: PoW) 시스템은 노드들이 블록체인 망 참여자들에 의해 수락되는 트랜잭션 블록을 위한 작업 증명을 제공할 것으로 요한다. 블록체인 망과 블록체인(101, 301)에 관하여, 합의는 사용자 통신기기(210)의 작업 증명에 기반하여 달성된다. 트랜잭션 데이터 블록의 유효화를 위해, 블록은 현재 목표값 이하의 값으로 해쉬되어야 한다. 현재 목표값은 성공적인 블록 생성의 가능성에 기초한다. 상기 가변 암호 퍼즐은 성공적인 블록 생성의 가능성에 기초하여 결정된다. 사용자 통신기기(210)가 통상 노드(105A)에 접속을 요청할 때, 가능성은 상기 사용자 통신기기(210)와 통상 노드(105A)의 계산력에 기초하여 결정된다. 가능성은 통상 노드(105A)와 메모리(530)의 계산력의 함수이다. 퍼즐 해결 시간은 상기 통상 노드(105A)의 계산력과 메모리와 독립적으로 되어 블록체인 망 내 모든 노드가 거의 동일 시간에 상기 퍼즐을 해결할 수 있도록 한다. According to one embodiment, a consensus protocol based on a variable cryptographic puzzle may be used to achieve consensus on transactions involving blockchains 101 and 301. In blockchain-based technologies used for cryptocurrencies such as Bitcoin ™ or Ethererum ™, the Proof Of Work (PoW) system provides proof of work for transaction blocks where nodes are accepted by blockchain network participants. I will do it. Regarding the blockchain network and the blockchains 101 and 301, agreement is achieved based on proof of work of the user communication device 210. To validate a transaction data block, the block must be hashed to a value below the current target value. The current target value is based on the probability of successful block generation. The variable cryptographic puzzle is determined based on the probability of successful block generation. When the user communication device 210 requests a connection to the normal node 105A, the probability is determined based on the computing power of the user communication device 210 and the normal node 105A. The likelihood is typically a function of the computational power of node 105A and memory 530. The puzzle solving time is independent of the computational power and memory of the normal node 105A so that all nodes in the blockchain network can solve the puzzle at about the same time.

도 8은 본 발명의 일실시예에 따른 블록체인 기반 접속 제어 흐름도이다.8 is a blockchain based access control flowchart according to an embodiment of the present invention.

쿼리 제어기(511, 611)는 블록체인 망에서 트랜잭션을 위한 요청과 통신기기 토큰을 수신한다(S801). The query controllers 511 and 611 receive a request for a transaction and a communication device token in the blockchain network (S801).

통신기기 토큰은 토큰 밸리데이터(512, 612)에 의해 통상의 블록체인(101) 또는 가상 블록체인(301)에서 이용가능한 정보에 기반하여 유효화된다(S802). The communication device token is validated based on the information available in the normal blockchain 101 or the virtual blockchain 301 by token validity data 512 and 612 (S802).

통신기기 토큰이 성공적으로 유효화되는지를 판단하고(S803), 통신기기 토큰이 성공적으로 유효화되면, 프로세서(520)는 스마트 도어록을 해정하도록 도어 개폐부(미도시)에 개폐제어신호를 출력하고, 스마트 도어록을 해정한다(S804).It is determined whether the communication device token is successfully validated (S803), and when the communication device token is successfully validated, the processor 520 outputs an opening / closing control signal to the door opening / closing unit (not shown) to release the smart door lock, and the smart door lock. To resolve (S804).

이후, 통신기기 토큰의 성공적인 유효화에 기반하여 트랜잭션을 허용한다(S805). Thereafter, the transaction is allowed based on the successful validation of the communication device token (S805).

이후, 토큰 제너레이터(514, 614)는 갱신된 통신기기 토큰을 생성하고, 접속 제어기(510, 610)는 휴대용 통신기기의 통신기기 토큰을 동적으로 갱신한다(S806). 연관된 트랜잭션과 갱신된 통신기기 토큰은 블록체인 망 내에서 개별 노드들에 브로드캐스트 방식으로 전파된다. Thereafter, the token generators 514 and 614 generate updated communication device tokens, and the connection controllers 510 and 610 dynamically update the communication device tokens of the portable communication device (S806). Associated transactions and updated communication device tokens are broadcast in a broadcast manner to individual nodes within the blockchain network.

합의 모듈(513, 613)은 토큰 기반 합의 프로토콜(Token based Consensus Protocol), 경량 암호 합의 프로토콜(Lightweight Cryptographic Consensus Protocol), 가변 암호 합의 프로토콜(A Variable Cryptographic Consensus Protocol) 중 어느 하나 또는 이들의 결합을 이용한다. 트랜잭션과 갱신된 통신기기 토큰은 블록체인(101, 301)에 추가된다(S807). The consensus modules 513 and 613 use any one or combination of token based consensus protocol, lightweight cryptographic consensus protocol, and a variable cryptographic consensus protocol. . The transaction and the updated communication device token are added to the blockchains 101 and 301 (S807).

갱신된 통신기기 토큰이 개별 노드 내 메모리(530, 630)에 저장된다(S808).The updated communication device token is stored in the individual nodes memory 530 and 630 (S808).

한편, 통신기기 토큰의 유효화가 실패하면, 접속이 거부되고(S809), 가상 노드 제너레이터(515)는 가상 노드(VBDLN)를 리던던시 영역에 복제하여 추가한다(S810). On the other hand, if the validation of the communication device token fails, the connection is refused (S809), and the virtual node generator 515 duplicates and adds the virtual node VBDLN to the redundancy area (S810).

이에 따라, 통상 노드 및 하나 이상의 가상 노드는 각자의 비밀번호 변경 이력을 제시함으로써 인증절차를 거치며 유무선 네트워크가 단절되어도 가상 블록체인 망이 구현되어 강력한 보안기능을 가지게 되며, 정해진 시간에 유무선 네트워크를 통하여 공개키 정보가 포함된 휴대기기 토큰을 전송하고 다른 노드에 제공하여 분산원장기능을 구현할 수 있다.Accordingly, the normal node and one or more virtual nodes go through the authentication process by presenting their own password change history, and even if the wired / wireless network is disconnected, the virtual blockchain network is implemented and has strong security function, and is disclosed through the wired / wireless network at a predetermined time. The distributed ledger function can be implemented by sending a mobile device token containing key information and providing it to other nodes.

한편, 본 발명의 설명에서 언급된 근거리 통신방식은 블루투스 이외에도, 비콘(Beacon), BLE(Bluetooth Low Energy), Zigbee, UWB(Ultra-WideBand), ANT, Wi-fi 등, PAN(Personal Area Network) 방식의 다양한 근거리 통신 기술들이 적용될 수 있다.On the other hand, the short-range communication method mentioned in the description of the present invention, in addition to Bluetooth, Beacon (Beacon), BLE (Bluetooth Low Energy), Zigbee, UWB (Ultra-WideBand), ANT, Wi-fi, etc., Personal Area Network (PAN) Various short range communication techniques may be applied.

또한, 본 발명의 설명에서 언급된 사용자 단말기로서 스마트폰 이외에도, 통신 기능이 포함된 전자 장치일 수 있다. 예를 들면, 전자 장치는 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블장치(wearable device)(예: 전자 안경과 같은 head-mounted-device(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 문신, 또는 스마트 와치(smartwatch))일 수 있다.In addition to the smart phone as the user terminal mentioned in the description of the present invention, it may be an electronic device including a communication function. For example, the electronic device may be a tablet personal computer, a mobile phone, a video phone, an e-book reader, a desktop personal computer, a laptop personal computer. , Netbook computer, personal digital assistant (PDA), portable multimedia player (PMP), MP3 player, mobile medical device, camera, or wearable device (e.g., head-like electronic glasses) mounted-device (HMD), electronic garment, electronic bracelet, electronic necklace, electronic accessory, electronic tattoo, or smartwatch.

이상에서 설명한 바와 같은 본 발명에 따른 가상 블록체인을 갖는 듀얼 블록체인 기반의 스마트 도어록 및 그 운용 방법에 의하면, 스마트 도어록 간에 연계된 블록체인 및 스마트 도어록 자체의 가상 블록체인을 연계시킨 다중 인증 체계를 구축함으로써 매우 높은 통신보안 및 해킹 보안을 구현할 수 있으며, 인증 서버의 오류, 고장, 단전 등으로 인해 온라인이 차단된 상태 등의 상황에서 블루투스와 같은 근거리 통신을 이용한 해킹 또한 확실하게 방지할 수 있는 이점이 있다.According to the dual blockchain-based smart door lock having a virtual block chain according to the present invention as described above and its operation method, a multi-authentication system in which the block chain linked between the smart door lock and the virtual block chain of the smart door lock itself are linked. By implementing it, it is possible to realize very high communication security and hacking security, and it is also possible to reliably prevent hacking using short-range communication such as Bluetooth in a situation where the online server is blocked due to an error, failure or power failure of the authentication server. There is this.

본 발명의 사상은 디지털 전자기기가 CCTV인 경우에 적용할 수 있는데, 통신기기 토큰이 성공적으로 유효화되면, 통상의 블록체인 기반 CCTV 프로세서는 CCTV에서의 동작을 수행하도록 동작 제어부(미도시)에 동작제어신호를 출력할 수 있다. 여기서, CCTV에서 수행하는 동작이라 함은 CCTV의 방향 전환, 줌업 기능, 사진 전송 등을 의미할 수 있다.The idea of the present invention can be applied when the digital electronic device is a CCTV, when the communication device token is successfully validated, the normal blockchain-based CCTV processor is operated by an operation control unit (not shown) to perform the operation in CCTV The control signal can be output. Here, the operation performed by the CCTV may refer to a direction change of the CCTV, a zoom-up function, a photo transmission, and the like.

도 9는 본 발명의 일실시예에 따른 스마트 도어록이 적용된 네트워크 구성도이다.9 is a network configuration to which the smart door lock according to an embodiment of the present invention is applied.

본 발명의 일실시예에 따른 스마트 도어록(910)은 기존의 도어록(911)에 블록체인용 모듈(912)이 추가된 구성을 가진다. 블록체인용 모듈(912)은 랜용 인터페이스 모듈(9121), 인터넷용 인터페이스 모듈(9122), 통상 노드(105A), 및 하나 이상의 가상 노드(105B, ...)를 포함한다.Smart door lock 910 according to an embodiment of the present invention has a block chain module 912 is added to the existing door lock 911. The blockchain module 912 includes a LAN interface module 9121, an internet interface module 9922, a normal node 105A, and one or more virtual nodes 105B,...

기존의 도어록(911)은 터치에 의해 비밀번호를 입력하면 해정되는 방식의 도어록을 의미한다. 랜용 인터페이스 모듈(9121)은 블루투스, 지그비, 알에프아이디 등의 무선 통신용 모듈로, 게이트웨이를 거치지 않고 사용자 통신기기(210)와 직접 통신할 수 있다. 즉, 사용자 통신기기(210)가 스마트 도어록(910) 근처의 소정 거리 내에 진입하면, 무선 통신 방식에 의해 스마트 도어록(910)은 사용자 통신기기(210)를 인식하고, 잠금 장치를 해정할 수 있다. 인터넷용 인터페이스 모듈(9122)은 유무선의 와이파이 모듈로, 외부에 배치된 게이트웨이(920)와 접속될 수 있다. 댁내에 배치된 게이트웨이(920)에는 댁내에 배치된 텔레비젼(930), 냉장고(940), CCTV(950) 등이 각각 사물인터넷의 하나로 접속될 수 있다. 여기서, 댁내에 배치된 게이트웨이(920), 텔레비젼(930), 냉장고(940), CCTV(950) 등은 각각 통상의 블록체인 망 내에서 통상 노드로 기능할 수 있다.The existing door lock 911 means a door lock of a method that is unlocked when a password is input by a touch. The LAN interface module 9121 is a wireless communication module such as Bluetooth, Zigbee, or RF ID, and may directly communicate with the user communication device 210 without passing through a gateway. That is, when the user communication device 210 enters a predetermined distance near the smart door lock 910, the smart door lock 910 may recognize the user communication device 210 and release the locking device by a wireless communication method. . The interface module 9922 for the Internet is a wired / wireless Wi-Fi module and may be connected to the gateway 920 disposed outside. The television 930, the refrigerator 940, the CCTV 950, and the like, which are arranged in the home, may be connected to one of the IoT, respectively. Here, the gateway 920, the television 930, the refrigerator 940, the CCTV 950, etc., which are arranged in the home, may each function as a normal node in a normal blockchain network.

도 10은 본 발명의 다른 실시예에 따른 스마트 도어록이 적용된 네트워크 구성도이다.10 is a diagram illustrating a network to which a smart door lock is applied according to another embodiment of the present invention.

본 발명의 일실시예에 따른 스마트 도어록(1010)은 기존의 도어록(1011)에 블록체인용 모듈(1012)이 추가된 구성을 가진다. 블록체인용 모듈(1012)은 랜용 인터페이스 모듈(10121), 인터넷용 인터페이스 모듈(10122), 게이트웨이(10123), 통상 노드(105A), 하나 이상의 가상 노드(105B, ...)를 포함한다.The smart door lock 1010 according to an embodiment of the present invention has a configuration in which a block chain module 1012 is added to an existing door lock 1011. The blockchain module 1012 includes a LAN interface module 10121, an internet interface module 10122, a gateway 10123, a normal node 105A, and one or more virtual nodes 105B, ....

기존의 도어록(1011)은 터치에 의해 비밀번호를 입력하면 해정되는 방식의 도어록을 의미한다. 랜용 인터페이스 모듈(10121)은 블루투스, 지그비, 알에프아이디 등의 무선 통신용 모듈로, 사용자 통신기기(210)와 직접 통신할 수 있다. 즉, 사용자 통신기기(210)가 스마트 도어록(1010) 근처의 소정 거리 내에 진입하면, 무선 통신 방식에 의해 랜용 인터페이스 모듈(10121)은 사용자 통신기기(210)를 인식하고, 랜용 인터페이스 모듈(10121)이 검출신호를 스마트 도어록(1010) 내 프로세서(520)에 전송하면, 프로세서(520)는 도어 개폐부(미도시)에 해정제어신호를 출력한다. 게이트웨이(10123)는 인터넷용 인터페이스 모듈(10122)의 와이파이 모듈을 이용하여 댁내의 텔레비젼(1030), 냉장고(1040), CCTV(1050) 등과 각각 사물인터넷의 하나로 접속될 수 있다. 여기서, 게이트웨이(1020), 텔레비젼(1030), 냉장고(1040), CCTV(1050) 등은 각각 통상의 블록체인 망 내에서 통상 노드로 기능할 수 있다.The existing door lock 1011 means a door lock of a method that is unlocked when a password is input by a touch. The LAN interface module 10121 is a wireless communication module such as Bluetooth, Zigbee, or RF ID, and may directly communicate with the user communication device 210. That is, when the user communication device 210 enters a predetermined distance near the smart door lock 1010, the LAN interface module 10121 recognizes the user communication device 210 by a wireless communication method, and the LAN interface module 10121 is used. When the detection signal is transmitted to the processor 520 in the smart door lock 1010, the processor 520 outputs a release control signal to the door opening / closing unit (not shown). The gateway 10123 may be connected to one of the Internet of things (1030), the refrigerator 1040, the CCTV 1050, and the like using the Wi-Fi module of the Internet interface module 10122. Here, the gateway 1020, the television 1030, the refrigerator 1040, the CCTV 1050, etc. may each function as a normal node in a normal blockchain network.

본 명세서에서 설명되는 실시 예와 첨부된 도면은 본 발명에 포함되는 기술적 사상의 일부를 예시적으로 설명하는 것에 불과하다. 따라서, 본 명세서에 개시된 실시 예는 본 발명의 기술적 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이므로, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아님은 자명하다. 본 발명의 명세서 및 도면에 포함된 기술적 사상의 범위 내에서 당업자가 용이하게 유추할 수 있는 변형 예와 구체적인 실시 예는 모두 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The embodiments and the accompanying drawings described herein are merely illustrative of some of the technical ideas included in the present invention. Therefore, since the embodiments disclosed herein are not intended to limit the technical spirit of the present invention, but to explain, it is obvious that the scope of the technical spirit of the present invention is not limited by these embodiments. Modifications and specific embodiments that can be easily inferred by those skilled in the art within the scope of the technical idea included in the specification and drawings of the present invention should be construed as being included in the scope of the present invention.

101: 통상의 블록체인
301: 가상 블록체인
103, 303: 블록체인 망
105, 106, 107: 스마트 도어록
105A, 106A, 107A: 통상 노드
105B, ..., 106B, ..., 107B, ...: 가상 노드
210: 유효한 사용자 통신기기
220: 유효하지 않은 사용자 통신기기
510, 610: 접속 제어기
511, 611: 쿼리 제어기
512, 612: 토큰 밸리데이터
513, 613: 합의 모듈
514, 614: 토큰 제너레이터
515: 가상 노드 제너레이터
520: 프로세서
530, 630: 메모리
101: normal blockchain
301: virtual blockchain
103, 303: Blockchain Network
105, 106, 107: Smart Door Lock
105A, 106A, 107A: Normal Node
105B, ..., 106B, ..., 107B, ...: virtual nodes
210: User communication device available
220: invalid user communication device
510, 610: connection controller
511, 611: query controller
512, 612: Token Validation
513, 613: consensus module
514, 614: Token Generator
515: virtual node generator
520: processor
530, 630: memory

Claims (2)

쿼리 제어기가 블록체인 망에서 트랜잭션을 위한 요청과 통신기기 토큰을 수신하는 단계;
토큰 밸리데이터가 통상의 블록체인 또는 가상 블록체인에서 이용가능한 정보에 기반하여 상기 통신기기 토큰을 유효화하는 단계;
상기 통신기기 토큰이 성공적으로 유효화되는지를 판단하는 단계;
상기 통신기기 토큰이 성공적으로 유효화되면, 프로세서는 디지털 전자기기의 동작을 제어하기 위한 동작제어신호를 출력하는 단계;
상기 통신기기 토큰의 성공적인 유효화에 기반하여 트랜잭션을 허용하는 단계;
토큰 제너레이터가 갱신된 통신기기 토큰을 생성하는 단계; 및
상기 통신기기 토큰의 유효화가 실패하면, 가상 노드 제너레이터가 상기 프로세서의 복제 명령에 따라 상기 디지털 전자기기 내 리던던시 영역에 가상 노드를 복제하여 추가하는 단계
를 포함하는 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법.
The query controller receiving a request for a transaction and a communication device token in the blockchain network;
Validating the communication device token based on information in which token validity data is available in a conventional blockchain or virtual blockchain;
Determining whether the communication device token is successfully validated;
If the communication device token is successfully validated, the processor outputting an operation control signal for controlling the operation of the digital electronic device;
Allowing a transaction based on successful validation of the communication device token;
Generating a updated communication device token by the token generator; And
If the validation of the communication device token fails, the virtual node generator duplicating and adding the virtual node to the redundancy area of the digital electronic device according to a copy instruction of the processor.
Dual blockchain-based digital electronic device operation method having a virtual blockchain comprising a.
쿼리 제어기가 블록체인 망에서 트랜잭션을 위한 요청과 통신기기 토큰을 수신하는 단계;
토큰 밸리데이터가 통상의 블록체인 또는 가상 블록체인에서 이용가능한 정보에 기반하여 상기 통신기기 토큰을 유효화하는 단계;
상기 통신기기 토큰이 성공적으로 유효화되는지를 판단하는 단계;
상기 통신기기 토큰이 성공적으로 유효화되면, 프로세서는 디지털 전자기기의 동작을 제어하기 위한 동작제어신호를 출력하는 단계;
상기 통신기기 토큰의 성공적인 유효화에 기반하여 트랜잭션을 허용하는 단계;
토큰 제너레이터가 갱신된 통신기기 토큰을 생성하는 단계; 및
상기 통신기기 토큰의 유효화가 실패하면, 가상 노드 제너레이터가 상기 프로세서의 활성화 명령에 따라 상기 디지털 전자기기 내 리던던시 영역에 비활성화되어 있던 가상 노드를 활성화하는 단계
를 포함하는 가상 블록체인을 갖는 듀얼 블록체인 기반의 디지털 전자기기 운용 방법.
The query controller receiving a request for a transaction and a communication device token in the blockchain network;
Validating the communication device token based on information in which token validity data is available in a conventional blockchain or virtual blockchain;
Determining whether the communication device token is successfully validated;
If the communication device token is successfully validated, the processor outputting an operation control signal for controlling the operation of the digital electronic device;
Allowing a transaction based on successful validation of the communication device token;
Generating a updated communication device token by the token generator; And
If the validation of the communication device token fails, the virtual node generator activating a virtual node which has been deactivated in the redundancy area of the digital electronic device according to an activation command of the processor.
Dual blockchain-based digital electronic device operation method having a virtual blockchain comprising a.
KR1020190034985A 2019-03-27 2019-03-27 Digital electronic device operation method based on dual block chain comprising virtual blockchain KR102037848B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190034985A KR102037848B1 (en) 2019-03-27 2019-03-27 Digital electronic device operation method based on dual block chain comprising virtual blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190034985A KR102037848B1 (en) 2019-03-27 2019-03-27 Digital electronic device operation method based on dual block chain comprising virtual blockchain

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190011744A Division KR101997673B1 (en) 2018-12-06 2019-01-30 Digital electronic device based on dual block chain comprising virtual blockchain

Publications (1)

Publication Number Publication Date
KR102037848B1 true KR102037848B1 (en) 2019-10-29

Family

ID=68423781

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190034985A KR102037848B1 (en) 2019-03-27 2019-03-27 Digital electronic device operation method based on dual block chain comprising virtual blockchain

Country Status (1)

Country Link
KR (1) KR102037848B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935324A (en) * 2020-10-14 2020-11-13 深圳华工能源技术有限公司 Block chain technology application method and system suitable for energy-saving field of power distribution and utilization system
GB2598945A (en) * 2020-09-21 2022-03-23 Nchain Holdings Ltd Commensal token system
WO2023140595A1 (en) * 2022-01-21 2023-07-27 주식회사 푸시풀 Security construction system and method for gateway for iot device using identity-based security technique based on virtual block chain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101138924B1 (en) 2009-08-06 2012-05-14 주식회사 케이티 method and system for controlling of door lock
KR101242122B1 (en) 2012-02-07 2013-03-11 한국기술교육대학교 산학협력단 Method for remotely controlling doorlock apparatus using smart phone and the doorlock appratus
KR101470747B1 (en) 2013-07-23 2014-12-08 주식회사 에스원 Method and apparatus for implementing doorlock system using mobile terminal
KR101634734B1 (en) 2015-07-21 2016-07-08 이디스 주식회사 Smart door lock system
KR101829721B1 (en) * 2016-11-03 2018-03-29 주식회사 코인플러그 Method for certifying a user by using mobile id through blockchain, and terminal and server using the same
KR101875725B1 (en) * 2017-04-12 2018-07-06 서강대학교산학협력단 Smart door lock system, smart door lock and terminal for controlling the smart door lock
JP2018525952A (en) * 2015-11-30 2018-09-06 サム グ チョン IoT-based thing management system and method using blockchain authentication
CN108616596A (en) * 2018-05-09 2018-10-02 南京邮电大学 It is adaptively known together method based on the block chain that dynamic authorization and network environment perceive
KR101908712B1 (en) * 2016-10-05 2018-10-16 한전케이디엔주식회사 Security method for smart grid system using block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101138924B1 (en) 2009-08-06 2012-05-14 주식회사 케이티 method and system for controlling of door lock
KR101242122B1 (en) 2012-02-07 2013-03-11 한국기술교육대학교 산학협력단 Method for remotely controlling doorlock apparatus using smart phone and the doorlock appratus
KR101470747B1 (en) 2013-07-23 2014-12-08 주식회사 에스원 Method and apparatus for implementing doorlock system using mobile terminal
KR101634734B1 (en) 2015-07-21 2016-07-08 이디스 주식회사 Smart door lock system
JP2018525952A (en) * 2015-11-30 2018-09-06 サム グ チョン IoT-based thing management system and method using blockchain authentication
KR101908712B1 (en) * 2016-10-05 2018-10-16 한전케이디엔주식회사 Security method for smart grid system using block chain
KR101829721B1 (en) * 2016-11-03 2018-03-29 주식회사 코인플러그 Method for certifying a user by using mobile id through blockchain, and terminal and server using the same
KR101875725B1 (en) * 2017-04-12 2018-07-06 서강대학교산학협력단 Smart door lock system, smart door lock and terminal for controlling the smart door lock
CN108616596A (en) * 2018-05-09 2018-10-02 南京邮电大学 It is adaptively known together method based on the block chain that dynamic authorization and network environment perceive

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2598945A (en) * 2020-09-21 2022-03-23 Nchain Holdings Ltd Commensal token system
CN111935324A (en) * 2020-10-14 2020-11-13 深圳华工能源技术有限公司 Block chain technology application method and system suitable for energy-saving field of power distribution and utilization system
WO2023140595A1 (en) * 2022-01-21 2023-07-27 주식회사 푸시풀 Security construction system and method for gateway for iot device using identity-based security technique based on virtual block chain

Similar Documents

Publication Publication Date Title
US10636240B2 (en) Architecture for access management
JP7202692B2 (en) Dual blockchain-based digital electronic device with virtual blockchain and its operation method
US10021100B2 (en) Systems and methods for device authentication
US9659160B2 (en) System and methods for authentication using multiple devices
US9380058B1 (en) Systems and methods for anonymous authentication using multiple devices
US9830447B2 (en) Method and system for verifying an access request
US20190096210A1 (en) Methods and Apparatus for Management of Intrusion Detection Systems using Verified Identity
KR20200113103A (en) Digital electronic device operation based on dual block chain comprising virtual blockchain and its operation method
KR102037848B1 (en) Digital electronic device operation method based on dual block chain comprising virtual blockchain
CN114982196A (en) Communication protocol utilizing blockchain transactions
KR102012400B1 (en) IoT CERTIFICATION SYSTEM BASED ON BLOCK CHAIN
EP4032070A1 (en) Method, locking system for controlling access to a resource and a locking device
KR20200115724A (en) Method for user authentication having enhanced reliability and security
Singh et al. Blockchain applications, opportunities, challenges and risks: a survey
KR20120084631A (en) Authentication system and method based by unique identifier
KR20200063034A (en) IoT CERTIFICATION SYSTEM BASED ON BLOCK CHAIN
Chakola et al. A Decentralized Mechanism to Decouple Vendor-Specific Access Management from IoT Devices Using Blockchain Technology, Smart Contract, and Wallets
Wang et al. BTIA-IME: A blockchain-based trusted interactive architecture for intelligent manufacturing equipment
Felicetti et al. Security of IoT devices with PUF-based ID tags: preventing hardware substitution by combining SRAM cells pattern signature and ML techniques
Le Secure and Private Access Control for Systems of Smart Devices

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant