KR20200112769A - Method for oauth service through blockchain, and terminal and server using the same - Google Patents
Method for oauth service through blockchain, and terminal and server using the same Download PDFInfo
- Publication number
- KR20200112769A KR20200112769A KR1020200120108A KR20200120108A KR20200112769A KR 20200112769 A KR20200112769 A KR 20200112769A KR 1020200120108 A KR1020200120108 A KR 1020200120108A KR 20200120108 A KR20200120108 A KR 20200120108A KR 20200112769 A KR20200112769 A KR 20200112769A
- Authority
- KR
- South Korea
- Prior art keywords
- access token
- authentication
- blockchain
- hash value
- value
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/321—Cryptographic 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 involving a third party or a trusted authority
- H04L9/3213—Cryptographic 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 involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key 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/083—Key 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) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]
- H04L9/0833—Key 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) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key
- H04L9/0836—Key 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) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] involving conference or group key using tree structure or hierarchical structure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3247—Cryptographic 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 involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
-
- H04L2209/38—
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
본 발명은 블록체인 기반의 권한 인증 방법, 단말 및 이를 이용한 서버에 관한 것으로, 보다 상세하게는, 사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보를 획득하고, 전자 서명값을 검증하여 유효한 것으로 확인되면 액세스 토큰을 생성하여 사용자 단말로 전송되도록 함으로써 인증 제휴사 앱으로 하여금 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하고, 액세스 토큰을 제1 블록체인에 등록한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 지원하며, 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 인증 제휴사 서버로부터 획득되면, 액세스 토큰을 검증하여 유효한 것일 경우 액세스 토큰 검증 결과 정보를 인증 제휴사 서버로 전송함으로써 상기 인증 제휴사 서버로 하여금 액세스 토큰을 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 하고, 액세스 토큰 검증 결과에 대응하여 사용자 단말의 인증 제휴사 앱을 통한 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 블록체인 기반의 권한 인증 방법, 단말 및 이를 이용한 서버에 관한 것이다.The present invention relates to a block chain-based authorization authentication method, a terminal, and a server using the same, and more particularly, electronically from an authenticator app corresponding to authentication request information including a verification confirmation value from an authentication affiliate app of a user terminal. Obtains the electronic signature value verification request information for the signature value, and if the digital signature value is verified to be valid, an access token is generated and sent to the user terminal, allowing the authentication partner app to log in to the authentication partner server using an access token. Request, and after registering the access token in the first blockchain, when the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a specific hash value generated by applying a hash function to the access token Supports registration of a representative hash value obtained by calculating at least one neighboring hash value matching the hash value or a value processed by the representative hash value in the second blockchain, and the access token verification request information including the access token is authenticated by the affiliate server If it is obtained from, the access token is verified, and if it is valid, the access token verification result information is transmitted to the authentication affiliate server so that the authentication affiliate server stores the access token in a storage device linked to the authentication affiliate server, and the access token verification result In response to, the present invention relates to a blockchain-based authorization authentication method, a terminal, and a server using the same, which supports logging in to an authentication affiliate server through an authentication affiliate app of a user terminal.
OAuth는 하나의 OpenID에 기초하여, 복수의 웹 사이트 또는 응용 프로그램(application)에 인증을 수행할 수 있도록 개발된 표준 인증 방식이며, OAuth 프로토콜은 별도의 인증 절차 없이 응용 프로그램끼리 인증을 공유할 수 있다. 즉, OAuth 프로토콜은 클라이언트의 식별자나 증명서를 공개하지 않고 웹 사이트나 응용 프로그램에서 자원에 대한 액세스 권한을 부여 받기 위한 프로토콜이다.OAuth is a standard authentication method developed to perform authentication on multiple websites or applications based on one OpenID, and the OAuth protocol allows applications to share authentication without a separate authentication procedure. . In other words, the OAuth protocol is a protocol for obtaining access to resources from a web site or application program without revealing the client's identifier or certificate.
그리고, OAuth는 2007년 12월 OAuth core 1.0에서부터 최근 OAuth 2.0까지 클라이언트별로 접근 권한을 설정하고, 클라이언트의 정보를 서드 파티에 노출하지 않을 수 있는 방법 등을 개정해왔으며, OAuth 프로토콜은 인증 서버로부터 발급된 토큰을 이용하여 자원 서버에 있는 자원에 대한 접근 권한을 획득할 수 있다.In addition, OAuth has been revised to set access rights for each client from OAuth core 1.0 in December 2007 to OAuth 2.0 and not to expose client information to third parties, and the OAuth protocol is issued from the authentication server. You can obtain access rights to resources in the resource server by using the generated token.
그러나, 현재 제정된 OAuth 프로토콜 표준에서는 클라이언트가 사용할 수 있는 토큰의 횟수에 대한 제한이 명확하지 않다.However, in the currently established OAuth protocol standard, the limit on the number of tokens that a client can use is not clear.
그러므로, OAuth 프로토콜에서는 정상적으로 토큰을 획득한 악의적인 클라이언트가 자원 서버에 여러 번 접근하여 악의적인 행동을 시도할 수 있다.Therefore, in the OAuth protocol, a malicious client who normally obtained a token may access the resource server several times and attempt malicious actions.
특히, 종래 OAuth에서는 사용자의 인증 정보가 공격자에 의하여 탈취되는 경우 OpenID와 관련한 모든 제휴 서비스에 공격자가 접근할 수 있도록 한다는 문제점이 있다.In particular, in the conventional OAuth, there is a problem in that when the user's authentication information is stolen by an attacker, the attacker can access all affiliated services related to OpenID.
따라서, OAuth와 같이 별도의 인증 절차 없이 응용 프로그램끼리 인증을 공유할 수 있도록 하면서도 개인정보와 같은 사용자 인증 정보를 외부 공격으로부터 효과적으로 보호할 수 있는 새로운 보안 알고리즘(algorithm)의 필요성이 대두되고 있다.Accordingly, there is a need for a new security algorithm that can effectively protect user authentication information such as personal information from external attacks while allowing application programs to share authentication without a separate authentication procedure such as OAuth.
본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다. An object of the present invention is to solve all the above-described problems.
또한, 본 발명은 가상 화폐의 블록체인 기술을 이용하여 사용자의 인증 정보를 외부 공격으로부터 효과적으로 보호할 수 있도록 하는 권한 인증을 제공하는 것을 다른 목적으로 한다.In addition, another object of the present invention is to provide authorization authentication that enables effective protection of user authentication information from external attacks by using a virtual currency blockchain technology.
또한, 본 발명은 액세스 토큰을 해쉬함수와 암호화 기술을 이용하여 블록체인에 등록하여 보안이 보장되고 위/변조가 불가능한 권한 인증을 제공하는 것을 또 다른 목적으로 한다.In addition, another object of the present invention is to register an access token in a blockchain using a hash function and encryption technology to ensure security and to provide authorization authentication that cannot be forged or altered.
또한, 본 발명은 위/변조가 불가능한 블록체인을 통해 권한 인증을 위한 액세스 토큰을 검증하므로 사용자 정보 도용에 따른 문제점을 미연에 방지할 수 있도록 하는 권한 인증을 제공하는 것을 또 다른 목적으로 한다.In addition, the present invention verifies an access token for authorization authentication through a block chain that cannot be forged or altered, so it is another object of the present invention to provide authorization authentication that prevents problems caused by theft of user information.
상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.A typical configuration of the present invention for achieving the above object is as follows.
본 발명의 일 실시예에 따르면, 블록체인 기반의 권한 인증 방법에 있어서, (a) 사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 가 획득되면, 인증 지원 서버가, (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 인증 지원 서버로 전송하도록 하며, 상기 액세스 토큰을 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하는 단계; 및 (b) 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 인증 지원 서버가, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조로 하여, 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조로 하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to an embodiment of the present invention, in the block chain-based authorization authentication method, (a) from an authenticator app of the user terminal corresponding to authentication request information including a verification confirmation value from an authentication affiliate app of the user terminal. Electronic signature value verification request information for an electronic signature value-The electronic signature value verification request information includes at least the verification verification value and the digital signature value in which the verification verification value is digitally signed using a private key of the authenticator app When-is obtained, the authentication support server (i) verifies the electronic signature value or supports other devices interlocked with the authentication support server to verify the electronic signature value, and if the electronic signature value is confirmed to be valid By generating an access token and transmitting it to the user terminal or sending it to the user terminal through another device linked to the authentication support server, the user terminal receives the access token through the authenticator app, and the authentication affiliate app The access token to the first blockchain through another device that supports logging in to the authentication affiliate server using the access token through, and registers the access token in the first blockchain or through another device interlocked with the authentication support server. After supporting to register, if the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a specific hash value generated by applying a hash function to the access token and at least one hash value matching the specific hash value Support to register a representative hash value calculated from a neighboring hash value or a value processed by the representative hash value in the second blockchain, or (ii) request verification of the electronic signature value through the first blockchain, or By making a request for verification of the electronic signature value to the first blockchain through another device linked to an authentication support server, the first blockchain generates an access token when it is confirmed that the electronic signature value is valid, and the authentication Send it to the support server, and register the access token in the first blockchain Then, if the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a specific hash value generated by applying a hash function to the access token and at least one neighboring hash matching the specific hash value The representative hash value calculated by the value or the value processed by the representative hash value is registered in the second blockchain, and when the access token is obtained from the first blockchain, the access token is transmitted to the user terminal or the authentication By allowing the user terminal to receive the access token through the authenticator app by sending it to the user terminal through another device linked to the support server, log in to the authentication partner server using the access token through the authentication partner app Supporting to request a request; And (b) when the access token verification request information including at least the access token is obtained from the authentication affiliate server or the access token verification request information from the authentication affiliate server is obtained through the authentication company server, the authentication support server , (i) verifying the access token by referring to information registered in the first blockchain and the second blockchain, or verifying the access token through another device linked to the authentication support server, or ( ii) By requesting verification of the access token through the first blockchain or requesting verification of the access token through the first blockchain through another device linked to the authentication support server, It supports to verify the access token by referring to the information registered in the second blockchain, and if the access token is verified to be valid, the access token verification result information is transmitted to the authentication partner server or to the authentication support server. The authentication affiliate server allows the authentication affiliate server to store the access token in a storage device linked to the authentication affiliate server by sending the access token verification result information to the authentication affiliate server through another device to be linked or the authenticator server, Supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result; A method comprising a is provided.
또한, 본 발명의 일 실시예에 따르면, 블록체인 기반의 권한 인증 방법에 있어서, (a) 사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보가 획득되면 상기 전자 서명값을 검증하거나 제1 블록체인으로 하여금 상기 전자 서명값을 검증하도록 하며, 상기 전자 서명값의 유효한 결과에 대응되어 액세스 토큰이 생성되면 상기 액세스 토큰을 상기 제1 블록체인에 등록되도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 하며, 상기 액세스 토큰을 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 상기 액세스 토큰의 등록을 요청하도록 지원하고, 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 제1 블록체인 및 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 한 상태에서, 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 로그인 요청에 대응하여 확인된 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 인증 지원 서버가, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하는 단계; 및 (b) 상기 액세스 토큰이 유효한 것으로 확인되면, 상기 인증 지원 서버가, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계; 를 포함하는 방법이 제공된다.In addition, according to an embodiment of the present invention, in the block chain-based authorization authentication method, (a) the authenticator of the user terminal corresponding to authentication request information including a verification confirmation value from an authentication affiliate app of the user terminal When the electronic signature value verification request information for the electronic signature value is obtained from the app, the electronic signature value is verified or the first blockchain verifies the electronic signature value, and the access token corresponds to the valid result of the electronic signature value. When is generated, a specific hash generated by applying a hash function to the access token when the triggering condition for registering a predetermined hash value in the second blockchain is satisfied after supporting the registration of the access token in the first blockchain. A representative hash value obtained by calculating a value and at least one neighboring hash value matching the specific hash value or the processed value of the representative hash value is registered in the second blockchain, and the access token is transmitted to the user terminal By allowing the user terminal to receive the access token through the authenticator app, and support the registration of the access token to the authentication affiliate server by using the access token through the authentication affiliate app, at least the access token When the access token verification request information including a is obtained from the authentication affiliate server or the access token verification request information from the authentication affiliate server is obtained through the authentication company server, registered in the first blockchain and the second blockchain Verify the access token with reference to information, or support the first blockchain to verify the access token by referring to information registered in the second blockchain, and if the access token is verified to be valid, verify the access token By transmitting the result information to the authentication partner server or allowing the access token verification result information to be transmitted to the authentication partner server through another device linked to the authentication support server or the authentication company server, the authentication partner server causes the access token Remind certified affiliates In a state in which it is stored in a storage device linked to the server, access token verification request information including the access token confirmed in response to a login request through the authentication affiliate app of the user terminal is obtained from the authentication affiliate server or the When the access token verification request information from the authentication affiliate server is obtained through the authentication company server, the authentication support server includes: (i) the access token by referring to information registered in the first blockchain and the second blockchain. Or verify the access token through another device interlocked with the authentication support server, or (ii) request verification of the access token through the first blockchain or another device interlocked with the authentication support server Supporting the first blockchain to verify the access token by referring to information registered in the second blockchain by causing the first blockchain to request verification of the access token through the first blockchain; And (b) if the access token is confirmed to be valid, the authentication support server transmits the access token verification result information to the authentication affiliate server, or the access through another device or the authentication company server interlocked with the authentication support server. Supporting the authentication affiliate server to allow login to the authentication affiliate server through the authentication affiliate app of the user terminal in response to the access token verification result by allowing the token verification result information to be transmitted to the authentication affiliate server. ; A method comprising a is provided.
또한, 본 발명의 일 실시예에 따르면, 블록체인 기반의 권한 인증 방법에 있어서, (a) 사용자 단말이, 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응하여 인증사 앱을 통해 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 를 인증 지원 서버로 전송하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 전자 서명값 요청 정보를 인증 지원 서버로 전송하도록 함으로써 상기 인증 지원 서버로 하여금 (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 지원하고, 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰이 상기 사용자 단말로 전송되도록 지원하게 하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 하고, 상기 제1 블록체인을 통해 상기 전자 서명값이 유효한 것으로 확인되면 상기 액세스 토큰을 생성하여 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하고, 상기 액세스 토큰을 상기 인증 지원 서버로 전송하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 지원하게 하는 단계; 및 (b) 상기 인증사 앱을 통해 상기 액세스 토큰이 획득되면, 상기 사용자 단말이, 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 인증 제휴사 서버로 로그인을 요청하도록 함으로써 상기 인증 제휴사 서버로 하여금, (i) 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보를 상기 인증 지원 서버로 전송하도록 지원하거나 인증사 서버를 통해 상기 액세스 토큰 검증 요청 정보가 상기 인증 지원 서버로 전송되도록 지원하여 상기 인증 지원 서버를 통해 (i-1) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (i-2) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 지원하며, (ii) 상기 액세스 토큰이 유효한 것으로 확인되어 액세스 토큰 검증 결과 정보가 상기 인증 지원 서버 또는 상기 인증사 서버를 통해 획득되면 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 지원하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계; 를 포함하는 방법이 제공된다.In addition, according to an embodiment of the present invention, in the block chain-based authorization authentication method, (a) the user terminal responds to authentication request information including a verification confirmation value from an authentication affiliate app, through an authenticator app. Electronic signature value verification request information for an electronic signature value-The electronic signature value verification request information includes at least the verification verification value and the digital signature value in which the verification verification value is digitally signed using a private key of the authenticator app -The authentication support server (i) verifies the electronic signature value or authenticates the electronic signature value request information by sending it to an authentication support server or transmitting the electronic signature value request information to an authentication support server through another device linked to the user terminal. Supports other devices linked to the support server to verify the electronic signature value, and when the electronic signature value is verified to be valid, an access token is generated, and the access token is registered in the first blockchain or in the authentication support server. After supporting the registration of the access token in the first blockchain through another interlocked device, when a triggering condition for registering a predetermined hash value in the second blockchain is satisfied, the access token is generated by applying a hash function Support to register a specific hash value and a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value or a value processed by the representative hash value in the second blockchain, and the access token to the user Send to the terminal or support the transmission of the access token to the user terminal through another device linked to the authentication support server, or (ii) request verification of the digital signature value through the first blockchain, or the authentication Request verification of the electronic signature value through the first blockchain through another device linked to the support server, and if the electronic signature value is verified as valid through the first blockchain, the access token is generated and the After registering in the first blockchain, a tree for registering a predetermined hash value in the second blockchain When the Gurring condition is satisfied, a specific hash value generated by applying a hash function to the access token and a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value or a value obtained by processing the representative hash value are determined. 2 Register in the blockchain and transmit the access token to the authentication support server, and when the access token is obtained from the first blockchain, the access token is transmitted to the user terminal or interlocked with the authentication support server. Supporting transmission to the user terminal through another device; And (b) when the access token is obtained through the authenticator app, the user terminal requests a login to the authentication affiliate server using the access token through the authentication affiliate app or another device linked to the user terminal. By allowing the authentication partner server to request a login through the authentication partner server, (i) support to transmit the access token verification request information including at least the access token to the authentication support server, or the authentication company server Supports transmission of access token verification request information to the authentication support server, and verifies the access token by referring to information registered in (i-1) the first blockchain and the second blockchain through the authentication support server, or Verify the access token through another device linked to the authentication support server, (i-2) request verification of the access token through the first blockchain, or through another device linked to the authentication support server The first blockchain supports verification of the access token, and (ii) the access token is verified as valid and the access token verification result information is obtained through the authentication support server or the authenticator server, and the access Supporting storing a token in a storage device linked to the authentication affiliate server, and allowing the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result; A method comprising a is provided.
또한, 본 발명의 일 실시예에 따르면, 상기의 방법을 수행하기 위한 사용자 단말 및 인증 지원 서버가 제공된다.In addition, according to an embodiment of the present invention, a user terminal and an authentication support server for performing the above method are provided.
이 외에도, 본 발명의 방법을 실행하기 위한 컴퓨터 프로그램을 기록하기 위한 컴퓨터 판독 가능한 기록 매체가 더 제공된다.In addition to this, a computer-readable recording medium for recording a computer program for executing the method of the present invention is further provided.
본 발명에 의하면, 다음과 같은 효과가 있다.According to the present invention, the following effects are obtained.
본 발명은 가상 화폐의 블록체인 기술을 이용하여 권한 인증을 구현함으로써 사용자의 인증 정보를 외부 공격으로부터 효과적으로 보호할 수 있게 된다.The present invention can effectively protect the user's authentication information from external attacks by implementing authorization authentication using the blockchain technology of virtual currency.
또한, 본 발명은 액세스 토큰을 해쉬함수와 암호화 기술을 이용하여 보호함으로써 보안이 보장되고 위/변조가 불가능한 권한 인증을 제공할 수 있게 된다.In addition, according to the present invention, by protecting an access token using a hash function and encryption technology, it is possible to provide authorization authentication that ensures security and cannot be forged or altered.
또한, 본 발명은 위/변조가 불가능한 블록체인을 통해 권한 인증을 위한 액세스 토큰을 검증하므로 사용자 정보 도용에 따른 문제점을 미연에 방지할 수 있도록 하는 권한 인증을 제공할 수 있게 된다.In addition, since the present invention verifies the access token for authorization authentication through a block chain that cannot be forged/modified, it is possible to provide authorization authentication that prevents problems caused by theft of user information.
도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증 시스템을 개략적으로 도시한 것이고,
도 2는 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증을 수행하는 방법을 개략적으로 도시한 것이고,
도 3과 도 4는 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증 방법에서 권한 인증과 관련한 트랜잭션을 블록체인에 등록하는 다른 실시예를 개략적으로 도시한 것이고,
도 5는 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증을 수행하는 또 다른 방법을 개략적으로 도시한 것이다.1 schematically shows a blockchain-based authorization authentication system according to an embodiment of the present invention,
2 is a schematic diagram illustrating a method of performing authorization authentication based on a block chain according to an embodiment of the present invention,
3 and 4 schematically illustrate another embodiment of registering a transaction related to authorization authentication in a blockchain in a blockchain-based authorization authentication method according to an embodiment of the present invention,
5 schematically illustrates another method of performing authorization authentication based on a block chain according to an embodiment of the present invention.
후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.DETAILED DESCRIPTION OF THE INVENTION The detailed description of the present invention to be described later refers to the accompanying drawings, which illustrate specific embodiments in which the present invention may be practiced. These embodiments are described in detail sufficient to enable a person skilled in the art to practice the present invention. It is to be understood that the various embodiments of the present invention are different from each other, but need not be mutually exclusive. For example, specific shapes, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the present invention in relation to one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the present invention. Accordingly, the detailed description to be described below is not intended to be taken in a limiting sense, and the scope of the present invention, if properly described, is limited only by the appended claims, along with all scopes equivalent to those claimed by the claims. Like reference numerals in the drawings refer to the same or similar functions over several aspects.
이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings in order to enable those of ordinary skill in the art to easily implement the present invention.
도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증을 수행하는 시스템을 개략적으로 도시한 것으로, 시스템은 사용자 단말(100), 인증 지원 서버(200), 블록체인(300), 인증사 서버(400), 및 인증 제휴사 서버(500)를 포함할 수 있다.1 schematically shows a system for performing authorization authentication based on a block chain according to an embodiment of the present invention. The system includes a
먼저, 사용자 단말(100)은 인증사 앱(120) 및 인증 제휴사 앱(110)들에 의해 사용자에게 서비스되는 정보를 표시하여 주며 권한 인증을 수행하는 디바이스로, PC, 모바일 컴퓨터, PDA/EDA, 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있다. 그리고, 사용자 단말(100)은 이에 한정되지 않으며, 유무선 통신 기능을 가진 휴대용 게임기, 디지털 카메라 개인 내비게이션 등의 모든 통신 디바이스를 포함할 수 있다. 또한, 사용자 단말(100)은 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다.First, the
다음으로, 인증 지원 서버(200)는 블록체인 기반의 권한 인증을 수행하는 것으로, 통신부와 프로세서를 포함할 수 있다. 동일한 참조 부호를 이용하여 나타낸 것은 설명의 편의를 위한 것일 뿐, 이들 개별 장치들이 동일하다는 의미로 의도된 것은 아니다. 그리고, 본 발명의 다른 실시예에서의 방법은 서버를 상이하게 구성하여 해당 방법을 수행하거나 동일한 인증 지원 서버(200)를 통해 해당 방법을 수행할 수도 있다. 또한, 인증 지원 서버(200)는 블록체인의 각각의 노드에 대응하는 서버이거나, 블록체인의 노드를 관리하는 서버 또는 트랜잭션 서버일 수 있다.Next, the
구체적으로, 인증 지원 서버(200)는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, the
이와 같은 컴퓨팅 장치의 통신부는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는 바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit of such a computing device is capable of transmitting and receiving requests and responses to and from other computing devices that are interlocked. As an example, such requests and responses may be made by the same TCP session, but are not limited thereto. For example, UDP data It could also be sent and received as grams.
또한, 컴퓨팅 장치의 프로세서는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐쉬 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.In addition, the processor of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, and a data bus. In addition, it may further include an operating system and a software configuration of an application that performs a specific purpose.
다음으로, 블록체인(300)은 데이터들에 대한 블록을 체인으로 연결하여 분산원장에 기록하는 데이터 분산 처리를 수행하는 주체일 수 있다. 이때, 블록체인(300)은 다수의 블록체인으로 구성될 수 있으며, 각각의 블록체인은 프라이빗 블록체인 또는 퍼블릭 블록체인일 수 있다.Next, the
다음으로, 인증사 서버(400)는 사용자 단말의 인증사 앱(120)을 통해 사용자가 사용할 수 있는 다양한 서비스를 제공하여 주며, 타 서버와의 통신을 위한 인터페이스를 제공하는 것으로, 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다.Next, the
다음으로, 인증 제휴사 서버(500)는 사용자 단말의 인증 제휴사 앱(121)을 통해 사용자가 사용할 수 있는 다양한 서비스를 제공하여 주는 것으로, 인증사 서버(400)와의 제휴를 통해 인증사 서버(400)에서의 사용자 식별 정보 등을 이용하여 사용자 단말(100)의 인증 제휴사 앱(120)으로 권한 인증을 제공하여 줄 수 있으며, 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다.Next, the
이와 같이 구성된 시스템을 통해 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증 방법을 설명하면 다음과 같다.A block chain-based authorization authentication method according to an embodiment of the present invention through the system configured as described above will be described as follows.
먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 블록체인 기반의 권한 인증 방법을 설명한다.First, a block chain-based authorization authentication method according to an embodiment of the present invention will be described with reference to FIG. 2.
사용자가 사용자 단말(100)을 통해 인증 제휴사 서버(500)에서 제공되는 서비스를 이용하기 위하여, 사용자 단말(100)의 인증 제휴사 앱(110)을 통해 인증 요청을 생성하도록 한다(S1). 이때, 인증 제휴사 앱(110)은 URL scheme에 의해 인증사 앱(120)을 호출하여 인증사 앱(120)을 통해 검증 확인값을 서명하고 전송하도록 할 수 있으며, 인증 요청 정보는 전자 서명을 위한 검증 확인값을 포함할 수 있으며, 검증 확인값은 논스(nonce), OTP(one time password), 또는 타임스탬프 등을 포함할 수 있다.In order for the user to use the service provided by the
그리고, 사용자 단말(100)의 인증사 앱(120)은 인증 요청 정보에 포함된 검증 확인값을 인증사 앱(120)의 프라이빗키를 이용하여 전자 서명하여 전자 서명값을 생성한다(S2). 이때, 인증사 앱(120)의 프라이빗키는 인증사 앱(120)의 사용자 인증을 위하여 생성된 PKI 인증서에서의 프라이빗키이며, 프라이빗키에 대응되는 퍼블릭키는 블록체인(300)에 등록된 상태일 수 있다. 또한, 인증사 앱(120)의 프라이빗키를 이용한 전자 서명에서 사용자 단말(100)은 사용자에게 비밀번호, PIN 코드, 사용자의 지문 정보, 및 사용자의 생체 정보 중 적어도 하나를 포함할 수 있는 패스 정보의 입력을 요청할 수 있으며, 사용자에 의해 입력되는 패스 정보가 기설정된 패스 정보와 일치할 경우에만 전자 서명이 가능하도록 할 수 있다.Then, the
이후, 사용자 단말(100)의 인증사 앱(120)은 인증 지원 서버(200)로 전자 서명값에 대한 검증을 요청한다(S3). 이때, 전자 서명값에 대한 검증 요청을 위한 전자 서명값 검증 요청 정보에는 인증 요청 정보로부터 획득된 검증 확인값과 전자 서명값을 포함할 수 있다. 또한, 전자 서명값 검증 요청 정보에는 UUID(universally unique identifier) 등의 사용자 단말 식별 정보, 및 전화 번호 등의 사용자 식별 정보 중 적어도 하나 이상을 포함될 수 있다.Thereafter, the
그러면, 인증 지원 서버(200)는 통신부를 통해 획득되는 전자 서명값 검증 요청 정보에 대응하여 전자 서명값을 검증하거나 전자 서명값을 검증하도록 지원할 수 있다.Then, the
일 예로, 인증 지원 서버(200)는 인증 지원 서버(200)에 연동된 타 장치에 저장된 인증사 앱(120)에 대응되는 퍼블릭키, 즉, 사용자 식별 정보 또는 사용자 단말 식별 정보에 대응하여 저장된 퍼블릭키를 획득하거나 블록체인(300)으로부터 인증사 앱(120)에 대응되는 퍼블릭키를 획득하며, 인증사 앱에 대응되는 퍼블릭키를 이용하여 전자 서명값의 서명에 사용된 검증 확인값인 전자 서명 검증 확인값을 확인하고, 확인된 전자 서명 검증 확인값이 전자 서명값 검증 요청 정보에 포함된 검증 확인값과 일치하는지 여부를 확인함으로써 전자 서명값을 검증할 수 있다. 그리고, 전자 서명값이 유효한 것으로 확인되면 인증 지원 서버(200)는 액세스 토큰을 생성하여 사용자 단말(100)로 전송하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 사용자 단말(100)로 전송되도록 한다(S7). 또한, 인증 지원 서버(200)는 생성된 액세스 토큰을 블록체인(300)에 등록하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 블록체인(300)에 액세스 토큰을 등록하도록 지원한다. 이때, 액세스 토큰은 사용자 단말 식별 정보, 사용자 식별 정보, 및 전자 서명값 중 적어도 하나 이상을 포함하거나, 이들의 해쉬값 중 적어도 하나 이상을 포함할 수 있다.For example, the
다른 예로, 인증 지원 서버(200)는 블록체인(300)으로 전자 서명값에 대한 검증을 요청하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 블록체인(300)으로 전자 서명값에 대한 검증을 요청하도록 한다(S4). 그러면, 블록체인(300)은 인증사 앱(120)에 대응되는 퍼블릭키를 이용하여 전자 서명값의 서명에 사용된 전자 서명 검증 확인값을 확인하며, 확인된 전자 서명 검증 확인값이 전자 서명값 검증 요청 정보에 포함된 검증 확인값과 일치하는지 여부를 확인하여 전자 서명값을 검증할 수 있다(S5). 그리고, 전자 서명값이 유효한 것으로 확인되면, 블록체인(300)은 액세스 토큰을 생성하여 블록체인에 등록하고, 생성된 액세스 토큰을 인증 지원 서버(300)로 전송하여 주며(S6), 인증 지원 서버(200)는 블록체인(300)으로부터 획득되는 액세스 토큰을 사용자 단말(100)로 전송하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 사용자 단말(100)로 전송되도록 한다(S7).As another example, the
상기에서는 액세스 토큰을 블록체인(300)에 등록하였으나, 블록체인(300)이 다수로 이루어질 수 있으며, 일 예로, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성될 경우, 인증 지원 서버(200)가 액세스 토큰을 제1 블록체인과 제2 블록체인에 등록하는 과정을 상세히 설명하면 다음과 같다.In the above, the access token is registered in the
인증 지원 서버(200)는 액세스 토큰을 제1 블록체인에 등록하거나 인증 지원 서버(200)에 연동되는 타 장치로 하여금 제1 블록체인에 등록하도록 한다.The
그리고, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 인증 지원 서버(200)는 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 특정 해쉬값에 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 생성한다.And, when the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, the
또한, 인증 지원 서버(200)는 생성된 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 제1 블록체인에 등록하거나 인증 지원 서버(200)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 할 수 있다.In addition, the
한편, 인증 지원 서버(200)는 제1 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는 데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the
즉, 인증 지원 서버(300)는 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하거나 인증 지원 서버(200)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다.That is, the
좀더 구체적으로 설명하면, (x1) 인증 지원 서버(200)는, (i) 특정 해쉬값과 (ii) 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 인증 지원 서버(200)에 연동된 타 장치로 하여금 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 인증 지원 서버(200)에 연동된 타 장치로 하여금 부모 노드에 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 대표 해쉬값 또는 대표 해쉬값을 가공한 값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 인증 지원 서버(200)는, 부모 노드에 할당된 해쉬값을 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, the (x1)
그리고, 인증 지원 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 대표 해쉬값 또는 대표 해쉬값을 가공한 값으로서 제2 블록체인에 등록하거나 인증 지원 서버(200)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원한다. 이때, 대표 해쉬값을 가공한 값은, 예를 들어, 대표 해쉬값에 hex 연산이 수행된 결과값일 수 있다.In addition, the
한편, 인증 지원 서버(200)가 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 제1-1 데이터 구조와 제1-2 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, the
특히, 상술한 예에서와 같이 제1-1 데이터 구조 및 제1-2 데이터 구조가 머클 트리인 경우, 제1-1 데이터 구조의 루트값 또는 루트값의 해쉬값이 제1-2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, as in the above example, when the 1-1 data structure and the 1-2 data structure are Merkle Tree, the root value of the 1-1 data structure or the hash value of the root value is Can be assigned to the first leaf node.
또한, 제1-2 데이터 구조를 생성할 때는 제1-1 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다. 제1-2 데이터 구조의 검증에 대해서는 후술하기로 한다.In addition, when creating the 1-2 data structure, data integrity may be further guaranteed by verifying the 1-1 data structure. The verification of the 1-2 data structure will be described later.
또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 인증 지원 서버(200)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first Merkle tree among at least one Merkle tree connected in a chain, a hash value of predetermined message data consisting of text, numbers, or symbols or a value processed thereof may be assigned to the first leaf node of the first Merkle tree. have. For example, a hash value of an input message initially given by the
도 3 및 도 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 것이다.3 and 4 illustrate examples of a Merkle tree generated according to an embodiment of the present invention.
도 3에서는 리프 노드의 개수가 4개인 머클 트리가 도시된다. 도시된 머클 트리는 첫번째 머클 트리이기 때문에(tree_id=0), 첫번째 리프 노드인 h0 노드에는 소정의 메시지 데이터의 해쉬값 (sha256(coinplug_unique_message))이 할당되었음을 알 수 있다. 기록 데이터에 대한 등록 요청이 있는 경우, 인증 지원 서버(200)는 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 특정 해쉬값 또는 특정 해쉬값을 가공한 값을 할당하거나 할당하도록 지원한다. 예를 들어, 도 3의 머클 트리에서 두번째 리프 노드인 h1 노드까지 값 할당이 완료된 상태에서 새로운 리프 노드를 생성하여야 하는 경우, 다음 리프 노드인 h2 노드를 생성하여 특정 해쉬값 또는 특정 해쉬값을 가공한 값(sha256(input2))을 할당할 수 있다. 또한, 인증 지원 서버(200)는 (i) h2 노드에 할당된 특정 해쉬값과 (ii) h2 노드의 형제 노드인 h3 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원할 수 있다. 연산값에 대한 해쉬값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로 인증 지원 서버(200)는 h23 노드에 할당된 해쉬값을 특정 해쉬값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해쉬값을 특정 해쉬값으로 하고, h23 노드에 할당된 해쉬값과 h01 노드에 할당된 해쉬값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123 노드)에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로 인증 지원 서버(200)는, h0123 노드에 할당된 해쉬값을 가공한 값(hex(h{node_index}))을 제2 블록체인에 등록하거나 인증 지원 서버(200)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다In FIG. 3, a Merkle tree having four leaf nodes is shown. Since the illustrated Merkle tree is a first Merkle tree (tree_id=0), it can be seen that a hash value (sha256 (coinplug_unique_message)) of predetermined message data is allocated to the h0 node, which is the first leaf node. When there is a registration request for the recorded data, the
한편, 전술한 트리거링 조건이란, (i) 소정의 개수만큼 액세스 토큰과 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 제1 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.Meanwhile, the above-described triggering conditions include (i) a condition in which access tokens and transactions are generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in the first blockchain, (iv ) It may include at least one of conditions for service characteristics.
한편, 예를 들어, 액세스 토큰과 관련한 트랜잭션이 머클 트리의 리프 노드 수만큼 획득되면 머클 트리를 생성하고, 머클 트리의 루트값을 제2 블록체인에 등록하거나 타 장치로 하여금 등록하도록 지원할 수 있다.On the other hand, for example, when a transaction related to an access token is acquired as many as the number of leaf nodes of the Merkle tree, a Merkle tree can be created, and the root value of the Merkle tree can be registered in the second blockchain or other devices can support registration.
또한, 인증 지원 서버(200)는 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) 조건). 이 경우 인증 지원 서버(200)는 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 제2 블록체인에 등록하거나 인증 지원 서버(200)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다.In addition, the
그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해쉬값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 트리거링 조건이 만족되었음에도 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 인증 지원 서버(200)는, 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 인증 지원 서버(200)는 특정 해쉬값을 복제하여 형제 노드에 할당하거나 할당하도록 지원할 수 있다.However, in this case, a value may not be assigned to a sibling node of a node to which a specific hash value of the Merkle tree is assigned even when a predetermined time has elapsed. In this case, even though the triggering condition is satisfied, if the hash value is not assigned to the sibling node of the node to which the specific hash value is assigned, the
그리고, 서비스 특성이란, 액세스 토큰과 관련한 트랜잭션을 발행한 발행자가 제공한 비용 정보, 액세스 토큰 관련 트랜잭션 등록이 이루어지는 시간대 정보, 액세스 토큰 관련 트랜잭션 등록 서비스가 이루어지는 지역 정보, 액세스 토큰 관련 트랜잭션 등록 요청을 한 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기서 기재한 것에 한정할 것은 아니고, 통상적으로 인정되는 차등적 서비스가 제공될 수 있는 다양한 조건 정보를 포함한다.In addition, service characteristics are cost information provided by the issuer that issued the transaction related to the access token, time zone information for the registration of the transaction related to the access token, the region information for the transaction registration service related to the access token, and the request to register the transaction related to the access token. It may be at least part of the company type information. However, it is not limited to the ones described here, and includes information on various conditions under which commonly recognized differential services can be provided.
한편, 새로운 머클 트리 생성이 시작되고, 액세스 토큰 관련 트랜잭션이 없는 상태에서 트리거링 조건이 만족되면, 인증 지원 서버(200)는, 소정의 메시지 데이터가 첫번째 리프 노드와 두번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트값 또는 이를 가공한 값을 제2 블록체인에 등록하거나 인증 지원 서버(200)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, when the creation of a new Merkle tree starts and the triggering condition is satisfied in a state in which there is no access token related transaction, the
또한, 전술한 것처럼 인증 지원 서버(200)가 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 제1-1 데이터 구조와 제1-2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 제1-1 데이터 구조 및 제1-2 데이터 구조가 머클 트리인 경우, 제1-1 데이터 구조의 루트값 또는 루트값의 해쉬값이 제1-2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In addition, as described above, the
도 4는 본 발명의 일 실시예에 따라 제1-2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 is a diagram illustrating a Merkle tree created as a 1-2 data structure according to an embodiment of the present invention.
도 4를 참조하면, 도 3의 머클 트리(tree_id=0)의 루트값(hex(h0123))이 새로운 머클 트리의 첫번째 리프 노드(h4 노드)에 할당되었음을 알 수 있다(sha256(input4)). 본 발명은 이와 같이 트랜잭션 발생시 생성되는 복수의 데이터 구조를 연결함으로써 중간에 데이터가 변조가 발생되는 경우라도 쉽게 트래킹이 가능하여 데이터 integrity를 향상시키는 장점을 가진다.Referring to FIG. 4, it can be seen that the root value (hex(h0123)) of the Merkle tree (tree_id=0) of FIG. 3 is allocated to the first leaf node (node h4) of the new Merkle tree (sha256(input4)). The present invention has the advantage of improving data integrity by enabling easy tracking even when data is altered in the middle by connecting a plurality of data structures generated when a transaction occurs.
다시 도 2를 참조하면, 인증 지원 서버(200)로부터 액세스 토큰이 전송되면, 사용자 단말(100)은 인증사 앱(120)을 통해 액세스 토큰을 수신하여 인증 제휴사 앱(110)으로 전달하며(S8), 인증 제휴사 앱(110)을 통해 액세스 토큰을 이용하여 인증 제휴사 서버(500)로 로그인을 요청하도록 한다(S9). 이때, 로그인 요청 정보에는 액세스 토큰, 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상이 포함될 수 있으나, 이에 한정되지 않으며 이들의 해쉬값 중 적어도 하나 이상이 포함될 수도 있다.Referring back to FIG. 2, when the access token is transmitted from the
그리고, 인증 제휴사 서버(500)는 사용자 단말(100)의 인증 제휴사 앱(110)으로부터의 로그인 요청에 대응하여 로그인 요청 정보로부터 획득된 액세스 토큰에 대한 검증을 인증 지원 서버(200)로 요청하거나 인증사 서버(400)를 통해 인증 지원 서버(200)로 액세스 토큰 검증 요청이 이루어지도록 할 수 있다(S10)(S11). 이때, 액세스 토큰 검증 요청 정보에는 액세스 토큰, 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상을 포함하거나, 이들의 해쉬값 중 적어도 하나 이상을 포함할 수 있다.In addition, the
그러면, 인증 지원 서버(200)는 액세스 토큰 검증 요청 정보가 인증 제휴사 서버(500)로부터 획득되거나 인증 제휴사 서버(500)로부터의 액세스 토큰 검증 요청 정보가 인증사 서버(400)를 통해 획득됨에 따라, 액세스 토큰을 검증하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 액세스 토큰을 검증하도록 할 수 있다. 또한, 인증 지원 서버(200)는 블록체인(300)으로 액세스 토큰에 대한 검증을 요청하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 블록체인(300)으로 액세스 토큰에 대한 검증을 요청(S12)하도록 함으로써 블록체인(300)으로 하여금 액세스 토큰을 검증(S13)하도록 지원할 수 있다.Then, the
이때, 액세스 토큰의 검증은, 검증 요청된 액세스 토큰이 사용자 단말 식별 정보 또는 사용자 식별 정보에 대응하여 블록체인(300)에 등록된 액세스 토큰과 일치하는지를 확인함으로써 이루어질 수 있다.In this case, the verification of the access token may be performed by checking whether the access token requested for verification matches the access token registered in the
한편, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성된 경우에는, 사용자 식별 정보 또는 사용자 단말 식별 정보에 대응하여 제2 블록체인에 등록된 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 확인하고, 제2 블록체인에서 확인된 대표 해쉬값 또는 대표 해쉬값을 가공한 값과 대응하여 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 확인하며, 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인에 등록된 액세스 토큰을 확인하거나 타 장치로 하여금 확인하도록 지원할 수 있다.On the other hand, when the
이후, 액세스 토큰이 유효한 것으로 확인되면(S14), 인증 지원 서버(200)는 액세스 토큰 검증 결과 정보를 인증 제휴사 서버(500)로 전송하거나 인증 지원 서버(200)에 연동되는 타 장치 또는 인증사 서버(400)를 통해 액세스 토큰 검증 결과 정보가 인증 제휴사 서버(500)로 전송되도록 한다(S15)(S17). 이때, 인증 지원 서버(200)는 사용자 단말 식별 정보 또는 사용자 식별 정보에 대응하는 사용자 정보를 확인하고(S16) 확인된 사용자 정보를 액세스 토큰 검증 결과 정보에 더하여 인증 제휴사 서버(500)로 전송하거나, 인증 지원 서버(200)에 연동되는 타 장치 또는 인증사 서버(400)로 하여금 사용자 단말 식별 정보 또는 사용자 식별 정보에 대응하는 사용자 정보를 확인하고(S16) 확인된 사용자 정보를 액세스 토큰 검증 결과 정보에 더하여 인증 제휴사 서버(500)로 전송하도록 할 수 있다.Thereafter, when it is confirmed that the access token is valid (S14), the
그러면, 인증 제휴사 서버(500)는 액세스 토큰 검증 결과 정보에 대응하여 액세스 토큰을 인증 제휴사 서버(500)에 연동되는 저장 장치에 저장하며(S18), 액세스 토큰 검증 결과에 대응하여 사용자 단말(100)의 인증 제휴사 앱(110)을 통한 인증 제휴사 서버(500)로의 로그인을 허용하도록 지원할 수 있다(S19). 이때, 인증 제휴사 서버(500)는 액세스 토큰의 저장시, 사용자 단말 식별 정보 또는 사용자 식별 정보에 대응하여 액세스 토큰이 저장되도록 할 수 있으며, 액세스 토큰에 더하여 획득된 사용자 정보를 추가적으로 저장할 수도 있다.Then, the
다음으로, 도 5를 참조하여 본 발명의 다른 실시예에 따른 블록체인 기반의 권한 인증 방법을 설명한다.Next, a block chain-based authority authentication method according to another embodiment of the present invention will be described with reference to FIG. 5.
먼저, 도 2에서와 같은 방법에 의해 인증 제휴사 서버(500)에 액세스 토큰이 저장될 수 있다.First, an access token may be stored in the
즉, 사용자 단말(100)의 인증 제휴사 앱(110)으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 사용자 단말(100)의 인증사 앱(120)으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보가 획득되면, 인증 지원 서버(200)가 전자 서명값을 검증하거나 블록체인(300)으로 하여금 전자 서명값을 검증하도록 하며, 전자 서명값의 유효한 결과에 대응되어 액세스 토큰이 생성되면 액세스 토큰을 블록체인(300)에 등록되도록 하며, 액세스 토큰을 사용자 단말(100)로 전송되도록 한다. 그러면, 사용자 단말(100)은 인증사 앱(120)을 통해 액세스 토큰을 수신하며 인증 제휴사 앱(110)을 통해 액세스 토큰을 이용하여 인증 제휴사 서버(500)로 액세스 토큰의 등록을 요청하도록 지원한다. 이후, 적어도 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 인증 제휴사 서버(500)로부터 획득되거나 인증 제휴사 서버(500)로부터의 액세스 토큰 검증 요청 정보가 인증사 서버(400)를 통해 획득되면, 인증 지원 서버(200)가 액세스 토큰을 검증하거나 블록체인(300)으로 하여금 액세스 토큰을 검증하도록 지원하며, 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 인증 제휴사 서버(500)로 전송하거나 인증 지원 서버(200)에 연동되는 타 장치 또는 인증사 서버(400)를 통해 액세스 토큰 검증 결과 정보가 인증 제휴사 서버(500)로 전송되도록 한다. 이에 따라, 인증 제휴사 서버(500)는 액세스 토큰을 인증 제휴사 서버(500)에 연동되는 저장 장치에 저장한다. 이때, 액세스 토큰에 더하여, 사용자 단말 식별 정보, 사용자 식별 정보, 및 사용자 정보 등이 추가적으로 저장될 수도 있다.That is, the electronic signature value verification for the digital signature value from the
이때, 블록체인(300)은 도 2에서의 설명에서와 같이 제1 블록체인과 제2 블록체인으로 구성될 수 있으며, 제1 블록체인에는 액세스 토큰이 등록되고, 제2 블록체인에는 액세스 토큰에 대응되는 머클 루트가 등록될 수 있다.At this time, the
상기에서와 같이, 인증 제휴사 서버(500)에 액세스 토큰이 저장된 상태에서, 사용자가 사용자 단말(100)을 통해 인증 제휴사 서버(500)에서 제공되는 서비스를 이용하기 위하여, 사용자 단말(100)의 인증 제휴사 앱(110)을 통해 인증 제휴사 서버(500)로 로그인을 요청한다(S51). 이때, 로그인 요청 정보에는 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상이 포함될 수 있으나, 이에 한정되지 않으며 이들의 해쉬값 중 적어도 하나 이상이 포함될 수도 있다.As described above, in the state where the access token is stored in the
그러면, 인증 제휴사 서버(500)는 로그인 정보에 대응하여 저장된 액세스 토큰을 확인하며(S52), 확인된 액세스 토큰에 대한 검증을 인증 지원 서버(200)로 요청하거나 인증사 서버(400)를 통해 인증 지원 서버(200)로 액세스 토큰 검증 요청이 이루어지도록 할 수 있다(S53)(S54). 이때, 액세스 토큰 검증 요청 정보에는 액세스 토큰, 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상을 포함하거나, 이들의 해쉬값 중 적어도 하나 이상을 포함할 수 있다.Then, the
그러면, 인증 지원 서버(200)는 액세스 토큰 검증 요청 정보가 인증 제휴사 서버(500)로부터 획득되거나 인증 제휴사 서버(500)로부터의 액세스 토큰 검증 요청 정보가 인증사 서버(400)를 통해 획득됨에 따라, 액세스 토큰을 검증하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 액세스 토큰을 검증하도록 할 수 있다. 또한, 인증 지원 서버(200)는 블록체인(300)으로 액세스 토큰에 대한 검증을 요청하거나 인증 지원 서버(200)에 연동되는 타 장치를 통해 블록체인(300)으로 액세스 토큰에 대한 검증을 요청(S55)하도록 함으로써 블록체인(300)으로 하여금 액세스 토큰을 검증(S56)하도록 지원할 수 있다.Then, the
이때, 액세스 토큰의 검증은, 검증 요청된 액세스 토큰이 사용자 단말 식별 정보 또는 사용자 식별 정보에 대응하여 블록체인(300)에 등록된 액세스 토큰과 일치하는지를 확인함으로써 이루어질 수 있다.In this case, the verification of the access token may be performed by checking whether the access token requested for verification matches the access token registered in the
한편, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성된 경우에는, 사용자 식별 정보 또는 사용자 단말 식별 정보에 대응하여 제2 블록체인에 등록된 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 확인하고, 제2 블록체인에서 확인된 대표 해쉬값 또는 대표 해쉬값을 가공한 값과 대응하여 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 확인하며, 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인에 등록된 액세스 토큰을 확인하거나 타 장치로 하여금 확인하도록 지원할 수 있다.On the other hand, when the
이후, 액세스 토큰이 유효한 것으로 확인되면(S57), 인증 지원 서버(200)는 액세스 토큰 검증 결과 정보를 인증 제휴사 서버(500)로 전송하거나 인증 지원 서버(200)에 연동되는 타 장치 또는 인증사 서버(400)를 통해 액세스 토큰 검증 결과 정보가 인증 제휴사 서버(500)로 전송되도록 한다(S58)(S59).Thereafter, when it is confirmed that the access token is valid (S57), the
그러면, 인증 제휴사 서버(500)는 액세스 토큰 검증 결과 정보에 대응하여 사용자 단말(100)의 인증 제휴사 앱(110)을 통한 인증 제휴사 서버(500)로의 로그인을 허용하도록 지원할 수 있다(S60).Then, the
또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Further, the embodiments according to the present invention described above may be implemented in the form of program instructions that can be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded in the computer-readable recording medium may be specially designed and configured for the present invention, or may be known and usable to those skilled in the computer software field. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magnetic-optical media such as floptical disks. media), and a hardware device specially configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of the program instructions include not only machine language codes such as those produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform processing according to the present invention, and vice versa.
이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.In the above, the present invention has been described by specific matters such as specific elements and limited embodiments and drawings, but this is provided only to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , Anyone with ordinary knowledge in the technical field to which the present invention pertains can make various modifications and variations from these descriptions.
따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention is limited to the above-described embodiments and should not be defined, and all modifications that are equally or equivalent to the claims as well as the claims to be described later fall within the scope of the spirit of the present invention. I would say.
100: 사용자 단말,
110: 인증 제휴사 앱,
120: 인증사 앱,
200: 인증 지원 서버,
300: 블록체인,
400: 인증사 서버,
500: 인증 제휴사 서버100: user terminal,
110: certified affiliate app,
120: authenticator app,
200: authentication support server,
300: blockchain,
400: authenticator server,
500: certified affiliate server
Claims (22)
(a) 사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 가 획득되면, 인증 지원 서버가, (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 인증 지원 서버로 전송하도록 하며, 상기 액세스 토큰을 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하는 단계; 및
(b) 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 인증 지원 서버가, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조로 하여, 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조로 하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.In the blockchain-based authorization authentication method,
(a) Electronic signature value verification request information for the electronic signature value from the authenticator app of the user terminal corresponding to the authentication request information including the verification verification value from the authentication partner app of the user terminal-The electronic signature value verification request information Is obtained, at least the verification verification value and the verification verification value including the digital signature value digitally signed using the private key of the authenticator app, the authentication support server (i) verifies the digital signature value Or other devices interlocked with the authentication support server to verify the electronic signature value, and if the electronic signature value is verified to be valid, an access token is generated and transmitted to the user terminal, or another device interlocked with the authentication support server By allowing the device to be transmitted to the user terminal, the user terminal receives the access token through the authenticator app, and supports a login request to the authentication affiliate server using the access token through the authentication affiliate app, After registering the access token in the first blockchain or supporting the registration of the access token in the first blockchain through another device linked to the authentication support server, registering a predetermined hash value in the second blockchain When the triggering condition for is satisfied, a specific hash value generated by applying a hash function to the access token and a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value, or a value obtained by processing the representative hash value Support to register in the second blockchain, (ii) request verification of the electronic signature value with the first blockchain, or the electronic signature with the first blockchain through another device interlocked with the authentication support server By requesting verification of the value, the first blockchain causes the first blockchain to generate an access token and transmit it to the authentication support server when the electronic signature value is verified to be valid, and to register the access token in the first blockchain. After that, triggering to register a predetermined hash value in the second blockchain If the condition is satisfied, a specific hash value generated by applying a hash function to the access token and a representative hash value calculated by calculating at least one neighboring hash value matching the specific hash value, or a value obtained by processing the representative hash value as a second When the access token is obtained from the first blockchain, the access token is transmitted to the user terminal or transmitted to the user terminal through another device interlocked with the authentication support server. Receiving the access token through the authenticator app and supporting a login request to an authentication affiliate server using the access token through the authentication affiliate app; And
(b) When the access token verification request information including at least the access token is obtained from the authentication affiliate server or the access token verification request information from the authentication affiliate server is obtained through the authentication company server, the authentication support server, (i) verifying the access token by referring to information registered in the first blockchain and the second blockchain, or verifying the access token through another device interlocked with the authentication support server, or (ii ) By requesting verification of the access token through the first blockchain or requesting verification of the access token through the first blockchain through another device interlocked with the authentication support server, the first blockchain causes the Supports verifying the access token with reference to information registered in the second blockchain, and if the access token is verified to be valid, the access token verification result information is transmitted to the authentication partner server or interlocked with the authentication support server The authentication affiliate server allows the authentication affiliate server to store the access token in a storage device interlocked with the authentication affiliate server by transmitting the access token verification result information to the authentication affiliate server through another device or the authentication company server. Supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to an access token verification result;
The method comprising a.
상기 트리거링 조건은,
(i) 소정의 개수만큼 상기 액세스 토큰과 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.The method of claim 1,
The triggering condition is,
(i) conditions for generating transactions related to the access token as many as a predetermined number, (ii) conditions for elapsed time, (iii) conditions for generating blocks in the first blockchain, and (iv) service characteristics A method comprising at least one of the conditions.
상기 (a) 단계에서,
상기 인증 지원 서버는, 상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 제1 블록체인을 통해 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하도록 하는 것을 특징으로 하는 방법.The method of claim 1,
In step (a),
The authentication support server supports generating or generating a merkle tree in which the specific hash value is assigned to a leaf node,
When the triggering condition is satisfied, a hash value allocated to at least one other leaf node matching the specific hash value is calculated to generate the representative hash value or a value processed by the representative hash value, or interlock with the authentication support server The method according to claim 1, wherein the representative hash value or the value obtained by processing the representative hash value is generated through the other device or the first block chain.
상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 트리인 경우, 상기 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 방법.The method of claim 3,
When the Merkle tree is the first tree among at least one Merkle tree connected in a chain, a hash value of predetermined message data consisting of text, numbers, or symbols or a value processed thereof is allocated to the first leaf node of the Merkle tree. How to characterize.
상기 트리거링 조건이 만족되면,
(x1) 상기 인증 지원 서버는, (i) 상기 특정 해쉬값과 (ii) 상기 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 상기 연산된 값에 대한 해쉬값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해쉬값을 상기 대표 해쉬값으로서 상기 제2 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해쉬값을 상기 특정 해쉬값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 방법.The method of claim 3,
When the above triggering condition is satisfied,
(x1) The authentication support server supports calculating or calculating (i) the specific hash value and (ii) a hash value allocated to a sibling node of the node to which the specific hash value is assigned, and supports the calculation of the calculated value. It supports to allocate or assign a hash value to the parent node of the node,
(x2) If the parent node is the root node of the Merkle tree, the hash value assigned to the parent node is registered in the second blockchain as the representative hash value, or another device interlocked with the authentication support server or the first Support the blockchain to register in the second blockchain,
(x3) If the parent node is not the root node of the Merkle tree, the hash value assigned to the parent node is used as the specific hash value, and the (x1) to (x2) are repeatedly performed.
상기 (x1)에서,
상기 트리거링 조건이 만족되었음에도 상기 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 상기 인증 지원 서버는, 상기 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 방법.The method of claim 5,
In (x1) above,
When the hash value is not assigned to the sibling node of the node to which the specific hash value is assigned even though the triggering condition is satisfied, the authentication support server allocates or supports to allocate a predetermined hash value to the sibling node, and the ( A method, characterized in that performing x1) to (x3).
상기 인증 지원 서버가, 상기 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 상기 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 상기 제1-1 데이터 구조와 상기 제1-2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 방법.The method of claim 1,
The authentication support server stores the specific hash value and the at least one neighboring hash value in a predetermined 1-1 data structure, and then creates a 1-2 data structure in the same form as the 1-1 data structure. In the case of storing and managing, the 1-1 data structure and the 1-2 data structure are connected in a chain form.
상기 제1-1 데이터 구조 및 상기 제1-2 데이터 구조가 머클 트리인 경우, 상기 제1-1 데이터 구조의 루트값 또는 상기 루트값의 해쉬값이 상기 제1-2 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 방법.The method of claim 7,
When the 1-1 data structure and the 1-2 data structure are Merkle Tree, the root value of the 1-1 data structure or the hash value of the root value is a first leaf node of the 1-2 data structure Method, characterized in that assigned to.
상기 액세스 토큰은 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상을 포함하거나, 상기 사용자 단말의 식별 정보와 상기 사용자 식별 정보의 해쉬값들 중 적어도 하나 이상을 포함하는 것을 특징으로 하는 방법.The method of claim 1,
The access token includes at least one of user terminal identification information and user identification information, or includes at least one of identification information of the user terminal and hash values of the user identification information.
상기 (a) 단계에서,
상기 사용자 단말의 상기 인증 제휴사 앱으로부터 상기 인증 제휴사 서버로의 로그인 요청에는 상기 액세스 토큰, 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상이 포함되는 것을 특징으로 하는 방법.The method of claim 1,
In step (a),
The method of claim 1, wherein the login request from the authentication affiliate app of the user terminal to the authentication affiliate server includes at least one of the access token, user terminal identification information, and user identification information.
상기 (b) 단계에서,
상기 액세스 토큰 검증 결과 정보에 사용자 단말 식별 정보, 및 사용자 식별 정보 중 적어도 하나 이상을 더 포함하는 것을 특징으로 하는 방법.The method of claim 1,
In step (b),
The method further comprising at least one of user terminal identification information and user identification information in the access token verification result information.
(a) 사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보가 획득되면 상기 전자 서명값을 검증하거나 제1 블록체인으로 하여금 상기 전자 서명값을 검증하도록 하며, 상기 전자 서명값의 유효한 결과에 대응되어 액세스 토큰이 생성되면 상기 액세스 토큰을 상기 제1 블록체인에 등록되도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 하며, 상기 액세스 토큰을 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 상기 액세스 토큰의 등록을 요청하도록 지원하고, 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 제1 블록체인 및 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 한 상태에서, 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 로그인 요청에 대응하여 확인된 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 인증 지원 서버가, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하는 단계; 및
(b) 상기 액세스 토큰이 유효한 것으로 확인되면, 상기 인증 지원 서버가, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.In the blockchain-based authorization authentication method,
(a) When the electronic signature value verification request information for the electronic signature value is obtained from the authenticator app of the user terminal corresponding to the authentication request information including the verification confirmation value from the authentication partner app of the user terminal, the electronic signature value is After verifying or allowing a first blockchain to verify the electronic signature value, and when an access token is generated in response to a valid result of the electronic signature value, the access token is supported to be registered in the first blockchain, and then the second When the triggering condition for registering a predetermined hash value in the blockchain is satisfied, a specific hash value generated by applying a hash function to the access token and a representative hash value calculated by calculating at least one neighboring hash value matching the specific hash value Alternatively, the value obtained by processing the representative hash value is registered in the second blockchain, and the access token is transmitted to the user terminal, so that the user terminal receives the access token through the authenticator app, and the authentication Supports requesting registration of the access token to an authentication affiliate server using the access token through an affiliate app, and access token verification request information including at least the access token is obtained from the authentication affiliate server or from the authentication affiliate server. When the access token verification request information of is obtained through an authenticator server, the access token is verified by referring to information registered in the first blockchain and the second blockchain, or the first blockchain causes the second block It supports to verify the access token by referring to information registered in the chain, and if the access token is verified to be valid, the access token verification result information is transmitted to the authentication partner server, or another device linked to the authentication support server or the In a state in which the authentication affiliate server stores the access token in a storage device interlocked with the authentication affiliate server by allowing the access token verification result information to be transmitted to the authentication affiliate server through the authentication company server, the user terminal Said phosphorus Access token verification request information including the access token verified in response to a log-in request through an affiliate app is obtained from the authentication affiliate server, or the access token verification request information from the authentication affiliate server is obtained through the authentication company server. If so, the authentication support server (i) verifies the access token by referring to information registered in the first blockchain and the second blockchain, or transmits the access token through another device linked to the authentication support server. Or (ii) requesting verification of the access token through the first blockchain, or by requesting verification of the access token through the first blockchain through another device linked to the authentication support server. Supporting, by a first blockchain, verifying the access token by referring to information registered in the second blockchain; And
(b) If the access token is confirmed to be valid, the authentication support server transmits the access token verification result information to the authentication affiliate server, or the access token through another device or the authentication company server interlocked with the authentication support server. Supporting the authentication affiliate server to allow the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result by allowing verification result information to be transmitted to the authentication affiliate server;
The method comprising a.
상기 (a) 단계에서,
상기 인증 지원 서버는, 상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 제1 블록체인을 통해 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하도록 하는 것을 특징으로 하는 방법.The method of claim 12,
In step (a),
The authentication support server supports generating or generating a merkle tree in which the specific hash value is assigned to a leaf node,
When the triggering condition is satisfied, a hash value allocated to at least one other leaf node matching the specific hash value is calculated to generate the representative hash value or a value processed by the representative hash value, or interlock with the authentication support server The method according to claim 1, wherein the representative hash value or the value obtained by processing the representative hash value is generated through the other device or the first block chain.
상기 인증 지원 서버가, 상기 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 상기 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 상기 제1-1 데이터 구조와 상기 제1-2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 방법.The method of claim 12,
The authentication support server stores the specific hash value and the at least one neighboring hash value in a predetermined 1-1 data structure, and then creates a 1-2 data structure in the same form as the 1-1 data structure. In the case of storing and managing, the 1-1 data structure and the 1-2 data structure are connected in a chain form.
(a) 사용자 단말이, 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응하여 인증사 앱을 통해 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 를 인증 지원 서버로 전송하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 전자 서명값 요청 정보를 인증 지원 서버로 전송하도록 함으로써 상기 인증 지원 서버로 하여금 (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 지원하고, 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰이 상기 사용자 단말로 전송되도록 지원하게 하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 하고, 상기 제1 블록체인을 통해 상기 전자 서명값이 유효한 것으로 확인되면 상기 액세스 토큰을 생성하여 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하고, 상기 액세스 토큰을 상기 인증 지원 서버로 전송하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 지원하게 하는 단계; 및
(b) 상기 인증사 앱을 통해 상기 액세스 토큰이 획득되면, 상기 사용자 단말이, 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 인증 제휴사 서버로 로그인을 요청하도록 함으로써 상기 인증 제휴사 서버로 하여금, (i) 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보를 상기 인증 지원 서버로 전송하도록 지원하거나 인증사 서버를 통해 상기 액세스 토큰 검증 요청 정보가 상기 인증 지원 서버로 전송되도록 지원하여 상기 인증 지원 서버를 통해 (i-1) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (i-2) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 지원하며, (ii) 상기 액세스 토큰이 유효한 것으로 확인되어 액세스 토큰 검증 결과 정보가 상기 인증 지원 서버 또는 상기 인증사 서버를 통해 획득되면 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 지원하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.In the blockchain-based authorization authentication method,
(a) The user terminal, in response to the authentication request information including the verification verification value from the authentication partner app, the electronic signature value verification request information for the electronic signature value through the authenticator app-The electronic signature value verification request information is at least Transmitting the verification verification value and the verification verification value including the digital signature value, which is digitally signed using the private key of the authenticator app, to an authentication support server or the electronic signature through another device interlocked with the user terminal By sending the value request information to the authentication support server, the authentication support server (i) verifies the electronic signature value or supports other devices interlocked with the authentication support server to verify the electronic signature value, and the electronic When the signature value is verified to be valid, an access token is generated, and the access token is registered in the first blockchain or the access token is supported in the first blockchain through another device interlocked with the authentication support server. , When a triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a specific hash value generated by applying a hash function to the access token and at least one neighboring hash value matching the specific hash value are calculated. Supports registration of the representative hash value or the processed value of the representative hash value in the second blockchain, and transmits the access token to the user terminal or transmits the access token to the user through another device linked to the authentication support server. Support to be transmitted to the terminal, or (ii) request verification of the electronic signature value through the first blockchain, or the electronic signature value through the first blockchain through another device interlocked with the authentication support server. Request verification, and if the electronic signature value is verified to be valid through the first blockchain, the access token is generated and registered in the first blockchain, and a predetermined hash value is applied to the second blockchain. When the triggering condition for registration is satisfied, a specific hash value generated by applying a hash function to the access token and Register a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value or a value processed by the representative hash value in the second blockchain, and transmit the access token to the authentication support server. When the access token is obtained from the first blockchain, transmitting the access token to the user terminal or supporting the transmission to the user terminal through another device interlocked with the authentication support server; And
(b) When the access token is obtained through the authenticator app, the user terminal requests a log-in to the authentication partner server using the access token through the authentication partner app or another device interlocked with the user terminal. By allowing the authentication partner server to request a login through the authentication partner server, (i) support to transmit the access token verification request information including at least the access token to the authentication support server, or the access through the authentication company server By supporting the transmission of token verification request information to the authentication support server, through the authentication support server (i-1) verify the access token by referring to information registered in the first blockchain and the second blockchain, or Verify the access token through another device linked to an authentication support server, or (i-2) request verification of the access token through the first blockchain, or through another device linked to the authentication support server. The first blockchain supports verification of the access token, and (ii) when the access token is verified as valid and the access token verification result information is obtained through the authentication support server or the authenticator server, the access token Supporting the storage device to be linked to the authentication affiliate server, and supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result;
The method comprising a.
사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 를 획득하는 통신부; 및
상기 통신부를 통해 상기 전자 서명값 검증 요청 정보가 획득되면, (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하여 상기 인증 지원 서버로 전송하도록 하며, 상기 액세스 토큰을 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하도록 지원하는 제1 프로세스와, 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조로 하여, 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조로 하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 제2 프로세스를 수행하는 프로세서;
를 포함하는 것을 특징으로 하는 인증 지원 서버.In the authentication support server that performs blockchain-based authorization authentication,
Electronic signature value verification request information for an electronic signature value from an authenticator app of the user terminal corresponding to authentication request information including a verification verification value from an authentication affiliate app of the user terminal-The electronic signature value verification request information is at least the A communication unit for acquiring a verification verification value and a verification verification value including the digital signature value digitally signed using the private key of the authenticator app; And
When the electronic signature value verification request information is obtained through the communication unit, (i) verify the electronic signature value or support another device interlocked with the authentication support server to verify the electronic signature value, and the electronic signature value When it is confirmed that the authentication is valid, an access token is generated and transmitted to the user terminal or transmitted to the user terminal through another device interlocked with the authentication support server, thereby allowing the user terminal to receive the access token through the authenticator app. The first block is supported to request a login to the authentication affiliate server using the access token through the authentication affiliate app, and register the access token in the first blockchain or through another device interlocked with the authentication support server. After supporting the registration of the access token in the chain, when the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a specific hash value generated by applying a hash function to the access token, the specific hash value, and Supports registration of a representative hash value calculated by calculating at least one neighboring hash value or a value processed by the representative hash value in the second blockchain, or (ii) the electronic signature value with the first blockchain By requesting verification or requesting verification of the electronic signature value through the first blockchain through another device linked to the authentication support server, the first blockchain causes the first blockchain to verify that the digital signature value is valid, an access token Is generated and transmitted to the authentication support server, and after the access token is registered in the first blockchain, when a triggering condition for registering a predetermined hash value in the second blockchain is satisfied, the access token is A specific hash value generated by applying a hash function and a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value or a value processed by the representative hash value are registered in the second blockchain, and the When the access token is obtained from the first blockchain, the access token is transferred to the user terminal. By sending in words or sending it to the user terminal through another device linked to the authentication support server, the user terminal receives the access token through the authenticator app, and uses the access token through the authentication affiliate app. A first process that supports a login request to the authentication affiliate server, and access token verification request information including at least the access token is obtained from the authentication affiliate server or the access token verification request information from the authentication affiliate server When obtained through the server, (i) by referring to the information registered in the first blockchain and the second blockchain, the access token is verified or the access token is transmitted through another device linked to the authentication support server. Or (ii) requesting verification of the access token through the first blockchain, or by requesting verification of the access token through the first blockchain through another device linked to the authentication support server. Supports the first blockchain to verify the access token by referring to information registered in the second blockchain, and if the access token is verified to be valid, the access token verification result information is transmitted to the authentication affiliate server, or A storage device that allows the authentication affiliate server to link the access token to the authentication affiliate server by sending the access token verification result information to the authentication affiliate server through another device linked to the authentication support server or the authentication company server. A processor configured to store the access token and perform a second process supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result;
Authentication support server comprising a.
상기 프로세서는,
상기 제1 프로세스에서,
상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 제1 블록체인을 통해 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하도록 하는 것을 특징으로 하는 인증 지원 서버.The method of claim 16,
The processor,
In the first process,
The specific hash value is supported to generate or generate a merkle tree assigned to a leaf node,
When the triggering condition is satisfied, a hash value allocated to at least one other leaf node matching the specific hash value is calculated to generate the representative hash value or a value processed by the representative hash value, or interlock with the authentication support server The authentication support server, characterized in that to generate a value obtained by processing the representative hash value or the representative hash value through the other device or the first block chain.
상기 프로세서는,
상기 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 상기 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 상기 제1-1 데이터 구조와 상기 제1-2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 인증 지원 서버.The method of claim 16,
The processor,
When the specific hash value and the at least one neighboring hash value are stored in a predetermined 1-1 data structure, and then the 1-2 data structure having the same type as the 1-1 data structure is stored and managed, The authentication support server, characterized in that the 1-1 data structure and the 1-2 data structure are connected in a chain form.
사용자 단말의 인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응한 상기 사용자 단말의 인증사 앱으로부터 전자 서명값에 대한 전자 서명값 검증 요청 정보가 획득되면 상기 전자 서명값을 검증하거나 제1 블록체인으로 하여금 상기 전자 서명값을 검증하도록 하며, 상기 전자 서명값의 유효한 결과에 대응되어 액세스 토큰이 생성되면 상기 액세스 토큰을 상기 제1 블록체인에 등록되도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 상기 제2 블록체인에 등록하도록 하며, 상기 액세스 토큰을 상기 사용자 단말로 전송되도록 함으로써 상기 사용자 단말로 하여금 상기 인증사 앱을 통해 상기 액세스 토큰을 수신하며 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 상기 액세스 토큰의 등록을 요청하도록 지원하고, 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보가 상기 인증 제휴사 서버로부터 획득되거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보가 인증사 서버를 통해 획득되면, 상기 제1 블록체인 및 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하며, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 한 상태에서, 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 로그인 요청에 대응하여 확인된 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보를 상기 인증 제휴사 서버로부터 획득하거나 상기 인증 제휴사 서버로부터의 상기 액세스 토큰 검증 요청 정보를 인증사 서버를 통해 획득하는 통신부; 및
상기 통신부를 통해 획득된 상기 액세스 토큰 검증 요청 정보에 대응하여, (i) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (ii) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 함으로써 상기 제1 블록체인으로 하여금 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하도록 지원하는 제1 프로세스와, 상기 액세스 토큰이 유효한 것으로 확인되면, 액세스 토큰 검증 결과 정보를 상기 인증 제휴사 서버로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 인증사 서버를 통해 상기 액세스 토큰 검증 결과 정보가 상기 인증 제휴사 서버로 전송되도록 함으로써 상기 인증 제휴사 서버로 하여금 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 제2 프로세스를 수행하는 프로세서;
를 포함하는 것을 특징으로 하는 인증 지원 서버.In the authentication support server that performs blockchain-based authorization authentication,
When the electronic signature value verification request information for the electronic signature value is obtained from the authenticator app of the user terminal corresponding to the authentication request information including the verification confirmation value from the authentication affiliate app of the user terminal, the electronic signature value is verified or 1 Allows the blockchain to verify the electronic signature value, and when an access token is generated in response to the valid result of the electronic signature value, the access token is supported to be registered in the first blockchain, and then in the second blockchain. When the triggering condition for registering a predetermined hash value is satisfied, a specific hash value generated by applying a hash function to the access token and at least one neighboring hash value matching the specific hash value is calculated, or the representative hash value The hash value processed value is registered in the second blockchain, and the access token is transmitted to the user terminal, thereby allowing the user terminal to receive the access token through the authenticator app, and the authentication affiliate app. Through the use of the access token to support the registration of the access token to the authentication affiliate server, and at least the access token verification request information including the access token is obtained from the authentication affiliate server or the access from the authentication affiliate server When the token verification request information is obtained through the authenticator server, the access token is verified by referring to the information registered in the first blockchain and the second blockchain, or the first blockchain is registered in the second blockchain. Supports to verify the access token with reference to the information, and if the access token is confirmed to be valid, transmits the access token verification result information to the authentication partner server or other device or the authentication company server interlocked with the authentication support server In a state in which the authentication affiliate server stores the access token in a storage device interlocked with the authentication affiliate server by transmitting the access token verification result information to the authentication affiliate server, the authentication partnership of the user terminal Acquiring access token verification request information including the access token confirmed in response to a login request through the company app from the authentication affiliate server or obtaining the access token verification request information from the authentication affiliate server through an authenticator server Communication department; And
In response to the access token verification request information obtained through the communication unit, (i) verify the access token by referring to information registered in the first blockchain and the second blockchain, or interlock with the authentication support server. Verify the access token through another device, or (ii) request verification of the access token through the first block chain, or the access token through the first block chain through another device linked to the authentication support server A first process that assists the first blockchain to verify the access token by referring to information registered in the second blockchain by requesting verification of the access token, and if the access token is verified to be valid, the access token Sending the verification result information to the authentication partner server or allowing the authentication partner server to access the access token verification result information through another device linked to the authentication support server or the authentication company server. A processor for performing a second process supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to a token verification result;
Authentication support server comprising a.
상기 프로세서는,
상기 제1 프로세스에서,
상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하거나 상기 인증 지원 서버에 연동되는 타 장치 또는 상기 제1 블록체인을 통해 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 생성하도록 하는 것을 특징으로 하는 인증 지원 서버.The method of claim 19,
The processor,
In the first process,
The specific hash value is supported to generate or generate a merkle tree assigned to a leaf node,
When the triggering condition is satisfied, a hash value allocated to at least one other leaf node matching the specific hash value is calculated to generate the representative hash value or a value processed by the representative hash value, or interlock with the authentication support server The authentication support server, characterized in that to generate a value obtained by processing the representative hash value or the representative hash value through the other device or the first block chain.
상기 프로세서는,
상기 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1-1 데이터 구조로 저장하고, 이후 상기 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 상기 제1-1 데이터 구조와 상기 제1-2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 인증 지원 서버.The method of claim 19,
The processor,
When the specific hash value and the at least one neighboring hash value are stored in a predetermined 1-1 data structure, and then the 1-2 data structure having the same type as the 1-1 data structure is stored and managed, The authentication support server, characterized in that the 1-1 data structure and the 1-2 data structure are connected in a chain form.
통신부; 및
인증 제휴사 앱으로부터의 검증 확인값을 포함하는 인증 요청 정보에 대응하여 인증사 앱을 통해 전자 서명값에 대한 전자 서명값 검증 요청 정보 - 상기 전자 서명값 검증 요청 정보는 적어도 상기 검증 확인값과 상기 검증 확인값을 상기 인증사 앱의 프라이빗키를 사용하여 전자 서명한 상기 전자 서명값을 포함한 - 를 상기 통신부를 이용하여 인증 지원 서버로 전송하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 전자 서명값 요청 정보를 인증 지원 서버로 전송하도록 함으로써 상기 인증 지원 서버로 하여금 (i) 상기 전자 서명값을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치로 하여금 상기 전자 서명값을 검증하도록 지원하며, 상기 전자 서명값이 유효한 것으로 확인되면 액세스 토큰을 생성하고, 상기 액세스 토큰을 제1 블록체인에 등록하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인에 상기 액세스 토큰을 등록하도록 지원한 후, 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 지원하고, 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰이 상기 사용자 단말로 전송되도록 지원하게 하거나, (ii) 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 전자 서명값에 대한 검증을 요청하도록 하고, 상기 제1 블록체인을 통해 상기 전자 서명값이 유효한 것으로 확인되면 상기 액세스 토큰을 생성하여 상기 제1 블록체인에 등록하도록 한 후, 상기 제2 블록체인에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 액세스 토큰에 해쉬함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 제2 블록체인에 등록하도록 하고, 상기 액세스 토큰을 상기 인증 지원 서버로 전송하도록 하며, 상기 제1 블록체인으로부터 상기 액세스 토큰이 획득되면 상기 액세스 토큰을 상기 사용자 단말로 전송하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 사용자 단말로 전송되도록 지원하게 하는 제1 프로세스와, 상기 통신부를 통해 상기 인증사 앱을 통해 상기 액세스 토큰이 획득되면, 상기 인증 제휴사 앱을 통해 상기 액세스 토큰을 이용하여 인증 제휴사 서버로 로그인을 요청하거나 상기 사용자 단말에 연동되는 타 장치를 통해 상기 인증 제휴사 서버로 로그인을 요청하도록 함으로써 상기 인증 제휴사 서버로 하여금, (i) 적어도 상기 액세스 토큰을 포함하는 액세스 토큰 검증 요청 정보를 상기 인증 지원 서버로 전송하도록 지원하거나 인증사 서버를 통해 상기 액세스 토큰 검증 요청 정보가 상기 인증 지원 서버로 전송되도록 지원하여 상기 인증 지원 서버를 통해 (i-1) 상기 제1 블록체인 및 상기 제2 블록체인에 등록된 정보를 참조하여 상기 액세스 토큰을 검증하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 액세스 토큰을 검증하도록 하거나, (i-2) 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하거나 상기 인증 지원 서버에 연동되는 타 장치를 통해 상기 제1 블록체인으로 상기 액세스 토큰에 대한 검증을 요청하도록 지원하며, (ii) 상기 액세스 토큰이 유효한 것으로 확인되어 액세스 토큰 검증 결과 정보가 상기 인증 지원 서버 또는 상기 인증사 서버를 통해 획득되면 상기 액세스 토큰을 상기 인증 제휴사 서버에 연동되는 저장 장치에 저장하도록 지원하며, 상기 액세스 토큰 검증 결과에 대응하여 상기 사용자 단말의 상기 인증 제휴사 앱을 통한 상기 인증 제휴사 서버로의 로그인을 허용하도록 지원하는 제2 프로세스를 수행하는 프로세서;
를 포함하는 것을 특징으로 하는 사용자 단말.In a user terminal that performs blockchain-based authorization authentication,
Communication department; And
Electronic signature value verification request information for an electronic signature value through an authenticator app in response to authentication request information including a verification verification value from an authentication partner app-The electronic signature value verification request information includes at least the verification verification value and the verification The electronic signature value, including the electronic signature value, which is digitally signed using the private key of the authenticator app, is transmitted to an authentication support server using the communication unit or the electronic signature value is requested through another device linked to the user terminal. By sending information to an authentication support server, the authentication support server (i) verifies the electronic signature value or supports other devices interlocked with the authentication support server to verify the electronic signature value, and the electronic signature value If it is confirmed that this is valid, an access token is generated, and the access token is registered in the first blockchain or supported to register the access token in the first blockchain through another device linked to the authentication support server. 2 When the triggering condition for registering a predetermined hash value in the blockchain is satisfied, a specific hash value generated by applying a hash function to the access token and a representative hash calculated by calculating at least one neighboring hash value matching the specific hash value Supports registration of a value or a value obtained by processing the representative hash value in a second blockchain, and transmits the access token to the user terminal or transfers the access token to the user terminal through another device linked to the authentication support server. Support to be transmitted, or (ii) request verification of the electronic signature value through the first blockchain, or verify the electronic signature value through the first blockchain through another device interlocked with the authentication support server. When the electronic signature value is confirmed to be valid through the first blockchain, the access token is generated and registered in the first blockchain, and then a predetermined hash value is registered in the second blockchain. When the triggering condition for is satisfied, a specific hash value generated by applying a hash function to the access token and Register a representative hash value obtained by calculating at least one neighboring hash value matching the specific hash value or a value processed by the representative hash value in the second blockchain, and transmit the access token to the authentication support server. , When the access token is obtained from the first blockchain, a first process for supporting the transmission of the access token to the user terminal or transmission to the user terminal through another device linked to the authentication support server, and the communication unit When the access token is obtained through the authenticator app through, a login request is made to the authentication affiliate server using the access token through the authentication affiliate app, or to the authentication affiliate server through another device linked to the user terminal. By making a login request, the authentication affiliate server supports: (i) to transmit the access token verification request information including at least the access token to the authentication support server, or the access token verification request information is transmitted to the authentication support server. It supports to be transmitted to an authentication support server, and through the authentication support server (i-1) verifies the access token by referring to information registered in the first blockchain and the second blockchain, or interlocks with the authentication support server. Verify the access token through another device, (i-2) request verification of the access token through the first blockchain, or the first blockchain through another device interlocked with the authentication support server It supports to request verification of an access token, and (ii) when the access token is verified as valid and the access token verification result information is obtained through the authentication support server or the authenticator server, the access token is sent to the authentication affiliate server. A processor that supports storing in an interlocked storage device, and performs a second process supporting the user terminal to log in to the authentication affiliate server through the authentication affiliate app in response to the access token verification result;
User terminal comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200120108A KR20200112769A (en) | 2020-09-17 | 2020-09-17 | Method for oauth service through blockchain, and terminal and server using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200120108A KR20200112769A (en) | 2020-09-17 | 2020-09-17 | Method for oauth service through blockchain, and terminal and server using the same |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180037130A Division KR102192370B1 (en) | 2018-03-30 | 2018-03-30 | Method for oauth service through blockchain, and terminal and server using the same |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20200112769A true KR20200112769A (en) | 2020-10-05 |
Family
ID=72809534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200120108A KR20200112769A (en) | 2020-09-17 | 2020-09-17 | Method for oauth service through blockchain, and terminal and server using the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20200112769A (en) |
-
2020
- 2020-09-17 KR KR1020200120108A patent/KR20200112769A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102254499B1 (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR102181600B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR102192370B1 (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR102252086B1 (en) | Method for oauth service through blockchain, and terminal and server using the same | |
US20210006410A1 (en) | Method for providing virtual asset service based on decentralized identifier and virtual asset service providing server using them | |
KR102116235B1 (en) | Method and server for managing user identity using blockchain network, and method and terminal for verifying user using user identity based on blockchain network | |
KR102118962B1 (en) | Method and server for managing user identity using blockchain network, and method and terminal for verifying user using user identity based on blockchain network | |
KR20140127303A (en) | Multi-factor certificate authority | |
Xue et al. | A distributed authentication scheme based on smart contract for roaming service in mobile vehicular networks | |
KR20210095093A (en) | Method for providing authentification service by using decentralized identity and server using the same | |
KR102372503B1 (en) | Method for providing authentification service by using decentralized identity and server using the same | |
KR102216285B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR102216292B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR20200062100A (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR102216305B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR102181601B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR20200112771A (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR102353808B1 (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR20200062098A (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR102192382B1 (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR20200043320A (en) | Method for sso service through blockchain, and terminal and server using the same | |
KR20200112769A (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR20200115399A (en) | Method for oauth service through blockchain, and terminal and server using the same | |
KR102246794B1 (en) | Protection of login processes | |
KR20200112770A (en) | Method for oauth service through blockchain, and terminal and server using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A107 | Divisional application of patent | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |