KR101829729B1 - Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same - Google Patents

Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same Download PDF

Info

Publication number
KR101829729B1
KR101829729B1 KR1020160145796A KR20160145796A KR101829729B1 KR 101829729 B1 KR101829729 B1 KR 101829729B1 KR 1020160145796 A KR1020160145796 A KR 1020160145796A KR 20160145796 A KR20160145796 A KR 20160145796A KR 101829729 B1 KR101829729 B1 KR 101829729B1
Authority
KR
South Korea
Prior art keywords
user
value
terminal
authentication
hash value
Prior art date
Application number
KR1020160145796A
Other languages
Korean (ko)
Inventor
현상훈
송주한
이준섭
어준선
홍재우
Original Assignee
주식회사 코인플러그
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 코인플러그 filed Critical 주식회사 코인플러그
Priority to KR1020160145796A priority Critical patent/KR101829729B1/en
Application granted granted Critical
Publication of KR101829729B1 publication Critical patent/KR101829729B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/33User authentication using certificates
    • G06F17/2252
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic 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 certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • H04L9/3265Cryptographic 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 certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements using certificate chains, trees or paths; Hierarchical trust model
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic 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 time stamps, e.g. generation of time stamps

Abstract

A method for authenticating a user by using a mobile ID includes the steps of: checking a user′s certificate registered in a private blockchain database and obtaining a hash value for user information from the user′s certificate; supporting to display a variable authentication value or to display the mobile ID; and transmitting authentication result information to an authentication request terminal or supporting the transmission of the authentication result information to the authentication request terminal. Mobile ID information includes photograph image information of the user and display information of each ID card. The variable authentication value includes at least one or more of a bar code, a QR code, and NFC tag information. Therefore, the present invention registers the user′s certificate in a blockchain of virtual money, thereby preventing copying or forgery.

Description

블록체인 및 이와 연동하는 머클 트리 구조를 통해 모바일 아이디를 이용하여 사용자를 인증하는 방법, 단말 및 이를 이용한 서버 {METHOD FOR CERTIFYING A USER BY USING MOBILE ID THROUGH BLOCKCHAIN AND MERKLE TREE STRUCTURE RELATED THERETO, AND TERMINAL AND SERVER USING THE SAME}TECHNICAL FIELD [0001] The present invention relates to a method for authenticating a user by using a mobile ID through a block chain and a merge tree structure interlocked with the server, a terminal, and a server using the same. USING THE SAME}

블록체인 및 이와 연동하는 머클 트리 구조를 통해 모바일 아이디를 이용하여 사용자를 인증하는 방법, 단말 및 이를 이용한 서버에 관한 것으로, 보다 상세하게는, 사용자의 퍼블릭 키, 사용자의 사용자 단말에 대한 단말 아이디, 및 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말로부터 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션이 획득되면, 사용자의 퍼블릭 키와 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인하고, 사용자 인증서로부터 사용자 정보에 대한 해쉬값을 획득하고, 랜덤 논스와 사용자 정보에 대한 해쉬값을 단말 아이디와 매칭되는 사용자의 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 사용자 단말로 하여금 랜덤 논스를 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값과 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하고, 모바일 아이디의 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 가변 인증값으로부터 사용자 서명값; 및 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 사용자 정보에 대한 해쉬값과 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값의 유효 여부를 확인하고, 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말로 전송하거나 전송하도록 지원하는 방법과 이를 이용하는 단말 및 서버에 관한 것이다.The present invention relates to a method for authenticating a user using a mobile ID through a block chain and a merge tree structure interlocked with the server, a terminal, and a server using the same. More particularly, And registers a user certificate including a hash value of the user information of the user in the private block chain database, manages the corresponding private transaction ID, applies a hash function to the user certificate, In a state in which a value obtained by processing a representative hash value or a representative hash value obtained by computing at least one neighboring hash value to be matched is registered in a public block chain database and a public transaction ID corresponding to the value is processed, From the terminal, When a user authentication request transaction including a nick key and a terminal ID is obtained, a data message is obtained from a public block chain database using a public transaction ID corresponding to the user's public key and terminal ID, and a representative hash Value or the processed value of the representative hash value, searches the private block chain database for the merch tree information and the leaf node information stored in the private block chain database, refers to the retrieved merch tree information and the leaf node information, It obtains the hash value of the user information from the user certificate and transmits the random number and the hash value of the user information to the user terminal of the matching user with the terminal ID, A user signature value obtained by allowing a user terminal to sign randomness using a user's private key; And a hash value for user information; And a mobile identity including the mobile identity information of the user, and when a variable authentication value of the mobile identity is obtained from the authentication requesting terminal, the user signature value from the variable authentication value; And a hash value for user information; And verifies the validity of the user signature value using the public key of the user certificate matching with the hash value of the extracted user information and verifies the authenticity of the user according to the validity of the verified user signature value A method for supporting information transmission to an authentication requesting terminal, and a terminal and a server using the method.

일반적으로 모바일 아이디는 종이 및 플라스틱 카드 등으로 발급되는 신분증 대신 모바일 디바이스 상에 앱 형태로 나타내는 신분증을 지칭하는 것으로, 종이 및 플라스틱 카드 소지가 필요 없이 모바일 디바이스 내에 저장된 신분증의 제시를 통하여 신원을 확인할 수 있도록 하는 것이다.In general, a mobile ID refers to an identification card in the form of an app on a mobile device instead of an ID card issued by a paper or plastic card, and it is possible to confirm the identity through the presentation of the ID card stored in the mobile device, .

이러한 모바일 디바이스에 아이디를 저장하고 다니며 이용하기 때문에 분실이나 도난 가능성이 있다. 따라서, 분실, 도난 시의 개인 정보 유출이나 도용을 방지하여야 한다.Because they store and use IDs on these mobile devices, they are likely to be lost or stolen. Therefore, personal information leakage or theft should be prevented from being lost or stolen.

그러나, 종래의 모바일 아이디는 인증서와 같은 사용자 인증에 필요한 정보를 모바일 디바이스에 저장하고 있으므로 복사 또는 위/변조에 취약한 문제점이 있다.However, the conventional mobile ID has a problem that it is vulnerable to copying or tampering because it stores information required for user authentication such as a certificate in a mobile device.

또한, 종래의 모바일 아이디는 본인 인증을 위하여 항상 같은 정보를 이용하므로 정보의 유출 등에 의해 제3 자가 쉽게 도용할 수 있는 문제점이 있다.In addition, since the conventional mobile ID always uses the same information for authenticating the user, there is a problem that a third party can easily steal information due to leakage of information or the like.

본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다. SUMMARY OF THE INVENTION The present invention has been made to solve all the problems described above.

또한, 본 발명은 가상 화폐의 블록체인에 사용자 인증서를 등록하여 복사 또는 위/변조가 불가능하도록 하는 방법, 단말 및 서버를 제공하는 것을 다른 목적으로 한다. It is another object of the present invention to provide a method, terminal and server for registering a user certificate in a block chain of virtual money to make it impossible to copy or digitize / modulate the user certificate.

또한, 본 발명은 사용자 인증서를 해쉬 함수와 암호화 기술을 이용하여 보안이 보장되고 위/변조가 불가능하도록 하는 방법, 단말 및 서버를 제공하는 것을 또 다른 목적으로 한다.Another object of the present invention is to provide a method, terminal, and server for ensuring security by using a hash function and an encryption technique, and making it impossible for the user certificate to be tampered with.

또한, 본 발명은 일회성의 가변 인증값을 통해 사용자를 인증하므로 사용자 정보 도용에 따른 문제점을 미연에 방지할 수 있도록 하는 방법, 단말 및 서버를 제공하는 것을 또 다른 목적으로 한다.Another object of the present invention is to provide a method, a terminal, and a server that can prevent problems caused by user information theft by authenticating a user through a one-time variable authentication value.

상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.In order to accomplish the above object, a representative structure of the present invention is as follows.

