KR20220064765A - Method for authenticating a user and electronic device thereof - Google Patents

Method for authenticating a user and electronic device thereof Download PDF

Info

Publication number
KR20220064765A
KR20220064765A KR1020200151235A KR20200151235A KR20220064765A KR 20220064765 A KR20220064765 A KR 20220064765A KR 1020200151235 A KR1020200151235 A KR 1020200151235A KR 20200151235 A KR20200151235 A KR 20200151235A KR 20220064765 A KR20220064765 A KR 20220064765A
Authority
KR
South Korea
Prior art keywords
authentication
user
electronic device
processor
display
Prior art date
Application number
KR1020200151235A
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 KR1020200151235A priority Critical patent/KR20220064765A/en
Priority to PCT/KR2021/015906 priority patent/WO2022103069A1/en
Publication of KR20220064765A publication Critical patent/KR20220064765A/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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2137Time limited access, e.g. to a computer or data

Abstract

An electronic device, which can enhance user experience, according to the present disclosure includes a camera, a display, and at least one processor operatively connected to the camera and the display, wherein the at least one processor may run an application that can operate in a security state, acquire an image corresponding to a face of a user through the camera, attempt authentication of the user based on the acquired image, display a first user interface (UI) indicating that the authentication of the user is being performed through the display during the authentication of the user, determine an authentication maintenance time based on a specified parameter, and release the security state during the determined authentication maintenance time when the authentication of the user is successful. In addition, various embodiments recognized through the specification are possible.

Description

사용자 인증을 위한 방법 및 그 전자 장치{METHOD FOR AUTHENTICATING A USER AND ELECTRONIC DEVICE THEREOF}METHOD FOR AUTHENTICATING A USER AND ELECTRONIC DEVICE THEREOF

본 개시에 따른 다양한 실시 예들은 전자 장치에서 카메라를 이용하여 사용자 인증을 수행하는 기술에 관한 것이다.Various embodiments according to the present disclosure relate to a technique for performing user authentication using a camera in an electronic device.

멀티미디어 서비스가 다양해짐에 따라 전자 장치에 저장되는 개인정보가 증가하고 있으며 전자 장치를 이용한 결제 서비스의 사용이 증가하고 있다. 이에 따라, 전자 장치는 타인으로부터 전자 장치에 저장된 개인 정보 또는 결제 정보를 보호하기 위한 다양한 인증 서비스를 제공하고 있다. 전자 장치에서 제공되는 인증 서비스는 PIN 코드 입력, 패턴 입력 또는 사용자의 신체적 특징을 이용하는 생체 인증방식 중 적어도 하나를 포함할 수 있다. 특히 최근에는, 생체 인증 방식 중 얼굴 인증 방식이 편리함 및 효율성 때문에 보안 시스템, 모바일 인증 및 멀티미디어 데이터 검색과 같은 다양한 응용 분야에서 널리 활용되고 있다.As multimedia services are diversified, personal information stored in electronic devices is increasing, and the use of payment services using electronic devices is increasing. Accordingly, the electronic device provides various authentication services for protecting personal information or payment information stored in the electronic device from others. The authentication service provided by the electronic device may include at least one of a PIN code input, a pattern input, or a biometric authentication method using a user's physical characteristics. In particular, recently, among biometric authentication methods, face authentication has been widely used in various application fields such as security systems, mobile authentication, and multimedia data search because of its convenience and efficiency.

한편, 생체 인증의 경우 명시적으로 인증을 요청하는 별도의 창이 발생하여 사용자에게 인증을 위한 특정 행위를 요구하기 때문에 사용성에 저해가 될 뿐 아니라 시간적 낭비도 가져올 수 있다.On the other hand, in the case of biometric authentication, a separate window for explicitly requesting authentication occurs and a specific action for authentication is requested from the user, thereby hindering usability and waste of time.

본 문서에서 개시되는 다양한 실시 예에서는, 별도의 동작 없이 인증 상황을 유지하면서 보안 기능을 사용하는 전자 장치를 제시하고자 한다.Various embodiments disclosed in this document provide an electronic device that uses a security function while maintaining an authentication status without a separate operation.

일 실시 예에 따른 전자 장치는 카메라, 디스플레이, 및 상기 카메라 및 상기 디스플레이와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는 보안 상태에서 동작할 수 있는 어플리케이션을 실행하고, 상기 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하고, 상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하고, 상기 사용자의 인증이 진행되는 동안, 상기 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하고, 지정된 파라미터에 기반하여 인증 유지 시간을 결정하고, 상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제할 수 있다.An electronic device according to an embodiment includes a camera, a display, and at least one processor operatively connected to the camera and the display, wherein the at least one processor executes an application capable of operating in a security state, Obtaining an image corresponding to the user's face through the camera, attempting authentication of the user based on the obtained image, and while authentication of the user is in progress, authentication of the user is in progress through the display may display a first user interface (UI) representing .

일 실시 예에 따른 전자 장치의 동작 방법은 보안 상태에서 동작할 수 있는 어플리케이션을 실행하는 동작, 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하는 동작, 상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하는 동작, 상기 사용자의 인증이 진행되는 동안, 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하는 동작, 지정된 파라미터에 기반하여 인증 유지 시간을 결정하는 동작, 상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment includes an operation of executing an application capable of operating in a security state, an operation of acquiring an image corresponding to the user's face through a camera, and authentication of the user based on the acquired image an operation of attempting to, while the user's authentication is in progress, an operation of displaying a first user interface (UI) indicating that the user's authentication is in progress through a display, and an authentication maintenance time based on a specified parameter The determining operation may include, if the authentication of the user is successful, releasing the security state during the determined authentication maintenance time.

본 개시에 따른 다양한 실시 예에서의 전자 장치는 추가적인 인증 단계를 거치지 않고 사용 지속성을 유지한 채 보안 기능을 사용하도록 함으로써 사용자 경험을 향상시킬 수 있다.The electronic device according to various embodiments of the present disclosure may improve the user experience by allowing a security function to be used while maintaining use continuity without going through an additional authentication step.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는 일 실시 예에 따른 전자 장치의 블록도이다.
도 2b는, 일 실시 예에 따른 전자 장치의 카메라를 예시하는 블록도이다.
도 3은 일 실시 예에 따른 전자 장치의 시스템 구조를 나타낸 도면이다.
도 4는 일 실시 예에 따른 전자 장치가 얼굴 인증 방식을 이용한 사용자 인증 기능을 제공하는 방법에 관한 흐름도이다.
도 5는 일 실시 예에 따른 전자 장치가 디스플레이에 사용자 인증 상태를 알려주는 UI를 표시하는 것을 나타낸다.
도 6은 일 실시 예에 따른 전자 장치가 사용자 인증에 성공한 후 사용자의 얼굴을 추적하는 방법에 관한 흐름도이다.
도 7은 일 실시 예에 따른 전자 장치가 백그라운드 인증 시스템을 실행하는 방법에 관한 흐름도이다.
도 8a는 일 실시 예에 따른 전자 장치에서, 사용자 인증에 실패한 경우 디스플레이에 표시되는 UI를 나타낸다.
도 8b는 일 실시 예에 따른 전자 장치에서, 인증 시간이 종료되는 경우 디스플레이에 표시되는 UI를 나타낸다.
도 9는 일 실시 예에 따른 전자 장치에서, 어플리케이션의 속성에 기반하여 결정되는 인증 유지 시간 및 인증 갱신 횟수의 예시를 나타낸다.
1 is a block diagram of an electronic device in a network environment according to an embodiment.
2A is a block diagram of an electronic device according to an exemplary embodiment.
2B is a block diagram illustrating a camera of an electronic device according to an embodiment.
3 is a diagram illustrating a system structure of an electronic device according to an exemplary embodiment.
4 is a flowchart illustrating a method for an electronic device to provide a user authentication function using a face authentication method, according to an exemplary embodiment.
5 is a diagram illustrating an electronic device displaying a UI informing of a user authentication state on a display according to an exemplary embodiment.
6 is a flowchart of a method for tracking a user's face after an electronic device succeeds in user authentication, according to an embodiment.
7 is a flowchart illustrating a method for an electronic device to execute a background authentication system according to an embodiment.
8A illustrates a UI displayed on a display when user authentication fails in an electronic device according to an embodiment.
8B illustrates a UI displayed on a display when an authentication time ends in an electronic device according to an embodiment.
9 illustrates an example of an authentication maintenance time and a number of authentication renewals determined based on an application attribute in an electronic device according to an embodiment.

도 1은, 다양한 실시 예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(110), 메모리(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 a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 110 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, Alternatively, the antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera 180 , or antenna module 197 ) may be integrated into one component (eg, display module 160 ). can

