KR20240026069A - Electronic device and method for performing user authentication in electronic device - Google Patents
Electronic device and method for performing user authentication in electronic device Download PDFInfo
- Publication number
- KR20240026069A KR20240026069A KR1020230002384A KR20230002384A KR20240026069A KR 20240026069 A KR20240026069 A KR 20240026069A KR 1020230002384 A KR1020230002384 A KR 1020230002384A KR 20230002384 A KR20230002384 A KR 20230002384A KR 20240026069 A KR20240026069 A KR 20240026069A
- Authority
- KR
- South Korea
- Prior art keywords
- electronic device
- user
- authentication
- security area
- authentication application
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000003860 storage Methods 0.000 claims description 33
- 230000008569 process Effects 0.000 claims description 17
- 238000007789 sealing Methods 0.000 claims description 12
- 238000005259 measurement Methods 0.000 claims description 10
- 210000003462 vein Anatomy 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 49
- 238000013475 authorization Methods 0.000 description 32
- 230000006870 function Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 18
- 239000003795 chemical substances by application Substances 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 14
- 238000012795 verification Methods 0.000 description 9
- 238000013528 artificial neural network Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000002085 persistent effect Effects 0.000 description 3
- 230000000638 stimulation Effects 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010561 standard procedure Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
- G06F21/53—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/321—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
- H04L9/3213—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
다양한 실시예들에 따르면, 전자 장치는, 메모리; 및 상기 메모리에 연결된 적어도 하나의 프로세서를 포함한다. 상기 적어도 하나의 프로세서는, 보안 영역에서 실행되는 제1 인증 어플리케이션을 통해 사용자 크리덴셜(user credential)을 입력 받고, 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행되도록 제어할 수 있다. 상기 적어도 하나의 프로세서는, 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하도록 제어할 수 있다. 상기 적어도 하나의 프로세서는, 일반 영역에서 실행되는 제2 인증 어플리케이션을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하도록 제어할 수 있다. According to various embodiments, an electronic device includes: memory; and at least one processor connected to the memory. The at least one processor receives user credentials through a first authentication application running in the security area, and performs a user authentication procedure in the first authentication application in the security area based on the user credentials. You can control it to run. The at least one processor may control the first authentication application within the security area to issue an access token when the user authentication procedure is successfully completed in the first authentication application within the security area. The at least one processor may control transmission of the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application running in the general area.
Description
본 개시는 전자 장치에서 사용자 인증을 수행하는 방법에 관한 것이다. This disclosure relates to a method of performing user authentication in an electronic device.
디지털 기술의 발달과 함께 이동통신 단말기, 스마트폰(smart phone), 태블릿(tablet) PC(personal computer), 웨어러블 장치(wearable device) 등과 같은 다양한 유형의 전자 장치가 널리 사용되고 있다. With the development of digital technology, various types of electronic devices such as mobile communication terminals, smart phones, tablet personal computers (PCs), wearable devices, etc. are widely used.
전자 장치는 다양한 사용자 경험을 제공하기 위해, 다양한 데이터를 저장할 수 있다. 전자 장치는 데이터베이스에 기반하여, 하나 이상의 어플리케이션, 서비스 및/또는 운영 체제의 데이터를 관리할 수 있다. 예를 들어, 전자 장치는 실행 중인 어플리케이션, 서비스 및/또는 운영 체제에 기반하여, 데이터베이스의 데이터를 처리할 수 있다.Electronic devices can store various data to provide various user experiences. The electronic device may manage data of one or more applications, services and/or operating systems based on a database. For example, an electronic device may process data in a database based on the applications, services and/or operating system it is executing.
한편, 스마트폰과 같은 전자 장치는 사용자 인증 기능을 처리할 수 있다. 예를 들어, 전자 장치는 사용자 인증 후 서비스를 제공 받을 수 있는 어플리케이션을 실행하는 경우, 키보드 입력, 홍채 인식, 지문 인식 등의 사용자 인증 기능을 처리할 수 있다. Meanwhile, electronic devices such as smartphones can handle user authentication functions. For example, when an electronic device runs an application that can provide services after user authentication, it can process user authentication functions such as keyboard input, iris recognition, and fingerprint recognition.
다양한 실시예들에 따르면, 과제의 해결 수단이 상술한 해결 수단들로 제한되는 것은 아니며, 언급되지 아니한 해결 수단들은 본 명세서 및 첨부된 도면으로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.According to various embodiments, the means for solving the problem are not limited to the above-mentioned solution means, and solution methods not mentioned may be disclosed to those skilled in the art from this specification and the attached drawings. You will be able to understand it clearly.
다양한 실시예들에 따르면, 전자 장치는, 메모리; 및 상기 메모리에 연결된 적어도 하나의 프로세서를 포함한다. 상기 적어도 하나의 프로세서는, 보안 영역에서 실행되는 제1 인증 어플리케이션을 통해 사용자 크리덴셜(user credential)을 입력 받고, 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행되도록 제어할 수 있다. 상기 적어도 하나의 프로세서는, 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하도록 제어할 수 있다. 상기 적어도 하나의 프로세서는, 일반 영역에서 실행되는 제2 인증 어플리케이션을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하도록 제어할 수 있다. According to various embodiments, an electronic device includes: memory; and at least one processor connected to the memory. The at least one processor receives user credentials through a first authentication application running in the security area, and performs a user authentication procedure in the first authentication application in the security area based on the user credentials. You can control it to run. The at least one processor may control the first authentication application within the security area to issue an access token when the user authentication procedure is successfully completed in the first authentication application within the security area. The at least one processor may control transmission of the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application running in the general area.
다양한 실시예들에 따르면, 전자 장치의 동작 방법은, 보안 영역에서 실행되는 제1 인증 어플리케이션을 통해 사용자 입력에 대응하는 사용자 크리덴셜(user credential)을 획득하는 동작을 포함할 수 있다. 상기 전자 장치의 동작 방법은, 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행하는 동작을 포함할 수 있다. 상기 전자 장치의 동작 방법은, 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하는 동작을 포함할 수 있다. 상기 전자 장치의 동작 방법은, 일반 영역에서 실행되는 제2 인증 어플리케이션을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하는 동작을 포함할 수 있다. According to various embodiments, a method of operating an electronic device may include obtaining a user credential corresponding to a user input through a first authentication application running in a security area. The method of operating the electronic device may include performing a user authentication procedure in the first authentication application within the security area based on the user credentials. The method of operating the electronic device may include issuing an access token from the first authentication application within the security area when the user authentication procedure is successfully completed in the first authentication application within the security area. You can. The method of operating the electronic device may include transmitting the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application running in the general area.
일 실시예에 따라서, 컴퓨터로 독출 가능한 적어도 하나의 인스트럭션을 저장한 저장 매체가 제공될 수 있다. 상기 적어도 하나의 인스트럭션은, 적어도 하나의 프로세서에 의하여 실행 시에, 전자 장치로 하여금, 복수 개의 동작들을 수행하도록 야기할 수 있다. 상기 복수 개의 동작들은, 보안 영역에서 실행되는 제1 인증 어플리케이션을 통해 사용자 입력에 대응하는 사용자 크리덴셜(user credential)을 획득하는 동작을 포함할 수 있다. 상기 복수 개의 동작들은, 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행하는 동작을 포함할 수 있다. 상기 복수 개의 동작들은, 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하는 동작을 포함할 수 있다. 상기 복수 개의 동작들은, 일반 영역에서 실행되는 제2 인증 어플리케이션을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하는 동작을 포함할 수 있다.According to one embodiment, a storage medium storing at least one computer-readable instruction may be provided. When executed by at least one processor, the at least one instruction may cause the electronic device to perform a plurality of operations. The plurality of operations may include obtaining user credentials corresponding to user input through a first authentication application running in the security area. The plurality of operations may include operations performed by a user authentication procedure in the first authentication application within the security area based on the user credentials. The plurality of operations may include issuing an access token from the first authentication application within the security area when the user authentication procedure is successfully completed in the first authentication application within the security area. . The plurality of operations may include transmitting the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application running in the general area.
도 1은 본 개시의 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 개시의 실시예에 따른 프로그램을 예시하는 블록도이다.
도 3a는 본 개시의 실시예에 따른 전자 장치에서 사인 인(sign in) 기능을 제공하는 일 예시를 나타낸다.
도 3b는 본 개시의 실시예에 따른 전자 장치에서 패스워드 없는 인증을 통한 사인 인(sign in) 기능을 제공하는 일 예시를 나타낸다.
도 4는 본 개시의 실시예에 따른 사용자 인증 방법을 설명하기 위한 도면이다.
도 5는 본 개시의 실시예에 따른 시스템을 설명하기 위한 도면이다.
도 6은 본 개시의 실시예에 따른 인증 어플리케이션의 패키지 구조를 나타내는 도면이다.
도 7은 본 개시의 실시예에 따른 패키지된 인증 어플리케이션이 실행되는 전자 장치 내 구성을 나타내는 도면이다.
도 8은 본 개시의 실시예에 따른 크리덴셜 사용자 등록을 위해 전자 장치내에 저장된 데이터 구조를 나타내는 도면이다.
도 9는 본 개시의 실시예에 따른 온-디바이스 사용자 인증 방법을 설명하기 위한 일 예시를 나타내는 도면이다.
도 10은 본 개시의 실시예에 따른 온-디바이스 사용자 인증 방법을 설명하기 위한 다른 예시를 나타내는 도면이다.
도 11은 본 개시의 실시예에 따른 전자 장치의 동작을 설명하기 위한 순서도이다. 1 is a block diagram of an electronic device in a network environment according to embodiments of the present disclosure.
Figure 2 is a block diagram illustrating a program according to an embodiment of the present disclosure.
FIG. 3A shows an example of providing a sign in function in an electronic device according to an embodiment of the present disclosure.
Figure 3b shows an example of providing a sign in function through password-less authentication in an electronic device according to an embodiment of the present disclosure.
Figure 4 is a diagram for explaining a user authentication method according to an embodiment of the present disclosure.
Figure 5 is a diagram for explaining a system according to an embodiment of the present disclosure.
Figure 6 is a diagram showing the package structure of an authentication application according to an embodiment of the present disclosure.
FIG. 7 is a diagram illustrating a configuration within an electronic device in which a packaged authentication application is executed according to an embodiment of the present disclosure.
FIG. 8 is a diagram illustrating a data structure stored in an electronic device for credential user registration according to an embodiment of the present disclosure.
FIG. 9 is a diagram illustrating an example to explain an on-device user authentication method according to an embodiment of the present disclosure.
FIG. 10 is a diagram illustrating another example to explain an on-device user authentication method according to an embodiment of the present disclosure.
11 is a flowchart for explaining the operation of an electronic device according to an embodiment of the present disclosure.
도 1은 본 개시의 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다. 1 is a block diagram of an electronic device in a network environment according to embodiments of the present disclosure.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1, in the
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or via an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다. According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
도 2는 본 개시의 실시예에 따른 프로그램을 예시하는 블록도이다. Figure 2 is a block diagram illustrating a program according to an embodiment of the present disclosure.
일 실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.According to one embodiment, the
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. The
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자 장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application, for example, controls the power (e.g., turn-on or turn-off) of an external electronic device or some component thereof (e.g., a display module or camera module of the external electronic device) that communicates with the electronic device 101. ) or functions (such as brightness, resolution, or focus). A device management application may additionally or alternatively support installation, deletion, or update of applications running on external electronic devices.
서버(예를 들어, 에지 서버)에서 인증 서비스를 제공하는 경우, 서버에서 사용자의 크리덴셜(credential) 및/또는 사용자의 개인 정보를 관리하고 사용자 인증을 수행하므로 서버 공격 시 사용자의 크리덴셜(credential) 및/또는 사용자의 개인 정보가 노출될 위험이 있다. 패스워드(password)가 없는 인증 기술의 경우, 소프트웨어 공격으로부터 인증 서버가 공격 당할 우려가 있기 때문에 사용자 장치에서 인증 서비스에 대한 활용도가 제한된다. If an authentication service is provided by a server (e.g., an edge server), the server manages the user's credentials and/or the user's personal information and performs user authentication, so in the event of a server attack, the user's credentials ) and/or there is a risk that the user's personal information may be exposed. In the case of authentication technology without a password, the utility of the authentication service on the user device is limited because there is a risk of the authentication server being attacked by a software attack.
본 개시에서는 외부 서버(예를 들어 에지 서버)가 아닌 전자 장치(예를 들어, 도 1의 전자 장치(101)) 내부에서 사용자의 크리덴셜(credential) 정보를 보호하고, 전자 장치 내부에서 크리덴셜 정보를 사용하여 사용자를 직접 인증하는 방법을 제안한다. In the present disclosure, the user's credential information is protected inside the electronic device (e.g., the electronic device 101 of FIG. 1) rather than an external server (e.g., an edge server), and the credential is stored inside the electronic device. We propose a method to directly authenticate users using information.
본 개시에서는 사용자 로그인(user login)(또는 사용자 인증(authentication))에 필요한 사용자 크리덴셜(user credential)을 하드웨어(hardware) 기반의 TEE(trusted execution environment) 기술을 이용하여 안전하게 보관 및/또는 관리할 수 있다. 본 개시에서는 사용자 크리덴셜을 사용한 인증 방식을 하드웨어 기술로 보호하고, 상기 인증 방식을 사용자가 직접 제어함으로써 데이터 주권(Self-sovereign identity)을 강화할 수 있다. 본 개시에 따른 인증 방식은 소프트웨어 공격이나 피싱(phishing) 공격으로부터 보호할 수 있는 온-디바이스 인증(on-device authentication) 기능을 제공할 수 있다. In this disclosure, user credentials required for user login (or user authentication) can be safely stored and/or managed using hardware-based trusted execution environment (TEE) technology. You can. In this disclosure, the authentication method using user credentials is protected with hardware technology, and data sovereignty (self-sovereign identity) can be strengthened by directly controlling the authentication method by the user. The authentication method according to the present disclosure can provide an on-device authentication function that can protect against software attacks or phishing attacks.
도 3a는 본 개시의 실시예에 따른 전자 장치에서 사인 인(sign in) 기능을 제공하는 일 예시를 나타낸다. FIG. 3A shows an example of providing a sign in function in an electronic device according to an embodiment of the present disclosure.
도 3a를 참조하면, 전자 장치(예를 들어, 도 1의 전자 장치(101))에서 전자 장치(예를 들어, 도 1의 전자 장치(101)) 또는 외부 전자 장치(예를 들어, 도 1의 전자 장치(102) 또는 전자 장치(104))에 대한 사인 인(sign in) 기능을 수행할 수 있도록 UI(user interface)를 제공할 수 있다. Referring to FIG. 3A, an electronic device (e.g., the electronic device 101 in FIG. 1) is connected to an electronic device (e.g., the electronic device 101 in FIG. 1) or an external electronic device (e.g., the electronic device 101 in FIG. 1). A user interface (UI) may be provided to perform a sign in function for the
도 3b는 본 개시의 실시예에 따른 전자 장치에서 패스워드 없는 인증을 통한 사인 인(sign in) 기능을 제공하는 일 예시를 나타낸다. Figure 3b shows an example of providing a sign in function through password-less authentication in an electronic device according to an embodiment of the present disclosure.
도 3b를 참조하면, 전자 장치(예를 들어, 도 1의 전자 장치(101))에서 패스워드 없이 하드웨어(hardware) 기반의 TEE(trusted execution environment) 기술을 이용하여 사용자 크리덴셜을 보호할 수 있다. 일 실시예에 따라, 상기 사용자 크리덴셜은 소유자를 식별할 수 있는 암호, 지문, 얼굴, 음성, 홍채, 손바닥 또는 손가락 정맥 패턴이 될 수 있다. Referring to FIG. 3B, user credentials can be protected in an electronic device (e.g., the electronic device 101 of FIG. 1) using hardware-based trusted execution environment (TEE) technology without a password. According to one embodiment, the user credential may be a password, fingerprint, face, voice, iris, palm, or finger vein pattern that can identify the owner.
도 4는 본 개시의 실시예에 따른 사용자 인증 방법을 설명하기 위한 도면이다. Figure 4 is a diagram for explaining a user authentication method according to an embodiment of the present disclosure.
도 4를 참조하면, 시스템은 전자 장치(400)(예를 들어, 도 1의 전자 장치(101)), 어카운트 서비스 서버(account service server)(410), 및 어플리케이션 서버(application server)(420)을 포함한다. 어카운트 서비스 서버(410)는 전자 장치(400)에 대한 사용자 어카운트(user account)를 관리하고, 사용자 크리덴셜을 이용하여 사용자를 검증할 수 있다. 어플리케이션 서버(420)는 전자 장치(400)로 서비스 및/또는 컨텐트를 제공할 수 있는 서버이며, 전자 장치(400)로부터 인가 코드(authorization code)를 수신하면, 어카운트 서비스 서버(410)로부터 사용자 어카운트 정보를 획득할 수 있다. Referring to FIG. 4, the system includes an electronic device 400 (e.g., electronic device 101 in FIG. 1), an
전자 장치(400) 내에 어플리케이션(401) 및 어카운트 서비스 어플리케이션(403)이 설치 및/또는 실행될 수 있다. 어플리케이션(401)은 어플리케이션 서버(420)와 통신하며 데이터 및/또는 정보를 송수신하고, 어카운트 서비스 어플리케이션(403)은 어카운트 서비스 서버(410)와 통신하며 데이터 및/또는 정보를 송수신할 수 있다. The
어카운트 서비스 서버(410)는 사용자 인증을 위한 인증 모듈(authentication)(411), 외부 서버(예를 들어, 어플리케이션 서버(420))가 사용자 어카운트 정보를 획득할 수 있도록 인가 코드를 발급하는 인가(authorization) 모듈(413), 및 외부 서버(예를 들어, 어플리케이션 서버(420))로 액세스 토큰 및/또는 사용자 어카운트 정보를 제공하는 리소스 서버(resource server)(415)를 포함할 수 있다. The
전자 장치(400)는 크리덴셜 소유자로부터 사용자 크리덴셜(user credential)을 입력 받고, 입력 받은 사용자 크리덴셜을 어카운트 서비스 서버(410)로 전달할 수 있다. 사용자 크리덴셜을 전달 받은 어카운트 서비스 서버(410)는 사용자 크리덴셜을 이용한 사용자 검증을 수행하고, 사용자 검증이 완료된 경우 사용자에 대한 허가 코드(authorization code)를 전자 장치(400)로 전송할 수 있다. The
S401 동작에서, 전자 장치(400) 내 어플리케이션(401)은 request authorization을 어카운트 서비스 어플리케이션(403)으로 전송하여 인가를 요청할 수 있다. 일 실시예에 따라, 상기 request authorization은 <response_type=code, client_id=CLIENT_ID, redirect_uri=CALLBACK_URL, scope=read>의 형태로 구현될 수 있다. In operation S401, the
S402 동작에서, 어카운트 서비스 어플리케이션(403)은 사용자 입력에 기반하여 사용자 크리덴셜(user credential)을 입력 받을 수 있다. In operation S402, the
S403 동작에서, 어카운트 서비스 어플리케이션(403)은 인가를 요청하는 authorization request를 어카운트 서비스 서버(410) 내 인가 모듈(413)로 전달할 수 있다. 일 실시예에 따라, 상기 authorization request는 사용자 크리덴셜(user credential)을 포함할 수 있다. 일 실시예에 따라, 상기 authorization request는 <response_type=code, client_id=CLIENT_ID, redirect_uri=CALLBACK_URL, scope=read, User credential>의 형태로 구현될 수 있다. In operation S403, the
S404 동작에서, 어카운트 서비스 서버(410) 내 인증 모듈(411)과 인가 모듈(413)은 사용자 검증 관련 메시지(user verification)를 주고 받을 수 있다. 일 실시예에 따라, 사용자 검증 관련 메시지(user verification)는 사용자 크리덴셜(user credential)을 포함할 수 있다. In operation S404, the
S405 동작에서, 어카운트 서비스 서버(410) 내 인가 모듈(413)은 검증된 사용자 인증 정보(user authentication verified)를 어카운트 서비스 어플리케이션(403)으로 전송할 수 있다. S406 동작에서, 어카운트 서비스 어플리케이션(403)은 사용자 입력에 기반하여 사용자 인가 부여(user authorization grant)를 입력 받을 수 있다.In operation S405, the
S407 동작에서, 어카운트 서비스 어플리케이션(403)은 사용자 인가 부여(user authorization grant)를 어카운트 서비스 서버(410) 내 인가 모듈(413)로 전달할 수 있다. S408 동작에서, 어카운트 서비스 서버(410) 내 인가 모듈(413)은 어카운트 서비스 어플리케이션(403)으로 인가 코드(authorization code)를 포함하는 응답 메시지(reply with authorization code <authorization code>)를 전송할 수 있다. In operation S407, the
S409 동작에서, 어카운트 서비스 어플리케이션(403)은 인가 코드(authorization code)를 어플리케이션(401)으로 전송할 수 있다. S410 동작에서, 어플리케이션(401)은 인가 코드(authorization code)를 어플리케이션 서버(420)로 전송할 수 있다. S411 동작에서, 어플리케이션 서버(420)는 어카운트 서비스 서버(410) 내 인가 모듈(413)로 인가 코드(authorization code)를 포함하는 액세스 토큰 요청(access token request <authorization code>)을 전송할 수 있다. In operation S409, the
S412 동작에서, 어카운트 서비스 서버(410) 내 인가 모듈(413)은 액세스 토큰(access token)을 포함하는 액세스 토큰 그랜트(access token grant <access token>)를 어플리케이션 서버(420)로 전송할 수 있다. S413 동작에서, 어플리케이션 서버(420)는 액세스 토큰(access token)이 있는 Call API를 포함하는 사용자 정보 요청(Request user info <Call API w/ access token>)을 리소스 서버(415)로 전송할 수 있다. S414 동작에서, 리소스 서버(415)는 사용자 어카운트 정보(user account info)를 어플리케이션 서버(420)로 전송할 수 있다. In operation S412, the
도 5는 본 개시의 실시예에 따른 시스템을 설명하기 위한 도면이다. Figure 5 is a diagram for explaining a system according to an embodiment of the present disclosure.
도 5를 참조하면, 시스템은 전자 장치(500)(예를 들어, 도 1의 전자 장치(101)), 서버(560)(예를 들어, 도 1의 서버(108)), 제1 외부 전자 장치(570)(예를 들어, 도 1의 전자 장치(102)), 및 제2 외부 전자 장치(580)(예를 들어, 도 1의 전자 장치(104))를 포함할 수 있다. 도 4의 전자 장치(400)가 외부 서버(예를 들어, 어카운트 서비스 서버(410))를 통해 사용자 인증을 수행하는 것과 달리, 도 5의 전자 장치(500)는 내부에 복수의 모듈을 구비하여 자체적으로 사용자 인증을 수행할 수 있다. Referring to FIG. 5, the system includes an electronic device 500 (e.g., electronic device 101 in FIG. 1), a server 560 (e.g.,
전자 장치(500)는 각각이 독립적으로 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)를 실행할 수 있는 보안 영역(또는 Realm world; 또는 Secure world) 및 일반 영역(또는 Non-secure world; 또는 normal world)을 포함할 수 있다. 일 실시예에 따라, 보안 영역 및 일반 영역은 전자 장치(500) 내에서 물리적으로(또는 하드웨어적으로) 구분되는 별도의 영역일 수 있다. 일 실시예에 따라, 보안 영역 내에서 사용자의 프라이버시(또는 개인 정보) 보호가 필요한 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)가 실행될 수 있다. 예를 들어, 일반 영역은 안드로이드 환경(또는 REE; rich execution environment)에서 구현되고, 보안 영역은 안드로이드와 물리적으로 격리된 TEE(trusted execution environment)에서 구현될 수 있다.The
전자 장치(500)는 일반 영역에서 사용자 인증을 위해 실행되는 인증 어플리케이션(authenticator App(Host Process))(510), 보안 영역에서 사용자 인증을 위해 실행되는 인증 어플리케이션(authenticator App(Realm VM))(520), 상기 보안 영역에서 구현되는 RMM(remote monitoring and management)(530), 상기 일반 영역에서 구현되는 커널(kernel)(540), 및 상기 일반 영역에서 구현되는 루트(root)(550)를 포함할 수 있다. 본 개시에서는 전자 장치(500) 내 일반 영역 및 보안 영역 각각에서 사용자 인증을 위한 인증 어플리케이션(510, 520)을 실행하고, 외부 장치가 접근할 수 없는 보안 영역에서 실행되는 인증 어플리케이션(520)을 통해 사용자 크리덴셜을 보호 및/또는 사용함으로써 프라이버시 정보에 대한 보호를 강화할 수 있다. The
일반 영역에서 실행되는 인증 어플리케이션(510)은 인증 에이전트(authenticator agent)(511)를 포함할 수 있다. 인증 에이전트(511)는 보안 영역에서 실행되는 인증 어플리케이션(520)과 외부 장치(예를 들어, 서버(560), 제1 외부 전자 장치(570), 및/또는 제2 외부 전자 장치(580)) 간 통신을 중개할 수 있다. The
보안 영역에서 실행되는 인증 어플리케이션(520)은 UI를 제공하는 App UI 모듈(521), 사용자 검증을 수행하기 위한 인증 모듈(authentication; 522), 액세스 토큰(access token)을 발급하는 토큰 생성 모듈(token generation; 523), 인가 모듈(authorization; 524), 및 외부 서버로 사용자 정보 및/또는 액세스 토큰을 제공할 수 있는 리소스 서버 모듈(resource server; 525)을 포함할 수 있다. 보안 영역에서 실행되는 인증 어플리케이션(520)은 무결성 측정 값(integrity measurement value; 526), 서비스 제공자(561)의 공개 키(service provider's public key; 527), 및 CA(certified authority)의 공개 키에 대한 인증서 체인(certificate chain for CA's public key; 528)을 포함할 수 있다. The
RMM(530)은 보안 영역에서 동작하는 펌웨어(firmware)이고, 보안 영역을 위한 스테이지 페이지 테이블(stage page table)을 관리하고, realm의 cpu context를 관리할 수 있다. 일 실시예에 따라, realm이란 RMM(530) 상의 exception level 0 또는 1에서 동작하는 소프트웨어(SW) 프로그램을 지칭할 수 있다. 일 실시예에 따라, realm은 ART, shim, application을 모두 포함할 수 있다.The
서버(560)는 원격 서버(remote server)로도 지칭될 수 있고, 전자 장치(500)로 서비스 및/또는 컨텐트를 제공하는 클라우드(cloud) 서버 또는 에지(edge) 서버로 구현될 수 있다. 서버(560)는 전자 장치(500)로 서비스 및/또는 컨텐트를 제공하는 서비스 제공자(service provider; 561)를 포함할 수 있다. The
제1 외부 전자 장치(570)는 릴라잉 어플리케이션(relying application)(571)이 설치되는 전자 장치(예를 들어, TV)일 수 있다. 릴라잉 어플리케이션(571)은 전자 장치(500)로 사용자 인증을 요청하고, 전자 장치(500)로부터 액세스 토큰을 수신하고, 서버(560)로 액세스 토큰을 전달할 수 있다. 일 실시예에 따라, 릴라잉 어플리케이션(571)은 제1 외부 전자 장치(570)가 아닌 전자 장치(500)에서 설치 및/또는 실행될 수 있다. 제2 외부 전자 장치(580)는 서비스 레지스트리(service registry)(581)를 포함하는 전자 장치(예를 들어, Wi-Fi 라우터)일 수 있다. The first external
도 6은 본 개시의 실시예에 따른 인증 어플리케이션의 패키지 구조를 나타내는 도면이다. Figure 6 is a diagram showing the package structure of an authentication application according to an embodiment of the present disclosure.
인증 어플리케이션의 패키지(600)는 서비스 제공자(service provider)(예를 들어, 도 5의 서비스 제공자(561))에 의해 패키지되고, 패키지된 어플리케이션은 앱 마켓(app market)에 업로드되어 사용자에게 배포(deployment)될 수 있다. 크리덴셜 소유자(credential owner)는 전자 장치(예를 들어, 스마트폰) 상에서 인증 어플리케이션 패키지를 다운로드 받을 수 있다.The package 600 of the authentication application is packaged by a service provider (e.g., the
도 6을 참조하면, 인증 어플리케이션의 패키지(600)는 App UI 모듈(601), 인증 모듈(authentication; 602), 토큰 생성 모듈(token generation; 603), 인가 모듈(authorization; 604), 리소스 서버 모듈(resource server; 605), 및 인증 에이전트(authenticator agent; 605)를 포함할 수 있다. 일 실시예에 따라, 인증 어플리케이션의 패키지(600)는 런타임 이미지 모듈(runtime image; 607)을 더 포함할 수 있다. 일 실시예에 따라, 인증 어플리케이션의 패키지(600)는 OS/커널 이미지 모듈(OS/Kernel image; 608)을 더 포함할 수 있다.Referring to FIG. 6, the authentication application package 600 includes an
인증 어플리케이션의 패키지(600)는 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 공개키로 서명된 인증서(certificate signed by the service provider's public key; 608)를 포함하고, 인증서(608)는 무결성 측정 값(integrity measurement value; 609)을 포함할 수 있다. 인증 어플리케이션의 패키지(600)는 CA(certified authority)에서 서명한 인증서(certificate signed by CA; 610)를 포함하고, 인증서(610)는 서비스 제공자의 공개 키(service provider's public key; 611)를 포함할 수 있다. 일 실시예에 따라, 인증 어플리케이션의 패키지(600)는 CA의 공개 키에 대한 인증서 체인(certificate chain for CA's public key; 612)을 더 포함할 수 있다.The package 600 of the authentication application includes a certificate signed by the service provider's public key (608) (e.g.,
서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))는 인증자 어플리케이션을 가상 머신 이미지(virtual machine image)로 패키징할 수 있다. 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))는 메타데이터 및 패키지 이미지를 구비할 수 있다. 일 실시예에 따라, 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))는 App UI 모듈(601), 인증 모듈(602), 토큰 생성 모듈(603), 인가 모듈(604)을 포함하는 보안 영역 내 실행을 위한 가상 머신 이미지의 무결성 측정 값(609)이 포함된 인증서(608)를 구비(또는 패키지)할 수 있다. 일 실시예에 따라, 서비스 제공자는 런타임 이미지(607)와 OS/커널 이미지(608)를 구비(또는 패키지)할 수 있다. 일 실시예에 따라, 서비스 제공자는 CA(certified authority)의 개인 키(private key)로 서명한 공급자의 공개 키가 포함된 인증서를 구비(또는 패키지)할 수 있다. 일 실시예에 따라, 서비스 제공자는 CA의 공개 키를 획득하고 이의 유효성을 검사하는 데 사용할 수 있는 인증서 체인(612)을 구비(또는 패키지)할 수 있다.A service provider (eg,
일 실시예에 따라, 가상 머신 이미지는 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 개인 키(private key)로 서명될 수 있다. 일 실시예에 따라, 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))에 의해 패키지된 어플리케이션은 앱 마켓(app market)에 업로드될 수 있다. 크리덴셜 소유자(credential owner)는 전자 장치(예를 들어, 스마트폰) 상에서 인증 어플리케이션 패키지를 다운로드 받을 수 있다. 무결성 측정 값(609)이 포함된 인증서(908)를 이용하여 보안 영역에서 실행을 위한 이미지의 무결성이 확인될 수 있다. 일 실시예에 따라, 릴라잉 어플리케이션(relying application)은 인증서 및 인증서 체인 뿐만 아니라 원격 증명(remote attestation)을 위한 인증 어플리케이션을 요청할 수 있다. 인증서 체인을 사용하여 무결성 측정 값(609)이 포함된 인증서(608)의 유효성이 검증될 수 있다. 이후, 무결성 측정 값(609)이 원격 증명과 비교되고, 인증자의 무결성이 릴라잉 어플리케이션(relying application)에서 검증될 수 있다. According to one embodiment, the virtual machine image may be signed with the private key of the service provider (eg,
도 7은 본 개시의 실시예에 따른 패키지된 인증 어플리케이션이 실행되는 전자 장치 내 구성을 나타내는 도면이다. FIG. 7 is a diagram illustrating a configuration within an electronic device in which a packaged authentication application is executed according to an embodiment of the present disclosure.
서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))에 의해 생성된 인증 어플리케이션 패키지가 전자 장치(예를 들어, 도 5의 전자 장치(500))) 상에서 다운로드되면, 인증 어플리케이션은 전자 장치 내에서 소프트웨어 스택(software stack; 또는 SW stack)의 형태로 구현될 수 있다. When an authentication application package created by a service provider (e.g.,
도 7을 참조하면, 인증 어플리케이션의 SW 스택(700)은 일반 영역에서 실행될 수 있는 인증 어플리케이션(710)을 포함하고, 인증 어플리케이션(710)은 인증 에이전트(authenticator agent)(711)를 포함할 수 있다. 인증 에이전트(711)는 보안 영역에서 실행되는 인증 어플리케이션(720)과 외부 장치(예를 들어, 서버(560), 제1 외부 전자 장치(570), 및/또는 제2 외부 전자 장치(580)) 간 통신을 중개할 수 있다. Referring to FIG. 7, the
인증 어플리케이션의 SW 스택(700)은 보안 영역에서 실행될 수 있는 인증 어플리케이션(720)을 포함하고, 인증 어플리케이션(720)은 App UI 모듈(721), 인증 모듈(authentication; 722), 토큰 생성 모듈(token generation; 723), 인가 모듈(authorization; 724), 리소스 서버 모듈(resource server; 725), 런타임 이미지 모듈(runtime image; 726)을 포함할 수 있다. 일 실시예에 따라, 보안 영역에서 실행될 수 있는 인증 어플리케이션(720)은 OS/커널 이미지 모듈(OS/Kernel image; 727)을 더 포함할 수 있다.The
전자 장치 내 데이터베이스(또는 스토리지)(730)는 SW binaries를 포함하는 SW 스택(700), 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 공개키로 서명된 인증서(certificate signed by the service provider's public key; 731), 및 CA(certified authority)에서 서명한 인증서(certificate signed by CA; 733)를 포함할 수 있다. 일 실시예에 따라, 데이터베이스(또는 스토리지)(730)는 CA의 공개 키에 대한 인증서 체인(certificate chain for CA's public key; 733)을 더 포함할 수 있다. 일 실시예에 따라, 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 공개키로 서명된 인증서(731)는 무결성 측정 값(integrity measurement value; 732)을 포함할 수 있다. 일 실시예에 따라, CA에서 서명한 인증서(733)는 서비스 제공자의 공개 키(service provider's public key; 734)를 포함할 수 있다.The database (or storage) 730 in the electronic device is a
크리덴셜 소유자(credential-owner) 등록 시, 크리덴셜 소유자는 사전에 사인 업(sign up)하고 서비스에 가입할 수 있다. 초기 사인 업 절차는 서비스의 원래 온라인 등록 절차와 동일할 수 있다. 일 실시예에 따라, 최초 가입 이후에는 크리덴셜 소유자가 먼저 전자 장치(예를 들어, 스마트폰)에 필요한 사용자 데이터를 다운로드 해야 할 수 있다.When registering as a credential-owner, the credential owner can sign up in advance and subscribe to the service. The initial sign-up process may be identical to the original online registration process for the Service. According to one embodiment, after initial registration, the credential owner may first need to download necessary user data to an electronic device (e.g., smartphone).
크리덴셜 소유자는 인증 어플리케이션(authenticator app)을 시작할 수 있다. UI 및 신뢰할 수 있는 I/O를 통해 크리덴셜 소유자는 인증자 어플리케이션이 초기 프로비저닝(initial provisioning)을 시작하도록 할 수 있다. The credential owner can launch the authenticator app. The UI and trusted I/O allow the credential owner to have the authenticator application initiate initial provisioning.
일반 영역(또는 Non-secure world; 또는 normal world)에서 인증 에이전트(711)는 서비스 제공자의 원격 서버에 연결될 수 있다. 원격 증명(remote attestation) 및 검증(verification)이 진행되고, 보안 영역(또는 Realm world; 또는 Secure world) 내 인증 어플리케이션(720) 및 원격 서버가 (일반 영역의 인증 에이전트(711)를 통해) 보안 연결될 수 있다. In the general area (or Non-secure world; or normal world), the
도 8은 본 개시의 실시예에 따른 크리덴셜 사용자 등록을 위해 전자 장치내에 저장된 데이터 구조를 나타내는 도면이다. FIG. 8 is a diagram illustrating a data structure stored in an electronic device for credential user registration according to an embodiment of the present disclosure.
도 8을 참조하면, 전자 장치는 스토리지(800) 및 보안 강화 HW(security enforced HW)(830)를 포함할 수 있다. 스토리지(800)는 영구 스토리지(persistent storage)로 구현되고, 보안 강화 HW(830)는 보안 스토리지(secure storage) 또는 보안 엘레먼트(secure element)로 구현될 수 있다.Referring to FIG. 8, the electronic device may include a
전자 장치 내 스토리지(800)는 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 공개키로 서명된 인증서(certificate signed by the service provider's public key; 810), 및 CA(certified authority)에서 서명한 인증서(certificate signed by CA; 812)를 포함할 수 있다. 일 실시예에 따라, 스토리지(800)는 CA의 공개 키에 대한 인증서 체인(certificate chain for CA's public key; 814)을 더 포함할 수 있다. 일 실시예에 따라, 서비스 제공자(예를 들어, 도 5의 서비스 제공자(561))의 공개키로 서명된 인증서(810)는 무결성 측정 값(integrity measurement value; 811)을 포함할 수 있다. 일 실시예에 따라, CA에서 서명한 인증서(812)는 서비스 제공자의 공개 키(service provider's public key; 813)를 포함할 수 있다.The
전자 장치 내 스토리지(800)는 보안 강화 HW(830)에 저장되는 실링 키(831)에 의해 암호화된 데이터(820~823)를 포함할 수 있다. 실링 키(831)에 의해 암호화된 데이터(820~823)는 사용자 크리덴셜(user credential; 820), 구독 상태(subscription status; 821), 사용자 프로필(user profile; 822), 및 암호화 키(encryption key; 823)를 포함할 수 있다. 일 실시예에 따라, 보안 영역 내 인증 어플리케이션은 보안 채널을 통해 사용자 크리덴셜(user credential), 구독 상태(subscription status), 사용자 프로필(user profile), 및 암호화 키(encryption key)를 포함하는 사용자 데이터를 다운로드할 수 있다.The
본 개시에서 사용자 크리덴셜(user credential), 구독 상태(subscription status), 사용자 프로필(user profile), 및 암호화 키(encryption key)는 아래와 같이 정의될 수 있다. In this disclosure, user credential, subscription status, user profile, and encryption key may be defined as follows.
1) 사용자 크리덴셜(user credential)1) User credential
이는 크리덴셜 소유자를 식별할 수 있는 암호, 지문, 얼굴, 음성, 홍채, 손바닥 또는 손가락 정맥 패턴이 될 수 있으며, 초기 등록 프로세스 중에 계정 서비스 제공자에게 제공될 수 있다.This could be a password, fingerprint, face, voice, iris, palm, or finger vein pattern that identifies the holder of the credential and may be provided to the account service provider during the initial registration process.
2) 구독 상태(subscription status)2) Subscription status
크리덴셜 소유자가 등록하고 지불한 구독에 대한 정보Information about subscriptions registered and paid for by the credential owner
3) 사용자 프로필(user profile)3) User profile
사용자 이름, 이메일 주소, 전화번호 등의 개인 정보Personal information such as user name, email address, and phone number
4) 암호화 키(encryption key)4) Encryption key
액세스 토큰(access token) 생성 및 유효성 검사에 사용하기 위해 서비스 제공자가 생성한 인증 어플리케이션과 서비스 제공자의 원격 서버 간의 공유된 비밀 정보. 생성된 각 인증 토큰(authentication token)은 공유 암호에 의해 서명되고 검증될 수 있다.Secret information shared between the service provider's remote server and an authentication application created by the service provider for use in generating and validating access tokens. Each authentication token generated can be signed and verified by a shared secret.
일 실시예에 따라, 인증 어플리케이션은 프로비저닝된 데이터를 봉인(sealing)할 수 있다. 일 실시예에 따라, 인증 어플리케이션은 신뢰할 수 있는 컴퓨팅 분야의 표준 기술을 사용하여 영구 스토리지(persistent storage)에 기밀 데이터(confidential data)를 안전하게 저장할 수 있다. 일 실시예에 따라, 사용자 데이터(user data)는 인증자(authenticator)가 직접 생성하는 암호화 키(encryption key)로 암호화 한 뒤, 하드웨어에 키가 저장될 수 있다. 저장된 키는 인증자(authenticator)만 획득할 수 있기 때문에, 인증자만이 사용자 데이터를 복호화 할 수 있다.According to one embodiment, the authentication application may seal provisioned data. According to one embodiment, the authentication application may securely store confidential data in persistent storage using standard techniques in the trusted computing field. According to one embodiment, user data may be encrypted with an encryption key directly generated by an authenticator, and then the key may be stored in hardware. Because the stored key can only be obtained by the authenticator, only the authenticator can decrypt user data.
인증자 어플리케이션은 프로비저닝된 데이터를 암호화하기 위해 실링 키(sealing key)를 생성할 수 있다. 일 실시예에 따라, 실링 키는 서비스 제공자가 프로비저닝한 것과 다른 암호화 키일 수 있다. 인증자 어플리케이션은 사용자 데이터에 대해 생성된 실링 키를 사용하여 프로비저닝된 사용자 데이터를 암호화할 수 있다.The authenticator application can generate a sealing key to encrypt provisioned data. According to one embodiment, the sealing key may be a different encryption key than the one provisioned by the service provider. The authenticator application can encrypt provisioned user data using a sealing key generated for the user data.
인증자 어플리케이션은 암호화된 사용자 데이터를 온-디바이스 영구 스토리지에 저장하고 실링 키를 하드웨어 강제 보안(hardware enforced security)에 저장할 수 있다. 실링 키는 인증자만 검색할 수 있으므로 인증자 어플리케이션만 사용자 데이터를 복호화할 수 있다. 인증자 어플리케이션만 사용자 데이터의 봉인을 해제할 수 있다.The authenticator application can store encrypted user data in on-device persistent storage and store the sealing key in hardware enforced security. The sealing key can only be retrieved by the authenticator, so only the authenticator application can decrypt user data. Only the authenticator application can unseal user data.
일 실시예에 따라, 릴라잉 어플리케이션(relying app)의 클라이언트 비밀 등록 절차는 아래의 1) 내지 3)으로 진행될 수 있다. According to one embodiment, the client secret registration procedure of the relating application may proceed as 1) to 3) below.
1) 크리덴셜 소유자는 서비스를 사용하려는 다른 전자 장치(또는 사용자 기기) 상에서 릴라잉 애플리케이션을 다운로드할 수 있다 (인증 어플리케이션(authenticator app)을 통해 인증한 후).1) The credential owner can download the Relying application on another electronic device (or user device) that wants to use the service (after authenticating through the authenticator app).
2) 릴라잉 어플리케이션은 원격 증명(remote attestation) 및 검증(verification) 후 보안 채널(secure channel)을 통해 서버(또는 원격 버서)에 연결할 수 있다.2) The relaying application can connect to the server (or remote server) through a secure channel after remote attestation and verification.
3) 릴라잉 어플리케이션은 서비스 제공자의 서버(또는 원격 서버)에서 클라이언트 비밀 정보(client secret)를 다운로드할 수 있다. 일 실시예에 따라, 상기 클라이언트 비밀 정보는 인증 측면에서 이미 서버에 등록된 것으로 간주될 수 있다. 일 실시예에 따라, 3)번 동작은 OAuth 2.0의 클라이언트 비밀 등록(client secret registration) 절차에 기반하여 수행될 수 있다. 3) The relaying application can download client secret information from the service provider's server (or remote server). According to one embodiment, the client secret information may be considered to have already been registered with the server for authentication purposes. According to one embodiment, operation 3) may be performed based on the client secret registration procedure of OAuth 2.0.
도 9는 본 개시의 실시예에 따른 온-디바이스 사용자 인증 방법을 설명하기 위한 일 예시를 나타내는 도면이다. FIG. 9 is a diagram illustrating an example to explain an on-device user authentication method according to an embodiment of the present disclosure.
도 9를 참조하면, 시스템은 전자 장치(900), 서버(930), 외부 전자 장치(940)를 포함할 수 있다. Referring to FIG. 9 , the system may include an
전자 장치(900)는 각각이 독립적으로 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)를 실행할 수 있는 보안 영역(또는 Realm world; 또는 Secure world) 및 일반 영역(또는 Non-secure world; 또는 normal world)을 포함할 수 있다. 일 실시예에 따라, 보안 영역 및 일반 영역은 전자 장치(900) 내에서 물리적으로(또는 하드웨어적으로) 구분되는 별도의 영역일 수 있다. 일 실시예에 따라, 보안 영역 내에서 사용자의 프라이버시(또는 개인 정보) 보호가 필요한 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)가 실행될 수 있다. 예를 들어, 일반 영역은 안드로이드 환경(또는 REE; rich execution environment)에서 구현되고, 보안 영역은 안드로이드와 물리적으로 격리된 TEE(trusted execution environment)에서 구현될 수 있다.The
전자 장치(900)는 일반 영역에서 실행되는 인증 어플리케이션(authenticator App(Host Process))(910), 및 보안 영역에서 실행되는 인증 어플리케이션(authenticator App)(920)를 포함할 수 있다. 일반 영역에서 실행되는 인증 어플리케이션(910)은 인증 에이전트(authenticator agent)(911)를 포함할 수 있다. 보안 영역에서 실행되는 인증 어플리케이션(920)은 App UI 모듈(921), 인증 모듈(authentication; 922), 및 토큰 생성 모듈(token generation; 923)을 포함할 수 있다. The
서버(930)는 원격 서버(remote server) 또는 앱 서버(app server)로도 지칭될 수 있고, 전자 장치(900)로 서비스 및/또는 컨텐트를 제공하는 클라우드(cloud) 서버 또는 에지(edge) 서버로 구현될 수 있다. The
외부 전자 장치(940)는 릴라잉 어플리케이션(relying application)(941)이 설치되는 전자 장치(예를 들어, TV)일 수 있다. 일 실시예에 따라, 릴라잉 어플리케이션(941)은 외부 전자 장치(940)가 아닌 전자 장치(900) 내에 설치 및/또는 실행될 수 있다. The external
도 9를 참조하면, S901 동작에서, 릴라잉 어플리케이션(941)은 인증 에이전트(911)로 인증 요청 메시지(authentication request)를 전송할 수 있다. 902 동작에서, App UI 모듈(921)은 UI(user interface)를 통해 사용자 크리덴셜에 대한 요청(user credentials request via UI)을 수신할 수 있다. 903 동작에서, App UI 모듈(921)은 크리덴셜 소유자(credential owner)가 입력하는 사용자 크리덴셜을 입력 받을 수 있다. Referring to FIG. 9, in operation S901, the relaying
904 동작에서, App UI 모듈(921)은 UI를 통한 사용자 크리덴셜(user credentials via UI)을 인증 모듈(922)로 전송할 수 있다. 905 동작에서, 인증 모듈(922)은 토큰 생성 요청(token generation request)을 토큰 생성 모듈(923)로 전송할 수 있다. 906 동작에서, 토큰 생성 모듈(923)은 상기 토큰 생성 요청에 응답하여 액세스 토큰(access token)을 인증 모듈(922)로 전송할 수 있다. 일 실시예에 따라, 인증 모듈(922)은 일반 영역 내 인증 에이전트(911)로 액세스 토큰(access token)을 전달할 수 있다. In operation 904, the
907 동작에서, 일반 영역 내 인증 에이전트(911)는 외부 전자 장치(940) 내 릴라잉 어플리케이션(941)으로 액세스 토큰(access token)을 전송할 수 있다. 908 동작에서, 릴라잉 어플리케이션(941)은 서버(930)로 액세스 토큰(access token)을 전달할 수 있다.In
도 10은 본 개시의 실시예에 따른 온-디바이스 사용자 인증 방법을 설명하기 위한 다른 예시를 나타내는 도면이다. FIG. 10 is a diagram illustrating another example to explain an on-device user authentication method according to an embodiment of the present disclosure.
도 10을 참조하면, 시스템은 전자 장치(1000) 및 릴라잉 어플리케이션(1030)을 포함할 수 있다. 전자 장치(1000)는 각각이 독립적으로 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)를 실행할 수 있는 보안 영역(또는 Realm world; 또는 Secure world) 및 일반 영역(또는 Non-secure world; 또는 normal world)을 포함할 수 있다. 일 실시예에 따라, 보안 영역 및 일반 영역은 전자 장치(1000) 내에서 물리적으로(또는 하드웨어적으로) 구분되는 별도의 영역일 수 있다. 일 실시예에 따라, 보안 영역 내에서 사용자의 프라이버시(또는 개인 정보) 보호가 필요한 어플리케이션 및/또는 서비스(또는 어플리케이션 코드)가 실행될 수 있다. 예를 들어, 일반 영역은 안드로이드 환경(또는 REE; rich execution environment)에서 구현되고, 보안 영역은 안드로이드와 물리적으로 격리된 TEE(trusted execution environment)에서 구현될 수 있다.Referring to FIG. 10 , the system may include an
전자 장치(1000)는 일반 영역에서 실행되는 인증 어플리케이션(authenticator App(Host Process))(1010), 및 보안 영역에서 실행되는 인증 어플리케이션(authenticator App)(1020)를 포함할 수 있다. 일반 영역에서 실행되는 인증 어플리케이션(1010)은 인증 에이전트(authenticator agent)(1011)를 포함할 수 있다. 보안 영역에서 실행되는 인증 어플리케이션(1020)은 App UI 모듈(1021), 인증 모듈(authentication; 1022), 토큰 생성 모듈(token generation; 1023), 및 리소스 서버(resource server; 1024)를 포함할 수 있다. The
릴라잉 어플리케이션(1030)은 외부 전자 장치 내에서 설치 및/또는 실행될 수 있다. 일 실시예에 따라, 릴라잉 어플리케이션(1030)은 전자 장치(1000) 내에서 설치 및/또는 실행될 수도 있다.The relaying
도 10을 참조하면, S1001 동작에서, 릴라잉 어플리케이션(1030)은 일반 영역 내 인증 에이전트(1011)를 통해 보안 영역 내 인증 모듈(1022)로 액세스 토큰 요청(access token request)을 전송할 수 있다. Referring to FIG. 10, in operation S1001, the relaying
S1002 동작에서, 보안 영역 내 App UI 모듈(1021)은 UI를 통해 사용자 크리덴셜 및 허가를 요청(user credentials & permission request via UI)할 수 있다. S1003 동작에서, App UI 모듈(1021)은 크리덴셜 소유자(credential owner)의 사용자 크리덴셜 입력 및 허가 입력을 입력 받을 수 있다. In operation S1002, the
S1004 동작에서, App UI 모듈(1021)은 UI를 통한 사용자 크리덴셜 및 허가(user credentials & permission via UI)를 인증 모듈(1022)로 전송할 수 있다. S1005 동작에서, 인증 모듈(1022)은 토큰 생성 요청(token generation request)을 토큰 생성 모듈(1023)로 전송할 수 있다. S1006 동작에서, 토큰 생성 모듈(1023)은 상기 토큰 생성 요청에 응답하여 액세스 토큰(access token)을 인증 모듈(1022)로 전송할 수 있다. S1008 동작에서, 리소스 서버(1024)는 인증 에이젼트(1011)를 통해 액세스 토큰(access token)을 릴라잉 어플리케이션(1030)으로 전송할 수 있다. In operation S1004, the
도 11은 본 개시의 실시예에 따른 전자 장치의 동작을 설명하기 위한 순서도이다. 11 is a flowchart for explaining the operation of an electronic device according to an embodiment of the present disclosure.
도 11을 참조하면, 1110 동작에서, 전자 장치(도 1의 전자 장치(101); 도 5의 전자 장치(500))는 보안 영역에서 실행되는 제1 인증 어플리케이션(도 5의 인증 어플리케이션(520))을 통해 사용자 입력에 대응하는 사용자 크리덴셜(user credential)을 획득할 수 있다. 1120 동작에서, 상기 전자 장치는 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행할 수 있다. 1130 동작에서, 상기 전자 장치는, 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급할 수 있다. 1140 동작에서, 상기 전자 장치는, 일반 영역에서 실행되는 제2 인증 어플리케이션(도 5의 인증 어플리케이션(510))을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송할 수 있다. Referring to FIG. 11, in
일 실시예에 따라, 상기 일반 영역은 REE(rich execution environment)에서 구현되고, 상기 보안 영역은 TEE(trusted execution environment)에서 구현될 수 있다. 일 실시예에 따라, 상기 전자 장치는 상기 일반 영역 내 상기 제2 인증 어플리케이션을 통해 상기 외부 전자 장치로부터 인증 요청 메시지를 수신할 수 있다. According to one embodiment, the general area may be implemented in a rich execution environment (REE), and the security area may be implemented in a trusted execution environment (TEE). According to one embodiment, the electronic device may receive an authentication request message from the external electronic device through the second authentication application in the general area.
일 실시예에 따라, 상기 보안 영역 내 상기 제1 인증 어플리케이션은, 무결성 측정 값(integrity measurement value), 서비스 제공자(service provider)의 공개 키(public key), 및 CA(certified authority)의 공개 키에 대한 인증서 체인(certificate chain) 중에서 적어도 하나를 포함할 수 있다. 일 실시예에 따라, 상기 전자 장치는, 상기 보안 영역에서 구현되며, 상기 보안 영역을 위한 스테이지 페이지 테이블(stage page table)을 관리하고, realm의 CPU 컨텍스트(context)를 관리하는 RMM (remote monitoring and management)을 더 포함할 수 있다. According to one embodiment, the first authentication application in the security area includes an integrity measurement value, a public key of a service provider, and a public key of a certified authority (CA). It may include at least one from the certificate chain. According to one embodiment, the electronic device is implemented in the security area, manages a stage page table for the security area, and manages a CPU context of the realm. management) may be further included.
일 실시예에 따라, 상기 메모리는 제1 스토리지 및 제2 스토리지를 포함할 수 있다. 상기 제1 스토리지는 실링 키(sealing key)를 포함할 수 있다. 상기 제2 스토리지는 상기 실링 키에 기반하여 암호화되는 사용자 크리덴셜(user credential), 구독 상태(subscription status), 사용자 프로필(user profile), 및 암호화 키(encryption key)를 포함할 수 있다. According to one embodiment, the memory may include first storage and second storage. The first storage may include a sealing key. The second storage may include user credentials, subscription status, user profile, and encryption key that are encrypted based on the sealing key.
일 실시예에 따라, 상기 보안 영역 내 상기 제1 인증 어플리케이션은, UI(user interface)를 제공하는 App UI 모듈; 상기 사용자 인증 절차를 수행하는 인증 모듈; 상기 액세스 토큰을 발급하는 토큰 생성 모듈; 및 외부 서버로 사용자 정보 및 상기 액세스 토큰을 전송하는 리소스 서버 모듈을 포함할 수 있다. 일 실시예에 따라, 상기 사용자 크리덴셜은, 상기 사용자 크리덴셜의 소유자를 식별할 수 있는 암호, 지문, 얼굴, 음성, 홍채, 손바닥, 또는 손가락 정맥 패턴 중에서 적어도 하나를 포함할 수 있다. According to one embodiment, the first authentication application within the security area includes an App UI module that provides a user interface (UI); An authentication module that performs the user authentication process; a token generation module that issues the access token; and a resource server module that transmits user information and the access token to an external server. According to one embodiment, the user credential may include at least one of a password, fingerprint, face, voice, iris, palm, or finger vein pattern that can identify the owner of the user credential.
Claims (16)
메모리(도 1의 메모리(130)); 및
상기 메모리에 연결된 적어도 하나의 프로세서(도 1의 프로세서(120))를 포함하고,
상기 적어도 하나의 프로세서는,
보안 영역에서 실행되는 제1 인증 어플리케이션(도 5의 인증 어플리케이션(520))을 통해 사용자 크리덴셜(user credential)을 입력 받고, 상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행되도록 제어하고,
상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하도록 제어하고,
일반 영역에서 실행되는 제2 인증 어플리케이션(도 5의 인증 어플리케이션(510))을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하도록 제어하는, 전자 장치. In an electronic device (electronic device 101 in FIG. 1; electronic device 500 in FIG. 5),
Memory (memory 130 in Figure 1); and
Includes at least one processor (processor 120 in FIG. 1) connected to the memory,
The at least one processor,
A user credential is input through a first authentication application (authentication application 520 in FIG. 5) running in the security area, and the user is authenticated in the first authentication application within the security area based on the user credential. Controlling that the authentication process is carried out,
When the user authentication process is successfully completed in the first authentication application in the security area, control the first authentication application in the security area to issue an access token,
An electronic device that controls to transmit the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application (authentication application 510 in FIG. 5) running in the general area.
상기 일반 영역 내 상기 제2 인증 어플리케이션을 통해 상기 외부 전자 장치로부터 인증 요청 메시지를 수신하는, 전자 장치. The method of any one of claims 1 to 2, wherein the at least one processor:
An electronic device that receives an authentication request message from the external electronic device through the second authentication application in the general area.
무결성 측정 값(integrity measurement value), 서비스 제공자(service provider)의 공개 키(public key), 및 CA(certified authority)의 공개 키에 대한 인증서 체인(certificate chain) 중에서 적어도 하나를 포함하는, 전자 장치. The method of any one of claims 1 to 3, wherein the first authentication application in the security area is,
An electronic device, comprising at least one of an integrity measurement value, a public key of a service provider, and a certificate chain for the public key of a certified authority (CA).
상기 보안 영역에서 구현되며, 상기 보안 영역을 위한 스테이지 페이지 테이블(stage page table)을 관리하고, realm의 CPU 컨텍스트(context)를 관리하는 RMM (remote monitoring and management)을 더 포함하는, 전자 장치. The method of any one of claims 1 to 4, wherein the electronic device:
The electronic device further includes a remote monitoring and management (RMM) implemented in the security area, managing a stage page table for the security area, and managing CPU context of the realm.
상기 제1 스토리지는 실링 키(sealing key)를 포함하고,
상기 제2 스토리지는 상기 실링 키에 기반하여 암호화되는 사용자 크리덴셜(user credential), 구독 상태(subscription status), 사용자 프로필(user profile), 및 암호화 키(encryption key)를 포함하는, 전자 장치. The method of any one of claims 1 to 5, wherein the memory includes first storage and second storage,
The first storage includes a sealing key,
The second storage includes user credentials, subscription status, user profile, and encryption key that are encrypted based on the sealing key.
UI(user interface)를 제공하는 App UI 모듈;
상기 사용자 인증 절차를 수행하는 인증 모듈;
상기 액세스 토큰을 발급하는 토큰 생성 모듈; 및
외부 서버로 사용자 정보 및 상기 액세스 토큰을 전송하는 리소스 서버 모듈을 포함하는, 전자 장치.The method of any one of claims 1 to 6, wherein the first authentication application in the security area is,
App UI module that provides a user interface (UI);
An authentication module that performs the user authentication process;
a token generation module that issues the access token; and
An electronic device comprising a resource server module that transmits user information and the access token to an external server.
상기 사용자 크리덴셜의 소유자를 식별할 수 있는 암호, 지문, 얼굴, 음성, 홍채, 손바닥, 또는 손가락 정맥 패턴 중에서 적어도 하나를 포함하는, 전자 장치. The method of any one of claims 1 to 7, wherein the user credential is:
An electronic device comprising at least one of a password, fingerprint, face, voice, iris, palm, or finger vein pattern capable of identifying the owner of the user credential.
보안 영역에서 실행되는 제1 인증 어플리케이션(도 5의 인증 어플리케이션(520))을 통해 사용자 입력에 대응하는 사용자 크리덴셜(user credential)을 획득하는 동작;
상기 사용자 크리덴셜을 기반으로 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 사용자 인증 절차가 수행하는 동작;
상기 보안 영역 내 상기 제1 인증 어플리케이션에서 상기 사용자 인증 절차가 성공적으로 완료되면 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 액세스 토큰(access token)을 발급하는 동작; 및
일반 영역에서 실행되는 제2 인증 어플리케이션(도 5의 인증 어플리케이션(510))을 통해 상기 보안 영역 내 상기 제1 인증 어플리케이션에서 발급된 상기 액세스 토큰을 외부 전자 장치로 전송하는 동작을 포함하는 방법. In a method of operating an electronic device (electronic device 101 in FIG. 1; electronic device 500 in FIG. 5),
Obtaining user credentials corresponding to user input through a first authentication application (authentication application 520 in FIG. 5) running in the security area;
Operations performed by a user authentication procedure in the first authentication application within the security area based on the user credentials;
issuing an access token from the first authentication application within the security area when the user authentication process is successfully completed in the first authentication application within the security area; and
A method comprising transmitting the access token issued by the first authentication application in the security area to an external electronic device through a second authentication application (authentication application 510 in FIG. 5) running in the general area.
상기 일반 영역 내 상기 제2 인증 어플리케이션을 통해 상기 외부 전자 장치로부터 인증 요청 메시지를 수신하는 동작을 더 포함하는, 방법. According to any one of claims 9 to 10,
The method further includes receiving an authentication request message from the external electronic device through the second authentication application in the general area.
무결성 측정 값(integrity measurement value), 서비스 제공자(service provider)의 공개 키(public key), 및 CA(certified authority)의 공개 키에 대한 인증서 체인(certificate chain) 중에서 적어도 하나를 포함하는, 방법. The method of any one of claims 9 to 11, wherein the first authentication application in the security area is,
A method comprising at least one of an integrity measurement value, a public key of a service provider, and a certificate chain for the public key of a certified authority (CA).
상기 보안 영역에서 구현되며, 상기 보안 영역을 위한 스테이지 페이지 테이블(stage page table)을 관리하고, realm의 CPU 컨텍스트(context)를 관리하는 RMM (remote monitoring and management)을 더 포함하는, 방법. The method of any one of claims 9 to 12, wherein the electronic device:
The method further includes a remote monitoring and management (RMM) implemented in the security area, managing a stage page table for the security area, and managing CPU context of the realm.
상기 제1 스토리지는 실링 키(sealing key)를 포함하고,
상기 제2 스토리지는 상기 실링 키에 기반하여 암호화되는 사용자 크리덴셜(user credential), 구독 상태(subscription status), 사용자 프로필(user profile), 및 암호화 키(encryption key)를 포함하는, 방법. 14. The method of any one of claims 9 to 13, wherein the memory includes first storage and second storage,
The first storage includes a sealing key,
The second storage includes user credentials, subscription status, user profile, and encryption key that are encrypted based on the sealing key.
UI(user interface)를 제공하는 App UI 모듈;
상기 사용자 인증 절차를 수행하는 인증 모듈;
상기 액세스 토큰을 발급하는 토큰 생성 모듈; 및
외부 서버로 사용자 정보 및 상기 액세스 토큰을 전송하는 리소스 서버 모듈을 포함하는, 방법.The method of any one of claims 9 to 14, wherein the first authentication application in the security area is,
App UI module that provides a user interface (UI);
An authentication module that performs the user authentication process;
a token generation module that issues the access token; and
A method comprising a resource server module transmitting user information and the access token to an external server.
상기 사용자 크리덴셜의 소유자를 식별할 수 있는 암호, 지문, 얼굴, 음성, 홍채, 손바닥, 또는 손가락 정맥 패턴 중에서 적어도 하나를 포함하는, 방법. The method of any one of claims 9 to 15, wherein the user credential is:
A method comprising at least one of a password, fingerprint, face, voice, iris, palm, or finger vein pattern capable of identifying the owner of the user credential.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2023/012302 WO2024039235A1 (en) | 2022-08-19 | 2023-08-18 | Electronic device and method for performing user authentication on electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20220104364 | 2022-08-19 | ||
KR1020220104364 | 2022-08-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20240026069A true KR20240026069A (en) | 2024-02-27 |
Family
ID=90058616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020230002384A KR20240026069A (en) | 2022-08-19 | 2023-01-06 | Electronic device and method for performing user authentication in electronic device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20240026069A (en) |
-
2023
- 2023-01-06 KR KR1020230002384A patent/KR20240026069A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11496900B2 (en) | Electronic device and method for storing user identification information | |
KR102456020B1 (en) | Electronic device for including autograph in e-paper and control method thereof | |
EP3764258B1 (en) | Constructing common trusted application for a plurality of applications | |
EP4142236A1 (en) | Electronic device for performing edge computing service, and operating method of electronic device | |
KR102657388B1 (en) | Electronic device for selecting key used for encryption based on an information quantity of data to be encrypted and method for the same | |
US20230161872A1 (en) | Method for application security and electronic device for performing the same | |
US20230004660A1 (en) | Method of processing secure data and electronic device supporting the same | |
US20220292204A1 (en) | Method of controlling clipboard and electronic device for performing the same | |
US20220166769A1 (en) | Electronic device for verifying a user's identity | |
US20220209954A1 (en) | Electronic device for sharing id and password, method for operating thereof, and server | |
KR20240026069A (en) | Electronic device and method for performing user authentication in electronic device | |
WO2024039235A1 (en) | Electronic device and method for performing user authentication on electronic device | |
KR20220132161A (en) | Electronic device for performing hash authentication on neural network and operation method thereof | |
US20230093667A1 (en) | Method of providing login information and electronic device performing thereof | |
US20230070759A1 (en) | Electronic device for protecting user's biometric information | |
US20240178990A1 (en) | Electronic device for storing secure data and method for operating the same | |
WO2023038222A1 (en) | Electronic device for protecting bio-information of user | |
WO2024075929A1 (en) | Electronic device for providing trusted execution environment | |
KR20230143897A (en) | Operating method of electronic devices fot basic input output system(bios) password initialization and electronic devices thereof | |
KR20240047263A (en) | Electronic device for providing trusted execution environment | |
KR20240077842A (en) | Electronic device for storing secure data and method for operating thereof | |
US20230052759A1 (en) | Electronic device using division permission and operation method thereof | |
WO2024112057A1 (en) | Electronic device for storing secure data and operation method therefor | |
US20230267190A1 (en) | Electronic device, method, and non-transitory computer-readable storage media for executing setup via communication with another device | |
KR20230150696A (en) | Authentication method of electronic device and method of the same |