KR20230119569A - Electronic device providing security function and method of operation therof - Google Patents
Electronic device providing security function and method of operation therof Download PDFInfo
- Publication number
- KR20230119569A KR20230119569A KR1020220030661A KR20220030661A KR20230119569A KR 20230119569 A KR20230119569 A KR 20230119569A KR 1020220030661 A KR1020220030661 A KR 1020220030661A KR 20220030661 A KR20220030661 A KR 20220030661A KR 20230119569 A KR20230119569 A KR 20230119569A
- Authority
- KR
- South Korea
- Prior art keywords
- electronic device
- certificate
- certificate chain
- memory
- security function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/34—User authentication involving the use of external additional devices, e.g. dongles or smart cards
- G06F21/35—User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3234—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3271—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
본 문서에 개시되는 일 실시 예에 따른 제1 전자 장치는, 제2 전자 장치와 통신을 위한 무선 통신 회로, 상기 무선 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 무선 통신 회로를 통해 상기 제2 전자 장치로부터 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 수신하고, 상기 보안 기능은 상기 제2 전자 장치에 대하여 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우 상기 제2 전자 장치가 상기 인증서 체인의 검증 과정을 수행하도록 하는 기능이며, 상기 챌린지 값 및 상기 제1 전자 장치의 고유의 식별자(unique ID)를 포함하는 상기 인증서 체인을 형성하여 상기 무선 통신 회로를 통해 상기 제2 전자 장치로 전송하도록 하는 인스트럭션들을 저장할 수 있다. A first electronic device according to an embodiment disclosed herein includes a wireless communication circuit for communication with a second electronic device, a processor operatively connected to the wireless communication circuit, and a memory operatively connected to the processor. and the memory, when executed, when the processor receives a user input requesting activation of a security function through the first electronic device or the second electronic device, the second electronic device via the wireless communication circuit. When a certificate chain request including a challenge value is received from an electronic device, and there is a user request for an operation requesting security for the second electronic device, the security function determines the second electronic device. It is a function that causes a device to perform a verification process of the certificate chain, and forms the certificate chain including the challenge value and a unique identifier (unique ID) of the first electronic device to obtain the second electronic device through the wireless communication circuit. It may store instructions to be transmitted to the electronic device.
Description
본 문서에서 개시되는 실시 예들은, 보안 기능을 제공하는 전자 장치 및 그의 동작 방법 에 관한 것이다.Embodiments disclosed in this document relate to an electronic device providing a security function and an operating method thereof.
웨어러블 장치(또는 액세서리 장치)(예: 스마트 워치, 블루투스 이어폰)는 호스트 전자 장치(예: 스마트 폰)과 연결하여 사용이 가능하다. 웨어러블 장치의 분실 시 타인이 습득하여 기기 초기화를 한 후에 무단 사용이 가능한 상태가 될 수 있다. A wearable device (or accessory device) (eg, a smart watch or a Bluetooth earphone) may be connected to and used with a host electronic device (eg, a smart phone). When a wearable device is lost, it may become available for unauthorized use after another person acquires it and initializes the device.
네트워크 통신을 지원하는 웨어러블 장치의 경우 네트워크에 접속하여 계정을 인증하는 방법을 이용하여 기기 초기화 및 타 호스트 장치와의 연결을 방지하는 기능을 지원할 수 있다. 예를 들어, 온라인 계정에 웨어러블 장치를 등록하고, 추후 기기 초기화 또는 호스트 장치와의 연결 해제 동작 시 계정 인증(예: 로그인)을 사용자에게 요구하여, 계정 내 등록된 기기 항목의 설정 변경 후 기기 초기화 또는 호스트 장치와의 연결 해제를 수행하도록 할 수 있다. 또한 기기 초기화 후 새로운 호스트 장치와 연결하려면 초기화 전 등록된 온라인 계정의 인증을 거쳐야만 새로운 호스트 장치와의 연결 동작이 시작되도록 할 수 있다.In the case of a wearable device supporting network communication, a function of initializing the device and preventing connection with other host devices may be supported by using a method of authenticating an account by accessing a network. For example, after registering a wearable device to an online account, requesting account authentication (e.g., log-in) from the user when resetting the device later or disconnecting from the host device, changing the settings of the registered device item in the account, and then resetting the device Alternatively, disconnection from the host device may be performed. In addition, in order to connect to a new host device after device initialization, the connection operation with the new host device can be started only after authentication of an online account registered before initialization.
또는 UICC(universal integrated circuit card; 범용 집적 회로 카드)(예: USIM(universal subscriber identity module) 카드, eSIM(embedded SIM))가 지원되는 웨어러블 장치의 경우 UICC가 포함된 웨어러블 장치 정보를 이용하여 무단 사용을 봉쇄하는 기능이 지원될 수 있다. 예를 들어, UICC 가 지원되는 웨어러블 장치 경우 웨어러블 장치의 기기 초기화 후 최초 부팅 시, 잠금 응용프로그램이 자동으로 실행되어 웨어러블 장치의 잠금 처리를 수행할 수 있다.Or, in the case of a wearable device that supports UICC (universal integrated circuit card) (e.g. USIM (universal subscriber identity module) card, eSIM (embedded SIM)), unauthorized use by using wearable device information including UICC Blocking function can be supported. For example, in the case of a wearable device supporting UICC, when the wearable device is first booted after device initialization, a locking application program may be automatically executed to perform locking of the wearable device.
네트워크 통신이나 UICC를 지원하지 않는 웨어러블 장치의 경우 본인 인증을 할 수 있는 수단이 없어 기기 초기화 및 타 호스트 장치와의 연결을 방지하는 기능을 제공하는 것이 불가능할 수 있다.In the case of a wearable device that does not support network communication or UICC, it may be impossible to provide a function of initializing the device and preventing connection with other host devices because there is no means for authenticating the user.
본 개시의 다양한 실시예는, 네트워크 통신이나 UICC를 지원하지 않는 웨어러블 장치이거나, 웨어러블 장치의 제조사에서 관리하는 자체 계정이 없는 등의 경우에도, 호스트 장치와 웨어러블 장치 간의 인증서 체인 검증 방법을 활용하여 웨어러블 장치의 보안 기능을 제공하는 전자 장치 및 그의 동작 방법을 제공하고자 한다.According to various embodiments of the present disclosure, even if the wearable device does not support network communication or UICC, or the wearable device does not have its own account managed by the wearable device manufacturer, a method for verifying a certificate chain between a host device and a wearable device is utilized to provide a wearable device. An electronic device providing a security function of the device and an operating method thereof are provided.
본 문서에 개시되는 일 실시 예에 따른 제1 전자 장치는, 제2 전자 장치와 통신을 위한 무선 통신 회로, 상기 무선 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 무선 통신 회로를 통해 상기 제2 전자 장치로부터 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 수신하고, 상기 보안 기능은 상기 제2 전자 장치에 대하여 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우 상기 제2 전자 장치가 상기 인증서 체인의 검증 과정을 수행하도록 하는 기능이며, 상기 챌린지 값 및 상기 제1 전자 장치의 고유의 식별자(unique ID)를 포함하는 상기 인증서 체인을 형성하여 상기 무선 통신 회로를 통해 상기 제2 전자 장치로 전송하도록 하는 인스트럭션들을 저장할 수 있다. A first electronic device according to an embodiment disclosed herein includes a wireless communication circuit for communication with a second electronic device, a processor operatively connected to the wireless communication circuit, and a memory operatively connected to the processor. and the memory, when executed, when the processor receives a user input requesting activation of a security function through the first electronic device or the second electronic device, the second electronic device via the wireless communication circuit. When a certificate chain request including a challenge value is received from an electronic device, and there is a user request for an operation requesting security for the second electronic device, the security function determines the second electronic device. It is a function that causes a device to perform a verification process of the certificate chain, and forms the certificate chain including the challenge value and a unique identifier (unique ID) of the first electronic device to obtain the second electronic device through the wireless communication circuit. It may store instructions to be transmitted to the electronic device.
본 문서에 개시되는 일 실시 예에 따른 제2 전자 장치는, 제1 전자 장치와 통신을 위한 무선 통신 회로, 상기 무선 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리;를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 제1 전자 장치에게 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 전송하고, 상기 제1 전자 장치로부터 수신된 상기 인증서 체인의 유효성을 검증하며, 상기 인증서 체인의 유효성이 검증됨에 따라, 상기 인증서 체인 및 상기 인증서 체인에 포함된 상기 제1 전자 장치의 고유의 식별자를 상기 메모리의 제2 보안 메모리에 저장하고, 상기 보안 기능을 활성화하도록 하는 인스트럭션들을 저장할 수 있다.A second electronic device according to an embodiment disclosed in this document includes a wireless communication circuit for communication with a first electronic device, a processor operatively connected to the wireless communication circuit, and a memory operatively connected to the processor. and, when the memory is executed, when the processor receives a user input requesting activation of a security function through the first electronic device or the second electronic device, the memory provides a challenge value to the first electronic device. (challenge value) is transmitted, the validity of the certificate chain received from the first electronic device is verified, and as the validity of the certificate chain is verified, the certificate chain and the A unique identifier of the first electronic device included in the certificate chain may be stored in a second secure memory of the memory, and instructions for activating the security function may be stored.
본 개시의 다양한 실시예에 따르면, 네트워크 통신이나 UICC를 지원하지 않는 웨어러블 장치이거나, 웨어러블 장치의 제조사에서 관리하는 자체 계정이 없는 등의 경우에도, 호스트 장치와 웨어러블 장치 간의 인증서 체인 검증 방법을 활용하여 웨어러블 장치의 보안 기능을 제공하는 전자 장치 및 그의 동작 방법이 제공될 수 있다.According to various embodiments of the present disclosure, even in the case of a wearable device that does not support network communication or UICC or does not have its own account managed by the manufacturer of the wearable device, a method for verifying a certificate chain between a host device and a wearable device can be used. An electronic device providing a security function of a wearable device and an operating method thereof may be provided.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.
도 1은, 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 일 실시예에 따른 전자 장치들의 구성을 나타낸 블록도이다.
도 3은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.
도 4는 일 실시예에 따른 전자 장치의 인증서 체인을 나타낸 도면이다.
도 5는 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.
도 6은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.
도 7은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.
도 8은 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 흐름도이다.
도 9는 일 실시예에 따른 제2 전자 장치의 동작을 나타낸 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2 is a block diagram illustrating configurations of electronic devices according to an exemplary embodiment.
3 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
4 is a diagram illustrating a certificate chain of an electronic device according to an embodiment.
5 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
6 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
7 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
8 is a flowchart illustrating an operation of a first electronic device according to an embodiment.
9 is a flowchart illustrating an operation of a second electronic device according to an embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that this is not intended to limit the present invention to the specific embodiments, and includes various modifications, equivalents, and/or alternatives of the embodiments of the present invention.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a
프로세서(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, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g.,
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or 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
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(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 to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one 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
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 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 one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one 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
무선 통신 모듈(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, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. 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 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices 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, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may 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, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide 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). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
이하, 도 2, 도 3, 및 도 4를 참고하여, 일 실시예에 따른 전자 장치 및 전자 장치의 동작에 대하여 설명한다.Hereinafter, an electronic device and an operation of the electronic device according to an exemplary embodiment will be described with reference to FIGS. 2, 3, and 4 .
도 2는 일 실시예에 따른 전자 장치들의 구성을 나타낸 블록도이다. 도 3은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다. 도 4는 일 실시예에 따른 전자 장치의 인증서 체인을 나타낸 도면이다. 이하, 전자 장치의 동작은 각 전자 장치의 프로세서(예: 제1 프로세서(215), 제2 프로세서(225))에 의해 수행될 수 있다.2 is a block diagram illustrating configurations of electronic devices according to an exemplary embodiment. 3 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment. 4 is a diagram illustrating a certificate chain of an electronic device according to an embodiment. Hereinafter, the operation of the electronic device may be performed by a processor (eg, the first processor 215 and the second processor 225) of each electronic device.
도 2를 참조하면, 일 실시예에 따라 제1 전자 장치(210)(예: 도 1의 전자 장치(101))는 제1 블루투스 모듈(211), 웨어러블 장치 관리 모듈(212), 인증서 생성 모듈(213), 제1 보안 메모리(214) 및 제1 프로세서(215)를 포함할 수 있다. 제1 프로세서(215)는 제1 블루투스 모듈(211), 웨어러블 장치 관리 모듈(212), 인증서 생성 모듈(213) 및 제1 보안 메모리(214)와 연결될 수 있다. 제1 블루투스 모듈(211), 웨어러블 장치 관리 모듈(212), 인증서 생성 모듈(213) 각각은 하드웨어 모듈 및/또는 소프트웨어 모듈을 포함할 수 있으며, 연결된 제1 프로세서(215)에 의해 제어 또는 실행될 수 있다. Referring to FIG. 2 , according to an embodiment, a first electronic device 210 (eg, the electronic device 101 of FIG. 1 ) includes a
일 실시예에 따라 제1 전자 장치(210)은 호스트 전자 장치로, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 또는 가전 장치 중 어느 하나일 수 있다. 본 문서의 실시예에 따른 제1 전자 장치(210)는 전술한 기기들에 한정되지 않는다.According to an embodiment, the first
일 실시예에 따라 제2 전자 장치(220)는 제2 블루투스 모듈(221), 인증서 발급 요청 모듈(222), 인증서 검증 모듈(223), 제2 보안 메모리(224) 및 제2 프로세서(225)를 포함할 수 있다. 제2 프로세서(225)는 제2 블루투스 모듈(221), 인증서 발급 요청 모듈(222), 인증서 검증 모듈(223) 및 제2 보안 메모리(224)와 연결될 수 있다. 제2 블루투스 모듈(221), 인증서 발급 요청 모듈(222), 인증서 검증 모듈(223) 각각은 하드웨어 모듈 및/또는 소프트웨어 모듈을 포함할 수 있으며, 연결된 제2 프로세서(225)에 의해 제어 또는 실행될 수 있다. According to an embodiment, the second
일 실시예에 따라 제2 전자 장치(220)는 웨어러블 장치일 수 있으며, 스마트 워치, 블루투스 이어폰, 헤드 마운트 디스플레이(Head Mounted Display) 중 어느 하나일 수 있다. 본 문서의 실시예에 따른 제2 전자 장치(220)는 전술한 기기들에 한정되지 않으며, 사용자에게 착용되지 않더라도 제1 전자 장치(210)의 액세서리 전자 장치이면 족할 수 있다. According to an embodiment, the second
일 실시예에 따라 제1 블루투스 모듈(211)는 제1 전자 장치(210)와 외부 전자 장치(예: 제2 전자 장치(220)) 간의 블루투스 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 제1 블루투스 모듈(211)는 제1 프로세서(215) 와 독립적으로 운영되고, 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있으나 제한은 없다. 일 실시예에 따르면, 제1 블루투스 모듈(211)는 블루투스 네트워크를 통하여 제2 전자 장치(220)와 패어링(paring)하여 블루투스 통신을 수행할 수 있다. According to an embodiment, the
일 실시예에 따라 웨어러블 장치 관리 모듈(212)는 제2 전자 장치(220)로부터 특정 기능에 대한 요청을 수신하여 요청된 기능에 적합한 모듈로 해당 요청을 전달할 수 있다. 일 실시예에 따라 웨어러블 장치 관리 모듈(212)는 웨어러블 장치로부터 인증서 체인 생성 요청을 수신하는 웨어러블 장치 관리 어플리케이션을 포함할 수 있으며, 웨어러블 장치 관리 어플리케이션은 제2 전자 장치(220)로부터 인증서 체인(certificate chain)의 생성 요청을 수신하여 요청과 함께 수신한 챌린지 값(challenge value)를 인증서 생성 모듈(213)로 전달할 수 있다.According to an embodiment, the wearable device management module 212 may receive a request for a specific function from the second
일 실시예에 따라 인증서 생성 모듈(213)은 상기 어플리케이션으로부터 요청을 수신하는 인터페이스 유닛과 인증서 및 인증서 체인을 생성하는 동작 유닛을 포함할 수 있다. 동작 유닛은 제1 보안 메모리(214)에서 실행되어 인증서 체인을 형성함으로써 형성된 인증서 체인의 보안성을 보장할 수 있으며, 인터페이스 유닛은 상기 어플리케이션과 동작 유닛을 연결해주는 통로 역할을 할 수 있다.According to an embodiment, the
일 실시예에 따라 제1 보안 메모리(214)는 신뢰실행환경(TEE, Trusted Execution Environment)이거나, 신뢰실행환경과 동등 또는 그 이상의 보안 수준을 제공하는 하드웨어 저장 공간일 수 있다. 일 실시예에 따라 제1 보안 메모리(214)에는 제1 전자 장치(210) 고유의 고유 인증 키(attestation key)(이하, 본 명세서의 다양한 실시예에서 제2 인증 키와 동일한 의미로 사용됨) 및 고유 인증 키의 페어(pair) 인증서인 고유 인증 키 인증서(attestation key certificate)(이하, 본 명세서의 다양한 실시예에서 제2 인증서와 동일한 의미로 사용됨)가 저장되어 있을 수 있다. 제2 인증 키 및 제2 인증서는 제1 보안 메모리(214)에 저장되어 외부로부터 보호될 수 있다.According to an embodiment, the first secure memory 214 may be a Trusted Execution Environment (TEE) or a hardware storage space providing a security level equal to or higher than that of a Trusted Execution Environment. According to an embodiment, the first secure memory 214 includes a unique authentication key unique to the first electronic device 210 (hereinafter used as the same meaning as the second authentication key in various embodiments of the present specification) and A unique authentication key certificate, which is a pair certificate of a unique authentication key (hereinafter, used as the same meaning as a second certificate in various embodiments of the present specification) may be stored. The second authentication key and the second certificate may be stored in the first secure memory 214 and protected from the outside.
일 실시예에 따라 제2 인증 키 및 제2 인증서는 제1 전자 장치(210)의 제조 시에 제1 보안 메모리(214)에 저장될 수 있다. 일 실시예에 따라 제2 인증서는 제1 전자 장치(210)의 제조 시에 별도의 하드웨어 보안 모듈(hardware security module)에서 루트 키(root key)(이하, 본 명세서의 다양한 실시예에서 제1 인증 키와 동일한 의미로 사용됨)로 서명되어 제1 보안 메모리(214)에 저장될 수 있다. 일 실시예에 따라 제1 인증 키의 페어 인증서인 루트 인증서(root certificate)(이하, 본 명세서의 다양한 실시예에서 제1 인증서와 동일한 의미로 사용됨)도 제1 보안 메모리(214)에 함께 저장될 수 있다. According to an embodiment, the second authentication key and the second certificate may be stored in the first secure memory 214 when the first
일 실시예에 따라 고유 인증 키(제2 인증 키)는 제1 전자 장치(210)의 제조사가 제1 전자 장치(210)의 제조시 제1 전자 장치(210)에 저장한 고유의 것으로, 제조사의 모든 전자 장치마다 상이할 수 있으며, 제1 전자 장치(210)의 제1 프로세서(215)가 변경되는 경우 외에는 제1 전자 장치(210)의 제조 이후에 제1 전자 장치(210) 내에서 동일하게 유지될 수 있다.According to an embodiment, the unique authentication key (second authentication key) is unique to the manufacturer of the first
일 실시예에 따라 제2 블루투스 모듈(221)은 제2 전자 장치(220)와 제1 전자 장치(210) 간의 블루투스 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있으며, 제2 블루투스 모듈(221)에 대한 설명은 제1 블루투스 모듈(211)에 대한 설명과 적어도 일부가 동일할 수 있다.According to an embodiment, the second Bluetooth module 221 may support establishment of a Bluetooth communication channel between the second
일 실시예에 따라 인증서 발급 요청 모듈(222)는 보안 기능 활성화 /비활성화 요청이 있는 경우, 호스트 전자 장치와의 연결/연결 해제 요청이 있는 경우 또는 장치 초기화 요청이 있는 경우에 블루투스 통신으로 연결된 호스트 전자 장치(예: 제1 전자 장치(210))에게 인증서 체인의 발급을 요청할 수 있다. 인증서 발급 요청 모듈(222)는 인증서 체인 발급 요청 메시지와 챌린지 값을 함께 제1 전자 장치(210)에게 전송할 수 있다. 일 실시예에 따라 챌린지 값은 예측 불가능하고 중복되지 않도록 랜덤하게 생성된 1회성 값일 수 있다.According to an embodiment, the certificate issuance request module 222 may perform a request for activation/deactivation of a security function, a request for connection/disconnection with a host electronic device, or a request for initialization of a host electronic device connected to a host electronic device through Bluetooth communication. A device (eg, the first electronic device 210) may be requested to issue a certificate chain. The certificate issue request module 222 may transmit a certificate chain issue request message and a challenge value together to the first
일 실시예에 따라 인증서 검증 모듈(223)은 제1 전자 장치(210)으로부터 수신한 인증서 체인의 유효성을 검증할 수 있다. 인증서 체인의 유효성 검증 프로세스는 후술한다.According to an embodiment, the
일 실시예에 따라 제2 보안 메모리(224)에는 유효성이 검증된 인증서 체인이 저장될 수 있으며, 제2 보안 메모리(224)는 비휘발성 메모리일 수 있다. 일 실시예에 따라 제2 보안 메모리(224)에 대한 설명은 제1 보안 메모리(214)에 대한 설명과 적어도 일부가 동일할 수 있다.According to an embodiment, a certificate chain whose validity has been verified may be stored in the second secure memory 224, and the second secure memory 224 may be a non-volatile memory. According to an embodiment, a description of the second secure memory 224 may be at least partially the same as that of the first secure memory 214 .
이하, 도 3 및 도 4를 참조하여, 본 개시의 일 실시예에 따른 전자 장치 및 전자 장치의 동작에 대하여 보다 자세하게 설명한다. 현재 제2 전자 장치(220)는 보안 기능이 비활성화되어 있는 상태임을 가정한다. 일 실시예에 따라 보안 기능이란, 제2 전자 장치(220)의 소프트웨어 초기화, 제2 전자 장치(220)를 호스트 장치(예: 제1 전자 장치(210))로부터 연결 해제, 및/또는 제2 전자 장치(220)의 보안 기능 비활성화의 요청이 있는 경우에, 해당 요청을 요청한 사용자가 제2 전자 장치(220)의 정당한 소유자가 맞는지 호스트 장치를 통하여 검증 단계를 거치도록하여 제2 전자 장치(220)의 무단 사용을 방지하고 도난 등의 상황에서 제2 전자 장치(220)의 보안을 유지하는 기능일 수 있다. Hereinafter, an electronic device and an operation of the electronic device according to an embodiment of the present disclosure will be described in more detail with reference to FIGS. 3 and 4 . It is assumed that the current security function of the second
도 3을 참조하면, 제2 전자 장치(220)는 동작 301에서 사용자로부터 보안 기능의 활성화를 요청하는 입력을 수신할 수 있다. 제2 전자 장치(220)(예: 도 2의 제2 전자 장치(220)의 제2 프로세서(225))는 보안 기능의 메뉴를 활성화하는 사용자의 입력을 통하여 보안 기능을 활성화하는 요청이 있음을 식별할 수 있다. Referring to FIG. 3 , in operation 301, the second
일 실시예에 따라 동작 302에서 제2 전자 장치(220)는, 연결되어 있는 제1 전자 장치(210)에게 인증서 체인을 요청할 수 있다. 제2 전자 장치(220)는 제1 전자 장치(210)에게 인증서 체인 요청(예: 요청 메시지)과 챌린지 값을 함께 전달할 수 있다.According to an embodiment, in operation 302, the second
일 실시예에 따라 동작 303에서 제1 전자 장치(210) (예: 도 2의 제1 전자 장치(210)의 제1 프로세서 (215))은, 제2 전자 장치(220)로부터 인증서 체인 요청을 수신함에 따라 인증서 체인을 생성할 수 있다.According to an embodiment, in
이하, 도 4를 참조하여, 제1 전자 장치(210)의 인증서 체인을 생성하는 동작의 일 실시예에 대하여 설명한다. 도 4는 인증서 체인에 포함된 제1 인증서(410), 제2 인증서(420), 제3 인증서(430)와 제1 인증서(410)의 세부 내용의 예시(411), 제2 인증서(420)의 세부 내용의 예시(421), 제3 인증서(430)의 세부 내용의 예시(431)을 나타낸다.Hereinafter, referring to FIG. 4 , an operation of generating a certificate chain of the first
도 4를 참조하면, 인증서 체인은 3개의 인증서(410, 420, 430)를 포함할 수 있다. 도 4일 실시예에 따라 제2 인증서(420)은 제1 전자 장치(210)의 생성 시 제1 전자 장치(210)의 보안 메모리(예: 도 2의 제1 보안 메모리(214))에 저장된 인증서일 수 있다. 실시예에 따라 제2 인증서(420)은 제1 전자 장치(210)의 고유 인증 키(제2 인증 키)의 페어(pair) 인증서인 고유 인증 키 인증서일 수 있다. 일 실시예에 따라 제2 인증서는 제1 전자 장치(210)의 제조 시에 별도의 하드웨어 보안 모듈(HSM)에서 루트 키(제1 인증 키)로 서명되어 제1 전자 장치(210)에 저장되어 있을 수 있다. Referring to FIG. 4 , a certificate chain may include three
일 실시예에 따라 제1 인증서(410)은 제2 인증서(420)을 서명한 루트 키의 페어 인증서인 루트 인증서일 수 있으며, 제1 전자 장치(210)의 생성 시 제1 전자 장치(210)의 보안 메모리(예: 도 2의 제1 보안 메모리(214))에 저장된 인증서일 수 있다.According to an embodiment, the
일 실시예에 따라 제1 전자 장치(210)는 제2 전자 장치(220)로부터 인증서 체인 요청을 수신함에 따라 어플리케이션 키(application key)(이하, 본 명세서의 다양한 실시예에서 제3 인증 키와 동일한 의미로 사용됨) 및 어플리케이션 키의 페어 인증서인 어플리케이션 인증서(application certificate)(이하, 본 명세서의 다양한 실시예에서 제3 인증서와 동일한 의미로 사용됨)를 생성할 수 있다. According to an embodiment, upon receiving a certificate chain request from the second
일 실시예에 따라 제1 전자 장치(210)는 제2 전자 장치(220)로부터 수신한 챌린지 값(433)을 제3 인증서(430)에 포함시킬 수 있으며, 제2 인증서(420)의 제2 인증 키로 제3 인증서(430)를 서명할 수 있다. According to an embodiment, the first
일 실시예에 따라 제1 전자 장치(210)는 제3 인증서(430)을 생성 시 제3 인증서(430)에 제1 전자 장치(210)의 고유의 식별자(unique ID)(432)를 포함시킬 수도 있다. 또한 이때, 제1 전자 장치(210)는 제1 전자 장치(210)의 고유의 식별자(432)의 값이 유요한지 확인하는 단계를 추가로 거칠 수도 있으며, 고유의 식별자(432)의 값이 유요한지 확인한 값(434)를 제3 인증서(430)에 포함시킬 수도 있다.According to an embodiment, when the first
일 실시예에 따라 제1 전자 장치(210)는 제3 인증서(430)에 서명을 완료함으로써 인증서 체인의 생성을 완료할 수 있다. 이때, 생성된 인증서 체인에는 제1 인증서(410)의 공개 키 및 제2 인증서(420)의 공개 키가 포함될 수 있다.According to an embodiment, the first
다시 도 3을 참조하며, 동작 304에서 제1 전자 장치(210)는 생성된 인증서 체인을 제2 전자 장치(220)에게 전송할 수 있다.Referring back to FIG. 3 , in operation 304 , the first
동작 305에서 제2 전자 장치(220)는 수신된 인증서 체인의 유효성을 검증할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 수신된 인증서 체인의 인증서에 표기된 발행인(issuer)의 공개 키로 해당 인증서의 서명(signature)이 유효한지 확인하는 방법으로 인증서 체인의 유효성을 검증할 수 있다. In
일 실시예에 따라 제2 전자 장치(220)는 수신된 인증서 체인의 제2 인증서(420)에 표기된 발행인인 제1 인증서(410)의 공개 키로 제2 인증서(420)의 서명이 유효한지 검증(verification)할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 수신된 인증서 체인의 제3 인증서(430)에 표기된 발행인인 제2 인증서(420)의 공개 키로 제3 인증서(430)의 서명이 유효한지 검증할 수 있다.According to an embodiment, the second
일 실시예에 따라 제2 전자 장치(220)는 제3 인증서(430)의 유효성 검증까지 완료됨에 따라 제3 인증서(430)에 포함된 챌린지 값(433)이 제2 전자 장치(220)가 제1 전자 장치(210)에게 전송한 챌린지 값과 동일한지 확인할 수 있다.According to an embodiment, as the validation of the
일 실시예에 따라 제2 전자 장치(220)는 제3 인증서(430)에 제1 전자 장치의 고유의 식별자(432)가 포함되어 있고 제2 전자 장치(220)의 메모리에 신뢰할 수 있는 기기(예: 연결 이력이 있는 기기 등)의 식별자가 저장되어 있는 경우 제3 인증서(430)에 포함된 고유의 식별자(432)를 확인하여 신뢰할 수 있는 기기로부터 전달된 인증서 체인인지 여부를 확인할 수 있다. According to an embodiment, the second
일 실시예에 따라 인증서 체인의 유효성이 검증됨에 따라 동작 306에서 제2 전자 장치(220)는 인증서 체인을 보안 메모리(예: 도 2의 제2 보안 메모리(224))에 저장하고 제2 전자 장치(220)의 보안 기능을 활성화할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 이후의 보안 기능 비활성화 요청 및/또는 장치 초기화 요청을 사용자로부터 수신하는 경우 검증 과정에서 사용하기 위해 유효성이 인증된 인증서 체인을 보안 메모리에 저장할 수 있다. According to an embodiment, as the validity of the certificate chain is verified, in operation 306, the second
또한 일 실시예에 따라 제2 전자 장치(220)는 제3 인증서(430)에 포함된 제1 전자 장치(210)의 고유의 식별자(432)를 신뢰할 수 있는 기기로 제2 전자 장치(220)에 등록할 수 있다. 제2 전자 장치(220)에 제1 전자 장치(210)의 고유의 식별자(432)가 신뢰할 수 있는 기기로 이미 등록되어 있는 경우 기기 식별자의 등록 동작은 생략될 수 있다.Also, according to an embodiment, the second
이하, 도 5를 참조하여, 본 개시의 일 실시예에 따른 제1 전자 장치(210)에서 보안 기능 활성와 요청 입력이 수신되는 경우의 전자 장치들의 동작에 대하여 설명한다. 현재 제2 전자 장치(220)는 보안 기능이 비활성화되어 있는 상태임을 가정한다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다. Hereinafter, with reference to FIG. 5 , operations of electronic devices when a security function activation and a request input are received in the first
도 5는 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.5 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
도 5를 참조하면, 동작 501에서 제1 전자 장치(210) (예: 도 2의 제1 전자 장치(210)의 제1 프로세서 (215))는 사용자로부터 제2 전자 장치(220)의 보안 기능을 활성화할 것을 요청하는 입력을 수신할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 보안 기능의 메뉴를 활성화하는 사용자의 입력을 통하여 보안 기능의 활성화하는 요청이 있음을 식별할 수 있다.Referring to FIG. 5 , in operation 501, the first electronic device 210 (eg, the first processor 215 of the first
동작 502에서 제1 전자 장치(210)는 보안 기능 활성화 요청의 대상인, 연결되어 있는 제2 전자 장치(220)에게 보안 기능 활성화 요청이 있음을 전달할 수 있다. 예를 들어, 제1 전자 장치(210)는 제2 전자 장치(220)에게 보안 기능 활성화 요청 메시지를 전송할 수 있다.In operation 502, the first
동작 503에서 제2 전자 장치(220) (예: 도 2의 제2 전자 장치(220)의 제2 프로세서 (225))는 보안 기능 활성화 요청에 대한 사용자의 확인을 수신할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제2 전자 장치(220)의 보안 기능의 활성화 요청을 제2 전자 장치(200)의 디스플레이 장치에 표시할 수 있고, 이에 대한 사용자의 확인(승인) 입력을 수신할 수 있다.In operation 503, the second electronic device 220 (eg, the
동작 504에서 제2 전자 장치(220)는 연결되어 있는 제1 전자 장치(210)에게 인증서 체인을 요청할 수 있다. 제2 전자 장치(220)는 제1 전자 장치(210)에게 인증서 체인 요청과 챌린지 값을 함께 전달할 수 있다.In operation 504, the second
동작 505에서 제1 전자 장치(210)은, 제2 전자 장치(220)로부터 인증서 체인 요청을 수신함에 따라 인증서 체인을 생성할 수 있다. 일 실시예에 따라 제1 전자 장치(210)가 인증서 체인을 형성하는 동작은 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 어플리케이션 인증서(제3 인증서) 및 어플리케이션 키(제3 인증 키)를 생성하고, 보안 메모리에 저장된 고유 인증 키(제2 인증 키)로 어플리케이션 인증서를 서명함으로써 루트 인증서(제1 인증서), 고유 인증 키 인증서(제2 인증서) 및 어플리케이션 인증서(제3 인증서)를 포함하는 인증서 체인을 형성할 수 있다. 일 실시예에 따라 어플리케이션 인증서(제3 인증서)는 제2 전자 장치(220)로부터 수신한 챌린지 값 및 제1 전자 장치(210)의 고유의 실별자가 포함될 수 있다.In operation 505, the first
동작 505에서 제1 전자 장치(210)는 생성된 인증서 체인을 제2 전자 장치(220)에게 전달할 수 있다.In operation 505, the first
동작 507에서 제2 전자 장치(220)는 수신된 인증서 체인의 유효성을 검증할 수 있다. In
일 실시예에 따라 제2 전자 장치(220)가 인증서 체인의 유효성을 검증하는 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제1 인증서에 포함된 공개 키로 제2 인증서의 유효성을 검증하고 제2 인증서에 포함된 공개 키로 제3 인즐서의 유효성을 검증할 수 있다. 제2 전자 장치(220)는 인증서의 유효성 검증을 완료한 후 제3 인증서에 포함된 챌린지 값 및 제2 전자 장치(210)의 고유의 식별자를 확인할 수 있다. According to an embodiment, the verification of the validity of the certificate chain by the second
일 실시예에 따라 인증서 체인의 유효성 검증을 완료함에 따라 동작 506에서 제2 전자 장치(220)는 인증서 체인을 보안 메모리(예: 도 2의 제2 보안 메모리(224))에 저장하고 제2 전자 장치(220)의 보안 기능을 활성화할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 이후의 보안 기능 비활성화 요청 및/또는 장치 초기화 요청을 사용자로부터 수신하는 경우 검증 과정에서 사용하기 위해 유효성이 인증된 인증서 체인을 보안 메모리에 저장할 수 있다. According to an embodiment, upon completion of validation of the certificate chain, in operation 506, the second
또한 일 실시예에 따라 제2 전자 장치(220)는 제3 인증서(430)에 포함된 제1 전자 장치(210)의 고유의 식별자를 신뢰할 수 있는 기기로 제2 전자 장치(220)에 등록할 수 있다. 제2 전자 장치(220)에 제1 전자 장치(210)의 고유의 식별자가 신뢰할 수 있는 기기로 이미 등록되어 있는 경우 기기 식별자의 등록 동작은 생략될 수 있다.Also, according to an embodiment, the second
이하, 도 6을 참조하여, 본 개시의 일 실시예에 따른 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 보안 기능 비활성와 요청 입력이 수신되는 경우의 전자 장치들의 동작에 대하여 설명한다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다. Hereinafter, with reference to FIG. 6 , operations of electronic devices when a security function inactivation and a request input are received while the security function of the second
도 6은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.6 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
도 6을 참조하면, 동작 601에서 제2 전자 장치(220) (예: 도 2의 제2 전자 장치(220)의 제2 프로세서 (225))는 사용자로부터 제2 전자 장치(220)의 보안 기능을 비활성화할 것을 요청하는 입력을 수신할 수 있다. 도 6에서는 제2 전자 장치(220)가 제2 전자 장치(220)의 보안 기능을 비활성화하는 요청을 수신하는 것으로 도시하였으나, 앞서 설명한 도 5에서와 같이 제1 전자 장치(220)가 제2 전자 장치(220)의 보안 기능을 비활성화하는 요청을 수신하여 제2 전자 장치(220)에게 전달할 수도 있다. Referring to FIG. 6 , in operation 601, the second electronic device 220 (eg, the
동작 602에서 제2 전자 장치(220)는 연결되어 있는 제1 전자 장치(210)에게 인증서 체인을 요청할 수 있다. 제2 전자 장치(220)는 제1 전자 장치(210)에게 인증서 체인 요청과 챌린지 값을 함께 전달할 수 있다.In operation 602, the second
동작 603에서 제1 전자 장치(210) (예: 도 2의 제1 전자 장치(210)의 제1 프로세서 (215))은, 제2 전자 장치(220)로부터 인증서 체인 요청을 수신함에 따라 인증서 체인을 생성할 수 있다. 일 실시예에 따라 제1 전자 장치(210)가 인증서 체인을 형성하는 동작은 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 어플리케이션 인증서(제3 인증서) 및 어플리케이션 키(제3 인증 키)를 생성하고, 보안 메모리에 저장된 고유 인증 키(제2 인증 키)로 어플리케이션 인증서를 서명함으로써 루트 인증서(제1 인증서), 고유 인증 키 인증서(제2 인증서) 및 어플리케이션 인증서(제3 인증서)를 포함하는 인증서 체인을 형성할 수 있다. 일 실시예에 따라 어플리케이션 인증서(제3 인증서)는 제2 전자 장치(220)로부터 수신한 챌린지 값 및 제1 전자 장치(210)의 고유의 실별자가 포함될 수 있다.In operation 603, the first electronic device 210 (eg, the first processor 215 of the first
동작 604에서 제1 전자 장치(210)는 생성된 인증서 체인을 제2 전자 장치(220)에게 전달할 수 있다.In operation 604, the first
동작 605에서 제2 전자 장치(220)는 수신된 인증서 체인의 유효성을 검증할 수 있다. 일 실시예에 따라 제2 전자 장치(220)가 인증서 체인의 유효성을 검증하는 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제1 인증서에 포함된 공개 키로 제2 인증서의 유효성을 검증하고 제2 인증서에 포함된 공개 키로 제3 인즐서의 유효성을 검증할 수 있다. In operation 605, the second
일 실시예에 따라 제2 전자 장치(220)는 인증서의 유효성 검증을 완료한 후 제3 인증서에 포함된 챌린지 값이, 제2 전자 장치(220)가 제1 전자 장치(210)에게 전달한 챌린지 값과 동일한지 판단할 수 있다.According to an embodiment, after the second
또한 일 실시예에 따라 제2 전자 장치(220)는 제3 인증서에 포함된 제1 전자 장치(210)의 고유의 식별자가 제2 전자 장치(220)의 보안 메모리(예: 도 2의 제2 보안 메모리(224))에 저장된 식별자와 동일한지 판단할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 보안 메모리에는 신뢰할 수 있는 기기로써 적어도 하나의 전자 장치의 식별자가 저장되어 있을 수 있다. Also, according to an embodiment, the second
일 실시예에 따라 제2 전자 장치(220)의 보안 메모리에 저장된 식별자는 제2 전자 장치(220)의 보안 기능을 활성화하는 동작에서 저장된 것일 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제2 전자 장치(220)의 보안 기능을 활성화하는 동작에서, 제1 전자 장치(210)로부터 수신하고 유효성을 검증한 인증서 체인에 포함된 식별자를 보안 메모리에 저장했을 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 보안 기능을 비활성화하는 과정에서 수신한 인증서 체인에 포함된 전자 장치의 식별자와 보안 기능을 활성화하는 과정에서 수신한 인증서 체인에 포함된 전자 장치의 식별자가 동일한지 판단함으로써, 현재 보안 기능의 비활성화를 수행하고자하는 제2 전자 장치(220)가, 보안 기능 활성화 당시 연결되었던 제1 전자 장치(210)와 동일한 전자 장치에 연결되어 있음을 확인할 수 있다.According to an embodiment, the identifier stored in the secure memory of the second
일 실시예에 따라 제2 전자 장치(220)는 인증서 체인의 유효성, 챌린지 값의 동일성, 전자 장치 식별자의 동일성을 확인함에 따라, 현재 보안 기능의 비활성화를 수행하고자하는 제2 전자 장치(220)의 사용자가 보안 기능 활성화 당시 제2 전자 장치(220)의 사용자와 동일한 사용자(실질적으로 동일한 사용자 뿐만 아니라 실질적으로 동일하지 않아도 정당한 권한이 있는 사용자)임을 확인할 수 있다. According to an embodiment, the second
반대로, 예를 들어, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태로 제2 전자 장치(220)가 도난, 분실 등으로 정당한 권한이 없는 사용자에게 귀속된 경우, 정당한 권한이 없는 사용자가 제2 전자 장치(220)의 보안 기능의 비활성화를 시도 시, (제1 전자 장치(210)가 아닌)타 전자 장치로부터 인증서 체인을 수신하게되고, 제2 전자 장치(220)는 인증서 체인에 포함된 전자 장치 식별자가 제2 전자 장치(220)에 저장된 전자 장치 식별자와 상이하다고 판단할 수 있다. 이에 따라 제2 전자 장치(220)는 수신된 인증서 체인의 유효하지 않다고 판단하고 제2 전자 장치(220)의 사용자가 정당한 권한이 없는 사용자라고 판단할 수 있다.Conversely, for example, when the second
동작 605에서 제1 전자 장치(210)로부터 수신한 인증서 체인이 유효하다고 검증된 경우 동작 606에서 제2 전자 장치(220)는, 보안 기능을 비활성화하고 제2 전자 장치(220)의 보안 메모리에 저장되어 있는 인증서 체인을 삭제할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 소유자는 자의로 제2 전자 장치(220)의 소유권을 이전하기 전에 제2 전자 장치(220)의 보안 기능을 비활성화함으로써, 제2 전자 장치(220)의 기기 초기화를 가능하게 하고, 새로운 정당한 소유자가 자신의 전자 장치와의 관계에서 제2 전자 장치(220)의 보안 기능 설정이 가능하도록 할 수 있다.When the certificate chain received from the first
일 실시예에 따라 도 6에서는, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 보안 기능 비활성와 요청 입력이 수신되는 경우에 대하여 설명하였으나, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 제2 전자 장치(220)의 제1 전자 장치(210)와의 연결을 해제하는 요청 입력이 수신되는 경우에도 도 6과 동일한 프로세스로 동작될 수 있다. 예를 들어, 제2 전자 장치(220)의 제1 전자 장치(210)와의 연결을 해제하는 요청 입력이 수신되면, 제2 전자 장치(220)는 제1 전자 장치(210)에게 인증서 체인을 요청하고, 제1 전자 장치(210)는 인증서 체인을 생성하여 제2 전자 장치(220)에게 전달하며, 제2 전자 장치(220)는 인증서 체인의 유효성을 검증한 후, 유효성이 검증된 경우에만 제1 전자 장치(210)와의 연결을 해제할 수 있다.In FIG. 6 according to an embodiment, the case where the security function inactivation and the request input are received while the security function of the second
또한 일 실시예에 따라 도 6에서는, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 보안 기능 비활성와 요청 입력이 수신되는 경우에 대하여 설명하였으나, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 제2 전자 장치(220)를 호스트 장치에게 연결하도록하는 요청 입력이 수신되는 경우에도 도 6과 동일한 프로세스로 동작될 수 있다. 예를 들어, 제2 전자 장치(220)를 호스트 장치에게 연결하도록 하는 요청 입력이 수신되면, 제2 전자 장치(220)는 호스트 장치에게 인증서 체인을 요청하고, 호스트 장치는 인증서 체인을 생성하여 제2 전자 장치(220)에게 전달하며, 제2 전자 장치(220)는 인증서 체인의 유효성을 검증한 후, 제2 전자 장치(220)에 저장된 장치 식별자와 인증서 체인의 장치 식별자를 비교하여 저장된 장치 식별자와 상이한 경우 호스트 장치와의 연결을 불허할 수 있다. 또는 호스트 장치가 인증서 체인 기능을 제공하지 않는 장치인 경우 제2 전자 장치(220)는 인증서 체인 요청에 대한 응답을 수신하지 못하므로 역시 호스트 장치와의 연결을 불허할 수 있다. In addition, according to an embodiment, in FIG. 6 , the case where the security function inactivation and the request input are received while the security function of the second
이하, 도 7을 참조하여, 본 개시의 일 실시예에 따른 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태에서 기기 초기화 요청 입력이 수신되는 경우의 전자 장치들의 동작에 대하여 설명한다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다. Hereinafter, with reference to FIG. 7 , operations of electronic devices when a device initialization request input is received in a state in which the security function of the second
도 7은 일 실시예에 따른 전자 장치들의 동작을 나타낸 흐름도다.7 is a flowchart illustrating operations of electronic devices according to an exemplary embodiment.
도 7을 참조하면, 동작 701에서 제2 전자 장치(220) (예: 도 2의 제2 전자 장치(220)의 제2 프로세서 (225))는 사용자로부터 제2 전자 장치(220)의 기기 초기화를 요청하는 입력을 수신할 수 있다. 일 실시예에 따라 기기 초기화란, 공장 출하 이후에 기기에 저장된 정보를 모두 삭제하여 공장 출하 상태로 소프트웨어를 초기화하는 것을 의미할 수 있으며, 공장 초기화, 하드 리셋 또는 마스터 리셋으로도 칭해질 수 있다. Referring to FIG. 7 , in
동작 702에서 제2 전자 장치(220)는 연결되어 있는 제1 전자 장치(210)에게 인증서 체인을 요청할 수 있다. 제2 전자 장치(220)는 제1 전자 장치(210)에게 인증서 체인 요청과 챌린지 값을 함께 전달할 수 있다.In operation 702, the second
동작 703에서 제1 전자 장치(210)( 예: 도 2의 제1 전자 장치(210)의 제1 프로세서 (215))은, 제2 전자 장치(220)로부터 인증서 체인 요청을 수신함에 따라, 제2 전자 장치(220)의 기기 초기화 동의 입력 수신을 위한 사용자 인터페이스(UI, User Interface)를 제1 전자 장치(210)의 디스플레이 장치에 표시할 수 있다.In operation 703, the first electronic device 210 (eg, the first processor 215 of the first
동작 704에서 제1 전자 장치(210)는 UI를 통하여 제2 전자 장치(220)의 기기 초기화에 동의하는 입력을 수신함에 따라 인증서 체인을 생성할 수 있다. 일 실시예에 따라 제1 전자 장치(210)가 인증서 체인을 형성하는 동작은 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제1 전자 장치(210)는 어플리케이션 인증서(제3 인증서) 및 어플리케이션 키(제3 인증 키)를 생성하고, 보안 메모리에 저장된 고유 인증 키(제2 인증 키)로 어플리케이션 인증서를 서명함으로써 루트 인증서(제1 인증서), 고유 인증 키 인증서(제2 인증서) 및 어플리케이션 인증서(제3 인증서)를 포함하는 인증서 체인을 형성할 수 있다. 일 실시예에 따라 어플리케이션 인증서(제3 인증서)는 제2 전자 장치(220)로부터 수신한 챌린지 값 및 제1 전자 장치(210)의 고유의 실별자가 포함될 수 있다.In operation 704, the first
동작 705에서 제1 전자 장치(210)는 생성된 인증서 체인을 제2 전자 장치(220)에게 전달할 수 있다.In operation 705 , the first
동작 706에서 제2 전자 장치(220)는 수신된 인증서 체인의 유효성을 검증할 수 있다. 일 실시예에 따라 제2 전자 장치(220)가 인증서 체인의 유효성을 검증하는 앞서 도 3 및 도 4를 참조하여 설명한 내용과 동일 할 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제1 인증서에 포함된 공개 키로 제2 인증서의 유효성을 검증하고 제2 인증서에 포함된 공개 키로 제3 인즐서의 유효성을 검증할 수 있다. In
일 실시예에 따라 제2 전자 장치(220)는 인증서의 유효성 검증을 완료한 후 제3 인증서에 포함된 챌린지 값이, 제2 전자 장치(220)가 제1 전자 장치(210)에게 전달한 챌린지 값과 동일한지 판단할 수 있다.According to an embodiment, after the second
또한 일 실시예에 따라 제2 전자 장치(220)는 제3 인증서에 포함된 제1 전자 장치(210)의 고유의 식별자가 제2 전자 장치(220)의 보안 메모리(예: 도 2의 제2 보안 메모리(224))에 저장된 식별자와 동일한지 판단할 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 보안 메모리에는 신뢰할 수 있는 기기로써 적어도 하나의 전자 장치의 식별자가 저장되어 있을 수 있다. Also, according to an embodiment, the second
일 실시예에 따라 제2 전자 장치(220)의 보안 메모리에 저장된 식별자는 제2 전자 장치(220)의 보안 기능을 활성화하는 동작에서 저장된 것일 수 있다. 일 실시예에 따라 제2 전자 장치(220)는 제2 전자 장치(220)의 보안 기능을 활성화하는 동작에서, 제1 전자 장치(210)로부터 수신하고 유효성을 검증한 인증서 체인에 포함된 식별자를 보안 메모리에 저장했을 수 있다. 일 실시예에 따라 제2 전자 장치(220)의 기기 초기화를 수행하는 과정에서 수신한 인증서 체인에 포함된 전자 장치의 식별자와 보안 기능을 활성화하는 과정에서 수신한 인증서 체인에 포함된 전자 장치의 식별자가 동일한지 판단함으로써, 현재 기기 초기화를 수행하고자하는 제2 전자 장치(220)가, 보안 기능 활성화 당시 연결되었던 제1 전자 장치(210)와 동일한 전자 장치에 연결되어 있음을 확인할 수 있다.According to an embodiment, the identifier stored in the secure memory of the second
일 실시예에 따라 제2 전자 장치(220)는 인증서 체인의 유효성, 챌린지 값의 동일성, 전자 장치 식별자의 동일성을 확인함에 따라, 현재 제2 전자 장치(220)의 기기 초기화를 수행하고자하는 제2 전자 장치(220)의 사용자가 보안 기능 활성화 당시 제2 전자 장치(220)의 사용자와 동일한 사용자(실질적으로 동일한 사용자 뿐만 아니라 실질적으로 동일하지 않아도 정당한 권한이 있는 사용자)임을 확인할 수 있다. According to an embodiment, the second
반대로, 예를 들어, 제2 전자 장치(220)의 보안 기능이 활성화되어 있는 상태로 제2 전자 장치(220)가 도난, 분실과 같이 정당한 권한이 없는 사용자에게 귀속된 경우, 정당한 권한이 없는 사용자가 제2 전자 장치(220)의 기기 초기화를 시도 시, (제1 전자 장치(210)가 아닌)타 전자 장치로부터 인증서 체인을 수신하게되고, 제2 전자 장치(220)는 인증서 체인에 포함된 전자 장치 식별자가 제2 전자 장치(220)에 저장된 전자 장치 식별자와 상이하다고 판단할 수 있다. 이에 따라 제2 전자 장치(220)는 수신된 인증서 체인의 유효하지 않다고 판단하고 제2 전자 장치(220)의 현재 사용자가 정당한 권한이 없는 사용자라고 판단하여 기기 초기화를 수행하지 않을 수 있다.Conversely, for example, when the security function of the second
동작 706에서 제1 전자 장치(210)로부터 수신한 인증서 체인이 유효하다고 검증된 경우 동작 707에서 제2 전자 장치(220)는, 제2 전자 장치(220)의 기기 초기화를 진행할 수 있다.When the certificate chain received from the first
일 실시예에 따라 제2 전자 장치(220)의 소유자는 자의로 제2 전자 장치(220)의 소유권을 이전하기 전에 도 7의 프로세스에 따라 제2 전자 장치(220)의 기기 초기화를 진행할 수 있다.According to an embodiment, the owner of the second
반대로 제2 전자 장치(220)의 정당하지 않은 소유자가 기기 초기화를 진행하는 경우, 제2 전자 장치(220)에 등록된 제1 전자 장치(210)와의 연결이 끊어진 상태라면 인증서 체인을 받아올 수 없기 때문에 인증서 확인 절차가 수행되지 않아 초기화 기능이 정상적으로 실행되지 않도록 할 수 있으며, 등록된 제1 전자 장치(210)가 아닌 다른 기기로부터 인증서가 전달되는 비정상적인 경우이더라도 제2 전자 장치(220)는 인증서 검증 과정을 통해 유효한 인증서가 아님을 판별할 수 있으므로 유효한 인증서가 아니라고 판단됨에 따라 기기 초기화 명령을 수행하지 않도록 할 수 있다.Conversely, when an unauthorized owner of the second
이하, 도 8을 참조하여, 본 개시의 일 실시예에 따른 제1 전자 장치(예: 도 2의 제1 전자 장치(210))의 동작에 대하여 설명한다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다.Hereinafter, an operation of the first electronic device (eg, the first
도 8은 일 실시예에 따른 제1 전자 장치의 동작을 나타낸 흐름도이다. 도 8의 동작은 제1 전자 장치의 제1 프로세서(예: 도 2의 제1 프로세서(215))에 의하여 수행될 수 있다.8 is a flowchart illustrating an operation of a first electronic device according to an embodiment. The operation of FIG. 8 may be performed by a first processor (eg, the first processor 215 of FIG. 2 ) of the first electronic device.
도 8을 참조하면, 제1 전자 장치 또는 제2 전자 장치(예: 도 2의 제2 전자 장치(220))는 사용자로부터 보안 기능의 활성화를 요청하는 입력을 수신할 수 있고, 보안 기능의 활성화를 요청하는 입력을 식별함에 따라, 제2 전자 장치의 제2 프로세서(예: 도 2의 제2 프로세서(225))는 제1 전자 장치의 제1 프로세서에게 인증서 체인 요청을 전송할 수 있다. Referring to FIG. 8 , the first electronic device or the second electronic device (eg, the second
일 실시예에 따라 동작 801에서 제1 전자 장치의 제1 프로세서는 제2 전자 장치로부터 인증서 체인 요청을 수신할 수 있다. 제1 전자 장치의 제1 프로세서는 인증서 체인 요청(예: 요청 메시지)과 챌린지 값을 함께 수신할 수 있다. According to an embodiment, in
일 실시예에 따라 동작 803에서 제1 전자 장치의 제1 프로세서는, 제2 전자 장치로부터 인증서 체인 요청을 수신함에 따라 인증서 체인을 생성할 수 있다. 제1 전자 장치가 인즈서 체인을 형성하는 방법은 앞서 도 4를 참조하여 설명한 내용과 동일할 수 있으며, 이에 대한 설명은 생략한다.According to an embodiment, in
동작 805에서 제1 전자 장치의 제1 프로세서는 생성된 인증서 체인을 제2 전자 장치에게 전송할 수 있다.In
이하, 도 9를 참조하여, 본 개시의 일 실시예에 따른 제2 전자 장치(예: 도 2의 제2 전자 장치(220))의 동작에 대하여 설명한다. 앞서 설명한 실시예와 동일한 구성에 대한 설명은 생략될 수 있다.Hereinafter, an operation of the second electronic device (eg, the second
도 9는 일 실시예에 따른 제2 전자 장치의 동작을 나타낸 흐름도이다. 도 9의 동작은 제2 전자 장치의 제2 프로세서(예: 도 2의 제2 프로세서(225))에 의하여 수행될 수 있다.9 is a flowchart illustrating an operation of a second electronic device according to an embodiment. The operation of FIG. 9 may be performed by a second processor (eg, the
도 9를 참조하면, 동작 901에서 제2 전자 장치의 제2 프로세서는 보안 기능의 활성화를 요청하는 사용자 입력을 수신할 수 있다. 제2 전자 장치의 제2 프로세서는 보안 기능의 활성화를 요청하는 사용자 입력을 제2 전자 장치를 통하여 직접 수신할 수도 있고 제1 전자 장치를 통하여 전달받을 수도 있다. Referring to FIG. 9 , in
일 실시예에 따라 동작 903에서, 제2 전자 장치의 제2 프로세서는 보안 기능의 활성화를 요청하는 입력을 식별함에 따라 제1 전자 장치의 제1 프로세서에게 인증서 체인 요청을 전송할 수 있다. 제2 전자 장치의 제2 프로세서는 인증서 체인 요청(예: 요청 메시지)과 챌린지 값을 함께 전송할 수 있다. According to an embodiment, in
일 실시예에 따라 동작 905에서, 제2 전자 장치의 제2 프로세서는 인증서 체인이 수신되었는지 판단할 수 있다. 제2 전자 장치의 제2 프로세서는 인증서 체인이 수신되지 않았다고 판단함에 따라 프로세스를 종료할 수 있다. 제2 전자 장치의 제2 프로세서는 인증서 체인이 수신되었다고 판단함에 따라 동작 907로 이동할 수 있다.According to an embodiment, in
일 실시예에 따라 동작 907에서, 제2 전자 장치의 제2 프로세서는 수신된 인증서 체인의 유효성을 검증할 수 있다. 일 실시예에 따라 제2 전자 장치의 제2 프로세서가 인증서 체인의 유효성을 검증하는 방법은 앞서 도 3을 참조하여 설명한 내용과 동일할 수 있으며, 이에 대한 설명은 생략한다.According to an embodiment, in
일 실시예에 따라 제2 전자 장치의 제2 프로세서가 인증서 체인이 유효하다고 판단함에 따라, 동작 909에서 제2 전자 장치의 제2 프로세서는 인증서 체인 및 제1 전자 장치의 고유의 식별자를 신뢰할 수 있는 기기로 보안 메모리(예: 도 2의 제2 보안 메모리(224))에 저장하고 제2 전자 장치의 보안 기능을 활성화할 수 있다. According to an embodiment, when the second processor of the second electronic device determines that the certificate chain is valid, in
일 실시예에 따라 제2 전자 장치의 제2 프로세서가 인증서 체인이 유효하지 않다고 판단함에 따라, 동작 911에서 제2 전자 장치의 제2 프로세서는 인증서 체인을 폐기하고 제2 전자 장치의 보안 기능의 비활성화 상태를 유지할 수 있다.According to an embodiment, when the second processor of the second electronic device determines that the certificate chain is invalid, in
본 개시의 일 실시예에 따른 웨어러블 장치는, 보안 기능을 활성화하면서 호스트 장치의 인증서 체인 및 고유 식별자를 저장하고, 웨어러블 장치의 기기 초기화, 호스트 장치와의 연결 해제, 및/또는 웨어러블 장치의 보안 기능 비활성화의 요청이 있는 경우에, 해당 요청을 요청한 사용자가 제2 전자 장치(220)의 정당한 소유자가 맞는지, 보안 기능 활성화 당시 검증 과정을 거쳤던 호스트 장치와 동일한 호스트 장치에 연결되어있는지의 관점에서 검증 단계를 거치도록하여, 웨어러블 장치의 무단 사용을 방지하고 도난 등의 상황에서 웨어러블 장치의 보안을 유지할 수 있다. A wearable device according to an embodiment of the present disclosure stores a certificate chain and a unique identifier of a host device while activating a security function, device initialization of the wearable device, disconnection from the host device, and/or security function of the wearable device. When there is a request for deactivation, a verification step in terms of whether the user requesting the request is the rightful owner of the second
본 개시의 일 실시예에 따른 호스트 장치는, 보안 기능의 활성화/비활성화, 기기 연결/기기 연결 해제, 기기 초기화에 대한 사용자의 요청에 따라 웨어러블 장치로부터 인증서 체인 요청이 수신되는 경우, 호스트 장치의 제조시부터 호스트 장치에 저장된 고유 인증 키 및 고유 인증 키 인증서를 사용하여 인증서 체인을 생성하여 웨어러블 장치에 제공하므로써 웨어러블 장치에게 보안 기능을 제공할 수 있다. When a certificate chain request is received from a wearable device according to a user's request for activation/deactivation of a security function, device connection/device disconnection, and device initialization, the host device according to an embodiment of the present disclosure performs manufacturing of the host device. A security function may be provided to the wearable device by generating a certificate chain using a unique authentication key and a unique authentication key certificate stored in the host device from time to time and providing the certificate chain to the wearable device.
본 개시의 일 실시예에 따른 웨어러블 장치 및 호스트 장치는, 웨어러블 장치가 네트워크 통신 기능 및 UICC가 지원되지 않는 장치이거나 계정 인증 방식이 지원되지 않는 장치이더라도, 웨어러블 장치와 호스트 장치 간의 통신만으로 인증서 체인을 검증하는 과정을 거치도록하여 높은 보안 수준이 요구되는 동작이 요청된 경우 요청된 동작이 유효한지 여부를 판단하도록하는 보안 기능을 제공할 수 있다. 이로 인하여 웨어러블 장치가 분실 되더라도 타인의 의도적인 기기 초기화를 방지할 수 있으며, 연결 상태 해제 및 다른 호스트 장치와의 무단 연결 사용을 방지하는 효과가 있다.A wearable device and a host device according to an embodiment of the present disclosure, even if the wearable device is a device that does not support a network communication function and a UICC or a device that does not support an account authentication method, establishes a certificate chain only through communication between the wearable device and the host device. When an operation requiring a high security level is requested by going through a verification process, a security function for determining whether the requested operation is valid may be provided. As a result, even if the wearable device is lost, it is possible to prevent others from intentionally initializing the device, and there is an effect of preventing disconnection of the connection state and unauthorized use of connection with other host devices.
본 문서에 개시되는 일 실시 예에 따른 제1 전자 장치는, 제2 전자 장치와 통신을 위한 무선 통신 회로, 상기 무선 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 무선 통신 회로를 통해 상기 제2 전자 장치로부터 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 수신하고, 상기 보안 기능은 상기 제2 전자 장치에 대하여 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우 상기 제2 전자 장치가 상기 인증서 체인의 검증 과정을 수행하도록 하는 기능이며, 상기 챌린지 값 및 상기 제1 전자 장치의 고유의 식별자(unique ID)를 포함하는 상기 인증서 체인을 형성하여 상기 무선 통신 회로를 통해 상기 제2 전자 장치로 전송하도록 하는 인스트럭션들을 저장할 수 있다. A first electronic device according to an embodiment disclosed herein includes a wireless communication circuit for communication with a second electronic device, a processor operatively connected to the wireless communication circuit, and a memory operatively connected to the processor. and the memory, when executed, when the processor receives a user input requesting activation of a security function through the first electronic device or the second electronic device, the second electronic device via the wireless communication circuit. When a certificate chain request including a challenge value is received from an electronic device, and there is a user request for an operation requesting security for the second electronic device, the security function determines the second electronic device. It is a function that causes a device to perform a verification process of the certificate chain, and forms the certificate chain including the challenge value and a unique identifier (unique ID) of the first electronic device to obtain the second electronic device through the wireless communication circuit. It may store instructions to be transmitted to the electronic device.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는 제1 보안 메모리를 포함하며, 상기 제1 보안 메모리에는 상기 제1 전자 장치의 고유의 인증 키(attestation key)인 제2 인증 키 및 상기 제2 인증 키의 페어(pair) 인증서인 제2 인증서가 저장될 수 있다.According to an embodiment disclosed in this document, the memory includes a first secure memory, and the first secure memory includes a second authentication key that is a unique authentication key of the first electronic device and the first secure memory. A second certificate that is a pair certificate of two authentication keys may be stored.
본 문서에 개시되는 일 실시 예에 따르면, 상기 제2 인증서는 상기 제1 전자 장치의 제조 과정에서 루트 키(root key)인 제1 인증 키로 서명되어 상기 제1 보안 메모리에 저장될 수 있다.According to an embodiment disclosed in this document, the second certificate may be signed with a first authentication key that is a root key during the manufacturing process of the first electronic device and stored in the first secure memory.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 인증서 체인 요청을 수신함에 따라, 제3 인증 키 및 상기 제3 인증 키의 페어 인증서인 제3 인증서를 형성하고, 상기 제3 인증서에 상기 챌린지 값 및 상기 제1 전자 장치의 상기 고유의 식별자를 포함시키며, 상기 제2 인증 키로 상기 제3 인증서를 서명(signature)함으로써 상기 인증서 체인을 형성하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory, upon execution, upon receiving the certificate chain request, forms a third authentication key and a third certificate that is a pair certificate of the third authentication key, It may store instructions for including the challenge value and the unique identifier of the first electronic device in a third certificate and signing the third certificate with the second authentication key to form the certificate chain.
본 문서에 개시되는 일 실시 예에 따르면, 상기 보안을 요구하는 동작은, 상기 보안 기능의 활성화, 상기 보안 기능의 비활성화, 호스트 장치와의 연결, 호스트 장치와의 연결 해제, 및 소프트웨어 초기화 중 적어도 하나를 포함할 수 있다.According to an embodiment disclosed in this document, the operation of requesting security may include at least one of activating the security function, deactivating the security function, connecting to a host device, disconnecting from a host device, and initializing software. can include
본 문서에 개시되는 일 실시 예에 따르면, 상기 인증서 체인은, 상기 제1 인증 키의 페어 인증서인 제1 인증서, 상기 제1 인증서의 제1 공개 키(public key), 상기 제2 인증서, 상기 제2 인증서의 제2 공개 키, 및 상기 제3 인증서를 포함할 수 있다.According to an embodiment disclosed in this document, the certificate chain includes a first certificate that is a pair certificate of the first authentication key, a first public key of the first certificate, the second certificate, and the first certificate. It may include a second public key of 2 certificates, and the third certificate.
본 문서에 개시되는 일 실시 예에 따르면, 상기 인증서 체인의 상기 검증 과정은, 상기 제1 공개 키로 상기 제2 인증서의 유효성을 검증(verification)하고, 상기 제2 공개 키로 상기 제3 인증서의 유효성을 검증하는 과정을 포함할 수 있다.According to an embodiment disclosed in this document, in the verification process of the certificate chain, the validity of the second certificate is verified with the first public key, and the validity of the third certificate is verified with the second public key. A verification process may be included.
본 문서에 개시되는 일 실시 예에 따른 제2 전자 장치는, 제1 전자 장치와 통신을 위한 무선 통신 회로, 상기 무선 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리;를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 제1 전자 장치에게 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 전송하고, 상기 제1 전자 장치로부터 수신된 상기 인증서 체인의 유효성을 검증하며, 상기 인증서 체인의 유효성이 검증됨에 따라, 상기 인증서 체인 및 상기 인증서 체인에 포함된 상기 제1 전자 장치의 고유의 식별자를 상기 메모리의 제2 보안 메모리에 저장하고, 상기 보안 기능을 활성화하도록 하는 인스트럭션들을 저장할 수 있다.A second electronic device according to an embodiment disclosed in this document includes a wireless communication circuit for communication with a first electronic device, a processor operatively connected to the wireless communication circuit, and a memory operatively connected to the processor. and, when the memory is executed, when the processor receives a user input requesting activation of a security function through the first electronic device or the second electronic device, the memory provides a challenge value to the first electronic device. (challenge value) is transmitted, the validity of the certificate chain received from the first electronic device is verified, and as the validity of the certificate chain is verified, the certificate chain and the A unique identifier of the first electronic device included in the certificate chain may be stored in a second secure memory of the memory, and instructions for activating the security function may be stored.
본 문서에 개시되는 일 실시 예에 따르면, 상기 인증서 체인은, 상기 제1 전자 장치의 제조 과정에서 루트 키(root key)인 제1 인증 키로 서명된 제2 인증서, 상기 제1 인증 키의 페어 인증서인 제1 인증서, 및 상기 제2 인증서의 페어 인증 키이자 상기 제1 전자 장치의 고유의 인증 키(attestation key)인 제2 인증 키로 서명된 제3 인증서를 포함할 수 있다.According to an embodiment disclosed in this document, the certificate chain includes a second certificate signed with a first authentication key that is a root key in the manufacturing process of the first electronic device, and a pair certificate of the first authentication key. and a third certificate signed with a second authentication key that is a pair authentication key of the second certificate and a unique authentication key of the first electronic device.
본 문서에 개시되는 일 실시 예에 따르면, 상기 인증서 체인은, 상기 제1 인증서의 제1 공개 키(public key), 및 상기 제2 인증서의 제2 공개 키를 포함할 수 있다.According to an embodiment disclosed in this document, the certificate chain may include a first public key of the first certificate and a second public key of the second certificate.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 인증서 체인의 유효성을 검증하기 위해, 상기 제1 공개 키로 상기 제2 인증서의 유효성을 검증하고, 상기 제2 공개 키로 상기 제3 인증서의 유효성을 검증하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory, upon execution, verifies the validity of the second certificate with the first public key, and verifies the validity of the certificate chain with the second public key, in order to verify the validity of the certificate chain. Instructions for verifying the validity of the third certificate may be stored.
본 문서에 개시되는 일 실시 예에 따르면, 상기 제3 인증서는 상기 챌린지 값 및 상기 제1 전자 장치의 상기 고유의 식별자를 포함할 수 있다.According to an embodiment disclosed in this document, the third certificate may include the challenge value and the unique identifier of the first electronic device.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 인증서 체인의 유효성을 검증하기 위해, 상기 제3 인증서에 포함된 상기 챌린지 값 및 상기 인증서 체인 요청에 포함된 상기 챌린지 값이 동일한지 판단하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory stores the challenge value included in the third certificate and the challenge value included in the certificate chain request in order to verify the validity of the certificate chain upon execution. It is possible to store instructions for determining whether these are the same.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 보안 기능이 활성화된 상태에서 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우, 호스트 장치에게 인증서 체인 요청을 전송하도록하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory, upon execution, transmits a certificate chain request to a host device when there is a user request for an operation requiring security while the security function is activated. Instructions can be stored.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 공개 키로 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 인증서의 유효성을 검증하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, in order to verify the validity of the certificate chain received from the host device during execution, the memory uses a public key included in a certificate chain received from the host device. It can store instructions to verify the validity of the certificate included in the certificate chain received from .
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 챌린지 값 및 상기 호스트 장치에 대한 상기 인증서 체인 요청에 포함된 챌린지 값이 동일한지 판단하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory stores a challenge value included in a certificate chain received from the host device and the host device in order to verify the validity of the certificate chain received from the host device when executed. It may store instructions for determining whether the challenge values included in the certificate chain request to the device are the same.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 전자 장치 식별자와 상기 제2 보안 메모리에 저장된 상기 제1 전자 장치의 상기 고유의 식별자가 동일한지 판단하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory stores an electronic device identifier included in a certificate chain received from the host device and the electronic device identifier included in the certificate chain received from the host device in order to verify the validity of the certificate chain received from the host device during execution. Instructions for determining whether the unique identifiers of the first electronic device stored in the second secure memory are the same may be stored.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 전자 장치의 식별자와 상기 제1 전자 장치의 상기 고유의 식별자가 동일하다고 판단됨에 따라 상기 호스트 장치로부터 수신한 인증서 체인이 유효하다고 판단하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, when the memory determines that the identifier of the electronic device and the unique identifier of the first electronic device are identical, the certificate chain received from the host device is It is possible to store instructions that are determined to be valid.
본 문서에 개시되는 일 실시 예에 따르면, 상기 메모리는, 실행 시에, 상기 호스트 장치로부터 수신한 인증서 체인이 유효하다고 판단됨에 따라 상기 보안을 요구하는 동작을 수행하도록 하는 인스트럭션들을 저장할 수 있다.According to an embodiment disclosed in this document, the memory may store instructions that, when executed, perform an operation requiring the security when it is determined that the certificate chain received from the host device is valid.
본 문서에 개시되는 일 실시 예에 따르면, 상기 보안을 요구하는 동작은, 상기 보안 기능의 활성화, 상기 보안 기능의 비활성화, 상기 호스트 장치와의 연결, 상기 호스트 장치와의 연결 해제, 및 상기 제2 전자 장치의 소프트웨어 초기화 중 적어도 하나를 포함할 수 있다. According to an embodiment disclosed in this document, the operation of requesting security may include activation of the security function, deactivation of the security function, connection to the host device, disconnection from the host device, and the second It may include at least one of software initialization of the electronic device.
Claims (20)
제2 전자 장치와 통신을 위한 무선 통신 회로;
상기 무선 통신 회로와 작동적으로 연결된 프로세서; 및
상기 프로세서와 작동적으로 연결된 메모리;를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가:
상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 무선 통신 회로를 통해 상기 제2 전자 장치로부터 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 수신하고, 상기 보안 기능은 상기 제2 전자 장치에 대하여 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우 상기 제2 전자 장치가 상기 인증서 체인의 검증 과정을 수행하도록 하는 기능이며,
상기 챌린지 값 및 상기 제1 전자 장치의 고유의 식별자(unique ID)를 포함하는 상기 인증서 체인을 형성하여 상기 무선 통신 회로를 통해 상기 제2 전자 장치로 전송하도록 하는 인스트럭션들을 저장하는, 제1 전자 장치.In the first electronic device,
a wireless communication circuit for communicating with the second electronic device;
a processor operatively connected with the wireless communications circuitry; and
a memory operatively coupled with the processor;
The memory, when executed, causes the processor to:
A certificate chain including a challenge value from the second electronic device through the wireless communication circuit when a user input requesting activation of a security function is received through the first electronic device or the second electronic device (certificate chain) request, and the security function is a function of allowing the second electronic device to perform a verification process of the certificate chain when there is a user request for an operation requesting security for the second electronic device. ,
A first electronic device that stores instructions for forming the certificate chain including the challenge value and a unique identifier (unique ID) of the first electronic device and transmitting the certificate chain to the second electronic device through the wireless communication circuit. .
상기 메모리는 제1 보안 메모리를 포함하며, 상기 제1 보안 메모리에는 상기 제1 전자 장치의 고유의 인증 키(attestation key)인 제2 인증 키 및 상기 제2 인증 키의 페어(pair) 인증서인 제2 인증서가 저장된, 제1 전자 장치.The method of claim 1,
The memory includes a first secure memory, and the first secure memory includes a second authentication key that is a unique authentication key of the first electronic device and a pair certificate of the second authentication key. 2 A first electronic device in which a certificate is stored.
상기 제2 인증서는 상기 제1 전자 장치의 제조 과정에서 루트 키(root key)인 제1 인증 키로 서명되어 상기 제1 보안 메모리에 저장된, 제1 전자 장치.The method of claim 2,
The second certificate is signed with a first authentication key that is a root key during the manufacturing process of the first electronic device and stored in the first secure memory.
상기 인증서 체인 요청을 수신함에 따라, 제3 인증 키 및 상기 제3 인증 키의 페어 인증서인 제3 인증서를 형성하고,
상기 제3 인증서에 상기 챌린지 값 및 상기 제1 전자 장치의 상기 고유의 식별자를 포함시키며,
상기 제2 인증 키로 상기 제3 인증서를 서명(signature)함으로써 상기 인증서 체인을 형성하도록 하는 인스트럭션들을 저장하는, 제1 전자 장치.The method according to claim 3, wherein the memory, at the time of execution,
Upon receiving the certificate chain request, forming a third authentication key and a third certificate that is a pair certificate of the third authentication key;
Include the challenge value and the unique identifier of the first electronic device in the third certificate;
and storing instructions for forming the certificate chain by signing the third certificate with the second authentication key.
상기 보안을 요구하는 동작은, 상기 보안 기능의 활성화, 상기 보안 기능의 비활성화, 호스트 장치와의 연결, 호스트 장치와의 연결 해제, 및 소프트웨어 초기화 중 적어도 하나를 포함하는, 제1 전자 장치.The method of claim 4,
The operation for requesting security includes at least one of activating the security function, deactivating the security function, connecting to a host device, disconnecting from a host device, and initializing software.
상기 인증서 체인은, 상기 제1 인증 키의 페어 인증서인 제1 인증서, 상기 제1 인증서의 제1 공개 키(public key), 상기 제2 인증서, 상기 제2 인증서의 제2 공개 키, 및 상기 제3 인증서를 포함하는, 제1 전자 장치.The method of claim 4,
The certificate chain includes a first certificate that is a pair certificate of the first authentication key, a first public key of the first certificate, the second certificate, a second public key of the second certificate, and the second certificate. 3 A first electronic device including certificates.
상기 인증서 체인의 상기 검증 과정은, 상기 제1 공개 키로 상기 제2 인증서의 유효성을 검증(verification)하고, 상기 제2 공개 키로 상기 제3 인증서의 유효성을 검증하는 과정을 포함하는, 제1 전자 장치.The method of claim 6,
The verification process of the certificate chain includes verifying validity of the second certificate with the first public key and verifying validity of the third certificate with the second public key. .
제1 전자 장치와 통신을 위한 무선 통신 회로;
상기 무선 통신 회로와 작동적으로 연결된 프로세서; 및
상기 프로세서와 작동적으로 연결된 메모리;를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가:
상기 제1 전자 장치 또는 상기 제2 전자 장치를 통하여 보안 기능의 활성화를 요청하는 사용자 입력을 수신함에 따라, 상기 제1 전자 장치에게 챌린지 값(challenge value)을 포함하는 인증서 체인(certificate chain) 요청을 전송하고,
상기 제1 전자 장치로부터 수신된 상기 인증서 체인의 유효성을 검증하며,
상기 인증서 체인의 유효성이 검증됨에 따라, 상기 인증서 체인 및 상기 인증서 체인에 포함된 상기 제1 전자 장치의 고유의 식별자를 상기 메모리의 제2 보안 메모리에 저장하고, 상기 보안 기능을 활성화하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.In the second electronic device,
a wireless communication circuit for communicating with the first electronic device;
a processor operatively connected with the wireless communications circuitry; and
a memory operatively coupled with the processor;
The memory, when executed, causes the processor to:
Upon receiving a user input requesting activation of a security function through the first electronic device or the second electronic device, requesting a certificate chain including a challenge value from the first electronic device transmit,
verifying the validity of the certificate chain received from the first electronic device;
As the validity of the certificate chain is verified, instructions for storing the certificate chain and the unique identifier of the first electronic device included in the certificate chain in a second secure memory of the memory and activating the security function To store, the second electronic device.
상기 인증서 체인은,
상기 제1 전자 장치의 제조 과정에서 루트 키(root key)인 제1 인증 키로 서명된 제2 인증서, 상기 제1 인증 키의 페어 인증서인 제1 인증서, 및 상기 제2 인증서의 페어 인증 키이자 상기 제1 전자 장치의 고유의 인증 키(attestation key)인 제2 인증 키로 서명된 제3 인증서를 포함하는, 제2 전자 장치.The method of claim 8,
The certificate chain is
A second certificate signed with a first authentication key that is a root key in the manufacturing process of the first electronic device, a first certificate that is a pair certificate of the first authentication key, and a pair authentication key of the second certificate A second electronic device comprising a third certificate signed with a second authentication key that is a unique authentication key of the first electronic device.
상기 인증서 체인은, 상기 제1 인증서의 제1 공개 키(public key), 및 상기 제2 인증서의 제2 공개 키를 포함하는, 제2 전자 장치.The method of claim 9,
The certificate chain includes a first public key of the first certificate and a second public key of the second certificate.
상기 인증서 체인의 유효성을 검증하기 위해, 상기 제1 공개 키로 상기 제2 인증서의 유효성을 검증하고, 상기 제2 공개 키로 상기 제3 인증서의 유효성을 검증하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method according to claim 10, wherein the memory, at the time of execution,
The second electronic device stores instructions for verifying validity of the second certificate with the first public key and verifying validity of the third certificate with the second public key, in order to verify validity of the certificate chain.
상기 제3 인증서는 상기 챌린지 값 및 상기 제1 전자 장치의 상기 고유의 식별자를 포함하는, 제2 전자 장치.The method of claim 9,
The third certificate includes the challenge value and the unique identifier of the first electronic device.
상기 인증서 체인의 유효성을 검증하기 위해, 상기 제3 인증서에 포함된 상기 챌린지 값 및 상기 인증서 체인 요청에 포함된 상기 챌린지 값이 동일한지 판단하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method according to claim 12, wherein the memory, at the time of execution,
and storing instructions for determining whether the challenge value included in the third certificate and the challenge value included in the certificate chain request are the same in order to verify validity of the certificate chain.
상기 보안 기능이 활성화된 상태에서 보안을 요구하는 동작에 대한 사용자 요청이 있는 경우, 호스트 장치에게 인증서 체인 요청을 전송하도록하는 인스트럭션들을 저장하는, 제2 전자 장치.The method according to claim 1, wherein the memory, at the time of execution,
A second electronic device configured to store instructions for transmitting a certificate chain request to a host device when there is a user request for an operation requiring security while the security function is activated.
상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 공개 키로 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 인증서의 유효성을 검증하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method according to claim 14, wherein the memory, at the time of execution,
In order to verify the validity of the certificate chain received from the host device, storing instructions for verifying the validity of the certificate included in the certificate chain received from the host device with a public key included in the certificate chain received from the host device , the second electronic device.
상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 챌린지 값 및 상기 호스트 장치에 대한 상기 인증서 체인 요청에 포함된 챌린지 값이 동일한지 판단하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method of claim 15, wherein the memory, at the time of execution,
Instructions for determining whether a challenge value included in the certificate chain received from the host device and a challenge value included in the certificate chain request to the host device are the same in order to verify the validity of the certificate chain received from the host device A second electronic device that stores them.
상기 호스트 장치로부터 수신한 인증서 체인의 유효성을 검증하기 위해, 상기 호스트 장치로부터 수신한 인증서 체인에 포함된 전자 장치 식별자와 상기 제2 보안 메모리에 저장된 상기 제1 전자 장치의 상기 고유의 식별자가 동일한지 판단하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method according to claim 16, wherein the memory, at the time of execution,
To verify the validity of the certificate chain received from the host device, whether the electronic device identifier included in the certificate chain received from the host device is the same as the unique identifier of the first electronic device stored in the second secure memory. A second electronic device that stores instructions for making a decision.
상기 전자 장치의 식별자와 상기 제1 전자 장치의 상기 고유의 식별자가 동일하다고 판단됨에 따라 상기 호스트 장치로부터 수신한 인증서 체인이 유효하다고 판단하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method of claim 17, wherein the memory, at the time of execution,
and storing instructions for determining that the certificate chain received from the host device is valid when it is determined that the identifier of the electronic device and the unique identifier of the first electronic device are identical.
상기 호스트 장치로부터 수신한 인증서 체인이 유효하다고 판단됨에 따라 상기 보안을 요구하는 동작을 수행하도록 하는 인스트럭션들을 저장하는, 제2 전자 장치.The method of claim 18, wherein the memory, at the time of execution,
A second electronic device that stores instructions for performing an operation requiring the security when it is determined that the certificate chain received from the host device is valid.
상기 보안을 요구하는 동작은, 상기 보안 기능의 활성화, 상기 보안 기능의 비활성화, 상기 호스트 장치와의 연결, 상기 호스트 장치와의 연결 해제, 및 상기 제2 전자 장치의 소프트웨어 초기화 중 적어도 하나를 포함하는, 제2 전자 장치.
The method of claim 14,
The operation of requesting security includes at least one of activating the security function, deactivating the security function, connecting to the host device, disconnecting from the host device, and initializing software of the second electronic device. , the second electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2022/020128 WO2023149648A1 (en) | 2022-02-07 | 2022-12-12 | Electronic device for providing security function, and operating method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20220015610 | 2022-02-07 | ||
KR1020220015610 | 2022-02-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230119569A true KR20230119569A (en) | 2023-08-16 |
Family
ID=87848344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220030661A KR20230119569A (en) | 2022-02-07 | 2022-03-11 | Electronic device providing security function and method of operation therof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20230119569A (en) |
-
2022
- 2022-03-11 KR KR1020220030661A patent/KR20230119569A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11496900B2 (en) | Electronic device and method for storing user identification information | |
US11461475B2 (en) | Electronic device including secure integrated circuit | |
US20230396604A1 (en) | Method for performing user authentication and device for performing same | |
US20230004660A1 (en) | Method of processing secure data and electronic device supporting the same | |
US20230041033A1 (en) | ELECTRONIC DEVICE AND METHOD FOR INSTALLING eSIM PROFILE IN ELECTRONIC DEVICE | |
KR20230119569A (en) | Electronic device providing security function and method of operation therof | |
EP4328768A1 (en) | Electronic device for performing different login processes according to authentication type and control method thereof | |
US20240179013A1 (en) | Method for mutually attesting security levels of electronic devices in multi device environment | |
US11550963B2 (en) | Method of processing secure data and electronic device supporting the same | |
US20240112193A1 (en) | Method and device for transmitting data based on blockchain | |
US20230093667A1 (en) | Method of providing login information and electronic device performing thereof | |
EP4325914A1 (en) | Method for setting network lock function of electronic device and electronic device for same | |
US20230267190A1 (en) | Electronic device, method, and non-transitory computer-readable storage media for executing setup via communication with another device | |
US20230289786A1 (en) | Electronic device for transmitting transaction by using external device and operation method thereof | |
US20230185935A1 (en) | Method and device for updating personal information | |
KR20230022729A (en) | An electronic device for performing different login process according to authentication type and control method thereof | |
KR20230013583A (en) | Method of setting up network lock of electronic device and electronic device thereof | |
US20230147516A1 (en) | Electronic device and method for controlling vehicle based on driver authentication | |
US20230106384A1 (en) | Electronic device, method, and non-transitory computer readable storage medium for adaptively providing authentication scheme of service based on context | |
WO2023149648A1 (en) | Electronic device for providing security function, and operating method thereof | |
US20240112501A1 (en) | Electronic device and biometric authentication method using same | |
KR20240028895A (en) | Methods and devices for controlling contactless communication of applet | |
KR20240045032A (en) | Apparatus and method for transmitting data by block-chain | |
KR20230021786A (en) | Electronic device, and method for installing profile of embedded subscriber identification module in electronic device | |
KR20220009220A (en) | Method for performing authentication and electronic device supporting the same |