프로세서(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 processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(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 auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of another functionally related component (eg, the camera 180 or the communication module 190 ). . According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다. The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver may be used to receive an incoming call. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다. The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다. The interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다. The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다. The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라(180)는 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라(180)는 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다. The camera 180 may capture still images and moving images. According to an embodiment, the camera 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다. The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다. The battery 189 may supply power to at least one component of the electronic device 101 . According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(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)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to an embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(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 wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 includes a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a specified high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.

일 실시 예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 1104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 1104, 또는 1108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시 예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 1104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed by the electronic device 101 may be executed by one or more external electronic devices 102 , 1104 , or 1108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 전자 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. The electronic device according to various embodiments disclosed in this document may be a device of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, an electronic device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

도 2a는 일 실시 예에 따른 전자 장치의 블록도이다.2A is a block diagram of an electronic device according to an exemplary embodiment.

도 2a를 참조하면, 전자 장치(예: 도 1의 전자 장치(101))는 프로세서(210), 디스플레이(220), 카메라(230), 센서 모듈(225) 및 메모리(240)를 포함할 수 있다. 다양한 실시 예에서, 전자 장치(101)는 도 2a에 도시된 구성요소 외에 추가적인 구성요소를 포함하거나, 도 2a에 도시된 구성요소 중 적어도 하나를 생략할 수 있다. 도시된(또는 도시되지 않은) 전자 장치(101)의 각 구성 중 적어도 일부는 상호 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다.Referring to FIG. 2A , an electronic device (eg, the electronic device 101 of FIG. 1 ) may include a processor 210 , a display 220 , a camera 230 , a sensor module 225 , and a memory 240 . there is. According to various embodiments, the electronic device 101 may include additional components in addition to the components illustrated in FIG. 2A , or may omit at least one of the components illustrated in FIG. 2A . At least some of the respective components of the illustrated (or not illustrated) electronic device 101 may be operatively, functionally, and/or electrically connected.

일 실시 예에 따르면, 프로세서(210)는 메모리(240)에 저장된 인스트럭션들을 이용하여 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 일반적인 데이터에 대한 처리 및 보안 처리가 요구되는 데이터에 대한 처리를 할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 일반적인 데이터를 처리하기 위한 일반 영역(normal world)(미도시)(예: REE(rich execution environment)) 및 일반적인 보안 수준보다는 높은 데이터를 처리하기 위한 보안 영역(secure world)(미도시)(예: TEE(trusted execution environment))을 포함할 수 있다. According to an embodiment, the processor 210 may execute an operation or data processing related to control and/or communication of at least one other component of the electronic device 101 using instructions stored in the memory 240 . According to an embodiment, the processor 210 may process data for which general data processing and security processing are required. According to an embodiment, the processor 210 includes a normal world (not shown) for processing general data (eg, rich execution environment (REE)) and a security region for processing data higher than the general security level. (secure world) (not shown) (eg, a trusted execution environment (TEE)).

예를 들면, 일반 영역(미도시)은 별도의 접근 권한 없이도 접근이 가능한 영역을 의미할 수 있다. 보안 영역(미도시)은 별도의 보안 영역(미도시)에 대한 접근 권한이 요구되는 영역을 의미할 수 있다. 어떤 실시예에 따르면, 일반 영역(미도시) 또는 보안 영역(미도시)은 메모리(240) 상에서 구현될 수도 있다. 일 실시예에 따르면, 메모리(240)의 보안 영역(미도시)(예: embedded secure element)은 별도의 칩(chip)으로 구현될 수도 있다.For example, the general area (not shown) may mean an area that can be accessed without a separate access right. The security area (not shown) may mean an area requiring access to a separate security area (not shown). According to some embodiments, a general area (not shown) or a security area (not shown) may be implemented on the memory 240 . According to an embodiment, a secure region (not shown) (eg, an embedded secure element) of the memory 240 may be implemented as a separate chip.

일 실시 예에 따르면, 프로세서(210)는 중앙처리장치(CPU), 그래픽처리장치(GPU), MCU(micro controller unit), 센서허브, 보조프로세서(supplementary processor), 통신프로세서(communication processor), 애플리케이션 프로세서(application processor), ASIC(application specific integrated circuit), FPGA(field programmable gate arrays) 중 적어도 하나를 포함할 수 있으며, 복수의 코어를 가질 수 있다.According to an embodiment, the processor 210 includes a central processing unit (CPU), a graphic processing unit (GPU), a micro controller unit (MCU), a sensor hub, a supplementary processor, a communication processor, and an application. It may include at least one of a processor (application processor), application specific integrated circuit (ASIC), and field programmable gate arrays (FPGA), and may have a plurality of cores.

일 실시 예에 따르면, 디스플레이(220)는 프로세서(210)의 제어에 따라 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)를 표시할 수 있다. 일 실시 예에 따르면, 디스플레이(220)는 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이 또는 유기 발광 다이오드(OLED) 디스플레이를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이(220)는 사용자 인증 수행 상태에 대한 사용자 인터페이스(user interface, UI)를 표시할 수 있다. 예를 들어, 디스플레이(220)는 사용자 인증이 진행중임을 나타내는 제1 UI를 표시할 수 있다. 또한 예를 들어, 디스플레이(220)는 사용자 인증이 성공하면, 사용자 인증이 성공함을 나타내는 제2 UI를 표시할 수 있다. 일 실시 예에 따르면, 디스플레이(220)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.According to an embodiment, the display 220 may display various contents (eg, text, image, video, icon, and/or symbol, etc.) under the control of the processor 210 . According to an embodiment, the display 220 may include a liquid crystal display (LCD), a light emitting diode (LED) display, or an organic light emitting diode (OLED) display. According to an embodiment, the display 220 may display a user interface (UI) for a state of performing user authentication. For example, the display 220 may display a first UI indicating that user authentication is in progress. Also, for example, if the user authentication is successful, the display 220 may display a second UI indicating that the user authentication is successful. According to an embodiment, the display 220 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. .

다양한 실시예에 따르면, 디스플레이(220)는 적어도 일부가 플렉서블(flexible) 할 수 있으며, 폴더블(foldable) 디스플레이, 롤러블(rollable) 디스플레이로 구현될 수도 있다. According to various embodiments, at least a part of the display 220 may be flexible, and may be implemented as a foldable display or a rollable display.

일 실시 예에 따르면, 카메라(230)는 피사체에 대한 이미지 정보를 수집하여 정지 영상(사진) 및 동영상을 촬영할 수 있다. 예를 들어, 카메라(230)는 수집 또는 촬영된 데이터(예: 영상)를 디스플레이(220) 및 프로세서(210)에 전달할 수 있다. 예를 들어, 카메라(230)는 적어도 하나의 이미지 센서, 렌즈, 이미지 신호 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp) 중 적어도 하나를 포함할 수 있다. 예를 들어, 카메라(230)는 전자 장치(101)의 전면 또는 후면에 배치되는 다수 개의 카메라를 포함할 수 있다. 일 실시 예에 따르면, 카메라(230)는 전자 장치(101)의 전면에 배치되는 적어도 하나의 적외선 카메라를 포함할 수 있다. 예를 들면, 카메라(230)는 사용자의 얼굴 정보를 획득할 수 있는 ToF(time of flight) 카메라 형태로 구현될 수도 있다.According to an embodiment, the camera 230 may capture a still image (photo) and a moving image by collecting image information about the subject. For example, the camera 230 may transmit collected or photographed data (eg, an image) to the display 220 and the processor 210 . For example, the camera 230 may include at least one of at least one image sensor, a lens, an image signal processor (ISP), or a flash (eg, an LED or a xenon lamp). For example, the camera 230 may include a plurality of cameras disposed on the front or rear of the electronic device 101 . According to an embodiment, the camera 230 may include at least one infrared camera disposed in front of the electronic device 101 . For example, the camera 230 may be implemented in the form of a Time of Flight (ToF) camera capable of acquiring the user's face information.

일 실시 예에 따르면, 센서 모듈(225)은 복수의 다양한 센서들을 포함할 수 있다. 예를 들면, 센서 모듈(225)은 전자 장치(101)의 위치 값을 획득하도록 구성된 GNSS(global navigation satellite system) 센서 및/또는 전자 장치(101)의 해수면상의 높이 값(또는 고도 값)을 획득하도록 구성된 지자기계 센서 또는 고도계(altimeter)를 포함할 수 있다. GNSS(global navigation satellite system) 센서는 인공 위성(예: GNSS 위성)에서 보내는 복수의 전파 신호에 기반하여 전자 장치(101)의 위치를 검출할 수 있다. 다른 예를 들면, 센서 모듈(225)은 사용자의 인증을 수행하기 위해, 사용자의 인증 정보(예: 생체 정보)를 획득하기 위한 생체 센서를 포함할 수도 있다. 예를 들어, 생체 센서는 지문 센서, 홍채 센서 및 HRM(heart rate monitoring) 센서 중 적어도 하나를 포함할 수 있다. According to an embodiment, the sensor module 225 may include a plurality of various sensors. For example, the sensor module 225 obtains a height value (or elevation value) above sea level of the electronic device 101 and/or a global navigation satellite system (GNSS) sensor configured to obtain a position value of the electronic device 101 . a geomagnetometer sensor or altimeter configured to A global navigation satellite system (GNSS) sensor may detect the location of the electronic device 101 based on a plurality of radio signals transmitted from artificial satellites (eg, GNSS satellites). For another example, the sensor module 225 may include a biometric sensor for obtaining user authentication information (eg, biometric information) in order to perform user authentication. For example, the biometric sensor may include at least one of a fingerprint sensor, an iris sensor, and a heart rate monitoring (HRM) sensor.

일 실시 예에 따르면, 메모리(240)는 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(210))에 의해 획득되거나 사용되는 다양한 데이터를 저장할 수 있다. 일 실시 예에 따르면, 메모리(240)는 전자 장치(101)에 내장된 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 일 실시 예에 따르면, 메모리(240)는 전자 장치(101)와 기능적으로 연결된 외부 메모리를 포함할 수 있다.According to an embodiment, the memory 240 may store various data acquired or used by at least one component (eg, the processor 210 ) of the electronic device 101 . According to an embodiment, the memory 240 may include a volatile and/or non-volatile memory embedded in the electronic device 101 . According to an embodiment, the memory 240 may include an external memory functionally connected to the electronic device 101 .

도 2b는, 일 실시 예에 따른 전자 장치의 카메라를 예시하는 블록도이다.2B is a block diagram illustrating a camera of an electronic device according to an embodiment.

도 2b를 참조하면, 카메라(230)는 렌즈 어셈블리(250), 플래쉬(260), 이미지 센서(270), 이미지 스태빌라이저(280), 메모리(240)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(290)를 포함할 수 있다. 일 실시 예에 따르면, 렌즈 어셈블리(250)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 일 실시 예에 따르면, 렌즈 어셈블리(250)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일 실시 예에 따르면, 카메라(230)는 복수의 렌즈 어셈블리(250)들을 포함할 수 있다. 이런 경우, 카메라(230)는, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 일 실시 예에 따르면, 복수의 렌즈 어셈블리(250)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 일 실시 예에 따르면, 렌즈 어셈블리(250)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다. Referring to FIG. 2B , the camera 230 includes a lens assembly 250 , a flash 260 , an image sensor 270 , an image stabilizer 280 , a memory 240 (eg, a buffer memory), or an image signal processor ( 290) may be included. According to an embodiment, the lens assembly 250 may collect light emitted from a subject, which is an image to be captured. According to an embodiment, the lens assembly 250 may include one or more lenses. According to an embodiment, the camera 230 may include a plurality of lens assemblies 250 . In this case, the camera 230 may form, for example, a dual camera, a 360 degree camera, or a spherical camera. According to an embodiment, some of the plurality of lens assemblies 250 have the same lens property (eg, angle of view, focal length, auto focus, f number, or optical zoom), or at least one A lens assembly may have one or more lens properties that are different from lens properties of other lens assemblies. According to an embodiment, the lens assembly 250 may include, for example, a wide-angle lens or a telephoto lens.

일 실시 예에 따르면, 플래쉬(260)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일 실시 예에 따르면, 플래쉬(260)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 일 실시 예에 따르면, 이미지 센서(270)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(250)를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일 실시 예에 따르면, 이미지 센서(270)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(270)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다. According to an embodiment, the flash 260 may emit light used to enhance light emitted or reflected from a subject. According to an embodiment, the flash 260 may include one or more light emitting diodes (eg, a red-green-blue (RGB) LED, a white LED, an infrared LED, or an ultraviolet LED), or a xenon lamp. According to an embodiment, the image sensor 270 may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 250 into an electrical signal. According to an embodiment, the image sensor 270 may include, for example, one image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, the same It may include a plurality of image sensors having properties, or a plurality of image sensors having different properties. Each image sensor included in the image sensor 270 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