본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 사용자의 퍼블릭 키, 상기 사용자의 사용자 단말에 대한 단말 아이디, 및 상기 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말로부터 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션이 획득되면, 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하며, 상기 사용자의 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하고, 상기 사용자 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하는 단계; (b) (b1) 상기 인증 서버가, 랜덤 논스와 상기 사용자 정보에 대한 해쉬값을 상기 단말 아이디와 매칭되는 상기 사용자의 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하고, (b2) 상기 인증 서버가, 랜덤 논스를 상기 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하는 단계; 및 (c) (c1) 상기 (b1)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 인증 서버가, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 인증 서버가, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to an embodiment of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising the steps of: (a) receiving a public key of a user, a terminal ID of the user terminal of the user, And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In the public block chain database and managing a public transaction ID corresponding to the public hash value or the processed value of the representative hash value, User with key and terminal ID When the authentication request transaction is obtained, the authentication server confirms (i) the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, Acquiring a hash value of the user information from a user's certificate; (ii) obtaining a data message from the public block chain database using the public key corresponding to the user's public key and the public ID, Searching the private block chain database for the merge tree information and leaf node information stored in the private block chain database in association with a value obtained by processing the representative hash value or the representative hash value included in the data message,With reference to the information and re-leaf node information to confirm the the user certificate registered in the private block chain database, and from the user certificate, the method comprising: obtaining a hash value for the user information; (b) (b1) when the authentication server supports to transmit or transmit the random number and the hash value of the user information to the user terminal of the user matching the terminal ID, A user signature value obtained by signing the randomness with a private key of the user; And a hash value for the user information; (Ii) display a mobile identity including the mobile identity information of the user along with the variable authentication value; and (b2) the authentication server supports to display a random non- (I) a user signature value obtained by signing the random non-existence with the user's private key; And a public key of the user; (Ii) supporting a display of a mobile identity including the mobile identity information of the user with the variable authentication value; And (c) (c1) when the variable authentication value of the mobile ID is obtained from the authentication request terminal according to (b1), the authentication server calculates the user signature value from the variable authentication value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) if the variable authentication value of the mobile identity is obtained from the authentication request terminal by (b2), the authentication server transmits the authentication result information to the authentication request terminal The user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit or transmit authentication result information to the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는 (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값이 인증 요청 단말을 거쳐 획득되면, 인증 서버가, 상기 획득된 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하는 단계; 및 (b) 상기 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.Also, according to an embodiment of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising: (a) a public key of a user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In a public block chain database and managing a public transaction ID corresponding to the representative hash value or a value obtained by processing the representative hash value, a mobile ID displayed on the user terminal in response to the user authentication request - the mobile ID comprises (i) the terminal identity; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user along with the variable authentication value. When the variable authentication value is acquired via the authentication request terminal, the authentication server determines whether the acquired From the variable authentication value; The time stamp; The user signature value; And a public key of the user; ; And (b) the authentication server checks (i) the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) Acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal identity, processing the representative hash value or the representative hash value included in the data message And searching for the merge tree information and the leaf node information stored in the private block chain database in the private block chain database with reference to the retrieved merge tree information and the leaf node information, four Extracting the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, Verifying whether the extracted time stamp is identical to the time stamp extracted from the variable authentication value to check whether the user signature value is valid or not and checking the authentication result information for the user according to the validity of the user signature value To the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 인증 요청 단말을 통하여 사용자 식별 정보가 획득되면, 인증 서버가, 상기 사용자 식별 정보에 대응하는 사용자 단말로 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하거나 전송하도록 지원하며, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는, 상기 (1)의 경우, (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하며, 상기 (2)의 경우, (i) 상기 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키를 포함하는 가변 인증 값; 을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값이 사용자 단말로부터 획득되면, 상기 획득된 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값: 및 상기 사용자의 퍼블릭 키; 를 추출하는 단계; 및 (b) 상기 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.Also, according to an embodiment of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising: (a) a public key of a user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, When the user identification information is acquired through the authentication request terminal in a state in which the representative hash value obtained by computing the value or the value obtained by processing the representative hash value is registered in the public block chain database and the corresponding public transaction ID is managed, The server transmits a user authentication request signal to the user terminal corresponding to the user identification information, the user authentication request signal includes a message requesting the user authentication including (1) a message requesting the user authentication or (2) To send or transmit And a mobile ID displayed on the user terminal in response to the user authentication request, wherein the mobile ID is: (i) the terminal ID; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) mobile ID information of the user in addition to the variable authentication value, and (ii) the mobile ID information includes (i) the UE ID; A user signature value obtained by signing the randomness with a private key of the user; And a variable authentication value including a public key of the user; (Ii) if the variable authentication value of the user includes the mobile identity information of the user together with the variable authentication value, from the obtained variable authentication value, , The terminal ID; The time stamp; The user signature value; And a public key of the user; In the case (2), the terminal ID; The user signature value: and the user's public key; ; And (b) the authentication server checks (i) the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) Acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal identity, processing the representative hash value or the representative hash value included in the data message And searching for the merge tree information and the leaf node information stored in the private block chain database in the private block chain database with reference to the retrieved merge tree information and the leaf node information, four And extracts the time stamp from the user signature value using the public key of the user certificate matching the user's public key extracted from the variable authentication value in the case of (1) above, And verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid. In case (2), the variable authentication value Extracts the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the user signature value, And whether the transmitted randomness included in the signal matches Because the method comprising supporting the user check the validity of the signature value, and to transmit the authentication result information for the user of the validity of the user identified signature value to the terminal authentication request, transmitted; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 사용자 단말이, 적어도 상기 사용자의 퍼블릭 키와 상기 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 인증 서버로 전송하거나 전송하도록 지원함으로써, 인증 서버로 하여금 (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 지원하는 단계; (b) (b1) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스와 상기 사용자 정보에 대한 해쉬값이 획득되는 경우, 상기 사용자 단말이 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하고, (b2) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스가 획득되는 경우, 상기 사용자 단말이 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 단계; 및 (c) (c1) 상기 (b1)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to another aspect of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising the steps of: (a) generating and storing a public key of the user and a private key of the user; ; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A hash value is processed in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, And transmits the user authentication request transaction including the public key of the terminal and the terminal ID to the authentication server so as to allow the authentication server to transmit the public key of the terminal using the public key of the user and the private transaction ID corresponding to the terminal ID The private block chain (Ii) acquiring a data message from the public block chain database using the user's public key and a public transaction ID corresponding to the terminal identity, Searches the private block chain database for the merge tree information and leaf node information stored in the private block chain database in association with the representative hash value or the value obtained by processing the representative hash value, And supporting leaf node information to identify the user certificate registered in the private block chain database; (b) (b1) when a random nonce and a hash value for the user information are obtained from the authentication server in response to the user authentication request transaction, the user terminal transmits (i) the random nonce to the user's private key One user signature value; And a hash value for the user information; (Ii) displaying a mobile ID including the mobile identity information of the user together with the variable authentication value; and (b2) displaying a random identity from the authentication server in response to the user authentication request transaction, (I) a user signature value obtained by signing the randomness with the user's private key; And a public key of the user; (Ii) displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And (c) (c1) allowing the user terminal to acquire the variable authentication value of the mobile ID from the authentication server through the authentication request terminal by (b1), thereby allowing the authentication server to obtain the variable authentication value from the variable authentication value The user signature value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) the user terminal transmits the variable authentication value of the mobile ID to the authentication server through the authentication request terminal by (b2) Thereby enabling the authentication server to obtain the user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit the authentication result information to the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 사용자 단말이, (i) 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 단계; 및 (b) 상기 사용자 단말이, 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 거쳐 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to another aspect of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising the steps of: (a) generating and storing a public key of the user and a private key of the user; ; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, i) a terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And (b) supporting, by the user terminal, the authentication server obtaining the variable authentication value of the mobile ID via the authentication request terminal, thereby causing the authentication server to obtain the terminal ID from the variable authentication value; The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value The private block chain database and the merge tree information stored in the private block chain database are retrieved from the private block chain database, And extracts the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, And verifying whether the time stamp extracted from the variable authentication value matches the time stamp extracted from the variable authentication value to confirm whether or not the user signature value is validated, Supporting result information to be transmitted to the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서, (a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 전송되는 사용자 식별 정보에 대응하여 인증 서버가 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하면, 사용자 단말이, 상기 사용자 인증 요청 신호에 대응하여, 상기 (1)의 경우, 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하며, 상기 (2)의 경우, 상기 사용자 단말의 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 생성하는 단계; 및 (b) 상기 사용자 단말이, 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하고, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to another aspect of the present invention, there is provided a method of authenticating a user using a mobile ID, the method comprising the steps of: (a) generating and storing a public key of the user and a private key of the user; ; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, Wherein the mobile node is registered in the public block chain database, and a value obtained by processing the representative hash value is registered in a public block chain database. In a state in which the mobile ID corresponding to the registered user certificate is managed, The server transmits a user authentication request signal. The user authentication request signal is a message for requesting the user authentication including (1) a message requesting the user authentication or (2) a random non-existence. In response to the user authentication request signal, in the case of (1) A terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; And generates a variable authentication value of the mobile ID including the terminal ID of the user terminal in case of (2); A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; Generating a variable authentication value including the authentication value; And (b) allowing the user terminal to obtain the variable authentication value of the mobile ID from the authentication server, thereby allowing the authentication server to determine, from the variable authentication value, the terminal ID in case of (1); The time stamp; The user signature value; And a public key of the user; And in the case of (2), the terminal ID; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value The private block chain database and the merge tree information stored in the private block chain database are retrieved from the private block chain database, (1), using the public key of the user of the user certificate matching the public key of the user extracted from the variable authentication value, the time stamp And verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid. In case (2), the variable Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the authentication value and comparing the random non- The randomness value transmitted in the authentication request signal is Confirming whether the user signature value is valid or not and supporting authentication result information for the user according to whether the user signature value is validated to the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서, 사용자의 퍼블릭 키, 상기 사용자의 사용자 단말에 대한 단말 아이디, 및 상기 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말로부터 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 획득하는 통신부; 및 (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하며, 상기 사용자의 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하고, 상기 사용자 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하는 프로세스와, (b1) 랜덤 논스와 상기 사용자 정보에 대한 해쉬값을 상기 단말 아이디와 매칭되는 상기 사용자의 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하고, (b2) 랜덤 논스를 상기 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하는 프로세스와, (c1) 상기 (b1)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세스를 수행하는 프로세서; 를 포함하는 인증 서버가 제공된다.According to another aspect of the present invention, there is provided an authentication server for authenticating a user using a mobile ID, the authentication server including a public key of a user, a terminal ID of the user terminal of the user, And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In the public block chain database and managing a public transaction ID corresponding to the public hash value or the processed value of the representative hash value, Including key and terminal ID Communication unit for acquiring a user authentication request transaction; And (i) verifying the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (Ii) acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal identity, and comparing the representative hash value or the hash value included in the data message Searching the private block chain database for the merch tree information and the leaf node information stored in the private block chain database in association with the processed value of the representative hash value and referring to the retrieved merch tree information and the leaf node information, A process of confirming the user certificate registered in the private block chain database and acquiring a hash value of the user information from the user certificate; (b1) matching the hash value of the random number and the user information with the terminal ID (I) a user signature value obtained by signing the random nonce with the private key of the user; And a hash value for the user information; (Ii) supporting a display of a mobile identity including the mobile identity information of the user along with the variable authentication value, and (b2) transmitting a random nonce to the user terminal or transmitting (I) a user signature value obtained by signing the randomness with the user's private key; And a public key of the user; (Ii) supporting a display of a mobile identity including the mobile identity information of the user along with the variable authentication value; and (c1) supporting, by the (b1) When the variable authentication value of the ID is acquired from the authentication requesting terminal, the user signature value from the variable authentication value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) when the variable authentication value of the mobile ID is obtained from the authentication request terminal by (b2), the authentication request information for the user is transmitted or transmitted to the authentication request terminal; The user signature value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, And transmitting the authentication result information to the authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서, 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는 (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값을 인증 요청 단말을 거쳐 획득하는 통신부; 및 상기 획득된 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세서; 를 포함하는 인증 서버가 제공된다.According to an embodiment of the present invention, there is provided an authentication server for authenticating a user using a mobile ID, the authentication server comprising: a public key of a user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In a public block chain database and managing a public transaction ID corresponding to the representative hash value or a value obtained by processing the representative hash value, a mobile ID displayed on the user terminal in response to the user authentication request - the mobile ID comprises (i) the terminal identity; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user along with the variable authentication value; and a communication unit that acquires the variable authentication value through the authentication request terminal; And from the acquired variable authentication value, the terminal ID; The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) checking the user's public key Acquiring a data message from the public block chain database using the public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a value obtained by processing the private hash value The private block chain database searches the merch tree information and leaf node information stored in the block chain database, and refers to the retrieved merch tree information and leaf node information to identify the user certificate Extracts the time stamp from the user signature value using the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value, Checking the validity of the user signature value by verifying whether the time stamp and the time stamp extracted from the variable authentication value are identical to each other and verifying whether or not the user signature value is valid, A processor for supporting transmission or transmission to an authentication request terminal; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서, 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 사용자 식별 정보가 획득되면, 상기 사용자 식별 정보에 대응하는 사용자 단말로 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하며, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는, 상기 (1)의 경우, (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하며, 상기 (2)의 경우, (i) 상기 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값을 상기 사용자 단말로부터 획득하는 통신부; 및 상기 획득된 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하고, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키를 추출하며, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세서; 를 포함하는 인증 서버가 제공된다.According to an embodiment of the present invention, there is provided an authentication server for authenticating a user using a mobile ID, the authentication server comprising: a public key of a user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, When the user identification information is acquired from the authentication requesting terminal in a state in which the representative hash value obtained by computing the value or the value obtained by processing the representative hash value is registered in the public block chain database and the corresponding public transaction ID is managed, A user authentication request signal to the user terminal corresponding to the identification information; the user authentication request signal is a message requesting the user authentication including (1) a message requesting the user authentication or (2) a random nonce; , In response to the user authentication request, A mobile ID displayed on the terminal, and the mobile ID is (i) the terminal ID; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) mobile ID information of the user in addition to the variable authentication value, and (ii) the mobile ID information includes (i) the UE ID; A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user in addition to the variable authentication value, the communication unit obtaining the variable authentication value from the user terminal; And from the acquired variable authentication value, in the case of (1), the terminal ID; The time stamp; The user signature value; And a public key of the user; And in the case (2), extracts the terminal ID; The user signature value; And extracting the public key of the user, (i) checking the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) ) Acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal identity, and processing the representative hash value or the representative hash value included in the data message And the leaf node information stored in the private block chain database in the private block chain database, referring to the retrieved merge tree information and the leaf node information, (1), from the user signature value using the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value, Wherein the validity of the user signature value is verified by checking whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value, Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, The randomness value transmitted in the user authentication request signal The validity of the user signature value is verified and the authentication result information for the user according to the validity of the user signature value is transmitted to the authentication request terminal or transmitted; Is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서, 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 적어도 상기 사용자의 퍼블릭 키와 상기 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 인증 서버로 전송하거나 전송하도록 지원함으로써, 인증 서버로 하여금 (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 지원하는 프로세스와, (b1) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스와 상기 사용자 정보에 대한 해쉬값이 획득되는 경우, (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하고, (b2) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스가 획득되는 경우, (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 프로세스를 수행하는 프로세스; 및 (c1) 상기 (b1)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부; 를 포함하는 사용자 단말이 제공된다.According to another aspect of the present invention, there is provided a user terminal for authenticating a user using a mobile ID, the method comprising: generating and storing a public key of the user and a private key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, And transmits the user authentication request transaction including the key and the terminal ID to the authentication server so as to allow the authentication server to transmit the user authentication request transaction to the authentication server using (i) the private key corresponding to the user's public key and the private transaction ID, Block Chain Data (Ii) acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal ID, and Searching the private block chain database for the merge tree information and the leaf node information stored in the private block chain database in association with the representative hash value or the processed value of the representative hash value, (B1) a step of, in response to the user authentication request transaction, requesting, from the authentication server, the randomness and the user information for the user information If swigap received, (i) a user signature signed with the private value of the user, the random nonce; And a hash value for the user information; (Ii) displaying a mobile ID including the mobile identity information of the user together with the variable authentication value; and (b2) displaying a random identity from the authentication server in response to the user authentication request transaction, (I) a user signature value obtained by signing the randomness with the private key of the user; And a public key of the user; (Ii) performing a process of displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And (c1) allowing the user terminal to acquire the variable authentication value of the mobile ID from the authentication server through the authentication requesting terminal by (b1), thereby allowing the authentication server to determine, from the variable authentication value, value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) the user terminal transmits the variable authentication value of the mobile ID to the authentication server through the authentication request terminal by (b2) Thereby enabling the authentication server to obtain the user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit the authentication result information to the authentication request terminal; A user terminal is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서, 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, (i) 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 프로세서; 및 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 거쳐 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장된 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부; 를 포함하는 사용자 단말이 제공된다.According to another aspect of the present invention, there is provided a user terminal for authenticating a user using a mobile ID, the method comprising: generating and storing a public key of the user and a private key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, Wherein a value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, (i) A terminal ID of the terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) a mobile ID indicating the mobile ID including the mobile ID information of the user together with the variable authentication value; And supporting the authentication server to obtain the variable authentication value of the mobile ID via the authentication requesting terminal, thereby causing the authentication server to obtain the terminal ID from the variable authentication value; The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value And searching the private block chain database for the merch tree information and the leaf node information stored in the private block chain database and referring to the retrieved merch tree information and leaf node information, And extracts the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, Verifying whether or not the time stamp extracted from the variable authentication value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid, A communication unit for supporting information to be transmitted to the authentication request terminal; A user terminal is provided.

또한, 본 발명의 일 실시예에 따르면, 모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서, 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 획득된 사용자 식별 정보에 대응하는 사용자 인증 요청 신호 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 - 가 인증 서버로부터 획득되면, 상기 (1)의 경우, 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하며, 상기 (2)의 경우, 상기 사용자 단말의 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하는 프로세서; 및 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금, 상기 (1)의 경우, 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하고, 상기 (2)의 경우, 상기 가변 인증값으로부터 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장된 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 인증 요청 신호에 포함된 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부; 를 포함하는 사용자 단말이 제공된다.According to another aspect of the present invention, there is provided a user terminal for authenticating a user using a mobile ID, the method comprising: generating and storing a public key of the user and a private key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and in a state where the mobile ID corresponding to the registered user certificate is managed, a user corresponding to the user identification information acquired from the authentication request terminal Authentication Request Signal The user authentication request signal is obtained from the authentication server when a user authentication request message including (1) a message requesting the user authentication or (2) a random nonce is obtained from the authentication server, A terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; And generates a variable authentication value of the mobile ID including the terminal ID of the user terminal in case of (2); A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; A processor for generating a variable authentication value of the mobile ID; And supporting the authentication server to obtain the variable authentication value of the mobile ID, thereby enabling the authentication server to obtain the terminal ID from the variable authentication value in the case of (1) above. The time stamp; The user signature value; And a public key of the user; And in the case (2), extracting the terminal ID from the variable authentication value; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value And searching the private block chain database for the merch tree information and the leaf node information stored in the private block chain database and referring to the retrieved merch tree information and leaf node information, (1), the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value is used to determine the time stamp from the user signature value And verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid. In case (2), the variable authentication Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the user signature value, Check that the randomness contained in the signal matches Communication support check the validity of the user signature value, and to transmit the authentication result information for the user of the validity of the identified value of the user signature in the authentication request terminal; A user terminal is provided.

이 외에도, 본 발명의 방법을 실행하기 위한 컴퓨터 프로그램을 기록하기 위한 컴퓨터 판독 가능한 기록 매체가 더 제공된다.In addition, a computer readable recording medium for recording a computer program for executing the method of the present invention is further provided.

본 발명에 의하면, 다음과 같은 효과가 있다.The present invention has the following effects.

본 발명은 가상 화폐의 블록체인에 사용자 인증서를 등록하여 복사 또는 위/변조가 불가능하도록 할 수 있다.The present invention can register a user certificate in a block chain of virtual money to make it impossible to copy or up / modulate.

또한, 본 발명은 사용자 인증서를 해쉬 함수와 암호화 기술을 이용하여 보안이 보장되고 위/변조가 불가능하도록 할 수 있다.In addition, the present invention can secure the security of the user certificate using the hash function and the encryption technique, and make it impossible to up / modulate the user certificate.

또한, 본 발명은 일회성의 가변 인증값을 통해 사용자를 인증하여 주므로 사용자 정보 도용에 따른 문제점을 미연에 방지할 수 있도록 한다.In addition, since the present invention authenticates a user through a one-time variable authentication value, it is possible to prevent problems caused by user information theft.

도 1은 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 시스템을 개략적으로 도시한 것이고,
도 2는 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서 모바일 아이디를 발급하는 방법을 개략적으로 도시한 것이고,
도 3과 도 4는 본 발명의 일 실시예에 따른 모바일 아이디와 관련한 트랜잭션을 퍼블릭 블록체인 데이터베이스에 등록하는 과정을 개략적으로 도시한 것이고,
도 5는 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서 발급된 모바일 아이디를 예시적으로 도시한 것이고,
도 6은 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 개략적으로 도시한 것이고,
도 7은 본 발명의 다른 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 개략적으로 도시한 것이고,
도 8은 본 발명의 또 다른 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 개략적으로 도시한 것이다.
FIG. 1 schematically illustrates a system for authenticating a user using a mobile ID according to an embodiment of the present invention,
2 schematically illustrates a method of issuing a mobile ID in a method of authenticating a user using a mobile ID according to an embodiment of the present invention,
FIG. 3 and FIG. 4 schematically show a process of registering a transaction related to a mobile ID in a public block chain database according to an embodiment of the present invention,
5 illustrates an example of a mobile ID issued in a method of authenticating a user using a mobile ID according to an embodiment of the present invention,
6 schematically shows a method of authenticating a user using a mobile ID according to an embodiment of the present invention,
7 schematically shows a method of authenticating a user using a mobile ID according to another embodiment of the present invention,
FIG. 8 is a schematic view illustrating a method of authenticating a user using a mobile ID according to another embodiment of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment. It is also to be understood that the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, so that those skilled in the art can easily carry out the present invention.

도 1은 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 시스템을 개략적으로 도시한 것으로, 시스템은 사용자 단말(100), 인증 요청 단말(110), 및 인증 서버(200)를 포함할 수 있다.FIG. 1 schematically illustrates a system for authenticating a user using a mobile ID according to an embodiment of the present invention. The system includes a user terminal 100, an authentication request terminal 110, and an authentication server 200 .

사용자 단말(100)은 모바일 아이디를 표시하여 주는 모바일 디바이스로, 모바일 컴퓨터, PDA/EDA, 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있다. 그리고, 사용자 단말(100)은 이에 한정되지 않으며, 유무선 통신 기능을 가진 휴대용 게임기, 디지털 카메라 개인 내비게이션 등의 모든 모바일 디바이스를 포함할 수 있다. 또한, 사용자 단말(100)은 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다The user terminal 100 is a mobile device that displays a mobile ID, and may include a mobile computer, a PDA / EDA, a mobile phone, a smart phone, a tablet, and the like. The user terminal 100 is not limited to this, and may include all mobile devices such as a portable game machine having a wired / wireless communication function, a digital camera personal navigation, and the like. In addition, the user terminal 100 may include a communication unit for supporting transmission and reception of information and a processor for processing information

인증 요청 단말(110)은 사용자 단말(100)을 통해 표시되는 모바일 아이디로부터 가변 인증값을 획득하는 리더기의 신호를 획득하는 컴퓨팅 장치 또는 사용자 단말(100)과의 통신을 통해 가변 인증값을 획득하는 컴퓨팅 장치를 포함하는 것으로, 데스크톱 컴퓨터, 모바일 컴퓨터, PDA/EDA, 스마트폰, 태블릿 등을 포함할 수 있다. 그러나, 인증 요청 단말(110)은 이에 한정되지 않으며, 일반적인 연산 처리를 수행하는 컴퓨팅 장치로, 서버를 포함할 수도 있다.The authentication request terminal 110 obtains the variable authentication value through communication with the computing device or the user terminal 100 that obtains the signal of the reader that obtains the variable authentication value from the mobile ID displayed through the user terminal 100 A computing device, and may include a desktop computer, a mobile computer, a PDA / EDA, a smart phone, a tablet, and the like. However, the authentication request terminal 110 is not limited to this, and may be a computing device that performs general operation processing, and may include a server.

인증 서버(200)는 통신부(210)와 프로세서(220)를 포함할 수 있다. 동일한 참조 부호를 이용하여 나타낸 것은 설명의 편의를 위한 것일 뿐, 이들 개별 장치들이 동일하다는 의미로 의도된 것은 아니다. 그리고, 본 발명의 다른 실시예에서의 방법은 서버를 상이하게 구성하여 해당 방법을 수행하거나 동일한 인증 서버(200)를 통해 해당 방법을 수행할 수도 있다. 또한, 인증 서버(200)는 프라이빗 블록체인 데이터베이스의 각각의 노드에 대응되는 서버이거나, 프라이빗 블록체인 데이터베이스의 각각의 노드를 관리하는 서버일 수 있다.The authentication server 200 may include a communication unit 210 and a processor 220. The use of the same reference numerals is for convenience of explanation only and is not intended to mean that these individual devices are the same. In another embodiment of the present invention, a server may be configured differently to perform the corresponding method, or may perform the corresponding method through the same authentication server 200. Also, the authentication server 200 may be a server corresponding to each node of the private block-chain database, or a server for managing each node of the private block-chain database.

구체적으로, 인증 서버(200)는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, the authentication server 200 typically includes a computing device (e.g., a computer processor, memory, storage, input and output devices, and other devices capable of including components of a conventional computing device; (E. G., An electronic information storage system such as a network attached storage (NAS) and a storage area network (SAN)) and computer software (i. E. Instructions that cause a computing device to function in a particular manner) Performance. ≪ / RTI >

이와 같은 컴퓨팅 장치의 통신부(210)는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는 바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit 210 of such a computing device can send and receive requests and responses to and from other interworking computing devices. As an example, such requests and responses can be made by the same TCP session, For example, as a UDP datagram.

또한, 컴퓨팅 장치의 프로세서(220)는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐쉬 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.The processor 220 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. It may further include a software configuration of an operating system and an application that performs a specific purpose.

이와 같이 구성된 시스템을 통해 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 설명하면 다음과 같다.A method for authenticating a user using a mobile ID according to an exemplary embodiment of the present invention will now be described with reference to FIG.

먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서 모바일 아이디를 발급하는 방법을 설명한다.First, a method of issuing a mobile ID in a method of authenticating a user using a mobile ID according to an embodiment of the present invention will be described with reference to FIG.

사용자가 모바일 아이디를 발급받기 위하여 사용자 단말(100)을 통해 인증 서버(200)에 접속한 상태, 일 예로, 사용자가 모바일 아이디를 발급받기 위한 애플리케이션을 사용자 단말(100)에서 실행하고, 발급받기 위한 모바일 아이디에 필요한 모바일 아이디 정보를 입력하게 된다(S200). 이때, 모바일 아이디는 운전면허증, 건강보험증, 외국인등록증, 공무원증, 청소년증, 장애인등록증, 주민등록증가 같은 공공 아이디뿐만 아니라 국가자격증, 민간자격증, 사원증, 학생증 등과 같이 일반적으로 사용되는 모든 아이디를 포함할 수 있다.In a state in which the user is connected to the authentication server 200 through the user terminal 100 in order to receive the mobile ID, for example, the user executes an application for issuing the mobile ID in the user terminal 100, The mobile ID information necessary for the mobile ID is input (S200). At this time, the mobile ID may include all commonly used IDs such as a national license, a private license, an employee ID, a student ID, as well as a public ID such as a driver's license, a health insurance card, an alien registration card, a civil service card,

그리고, 사용자가 모바일 아이디 정보 입력이 완료되어 모바일 아이디 발급 신청을 하면, 사용자 단말(100)은 모바일 아이디 발급 신청 트랜잭션을 인증 서버(200)로 전송한다(S210). 이때, 모바일 아이디 발급 신청 트랜잭션은 사용자에 의해 입력된 모바일 아이디 정보를 포함하며, 모바일 아이디 정보는 사용자의 사진 이미지 및 각 신분증 별 표시 정보일 수 있다. 또한, 모바일 아이디 정보는 사용자의 개인 정보를 포함할 수 있다.Then, when the user inputs the mobile ID information and requests the issuance of the mobile ID, the user terminal 100 transmits the mobile ID issuance request transaction to the authentication server 200 (S210). At this time, the mobile ID issue request transaction includes the mobile ID information input by the user, and the mobile ID information may be the photo image of the user and the display information of each ID card. In addition, the mobile ID information may include personal information of the user.

그러면, 인증 서버(200)는 사용자 단말(100)로부터 적어도 사용자 정보를 포함하는 모바일 아이디 발급 신청 트랜잭션을 획득하고, 획득된 사용자 정보 등을 이용하여 사용자를 확인한다(S211). 이때, 사용자 확인은 공개 키 기반(PKI: Public Key Infrastructure) 인증서를 이용하거나 사용자의 개인 정보 등을 이용할 수 있으나, 이에 한정되는 것은 아니다. 일 예로, 공개 키 기반 인증서인 공인인증서, OPSign 인증서 등을 통해 특정 발행자를 확인하거나, 주민 번호, 여권, 법인 등록 번호, 사업자 등록 번호 등과 같이 개인, 은행 또는 단체의 신분을 증명할 수 있는 개인 정보 등을 통해 사용자를 확인할 수 있다.Then, the authentication server 200 obtains a mobile ID issue application transaction including at least user information from the user terminal 100, and confirms the user using the obtained user information (S211). At this time, the user confirmation may use a public key infrastructure (PKI) certificate or use personal information of the user, but the present invention is not limited thereto. For example, it is possible to identify a specific issuer through public key based certificate, OPSign certificate, etc., or personal information such as a resident registration number, a passport, a corporation registration number, a business registration number, etc., To identify the user.

그리고, 사용자가 확인되면, 인증 서버(200)는 사용자 단말(100)로 인증서 등록 요청 신호를 전송한다(S212)When the user is confirmed, the authentication server 200 transmits a certificate registration request signal to the user terminal 100 (S212)

그러면, 사용자 단말(100)는 인증서 등록 요청 신호에 대응하여 인증키인 퍼블릭 키와 프라이빗 키를 생성하게 되며(S214), 사용자에 의해 프라이빗 키에 대한 사용자 접근을 제어하기 위한 확인 정보가 설정되도록 한다(S215). 이때, 확인 정보는 프라이빗 키에 접근하기 위한 패스 정보로, 비밀 번호, 생체 정보 등을 포함할 수 있다. 이와는 달리 프라이빗 키에 대한 접근 제어를 위한 확인 정보의 설정을 생략할 수도 있다.In response to the certificate registration request signal, the user terminal 100 generates a public key and a private key, which are authentication keys (S214), and sets confirmation information for controlling the user access to the private key by the user (S215). At this time, the confirmation information is path information for accessing the private key, and may include a password, biometric information, and the like. Alternatively, the setting of confirmation information for access control on the private key may be omitted.

이후, 사용자 단말(100)은 인증키 중 사용자의 퍼블릭 키를 추출하며, 추출된 사용자의 퍼블릭 키와 사용자 단말의 단말 아이디를 포함하는 인증서 등록 정보를 인증 서버(200)로 전송하여 주며(S215), 인증 서버(200)는 사용자 단말(100)로부터 전송되어 획득되는 인증서 등록 정보를 참조하여 사용자의 인증서를 생성한다(S216). 즉, 인증 서버(200)는 인증서 등록 정보로부터 획득되는 퍼블릭 키와 단말 아이디에 더하여, 확인된 사용자 정보에 해쉬 함수를 적용하여 생성한 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 생성한다. 이때, 해쉬값 생성을 위한 해쉬 함수는 MD4 함수, MD5 함수, SHA-0 함수, SHA-1 함수, SHA-224 함수, SHA-256 함수, SHA-384 함수, SHA-512 함수 및 HAS-160 함수를 포함할 수 있으나, 이에 한정되지 않음은 통상의 기술자가 알 수 있을 것이다. 예를 들어 Triple SHA256도 가능할 것이다.Then, the user terminal 100 extracts the public key of the user among the authentication keys, and transmits the certificate registration information including the extracted public key of the user and the terminal ID of the user terminal to the authentication server 200 (S215) , The authentication server 200 generates the user's certificate with reference to the certificate registration information transmitted and obtained from the user terminal 100 (S216). That is, the authentication server 200 generates, in addition to the public key and the terminal ID obtained from the certificate registration information, a user certificate including a hash value for the user information generated by applying the hash function to the confirmed user information. The hash function for generating the hash value is MD4 function, MD5 function, SHA-0 function, SHA-1 function, SHA-224 function, SHA-256 function, SHA-384 function, SHA-512 function and HAS-160 function But it should be understood that the present invention is not limited thereto. For example, Triple SHA256 would be possible.

그리고, 인증 서버(200)는 생성된 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고, 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서의 프라이빗 블록체인 데이터베이스 상의 위치 정보를 나타내는 프라이빗 트랜잭션 아이디를 획득하여 관리한다. 참고로, 프라이빗 블록체인 데이터베이스는 인증 서버(200)가 관리하는 데이터베이스일 수 있다.The authentication server 200 registers the generated user certificate in the private block chain database and acquires and manages a private transaction ID indicating the location information on the private block chain database of the user certificate registered in the private block chain database. For reference, the private block chain database may be a database managed by the authentication server 200. [

그리고, 인증 서버(200)는 소정의 조건, 일 예로 퍼블릭 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값 및 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 생성한다(S217).When the triggering condition for registering a predetermined hash value in the public block chain database is satisfied, the authentication server 200 determines whether a specific hash value generated by applying a hash function to the user certificate and a specific hash value A representative hash value or a representative hash value, which is a merge root, is generated by calculating at least one neighboring hash value matched with the representative hash value (S217).

그리고, 인증 서버(200)는 생성된 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원하며(S218), 퍼블릭 블록체인 데이터베이스(300)에 등록된 대표 해쉬값 또는 대표 해쉬값을 가공한 값인 머클 루트의 퍼블릭 블록체인 데이터베이스 상의 위치 정보를 나타내는 통화 발행 퍼블릭 트랜잭션 아이디를 획득하거나 획득하도록 지원할 수 있다(S219). 이때, 서버(100)는 통화 발행 퍼블릭 트랜잭션 아이디에 대응되는 데이터 메시지를 퍼블릭 블록체인 데이터베이스(300)로부터 획득할 수 있다.In step S218, the authentication server 200 supports registration or registration of the generated value of the representative hash value or the representative hash value in the public block chain database 300. In the public block chain database 300, (S219) to obtain or obtain a currency-issuing public transaction ID indicating location information on the public block chain database of the merchant, which is a value obtained by processing the representative hash value or the representative hash value registered in the public key chain database. At this time, the server 100 can acquire the data message corresponding to the call issuing public transaction ID from the public block chain database 300. [

이때, 인증 서버(200)는 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.At this time, the authentication server 200 can store and manage a specific hash value and at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 인증 서버(200)는 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 소정의 조건이 만족되면, 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원할 수 있다.In other words, the authentication server 200 can support a particular hash value to generate or generate a merkle tree assigned to a particular leaf node, and if the predetermined condition is satisfied, It is possible to register or register a value obtained by processing a representative hash value or a representative hash value, which is a merge root generated by computing a hash value assigned to a leaf node, in the public block chain database 300.

좀 더 구체적으로 설명하면, (x1) 인증 서버(200)는, (i) 특정 해쉬값과 (ii) 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 인증 서버(200)는, 부모 노드에 할당된 해쉬값을 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the authentication server 200 supports to calculate or calculate a hash value assigned to (i) a particular hash value and (ii) a sibling node of a node to which a particular hash value is assigned, And to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the authentication server 200 repeats (x1) to (x3) with the hash value assigned to the parent node as a specific hash value.

그리고, 인증 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 대표 해쉬값으로서 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원한다. 이때, 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.The authentication server 200 finally supports registration or registration of the hash value assigned to the root node of the merge tree in the public block chain database 300 as a representative hash value. At this time, a value obtained by processing the representative hash value may be registered. For example, a result obtained by performing a hex operation on a representative hash value may be registered.

한편, 인증 서버(200)가 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 제1 데이터 구조와 제2 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, when the authentication server 200 stores a specific hash value and at least one neighbor hash value in a predetermined first data structure and then stores and manages a second data structure of the same type as the first data structure, The first data structure and the second data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제1 데이터 구조 및 제2 데이터 구조가 머클 트리인 경우, 제1 데이터 구조의 루트값 또는 루트값의 해쉬값이 제2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the first data structure and the second data structure are merc trees as in the above example, the root value of the first data structure or the hash value of the root value may be assigned to the first leaf node of the second data structure .

또한, 제2 데이터 구조를 생성할 때는 제1 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀 더 보장될 수 있다. 제2 데이터 구조의 검증에 대해서는 후술하기로 한다. Further, when the second data structure is generated, verification of the first data structure is performed, so that data integrity can be further ensured. Verification of the second data structure will be described later.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 인증 서버(200)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다. In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the authentication server 200 can be allocated when generating a merge tree.

도 3 및 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 것이다.Figures 3 and 4 illustrate an example of a merge tree generated in accordance with 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}))을 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원할 수 있다FIG. 3 shows a merge tree having four leaf nodes. Since the illustrated merge tree is the first merge tree (tree_id = 0), it can be seen that a hash value (sha256 (coinplug_unique_message)) of a predetermined message data is assigned to the first leaf node h0. If there is a registration request (i.e., a write request related to the mobile ID) for the record data, the authentication server 200 generates the next leaf node of the last leaf node of the currently configured merge tree, And assigns or assigns the processed value. For example, if a new leaf node needs to be created in a state where the value assignment from the merge tree to the h1 node as the second leaf node is completed, a h2 node, which is a next leaf node, is generated to process a specific hash value or a specific hash value One value (sha256 (input2)) can be assigned. In addition, the authentication server 200 may support computing or computing (i) a particular hash value assigned to the h2 node and (ii) a hash value assigned to the h3 node, which is a sibling node of the h2 node. The hash value for the operation value is assigned to the h2 node and the parent node (h23 node) of the h3 node. Since the parent node (h23 node) is not the root node of the merge tree, the authentication server 200 can repeat the above process with the hash value assigned to the h23 node as a specific hash value. That is, the hash value assigned to the h23 node is set as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated and assigned to the h23 node and the parent node (h0123 node) of the h01 node have. Since the h0123 node is the root node of the merge tree, the authentication server 200 registers the value (hex (h {node_index}) obtained by processing the hash value assigned to the node h0123 in the public block chain database 300 or registers Can support

한편, 전술한 소정의 조건이란, (i) 소정의 개수만큼 모바일 아이디와 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.The predetermined conditions include (i) a condition in which a transaction related to a mobile ID is generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in a private block chain database, (iv) conditions for service characteristics.

한편, 예를 들어, 복수의 통화 관련 트랜잭션이 머클 트리의 리프 노드 수만큼 획득되면 머클 트리를 생성하고, 머클 트리의 루트값을 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원할 수 있다.On the other hand, for example, when a plurality of call-related transactions are obtained for the leaf nodes of the merge tree, a merge tree may be created, and the root value of the merge tree may be registered or registered in the public block chain database 300.

또한, 인증 서버(200)는 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) 조건). 이 경우 인증 서버(100)는 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 퍼블릭 블록체인 데이터베이스(300)에 등록하거나 등록하도록 지원할 수 있다. Also, the authentication server 200 can generate the root value of the aforementioned mu tree at predetermined time intervals (condition (ii) above). In this case, when a predetermined time elapses, the authentication server 100 may generate a merge tree using the input values up to that time and register or register the root value of the merge tree in the public block chain database 300. [

그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해쉬값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 소정의 조건이 만족되었음에도 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 인증 서버(200)는, 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 인증 서버(200)는 특정 해쉬값을 복제하여 형제 노드에 할당하거나 할당하도록 지원할 수 있다.In this case, although a predetermined time has elapsed, a value may not be assigned to a sibling node of a node to which a particular hash value of the merge tree is assigned. If a hash value is not assigned to a sibling node of a node to which a specific hash value is allocated even though a predetermined condition is satisfied, the authentication server 200 supports to assign or assign a predetermined hash value to the sibling node, The root value of the muckle tree can be calculated. For example, the authentication server 200 may support copying and assigning or assigning a particular hash value to a sibling node.

그리고, 서비스 특성이란, 모바일 아이디와 관련한 트랜잭션을 발행한 발행자가 제공한 비용 정보, 모바일 아이디 관련 트랜잭션 등록이 이루어지는 시간대 정보, 모바일 아이디 관련 트랜잭션 등록 서비스가 이루어지는 지역 정보, 모바일 아이디 관련 트랜잭션 등록 요청을 한 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기서 기재한 것에 한정할 것은 아니고, 통상적으로 인정되는 차등적 서비스가 제공될 수 있는 다양한 조건 정보를 포함한다.The service characteristics include the cost information provided by the issuer that issued the transaction related to the mobile ID, the time zone information in which the mobile ID related transaction registration is performed, the area information in which the mobile ID related transaction registration service is performed, And may be at least a part of the company type information. However, the present invention is not limited to the one described here, but includes various condition information in which a generally accepted differential service can be provided.

한편, 새로운 머클 트리 생성이 시작되고, 모바일 아이디 관련 트랜잭션이 없는 상태에서 소정의 조건이 만족되면, 인증 서버(220)는, 소정의 메시지 데이터가 첫번째 리프 노드와 두번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트값 또는 이를 가공한 값을 퍼블릭 블록체인 데이터베이스(200)에 등록하거나 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, when a new merge tree generation is started and a predetermined condition is satisfied in a state where there is no mobile ID related transaction, the authentication server 220 determines that the predetermined message data is a merge tree allocated to the first leaf node and the second leaf node And supports the registration or registration of the root value of the merge tree or the processed value in the public block chain database 200. In this case, a merge tree with two leaf nodes may be created.

한편, 전술한 것처럼 인증 서버(200)가 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 제1 데이터 구조와 제2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 제1 데이터 구조 및 제2 데이터 구조가 머클 트리인 경우, 제1 데이터 구조의 루트값 또는 루트값의 해쉬값이 제2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.Meanwhile, as described above, the authentication server 200 stores a specific hash value and at least one neighbor hash value in a predetermined first data structure, and then stores and manages a second data structure of the same type as the first data structure In this case, the first data structure and the second data structure may be connected in a chain form. In particular, if the first data structure and the second data structure are merc trees, the root value of the first data structure or the hash value of the root value may be assigned to the first leaf node of the second data structure.

도 4는 본 발명의 일 실시예에 따라 제2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 is a diagram illustrating a merge tree generated as a second 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 merge tree (tree_id = 0) of FIG. 3 is assigned to the first leaf node (h4 node) of the new merge tree (sha256 (input4)). The present invention has an advantage of improving data integrity by enabling easy tracking even when data is modulated in the middle by connecting a plurality of data structures generated at the time of occurrence of a transaction.

그리고, 인증 서버(200)는 사용자의 인증서 생성에 대응하여, 사용자 단말(100)로 모바일 아이디를 발급하여 줄 수 있다(S220). 즉, 사용자의 인증서 생성 이후, 인증 서버(200)는 사용자의 인증서를 프라이빗 블록체인 데이터베이스와 퍼블릭 블록체인 데이터베이스에 등록하는 것과 병행하여 사용자 단말(100)로 모바일 아이디를 발급하여 줄 수 있다.The authentication server 200 may issue a mobile ID to the user terminal 100 in response to the user's certificate creation (S220). That is, after the user's certificate is generated, the authentication server 200 may issue a mobile ID to the user terminal 100 in parallel with registering the user's certificate in the private block chain database and the public block chain database.

이때, 모바일 아이디는 도 5에서와 같이, 사용자 단말(100)인 모바일 디바이스에서 사용 가능하도록 하는 것으로, 모바일 아이디 정보(10) 영역과 가변 인증값(20) 영역을 가질 수 있다.As shown in FIG. 5, the mobile ID can be used in a mobile device that is a user terminal 100, and may have a mobile ID information area 10 and a variable authentication value area 20.

모바일 아이디 정보(10)는 각 아이디 별 표시하여야 하는 사용자 정보에 관한 것으로, 사진 이미지, 성명, 아이디 번호 등의 정보를 포함하는 것으로, 모바일 아이디가 구현하고자 하는 신분증의 표시 정보에 따라 달라질 수 있으며, 해당 정보는 사용자 단말(100)에 저장되거나 인증 서버(200)에 저장될 수 있다.The mobile ID information 10 is related to user information to be displayed for each ID and includes information such as a photograph image, a name and an ID number. The mobile ID information 10 can be changed according to display information of an ID card to be implemented, The information may be stored in the user terminal 100 or in the authentication server 200.

그리고, 가변 인증값(20)은 사용자의 프라이빗 키로 서명된 사용자 서명값으로 사용자의 인증을 위한 정보를 포함하는 것으로, 인증이 이루어질 때마다 변화된 값을 가짐으로써 사용자 정보 도용에 따른 문제점을 미연에 방지할 수 있게 된다.The variable authentication value 20 includes information for user authentication with a user signature value signed by the user's private key, and has a changed value every time authentication is performed, thereby preventing a problem caused by user information theft .

이와 같은 방법에 의해 모바일 아이디가 발급된 상태에서, 본 발명의 일 실시예에 따라 모바일 아이디를 이용하여 사용자를 인증하는 방법을 도 6을 참조하면 설명하면 다음과 같다.Referring to FIG. 6, a method for authenticating a user using a mobile ID according to an embodiment of the present invention in a state where a mobile ID is issued by the above method will be described.

도 2의 방법에 의해 사용자의 사용자 단말에 대한 단말 아이디, 및 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스(300)에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자가 모바일 아이디를 이용하여 사용자 인증을 요청하기 위하여 사용자의 프라이빗 키와 퍼블릭 키를 저장하고 있는 사용자 단말(100)로 사용자 인증 요청 신호를 입력하면(S1), 사용자 단말(100)은 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 인증 서버(200)로 전송하여 준다(S2).The user certificate including the terminal ID of the user terminal of the user and the hash value of the user information of the user is registered in the private block chain database and the corresponding private transaction ID is managed by the method of FIG. A value obtained by processing a representative hash value or a representative hash value obtained by computing at least one neighboring hash value matching a specific hash value and a specific hash value generated by applying the hash function is registered in the public block chain database 300, When the user inputs a user authentication request signal to the user terminal 100 storing the user's private key and public key in order to request the user authentication using the mobile ID in the state of managing the public transaction ID, ), The user terminal 100 has at least a public key of the user, Gives sends a user authentication request including a transaction ID to the authentication server (200) (S2).

그러면, 인증 서버(200)는 획득된 사용자 인증 요청 트랜잭션의 사용자의 퍼블릭 키와 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 검색하여 검색된 프라이빗 트랜잭션 아이디를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다.Then, the authentication server 200 searches the private transaction ID corresponding to the user's public key and the terminal ID of the acquired user authentication request transaction, and refers to the private transaction ID thus found to check the user certificate registered in the private block chain database have.

또한, 이와는 달리, 인증 서버(200)는 사용자의 퍼블릭 키와 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 인증서 확인 트랜잭션을 퍼블릭 블록체인 데이터베이스(300)로 전송함으로써(S3), 퍼블릭 블록체인 데이터베이스(300)로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색한다. 그리고, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다(S4). 여기서, 데이터 메시지의 예로서, 비트코인의 OP 리턴 메시지 등을 상정할 수 있을 것이다.Alternatively, the authentication server 200 may transmit the certificate confirmation transaction to the public block chain database 300 (S3) using the public transaction ID corresponding to the user's public key and the terminal ID (S3) 300 and stores the merge tree information and leaf node information stored in the private block chain database in association with a value obtained by processing the representative hash value or the representative hash value included in the data message, Search in the database. The user certificate registered in the private block chain database can be checked by referring to the retrieved merge tree information and leaf node information (S4). Here, as an example of the data message, an OP return message of bit coin or the like may be assumed.

이때, 인증 서버(200)는 확인된 사용자 인증서가 유효한지를 확인하며, 사용자와 매칭되는 인증서가 없거나 사용자 인증서가 폐기 등에 의해 유효하지 않을 경우에는 사용자 단말로 인증 실패에 대응하는 에러 신호를 전송하여 줄 수 있다.At this time, the authentication server 200 checks whether the confirmed user certificate is valid, and if the user does not have a matching certificate or the user certificate is invalid due to disposal or the like, the authentication server 200 transmits an error signal corresponding to the authentication failure to the user terminal .

그리고, 인증 서버(200)는 확인된 사용자 인증서를 참조하여 사용자 정보에 대한 해쉬값을 획득한다.Then, the authentication server 200 acquires a hash value of the user information with reference to the identified user certificate.

이후, 인증 서버(200)는 사용자 단말(100)로 랜덤 논스와 사용자 정보에 대한 해쉬값을 단말 아이디와 매칭되는 사용자의 사용자 단말로 전송하여 줄 수 있다(S5). 이때, 인증 서버(200)는 사용자 단말(100)로 랜덤 논스만 사용자 단말(100)로 전송하여 줄 수도 있다.Thereafter, the authentication server 200 may transmit the random hash value and the hash value of the user information to the user terminal 100 (S5). At this time, the authentication server 200 may transmit only the random non-existence to the user terminal 100 to the user terminal 100.

첫째, 인증 서버(200)가 사용자 단말(100)로 랜덤 논스와 사용자 정보에 대한 해쉬값을 단말 아이디와 매칭되는 사용자의 사용자 단말(100)로 전송하여 주는 경우, 사용자 단말(100)은 사용자에게 확인 정보 입력을 요청할 수 있으며(S6), 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치할 경우 프라이빗 키에 대한 접근을 허용하여 랜덤 논스를 사용자의 프라이빗 키를 이용하여 서명한 사용자 서명값을 생성한다(S7). 그러나, 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치하지 않을 경우 프라이빗 키에 대한 접근을 불허하여 사용자 서명값의 생성이 이루어지지 않도록 한다.First, when the authentication server 200 transmits a random nonce and a hash value of the user information to the user terminal 100 matching the terminal ID with the user terminal 100, the user terminal 100 transmits the hash value to the user (S6). If the confirmation information input by the user matches the set information, access to the private key is allowed to generate random signature, and the user signature value signed using the user's private key is generated (S7). However, if the confirmation information input by the user does not match the set information, access to the private key is denied and the user signature value is not generated.

그리고, 사용자 단말(100)은 도 5에서와 같은 모바일 아이디가 표시되도록 한다(S8). 즉, 사용자 단말(100)은 단말에 저장되어 있거나 인증 서버를 통해 획득한 사진 이미지 및 신분증 별 표시 정보인 모바일 아이디 정보를 표시하여 준다. 그리고, 랜덤 논스를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자 정보에 대한 해쉬값을 포함하여 생성한 가변 인증값을 표시하여 준다. 이때, 가변 인증값은 랜덤 논스를 포함할 수도 있다. 또한, 가변 인증값은 동일한 사용자라도 랜덤 논스에 따라 변화되는 것으로 인증 서버가 한 번의 인증이 이루질 때마다 새로운 랜덤 논스를 제공할 수 있다.Then, the user terminal 100 displays the mobile ID as shown in FIG. 5 (S8). That is, the user terminal 100 displays the photograph image stored in the terminal or acquired through the authentication server and the mobile ID information, which is display information according to the identification card. Then, a variable authentication value including the user signature value signed by the user's private key and the hash value for the user information is displayed. At this time, the variable authentication value may include random nonce. Also, the variable authentication value is changed according to the random non-existence of the same user, and the authentication server can provide a new random nonce every time authentication is performed.

이 상태에서, 사용자가 사용자 인증을 위하여 모바일 아이디를 제시하면, 인증 요청 단말(110)은 사용자 단말(100)에 표시된 모바일 아이디로부터 가변 인증값을 획득하여(S9) 인증 서버(200)로 전송하여 준다(S10).In this state, when the user presents a mobile ID for user authentication, the authentication request terminal 110 obtains a variable authentication value from the mobile ID displayed in the user terminal 100 (S9) and transmits it to the authentication server 200 (S10).

이때, 가변 인증값은 바 코드, QR 코드, 및 NFC 태그 정보 중 적어도 하나 이상을 포함할 수 있으며, 인증 요청 단말(110)은 QR 리더기, NFC 리더기에 직접적이나 간접적으로 결합된 컴퓨팅 장치일 수 있다. 일 예로, 인증 요청 단말(110)은 QR 리더기를 통해 모바일 아이디의 가변 인증값인 QR 코드를 인식하여 인증 서버로 전송하여 줄 수 있다. 또한, NFC 리더기를 이용할 경우, NFC 리더기를 통해 모바일 아이디의 가변 인증값인 NFC 태그 정보를 수신하거나, 사용자 또는 제3 자가 모바일 아이디의 가변 인증값을 클릭함으로써 사용자 단말(100)이 가변 인증값을 NFC 리더기 등으로 송신할 수도 있다.At this time, the variable authentication value may include at least one of a bar code, a QR code, and NFC tag information, and the authentication request terminal 110 may be a computing device directly or indirectly coupled to a QR reader or an NFC reader . For example, the authentication request terminal 110 can recognize the QR code, which is a variable authentication value of the mobile ID, through the QR reader and transmit the same to the authentication server. When the NFC reader is used, the user terminal 100 receives the NFC tag information, which is the variable authentication value of the mobile ID through the NFC reader, or the user or the third party clicks the variable authentication value of the mobile ID, NFC reader or the like.

그러면, 인증 서버(200)는 인증 요청 단말(110)로부터 획득된 가변 인증값으로부터 사용자 서명값, 및 사용자 정보에 대한 해쉬값을 추출하며, 추출된 사용자 정보에 대한 해쉬값과 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값의 유효 여부를 확인하고(S11), 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말로 전송하여 준다(S12).Then, the authentication server 200 extracts the user signature value and the hash value of the user information from the variable authentication value obtained from the authentication request terminal 110, and extracts the hash value of the user certificate matching the hash value of the extracted user information The validity of the user signature value is confirmed using the public key of the user (S11), and the authentication result information for the user according to the validity of the verified user signature value is transmitted to the authentication request terminal (S12).

이때, 인증 서버(200)는 가변 인증값으로부터 추출된 사용자 정보에 대한 해쉬값과 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값으로부터 랜덤 논스를 추출하며, 사용자 서명값으로부터 추출된 랜덤 논스와 저장된 즉, 사용자 단말(100)로 전송한 랜덤 논스가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 판단한다. 그리고, 가변 인증값에 랜덤 논스가 포함될 경우, 인증 서버(200)는 사용자 서명값으로부터 추출된 랜덤 논스와 가변 인증값으로부터 추출된 랜덤 논스가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 판단할 수도 있다.At this time, the authentication server 200 extracts a random nonce from the user signature value using the user's public key of the user certificate matched with the hash value of the user information extracted from the variable authentication value, It is determined whether or not the user signature value is valid by checking whether or not the nonce is identical to the stored randomness sent to the user terminal 100. [ If the variable authentication value includes randomness, the authentication server 200 may determine whether the user's signature value is valid by checking whether the randomness extracted from the user signature value matches the randomness extracted from the variable authentication value have.

또한, 인증 서버(200)는 랜덤 논스를 사용자 단말로 전송하거나 전송하도록 지원한 제1 시각과 가변 인증값이 획득되는 제2 시각 사이의 시간 간격이 설정값 이상이면, 사용자 인증 요청 트랜잭션을 무효화하며 사용자 단말로 새로운 사용자 인증 요청 트랜잭션을 요구할 수 있다. 이를 통해 인증 서버(200)는 도용 등에 의해 사용자의 모바일 아이디가 이용되는 것을 방지할 수 있다.Also, the authentication server 200 invalidates the user authentication request transaction if the time interval between the first time of supporting transmission or transmission of the random non-existence to the user terminal and the second time of acquisition of the variable authentication value is equal to or larger than the set value The user terminal can request a new user authentication request transaction. Accordingly, the authentication server 200 can prevent the user's mobile ID from being used by theft or the like.

그리고, 인증 요청 단말(110)은 인증 서버(200)로부터 수신되는 인증 결과 정보에 대응하여 모바일 아이디를 사용하는 사용자에 의한 인증을 수행한다.In response to the authentication result information received from the authentication server 200, the authentication request terminal 110 performs authentication by the user using the mobile ID.

둘째, 인증 서버(200)가 사용자 단말(100)로 랜덤 논스를 단말 아이디와 매칭되는 사용자의 사용자 단말(100)로 전송하여 주는 경우, 사용자 단말(100)은 사용자에게 확인 정보 입력을 요청할 수 있으며(S6), 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치할 경우 프라이빗 키에 대한 접근을 허용하여 랜덤 논스를 사용자의 프라이빗 키를 이용하여 서명한 사용자 서명값을 생성한다(S7). 그러나, 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치하지 않을 경우 프라이빗 키에 대한 접근을 불허하여 사용자 서명값의 생성이 이루어지지 않도록 한다.Second, when the authentication server 200 transmits the random nonce to the user terminal 100 matching the terminal ID with the user terminal 100, the user terminal 100 may request the user to input confirmation information (S6). If the confirmation information input by the user agrees with the set information, access to the private key is permitted, and a random signature is generated using the user's private key (S7). However, if the confirmation information input by the user does not match the set information, access to the private key is denied and the user signature value is not generated.

그리고, 사용자 단말(100)은 도 3에서와 같은 모바일 아이디가 표시되도록 한다(S8). 즉, 사용자 단말(100)은 단말에 저장되어 있거나 인증 서버를 통해 획득한 사진 이미지 및 신분증 별 표시 정보인 모바일 아이디 정보를 표시하여 준다. 그리고, 랜덤 논스를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자의 퍼블릭 키를 포함하여 생성한 가변 인증값을 표시하여 준다.Then, the user terminal 100 displays the mobile ID as shown in FIG. 3 (S8). That is, the user terminal 100 displays the photograph image stored in the terminal or acquired through the authentication server and the mobile ID information, which is display information according to the identification card. Then, it displays the variable authentication value including the user signature value signed by the user's private key and the public key of the random nonce.

이 상태에서, 사용자가 사용자 인증을 위하여 모바일 아이디를 제시하면, 인증 요청 단말(110)은 사용자 단말(100)에 표시된 모바일 아이디로부터 가변 인증값을 획득하여(S9) 인증 서버(200)로 전송하여 준다(S10).In this state, when the user presents a mobile ID for user authentication, the authentication request terminal 110 obtains a variable authentication value from the mobile ID displayed in the user terminal 100 (S9) and transmits it to the authentication server 200 (S10).

그러면, 인증 서버(200)는 인증 요청 단말(110)로부터 획득된 가변 인증값으로부터 사용자 서명값, 및 사용자의 퍼블릭 키를 추출하며, 추출된 사용자의 퍼블릭 키와 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값의 유효 여부를 확인하고(S11), 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말로 전송하여 준다(S12).Then, the authentication server 200 extracts the user signature value and the user's public key from the variable authentication value obtained from the authentication request terminal 110, extracts the public key of the user certificate matching the extracted public key, (S11), and transmits the authentication result information about the user according to the validity of the user signature value to the authentication request terminal (S12).

이때, 인증 서버(200)는 가변 인증값으로부터 추출된 사용자의 퍼블릭 키와 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값으로부터 랜덤 논스를 추출하며, 사용자 서명값으로부터 추출된 랜덤 논스와 저장된, 즉 사용자 단말로 전송한 랜덤 논스가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 판단한다. 그리고, 가변 인증값에 랜덤 논스가 포함될 경우, 인증 서버(200)는 사용자 서명값으로부터 추출된 랜덤 논스와 가변 인증값으로부터 추출된 랜덤 논스가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 판단할 수도 있다.At this time, the authentication server 200 extracts a random nonce from the user signature value using the public key of the user certificate matching the user's public key extracted from the variable authentication value, and outputs the random nonce extracted from the user signature value And determines whether the user signature value is valid by confirming whether or not the randomness transmitted to the user terminal is identical. If the variable authentication value includes randomness, the authentication server 200 may determine whether the user's signature value is valid by checking whether the randomness extracted from the user signature value matches the randomness extracted from the variable authentication value have.

또한, 인증 서버(200)는 랜덤 논스를 사용자 단말로 전송하거나 전송하도록 지원한 제1 시각과 가변 인증값이 획득되는 제2 시각 사이의 시간 간격이 설정값 이상이면, 사용자 인증 요청 트랜잭션을 무효화하며 사용자 단말로 새로운 사용자 인증 요청 트랜잭션을 요구할 수 있다. 이를 통해 인증 서버(200)는 도용 등에 의해 사용자의 모바일 아이디가 이용되는 것을 방지할 수 있다.Also, the authentication server 200 invalidates the user authentication request transaction if the time interval between the first time of supporting transmission or transmission of the random non-existence to the user terminal and the second time of acquisition of the variable authentication value is equal to or larger than the set value The user terminal can request a new user authentication request transaction. Accordingly, the authentication server 200 can prevent the user's mobile ID from being used by theft or the like.

그리고, 인증 요청 단말(110)은 인증 서버(200)로부터 수신되는 인증 결과 정보에 대응하여 모바일 아이디를 사용하는 사용자에 의한 인증을 수행한다.In response to the authentication result information received from the authentication server 200, the authentication request terminal 110 performs authentication by the user using the mobile ID.

도 7은 본 발명의 다른 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 개략적으로 도시한 것으로, 도 7에 따른 본 발명의 다른 실시예를 설명하면 다음과 같다.FIG. 7 schematically shows a method of authenticating a user using a mobile ID according to another embodiment of the present invention. Referring to FIG. 7, another embodiment of the present invention will be described.

도 2의 방법에 의해 사용자의 퍼블릭 키, 사용자의 사용자 단말에 대한 단말 아이디, 및 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자가 모바일 아이디를 이용하여 사용자 인증을 요청하기 위하여 사용자의 프라이빗 키와 퍼블릭 키를 저장하고 있는 사용자 단말(100)로 사용자 인증 요청 신호를 입력하면(S100), 사용자 단말(100)은 사용자에게 확인 정보 입력을 요청할 수 있다(S110).2, a user certificate including a public key of the user, a terminal ID of the user terminal of the user, and a hash value of the user information of the user is registered in the private block chain database and the corresponding private transaction ID is managed A representative hash value obtained by computing a specific hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matching the specific hash value or a value obtained by processing the representative hash value is stored in a public block chain database In order to request the user authentication using the mobile ID, the user terminal 100 storing the user's private key and the public key transmits a user authentication request signal to the user terminal 100 storing the public key and the public key Upon inputting (S100), the user terminal 100 uses (S110). ≪ / RTI >

그리고, 사용자 단말(100)은 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치할 경우 현재 시각에 대한 타임스탬프를 생성하고(S111), 프라이빗 키에 대한 접근을 허용하여 생성된 타임스탬프를 사용자의 프라이빗 키를 이용하여 서명한 사용자 서명값을 생성한다(S112). 그러나, 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치하지 않을 경우 프라이빗 키에 대한 접근을 불허하여 사용자 서명값의 생성이 이루어지지 않도록 한다.If the confirmation information input by the user matches the set information, the user terminal 100 generates a time stamp for the current time (S111), permits access to the private key, and stores the generated time stamp in the user's terminal And generates a signed user signature value using the private key (S112). However, if the confirmation information input by the user does not match the set information, access to the private key is denied and the user signature value is not generated.

또한, 사용자 단말(100)은 도 5에서와 같은 모바일 아이디가 표시되도록 한다(S113). 즉, 사용자 단말(100)은 단말에 저장되어 있거나 인증 서버를 통해 획득한 사진 이미지 및 신분증 별 표시 정보인 모바일 아이디 정보를 표시하여 준다. 그리고, 단말 아이디, 타임스탬프, 타임스탬프를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자의 퍼블릭 키를 포함하여 생성한 가변 인증값을 표시하여 준다. 이때, 가변 인증값은 동일한 사용자라도 타임스탬프에 따라 변화되는 것으로 인증 요청 때마다 새로운 인증값을 가지게 된다.Also, the user terminal 100 displays the mobile ID as shown in FIG. 5 (S113). That is, the user terminal 100 displays the photograph image stored in the terminal or acquired through the authentication server and the mobile ID information, which is display information according to the identification card. A variable authentication value generated by including the terminal ID, the time stamp, the time stamp, the user signature value signed by the user's private key, and the user's public key is displayed. At this time, the variable authentication value changes according to the time stamp even by the same user, and has a new authentication value every authentication request.

이 상태에서, 사용자가 사용자 인증을 위하여 모바일 아이디를 제시하면, 인증 요청 단말(110)은 사용자 단말(100)에 표시된 모바일 아이디로부터 가변 인증값을 획득하여(S114) 인증 서버(200)로 전송하여 준다(S115).In this state, when the user presents a mobile ID for user authentication, the authentication request terminal 110 obtains a variable authentication value from the mobile ID displayed on the user terminal 100 (S114) and transmits the variable authentication value to the authentication server 200 (S115).

이때, 가변 인증값은 바 코드, QR 코드, 및 NFC 태그 정보 중 적어도 하나 이상을 포함할 수 있으며, 인증 요청 단말(110)은 QR 리더기, NFC 리더기에 직접적이나 간접적으로 결합된 컴퓨팅 장치일 수 있다. 일 예로, 인증 요청 단말(110)은 QR 리더기를 통해 모바일 아이디의 가변 인증값인 QR 코드를 인식하여 인증 서버로 전송하여 줄 수 있다. 또한 NFC 리더기를 이용할 경우, NFC 리더기를 통해 모바일 아이디의 가변 인증값인 NFC 태그 정보를 수신하거나, 사용자 또는 제3 자가 모바일 아이디의 가변 인증값을 클릭함으로써 사용자 단말(100)이 가변 인증값을 NFC 리더기 등으로 송신할 수도 있다.At this time, the variable authentication value may include at least one of a bar code, a QR code, and NFC tag information, and the authentication request terminal 110 may be a computing device directly or indirectly coupled to a QR reader or an NFC reader . For example, the authentication request terminal 110 can recognize the QR code, which is a variable authentication value of the mobile ID, through the QR reader and transmit the same to the authentication server. When the NFC reader is used, the user terminal 100 receives the NFC tag information, which is the variable authentication value of the mobile ID through the NFC reader, or the user terminal 100 clicks the variable authentication value of the mobile ID, Reader or the like.

그러면, 인증 서버(200)는 인증 요청 단말(110)로부터 획득된 가변 인증값으로부터 단말 아이디, 타임스탬프, 사용자 서명값, 및 사용자의 퍼블릭 키를 추출한다.Then, the authentication server 200 extracts the terminal ID, the time stamp, the user signature value, and the user's public key from the variable authentication value obtained from the authentication request terminal 110.

그리고, 인증 서버(200)는 추출된 사용자의 퍼블릭 키와 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 검색하여, 검색된 프라이빗 트랜잭션 아이디를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다.Then, the authentication server 200 searches the private transaction ID corresponding to the extracted public key and the terminal ID, and confirms the user certificate registered in the private block chain database by referring to the retrieved private transaction ID.

또한, 이와는 달리, 인증 서버(200)는 사용자의 퍼블릭 키와 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 퍼블릭 블록체인 데이터베이스(300)로 인증서 확인 트랜잭션을 전송하고(S116), 퍼블릭 블록체인 데이터베이스(300)로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 프라이빗 블록체인 데이터베이스에서 검색한다. 그리고, 인증 서버(200)는 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다(S117).Alternatively, the authentication server 200 transmits a certificate confirmation transaction to the public block chain database 300 using the public key corresponding to the user's public key and the terminal ID (S116) 300, which is associated with a value obtained by processing the representative hash value or the representative hash value included in the data message, and transmits the merge tree information and leaf node information stored in the private block chain database to a private block Search in the database. Then, the authentication server 200 can confirm the user certificate registered in the private block chain database by referring to the retrieved mu tree tree information and leaf node information (S117).

이때, 인증 서버(200)는 사용자 인증서가 유효한지를 확인하며, 사용자와 매칭되는 인증서가 없거나 사용자 인증서가 폐기 등에 의해 유효하지 않을 경우에는 사용자 단말로 인증 실패에 대응하는 에러 신호를 전송하여 줄 수 있다.At this time, the authentication server 200 checks whether the user certificate is valid, and if the user does not have a certificate matching the user certificate or the user certificate is invalid due to disposal, the authentication server 200 may transmit an error signal corresponding to the authentication failure to the user terminal .

또한, 인증 서버(200)는 가변 인증값으로부터 추출된 사용자의 퍼블릭 키와 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값으로부터 타임스탬프를 추출한다. 그리고, 사용자 서명값으로부터 추출된 타임스탬프와 가변 인증값으로부터 추출된 타임스탬프가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 확인하고(S118), 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말(110)로 전송하여 준다(S119).Also, the authentication server 200 extracts the time stamp from the user signature value using the user's public key of the user certificate matching the public key extracted from the variable authentication value. Then, it is confirmed whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid or not (S118). If the validity of the user signature value is confirmed, And transmits the authentication result information to the authentication request terminal 110 (S119).

또한, 인증 서버(200)는 모바일 아이디의 가변 인증값이 인증 요청 단말로부터 획득되는 시각과 가변 인증값으로부터 추출된 타임스탬프의 시각 사이의 시간 간격이 설정값 이상이면, 사용자 인증 요청을 무효화하며 사용자 단말로 새로운 사용자 인증 요청을 요구할 수 있다. 이를 통해 인증 서버(200)는 도용 등에 의해 사용자의 모바일 아이디가 이용되는 것을 방지할 수 있다.If the time interval between the time at which the variable authentication value of the mobile ID is obtained from the authentication requesting terminal and the time at which the time stamp is extracted from the variable authentication value is equal to or larger than the set value, the authentication server 200 invalidates the user authentication request, The terminal can request a new user authentication request. Accordingly, the authentication server 200 can prevent the user's mobile ID from being used by theft or the like.

그리고, 인증 요청 단말(110)은 인증 서버(200)로부터 수신되는 인증 결과 정보에 대응하여 모바일 아이디를 사용하는 사용자에 의한 인증을 수행한다.In response to the authentication result information received from the authentication server 200, the authentication request terminal 110 performs authentication by the user using the mobile ID.

도 8은 본 발명의 또 다른 실시예에 따른 모바일 아이디를 이용하여 사용자를 인증하는 방법을 개략적으로 도시한 것으로, 도 8을 참조하여 본 발명의 또 다른 실시예를 설명하면 다음과 같다.FIG. 8 schematically shows a method of authenticating a user using a mobile ID according to another embodiment of the present invention. Referring to FIG. 8, another embodiment of the present invention will be described below.

도 2의 방법에 의해 사용자의 퍼블릭 키, 사용자의 사용자 단말에 대한 단말 아이디, 및 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자가 인터넷 웹 페이지 등에서 사용자 인증을 하기 위하여, 사용자의 사용자 식별 정보를 입력하면(S300a), 웹 서버인 인증 요청 단말(110)은 사용자에 의해 입력된 사용자 식별 정보를 인증 서버(200)로 전송하여 준다(S300b). 이때, 사용자 식별 정보는 개별 사용자를 식별하기 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민 번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 전화번호 등을 포함할 수 있다.2, a user certificate including a public key of the user, a terminal ID of the user terminal of the user, and a hash value of the user information of the user is registered in the private block chain database and the corresponding private transaction ID is managed A representative hash value or a representative hash value obtained by calculating at least one neighborhood hash value matching a specific hash value and a specific hash value generated by applying a hash function to the user certificate is registered in the public block chain database In a state where the public transaction ID corresponding to the public transaction ID is managed, when the user inputs the user identification information of the user in order to authenticate the user on the Internet web page or the like (S300a), the authentication request terminal 110, which is the web server, And transmits the input user identification information to the authentication server 200 (S300b). At this time, the user identification information may include user ID, a resident registration number, a user terminal ID, an IP address of the user terminal, a telephone number, and the like.

그러면, 인증 서버(200)는 인증 요청 단말(110)로부터 획득된 사용자 식별 정보를 확인하여 사용자 식별 정보와 대응하여 등록된 사용자 정보를 검색하고(S300c), 검색된 사용자의 사용자 단말로 모바일 아이디를 이용하여 사용자 인증을 요청하기 위하여 사용자 단말(100)로 사용자 인증 요청 신호를 전송한다(S300). 이때, 사용자 인증 요청 신호는 사용자 인증을 요청하는 메시지 또는 랜덤 논스를 포함하는 사용자 인증을 요청하는 메시지일 수 있다.Then, the authentication server 200 checks the user identification information acquired from the authentication request terminal 110 and searches for the registered user information corresponding to the user identification information (S300c). Then, the authentication server 200 uses the mobile ID And transmits a user authentication request signal to the user terminal 100 to request the user authentication (S300). At this time, the user authentication request signal may be a message requesting user authentication including a message requesting user authentication or a random nonce.

그리고, 사용자 단말(100)은 사용자에게 확인 정보 입력을 요청하며(S310), 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치할 경우 현재 시각에 대한 타임스탬프를 생성하고(S311), 프라이빗 키에 대한 접근을 허용하여 생성된 타임스탬프를 사용자의 프라이빗 키를 이용하여 서명한 사용자 서명값을 생성한다(S312). 그러나, 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치하지 않을 경우 프라이빗 키에 대한 접근을 불허하여 사용자 서명값의 생성이 이루어지지 않도록 한다. 이와는 달리, 사용자 인증 요청 신호에 랜덤 논스가 포함되었을 경우, 사용자 단말(100)은 사용자에게 확인 정보 입력을 요청하며, 사용자에 의해 입력되는 확인 정보가 설정된 정보와 일치할 경우 프라이빗 키에 대한 접근을 허용하여 랜덤 논스를 사용자의 프라이빗 키를 이용하여 서명한 사용자 서명값을 생성한다.When the confirmation information input by the user matches the set information, the user terminal 100 generates a time stamp for the current time (S311), and stores the generated time stamp in the private key And creates a user signature value that is signed using the user's private key in step S312. However, if the confirmation information input by the user does not match the set information, access to the private key is denied and the user signature value is not generated. Alternatively, if the random number is included in the user authentication request signal, the user terminal 100 requests the user to input confirmation information. If the confirmation information input by the user matches the set information, the user terminal 100 accesses the private key And generates a user signature value that is signed using the user's private key by allowing random nonce.

또한, 사용자 단말(100)은 단말 아이디, 타임스탬프, 타임스탬프를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자의 퍼블릭 키를 포함하여 생성한 가변 인증값을 인증 서버(200)로 전송하여 준다(S314). 이와는 달리, 사용자 인증 요청 신호에 랜덤 논스가 포함되었을 경우, 사용자 단말(100)은 단말 아이디, 랜덤 논스를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자의 퍼블릭 키를 포함하여 생성한 가변 인증값을 인증 서버(200)로 전송하여 준다.Also, the user terminal 100 transmits the variable authentication value including the terminal ID, the time stamp, the user signature value signed with the user's private key, and the user's public key to the authentication server 200 (S314). Alternatively, when the random number is included in the user authentication request signal, the user terminal 100 generates a variable authentication value including a terminal ID, a random signature, a user signature value signed by the user's private key, To the authentication server (200).

그러면, 인증 서버(200)는 사용자 단말(100)로부터 획득된 가변 인증값으로부터 단말 아이디, 타임스탬프, 사용자 서명값, 및 사용자의 퍼블릭 키를 추출한다. 이와는 달리, 사용자 인증 요청 신호에 랜덤 논스가 포함되었을 경우, 인증 서버(100)는 단말 아이디, 랜덤 논스를 사용자의 프라이빗 키로 서명한 사용자 서명값, 및 사용자의 퍼블릭 키를 추출한다.Then, the authentication server 200 extracts the terminal ID, the time stamp, the user signature value, and the user's public key from the variable authentication value obtained from the user terminal 100. [ Alternatively, when the random authentication is included in the user authentication request signal, the authentication server 100 extracts the terminal ID, the user signature value obtained by signing the random nonce with the user's private key, and the user's public key.

그리고, 인증 서버(200)는 추출된 사용자의 퍼블릭 키와 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 검색하여, 검색된 프라이빗 트랜잭션 아이디를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다.Then, the authentication server 200 searches the private transaction ID corresponding to the extracted public key and the terminal ID, and confirms the user certificate registered in the private block chain database by referring to the retrieved private transaction ID.

또한, 이와는 달리, 인증 서버(200)는 사용자의 퍼블릭 키와 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 퍼블릭 블록체인 데이터베이스(300)로 인증서 확인 트랜잭션을 전송하고(S316), 퍼블릭 블록체인 데이터베이스(300)로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 프라이빗 블록체인 데이터베이스에서 검색한다. 그리고, 인증 서버(200)는 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 프라이빗 블록체인 데이터베이스에 등록된 사용자 인증서를 확인할 수 있다(S317).Alternatively, the authentication server 200 transmits the certificate confirmation transaction to the public block chain database 300 using the public transaction ID corresponding to the user's public key and the terminal ID (S316) 300, which is associated with a value obtained by processing the representative hash value or the representative hash value included in the data message, and transmits the merge tree information and leaf node information stored in the private block chain database to a private block Search in the database. Then, the authentication server 200 can confirm the user certificate registered in the private block chain database by referring to the retrieved mu tree tree information and the leaf node information (S317).

이때, 인증 서버(200)는 사용자 인증서가 유효한지를 확인하며, 사용자와 매칭되는 인증서가 없거나 사용자 인증서가 폐기 등에 의해 유효하지 않을 경우에는 사용자 단말로 인증 실패에 대응하는 에러 신호를 전송하여 줄 수 있다.At this time, the authentication server 200 checks whether the user certificate is valid, and if the user does not have a certificate matching the user certificate or the user certificate is invalid due to disposal, the authentication server 200 may transmit an error signal corresponding to the authentication failure to the user terminal .

또한, 인증 서버(200)는 가변 인증값으로부터 추출된 사용자의 퍼블릭 키와 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값으로부터 타임스탬프를 추출한다. 그리고, 사용자 서명값으로부터 추출된 타임스탬프와 가변 인증값으로부터 추출된 타임스탬프가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 확인하고(S318), 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말(110)로 전송하여 준다(S319). 이와는 달리, 사용자 인증 요청 신호에 랜덤 논스가 포함되었을 경우, 인증 서버(200)는 가변 인증값으로부터 추출된 사용자의 퍼블릭 키와 매칭되는 사용자 인증서의 사용자의 퍼블릭 키를 이용하여 사용자 서명값으로부터 랜덤 논스를 추출한다. 그리고, 사용자 서명값으로부터 추출된 타임스탬프와 사용자 인증 요청 신호에 포함된 랜덤 논스가 일치하는지를 확인하여 사용자 서명값의 유효 여부를 확인하고, 확인된 사용자 서명값의 유효 여부에 따른 사용자에 대한 인증 결과 정보를 인증 요청 단말(110)로 전송하여 준다.Also, the authentication server 200 extracts the time stamp from the user signature value using the user's public key of the user certificate matching the public key extracted from the variable authentication value. Then, it is checked whether the time stamp extracted from the user signature value is identical to the time stamp extracted from the variable authentication value to check whether the user signature value is valid (S318). If the validity of the user signature value is confirmed, And transmits authentication result information to the authentication request terminal 110 (S319). Alternatively, when the randomness is included in the user authentication request signal, the authentication server 200 extracts the random signature from the user signature value using the public key of the user certificate matching the user's public key extracted from the variable authentication value, . Then, it is checked whether the time stamp extracted from the user signature value matches with the randomness included in the user authentication request signal to check whether the user signature value is valid, and if the authenticated user signature value is valid or not, And transmits the information to the authentication request terminal 110.

또한, 인증 서버(200)는 모바일 아이디의 가변 인증값이 인증 요청 단말로부터 획득되는 시각과 가변 인증값으로부터 추출된 타임스탬프의 시각 사이의 시간 간격이 설정값 이상이면, 사용자 인증 요청을 무효화하며 사용자 단말로 새로운 사용자 인증 요청을 요구할 수 있다. 이를 통해 인증 서버(200)는 도용 등에 의해 사용자의 모바일 아이디가 이용되는 것을 방지할 수 있다. 또한, 사용자 인증 요청 신호에 랜덤 논스가 포함되었을 경우, 인증 서버(200)는 랜덤 논스를 포함하는 사용자 인증 요청 신호를 사용자 단말로 전송하거나 전송하도록 지원한 제1 시각과 가변 인증값이 획득되는 제2 시각 사이의 시간 간격이 설정값 이상이면, 사용자 인증 요청 트랜잭션을 무효화하며 사용자 단말로 새로운 사용자 인증 요청 트랜잭션을 요구할 수 있다.If the time interval between the time at which the variable authentication value of the mobile ID is obtained from the authentication requesting terminal and the time at which the time stamp is extracted from the variable authentication value is equal to or larger than the set value, the authentication server 200 invalidates the user authentication request, The terminal can request a new user authentication request. Accordingly, the authentication server 200 can prevent the user's mobile ID from being used by theft or the like. When the random authentication is included in the user authentication request signal, the authentication server 200 transmits the user authentication request signal including the random nonce to the user terminal, If the time interval between two time points is equal to or greater than the set value, the user authentication request transaction is invalidated and a new user authentication request transaction can be requested to the user terminal.

그리고, 인증 요청 단말(110)은 인증 서버(200)로부터 수신되는 인증 결과 정보에 대응하여 모바일 아이디를 사용하는 사용자에 의한 인증을 수행한다.In response to the authentication result information received from the authentication server 200, the authentication request terminal 110 performs authentication by the user using the mobile ID.

또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the embodiments of the present invention described above can 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 commands, data files, data structures, and the like, alone or in combination. The program instructions recorded on the computer-readable recording medium may be those specially designed and constructed for the present invention or may be those known and used by those skilled in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those generated by a compiler, as well as high-level language code 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 for performing the processing according to the present invention, and vice versa.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be construed as being limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the following claims, I will say.

100: 사용자 단말,
110: 인증 요청 단말,
200: 인증 서버,
210: 통신부,
220: 프로세서,
300: 퍼블릭 블록체인 데이터베이스
100: user terminal,
110: authentication request terminal,
200: authentication server,
210:
220: processor,
300: public block chain database

Claims (38)

모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 사용자의 퍼블릭 키, 상기 사용자의 사용자 단말에 대한 단말 아이디, 및 상기 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말로부터 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션이 획득되면, 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하며, 상기 사용자의 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하고, 상기 사용자 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하는 단계;
(b) (b1) 상기 인증 서버가, 랜덤 논스와 상기 사용자 정보에 대한 해쉬값을 상기 단말 아이디와 매칭되는 상기 사용자의 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하고, (b2) 상기 인증 서버가, 랜덤 논스를 상기 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하는 단계; 및
(c) (c1) 상기 (b1)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 인증 서버가, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 인증 서버가, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) a user certificate including a public key of the user, a terminal ID of the user terminal of the user, and a hash value of the user information of the user is registered in the private block chain database and the corresponding private transaction ID is managed A representative hash value obtained by computing a specific hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value or a value obtained by processing the representative hash value is stored in a public block chain database When a user authentication request transaction including at least a public key of a user and a terminal ID is obtained from a user terminal in response to a user authentication request in the state that a public transaction ID corresponding to the public key is registered, The public key of the user and the terminal eye And a hash value for the user information is obtained from the user's certificate, (ii) the hash value of the user's public key is obtained from the private key chain database using the private transaction ID corresponding to the private key chain, Acquiring a data message from the public block chain database using the public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a value obtained by processing the private hash value The private block chain database and the merge tree information stored in the block chain database are read from the private block chain database, Identifying a user certificate and obtaining a hash value for the user information from the user certificate;
(b) (b1) when the authentication server supports to transmit or transmit the random number and the hash value of the user information to the user terminal of the user matching the terminal ID, A user signature value obtained by signing the randomness with a private key of the user; And a hash value for the user information; (Ii) display a mobile identity including the mobile identity information of the user along with the variable authentication value; and (b2) the authentication server supports to display a random non- (I) a user signature value obtained by signing the random non-existence with the user's private key; And a public key of the user; (Ii) supporting a display of a mobile identity including the mobile identity information of the user with the variable authentication value; And
(c) (c1) when the variable authentication value of the mobile ID is obtained from the authentication requesting terminal according to (b1), the authentication server determines the user signature value from the variable authentication value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) if the variable authentication value of the mobile identity is obtained from the authentication request terminal by (b2), the authentication server transmits the authentication result information to the authentication request terminal The user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit or transmit authentication result information to the authentication request terminal;
≪ / RTI >
제1항에 있어서,
상기 (c) 단계에서,
상기 인증 서버는,
상기 (c1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 (c2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며,
상기 (c1) 및 상기 (c2)의 경우 모두, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 단말로 전송한 상기 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 판단하는 것을 특징으로 하는 방법,
The method according to claim 1,
In the step (c)
The authentication server includes:
In the case of (c1), the randomness is extracted from the user signature value using the user's public key of the user certificate matching the hash value of the user information extracted from the variable authentication value, c2), the randomness is extracted from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value,
In both cases (c1) and (c2), it is determined whether the random signature extracted from the user signature value matches the randomness transmitted to the user terminal, and whether the user signature value is valid or not ,
제1항에 있어서,
상기 모바일 아이디 정보는,
상기 사용자의 사진 이미지 정보 및 각 신분증 별 표시 정보를 포함하는 것을 특징으로 하는 방법.
The method according to claim 1,
The mobile ID information includes:
The image information of the user, and the display information of each ID card.
제1항에 있어서,
상기 인증 서버는,
상기 (b1) 및 상기 (b2)의 경우에서 상기 랜덤 논스를 상기 사용자 단말로 전송하거나 전송하도록 지원한 제1 시각과 상기 (c1) 및 상기 (c2)의 경우에서 상기 가변 인증값이 획득되는 제2 시각 사이의 시간 간격이 설정값 이상이면, 상기 사용자 인증 요청 트랜잭션을 무효화하며 상기 사용자 단말로 새로운 사용자 인증 요청 트랜잭션을 요구하는 것을 특징으로 하는 방법.
The method according to claim 1,
The authentication server includes:
(B1) and (b2), a first time at which the random non-existence is supported or transmitted to the user terminal, and a second time at which the variable authentication value is obtained in the case of (c1) If the time interval between two time points is equal to or greater than a preset value, invalidates the user authentication request transaction and requests a new user authentication request transaction to the user terminal.
제1항에 있어서,
상기 가변 인증값은,
바 코드, QR 코드, 및 NFC 태그 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 방법.
The method according to claim 1,
The variable-
A bar code, a QR code, and NFC tag information.
제5항에 있어서,
상기 인증 요청 단말은,
상기 사용자 단말을 통해 표시되는 상기 모바일 아이디로부터 상기 가변 인증값을 획득하는 리더기의 신호를 획득하는 컴퓨팅 장치 또는 상기 사용자 단말과의 통신을 통해 상기 가변 인증값을 획득하는 컴퓨팅 장치를 포함하는 것을 특징으로 하는 방법.
6. The method of claim 5,
The authentication request terminal,
A computing device that acquires a signal of a reader that obtains the variable authentication value from the mobile ID displayed through the user terminal, or a computing device that acquires the variable authentication value through communication with the user terminal How to.
제1항에 있어서,
상기 (a) 단계 이전에,
(a01) 상기 사용자 단말로부터 적어도 사용자 정보를 포함하는 모바일 아이디 발급 신청 트랜잭션이 획득되면, 상기 인증 서버가, 상기 사용자 정보를 이용하여 상기 사용자를 확인하며, 상기 사용자 단말로 인증서 등록을 요청하거나 요청하도록 지원하는 단계;
(a02) 상기 인증서 등록 요청에 대응하여 상기 사용자 단말로부터 상기 사용자의 퍼블릭 키 및 상기 사용자 단말에 대한 단말 아이디가 획득되면, 상기 인증 서버가, 상기 사용자의 퍼블릭 키, 상기 사용자 단말에 대한 단말 아이디, 및 상기 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고, 이에 대한 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 단말로 상기 모바일 아이디를 발급하거나 발급하도록 지원하는 단계; 및
(a03) 소정의 조건이 만족되면, 상기 인증 서버가, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하는 단계;
를 더 포함하는 것을 특징으로 하는 방법.
The method according to claim 1,
Before the step (a)
(a01) When a mobile ID issuance application transaction including at least user information is obtained from the user terminal, the authentication server confirms the user using the user information, and requests or requests a certificate registration with the user terminal Supporting step;
(a02) If the public key of the user and the terminal ID of the user terminal are obtained from the user terminal in response to the certificate registration request, the authentication server transmits the public key of the user, the terminal ID of the user terminal, And registering a user certificate including a hash value of the user information in a private block chain database, managing a private transaction ID therefor, and issuing or issuing the mobile ID to the user terminal; And
(a03) If the predetermined condition is satisfied, the authentication server calculates a representative hash value by calculating a specific hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, Registering a value obtained by processing the representative hash value in a public block chain database and managing a corresponding public transaction ID;
≪ / RTI >
제7항에 있어서,
상기 (a03) 단계에서,
상기 소정의 조건은,
(i) 소정의 개수만큼 상기 모바일 아이디와 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
8. The method of claim 7,
In the step (a03)
The predetermined condition is that,
(ii) a condition that a predetermined time elapses; (iii) a condition in which a block is generated in a private block chain; (iv) a condition for a service characteristic; RTI ID = 0.0 > 1, < / RTI >
제7항에 있어서,
상기 (a03) 단계에서,
상기 인증 서버는, 상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 소정의 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 대표 해쉬값 또는 상기 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 방법.
8. The method of claim 7,
In the step (a03)
Wherein the authentication server supports to generate or generate a merkle tree in which the particular hash value is assigned to a leaf node,
If the predetermined condition is satisfied, a value obtained by processing the representative hash value or the hash value generated by computing a hash value assigned to at least one other leaf node matching the specific hash value is stored in the public block chain database And registering or registering the same.
제9항에 있어서,
상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 트리인 경우, 상기 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 방법.
10. The method of claim 9,
If the merge tree is a first tree among at least one merge tree connected in a chain form, the first leaf node of the merge tree is assigned a hash value or a processed value of predetermined message data composed of text, numbers or symbols Lt; / RTI >
제9항에 있어서,
상기 소정의 조건이 만족되면,
(x1) 상기 인증 서버는, (i) 상기 특정 해쉬값과 (ii) 상기 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, (i) 상기 특정 해쉬값과 (ii) 상기 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산한 연산값에 대한 해쉬값을 상기 특정 해쉬값이 할당된 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해쉬값을 상기 대표 해쉬값으로서 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해쉬값을 상기 특정 해쉬값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 방법.
10. The method of claim 9,
If the predetermined condition is satisfied,
(x1) the authentication server is configured to (i) calculate or calculate a hash value assigned to the sibling node of the node to which the specific hash value is assigned, and (ii) And (ii) a hash value for a computed value of a hash value assigned to a sibling node of the node to which the particular hash value is allocated is assigned or assigned to a parent node of the node to which the particular hash value is assigned,
(x2) if the parent node is the root node of the merge tree, supports to register or register the hash value assigned to the parent node as the representative hash value in the public block chain database,
(x3) If the parent node is not the root node of the merge tree, the step (x1) to (x2) are repeated by using the hash value assigned to the parent node as the specific hash value.
제11항에 있어서,
상기 (x1)에서
상기 소정의 조건이 만족되었음에도 상기 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 상기 인증 서버는, 상기 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 방법.
12. The method of claim 11,
At (x1)
If the hash value is not assigned to the sibling node of the node to which the specific hash value is assigned even though the predetermined condition is satisfied, the authentication server supports to assign or assign a predetermined hash value to the sibling node, x1) to (x3). < / RTI >
제7항에 있어서,
상기 인증 서버가 상기 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 방법.
8. The method of claim 7,
When the authentication server stores the specific hash value and the at least one neighbor hash value in a predetermined first data structure and then stores and manages a second data structure of the same type as the first data structure, 1 data structure and the second data structure are connected in a chain form.
제13항에 있어서,
상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해쉬값이 상기 제2 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 방법.
14. The method of claim 13,
Wherein a root value of the first data structure or a hash value of the root value is assigned to a first leaf node of the second data structure if the first data structure and the second data structure are merc trees. .
모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는 (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값이 인증 요청 단말을 거쳐 획득되면, 인증 서버가, 상기 획득된 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키;를 추출하는 단계; 및
(b) 상기 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) the user's public key; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In a public block chain database and managing a public transaction ID corresponding to the representative hash value or a value obtained by processing the representative hash value, a mobile ID displayed on the user terminal in response to the user authentication request - the mobile ID comprises (i) the terminal identity; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user along with the variable authentication value. When the variable authentication value is acquired via the authentication request terminal, the authentication server determines whether the acquired From the variable authentication value; The time stamp; The user signature value; And a public key of the user; And
(b) the authentication server checks (i) the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) Obtaining a data message from the public block chain database by using the public key of the user and the public transaction ID corresponding to the terminal ID, calculating a value obtained by processing the representative hash value or the representative hash value included in the data message, And the leaf node information stored in the private block chain database is retrieved from the private block chain database and stored in the private block chain database by referring to the retrieved merge tree information and leaf node information, Extracting the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, extracting the time stamp from the user signature value, Verifying whether the user signature value is valid or not by checking whether the time stamp extracted from the variable authentication value coincides with the time stamp of the user and verifying whether the user signature value is valid, Supporting the transmission or transmission to the authentication request terminal;
≪ / RTI >
제15항에 있어서,
상기 인증 서버는,
상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 시각과 상기 가변 인증값으로부터 추출된 상기 타임스탬프의 시각 사이의 시간 간격이 설정값 이상이면, 상기 사용자 인증 요청을 무효화하며 상기 사용자 단말로 새로운 사용자 인증 요청을 요구하는 것을 특징으로 하는 방법.
16. The method of claim 15,
The authentication server includes:
If the time interval between the time at which the variable authentication value of the mobile ID is obtained from the authentication requesting terminal and the time at which the time stamp is extracted from the variable authentication value is equal to or larger than the set value, invalidates the user authentication request, And requests a new user authentication request.
모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 인증 요청 단말을 통하여 사용자 식별 정보가 획득되면, 인증 서버가, 상기 사용자 식별 정보에 대응하는 사용자 단말로 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하거나 전송하도록 지원하며, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는, 상기 (1)의 경우, (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하며, 상기 (2)의 경우, (i) 상기 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키를 포함하는 가변 인증값; 을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값이 사용자 단말로부터 획득되면, 상기 획득된 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값: 및 상기 사용자의 퍼블릭 키;를 추출하는 단계; 및
(b) 상기 인증 서버가, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) the user's public key; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, When the user identification information is acquired through the authentication request terminal in a state in which the representative hash value obtained by computing the value or the value obtained by processing the representative hash value is registered in the public block chain database and the corresponding public transaction ID is managed, The server transmits a user authentication request signal to the user terminal corresponding to the user identification information, the user authentication request signal includes a message requesting the user authentication including (1) a message requesting the user authentication or (2) To send or transmit And a mobile ID displayed on the user terminal in response to the user authentication request, wherein the mobile ID is: (i) the terminal ID; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) mobile ID information of the user in addition to the variable authentication value, and (ii) the mobile ID information includes (i) the UE ID; A user signature value obtained by signing the randomness with a private key of the user; And a variable authentication value including a public key of the user; (Ii) if the variable authentication value of the user includes the mobile identity information of the user together with the variable authentication value, from the obtained variable authentication value, , The terminal ID; The time stamp; The user signature value; And a public key of the user; In the case (2), the terminal ID; Extracting the user signature value and the public key of the user; And
(b) the authentication server checks (i) the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) Obtaining a data message from the public block chain database by using the public key of the user and the public transaction ID corresponding to the terminal ID, calculating a value obtained by processing the representative hash value or the representative hash value included in the data message, And the leaf node information stored in the private block chain database is retrieved from the private block chain database and stored in the private block chain database by referring to the retrieved merge tree information and leaf node information, In the case of (1) above, the time stamp is extracted from the user signature value using the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value , Verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid or not. In case (2), the variable authentication value Extracts the random nonce from the user signature value using the user's public key of the user certificate matching the extracted public key of the user, extracts the random nonce from the user signature value, Check whether the transmitted randomness included in Confirming the validity of the user signature value and supporting transmission or transmission of authentication result information for the user according to the validity of the user signature value to the authentication request terminal;
≪ / RTI >
모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 사용자 단말이, 적어도 상기 사용자의 퍼블릭 키와 상기 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 인증 서버로 전송하거나 전송하도록 지원함으로써, 인증 서버로 하여금 (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 지원하는 단계;
(b) (b1) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스와 상기 사용자 정보에 대한 해쉬값이 획득되는 경우, 상기 사용자 단말이 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하고, (b2) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스가 획득되는 경우, 상기 사용자 단말이 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 단계; 및
(c) (c1) 상기 (b1)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) generating and storing the public key of the user and the private key of the user, and storing the public key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, (I) transmitting a public key corresponding to the user's public key and a private transaction ID corresponding to the terminal ID to the authentication server, and transmitting the user authentication request transaction including the user's public key and the terminal ID to the authentication server, The private (Ii) acquiring a data message from the public block chain database using a public transaction ID corresponding to the public key of the user and the terminal ID, and Searching the private block chain database for the merge tree information and the leaf node information stored in the private block chain database in association with the representative hash value or the value obtained by processing the representative hash value included in the message, Supporting information for identifying the user certificate registered in the private block chain database with reference to information and leaf node information;
(b) (b1) when a random nonce and a hash value for the user information are obtained from the authentication server in response to the user authentication request transaction, the user terminal transmits (i) the random nonce to the user's private key One user signature value; And a hash value for the user information; (Ii) displaying a mobile ID including the mobile identity information of the user together with the variable authentication value; and (b2) displaying a random identity from the authentication server in response to the user authentication request transaction, (I) a user signature value obtained by signing the randomness with the user's private key; And a public key of the user; (Ii) displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And
(c1) (c1) allowing the user terminal to acquire the variable authentication value of the mobile ID from the authentication server through the authentication requesting terminal according to (b1) User signature value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) the user terminal transmits the variable authentication value of the mobile ID to the authentication server through the authentication request terminal by (b2) Thereby enabling the authentication server to obtain the user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit the authentication result information to the authentication request terminal;
≪ / RTI >
제18항에 있어서,
상기 모바일 아이디 정보는,
상기 사용자의 사진 이미지 정보 및 각 신분증 별 표시 정보를 포함하는 것을 특징으로 하는 방법.
19. The method of claim 18,
The mobile ID information includes:
The image information of the user, and the display information of each ID card.
제18항에 있어서,
상기 가변 인증값은,
바 코드, QR 코드, 및 NFC 태그 정보 중 적어도 하나 이상을 포함하는 것을 특징으로 방법.
19. The method of claim 18,
The variable-
A bar code, a QR code, and NFC tag information.
제20항에 있어서,
상기 인증 요청 단말은,
상기 사용자 단말을 통해 표시되는 상기 모바일 아이디로부터 상기 가변 인증값을 획득하는 리더기의 신호를 획득하는 컴퓨팅 장치 또는 상기 사용자 단말과의 통신을 통해 상기 가변 인증값을 획득하는 컴퓨팅 장치를 포함하는 것을 특징으로 하는 방법.
21. The method of claim 20,
The authentication request terminal,
A computing device that acquires a signal of a reader that obtains the variable authentication value from the mobile ID displayed through the user terminal, or a computing device that acquires the variable authentication value through communication with the user terminal How to.
제18항에 있어서,
상기 (b) 단계에서,
상기 (b1)에 의해 상기 인증 서버로부터 랜덤 논스와 상기 사용자 정보에 대한 해쉬값이 획득되는 경우, 또는 상기 (b2)에 의해 상기 인증 서버로부터 랜덤 논스가 획득되는 경우, 상기 사용자 단말은, 상기 사용자에 대한 확인 정보 입력을 요청하며, 상기 입력되는 확인 정보가 유효일 경우 상기 모바일 아이디를 표시하도록 하는 것을 특징으로 하는 방법.
19. The method of claim 18,
In the step (b)
When a hash value for the random information and the user information is obtained from the authentication server by the authentication server or when the randomness is obtained from the authentication server by the step b2, And the mobile ID is displayed when the input confirmation information is valid.
제18항에 있어서,
상기 (a) 단계 이전에,
(a01) 상기 사용자 단말이, 적어도 사용자 정보를 포함하는 모바일 아이디 발급 신청 트랜잭션을 상기 인증 서버로 전송하거나 전송하도록 지원하는 단계; 및
(a02) 상기 모바일 아이디 발급 신청 트랜잭션에 대응하여 상기 인증 서버로부터 인증서 등록 요청 신호가 획득되면, 상기 사용자 단말이, 사용자 인증키로 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하며, 상기 사용자의 퍼블릭 키 및 상기 사용자 단말에 대한 단말 아이디를 상기 인증 서버로 전송하거나 전송하도록 지원함으로써, 상기 인증 서버가, 상기 사용자의 퍼블릭 키, 상기 사용자 단말에 대한 단말 아이디, 및 상기 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고, 이에 대한 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 단말로 상기 모바일 아이디를 발급하도록 지원하는 단계;
를 더 포함하는 것을 특징으로 하는 방법.
19. The method of claim 18,
Before the step (a)
(a01) supporting the user terminal to transmit or transmit a mobile ID issuance application transaction including at least user information to the authentication server; And
(a02) If a certificate registration request signal is obtained from the authentication server in response to the mobile ID issuing application transaction, the user terminal generates the public key of the user and the private key of the user using the user authentication key, The public key and the terminal ID for the user terminal to the authentication server so that the authentication server can obtain the hash value of the user's public key, the terminal ID for the user terminal, and the user information Registering a user certificate including the user certificate in the private block chain database, managing a private transaction ID therefor, and issuing the mobile ID to the user terminal;
≪ / RTI >
제23항에 있어서,
상기 (a02) 단계에서,
상기 사용자 단말이,
상기 사용자의 퍼블릭 키 및 상기 사용자 단말에 대한 단말 아이디를 상기 인증 서버로 전송하거나 전송하도록 지원하기 이전에,
상기 사용자에 대한 확인 정보를 설정하도록 하는 것을 특징으로 하는 방법.
24. The method of claim 23,
In the step (a02)
The user terminal comprising:
Before supporting transmission or transmission of the public key of the user and the terminal ID for the user terminal to the authentication server,
And setting confirmation information for the user.
모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 사용자 단말이, (i) 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 단계; 및
(b) 상기 사용자 단말이, 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 거쳐 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) generating and storing the public key of the user and the private key of the user, and storing the public key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, i) a terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And
(b) the user terminal supports the authentication server to obtain the variable authentication value of the mobile ID via the authentication request terminal, thereby allowing the authentication server to obtain the terminal ID from the variable authentication value; The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value The private block chain database and the merge tree information stored in the private block chain database are retrieved from the private block chain database, And extracts the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, And verifying whether the time stamp extracted from the variable authentication value matches the time stamp extracted from the variable authentication value to confirm whether or not the user signature value is validated, Supporting result information to be transmitted to the authentication request terminal;
≪ / RTI >
모바일 아이디를 이용하여 사용자를 인증하는 방법에 있어서,
(a) 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 전송되는 사용자 식별 정보에 대응하여 인증 서버가 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하면, 사용자 단말이, 상기 사용자 인증 요청 신호에 대응하여, 상기 (1)의 경우, 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하며, 상기 (2)의 경우, 상기 사용자 단말의 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 생성하는 단계; 및
(b) 상기 사용자 단말이, 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하고, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 방법.
A method for authenticating a user using a mobile identity,
(a) generating and storing the public key of the user and the private key of the user, and storing the public key of the user; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, Wherein the mobile node is registered in the public block chain database, and a value obtained by processing the representative hash value is registered in a public block chain database. In a state in which the mobile ID corresponding to the registered user certificate is managed, The server transmits a user authentication request signal. The user authentication request signal is a message for requesting the user authentication including (1) a message requesting the user authentication or (2) a random non-existence. In response to the user authentication request signal, in the case of (1) A terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; And generates a variable authentication value of the mobile ID including the terminal ID of the user terminal in case of (2); A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; Generating a variable authentication value including the authentication value; And
(b) the user terminal supports the authentication server to obtain the variable authentication value of the mobile ID, thereby causing the authentication server to determine, from the variable authentication value, the terminal ID in case of (1); The time stamp; The user signature value; And a public key of the user; And in the case of (2), the terminal ID; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value The private block chain database and the merge tree information stored in the private block chain database are retrieved from the private block chain database, (1), using the public key of the user of the user certificate matching the public key of the user extracted from the variable authentication value, the time stamp And verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid. In case (2), the variable Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the authentication value and comparing the random non- The randomness value transmitted in the authentication request signal is Confirming whether the user signature value is valid or not and supporting authentication result information for the user according to whether the user signature value is validated to the authentication request terminal;
≪ / RTI >
모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서,
사용자의 퍼블릭 키, 상기 사용자의 사용자 단말에 대한 단말 아이디, 및 상기 사용자의 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말로부터 적어도 사용자의 퍼블릭 키와 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 획득하는 통신부; 및
(i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하며, 상기 사용자의 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하고, 상기 사용자 인증서로부터 상기 사용자 정보에 대한 해쉬값을 획득하는 프로세스와, (b1) 랜덤 논스와 상기 사용자 정보에 대한 해쉬값을 상기 단말 아이디와 매칭되는 상기 사용자의 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하고, (b2) 랜덤 논스를 상기 사용자 단말로 전송하거나 전송하도록 지원하는 경우, 상기 사용자 단말로 하여금 (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하도록 지원하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하도록 지원하는 프로세스와, (c1) 상기 (b1)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 경우, 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세스를 수행하는 프로세서;
를 포함하는 것을 특징으로 하는 인증 서버.
An authentication server for authenticating a user using a mobile ID,
Registers a user certificate including a public key of the user, a terminal ID of the user terminal of the user, and a hash value of the user information of the user in the private block chain database and manages the corresponding private transaction ID, A representative hash value obtained by calculating a specific hash value generated by applying a hash function to the certificate and at least one neighbor hash value matched with the specific hash value or a value obtained by processing the representative hash value is registered in the public block chain database A communication unit for acquiring a user authentication request transaction including at least a user's public key and a terminal ID from a user terminal in response to a user authentication request in a state of managing a corresponding public transaction ID; And
(i) checking the certificate of the user registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, and extracting a hash value (Ii) acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal ID, and transmitting the representative hash value or the representative hash value included in the data message Searching the private block chain database for the merge tree information and the leaf node information stored in the private block chain database in association with the value obtained by processing the representative hash value and referring to the retrieved merge tree information and the leaf node information, A process of confirming the user certificate registered in the library block chain database and acquiring a hash value of the user information from the user certificate; (b1) comparing a hash value of the random number and the user information with the terminal ID, (I) a user signature value obtained by signing the random nonce with the private key of the user, if the user terminal supports sending or transmitting to the matching user terminal; And a hash value for the user information; (Ii) supporting a display of a mobile identity including the mobile identity information of the user along with the variable authentication value, and (b2) transmitting a random nonce to the user terminal or transmitting (I) a user signature value obtained by signing the randomness with the user's private key; And a public key of the user; (Ii) supporting a display of a mobile identity including the mobile identity information of the user along with the variable authentication value; and (c1) supporting, by the (b1) When the variable authentication value of the ID is obtained from the authentication requesting terminal, the user signature value from the variable authentication value; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) when the variable authentication value of the mobile ID is obtained from the authentication request terminal by (b2), the authentication request information for the user is transmitted or transmitted to the authentication request terminal; The user signature value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, And transmitting the authentication result information to the authentication request terminal;
And an authentication server for authenticating the authentication server.
제27항에 있어서,
상기 프로세서는,
상기 (c1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 (c2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며,
상기 (c1) 및 상기 (c2)의 경우 모두, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 단말로 전송한 상기 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 판단하는 것을 특징으로 하는 인증 서버,
28. The method of claim 27,
The processor comprising:
In the case of (c1), the randomness is extracted from the user signature value using the user's public key of the user certificate matching the hash value of the user information extracted from the variable authentication value, c2), the randomness is extracted from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value,
In both cases (c1) and (c2), it is determined whether the random signature extracted from the user signature value matches the randomness transmitted to the user terminal, and whether the user signature value is valid or not Authentication server,
제27항에 있어서,
상기 프로세서는,
상기 사용자 단말로부터 적어도 사용자 정보를 포함하는 모바일 아이디 발급 신청 트랜잭션이 획득되면, 상기 사용자 정보를 이용하여 상기 사용자를 확인하며, 상기 사용자 단말로 인증서 등록을 요청하거나 요청하도록 지원하는 프로세스, 상기 인증서 등록 요청에 대응하여 상기 사용자 단말로부터 상기 사용자의 퍼블릭 키 및 상기 사용자 단말에 대한 단말 아이디가 획득되면, 상기 사용자의 퍼블릭 키, 상기 사용자 단말에 대한 단말 아이디, 및 상기 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고, 이에 대한 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 단말로 상기 모바일 아이디를 발급하거나 발급하도록 지원하는 프로세스, 및 소정의 조건이 만족되면, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하는 프로세스를 더 수행하는 것을 특징으로 하는 인증 서버.
28. The method of claim 27,
The processor comprising:
A process of confirming the user using the user information and requesting or requesting a certificate registration to the user terminal when a mobile ID issuance application transaction including at least user information is obtained from the user terminal, If the public key of the user and the terminal ID of the user terminal are acquired from the user terminal in response to the user ID of the user terminal, the user ID of the user terminal, and the hash value of the user information, A process of registering a certificate in a private block chain database, managing a private transaction ID therefor, issuing or issuing the mobile ID to the user terminal, and, if a predetermined condition is satisfied, 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 is registered in the public block chain database, And further performs a process of managing a transaction ID.
제29항에 있어서,
상기 소정의 조건은,
(i) 소정의 개수만큼 상기 모바일 아이디와 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 프라이빗 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 인증 서버.
30. The method of claim 29,
The predetermined condition is that,
(ii) a condition that a predetermined time elapses; (iii) a condition in which a block is generated in a private block chain; (iv) a condition for a service characteristic; The authentication server comprising:
제29항에 있어서,
상기 프로세서는, 상기 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 소정의 조건이 만족되면, 상기 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 대표 해쉬값 또는 상기 해쉬값을 가공한 값을 상기 퍼블릭 블록체인 데이터베이스에 등록하거나 등록하도록 지원하는 것을 특징으로 하는 인증 서버.
30. The method of claim 29,
Wherein the processor is configured to support the particular hash value to generate or generate a merkle tree assigned to a leaf node,
If the predetermined condition is satisfied, a value obtained by processing the representative hash value or the hash value generated by computing a hash value assigned to at least one other leaf node matching the specific hash value is stored in the public block chain database And to register or register the authentication server.
모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서,
사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는 (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값을 인증 요청 단말을 거쳐 획득하는 통신부; 및
상기 획득된 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세서;
를 포함하는 것을 특징으로 하는 인증 서버.
An authentication server for authenticating a user using a mobile ID,
The user's public key; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, In a public block chain database and managing a public transaction ID corresponding to the representative hash value or a value obtained by processing the representative hash value, a mobile ID displayed on the user terminal in response to the user authentication request - the mobile ID comprises (i) the terminal identity; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user along with the variable authentication value; and a communication unit that acquires the variable authentication value through the authentication request terminal; And
From the acquired variable authentication value; The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) checking the user's public key Acquiring a data message from the public block chain database using the public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a value obtained by processing the private hash value The private block chain database searches the merch tree information and leaf node information stored in the block chain database, and refers to the retrieved merch tree information and leaf node information to identify the user certificate Extracts the time stamp from the user signature value using the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value, Checking the validity of the user signature value by verifying whether the time stamp and the time stamp extracted from the variable authentication value are identical to each other and verifying whether or not the user signature value is valid, A processor for supporting transmission or transmission to an authentication request terminal;
And an authentication server for authenticating the authentication server.
제32항에 있어서,
상기 프로세서는,
상기 모바일 아이디의 상기 가변 인증값이 인증 요청 단말로부터 획득되는 시각과 상기 가변 인증값으로부터 추출된 상기 타임스탬프의 시각 사이의 시간 간격이 설정값 이상이면, 상기 사용자 인증 요청을 무효화하며 상기 사용자 단말로 새로운 사용자 인증 요청을 요구하는 것을 특징으로 하는 인증 서버.
33. The method of claim 32,
The processor comprising:
If the time interval between the time at which the variable authentication value of the mobile ID is obtained from the authentication requesting terminal and the time at which the time stamp is extracted from the variable authentication value is equal to or larger than the set value, invalidates the user authentication request, And requests a new user authentication request.
모바일 아이디를 이용하여 사용자를 인증하는 인증 서버에 있어서,
사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고 이에 대응되는 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값을 퍼블릭 블록체인 데이터베이스에 등록하고 이에 대응되는 퍼블릭 트랜잭션 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 사용자 식별 정보가 획득되면, 상기 사용자 식별 정보에 대응하는 사용자 단말로 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지 임 - 를 전송하며, 사용자 인증 요청에 대응하여 사용자 단말에서 표시되는 모바일 아이디 - 상기 모바일 아이디는, 상기 (1)의 경우, (i) 상기 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하며, 상기 (2)의 경우, (i) 상기 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 것임 - 의 상기 가변 인증값을 상기 사용자 단말로부터 획득하는 통신부; 및
상기 획득된 상기 가변 인증값으로부터, 상기 (1)의 경우, 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하고, 상기 (2)의 경우, 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키를 추출하며, (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 상기 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하며, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 사용자 인증 요청 신호에 포함하여 전송한 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하거나 전송하도록 지원하는 프로세서;
를 포함하는 것을 특징으로 하는 인증 서버.
An authentication server for authenticating a user using a mobile ID,
The user's public key; A terminal ID for the user terminal of the user; And a hash value for the user information of the user; And a private hash value generated by applying a hash function to the user certificate and at least one neighbor hash that matches the specific hash value, When the user identification information is acquired from the authentication requesting terminal in a state in which the representative hash value obtained by computing the value or the value obtained by processing the representative hash value is registered in the public block chain database and the corresponding public transaction ID is managed, A user authentication request signal to the user terminal corresponding to the identification information; the user authentication request signal is a message requesting the user authentication including (1) a message requesting the user authentication or (2) a random nonce; , In response to the user authentication request, A mobile ID displayed on the terminal, and the mobile ID is (i) the terminal ID; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) mobile ID information of the user in addition to the variable authentication value, and (ii) the mobile ID information includes (i) the UE ID; A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; (Ii) the mobile authentication information includes the mobile identity information of the user in addition to the variable authentication value, the communication unit obtaining the variable authentication value from the user terminal; And
From the acquired variable authentication value, in the case of (1), the terminal ID; The time stamp; The user signature value; And a public key of the user; And in the case (2), extracts the terminal ID; The user signature value; And extracting the public key of the user, (i) checking the user's certificate registered in the private block chain database using the public key of the user and the private transaction ID corresponding to the terminal ID, (ii) ) Acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal identity, and processing the representative hash value or the representative hash value included in the data message And the leaf node information stored in the private block chain database in the private block chain database, referring to the retrieved merge tree information and the leaf node information, (1), from the user signature value using the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value, Wherein the validity of the user signature value is verified by checking whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value, Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, The randomness value transmitted in the user authentication request signal The validity of the user signature value is verified and the authentication result information for the user according to the validity of the user signature value is transmitted to the authentication request terminal or transmitted;
And an authentication server for authenticating the authentication server.
모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서,
상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, 적어도 상기 사용자의 퍼블릭 키와 상기 단말 아이디를 포함하는 사용자 인증 요청 트랜잭션을 인증 서버로 전송하거나 전송하도록 지원함으로써, 인증 서버로 하여금 (i) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 지원하는 프로세스와, (b1) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스와 상기 사용자 정보에 대한 해쉬값이 획득되는 경우, (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하고, (b2) 상기 사용자 인증 요청 트랜잭션에 대응하여 상기 인증 서버로부터 랜덤 논스가 획득되는 경우, (i) 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 표시하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 프로세스를 수행하는 프로세서; 및
(c1) 상기 (b1)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자 정보에 대한 해쉬값; 을 추출하며, 추출된 상기 사용자 정보에 대한 해쉬값과 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하고, (c2) 상기 (b2)에 의해 상기 사용자 단말이 상기 모바일 아이디의 상기 가변 인증값을 상기 인증 요청 단말을 통해 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하며, 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부;
를 포함하는 것을 특징으로 하는 사용자 단말.
A user terminal for authenticating a user using a mobile ID,
And generating and storing the public key of the user and the private key of the user, the public key of the user, A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired in a state of managing the mobile ID corresponding to the registered user certificate, And transmits the user authentication request transaction including the key and the terminal ID to the authentication server so as to allow the authentication server to transmit the user authentication request transaction to the authentication server using (i) the private key corresponding to the user's public key and the private transaction ID, Block Chain Data (Ii) acquiring a data message from the public block chain database using the public key of the user and the public transaction ID corresponding to the terminal ID, and Searching the private block chain database for the merge tree information and the leaf node information stored in the private block chain database in association with the representative hash value or the processed value of the representative hash value, (B1) a step of, in response to the user authentication request transaction, requesting, from the authentication server, the randomness and the user information for the user information If swigap received, (i) a user signature signed with the private value of the user, the random nonce; And a hash value for the user information; (Ii) displaying a mobile ID including the mobile identity information of the user together with the variable authentication value; and (b2) displaying a random identity from the authentication server in response to the user authentication request transaction, (I) a user signature value obtained by signing the randomness with the private key of the user; And a public key of the user; (Ii) a process of displaying a mobile ID including the mobile ID information of the user together with the variable authentication value; And
(c1) allowing the user terminal to acquire the variable authentication value of the mobile ID from the authentication server through the authentication requesting terminal according to (b1), thereby allowing the authentication server to determine, from the variable authentication value, ; And a hash value for the user information; The validity of the user signature value is verified by using the user's public key of the user certificate matching the hash value of the extracted user information, (C2) the user terminal transmits the variable authentication value of the mobile ID to the authentication server through the authentication request terminal by (b2) Thereby enabling the authentication server to obtain the user signature value from the variable authentication value; And a public key of the user; The validity of the user signature value is verified by using the user's public key of the user certificate matching the extracted public key of the user, To transmit the authentication result information to the authentication request terminal;
And a user terminal.
제35항에 있어서,
상기 통신부는, 적어도 사용자 정보를 포함하는 모바일 아이디 발급 신청 트랜잭션을 상기 인증 서버로 전송하거나 전송하도록 지원하며,
상기 프로세서는, 상기 모바일 아이디 발급 신청 트랜잭션에 대응하여 상기 인증 서버로부터 인증서 등록 요청 신호가 획득되면, 사용자 인증키로 상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하며, 상기 사용자의 퍼블릭 키 및 상기 사용자 단말에 대한 단말 아이디를 상기 인증 서버로 전송하거나 전송하도록 지원함으로써, 상기 인증 서버로 하여금 상기 사용자의 퍼블릭 키, 상기 사용자 단말에 대한 단말 아이디, 및 상기 사용자 정보에 대한 해쉬값을 포함하는 사용자 인증서를 프라이빗 블록체인 데이터베이스에 등록하고, 이에 대한 프라이빗 트랜잭션 아이디를 관리하며, 상기 사용자 단말로 상기 모바일 아이디를 발급하도록 지원하는 것을 특징으로 하는 사용자 단말.
36. The method of claim 35,
Wherein the communication unit supports to transmit or transmit a mobile ID issue application transaction including at least user information to the authentication server,
Wherein the processor generates a public key of the user and a private key of the user with a user authentication key when a certificate registration request signal is obtained from the authentication server in response to the mobile ID issue application transaction, The authentication server transmits the terminal ID of the user terminal to the authentication server, thereby enabling the authentication server to transmit the user certificate including the public key of the user, the terminal ID of the user terminal, and the hash value of the user information To the private block chain database, manages the private transaction ID, and issues the mobile ID to the user terminal.
모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서,
상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 사용자 인증 요청 신호가 획득되면, (i) 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 가변 인증값을 포함하거나 (ii) 상기 가변 인증값과 더불어 상기 사용자의 모바일 아이디 정보를 포함하는 모바일 아이디를 표시하는 프로세서; 및
상기 모바일 아이디의 상기 가변 인증값을 인증 요청 단말을 거쳐 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장된 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부;
를 포함하는 것을 특징으로 하는 사용자 단말.
A user terminal for authenticating a user using a mobile ID,
And generating and storing the public key of the user and the private key of the user, the public key of the user, A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, Wherein a value obtained by processing the representative hash value is registered in a public block chain database, and when a user authentication request signal is acquired while the mobile ID corresponding to the registered user certificate is acquired, (i) A terminal ID of the terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; (Ii) a mobile ID indicating the mobile ID including the mobile ID information of the user together with the variable authentication value; And
And the authentication server obtains the variable authentication value of the mobile ID through the authentication requesting terminal so as to allow the authentication server to obtain the terminal ID from the variable authentication value. The time stamp; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value And searching the private block chain database for the merch tree information and the leaf node information stored in the private block chain database and referring to the retrieved merch tree information and leaf node information, And extracts the time stamp from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the variable authentication value, Verifying whether or not the time stamp extracted from the variable authentication value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid, A communication unit for supporting information to be transmitted to the authentication request terminal;
And a user terminal.
모바일 아이디를 이용하여 사용자를 인증하는 사용자 단말에 있어서,
상기 사용자의 퍼블릭 키와 상기 사용자의 프라이빗 키를 생성하여 저장하고 있으며, 상기 사용자의 퍼블릭 키; 상기 사용자의 사용자 단말에 대한 단말 아이디; 및 상기 사용자의 사용자 정보에 대한 해쉬값; 을 포함하는 사용자 인증서가 프라이빗 블록체인 데이터베이스에 등록되도록 하고, 상기 사용자 인증서에 해쉬 함수를 적용하여 생성한 특정 해쉬값과 상기 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값이 퍼블릭 블록체인 데이터베이스에 등록되도록 하며, 상기 등록된 상기 사용자 인증서에 대응되는 상기 모바일 아이디를 관리하고 있는 상태에서, 인증 요청 단말로부터 획득된 사용자 식별 정보에 대응하는 사용자 인증 요청 신호 - 상기 사용자 인증 요청 신호는 (1) 상기 사용자 인증을 요청하는 메시지 또는 (2) 랜덤 논스를 포함하는 상기 사용자 인증을 요청하는 메시지임 - 가 인증 서버로부터 획득되면, 상기 (1)의 경우, 상기 사용자 단말의 단말 아이디; 타임스탬프; 상기 타임스탬프를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하며, 상기 (2)의 경우, 상기 사용자 단말의 단말 아이디; 상기 랜덤 논스를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 포함하는 상기 모바일 아이디의 가변 인증값을 생성하는 프로세서; 및
상기 모바일 아이디의 상기 가변 인증값을 상기 인증 서버가 획득하도록 지원함으로써, 상기 인증 서버로 하여금, 상기 (1)의 경우, 상기 가변 인증값으로부터 상기 단말 아이디; 상기 타임스탬프; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하고, 상기 (2)의 경우, 상기 가변 인증값으로부터 상기 단말 아이디; 상기 사용자 서명값; 및 상기 사용자의 퍼블릭 키; 를 추출하도록 하며, (i) 상기 추출된 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 프라이빗 트랜잭션 아이디를 이용하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자의 인증서를 확인하도록 하거나, (ii) 상기 사용자의 퍼블릭 키와 상기 단말 아이디에 대응하는 퍼블릭 트랜잭션 아이디를 이용하여 상기 퍼블릭 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 대표 해쉬값 또는 상기 대표 해쉬값을 가공한 값과 관련되어 상기 프라이빗 블록체인 데이터베이스에 저장된 머클 트리 정보 및 리프 노드 정보를 상기 프라이빗 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 프라이빗 블록체인 데이터베이스에 등록된 상기 사용자 인증서를 확인하도록 하고, 상기 (1)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 타임스탬프를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 타임스탬프와 상기 가변 인증값으로부터 추출된 상기 타임스탬프가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하며, 상기 (2)의 경우, 상기 가변 인증값으로부터 추출된 상기 사용자의 퍼블릭 키와 매칭되는 상기 사용자 인증서의 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값으로부터 상기 랜덤 논스를 추출하며, 상기 사용자 서명값으로부터 추출된 상기 랜덤 논스와 상기 인증 요청 신호에 포함된 랜덤 논스가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 확인하고, 확인된 상기 사용자 서명값의 유효 여부에 따른 상기 사용자에 대한 인증 결과 정보를 상기 인증 요청 단말로 전송하도록 지원하는 통신부;
를 포함하는 것을 특징으로 하는 사용자 단말.
A user terminal for authenticating a user using a mobile ID,
And generating and storing the public key of the user and the private key of the user, the public key of the user, A terminal ID for the user terminal of the user; And a hash value for the user information of the user; A representative hash value obtained by calculating a hash value generated by applying a hash function to the user certificate and at least one neighbor hash value matched with the specific hash value, A value obtained by processing the representative hash value is registered in a public block chain database, and in a state where the mobile ID corresponding to the registered user certificate is managed, a user corresponding to the user identification information acquired from the authentication request terminal (1) a message requesting the user authentication or (2) a request for user authentication including a random non-existence - is obtained from the authentication server, A terminal ID of the user terminal; Timestamp; A user signature value obtained by signing the time stamp with the user's private key; And a public key of the user; And generates a variable authentication value of the mobile ID including the terminal ID of the user terminal in case of (2); A user signature value obtained by signing the randomness with a private key of the user; And a public key of the user; A processor for generating a variable authentication value of the mobile ID; And
And the authentication server obtains the variable authentication value of the mobile ID, thereby allowing the authentication server to determine, in case of (1), the terminal ID from the variable authentication value; The time stamp; The user signature value; And a public key of the user; And in the case (2), extracting the terminal ID from the variable authentication value; The user signature value; And a public key of the user; (I) checking the user's certificate registered in the private block chain database using the extracted public key of the user and the private transaction ID corresponding to the terminal ID, and (ii) Acquiring a data message from the public block chain database using a public key of a user and a public transaction ID corresponding to the terminal ID, and associating the representative hash value or the representative hash value included in the data message with a processed value And searching the private block chain database for the merch tree information and the leaf node information stored in the private block chain database and referring to the retrieved merch tree information and leaf node information, (1), the user's public key of the user certificate matching the public key of the user extracted from the variable authentication value is used to determine the time stamp from the user signature value And verifies whether the time stamp extracted from the user signature value matches the time stamp extracted from the variable authentication value to check whether the user signature value is valid. In case (2), the variable authentication Extracting the randomness from the user signature value using the user's public key of the user certificate matching the user's public key extracted from the user signature value, Check that the randomness contained in the signal matches Communication support check the validity of the user signature value, and to transmit the authentication result information for the user of the validity of the identified value of the user signature in the authentication request terminal;
And a user terminal.
KR1020160145796A 2016-11-03 2016-11-03 Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same KR101829729B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160145796A KR101829729B1 (en) 2016-11-03 2016-11-03 Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160145796A KR101829729B1 (en) 2016-11-03 2016-11-03 Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same

Publications (1)

Publication Number Publication Date
KR101829729B1 true KR101829729B1 (en) 2018-03-29

Family

ID=61906942

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160145796A KR101829729B1 (en) 2016-11-03 2016-11-03 Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same

Country Status (1)

Country Link
KR (1) KR101829729B1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857738A (en) * 2019-01-07 2019-06-07 平安科技(深圳)有限公司 Date storage method, device, computer equipment and storage medium
KR20190114425A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114424A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114422A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114423A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114421A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102033042B1 (en) * 2018-05-04 2019-10-16 주식회사 글로스퍼 Login authentication system using block chain, login authentication method and login service application method
KR20190130933A (en) 2018-05-15 2019-11-25 바이노드 피티이. 엘티디. Method and apparatus for constructing data based blockchain
WO2020046509A1 (en) * 2018-08-27 2020-03-05 Digital Asset (Switzerland) GmbH Eligibility of a digital asset for a transaction
KR20200062099A (en) * 2018-03-30 2020-06-03 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
CN111935075A (en) * 2020-06-23 2020-11-13 浪潮云信息技术股份公司 Block chain-based digital identity signing and issuing method, equipment and medium
WO2020235782A1 (en) * 2019-05-20 2020-11-26 (주)누리텔레콤 Method for authenticating personal identify in distributed environment
WO2021066271A1 (en) * 2019-10-02 2021-04-08 주식회사 디젠트아이디 Mobile communication terminal for performing personal authentication, personal authentication system, and personal authentication method using mobile communication terminal
KR20210039920A (en) * 2019-10-02 2021-04-12 주식회사 디젠트아이디 Mobile communication terminal for personal authentification, personal authentification system and personal authentification method using the mobile communication terminal
CN113395252A (en) * 2020-03-12 2021-09-14 丰田自动车株式会社 Vehicle-mounted control device
KR20210123007A (en) * 2020-04-02 2021-10-13 (주)크립토나이트 Decentralized identity authentication method improve interoperability
CN115632791A (en) * 2022-10-12 2023-01-20 南京航空航天大学 Dynamic cross-chain data consistency decentralized verification method

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102181601B1 (en) 2018-03-30 2020-11-23 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102216285B1 (en) 2018-03-30 2021-02-18 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114424A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114422A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102216305B1 (en) 2018-03-30 2021-02-18 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114421A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114425A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102216292B1 (en) 2018-03-30 2021-02-18 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20190114423A (en) * 2018-03-30 2019-10-10 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR20200062099A (en) * 2018-03-30 2020-06-03 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102353808B1 (en) 2018-03-30 2022-01-24 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102181600B1 (en) 2018-03-30 2020-11-23 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102033042B1 (en) * 2018-05-04 2019-10-16 주식회사 글로스퍼 Login authentication system using block chain, login authentication method and login service application method
KR20190130933A (en) 2018-05-15 2019-11-25 바이노드 피티이. 엘티디. Method and apparatus for constructing data based blockchain
WO2020046509A1 (en) * 2018-08-27 2020-03-05 Digital Asset (Switzerland) GmbH Eligibility of a digital asset for a transaction
CN109857738A (en) * 2019-01-07 2019-06-07 平安科技(深圳)有限公司 Date storage method, device, computer equipment and storage medium
KR20200133881A (en) * 2019-05-20 2020-12-01 (주)누리텔레콤 Authentication method in a distributed circumstance
KR102205654B1 (en) * 2019-05-20 2021-01-21 (주)누리텔레콤 Authentication method in a distributed circumstance
WO2020235782A1 (en) * 2019-05-20 2020-11-26 (주)누리텔레콤 Method for authenticating personal identify in distributed environment
KR102479454B1 (en) * 2019-10-02 2022-12-20 주식회사 디젠트아이디 Mobile communication terminal for personal authentification, personal authentification system and personal authentification method using the mobile communication terminal
KR20210039920A (en) * 2019-10-02 2021-04-12 주식회사 디젠트아이디 Mobile communication terminal for personal authentification, personal authentification system and personal authentification method using the mobile communication terminal
WO2021066271A1 (en) * 2019-10-02 2021-04-08 주식회사 디젠트아이디 Mobile communication terminal for performing personal authentication, personal authentication system, and personal authentication method using mobile communication terminal
CN113395252A (en) * 2020-03-12 2021-09-14 丰田自动车株式会社 Vehicle-mounted control device
US20210289356A1 (en) * 2020-03-12 2021-09-16 Toyota Jidosha Kabushiki Kaisha In-vehicle control device
CN113395252B (en) * 2020-03-12 2023-08-08 丰田自动车株式会社 Vehicle-mounted control device
KR20210123007A (en) * 2020-04-02 2021-10-13 (주)크립토나이트 Decentralized identity authentication method improve interoperability
KR102405857B1 (en) * 2020-04-02 2022-06-30 (주)크립토나이트 Decentralized identity authentication method improve interoperability
CN111935075A (en) * 2020-06-23 2020-11-13 浪潮云信息技术股份公司 Block chain-based digital identity signing and issuing method, equipment and medium
CN115632791A (en) * 2022-10-12 2023-01-20 南京航空航天大学 Dynamic cross-chain data consistency decentralized verification method
CN115632791B (en) * 2022-10-12 2024-03-19 南京航空航天大学 Dynamic cross-chain data consistency decentration verification method

Similar Documents

Publication Publication Date Title
KR101829729B1 (en) Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same
KR101877333B1 (en) Method for authenticating a user without a face-to-face contact by using mobile id based on blockchain, and terminal and server using the same
KR101829721B1 (en) Method for certifying a user by using mobile id through blockchain, and terminal and server using the same
KR101877335B1 (en) Method for authenticating a user without a face-to-face contact by using mobile id based on blockchain and merkle tree structure related thereto, and terminal and server using the same
US11664997B2 (en) Authentication in ubiquitous environment
US20230246842A1 (en) Compact recordation protocol
CN110462658B (en) System and method for providing digital identity records to verify the identity of a user
CN113853775B (en) Credential verification and issuance by credential service provider
KR101829730B1 (en) Method for certifying a user by using mobile id through blockchain database, and terminal and server using the same
KR101877345B1 (en) Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same
KR101858653B1 (en) Method for certifying a user by using mobile id through blockchain database and merkle tree structure related thereto, and terminal and server using the same
KR20190093640A (en) Methods, apparatus, and systems for processing two-dimensional barcodes
EP3373554A1 (en) Authentication in ubiquitous environment
KR20190128309A (en) Blcok chain-based digita id and its issuance and identification method and system
CN110209691B (en) Data processing method and device
KR101818601B1 (en) Method for providing identity verification using card base on near field communication, card, verification terminal, verification support server and identity verification server using the same
KR20200097773A (en) Blockchain-based identity system
KR101841928B1 (en) Method for issuing document offline, method for validating issued offline document, and server using the same
KR101841929B1 (en) Method for issuing document offline and method for validating issued offline document on the basis of merkle tree structure, and server using the same
KR101767535B1 (en) Method for providing identity verification via card base on near field communication, card, verification terminal, verification support server and identity verification server using the same
US11968526B2 (en) Identity management on a mobile device
KR20220028870A (en) Method for mobile identification card authentication service using decentralized identifier based on blockchain networks and user device executing mobile identification card authentication service
KR20190114421A (en) Method for sso service through blockchain, and terminal and server using the same
US20230084651A1 (en) Method, terminal, monitoring entity, and payment system for managing electronic coin datasets
KR101611099B1 (en) Method for issuing of authentication token for real name identification, method for certifying user using the authentication token and apparatus for performing the method

Legal Events

Date Code Title Description
GRNT Written decision to grant