일 실시 예에 따르면, 이미지 스태빌라이저(280)는 카메라(230) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(250)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(270)를 특정한 방향으로 움직이거나 이미지 센서(270)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일 실시 예에 따르면, 이미지 스태빌라이저(280)는, 일 실시 예에 따르면, 이미지 스태빌라이저(280)는 카메라(230)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라(230) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일 실시 예에 따르면, 이미지 스태빌라이저(280)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(240)는 이미지 센서(270)를 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(240)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 디스플레이(220)를 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(240)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(290)에 의해 획득되어 처리될 수 있다. 일 실시 예에 따르면, 메모리(240)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다. According to an embodiment, the image stabilizer 280 responds to the movement of the camera 230 or the electronic device 101 including the same, and moves at least one lens or image sensor 270 included in the lens assembly 250 . It may move in a specific direction or control operation characteristics of the image sensor 270 (eg, adjust read-out timing, etc.). This makes it possible to compensate for at least some of the negative effects of the movement on the image being taken. According to an embodiment, the image stabilizer 280, according to an embodiment, the image stabilizer 280 is a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera 230 . Such a movement of the camera 230 or the electronic device 101 may be sensed by using it. According to an embodiment, the image stabilizer 280 may be implemented as, for example, an optical image stabilizer. The memory 240 may temporarily store at least a portion of the image acquired through the image sensor 270 for the next image processing operation. For example, when image acquisition is delayed according to the shutter or a plurality of images are acquired at high speed, the acquired original image (eg, Bayer-patterned image or high-resolution image) is stored in the memory 240 and , a copy image corresponding thereto (eg, a low-resolution image) may be previewed through the display 220 . Thereafter, when a specified condition is satisfied (eg, a user input or a system command), at least a portion of the original image stored in the memory 240 may be obtained and processed by, for example, the image signal processor 290 . According to an embodiment, the memory 240 may be configured as at least a part of the memory 130 or as a separate memory operated independently of the memory 130 .

일 실시 예에 따르면, 이미지 시그널 프로세서(290)는 이미지 센서(270)를 통하여 획득된 이미지 또는 메모리(240)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(290)는 카메라(230)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(270))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(290)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(240)에 다시 저장되거나 카메라(230)의 외부 구성 요소(예: 메모리(130), 표시 장치(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일 실시 예에 따르면, 이미지 시그널 프로세서(290)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(290)가 프로세서(120)와 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(290)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 표시 장치(160)를 통해 표시될 수 있다. According to an embodiment, the image signal processor 290 may perform one or more image processing on an image acquired through the image sensor 270 or an image stored in the memory 240 . The one or more image processes may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (eg, noise reduction, resolution adjustment, brightness adjustment, blurring ( blurring, sharpening, or softening. Additionally or alternatively, the image signal processor 290 may include at least one of components included in the camera 230 (eg, an image sensor ( 270)), for example, exposure time control, readout timing control, etc. The image processed by the image signal processor 290 is stored back in the memory 240 for further processing or It may be provided as an external component of the camera 230 (eg, the memory 130 , the display device 160 , the electronic device 102 , the electronic device 104 , or the server 108 ). Accordingly, the image signal processor 290 may be configured as at least a part of the processor 120 or may be configured as a separate processor operated independently of the processor 120. The image signal processor 290 may be configured as a separate processor from the processor 120. When configured with a processor of , at least one image processed by the image signal processor 290 may be displayed through the display device 160 as it is or after additional image processing is performed by the processor 120 .

일 실시 예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다. According to an embodiment, the electronic device 101 may include a plurality of cameras 180 each having different properties or functions. In this case, for example, at least one of the plurality of cameras 180 may be a wide-angle camera, and at least the other may be a telephoto camera. Similarly, at least one of the plurality of cameras 180 may be a front camera, and at least the other may be a rear camera.

도 3은 일 실시 예에 따른 전자 장치의 시스템 구조를 나타낸 도면이다. 3 is a diagram illustrating a system structure of an electronic device according to an exemplary embodiment.

도 3을 참조하면, 전자 장치(101)의 시스템 구조는 백그라운드 인증 서비스(310), 어플리케이션(320), 인증 시스템(330), 얼굴 추적 시스템(340), 위치 측정 시스템(350), 보안 테이블(360), 및 인증 리스트(370)를 포함할 수 있다.Referring to FIG. 3 , the system structure of the electronic device 101 includes a background authentication service 310 , an application 320 , an authentication system 330 , a face tracking system 340 , a location measurement system 350 , and a security table ( 360), and an authorization list 370 .

일 실시 예에 따르면, 백그라운드 인증 서비스(310)는 어플리케이션(320)의 명령에 따라 인증 시스템(330)에 인증을 요청할 수 있다. 일 실시 예에 따르면, 백그라운드 인증 서비스(310)는 인증 요청의 결과를 어플리케이션(320)에 전달할 수 있다. 예를 들어, 백그라운드 인증 서비스(310)는 사용자 인증에 성공했는지 여부를 어플리케이션(320)에 전달할 수 있다. 일 실시 예에 따르면, 백그라운드 인증 서비스(310)는 보안 테이블(360) 및 전자 장치(101)의 위치 정보를 기반으로 잔여 인증 시간 및 잔여 인증 횟수를 인증 리스트(370)에 저장할 수 있다. 일 실시 예에 따르면, 백그라운드 인증 서비스(310)는 사용자 인증에 성공한 경우 인증 유지 시간 동안 얼굴 추적 시스템(340)을 통해 사용자의 존재 유무를 확인할 수 있다.According to an embodiment, the background authentication service 310 may request authentication from the authentication system 330 according to a command of the application 320 . According to an embodiment, the background authentication service 310 may deliver the result of the authentication request to the application 320 . For example, the background authentication service 310 may transmit whether the user authentication is successful to the application 320 . According to an embodiment, the background authentication service 310 may store the remaining authentication time and the remaining number of authentications in the authentication list 370 based on the security table 360 and location information of the electronic device 101 . According to an embodiment, when the user authentication is successful, the background authentication service 310 may check the presence or absence of the user through the face tracking system 340 during the authentication maintenance time.

일 실시 예에 따르면, 어플리케이션(320)은 백그라운드 인증 서비스(310)를 사용하는 적어도 하나의 어플리케이션을 포함할 수 있다. 일 실시 예에 따르면, 어플리케이션(320)은 인증(또는 보안)을 필요로 하는 기능을 제공할 수 있다. 예를 들어, SMS(short message service) 어플리케이션은 인증 메시지를 전송하는 기능을 제공할 수 있다. 다른 예를 들어, 어플리케이션(320)은 잠금 상태를 설정하는 기능을 제공할 수 있다. 일 실시 예에 따르면, 어플리케이션(320)은 백그라운드 인증 서비스(310)에 사용자 인증을 요청하고, 백그라운드 인증 서비스(310)로부터 사용자 인증에 성공했는지 여부에 대한 정보(예: 사용자 인증 요청 결과)를 획득할 수 있다.According to an embodiment, the application 320 may include at least one application that uses the background authentication service 310 . According to an embodiment, the application 320 may provide a function requiring authentication (or security). For example, a short message service (SMS) application may provide a function for transmitting an authentication message. As another example, the application 320 may provide a function for setting a lock state. According to an embodiment, the application 320 requests user authentication from the background authentication service 310 and obtains information (eg, a result of the user authentication request) on whether or not user authentication is successful from the background authentication service 310 . can do.

본 문서에 개시된 다양한 실시예들에서, 보안 레벨이 설정될 수 있는 어플리케이션은 전자 장치(101)의 리소스(resource)로 참조될 수 있다. 또한, 어플리케이션(320)은 전자 장치(101)의 출고시에 탑재된 어플리케이션이거나 어플리케이션 스토어(store)를 통해 다운로드하여 설치한 어플리케이션을 포함할 수 있다. 또한, 어플리케이션(320)은 전자 장치(101)의 사용환경(예: 인증 방식)을 설정할 수 있는 설정 어플리케이션을 포함할 수도 있다.In various embodiments disclosed in this document, an application for which a security level can be set may be referred to as a resource of the electronic device 101 . In addition, the application 320 may include an application loaded at the time of shipment of the electronic device 101 or an application downloaded and installed through an application store. Also, the application 320 may include a setting application capable of setting a usage environment (eg, an authentication method) of the electronic device 101 .

일 실시 예에 따르면, 인증 시스템(330)은 TEE(trusted execution environment)를 포함할 수 있다. TEE는 하드웨어, 소프트웨어, 또는 펌웨어로 구성되고 REE에서 생성되는 소프트웨어 공격으로부터 보호 수준을 제공하는 보안 플랫폼일 수 있다. TEE는 REE(rich execution environment)로부터 격리될 필요가 있는 민감한 어플리케이션의 접근 및/또는 실행을 제어할 수 있다. 일 실시 예에 따르면, 인증 시스템(330)은 저장된 생체 정보와 획득한 생체 정보를 비교하는 방식(예: FIDO(fast identity online) 인증 프로토콜)으로 사용자 인증을 수행할 수 있다. 예를 들면, 상기 저장된 생체 정보는 메모리(예: 도 1의 메모리(130) 또는 도 2a의 메모리(240))의 보안 영역(미도시)(예: eSE)에 저장될 수 있다.According to an embodiment, the authentication system 330 may include a trusted execution environment (TEE). A TEE may be a security platform that consists of hardware, software, or firmware and provides a level of protection against software attacks generated by the REE. A TEE may control access and/or execution of sensitive applications that need to be isolated from a rich execution environment (REE). According to an embodiment, the authentication system 330 may perform user authentication by comparing the stored biometric information with the acquired biometric information (eg, a fast identity online (FIDO) authentication protocol). For example, the stored biometric information may be stored in a secure area (not shown) (eg, eSE) of a memory (eg, the memory 130 of FIG. 1 or the memory 240 of FIG. 2A ).

일 실시 예에 따르면, 얼굴 추적 시스템(340)은 사용자 인증이 성공한 경우 인증 유지 시간 동안 사용자 존재의 유무 및 타 사용자의 간섭을 확인할 수 있다. 예를 들어, 얼굴 추적 시스템(340)은 카메라(230)를 통하여 획득한 사용자의 얼굴에 대응하는 이미지를 추적할 수 있다.According to an embodiment, when the user authentication is successful, the face tracking system 340 may check the presence of the user and the interference of other users during the authentication maintenance time. For example, the face tracking system 340 may track an image corresponding to the user's face acquired through the camera 230 .

일 실시 예에 따르면, 위치 측정 시스템(350)은 전자 장치(101)의 위치 정보를 획득할 수 있다. 일 실시 예에 따르면, 위치 측정 시스템(350)은 GPS를 통하여 전자 장치(101)의 평면 위치 값을 획득할 수 있다. 일 실시 예에 따르면, 위치 측정 시스템(350)은 지자기계 센서를 통하여 전자 장치(101)의 해수면상의 높이 값을 획득할 수 있다. 일 실시 예에 따르면, 위치 측정 시스템(350)은 평면 위치 값과 해수면상의 높이 값을 조합하여 전자 장치(101)의 3차원상의 위치를 판단할 수 있다.According to an embodiment, the location measurement system 350 may obtain location information of the electronic device 101 . According to an embodiment, the location measurement system 350 may obtain a planar location value of the electronic device 101 through GPS. According to an embodiment, the position measuring system 350 may acquire a height value above the sea level of the electronic device 101 through a geomagnetism sensor. According to an embodiment, the position measuring system 350 may determine the three-dimensional position of the electronic device 101 by combining the plane position value and the height value above the sea level.

일 실시 예에 따르면, 보안 테이블(360)은 어플리케이션(320)의 속성에 기반하여 인증 유지 시간과 인증 재시도 횟수를 포함할 수 있다. 어플리케이션(320)의 속성에 따른 인증 유지 시간과 인증 갱신 횟수에 관한 구체적인 예는 도 9를 참조하여 후술한다. 예를 들면, 보안 테이블(360)은 메모리(예: 도 2a의 메모리(240))에 저장될 수 있다.According to an embodiment, the security table 360 may include the authentication retention time and the number of authentication retries based on the properties of the application 320 . A specific example of the authentication retention time and the number of authentication renewals according to the properties of the application 320 will be described later with reference to FIG. 9 . For example, the security table 360 may be stored in a memory (eg, the memory 240 of FIG. 2A ).

일 실시 예에 따르면, 인증 리스트(370)는 어플리케이션(320)과 관련된 정보를 저장할 수 있다. 일 실시 예에 따르면, 인증 리스트(370)는 어플리케이션(320) 각각의 보안 레벨을 저장할 수 있다. 예를 들면, 어플리케이션(320)의 보안 레벨은 어플리케이션(320)의 속성, 사용자의 인증 방식 및/또는 사용자의 설정 중 적어도 하나에 기초하여, 결정될 수 있다. 일 실시 예에 따르면, 인증 리스트(370)는 어플리케이션(320)의 보안 레벨에 기반하여 결정되는 인증 잔여 시간 및 인증 갱신 횟수를 저장할 수 있다.According to an embodiment, the authentication list 370 may store information related to the application 320 . According to an embodiment, the authentication list 370 may store each security level of the application 320 . For example, the security level of the application 320 may be determined based on at least one of an attribute of the application 320 , a user authentication method, and/or a user setting. According to an embodiment, the authentication list 370 may store the remaining authentication time and the number of authentication renewals determined based on the security level of the application 320 .

일 실시 예에 따르면, 도 3에 도시된 전자 장치(101)의 시스템 구조의 적어도 일부는 소프트웨어 또는 하드웨어로 구현될 수 있다.According to an embodiment, at least a part of the system structure of the electronic device 101 illustrated in FIG. 3 may be implemented as software or hardware.

도 4는 일 실시 예에 따른 전자 장치가 얼굴 인증 방식을 이용한 사용자 인증 기능을 제공하는 방법에 관한 흐름도이다.4 is a flowchart illustrating a method for an electronic device to provide a user authentication function using a face authentication method, according to an embodiment.

도 4에 설명되는 일련의 동작들은 도 1 또는 도 2의 전자 장치(101) 또는 전자 장치(101)의 프로세서(예: 도 1의 프로세서(120) 또는 도 2a의 프로세서(210))에 의해 동시에 수행되거나 순서가 바뀌어 수행될 수 있고, 일부 동작이 생략되거나 추가될 수 있다.The series of operations described in FIG. 4 are simultaneously performed by the electronic device 101 of FIG. 1 or 2 or the processor of the electronic device 101 (eg, the processor 120 of FIG. 1 or the processor 210 of FIG. 2A ). It may be performed or performed out of order, and some operations may be omitted or added.

도 4를 참조하면, 일 실시 예에 따른 프로세서(예: 도 2a의 프로세서(210))는 동작 410에서 보안 상태에서 동작할 수 있는 어플리케이션(예: 도 3의 어플리케이션(320))을 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 결제 어플리케이션, SMS(short message service) 어플리케이션, SNS(social networking service) 어플리케이션과 같이 보안 기능을 필요로 하는 어플리케이션을 실행할 수 있다.Referring to FIG. 4 , the processor (eg, the processor 210 of FIG. 2A ) according to an embodiment may execute an application (eg, the application 320 of FIG. 3 ) capable of operating in a security state in operation 410 . . According to an embodiment, the processor 210 may execute an application requiring a security function, such as a payment application, a short message service (SMS) application, or a social networking service (SNS) application.

일 실시 예에 따르면, 프로세서(210)는 동작 420에서 카메라(230)를 통하여 사용자의 얼굴에 대응하는 이미지를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 어플리케이션(320)의 백그라운드 인증 서비스(310)에 대한 요청에 따라 생체 정보를 이용하여 생체 인증을 수행할 수 있다. 예를 들어, 생체 정보는 전자 장치(101)에서 획득되는 사용자의 지문, 손 무늬, 안면, 음성, 홍채, 망막, 정맥 중 적어도 하나에 관한 정보일 수 있다. 다만, 생체 정보는 이에 한정되지 않으며, 전자 장치(101)를 이용하여 수집되고, 사용자를 식별할 수 있는 모든 정보를 포함할 수 있다.According to an embodiment, the processor 210 may acquire an image corresponding to the user's face through the camera 230 in operation 420 . According to an embodiment, the processor 210 may perform biometric authentication using biometric information in response to a request for the background authentication service 310 of the application 320 . For example, the biometric information may be information about at least one of a user's fingerprint, hand pattern, face, voice, iris, retina, and vein obtained by the electronic device 101 . However, the biometric information is not limited thereto, and may include all information that is collected using the electronic device 101 and can identify a user.

일 실시 예에 따르면, 프로세서(210)는 어플리케이션(320)이 실행되는 동안 별도의 인증 동작을 수행하지 않고, 전면 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득할 수 있다.According to an embodiment, the processor 210 may acquire an image corresponding to the user's face through the front camera without performing a separate authentication operation while the application 320 is running.

일 실시 예에 따르면, 프로세서(210)는 동작 430에서 획득된 이미지에 기반하여 사용자 인증을 시도할 수 있다. 예를 들어, 프로세서(210)는 카메라(230)를 통해 획득된 이미지와 저장된 이미지가 일치하는지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득된 이미지로부터 사용자의 얼굴 특징 정보 및 부가 정보를 검출할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 검출된 얼굴 특징 정보 및 부가 정보를 메모리(230)에 저장된 특징 정보와 비교하여 사용자 인증을 수행할 수 있다.According to an embodiment, the processor 210 may attempt user authentication based on the image obtained in operation 430 . For example, the processor 210 may determine whether an image acquired through the camera 230 and a stored image match. According to an embodiment, the processor 210 may detect the user's facial feature information and additional information from the acquired image. According to an embodiment, the processor 210 may perform user authentication by comparing the detected facial feature information and additional information with feature information stored in the memory 230 .

일 실시 예에 따르면, 프로세서(210)는 획득된 이미지와 저장된 이미지가 일치하다고 판단되는 경우 사용자 인증에 성공한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득된 이미지와 저장된 이미지가 일치하지 않다고 판단되는 경우 사용자 인증에 실패한 것으로 판단할 수 있다.According to an embodiment, when it is determined that the acquired image and the stored image match, the processor 210 may determine that user authentication is successful. According to an embodiment, when it is determined that the acquired image and the stored image do not match, the processor 210 may determine that user authentication has failed.

일 실시 예에 따르면, 프로세서(210)는 동작 440에서 사용자 인증이 진행되는 동안 디스플레이(220)에 사용자 인증이 진행중임을 나타내는 제1 UI를 표시할 수 있다. 예를 들어, 프로세서(210)는 인증 확인 중임을 나타내는 아이콘을 표시할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 UI의 색상, 투명도, 모양, 또는 햅틱과 같은 다양한 효과를 제공하여 사용자가 직관적으로 인증이 진행중임을 인지하도록 지원할 수 있다.According to an embodiment, the processor 210 may display a first UI indicating that user authentication is in progress on the display 220 while user authentication is in progress in operation 440 . For example, the processor 210 may display an icon indicating that authentication is being checked. According to various embodiments, the processor 210 may support the user to intuitively recognize that authentication is in progress by providing various effects such as color, transparency, shape, or haptics of the UI.

일 실시 예에 따르면, 프로세서(210)는 동작 450에서 지정된 파라미터에 기반하여 인증 유지 시간을 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전자 장치(101)의 위치 정보 및 어플리케이션(320)의 보안 레벨과 같은 지정된 파라미터에 기반하여 인증 유지 시간이 자동으로 결정되도록 제어할 수 있다. 예를 들어, 프로세서(210)는 전자 장치(101)의 위치가 정보 유출의 위험이 큰 곳이라고 판단되는 경우 및/또는 어플리케이션의 보안 레벨이 지정된 레벨보다 높은 것으로 판단되는 경우, 인증 유지 시간을 제1 시간으로 결정할 수 있다. 또한 예를 들어, 프로세서(210)는 전자 장치(101)의 위치가 정보 유출의 위험이 작은 곳으로 판단되는 경우 및/또는 어플리케이션의 보안 레벨이 지정된 레벨보다 낮은 것으로 판단되는 경우, 인증 유지 시간을 제1 시간보다 긴 제2 시간으로 결정할 수 있다.According to an embodiment, the processor 210 may determine the authentication retention time based on the parameter specified in operation 450 . According to an embodiment, the processor 210 may control the authentication maintenance time to be automatically determined based on a specified parameter such as location information of the electronic device 101 and a security level of the application 320 . For example, when it is determined that the location of the electronic device 101 is a place where there is a high risk of information leakage and/or when it is determined that the security level of the application is higher than a specified level, the processor 210 removes the authentication maintenance time. It can be decided in 1 hour. Also, for example, when it is determined that the location of the electronic device 101 is a place where the risk of information leakage is small and/or when it is determined that the security level of the application is lower than a specified level, the processor 210 may reduce the authentication maintenance time. It may be determined that the second time is longer than the first time.

일 실시 예에 따르면, 프로세서(210)는 지정된 파라미터에 기반하여 인증 재시도 횟수를 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전자 장치(101)의 위치 정보 및 어플리케이션의 보안 레벨과 같은 지정된 파라미터에 기반하여 인증 재시도 횟수가 자동으로 결정되도록 제어할 수 있다. 예를 들어, 프로세서(210)는 전자 장치(101)의 위치가 정보 유출의 위험이 큰 곳이라고 판단되는 경우 및/또는 어플리케이션의 보안 레벨이 지정된 레벨보다 높은 것으로 판단되는 경우, 인증 재시도 횟수를 제1 횟수로 결정할 수 있다. 또한 예를 들어, 프로세서(210)는 전자 장치(101)의 위치가 정보 유출의 위험이 작은 곳으로 판단되는 경우 및/또는 어플리케이션의 보안 레벨이 지정된 레벨보다 낮은 것으로 판단되는 경우, 인증 재시도 횟수를 제1 횟수보다 더 많은 제2 횟수로 결정할 수 있다.According to an embodiment, the processor 210 may determine the number of authentication retries based on a specified parameter. According to an embodiment, the processor 210 may control the number of authentication retries to be automatically determined based on a specified parameter such as location information of the electronic device 101 and a security level of an application. For example, the processor 210 determines the number of authentication retries when it is determined that the location of the electronic device 101 is a location with a high risk of information leakage and/or when it is determined that the security level of the application is higher than a specified level. It can be determined by the first number of times. Also, for example, the processor 210 determines the number of authentication retries when it is determined that the location of the electronic device 101 is a place where the risk of information leakage is small and/or when it is determined that the security level of the application is lower than a specified level. may be determined as a second number of times greater than the first number.

일 실시 예에 따르면, 프로세서(210)는 동작 460에서 사용자 인증이 성공하면 인증 유지 시간 동안 보안 상태를 해제할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 사용자 인증이 성공하면 보안 설정된 어플리케이션(320)에 대하여 보안을 해제할 수 있다. 예를 들어, 프로세서(210)는 카메라(230)를 통하여 획득된 이미지와 저장된 이미지가 일치하다고 판단되는 경우 어플리케이션(320)에 설정된 보안을 해제할 수 있다.According to an embodiment, if the user authentication is successful in operation 460, the processor 210 may release the security state during the authentication maintenance time. According to an embodiment, when the user authentication is successful, the processor 210 may release security for the security-set application 320 . For example, when it is determined that the image acquired through the camera 230 and the stored image match, the processor 210 may release the security set in the application 320 .

다양한 실시 예들에 따르면, 프로세서(210)는 어플리케이션(320)에 설정된 보안이 해제된 경우 백그라운드 인증을 바탕으로 다양한 기능을 제공할 수 있다. 예를 들어, 프로세서(210)는 SMS 어플리케이션에서 SMS가 전송될 때 본인임을 나타내는 인증 아이콘을 표시(또는 추가)하여 전송할 수 있다. 다른 예를 들어, 프로세서(210)는 SNS 어플리케이션에서 게시물을 업로드할 때 본인임을 나타내는 인증 아이콘을 표시(또는 추가)할 수 있다.According to various embodiments, when the security set in the application 320 is released, the processor 210 may provide various functions based on background authentication. For example, when an SMS is transmitted from the SMS application, the processor 210 may display (or add) an authentication icon indicating the identity of the user and transmit the message. As another example, the processor 210 may display (or add) an authentication icon indicating the identity of the user when uploading a post in the SNS application.

일 실시 예에 따르면, 프로세서(210)는 어플리케이션(320)에 설정된 보안이 해제된 경우 별도의 인증 동작 없이 어플리케이션을 바로 실행할 수 있다.According to an embodiment, when the security set in the application 320 is released, the processor 210 may directly execute the application without a separate authentication operation.

도 5는 일 실시 예에 따른 전자 장치가 디스플레이에 사용자 인증 상태를 알려주는 UI를 표시하는 것을 나타낸다.5 is a diagram illustrating an electronic device displaying a UI informing of a user authentication state on a display according to an exemplary embodiment.

도 5를 참조하면, 일 실시 예에 따른 프로세서(예: 도 2a의 프로세서(210))는 사용자 인증이 진행 되는 동안 디스플레이(220)를 통하여 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)(501)를 표시할 수 있다. 예를 들어, UI는 아이콘을 포함할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 UI의 색상, 투명도, 모양, 또는 햅틱과 같은 다양한 효과를 제공할 수 있다. 예를 들어, 프로세서(210)는 사용자 인증이 진행 되는 동안 제1 UI(501)의 색상을 시간에 따라 변화시킴으로써 깜빡거리는 효과를 제공할 수 있다.Referring to FIG. 5 , the processor (eg, the processor 210 of FIG. 2A ) according to an exemplary embodiment displays a first user interface (user) indicating that user authentication is in progress through the display 220 while user authentication is in progress. interface, UI) 501 may be displayed. For example, the UI may include an icon. According to various embodiments, the processor 210 may provide various effects such as color, transparency, shape, or haptics of the UI. For example, the processor 210 may provide a flickering effect by changing the color of the first UI 501 over time while user authentication is in progress.

일 실시 예에 따르면, 프로세서(210)는 사용자 인증이 성공하면 제1 UI(501)의 표시를 삭제하고, 디스플레이(220)를 통하여 사용자 인증이 성공함을 나타내는 제2 UI(503)를 표시할 수 있다. 예를 들어, UI는 아이콘을 포함할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 UI의 색상, 투명도, 모양, 또는 햅틱과 같은 다양한 효과를 제공할 수 있다.According to an embodiment, the processor 210 deletes the display of the first UI 501 when the user authentication is successful, and displays the second UI 503 indicating that the user authentication is successful through the display 220 . can For example, the UI may include an icon. According to various embodiments, the processor 210 may provide various effects such as color, transparency, shape, or haptics of the UI.

상술한 실시 예에 따르면, 전자 장치(101)는 사용자의 인증 상태를 UI로 제공함에 따라 사용자가 보안 상황을 직관적으로 인지하도록 지원할 수 있다.According to the above-described embodiment, the electronic device 101 may support the user to intuitively recognize the security situation by providing the user's authentication status as a UI.

도 6은 일 실시 예에 따른 전자 장치가 사용자 인증에 성공한 후 사용자의 얼굴을 추적하는 방법에 관한 흐름도이다. 도 6과 관련하여 전술한 내용과 대응되거나 동일 및/또는 유사한 내용은 간략히 하거나 생략할 수 있다.6 is a flowchart of a method for tracking a user's face after an electronic device succeeds in user authentication, according to an embodiment. Contents corresponding to, identical to, and/or similar to those described above in relation to FIG. 6 may be simplified or omitted.

도 6을 참조하면, 도 4의 동작 430에서 프로세서(예: 도 2a의 프로세서(210))가 카메라(230)를 통해 획득한 이미지에 기반하여 사용자 인증을 시도할 때, 프로세서(210)는 동작 610에서 지정된 파라미터에 기반하여 인증 유지 시간을 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전자 장치(예: 도 1 또는 도 2의 전자 장치(101))의 위치 정보 및 어플리케이션(예: 도 3의 어플리케이션(320))의 보안 레벨과 같은 지정된 파라미터에 기반하여 인증 유지 시간이 자동으로 결정되도록 제어할 수 있다.Referring to FIG. 6 , in operation 430 of FIG. 4 , when the processor (eg, the processor 210 of FIG. 2A ) attempts user authentication based on an image acquired through the camera 230 , the processor 210 operates In 610 , the authentication retention time may be determined based on the specified parameter. According to an embodiment, the processor 210 is configured such as location information of the electronic device (eg, the electronic device 101 of FIG. 1 or FIG. 2 ) and a security level of an application (eg, the application 320 of FIG. 3 ). It can be controlled so that the authentication retention time is automatically determined based on the parameter.

일 실시 예에 따르면, 프로세서(210)는 동작 620에서 사용자 인증에 성공하면 보안 상태를 해제할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 사용자 인증이 성공하면 보안 설정된 어플리케이션(320)에 대하여 보안을 해제할 수 있다. 예를 들어, 프로세서(210)는 카메라(230)를 통하여 획득된 이미지와 저장된 이미지가 일치하다고 판단되는 경우 어플리케이션(320)에 설정된 보안을 해제할 수 있다.According to an embodiment, the processor 210 may release the security state when user authentication is successful in operation 620 . According to an embodiment, when the user authentication is successful, the processor 210 may release security for the security-set application 320 . For example, when it is determined that the image acquired through the camera 230 and the stored image match, the processor 210 may release the security set in the application 320 .

일 실시 예에 따르면, 프로세서(210)는 동작 630에서 사용자 인증에 성공하면 사용자 얼굴 추적을 시작할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 사용자 인증이 성공된 시점부터 얼굴 추적 시스템(예: 도 3의 얼굴 추적 시스템(340))을 실행하여 사용자의 얼굴을 추적할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 카메라(230)를 통해 획득되는 사용자의 얼굴에 대응하는 객체의 개수를 식별할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 사용자 인증이 성공된 시점부터는 카메라(230)를 통해 획득된 이미지와 저장된 이미지를 비교하지 않고 사용자의 얼굴에 대응하는 객체의 개수만 식별할 수 있다. 예를 들어, 프로세서(210)는 사용자가 마스크 및/또는 선글라스를 착용한 경우에도 사용자의 얼굴에 대응하는 이미지의 개수가 한 개로 유지되는 경우에는 보안이 해제된 상태로 유지할 수 있다.According to an embodiment, if the user authentication is successful in operation 630, the processor 210 may start tracking the user's face. According to an embodiment, the processor 210 may track the user's face by executing the face tracking system (eg, the face tracking system 340 of FIG. 3 ) from the time when user authentication is successful. According to an embodiment, the processor 210 may identify the number of objects corresponding to the user's face obtained through the camera 230 . According to an embodiment, from the point in time when user authentication is successful, the processor 210 may identify only the number of objects corresponding to the user's face without comparing the image acquired through the camera 230 with the stored image. For example, when the number of images corresponding to the user's face is maintained as one even when the user wears a mask and/or sunglasses, the processor 210 may maintain the security release state.

일 실시 예에 따르면, 프로세서(210)는 동작 640에서 카메라(230)를 통해 획득되는 얼굴에 대응하는 객체의 수가 변하면 보안 상태에 진입(예: 보안 해제 상태에서 보안 상태로 변경)할 수 있다. 예를 들어, 프로세서(210)는 전면 카메라를 통해 인식되는 사용자의 얼굴이 사라지거나 두 명 이상의 사용자가 존재하는 것으로 판단되면 인증 유지 시간을 종료하고 보안 상태에 진입할 수 있다.According to an embodiment, when the number of objects corresponding to faces acquired through the camera 230 changes in operation 640 , the processor 210 may enter a security state (eg, change from a security release state to a security state). For example, if the user's face recognized through the front camera disappears or it is determined that two or more users exist, the processor 210 may end the authentication maintenance time and enter a security state.

도 7은 일 실시 예에 따른 전자 장치가 백그라운드 인증 시스템을 실행하는 방법에 관한 흐름도이다. 도 7의 설명과 관련하여 전술한 내용과 동일 및/또는 유사하거나 대응되는 내용은 간략히 하거나 생략할 수 있다.7 is a flowchart illustrating a method for an electronic device to execute a background authentication system according to an embodiment. In relation to the description of FIG. 7 , the same and/or similar or corresponding content as described above may be simplified or omitted.

도 7을 참조하면, 일 실시 예에 따른 프로세서(예: 도 1의 프로세서(120) 또는 도 2a의 프로세서(210))는 동작 710에서 사용자 인증을 요청할 수 있다. 일 실시 예에 따르면, 어플리케이션(예: 도 3의 어플리케이션(320))은 실행 중에, 백그라운드 인증 서비스(예: 도 3의 백그라운드 인증 서비스(310))에 사용자 인증을 요청할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 보안 테이블(360)을 기반으로 어플리케이션(320)에 백그라운드 인증을 요청할 수 있는 권한이 있는지 여부를 판단할 수 있다.Referring to FIG. 7 , a processor (eg, the processor 120 of FIG. 1 or the processor 210 of FIG. 2A ) according to an embodiment may request user authentication in operation 710 . According to an embodiment, the application (eg, the application 320 of FIG. 3 ) may request user authentication from a background authentication service (eg, the background authentication service 310 of FIG. 3 ) while it is running. According to an embodiment, the processor 210 may determine whether the application 320 has the authority to request background authentication based on the security table 360 .

일 실시 예에 따르면, 프로세서(210)는 동작 720에서 백그라운드 인증 시스템을 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 어플리케이션(320)에 백그라운드 인증을 요청할 수 있는 권한이 있는 것으로 판단한 경우 백그라운드 인증 서비스(310)를 실행할 수 있다. 예를 들면, 어플리케이션(320)은 백그라운드 인증 서비스(310)에 사용자 인증을 요청하고, 백그라운드 인증 서비스(310)로부터 사용자 인증에 성공했는지 여부에 대한 정보(예: 사용자 인증 요청 결과)를 획득할 수 있다.According to an embodiment, the processor 210 may execute the background authentication system in operation 720 . According to an embodiment, the processor 210 may execute the background authentication service 310 when it is determined that the application 320 has the authority to request the background authentication. For example, the application 320 may request user authentication from the background authentication service 310 and obtain information (eg, a result of the user authentication request) on whether user authentication has been successful from the background authentication service 310 . there is.

일 실시 예에 따르면, 프로세서(210)는 동작 730에서 저장된 이미지와 획득한 사용자의 얼굴에 대응하는 이미지가 일치하는지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 카메라(230)를 통해 획득한 얼굴에 대응하는 이미지로부터 특징 정보를 검출하여 메모리(예: 도 2a의 메모리(240))에 기저장된 이미지의 특징 정보와 일치하는지 여부를 판단할 수 있다.According to an embodiment, the processor 210 may determine whether the image stored in operation 730 matches the acquired image corresponding to the user's face. According to an embodiment, the processor 210 detects feature information from the image corresponding to the face acquired through the camera 230 and compares the feature information of the image pre-stored in a memory (eg, the memory 240 of FIG. 2A ) and It can be determined whether they match.

일 실시 예에 따르면, 프로세서(210)는 동작 740에서 저장된 이미지와 획득한 사용자의 얼굴에 대응하는 이미지가 일치하다고 판단되는 경우(동작 730 - 예) 얼굴 추적 시스템(340)을 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 얼굴 추적 시스템(340)을 실행하여 사용자의 존재 유무 및/또는 타 사용자의 간섭 유무를 판단할 수 있다.According to an embodiment, the processor 210 may execute the face tracking system 340 when it is determined that the image stored in operation 740 matches the image corresponding to the acquired user's face (operation 730 - Yes). According to an embodiment, the processor 210 may execute the face tracking system 340 to determine whether the user is present and/or whether there is interference from another user.

일 실시 예에 따르면, 프로세서(210)는 동작 750에서 저장된 이미지와 획득한 사용자의 얼굴에 대응하는 이미지가 일치하지 않는다고 판단되는 경우(동작 730 - 아니오) 인증 실패 알림을 제공할 수 있다. 예를 들면, 인증 실패 알림은 디스플레이(예: 도 2a의 디스플레이(220))를 통한 UI, 스피커(예: 도 1의 음향 출력 모듈(155))를 통한 음성 안내 또는 소리, 햅틱 모듈(예: 도 1의 햅틱 모듈(179))을 통한 진동 중 적어도 하나를 포함할 수 있다.According to an embodiment, when it is determined that the image stored in operation 750 and the image corresponding to the acquired user's face do not match (operation 730 - NO), the processor 210 may provide an authentication failure notification. For example, the authentication failure notification may include a UI through a display (eg, the display 220 of FIG. 2A ), voice guidance or a sound through a speaker (eg, the sound output module 155 of FIG. 1 ), or a haptic module (eg: It may include at least one of vibrations through the haptic module 179 of FIG. 1 .

일 실시 예에 따르면, 프로세서(210)는 동작 760에서 인증 유지 시간 동안 얼굴에 대응하는 객체가 한 개인지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득되는 이미지와 기저장된 이미지를 비교하지 않고 카메라(230)를 통해 수집되는 이미지에서 사용자의 얼굴에 대응하는 객체의 개수만을 식별할 수 있다. 예를 들어, 사용자가 마스크 및/또는 선글라스를 착용한 경우에도 사용자의 얼굴에 대응하는 객체가 한 개인 것으로 판단할 수 있다.According to an embodiment, the processor 210 may determine whether there is one object corresponding to the face during the authentication maintenance time in operation 760 . According to an embodiment, the processor 210 may identify only the number of objects corresponding to the user's face from the images collected through the camera 230 without comparing the acquired image with the pre-stored image. For example, even when the user wears a mask and/or sunglasses, it may be determined that there is one object corresponding to the user's face.

일 실시 예에 따르면, 프로세서(210)는 동작 770에서 얼굴에 대응하는 객체가 한 개라고 판단되는 경우(동작 760 - 예), 인증 유지 시간이 초과할 때까지 보안 상태를 해제할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 지속적으로 얼굴에 대응하는 객체가 한 개라고 판단되는 경우 인증 유지 시간이 초과되어도 자동으로 재인증을 수행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 보안 테이블(예: 도 3의 보안 테이블(360))에 기반하여 인증 재시도 횟수를 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 결정된 인증 재시도 횟수에 기반하여 자동으로 재인증을 수행할 수 있다. 예를 들어, 인증 재시도 횟수가 3회로 결정된 경우 프로세서(210)는 인증 유지 시간이 초과할 때마다 자동으로 3회 더 재인증을 수행할 수 있다.According to an embodiment, when it is determined that there is only one object corresponding to the face in operation 770 (operation 760 - Yes), the processor 210 may release the security state until the authentication maintenance time expires. According to an embodiment, when it is continuously determined that there is only one object corresponding to the face, the processor 210 may automatically perform re-authentication even if the authentication maintenance time has expired. According to an embodiment, the processor 210 may determine the number of authentication retries based on a security table (eg, the security table 360 of FIG. 3 ). According to an embodiment, the processor 210 may automatically perform re-authentication based on the determined number of authentication retries. For example, when the number of authentication retries is determined to be three, the processor 210 may automatically perform re-authentication three more times whenever the authentication maintenance time exceeds.

일 실시 예에 따르면, 프로세서(210)는 동작 780에서 얼굴에 대응하는 객체가 한 개라고 판단되지 않는 경우(동작 760 - 아니오), 인증 시간(또는, 인증 유지 시간)이 종료되었다는 알림을 제공할 수 있다. 예를 들어, 사용자가 사라지거나 두 명 이상의 사용자가 존재하는 것으로 판단되는 경우 프로세서(210)는 인증 시간이 종료되었다는 알림을 제공할 수 있다. 예를 들면, 인증 시간 종료 알림은 디스플레이(220)를 통한 UI, 스피커(155)를 통한 음성 안내 또는 소리, 햅틱 모듈(179)을 통한 진동 중 적어도 하나를 포함할 수 있다.According to an embodiment, when it is determined that there is not one object corresponding to the face in operation 780 (operation 760 - No), the processor 210 provides a notification that the authentication time (or authentication maintenance time) has expired. can For example, when it is determined that the user disappears or two or more users exist, the processor 210 may provide a notification that the authentication time has expired. For example, the authentication time end notification may include at least one of UI through the display 220 , voice guidance or sound through the speaker 155 , and vibration through the haptic module 179 .

도 8a는 일 실시 예에 따른 전자 장치에서, 사용자 인증에 실패한 경우 디스플레이에 표시되는 UI를 나타낸다.8A illustrates a UI displayed on a display when user authentication fails in an electronic device according to an embodiment.

도 8a를 참조하면, 일 실시 예에 따른 프로세서(예: 도 1의 프로세서(120) 또는 도 2a의 프로세서(210))는 사용자 인증에 실패한 경우 디스플레이(220)를 통해 인증 실패를 나타내는 메시지(예: “본인인증에 실패하였습니다”)를 출력할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 디스플레이(220)를 통하여 인증 실패를 알리는 팝업 윈도우(801)를 표시할 수 있다.Referring to FIG. 8A , when the processor (eg, the processor 120 of FIG. 1 or the processor 210 of FIG. 2A ) according to an embodiment fails user authentication, a message indicating authentication failure through the display 220 (eg : “Authentication failed”) can be printed. According to an embodiment, the processor 210 may display a pop-up window 801 informing of an authentication failure through the display 220 .

도 8b는 일 실시 예에 따른 전자 장치에서, 인증 시간이 종료되는 경우 디스플레이에 표시되는 UI를 나타낸다.8B illustrates a UI displayed on a display when an authentication time ends in an electronic device according to an embodiment.

도 8b를 참조하면, 일 실시 예에 따른 프로세서(예: 도 1의 프로세서(120) 또는 도 2a의 프로세서(210))는 인증 유지 시간이 초과한 경우 디스플레이(220)를 통해 인증 시간 종료를 나타내는 메시지(예: “인증시간이 종료되었습니다”)를 출력할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 디스플레이(220)를 통하여 인증 시간 종료를 알리는 팝업 윈도우(803)를 표시할 수 있다.Referring to FIG. 8B , the processor (eg, the processor 120 of FIG. 1 or the processor 210 of FIG. 2A ) according to an embodiment indicates the end of the authentication time through the display 220 when the authentication maintenance time is exceeded. A message (eg, “authentication time has expired”) can be output. According to an embodiment, the processor 210 may display a pop-up window 803 informing of the end of the authentication time through the display 220 .

도 9는 일 실시 예에 따른 전자 장치에서, 어플리케이션의 속성에 기반하여 결정되는 인증 유지 시간 및 인증 갱신 횟수의 예시를 나타낸다.9 illustrates an example of an authentication maintenance time and a number of authentication renewals determined based on an application attribute in an electronic device according to an embodiment.

도 9는 도 3의 보안 테이블(360)의 일 예시를 나타낼 수 있다.FIG. 9 may show an example of the security table 360 of FIG. 3 .

도 9를 참조하면, 어플리케이션(예: 도 3의 어플리케이션(320))은 보안 레벨에 따라 네가지 종류의 어플리케이션(제1 어플리케이션, 제2 어플리케이션, 제3 어플리케이션, 제4 어플리케이션)으로 분류될 수 있으며, 각 어플리케이션의 속성에 따라 인증 유지 시간 및/또는 인증 재시도 횟수가 결정될 수 있다. Referring to FIG. 9 , an application (eg, the application 320 of FIG. 3 ) may be classified into four types of applications (a first application, a second application, a third application, and a fourth application) according to a security level, The authentication maintenance time and/or the number of authentication retries may be determined according to the properties of each application.

예를 들어, 제1 어플리케이션은 시스템 어플리케이션(system application)을 의미할 수 있다. 일 실시 예에 따르면, 시스템 어플리케이션은 운영 체제(예: 안드로이드 OS(operating system))에서 대부분의 리소스 사용 권한을 가진 어플리케이션을 포함할 수 있다. 예를 들어, 시스템 어플리케이션은 설정(settings) 어플리케이션, 내 파일(my files) 어플리케이션, 및 보안 폴더(secure folder) 어플리케이션 중 적어도 하나를 포함할 수 있다. 또 예를 들어, 시스템 어플리케이션은 인공지능 서비스(예: 빅스비)를 포함할 수 있다. 일 실시 예에 따르면, 시스템 어플리케이션은 인증 유지 시간이 제1 시간(예: 2분)으로 설정되고, 인증 재시도 횟수가 제1 횟수(예: 5회)로 결정될 수 있다. For example, the first application may mean a system application. According to an embodiment, the system application may include an application having most of the resource usage rights in an operating system (eg, an Android operating system (OS)). For example, the system application may include at least one of a settings application, a my files application, and a secure folder application. Also, for example, the system application may include an artificial intelligence service (eg, Bixby). According to an embodiment, in the system application, the authentication maintenance time may be set as the first time (eg, 2 minutes) and the number of authentication retries may be determined as the first number (eg, 5 times).

예를 들어, 제2 어플리케이션은 벤더 사인 어플리케이션(vendor sign application)을 의미할 수 있다. 일 실시 예에 따르면, 벤더 사인 어플리케이션은 통신사에서 제공하는 어플리케이션을 포함할 수 있다. 일 실시 예에 따르면, 벤더 사인 어플리케이션은 인증 유지 시간이 제2 시간(예: 1분)으로 설정되고, 인증 재시도 횟수가 제2 횟수(예: 3회)로 결정될 수 있다.For example, the second application may mean a vendor sign application. According to an embodiment, the vendor signature application may include an application provided by a telecommunication company. According to an embodiment, in the vendor sign application, the authentication retention time may be set to a second time (eg, 1 minute), and the number of authentication retries may be determined as the second number (eg, 3 times).

예를 들어, 제3 어플리케이션은 타사 트러스티 어플리케이션(trust sign 3rd application)을 의미할 수 있다. 일 실시 예에 따르면, 타사 트러스티 어플리케이션은 인증 유지 시간이 제3 시간(예: 1분)으로 설정되고, 인증 재시도 횟수가 제3 횟수(예: 2회)로 결정될 수 있다.For example, the third application may mean a trust sign 3rd application of a third party. According to an embodiment, in the third-party trustee application, the authentication retention time may be set to a third time (eg, 1 minute), and the number of authentication retries may be determined as the third number (eg, 2 times).

예를 들어, 제4 어플리케이션은 언트러스트 어플리케이션(untrust application)을 의미할 수 있다. 일 실시 예에 따르면, 언트러스트 어플리케이션은 스토어(store)에서 개인이 배포하거나 인증 기관의 서비스를 받지 않은 어플리케이션을 포함할 수 있다. 일 실시 예에 따르면, 언트러스트 어플리케이션은 인증 유지 시간이 제4 시간(예: 30초)으로 설정되고, 인증 재시도 횟수가 제4 횟수(예: 0회)로 결정될 수 있다. For example, the fourth application may mean an untrusted application. According to an embodiment, the untrusted application may include an application that an individual distributes in a store or does not receive a service from a certification authority. According to an embodiment, in the untrusted application, the authentication retention time may be set as a fourth time (eg, 30 seconds) and the number of authentication retries may be determined as the fourth number (eg, 0 times).

본 실시 예는 하나의 실시 예에 불과하며, 본 발명의 다양한 실시예들은 상기한 어플리케이션의 종류나 인증 유지 시간 및/또는 인증 재시도 횟수를 한정하지 않는다. This embodiment is only one embodiment, and various embodiments of the present invention do not limit the type of application, the authentication maintenance time, and/or the number of authentication retries.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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 therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates 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 , B, or C" each may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), 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, for example, and interchangeably with terms such as logic, logic block, component, or circuit. can be used A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. According to an embodiment, the method according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다. According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. . According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repetitively, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

상술한 바와 같이, 일 실시 예에 따른 전자 장치(예: 도 1의 전자 장치(101))는 카메라, 디스플레이, 및 상기 카메라 및 상기 디스플레이와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는 보안 상태에서 동작할 수 있는 어플리케이션을 실행하고, 상기 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하고, 상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하고, 상기 사용자의 인증이 진행되는 동안, 상기 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하고, 지정된 파라미터에 기반하여 인증 유지 시간을 결정하고, 상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제할 수 있다. As described above, the electronic device (eg, the electronic device 101 of FIG. 1 ) according to an embodiment includes a camera, a display, and at least one processor operatively connected to the camera and the display, and the At least one processor executes an application capable of operating in a secure state, acquires an image corresponding to the user's face through the camera, attempts authentication of the user based on the acquired image, and While the authentication is in progress, a first user interface (UI) indicating that the authentication of the user is in progress is displayed through the display, the authentication retention time is determined based on a specified parameter, and the authentication of the user is If successful, the security state may be released during the determined authentication maintenance time.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하고, 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시킬 수 있다. According to an embodiment, the at least one processor may determine the number of authentication retries according to the user's authentication failure, and if the user's authentication fails, the number of authentication retries may be subtracted.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정할 수 있다. According to an embodiment, the at least one processor may determine the specified parameter based on at least one of a property of the application or location information of the electronic device.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득할 수 있다. According to an embodiment, the at least one processor may obtain the location information of the electronic device from at least one of a GPS and a geomagnetic sensor.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 사용자의 인증이 성공되면, 상기 제1 UI의 표시를 삭제하고, 상기 디스플레이를 통하여 상기 사용자의 인증이 성공함을 나타내는 제2 UI를 표시할 수 있다. According to an embodiment, when the authentication of the user is successful, the at least one processor may delete the display of the first UI and display a second UI indicating that the authentication of the user is successful through the display. there is.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 인증 유지 시간을 초과하는 경우 상기 제2 UI의 표시를 삭제할 수 있다. According to an embodiment, the at least one processor may delete the display of the second UI when the authentication maintenance time is exceeded.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 사용자의 인증에 실패하는 경우 알림을 제공할 수 있다.According to an embodiment, the at least one processor may provide a notification when authentication of the user fails.

일 실시 예에 따르면, 상기 인증 유지 시간이 초과되는 경우 자동으로 재인증을 수행할 수 있다.According to an embodiment, when the authentication maintenance time is exceeded, re-authentication may be automatically performed.

상술한 바와 같이, 일 실시 예에 따른 전자 장치의 동작 방법은, 보안 상태에서 동작할 수 있는 어플리케이션을 실행하는 동작, 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하는 동작, 상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하는 동작, 상기 사용자의 인증이 진행되는 동안, 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하는 동작, 지정된 파라미터에 기반하여 인증 유지 시간을 결정하는 동작, 상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제하는 동작을 포함할 수 있다.As described above, the method of operating an electronic device according to an embodiment includes an operation of executing an application capable of operating in a secure state, an operation of acquiring an image corresponding to a user's face through a camera, and an operation of acquiring an image corresponding to the user's face through the camera. An operation of attempting authentication of the user based on an operation of displaying a first user interface (UI) indicating that authentication of the user is in progress through a display while the authentication of the user is in progress It may include an operation of determining an authentication holding time based on the authentication and, if the authentication of the user is successful, releasing the security state for the determined authentication holding time.

일 실시 예에 따른 전자 장치의 동작 방법은 상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하는 동작 및 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시키는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment may include determining the number of authentication retries according to the authentication failure of the user and subtracting the number of authentication retries when the user's authentication fails.

일 실시 예에 따른 전자 장치의 동작 방법은, 상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment may include determining the specified parameter based on at least one of a property of the application or location information of the electronic device.

일 실시 예에 따른 전자 장치의 동작 방법은, 상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment may include acquiring location information of the electronic device from at least one of a GPS and a geomagnetic sensor.

일 실시 예에 따른 전자 장치의 동작 방법은, 상기 사용자의 인증이 성공되면, 상기 제1 UI의 표시를 삭제하고, 디스플레이를 통하여 상기 사용자의 인증이 성공함을 나타내는 제2 UI를 표시하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment includes, when the authentication of the user is successful, deleting the display of the first UI, and displaying a second UI indicating that the authentication of the user is successful through a display. may include

일 실시 예에 따른 전자 장치의 동작 방법은, 상기 인증 유지 시간을 초과하는 경우 상기 제2 UI의 표시를 삭제하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment may include deleting the display of the second UI when the authentication maintenance time is exceeded.

일 실시 예에 따른 전자 장치의 동작 방법은, 상기 사용자의 인증에 실패하는 경우 알림을 제공하는 동작을 포함할 수 있다.The method of operating an electronic device according to an embodiment may include providing a notification when authentication of the user fails.

상술한 바와 같이, 일 실시 예에 따른 전자 장치는 카메라, 디스플레이, 및 상기 카메라 및 상기 디스플레이와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는 보안 상태에서 동작할 수 있는 어플리케이션을 실행하고, 상기 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하고, 상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하고, 지정된 파라미터에 기반하여 인증 유지 시간을 결정하고, 상기 사용자의 인증이 성공되면 상기 보안 상태를 해제하고, 상기 사용자의 인증이 성공된 시점부터 상기 카메라를 통하여 상기 사용자의 얼굴 추적(face tracking)을 시작하고, 상기 카메라를 통하여 획득되는 얼굴에 대응하는 이미지의 수가 변하면 상기 보안 상태에 진입할 수 있다.As described above, the electronic device according to an embodiment includes a camera, a display, and at least one processor operatively connected to the camera and the display, and the at least one processor is capable of operating in a security state. Execute an application, acquire an image corresponding to the user's face through the camera, attempt authentication of the user based on the acquired image, determine an authentication retention time based on a specified parameter, and When the authentication is successful, the security state is released, the user's face tracking is started through the camera from the time when the user's authentication is successful, and the number of images corresponding to the face acquired through the camera If changed, the security state can be entered.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하고, 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시킬 수 있다.According to an embodiment, the at least one processor may determine the number of authentication retries according to the user's authentication failure, and if the user's authentication fails, the number of authentication retries may be subtracted.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정할 수 있다.According to an embodiment, the at least one processor may determine the specified parameter based on at least one of a property of the application or location information of the electronic device.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득할 수 있다.According to an embodiment, the at least one processor may obtain the location information of the electronic device from at least one of a GPS and a geomagnetic sensor.

일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 인증 유지 시간이 초과되는 경우 자동으로 재인증을 수행할 수 있다.According to an embodiment, the at least one processor may automatically perform re-authentication when the authentication maintenance time is exceeded.

Claims (20)

전자 장치에 있어서,
카메라;
디스플레이; 및
상기 카메라 및 상기 디스플레이와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는:
보안 상태에서 동작할 수 있는 어플리케이션을 실행하고,
상기 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하고,
상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하고,
상기 사용자의 인증이 진행되는 동안, 상기 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하고,
지정된 파라미터에 기반하여 인증 유지 시간을 결정하고,
상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제하는, 전자 장치.
In an electronic device,
camera;
display; and
at least one processor operatively coupled with the camera and the display, the at least one processor comprising:
Run applications that can operate in a secure state,
Obtaining an image corresponding to the user's face through the camera,
Attempt to authenticate the user based on the acquired image,
while the user's authentication is in progress, displaying a first user interface (UI) indicating that the user's authentication is in progress through the display;
determine the duration of the authentication based on the specified parameter;
When the authentication of the user succeeds, the electronic device releases the security state for the determined authentication maintenance time.
청구항 1에 있어서,
상기 적어도 하나의 프로세서는 상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하고, 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시키는, 전자 장치.
The method according to claim 1,
The at least one processor determines the number of authentication retries according to the authentication failure of the user, and subtracts the number of authentication retries when the authentication of the user fails.
청구항 1에 있어서,
상기 적어도 하나의 프로세서는 상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정하는, 전자 장치.
The method according to claim 1,
The at least one processor determines the specified parameter based on at least one of a property of the application and location information of the electronic device.
청구항 3에 있어서,
상기 적어도 하나의 프로세서는 상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득하는, 전자 장치.
4. The method according to claim 3,
The at least one processor obtains the location information of the electronic device from at least one of a GPS and a geomagnetic sensor.
청구항 1에 있어서,
상기 적어도 하나의 프로세서는 상기 사용자의 인증이 성공되면, 상기 제1 UI의 표시를 삭제하고, 상기 디스플레이를 통하여 상기 사용자의 인증이 성공함을 나타내는 제2 UI를 표시하는, 전자 장치.
The method according to claim 1,
When the authentication of the user is successful, the at least one processor deletes the display of the first UI and displays a second UI indicating that the authentication of the user is successful through the display.
청구항 5에 있어서,
상기 적어도 하나의 프로세서는 상기 인증 유지 시간을 초과하는 경우 상기 제2 UI의 표시를 삭제하는, 전자 장치.
6. The method of claim 5,
The at least one processor deletes the display of the second UI when the authentication maintenance time is exceeded.
청구항 1에 있어서,
상기 적어도 하나의 프로세서는 상기 사용자의 인증에 실패하는 경우 알림을 제공하는, 전자 장치.
The method according to claim 1,
The at least one processor provides a notification when authentication of the user fails.
청구항 1에 있어서,
상기 인증 유지 시간이 초과되는 경우 자동으로 재인증을 수행하는, 전자 장치.
The method according to claim 1,
An electronic device that automatically performs re-authentication when the authentication maintenance time is exceeded.
전자 장치의 동작 방법에 있어서,
보안 상태에서 동작할 수 있는 어플리케이션을 실행하는 동작;
카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하는 동작;
상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하는 동작;
상기 사용자의 인증이 진행되는 동안, 디스플레이를 통하여 상기 사용자의 인증이 진행 중임을 나타내는 제1 사용자 인터페이스(user interface, UI)를 표시하는 동작;
지정된 파라미터에 기반하여 인증 유지 시간을 결정하는 동작;
상기 사용자의 인증이 성공하면, 상기 결정된 인증 유지 시간동안 상기 보안 상태를 해제하는 동작을 포함하는, 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
executing an application capable of operating in a secure state;
acquiring an image corresponding to the user's face through a camera;
attempting authentication of the user based on the acquired image;
displaying a first user interface (UI) indicating that the user's authentication is in progress through a display while the user's authentication is in progress;
determining an authentication retention time based on the specified parameter;
and releasing the security state for the determined authentication maintenance time when the user's authentication is successful.
청구항 9에 있어서,
상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하는 동작 및 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시키는 동작을 포함하는, 전자 장치의 동작 방법.
10. The method of claim 9,
and determining the number of authentication retries according to the authentication failure of the user and subtracting the number of authentication retries when the authentication of the user fails.
청구항 9에 있어서,
상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정하는 동작을 포함하는, 전자 장치의 동작 방법.
10. The method of claim 9,
and determining the specified parameter based on at least one of a property of the application and location information of the electronic device.
청구항 11에 있어서,
상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득하는 동작을 포함하는, 전자 장치의 동작 방법.
12. The method of claim 11,
and acquiring the location information of the electronic device from at least one of a GPS and a geomagnetic sensor.
청구항 9에 있어서,
상기 사용자의 인증이 성공되면, 상기 제1 UI의 표시를 삭제하고, 디스플레이를 통하여 상기 사용자의 인증이 성공함을 나타내는 제2 UI를 표시하는 동작을 포함하는, 전자 장치의 동작 방법.
10. The method of claim 9,
and, when the authentication of the user is successful, deleting the display of the first UI, and displaying a second UI indicating that the authentication of the user is successful through a display.
청구항 13에 있어서,
상기 인증 유지 시간을 초과하는 경우 상기 제2 UI의 표시를 삭제하는 동작을 포함하는, 전자 장치의 동작 방법.
14. The method of claim 13,
and deleting the display of the second UI when the authentication maintenance time is exceeded.
청구항 9에 있어서,
상기 사용자의 인증에 실패하는 경우 알림을 제공하는 동작을 포함하는, 전자 장치의 동작 방법.
10. The method of claim 9,
and providing a notification when authentication of the user fails.
전자 장치에 있어서,
카메라;
디스플레이; 및
상기 카메라 및 상기 디스플레이와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는:
보안 상태에서 동작할 수 있는 어플리케이션을 실행하고,
상기 카메라를 통하여 사용자의 얼굴에 대응하는 이미지를 획득하고,
상기 획득된 이미지에 기반하여 상기 사용자의 인증을 시도하고,
지정된 파라미터에 기반하여 인증 유지 시간을 결정하고,
상기 사용자의 인증이 성공되면 상기 보안 상태를 해제하고,
상기 사용자의 인증이 성공된 시점부터 상기 카메라를 통하여 상기 사용자의 얼굴 추적(face tracking)을 시작하고,
상기 카메라를 통하여 획득되는 얼굴에 대응하는 이미지의 수가 변하면 상기 보안 상태에 진입하는, 전자 장치.
In an electronic device,
camera;
display; and
at least one processor operatively coupled with the camera and the display, the at least one processor comprising:
Run applications that can operate in a secure state,
Obtaining an image corresponding to the user's face through the camera,
Attempt to authenticate the user based on the acquired image,
determine the duration of the authentication based on the specified parameter;
When the authentication of the user is successful, the security state is released,
Start tracking the user's face through the camera from the time when the user's authentication is successful,
The electronic device enters the security state when the number of images corresponding to faces acquired through the camera changes.
청구항 16에 있어서,
상기 적어도 하나의 프로세서는 상기 사용자의 인증 실패에 따른 인증 재시도 횟수를 결정하고, 상기 사용자의 인증이 실패하면 상기 인증 재시도 횟수를 차감시키는, 전자 장치.
17. The method of claim 16,
The at least one processor determines the number of authentication retries according to the authentication failure of the user, and subtracts the number of authentication retries when the authentication of the user fails.
청구항 16에 있어서,
상기 적어도 하나의 프로세서는 상기 지정된 파라미터를 상기 어플리케이션의 속성 또는 상기 전자 장치의 위치 정보 중 적어도 하나에 기반하여 결정하는, 전자 장치.
17. The method of claim 16,
The at least one processor determines the specified parameter based on at least one of a property of the application and location information of the electronic device.
청구항 18에 있어서,
상기 적어도 하나의 프로세서는 상기 전자 장치의 위치 정보를 GPS 및 지자기 센서 중 적어도 하나로부터 획득하는, 전자 장치.
19. The method of claim 18,
The at least one processor obtains the location information of the electronic device from at least one of a GPS and a geomagnetic sensor.
청구항 16에 있어서,
상기 적어도 하나의 프로세서는 상기 인증 유지 시간이 초과되는 경우 자동으로 재인증을 수행하는, 전자 장치.
17. The method of claim 16,
The at least one processor automatically performs re-authentication when the authentication maintenance time is exceeded.
KR1020200151235A 2020-11-12 2020-11-12 Method for authenticating a user and electronic device thereof KR20220064765A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200151235A KR20220064765A (en) 2020-11-12 2020-11-12 Method for authenticating a user and electronic device thereof
PCT/KR2021/015906 WO2022103069A1 (en) 2020-11-12 2021-11-04 Method for user authentication and electronic device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200151235A KR20220064765A (en) 2020-11-12 2020-11-12 Method for authenticating a user and electronic device thereof

Publications (1)

Publication Number Publication Date
KR20220064765A true KR20220064765A (en) 2022-05-19

Family

ID=81601514

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200151235A KR20220064765A (en) 2020-11-12 2020-11-12 Method for authenticating a user and electronic device thereof

Country Status (2)

Country Link
KR (1) KR20220064765A (en)
WO (1) WO2022103069A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8943326B2 (en) * 2008-01-29 2015-01-27 Qualcomm Incorporated Systems and methods for accessing a tamperproof storage device in a wireless communication device using biometric data
KR101778008B1 (en) * 2015-10-20 2017-09-13 삼성에스디에스 주식회사 Method for unlocking security status of security processed object and apparatus thereof
KR101713891B1 (en) * 2016-01-08 2017-03-09 (주)모자이큐 User Admittance System using Partial Face Recognition and Method therefor
CN109858224A (en) * 2017-09-09 2019-06-07 苹果公司 The realization of biometric authentication
US10891361B2 (en) * 2018-07-23 2021-01-12 Citrix Systems, Inc. Device with a camera for real-time risk detection of password leakage

Also Published As

Publication number Publication date
WO2022103069A1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
KR102522415B1 (en) Apparatus and method for recognizing object in electronic device
KR102230691B1 (en) Method and device for recognizing biometric information
KR20210046984A (en) Method for obtaining face data and electronic device therefor
KR20210101049A (en) The electronic device and the method for recognizing the object
US20220021178A1 (en) Electronic device and method for controlling output of light sources of electronic device
KR20220102715A (en) Electronic device and method to automatically control the brightness of electronic device
US11368636B2 (en) Method for acquiring image corresponding to infrared rays by using camera module comprising lens capable of absorbing light in visible light band and electronic device implementing same
KR20220064765A (en) Method for authenticating a user and electronic device thereof
US11363712B2 (en) Flexible printed circuit board and electronic device including the same
KR20220094847A (en) Method of processing secure data and electronic device supporting the same
KR20210061593A (en) Electronic device and method for recognizing fingerprint thereof
KR20200126850A (en) Method for authenticating user and electronic device for supporting the same
US20240086512A1 (en) Electronic device including image sensor and dynamic vison sensor, and operation method thereof
US20240098347A1 (en) Electronic device comprising image sensor and dynamic vision sensor, and operating method therefor
EP4310588A1 (en) Image stabilizer and electronic device comprising same
KR102503440B1 (en) An electronic device obtaining an security image using security processing module
US20240126857A1 (en) Method and electronic device for performing user authentication function by using udc
US20230396885A1 (en) Electronic device including camera module and electronic device operating method
US20230353863A1 (en) Electronic device capable of adjusting angle of view and operating method therefor
EP4283979A1 (en) Electronic device comprising plurality of cameras and operating method therefor
US20230412920A1 (en) Method for executing application, and electronic device supporting same
EP4207106A1 (en) Electronic device and method for performing face authentication by using plurality of cameras
KR20230015666A (en) Method and electronic device for performing user authentication function using under display camera
KR20220166112A (en) Electronic device using under display camera and operation method thereof
KR20220149193A (en) An apparatus and method for a face recognition using color inversion