KR20230110161A - Electronic device for operating security device and operating method thereof - Google Patents
Electronic device for operating security device and operating method thereof Download PDFInfo
- Publication number
- KR20230110161A KR20230110161A KR1020220116036A KR20220116036A KR20230110161A KR 20230110161 A KR20230110161 A KR 20230110161A KR 1020220116036 A KR1020220116036 A KR 1020220116036A KR 20220116036 A KR20220116036 A KR 20220116036A KR 20230110161 A KR20230110161 A KR 20230110161A
- Authority
- KR
- South Korea
- Prior art keywords
- processor
- security subsystem
- security
- authority
- access authority
- Prior art date
Links
- 238000011017 operating method Methods 0.000 title claims abstract description 4
- 238000004891 communication Methods 0.000 claims abstract description 213
- 238000000034 method Methods 0.000 claims abstract description 59
- 230000008569 process Effects 0.000 claims abstract description 27
- 230000006870 function Effects 0.000 claims description 186
- 238000012545 processing Methods 0.000 claims description 59
- 241001274613 Corvus frugilegus Species 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 11
- 238000012217 deletion Methods 0.000 description 10
- 230000037430 deletion Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000003860 storage Methods 0.000 description 8
- 238000013528 artificial neural network Methods 0.000 description 7
- 238000011084 recovery Methods 0.000 description 6
- 238000007689 inspection Methods 0.000 description 5
- 238000013473 artificial intelligence Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
-
- 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/604—Tools and structures for managing or administering access control systems
-
- 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/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Automation & Control Theory (AREA)
- Telephone Function (AREA)
Abstract
Description
본 발명의 다양한 실시예는 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device for operating a security device and an operating method thereof.
전자 장치는 정보통신 기술 및 반도체 기술의 발전으로 인해 다양한 기능을 제공할 수 있다. 예를 들어, 다양한 기능은 통화 기능, 메시지 기능, 방송 기능, 무선 인터넷 기능, 카메라 기능, 전자 결제 기능, 사용자 인증 기능 또는 음악 재생 기능 중 적어도 하나를 포함할 수 있다.Electronic devices may provide various functions due to the development of information communication technology and semiconductor technology. For example, the various functions may include at least one of a call function, a message function, a broadcasting function, a wireless Internet function, a camera function, an electronic payment function, a user authentication function, or a music playback function.
전자 장치는 사용자가 전자 장치를 통해 사용하는 기능이 다양해짐에 따라 전자 장치에 저장되는 개인 정보가 증가하고 있다. 예를 들어, 전자 장치에 저장되는 개인 정보는 결제 정보, 인증 정보 및/또는 크레덴셜(credential)과 관련된 정보와 같이 보안 설정이 필요한 정보를 포함할 수 있다.Personal information stored in the electronic device is increasing as the functions that users use through the electronic device become more diverse. For example, personal information stored in an electronic device may include information requiring security settings, such as payment information, authentication information, and/or information related to credentials.
전자 장치는 전자 장치의 보안을 강화하기 위해 보안 서브시스템(security subsystem)과 같은 보안 장치를 포함할 수 있다. 예를 들어, 전자 장치는 어플리케이션 프로세서(AP: application processor) 및 커뮤니케이션 프로세서(CP: communication processor)가 물리적으로 분리된 경우, 어플리케이션 프로세서를 위한 제 1 보안 서브시스템 및 커뮤니케이션 프로세서를 위한 제 2 보안 서브시스템을 포함할 수 있다. 어플리케이션 프로세서를 위한 제 1 보안 서브시스템과 커뮤니케이션 프로세서를 위한 제 2 보안 서브시스템은 동일한 기능을 수행할 수 있다. 일예로, 물리적으로 구분된 어플리케이션 프로세서 및 커뮤니케이션 프로세서는 서로 다른 칩으로 구성된 상태를 포함할 수 있다. An electronic device may include a security device such as a security subsystem to enhance security of the electronic device. For example, when an application processor (AP) and a communication processor (CP) are physically separated, the electronic device may include a first security subsystem for the application processor and a second security subsystem for the communication processor. The first security subsystem for the application processor and the second security subsystem for the communication processor may perform the same function. For example, the physically separated application processor and communication processor may include a state composed of different chips.
전자 장치는 전자 장치의 보안을 강화하기 위해 동일한 기능을 수행하는 복수의 보안 서브시스템들을 사용하는 경우, 보안 서브시스템들을 배치하기 위한 전자 장치의 내부 공간이 요구될 수 있다. 또한, 전자 장치는 복수의 보안 서브시스템들의 사용으로 인해 전자 장치의 단가가 상승하고 전력 소모가 증가할 수 있다.When an electronic device uses a plurality of security subsystems that perform the same function to enhance security of the electronic device, internal space of the electronic device may be required to place the security subsystems. In addition, the unit cost of the electronic device may increase and power consumption may increase due to the use of a plurality of security subsystems.
본 발명의 다양한 실시예는 전자 장치에서 복수의 프로세서들(예: 어플리케이션 프로세서 및 커뮤니케이션 프로세서)이 하나의 보안 장치(예: 보안 서브시스템)를 공유하기 위한 장치 및 방법에 대해 개시한다.Various embodiments of the present disclosure disclose an apparatus and method for sharing one security device (eg, a security subsystem) by a plurality of processors (eg, an application processor and a communication processor) in an electronic device.
다양한 실시예에 따르면, 전자 장치는, 어플리케이션 프로세서와 커뮤니케이션 프로세서와 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치 및 상기 권한 할당 장치에서 상기 보안 서브시스템의 접근 권한을 할당받은 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 기반하여, 상기 어플리케이션 프로세서와 관련된 제 1 키 또는 상기 커뮤니케이션 프로세서와 관련된 제 2 키를 상기 보안 서브시스템으로 제공하는 프로세서 키 관리 장치를 포함하며, 상기 보안 서브시스템은, 상기 권한 할당 장치에서 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 상기 보안 서브시스템의 접근 권한의 할당에 기반하여 상기 프로세서 키 관리 장치로부터 제공받은 상기 제 1 키 또는 상기 제 2 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화할 수 있다.According to various embodiments, an electronic device includes an application processor, a communication processor, a security subsystem that processes a security function related to the application processor or the communication processor, a rights assignment device that assigns access rights of the security subsystem to the application processor or the communication processor, and a processor key management device that provides a first key related to the application processor or a second key related to the communication processor to the security subsystem based on the application processor or the communication processor to which the rights allocation device has been assigned access rights of the security subsystem, the security subsystem comprising: , The security function related to the application processor or the communication processor may be processed using the first key or the second key provided from the processor key management device based on the assignment of access rights of the security subsystem to the application processor or the communication processor in the rights assignment device, and data related to the application processor or the communication processor may be initialized based on the return of the access rights of the security subsystem assigned to the application processor or the communication processor.
다양한 실시예에 따르면, 어플리케이션 프로세서 및 커뮤니케이션 프로세서를 포함하는 전자 장치의 동작 방법은, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작과 상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작과 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method of operating an electronic device including an application processor and a communication processor includes assigning an access right of a security subsystem for processing a security function related to the application processor or the communication processor to the application processor or the communication processor, obtaining a key related to the application processor or the communication processor when the access right of the security subsystem is assigned to the application processor or the communication processor, and processing the security function related to the application processor or the communication processor through the security subsystem based on the key related to the application processor or the communication processor. and initializing data related to the application processor or the communication processor based on the return of the access authority of the security subsystem assigned to the application processor or the communication processor.
본 발명의 다양한 실시예에 따르면, 전자 장치에서 복수의 프로세서들(예: 어플리케이션 프로세서 및 커뮤니케이션 프로세서)이 하나의 보안 장치(예: 보안 서브시스템)를 공유함으로써, 보안 장치를 배치하기 위한 물리적 영역을 줄일 수 있고, 보안 장치에 의한 전자 장치의 단가 및/또는 전력 소모를 줄일 수 있다.According to various embodiments of the present disclosure, a plurality of processors (eg, an application processor and a communication processor) in an electronic device share one security device (eg, a security subsystem), thereby reducing a physical area for arranging a security device, and reducing unit cost and/or power consumption of the electronic device by the security device.
다양한 실시예에 따르면, 전자 장치에서 보안 장치를 공유하는 복수의 프로세서들 중 적어도 하나의 프로세서가 보안 장치를 점유하는 시간을 관리함으로써, 보안 장치의 사용을 위한 안정성을 확보할 수 있다. According to various embodiments, stability for use of the security device may be secured by managing the time at which at least one processor among a plurality of processors sharing the security device in the electronic device occupies the security device.
도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치의 블록도이다.
도 2b는 다양한 실시예에 따른 보안 장치의 블록도이다.
도 3은 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치의 블록도이다.
도 4a는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.
도 4b는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.
도 5는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 할당하기 위한 흐름도이다.
도 6은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치의 접근 권한을 할당하기 위한 흐름도이다.
도 7은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.
도 8은 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치의 접근 권한을 할당하기 위한 흐름도이다.
도 9는 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.
도 10은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 흐름도이다.
도 11은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.
도 12는 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 다른 일예이다.
도 13은 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 요청하기 위한 흐름도이다.
도 14는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 반환하기 위한 흐름도이다.
도 15a는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 요청하기 위한 일예이다.
도 15b는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 요청하기 위한 일예이다.
도 16a는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 반환하기 위한 일예이다.
도 16b는 다양한 실시예에 따른 전자 장치에서 보안 장치의 접근 권한을 반환하기 위한 일예이다.
도 17은 다양한 실시예에 따른 전자 장치에서 보안 장치를 통해 보안 기능을 수행하기 위한 흐름도이다.1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2A is a block diagram of an electronic device for providing a security function according to various embodiments.
2B is a block diagram of a security device according to various embodiments.
3 is a block diagram of an electronic device for providing security functions according to various embodiments.
4A is an example of allocating an access authority of a security device to a first processor in an electronic device according to various embodiments of the present disclosure.
4B is an example of allocating access authority of a security device to a first processor in an electronic device according to various embodiments.
5 is a flowchart for allocating access rights of a security device in an electronic device according to various embodiments.
6 is a flowchart for allocating access rights of a security device based on a first rights allocation method in an electronic device according to various embodiments.
7 is an example for allocating access rights of a security device based on a first rights allocation method in an electronic device according to various embodiments.
8 is a flowchart for allocating access rights of a security device based on a permission request time point in an electronic device according to various embodiments.
9 is an example of allocating access rights of a security device based on a permission request time point in an electronic device according to various embodiments.
10 is a flowchart for allocating access rights of a security device based on rights allocation priority in an electronic device according to various embodiments.
11 is an example for allocating access rights of a security device based on rights allocation priority in an electronic device according to various embodiments.
12 is another example of allocating access rights of a security device based on rights allocation priority in an electronic device according to various embodiments.
13 is a flowchart for requesting access authority of a security device in an electronic device according to various embodiments.
14 is a flowchart for returning an access right of a security device in an electronic device according to various embodiments.
15A is an example of requesting an access authority of a security device in an electronic device according to various embodiments.
15B is an example for requesting an access right of a security device in an electronic device according to various embodiments.
16A is an example for returning an access right of a security device in an electronic device according to various embodiments.
16B is an example for returning the access authority of a security device in an electronic device according to various embodiments.
17 is a flowchart for performing a security function through a security device in an electronic device according to various embodiments.
이하 다양한 실시예들이 첨부된 도면을 참고하여 상세히 설명된다.Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings.
도 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
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, Wi-Fi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.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 이하)를 지원할 수 있다. 다양한 실시예에 따르면, 가입자 식별 모듈(196)은 복수의 가입자 식별 모듈을 포함할 수 있다. 예를 들어, 복수의 가입자 식별 모듈은 서로 다른 가입자 정보를 저장할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The
다양한 실시예에 따르면, 안테나 모듈(197)은 고주파(예: mmWave) 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, 고주파(예: mmWave) 안테나 모듈은 인쇄 회로 기판, 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 예를 들어, 복수의 안테나들은 패치(patch) 어레이 안테나 및/또는 다이폴(dipole) 어레이 안테나를 포함할 수 있다.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 signals (eg, 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 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, each of the phrases such as "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 "at least one of A, B, or C" may include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may be used simply to distinguish a corresponding component from other corresponding components, and do not limit the corresponding components in other respects (e.g., importance or order). When a (e.g., a first) component is referred to as “coupled” or “connected” to another (e.g., a second) component, with or without the terms “functionally” or “communicatively,” it means that the component may be connected to the other component directly (e.g., 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 units implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logical blocks, components, or circuits. A module may be an integral part or the smallest unit of a part or part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예는 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may be implemented as software (eg, program 140) including one or more instructions stored in a storage medium (eg,
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.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 may be distributed in the form of a device-readable storage medium (eg, compact disc read only memory (CD-ROM)), or may be distributed (eg, downloaded or uploaded) online, through an application store (eg, Play Store TM ) or directly between two user devices (eg, smartphones). 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. 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 may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions may be executed in a different order, may be omitted, or one or more other actions may be added.
도 2a는 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치(101)의 블록도이다. 도 2b는 다양한 실시예에 따른 보안 장치(예: 보안 서브시스템(230))의 블록도이다. 이하 설명에서 전자 장치(101)는 보안 기능을 실행하기 위한 보안 장치로, 보안 서브시스템(230)을 포함할 수 있다. 하지만, 보안 장치는 보안 서브시스템(230)에 한정되지 않으며, 전자 장치(101)의 보안 기능을 실행하기 위한 다른 장치를 포함할 수도 있다. 2A is a block diagram of an
도 2a 및 도 2b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)는 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220) 및/또는 보안 서브시스템(230)을 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200)는 도 1의 프로세서(120) 또는 메인 프로세서(121)와 실질적으로 동일하거나, 프로세서(120) 또는 메인 프로세서(121)를 포함할 수 있다. 제 2 프로세서(210)는 도 1의 프로세서(120) 또는 보조 프로세서(123)(예: 커뮤니케이션 프로세서)와 실질적으로 동일하거나, 프로세서(120) 또는 보조 프로세서(123)를 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 권한 할당 장치(220) 및/또는 보안 서브시스템(230)과 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및 제 2 프로세서(210)는 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220) 및/또는 보안 서브시스템(230)은 하나의 패키지에 포함될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220) 및/또는 보안 서브시스템(230)은 복수의 패키지들(예: 프로세서 패키지)에 포함될 수 있다.According to various embodiments referring to FIGS. 2A and 2B , the
다양한 실시예에 따르면, 제 1 프로세서(200)는 제 1 프로세서(200)와 작동적, 기능적 및/또는 전기적으로 연결된 전자 장치(101)의 적어도 하나의 구성요소(예: 제 2 프로세서(210))의 제어 및/또는 다양한 데이터의 처리(또는 연산)를 수행할 수 있다. 일예로, 제 1 프로세서(200)는 어플리케이션 프로세서(AP)를 포함할 수 있다. 일예로, 제 1 프로세서(200)는 메모리(미 도시)를 포함할 수 있다. 일예로, 제 1 프로세서(200)의 메모리는 플래시 메모리를 포함할 수 있다.According to various embodiments, the
일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 예를 들어, 제 1 프로세서(200)는 보안 서브시스템(230)로부터 제공받은 보안 기능의 수행 결과(예: 암호키)를 제 1 프로세서(200)의 메모리에 저장할 수 있다. 일예로, 보안 기능은 작업과 관련된 데이터의 서명 생성, 작업과 관련된 데이터의 서명의 검사, 작업과 관련된 인증, 작업과 관련된 데이터의 인증서 생성, 작업과 관련된 데이터의 인증서의 검사, 작업과 관련된 데이터의 암호화, 작업과 관련된 데이터의 복호화 또는 작업과 관련된 암호키 생성 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200)는 보안 서브시스템(230)을 통해 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업을 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 예를 들어, 제 1 프로세서(200)는 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.According to an embodiment, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 전자 장치(101)의 통신과 관련된 데이터의 처리(또는 연산)를 수행할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 하나의 커뮤니케이션 프로세서를 포함하거나, 하드웨어적으로 또는 소프트웨어적으로 구분된 복수의 커뮤니케이션 프로세서들을 포함할 수 있다. 예를 들어, 복수의 커뮤니케이션 프로세서들은 서로 다른 종류의 RAT(radio access technology)와 관련된 네트워크 통신을 지원할 수 있다. 일예로, 제 2 프로세서(210)는 메모리(미 도시)를 포함할 수 있다. 일예로, 제 2 프로세서(210)의 메모리는 플래시 메모리를 포함할 수 있다.According to various embodiments, the
일 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 예를 들어, 제 2 프로세서(210)는 보안 서브시스템(230)로부터 제공받은 보안 기능의 수행 결과(예: 암호화된 데이터)를 제 2 프로세서(210)의 메모리에 저장할 수 있다. 일예로, 보안 기능은 작업과 관련된 데이터의 서명 생성, 작업과 관련된 데이터의 서명의 검사, 작업과 관련된 인증, 작업과 관련된 데이터의 인증서 생성, 작업과 관련된 데이터의 인증서의 검사, 작업과 관련된 데이터의 암호화, 작업과 관련된 데이터의 복호화 또는 작업과 관련된 암호키 생성 중 적어도 하나를 포함할 수 있다. 일예로, 작업과 관련된 데이터는 IMEI(international mobile equipment identity), MEID(mobile equipment identifier), DS IMEI, 네트워크 락(network lock) 정보, SIM(subscriber identity module) 락(lock) 정보, IMEI CERT 정보, 지역향 정보, 사업자 정보, 심의 사업자 정보, NCK, SPCK, MCK, PIN(personal identification number) 정보, 네트워크 락 암호(network lock password), 암호, 사업자 망 정보, 네트워크 정보, MCC/MCK 허용 리스트, CDMA 정보 또는 RF 대역 정보 중 적어도 하나를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)을 통해 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업을 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 예를 들어, 제 2 프로세서(210)는 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.According to one embodiment, when the
일 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 예를 들어, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 지정된 기준시간 동안 구동되는 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동이 종료되는 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 일예로, 타이머는 제 2 프로세서(210)에 의해 실행되는 타이머 명령어, 타이머 프로그램 및/또는 제 2 프로세서(210)에 포함된 하드웨어로 구현된 타이머를 포함할 수 있다. 예를 들어, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 적어도 하나의 작업을 완료되지 못한 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 이전에 완료하지 못한 적어도 하나의 작업과 관련된 보안 기능을 우선적으로 수행할 수 있다. 일예로, 지정된 기준시간은 제 2 프로세서(210)에서 처리하기 위한 데이터를 처리하기 위한 최대 시간을 포함할 수 있다. 일예로, 데이터를 처리하기 위한 최대 시간은 제 2 프로세서(210)에서 처리하는 데이터의 크기(또는 최대 크기)가 예측 가능하므로 제 2 프로세서(210)에서 처리하는 데이터의 크기에 기반하여 예측될 수 있다.According to an embodiment, the
다양한 실시예에 따르며, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 관리할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 및 제 2 프로세서(210)와 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 메모리(미 도시)를 포함할 수 있다. 일예로, 권한 할당 장치(220)의 메모리는 RAM(random access memory)을 포함할 수 있다.According to various embodiments, the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 권한 할당 방식(예: semaphore 방식)을 사용하는 경우, 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 교번하게 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 보안 서브시스템(230)의 접근 권한에 대한 복수의 요청 신호들을 연속적으로 수신하고, 제 2 프로세서(210)로부터 보안 서브시스템(230)의 접근 권한에 대한 요청 신호를 수신한 경우, 제 1 프로세서(200)로부터 수신한 복수의 요청 신호들을 하나의 요청 신호로 판단할 수 있다. 권한 할당 장치(220)는 제 1 프로세서(200)의 요청 신호에 기반하여 보안 서브시스템(230)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 권한 할당 장치(220)는 제 1 프로세서(200)가 보안 서브시스템(230)의 접근 권한을 반환한 경우, 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)로 할당할 수 있다. 일예로, 권한 할당 장치(220)가 수신한 보안 서브시스템(230)의 접근 권한에 대한 요청 신호와 관련된 정보는 권한 할당 장치(220)의 메모리에 저장될 수 있다.According to an embodiment, when the first permission assignment method (eg, semaphore method) is used, the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 및/또는 제 2 프로세서(210)의 보안 서브시스템(230)에 대한 접근 권한 요청 시점(또는 요청 순서)에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 2 권한 할당 방식(예: queue 방식)을 사용하고, 프로세서들(200 및/또는 210)에 우선순위가 설정되지 않은 경우, 보안 서브시스템(230)에 대한 접근 권한 요청 시점(또는 요청 순서)에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 할당할 수 있다. 일예로, 보안 서브시스템(230)에 대한 접근 권한은 보안 서브시스템(230)에 대한 접근 권한 요청 시점이 상대적으로 빠른 프로세서(200 또는 210)에 우선적으로 할당될 수 있다.According to an embodiment, the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 및 제 2 프로세서(210)의 우선순위에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 우선적으로 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한에 대한 요청 신호를 버퍼에 저장할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 2 권한 할당 방식(예: queue 방식)을 사용하고, 제 1 프로세서(200)에 권한 할당 우선순위가 설정된 경우, 버퍼에 저장된 요청 신호들 중 제 1 프로세서(200)로부터 수신한 적어도 하나의 요청 신호에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200)에 우선적으로 할당할 수 있다. 권한 할당 장치(220)는 버퍼에 저장된 요청 신호들 중 제 1 프로세서(200)로부터 수신한 적어도 하나의 요청 신호를 처리한 경우, 제 2 프로세서(210)로부터 수신한 적어도 하나의 요청 신호에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 2 권한 할당 방식(예: queue 방식)을 사용하고, 제 2 프로세서(210)에 권한 할당 우선순위가 설정된 경우, 버퍼에 저장된 요청 신호들 중 제 2 프로세서(210)로부터 수신한 적어도 하나의 요청 신호에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 2 프로세서(210)에 우선적으로 할당할 수 있다. 권한 할당 장치(220)는 버퍼에 저장된 요청 신호들 중 제 2 프로세서(210)로부터 수신한 적어도 하나의 요청 신호를 처리한 경우, 제 1 프로세서(200)로부터 수신한 적어도 하나의 요청 신호에 기반하여 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200)에 할당할 수 있다.According to an embodiment, the
일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서와 관련된 정보를 보안 서브시스템(230)에 제공할 수 있다. 예를 들어, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200)에 할당한 경우, 보안 서브시스템(230)에 대한 접근 권한이 할당된 제 1 프로세서(200)와 관련된 정보를 보안 서브시스템(230)에 제공할 수 있다. 예를 들어, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 제 2 프로세서(210)에 할당한 경우, 보안 서브시스템(230)에 대한 접근 권한이 할당된 제 2 프로세서(210)와 관련된 정보를 보안 서브시스템(230)에 제공할 수 있다. 일예로, 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서와 관련된 정보는 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키 및/또는 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서의 키 선택과 관련된 지시 정보를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230)의 접근 권한 반환과 관련된 요청 신호를 수신한 경우, 제 1 프로세서(200) 또는 제 2 프로세서(210)에 대한 보안 서브시스템(230)의 접근 권한을 회수할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230)의 접근 권한 반환과 관련된 요청 신호를 수신한 경우, 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다. 일예로, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230)의 접근 권한 반환과 관련된 요청 신호를 수신한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다. 일예로, 권한 할당 장치(220)는 보안 서브시스템(230)에서 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제가 완료된 것으로 판단한 경우, 보안 서브시스템(230)에 대한 접근 권한이 회수된 것으로 판단할 수 있다. 일예로, 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제는 권한 할당 장치(220)의 유한 상태 기계(FSM: finite state machine)(미 도시)에 기반하여 확인(또는 모니터링)될 수 있다. 일예로, 권한 할당 장치(220)의 유한 상태 기계는 권한 할당 장치(220)에 포함된 유한 상태 기계를 포함할 수 있다. 일예로, 권한 할당 장치(220)의 유한 상태 기계(FSM)는 보안 서브시스템(230)을 통해 접근 권한이 할당된 프로세서와 관련된 데이터가 처리 및/또는 저장되는 경우, 제 1 상태(예: lock 상태)로 설정될 수 있다. 일예로, 권한 할당 장치(220)의 유한 상태 기계(FSM)는 보안 서브시스템(230)에서 접근 권한이 할당되었던 프로세서와 관련된 데이터가 삭제되는 경우, 제 2 상태(예: free 상태)로 설정될 수 있다. 일예로, 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서는 보안 서브시스템(230)의 접근 권한 반환과 관련된 요청 신호를 전송한 프로세서를 포함할 수 있다. 일예로, 프로세서와 관련된 데이터는 프로세서가 보안 서브시스템(230)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.According to an embodiment, when receiving a request signal related to the return of the access right of the
일 실시예에 따르면, 권한 할당 장치(220)는 복수의 유한 상태 기계(FSM)들을 포함할 수도 있다. 예를 들어, 복수의 유한 상태 기계(FSM)들은 보안 서브시스템(230)의 접근 권한이 할당된 프로세서와 관련된 데이터의 저장 여부를 나타내는 제 1 FSM, 보안 서브시스템(230)의 접근 권한이 할당된 프로세서의 종류를 나타내는 제 2 FSM 및 보안 서브시스템(230)의 접근 권한과 관련된 적어도 하나의 요청을 나타내는 제 3 FSM을 포함할 수 있다. 일예로, 권한 할당 장치(220)에 포함되는 유한 상태 기계(FSM)의 종류 및/또는 개수는 이에 제한되지 않는다.According to one embodiment, the
다양한 실시예에 따르면, 보안 서브시스템(230)은 제 1 프로세서(200) 또는 제 2 프로세서(210)와 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)에 의해 보안 서브시스템(230)에 대한 접근 권한이 할당된 제 1 프로세서(200) 또는 제 2 프로세서(210)에서 처리하는 작업과 관련된 인증, 작업과 관련된 데이터의 인증서 생성, 작업과 관련된 데이터의 인증서의 검사, 작업과 관련된 데이터의 서명 생성, 작업과 관련된 데이터의 서명의 검사,작업과 관련된 데이터의 암호화, 작업과 관련된 데이터의 복호화 또는 작업과 관련된 암호키 생성과 같은 보안 기능 중 적어도 하나를 수행할 수 있다. 보안 서브시스템(230)은 보안 기능의 처리 결과를 제 1 프로세서(200) 또는 제 2 프로세서(210)로 제공할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 제 1 프로세서(200) 및 제 2 프로세서(210)와 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 메모리(미 도시)를 포함할 수 있다. 일예로, 보안 서브시스템(230)의 메모리는 RAM을 포함할 수 있다. 일예로, 보안 서브시스템(230)의 메모리는 보안 서브시스템(230)에서 처리되는 프로세서와 관련된 데이터를 저장할 수 있다. 일예로, 프로세서와 관련된 데이터는 프로세서(200 및/또는 210)가 보안 서브시스템(230)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.According to various embodiments, the
일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 초기화 요청 신호를 수신한 경우, 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제할 수 있다. 예를 들어, 보안 서브시스템(230)은 보안 서브시스템(230)의 내부 메모리(예: SRAM(static RAM)) 및/또는 등록 경로(register path)에 존재하는 이전 프로세서(200 또는 210)와 관련된 정보(예: 프로세서 키와 관련된 정보)를 삭제할 수 있다. According to an embodiment, the
일 실시예에 따르면, 보안 서브시스템(230)은 도 2b와 같이, 버스(231), 키 생성 모듈(232), 프로세서 키 관리 모듈(233), 키 관리 모듈(234) 및/또는 암호화 모듈(235)을 포함할 수 있다. 예를 들어, 버스(231)는 보안 서브시스템(230)에 포함되는 구성요소들(예: 키 생성 모듈(232), 프로세서 키 관리 모듈(233), 키 관리 모듈(234) 및/또는 암호화 모듈(235)) 사이의 정보(예: 제어 메시지 및/또는 데이터) 교환을 위한 회로를 포함할 수 있다. 예를 들어, 키 생성 모듈(232)은 보안 서브시스템(230)의 보안 기능 수행을 위해 랜덤 키(random key)를 생성할 수 있다. 일예로, 키생성 모듈(232)은 TRNG(true random number generator)를 포함할 수 있다. 예를 들어, 프로세서 키 관리 모듈(233)은 보안 서브시스템(230)에 접근 가능한 제 1 프로세서(200)의 키 및 제 2 프로세서(210)의 키를 관리할 수 있다. 예를 들어, 키 관리 모듈(234)은 키 생성 모듈(232)에 의해 생성된 랜덤 키(random key) 및 프로세서 키 관리 모듈(233)로부터 제공받은 보안 서브시스템(230)의 접근 권한이 할당된 프로세서의 키에 기반하여 보안 기능을 수행하기 위한 보안 키를 생성할 수 있다. 예를 들어, 암호화 모듈(235)은 키 관리 모듈(234)에서 생성된 보안 키에 기반하여 보안 서브시스템(230)의 접근 권한이 할당된 프로세서로부터 수신한 데이터를 암호화하거나 또는 복호화할 수 있다. 일예로, 암호화 모듈(235)은 키 관리 모듈(234)에서 생성된 보안 키에 기반한 암호(crypto) 연산 또는 해쉬(hash) 연산 또는 KDF(key derivation function) 연산 중 적어도 하나를 수행할 수 있다. According to one embodiment, the
일 실시예에 따르면, 프로세서 키 관리 모듈(233)은 프로세서 키 선택 모듈(241), 제 1 프로세서 키 관리 모듈(242) 및 제 2 프로세서 키 관리 모듈(243)을 포함할 수 있다. 예를 들어, 제 1 프로세서 키 관리 모듈(242)은 제 1 프로세서(200)의 키를 저장 및 관리하는 회로를 포함할 수 있다. 예를 들어, 제 2 프로세서 키 관리 모듈(243)은 제 2 프로세서(210)의 키를 저장 및 관리하는 회로를 포함할 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(242) 및 제 2 프로세서 키 관리 모듈(243)은 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(242) 및 제 2 프로세서 키 관리 모듈(243)은 하나의 패키지에 포함될 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(242) 및/또는 제 2 프로세서 키 관리 모듈(243)은 제 1 프로세서(200)의 키 및/또는 제 2 프로세서(210)의 키를 저장하는 메모리(예: ROM(read only memory))를 포함할 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(242) 및/또는 제 2 프로세서 키 관리 모듈(243)은 제 1 프로세서(200)의 키 및/또는 제 2 프로세서(210)의 키를 저장하는 메모리(예: ROM)로 구성될 수 있다. 일예로, 제 1 프로세서(200)의 키는 제 1 프로세서(200)의 루트 키로, 제 1 프로세서(200)와 관련된 OTP(one time programmable) 또는 이퓨즈(eFuse)를 포함할 수 있다. 일예로, 제 1 프로세서(200)의 키는 제 1 프로세서(200)의 루트 키에 기반하여 생성된 키(derived key)를 포함할 수도 있다. 일예로, 제 2 프로세서(210)의 키는 제 2 프로세서(210)의 루트 키로, 제 2 프로세서(210)와 관련된 OTP 또는 이퓨즈를 포함할 수 있다. 일예로, 제 2 프로세서(210)의 키는 제 2 프로세서(210)의 루트 키에 기반하여 생성된 키(derived key)를 포함할 수도 있다. 일예로, 프로세서(200 및/또는 210)의 루트 키는 전자 장치(101)의 생산 공정 시 설정된 프로세서의 고유 값으로, 고정된 값을 포함할 수 있다.According to one embodiment, the processor
예를 들어, 프로세서 키 선택 모듈(241)은 권한 할당 장치(220)에 의해 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서(200 또는 210)의 키를 선택하여 키 관리 모듈(234)(또는 보안 서브시스템(230))로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(241)은 권한 할당 장치(220)에 의해 보안 서브시스템(230)에 대한 접근 권한이 제 1 프로세서(200)에 할당된 경우, 제 1 프로세서(200)의 키를 키 관리 모듈(234)(또는 보안 서브시스템(230))로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(241)은 권한 할당 장치(220)에 의해 보안 서브시스템(230)에 대한 접근 권한이 제 2 프로세서(210)에 할당된 경우, 제 2 프로세서(210)의 키를 키 관리 모듈(234)(또는 보안 서브시스템(230))로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(241)은 권한 할당 장치(220)로부터 수신한 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서와 관련된 정보에 기반하여 보안 서브시스템(230)에 대한 접근 권한이 할당된 프로세서(200 또는 210)를 확인할 수 있다. 일예로, 프로세서 키 선택 모듈(241)은 멀티플렉서(multiplexer)를 포함할 수 있다.For example, the processor
도 3은 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치(101)의 블록도이다. 이하 설명에서 전자 장치(101)는 보안 기능을 실행하기 위한 보안 장치로, 보안 서브시스템(310)을 포함할 수 있다. 하지만, 보안 장치는 보안 서브시스템(310)에 한정되지 않으며, 전자 장치(101)의 보안 기능을 실행하기 위한 다른 장치를 포함할 수도 있다. 3 is a block diagram of an
도 3을 참조하는 다양한 실시예에 따르면, 전자 장치(101)는 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220), 프로세서 키 관리 장치(300) 및/또는 보안 서브시스템(310)을 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200)는 도 1의 프로세서(120) 또는 메인 프로세서(121)와 실질적으로 동일하거나, 프로세서(120) 또는 메인 프로세서(121)를 포함할 수 있다. 제 2 프로세서(210)는 도 1의 프로세서(120) 또는 보조 프로세서(123)(예: 커뮤니케이션 프로세서)와 실질적으로 동일하거나, 프로세서(120) 또는 보조 프로세서(123)를 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 권한 할당 장치(220), 프로세서 키 관리 장치(300) 및/또는 보안 서브시스템(310)과 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및 제 2 프로세서(210)는 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220), 프로세서 키 관리 장치(300) 및/또는 보안 서브시스템(310)은 하나의 패키지에 포함될 수 있다. 일 실시예에 따르면, 제 1 프로세서(200), 제 2 프로세서(210), 권한 할당 장치(220) 프로세서 키 관리 장치(300) 및/또는 보안 서브시스템(310)은 복수의 패키지들(예: 프로세서 패키지)에 포함될 수 있다. 일 실시예에 따르면, 도 3의 제 1 프로세서(200), 제 2 프로세서(210) 및 권한 할당 장치(220)는 도 2a의 제 1 프로세서(200), 제 2 프로세서(210) 및 권한 할당 장치(220)과 동일하게 동작하므로, 도 3의 제 1 프로세서(200), 제 2 프로세서(210) 및 권한 할당 장치(220)에 대한 상세한 설명을 생략한다.According to various embodiments of the present disclosure with reference to FIG. 3 , the
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 보안 서브시스템(310)에 접근 가능한 제 1 프로세서(200)의 키 및 제 2 프로세서(210)의 키를 관리할 수 있다. 일 실시예에 따르면, 프로세서 키 관리 장치(300)는 프로세서 키 선택 모듈(302), 제 1 프로세서 키 관리 모듈(304) 및 제 2 프로세서 키 관리 모듈(306)을 포함할 수 있다. 예를 들어, 제 1 프로세서 키 관리 모듈(302)은 제 1 프로세서(200)의 키를 저장 및 관리하는 회로를 포함할 수 있다. 예를 들어, 제 2 프로세서 키 관리 모듈(304)은 제 2 프로세서(210)의 키를 저장 및 관리하는 회로를 포함할 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(302) 및 제 2 프로세서 키 관리 모듈(304)은 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(302) 및 제 2 프로세서 키 관리 모듈(304)은 하나의 패키지에 포함될 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(302) 및/또는 제 2 프로세서 키 관리 모듈(304)은 제 1 프로세서(200)의 키 및/또는 제 2 프로세서(210)의 키를 저장하는 메모리(예: ROM)를 포함할 수 있다. 일예로, 제 1 프로세서 키 관리 모듈(302) 및/또는 제 2 프로세서 키 관리 모듈(304)은 제 1 프로세서(200)의 키 및/또는 제 2 프로세서(210)의 키를 저장하는 메모리(예: ROM)로 구성될 수 있다. 일예로, 제 1 프로세서(200)의 키는 제 1 프로세서(200)의 루트 키로, 제 1 프로세서(200)와 관련된 OTP 또는 이퓨즈를 포함할 수 있다. 일예로, 제 1 프로세서(200)의 키는 제 1 프로세서(200)의 루트 키에 기반하여 생성된 키(derived key)를 포함할 수도 있다. 일예로, 제 2 프로세서(210)의 키는 제 2 프로세서(210)의 루트 키로, 제 2 프로세서(210)와 관련된 OTP 또는 이퓨즈를 포함할 수 있다. 일예로, 제 2 프로세서(210)의 키는 제 2 프로세서(210)의 루트 키에 기반하여 생성된 키(derived key)를 포함할 수도 있다. 일예로, 프로세서(200 및/또는 210)의 루트 키는 전자 장치(101)의 생산 공정 시 설정된 프로세서의 고유 값으로, 고정된 값을 포함할 수 있다.According to various embodiments, the processor
예를 들어, 프로세서 키 선택 모듈(302)은 권한 할당 장치(220)에 의해 보안 서브시스템(310)에 대한 접근 권한이 할당된 프로세서(200 또는 210)의 키를 선택하여 보안 서브시스템(310)로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(302)은 권한 할당 장치(220)에 의해 보안 서브시스템(310)에 대한 접근 권한이 제 1 프로세서(200)에 할당된 경우, 제 1 프로세서(200)의 키를 보안 서브시스템(310)로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(302)은 권한 할당 장치(220)에 의해 보안 서브시스템(310)에 대한 접근 권한이 제 2 프로세서(210)에 할당된 경우, 제 2 프로세서(210)의 키를 보안 서브시스템(310)로 제공할 수 있다. 일예로, 프로세서 키 선택 모듈(302)은 권한 할당 장치(220)로부터 수신한 보안 서브시스템(310)에 대한 접근 권한이 할당된 프로세서와 관련된 정보에 기반하여 보안 서브시스템(310)에 대한 접근 권한이 할당된 프로세서(200 또는 210)를 확인할 수 있다. 일예로, 프로세서 키 선택 모듈(302)은 멀티플렉서를 포함할 수 있다.For example, the processor
다양한 실시예에 따르면, 보안 서브시스템(310)은 제 1 프로세서(200) 또는 제 2 프로세서(210)와 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)에 의해 보안 서브시스템(310)에 대한 접근 권한이 할당된 제 1 프로세서(200) 또는 제 2 프로세서(210)에서 처리하는 작업과 관련된 인증, 작업과 관련된 데이터의 서명 생성, 작업과 관련된 데이터의 서명의 검사, 작업과 관련된 데이터의 인증서 생성, 작업과 관련된 데이터의 인증서의 검사, 작업과 관련된 데이터의 암호화, 작업과 관련된 데이터의 복호화 또는 작업과 관련된 암호키 생성과 같은 보안 기능 중 적어도 하나를 수행할 수 있다. 보안 서브시스템(310)은 보안 기능의 처리 결과를 제 1 프로세서(200) 또는 제 2 프로세서(210)로 제공할 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 제 1 프로세서(200) 및 제 2 프로세서(210)와 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 메모리(미 도시)를 포함할 수 있다. 일예로, 보안 서브시스템(310)의 메모리는 RAM을 포함할 수 있다. 일예로, 보안 서브시스템(310)의 메모리는 보안 서브시스템(310)에서 처리되는 프로세서와 관련된 데이터를 저장할 수 있다. 일예로, 프로세서와 관련된 데이터는 프로세서(200 및/또는 210)가 보안 서브시스템(310)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.According to various embodiments, the
일 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 초기화 요청 신호를 수신한 경우, 보안 서브시스템(310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제할 수 있다. 예를 들어, 보안 서브시스템(310)은 보안 서브시스템(310)의 내부 메모리(예: SRAM(static RAM)) 및/또는 등록 경로(register path)에 존재하는 이전 프로세서(200 또는 210)와 관련된 정보(예: 프로세서 키와 관련된 정보)를 삭제할 수 있다. According to an embodiment, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에 대한 접근 권한의 회수를 위해 보안 서브시스템(230 또는 310)에서 이전에 접근 권한을 할당하였던 프로세서와 관련된 데이터를 삭제하도록 제어함으로써, 제 1 프로세서(200) 및 제 2 프로세서(210)를 격리(isolation)하여 전자 장치(101)의 보안을 강화할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 전자 장치(예: 도 1, 도 2a 또는 도 3의 전자 장치(101))는, 어플리케이션 프로세서(예: 도 1의 메인 프로세서(121) 또는 도 2a 또는 도 3의 제 1 프로세서(200))와 커뮤니케이션 프로세서(예: 도 1의 보조 프로세서(123) 또는 도 2a 또는 도 3의 제 2 프로세서(210))와 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템(예: 도 2a 또는 도 3의 보안 서브시스템(230 또는 310)), 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치(예: 도 2a 또는 도 3의 권한 할당 장치(220)) 및 상기 권한 할당 장치에서 상기 보안 서브시스템의 접근 권한을 할당받은 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 기반하여, 상기 어플리케이션 프로세서와 관련된 제 1 키 또는 상기 커뮤니케이션 프로세서와 관련된 제 2 키를 상기 보안 서브시스템으로 제공하는 프로세서 키 관리 장치(예: 도 2b의 프로세서 키 관리 모듈(233) 또는 도 3의 프로세서 키 관리 장치(300))를 포함하며, 상기 보안 서브시스템은, 상기 권한 할당 장치에서 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 상기 보안 서브시스템의 접근 권한의 할당에 기반하여 상기 프로세서 키 관리 장치로부터 제공받은 상기 제 1 키 또는 상기 제 2 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화할 수 있다.According to various embodiments, an electronic device (eg, the
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당할 수 있다.According to various embodiments, the authority assignment device, upon receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, alternately allocates the access authority of the security subsystem to the application processor or the communication processor.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한을 회수한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.According to various embodiments of the present disclosure, the authority assigning apparatus may allocate the access authority of the security subsystem to the application processor based on the reception time of the request signal when receiving at least one request signal related to the access authority of the security subsystem from the communication processor after continuously receiving a plurality of request signals related to the access authority of the security subsystem from the application processor, and may allocate the access authority of the security subsystem to the communication processor when the access authority of the security subsystem is retrieved from the application processor.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.According to various embodiments, when receiving a request signal related to the access authority of the security subsystem from the application processor and/or the communication processor, the authority assignment device may allocate the access authority of the security subsystem to the application processor or the communication processor based on a time point at which the access request is received.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고, 상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.According to various embodiments, the authority assignment device, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, identifies a processor for which the priority of the access authority of the security subsystem is set, allocates the access authority of the security subsystem to the application processor when priority is set to the application processor, and determines that processing of at least one task corresponding to the request signal related to the access authority of the security subsystem received from the application processor has been completed. You can assign system access rights.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고, 상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.According to various embodiments, the authority assignment device, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, identifies a processor for which the priority of the access authority of the security subsystem is set, allocates the access authority of the security subsystem to the communication processor when priority is set to the communication processor, and determines that processing of at least one task corresponding to the request signal related to the access authority of the security subsystem received from the communication processor has been completed. You can assign system access rights.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환할 수 있다.According to various embodiments, the communication processor may return the access authority to the security subsystem regardless of the completion of processing by the security function related to the communication processor when a specified reference time has elapsed based on the time point at which the access authority of the security subsystem is allocated from the authority allocation device.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 경우, 이전에 상기 보안 서브시스템의 접근 권한을 할당받은 상태에서 상기 지정된 기준시간에 기반하여 처리가 완료되지 않은 보안 기능이 존재하는지 확인하고, 상기 처리가 완료되지 않은 보안 기능이 존재하는 경우, 상기 보안 서브시스템을 통해 상기 처리가 완료되지 않은 보안 기능을 처리할 수 있다.According to various embodiments of the present disclosure, when the access authority of the security subsystem is allocated from the authority assignment device, the communication processor may check whether there is a security function whose processing has not been completed based on the specified reference time in a state in which the access authority of the security subsystem has been previously allocated, and if there is a security function whose processing has not been completed, the communication processor may process the security function whose processing has not been completed through the security subsystem.
다양한 실시예에 따르면, 상기 보안 서브시스템은, 상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하고, 상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제할 수 있다.According to various embodiments, the security subsystem may delete data related to the security function of the security function of the application processor and the first key when receiving information related to the return of the access right of the security subsystem allocated to the application processor from the authority allocation device, and delete data related to the second key and security function of the communication processor when receiving information related to the return of the access authority of the security subsystem allocated to the communication processor from the authority allocation unit.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한 할당과 관련된 정보를 상기 보안 서브시스템에 제공하고, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한 할당과 관련된 정보를 상기 보안 서브시스템에 제공할 수 있다.According to various embodiments of the present disclosure, when the access right of the security subsystem is assigned to the application processor, information related to the assignment of access rights to the application processor may be provided to the security subsystem, and when the access rights of the security subsystem are assigned to the communication processor, information related to the assignment of access rights to the communication processor may be provided to the security subsystem.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 지정된 기준시간이 경과하기 이전에 상기 커뮤니케이션 프로세서와 관련된 보안 기능의 처리를 완료한 경우, 상기 보안 서브시스템의 접근 권한을 반환할 수 있다.According to various embodiments, the communication processor may return the access authority of the security subsystem when processing of the security function related to the communication processor is completed before the specified reference time elapses.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고, 상기 프로세서 키 관리 장치는, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 어플리케이션 프로세서와 관련된 상기 제 1 키를 상기 보안 서브시스템으로 전송할 수 있다.According to various embodiments, when the access authority of the security subsystem is assigned to the application processor, the authority assignment device may provide information related to the allocation of access authority to the application processor to the processor key management unit, and the processor key management apparatus may transmit the first key related to the application processor to the security subsystem based on the information related to the allocation of access authority to the application processor.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고, 상기 프로세서 키 관리 장치는, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 커뮤니케이션 프로세서와 관련된 상기 제 2 키를 상기 보안 서브시스템으로 전송할 수 있다.According to various embodiments, when the access authority of the security subsystem is assigned to the communication processor, the authority allocation device provides information related to the allocation of access authority to the communication processor to the processor key management unit, and the processor key management unit transmits the second key related to the communication processor to the security subsystem based on the information related to the allocation of access authority to the communication processor.
도 4a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.4A is an example of allocating access rights of a security device (eg, the security subsystem 230) to a first processor in an electronic device according to various embodiments.
도 4a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 401). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments of the present disclosure with reference to FIG. 4A, when there is at least one job related to a security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 1 프로세서(200)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 1 프로세서(200)로 전송할 수 있다(동작 403). 일예로, 접근 권한의 할당과 관련된 신호는 접근 권한을 할당한 프로세서(예: 제 1 프로세서(200))와 관련된 정보(예: 식별 정보)를 포함할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하지 않는 경우, 제 1 프로세서(200)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하는 경우, 보안 서브시스템(230)의 접근 권한이 회수되는지 확인할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한이 회수되는 경우, 제 1 프로세서(200)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한에 대한 복수의 요청 신호들이 수신된 경우, 권한 할당 방식, 접근 권한의 요청 시점 또는 접근 권한의 우선순위 중 적어도 하나에 기반하여 제 1 프로세서(200)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 1 프로세서(200)에 할당한 경우, 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)를 보안 서브시스템(230)으로 전송할 수 있다(동작 405). 일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)에 기반하여 제 1 프로세서(200)의 키를 획득할 수 있다. 일예로, 제 1 프로세서(200)의 키는 도 2b의 프로세서 키 관리 모듈(233)에 포함되는 프로세서 키 선택 모듈(241)을 통해 제 1 프로세서 키 관리 모듈(242)로부터 획득될 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 407). 일 실시예에 따르면, 보안 서브시스템(230)은 제 1 프로세서(200)의 키에 기반하여 제 1 프로세서(200)의 보안 기능을 처리할 수 있다. 예를 들어, 보안 기능은 제 1 프로세서(200)와 관련된 파일 시스템의 암호화, 제 1 프로세서(200)와 관련된 RAM(random access memory)의 암호화, 제 1 프로세서(200)와 관련된 중요 데이터(예: 결제 데이터)의 암호화 서명 생성, 서명 검사 또는 암호키 생성을 위한 기능 중 적어도 하나를 포함할 수 있다. According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 409). 일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한을 반환하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청에 기반하여 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 411).According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 반환에 기반하여 제 1 프로세서(200)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 413). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 1 프로세서(200)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 413).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 415). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 1 프로세서(200)와 관련된 정보를 삭제할 수 있다. 일예로, 제 1 프로세서(200)와 관련된 정보는 제 1 프로세서(200)의 키 및/또는 제 1 프로세서(200)의 키에 기반한 연산 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 411). 일예로, 도 4a의 동작 409는 생략될 수 있다.According to various embodiments, the
도 4b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.4B is an example for allocating access rights of a security device (eg, the security subsystem 310) to a first processor in an electronic device according to various embodiments.
도 4b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 421). According to various embodiments of the present disclosure with reference to FIG. 4B, when there is at least one job related to a security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 1 프로세서(200)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 1 프로세서(200)로 전송할 수 있다(동작 423). 일예로, 접근 권한의 할당과 관련된 신호는 접근 권한을 할당한 프로세서(예: 제 1 프로세서(200))와 관련된 정보(예: 식별 정보)를 포함할 수 있다. 일예로, 도 4b의 동작 421 및 동작 423은 도 4a의 동작 401 및 동작 403에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 1 프로세서(200)에 할당한 경우, 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 425). According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)에 기반하여 제 1 프로세서(200)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 1 프로세서(200)의 키와 관련된 정보(또는 제 1 프로세서(200)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 427). 일예로, 제 1 프로세서(200)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 1 프로세서 키 관리 모듈(304)로부터 획득될 수 있다.According to various embodiments, the processor
다양한 실시예에 따르면, 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 429). 일 실시예에 따르면, 보안 서브시스템(310)은 프로세서 키 관리 장치(300)로부터 획득한 제 1 프로세서(200)의 키에 기반하여 제 1 프로세서(200)의 보안 기능을 처리할 수 있다. 예를 들어, 보안 기능은 제 1 프로세서(200)와 관련된 파일 시스템의 암호화, 제 1 프로세서(200)와 관련된 RAM의 암호화, 제 1 프로세서(200)와 관련된 중요 데이터(예: 결제 데이터)의 암호화, 서명 생성 서명 검사 또는 암호키 생성을 위한 기능 중 적어도 하나를 포함할 수 있다. According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 431). 일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 433)According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 1 프로세서(200)의 접근 권한의 반환에 기반하여 제 1 프로세서(200)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 435). 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 보안 서브시스템(310)의 접근 권한 반환과 관련된 요청 신호를 수신한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 435).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 437). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 1 프로세서(200)와 관련된 정보를 삭제할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 433). 일예로, 도 4b의 동작 431은 생략될 수 있다.According to various embodiments, the
도 5는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(500)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 5의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 5 is a
도 5를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 권한 할당 장치(220))는 동작 501에서, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호가 수신되는지 확인할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments of the present disclosure with reference to FIG. 5 , the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호가 수신되지 않는 경우(예: 동작 501의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device (eg, the authority assignment device 220) does not receive a request signal related to the access authority of the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 수신한 경우(예: 동작 501의 '예'), 동작 503에서, 제 1 프로세서(200) 또는 제 2 프로세서(210)에서 보안 서브시스템(230 또는 310)을 사용 중인지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))가 존재하는 경우, 보안 서브시스템(230 또는 310)이 사용 중인 것으로 판단할 수 있다.According to various embodiments, when the electronic device (eg, the authority assignment device 220) receives a request signal related to the access authority of the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)이 사용되지 않는 것으로 판단한 경우(예: 동작 503의 '아니오'), 동작 507에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230)의 접근 권한을 할당할 수 있다.According to various embodiments, when the electronic device (eg, the authority assignment unit 220) determines that the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)이 사용 중인 것으로 판단한 경우(예: 동작 503의 '예'), 동작 505에서, 보안 서브시스템(230 또는 310)의 접근 권한이 회수되었는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))로부터 접근 권한의 반환과 관련된 요청 신호를 수신한 경우, 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터를 삭제하도록 보안 서브시스템(230 또는 310)을 제어할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에서 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제가 완료된 것으로 판단한 경우, 보안 서브시스템(230 또는 310)의 접근 권한이 회수된 것으로 판단할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한을 반환하는 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when the electronic device (eg, the authority assignment device 220) determines that the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한이 회수되지 않은 것으로 판단한 경우(예: 동작 505의 '아니오'), 동작 505에서, 보안 서브시스템(230 또는 310)의 접근 권한이 회수되는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되는지 확인할 수 있다.According to various embodiments, when the electronic device (eg, the authority assignment device 220) determines that the access authority of the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한이 회수된 것으로 판단한 경우(예: 동작 505의 '예'), 동작 507에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)의 접근 권한에 대한 복수의 요청 신호들이 수신된 경우, 권한 할당 방식, 접근 권한의 요청 시점 또는 접근 권한의 우선순위 중 적어도 하나에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다. According to various embodiments, when the electronic device (eg, the authority assignment unit 220) determines that the access authority of the
다양한 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키를 획득할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 도 2b의 키 선택 모듈(241)을 통해 제 1 프로세서 키 관리 모듈(242) 또는 제 2 프로세서 키 관리 모듈(243)로부터 제 1 프로세서(200)의 키 또는 제 2 프로세서(210)의 키를 획득할 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 도 3의 프로세서 키 관리 장치(300)로부터 보안 서브시스템(310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키(예: 제 1 프로세서(200)의 키 또는 제 2 프로세서(210)의 키)를 획득할 수 있다.According to various embodiments, the
도 6은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(600)이다. 일 실시예에 따르면, 도 6의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 6의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 6의 적어도 일부 구성은 도 7을 참조하여 설명할 수 있다. 도 7은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다. 6 is a
도 6 및 도 7을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 권한 할당 장치(220))는 동작 601에서, 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되는지 확인할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200)는 도 7과 같이, 보안 기능과 관련된 복수의 작업들이 존재하는 경우, 각각의 작업에 대응하는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(702, 704, 706 및 708)을 권한 할당 장치(220)로 전송할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)이 사용되지 않는 것으로 판단한 경우, 제 1 프로세서(200)(예: AP(application processor))로부터 수신한 복수의 요청 신호들(702, 704, 706 및 708)의 적어도 일부(예: 제 1 작업에 대응하는 요청 신호(702))에 기반하여 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다(722). 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 제 1 작업과 관련된 보안 기능을 수행할 수 있다. 제 1 프로세서(200)는 제 1 작업과 관련된 보안 기능의 수행이 완료된 것으로 판단한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 수신한 경우, 제 1 프로세서(200)와 관련된 데이터의 삭제를 요청하는 신호를 보안 서브시스템(230 또는 310)로 전송할 수 있다. 보안 서브시스템(230 또는 310)은 제 1 프로세서(200)와 관련된 데이터의 삭제를 요청하는 신호에 기반하여 제 1 프로세서(200)와 관련된 데이터를 삭제할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에서 제 1 프로세서(200)와 관련된 데이터의 삭제가 완료된 것으로 판단한 경우, 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수된 것으로 판단할 수 있다. 일예로, 권한 할당 장치는 유한 상태 기계(FSM)를 통해 보안 서브시스템(230 또는 310)에서 제 1 프로세서(200)와 관련된 데이터의 삭제가 완료되는지 확인할 수 있다. 예를 들어, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되지 않은 경우, 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.According to various embodiments of the present disclosure with reference to FIGS. 6 and 7 , the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 601의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the access right to the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수된 경우(예: 동작 601의 '예'), 동작 603에서, 제 2 프로세서(210)(예: CP(communication processor))의 권한 요청이 존재하는지 확인할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다. According to various embodiments, when the access authority to the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 경우(722), 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(704, 706, 708, 710 및/또는 712)을 저장할 수 있다. 예를 들어, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(704, 706, 708, 710 및/또는 712)과 관련된 정보는 권한 할당 장치(220)의 메모리(미 도시)에 저장될 수 있다. 예를 들어, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(704, 706, 708, 710 및/또는 712)과 관련된 정보는 제 1 프로세서(200)의 메모리(미 도시) 및/또는 제 2 프로세서(200)의 메모리(미 도시)에 저장될 수 있다. 권한 할당 장치(220)는 권한 할당 장치(220)의 유한 상태 기계(예: 제 3 FSM)를 통해, 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 상태에서 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(704, 706, 708, 710 및/또는 712)을 확인할 수 있다. 일예로, 제 1 프로세서(200)의 메모리는 제 1 프로세서(200)를 포함하는 프로세서 패키지에 포함된 메모리를 포함할 수 있다. 일예로, 제 2 프로세서(210)의 메모리는 제 2 프로세서(210)를 포함하는 프로세서 패키지에 포함된 메모리를 포함할 수 있다. 일예로, 제 1 프로세서(200)의 메모리 및 제 2 프로세서(200)의 메모리는 제 1 프로세서(200) 및 제 2 프로세서(210)가 포함되는 하나의 프로세서 패키지에 포함된 메모리를 포함할 수 있다.According to an embodiment, when the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 동안 저장된 요청 신호들(704, 706, 708, 710 및/또는 712) 중 제 1 프로세서(200)와 상이한 제 2 프로세서(210)로부터 수신된 요청 신호(예: 제 5 작업에 대응하는 요청 신호(710))가 존재하는지 확인할 수 있다. 일예로, 지정된 개수는 권한 할당 장치(220)가 저장할 수 있는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호의 최대 개수로, 권한 할당 장치(220)와 관련된 메모리(또는 버퍼, 큐)의 크기에 기반하여 설정될 수 있다. According to an embodiment, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)의 권한 요청이 존재하는 경우(예: 동작 603의 '예'), 동작 605에서, 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 권한 할당 방식(예: semaphore 방식)을 사용하는 경우, 하나의 프로세서(예: 제 1 프로세서(200))로부터 연속적으로 수신한 복수의 요청 신호들(702, 704, 706 및 708)의 하나의 요청 신호로 판단할 수 있다. 권한 할당 장치(220)는 제 1 프로세서(200)로부터 수신한 복수의 요청 신호들(702, 704, 706 및 708)에 기반하여 이전 시점에 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당한 경우, 제 2 프로세서(210)의 요청 신호(710 및/또는 712)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 제 5 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, the electronic device (eg, the authority assignment device 220) may allocate the access authority of the
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(230)은 도 2b의 키 선택 모듈(241)을 통해 제 2 프로세서 키 관리 모듈(243)로부터 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(310)은 도 3의 프로세서 키 관리 장치(300)로부터 제 2 프로세서(210)의 키를 획득할 수 있다.According to an embodiment, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)의 권한 요청이 존재하지 않고, 제 1 프로세서(200)의 권한 요청이 존재하는 경우(예: 동작 603의 '아니오'), 동작 607에서, 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(210)에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 동안 제 1 프로세서(200)로부터 복수의 요청 신호들(704, 706 및 708)만 수신한 경우, 제 1 프로세서(200)의 제 2 작업에 대응하는 요청 신호(704)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 제 2 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, the electronic device (eg, the authority assignment device 220) may allocate the access authority of the
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 1 프로세서(200)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(230)은 도 2b의 키 선택 모듈(241)을 통해 제 1 프로세서 키 관리 모듈(242)로부터 제 1 프로세서(200)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(310)은 도 3의 프로세서 키 관리 장치(300)로부터 제 1 프로세서(110)의 키를 획득할 수 있다.According to an embodiment, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 제 1 프로세서(200)의 제 2 작업에 대응하는 요청 신호(704)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 제 2 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, when the electronic device (eg, the authority assignment device 220) retrieves the access authority of the
도 8은 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(800)이다. 일 실시예에 따르면, 도 8의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 8의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 8의 적어도 일부 구성은 도 9를 참조하여 설명할 수 있다. 도 9는 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.8 is a
도 8 및 도 9를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 권한 할당 장치(220))는 동작 801에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 수신한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))와 관련된 데이터의 삭제를 요청하는 신호를 보안 서브시스템(230 또는 310)로 전송할 수 있다. 보안 서브시스템(230 또는 310)은 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))와 관련된 데이터의 삭제를 요청하는 신호에 기반하여 제 1 프로세서(200) 또는 제 2 프로세서(210)와 관련된 데이터를 삭제할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에서 제 1 프로세서(200) 또는 제 2 프로세서(210)와 관련된 데이터의 삭제가 완료된 것으로 판단한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수된 것으로 판단할 수 있다. 일예로, 권한 할당 장치는 유한 상태 기계(FSM)를 통해 보안 서브시스템(230 또는 310)에서 제 1 프로세서(200) 또는 제 2 프로세서(210)와 관련된 데이터의 삭제가 완료되는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되지 않은 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.According to various embodiments of the present disclosure with reference to FIGS. 8 and 9 , the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 801의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the access right to the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한을 회수한 경우(예: 동작 801의 '예'), 동작 803에서, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)의 권한 요청 시점에 기반하여 보안 서브시스템(230 또는 310)에 대한 접근 권한을 할당하기 위한 프로세서를 선택할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)(예: AP) 또는 제 2 프로세서(210)(예: CP)로 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 경우, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(902, 904, 906, 908, 910 및/또는 912)을 저장할 수 있다. 일예로, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(902, 904, 906, 908, 910 및/또는 912)과 관련된 정보는 권한 할당 장치(220)의 메모리(미 도시)에 저장될 수 있다. 권한 할당 장치(220)는 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(902, 904, 906, 908, 910 및/또는 912) 중 접근 권한의 요청 시점(예: 902)이 가장 빠른 제 2 프로세서(210)를 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 프로세서로 선택할 수 있다. According to various embodiments, when the access right to the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 동작 805에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한을 할당하기 위해 선택된 프로세서로 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 권한 할당 방식(예: queue 방식)을 사용하고 제 1 프로세서(200) 및 제 2 프로세서(210)의 우선순위가 설정되지 않은 경우, 보안 서브시스템(230 또는 310)의 접근 권한의 요청 시점에 기반하여 순차적으로 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)로 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 도 9와 같이, 제 2 프로세서(210)의 권한 요청 시점이 가장 빠른 경우, 제 2 프로세서(210)의 요청 신호(902)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(902)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, the electronic device (e.g., the authority assignment device 220) may allocate the access authority of the
다양한 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키를 획득할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키는 도 2b와 같이, 보안 서브시스템(230)의 내부에 포함된 제 1 프로세서 키 관리 모듈(242) 또는 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다. 일 실시예에 따르면, 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 키는 도 3과 같이, 보안 서브시스템(310)과 별도의 프로세서 키 관리 장치(300)로부터 획득될 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 제 1 프로세서(200)의 요청 신호(904)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(904)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, when the electronic device (eg, the authority assignment device 220) retrieves the access authority of the
도 10은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(1000)이다. 일 실시예에 따르면, 도 10의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 10의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 10의 적어도 일부 구성은 도 11 및 도 12를 참조하여 설명할 수 있다. 도 11은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다. 도 12는 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 다른 일예이다.10 is a
도 10, 도 11 및/또는 도 12를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 권한 할당 장치(220))는 동작 1001에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)(예: AP) 또는 제 2 프로세서(210)(예: CP)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 수신한 경우, 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제를 요청하는 신호를 보안 서브시스템(230 또는 310)로 전송할 수 있다. 보안 서브시스템(230 또는 310)은 데이터의 삭제를 요청하는 신호에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터를 삭제할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에서 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제가 완료된 것으로 판단한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수된 것으로 판단할 수 있다. 일예로, 권한 할당 장치는 유한 상태 기계(FSM)를 통해 보안 서브시스템(230 또는 310)에서 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제가 완료되는지 확인할 수 있다. 일예로, 보안 서브시스템(230 또는 310)의 접근 권한이 할당되었던 프로세서는 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 전송한 프로세서를 포함할 수 있다.According to various embodiments of the present disclosure referring to FIGS. 10, 11, and/or 12, the electronic device (e.g., the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되지 않은 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.According to an embodiment, when the request signal related to the return of the access right to the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 1001의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the access right to the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한을 회수한 경우(예: 동작 1001의 '예'), 동작 1003에서, 우선순위가 설정된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 권한 요청이 존재하는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 경우, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1102, 1104, 1106, 1108, 1110 및/또는 1112)을 저장할 수 있다. 일예로, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1102, 1104, 1106, 1108, 1110 및/또는 1112)과 관련된 정보는 권한 할당 장치(220)의 메모리(미 도시)에 저장될 수 있다. 권한 할당 장치(220)는 제 1 프로세서(200)에 보안 서브시스템(230 또는 310)에 대한 접근 권한의 우선순위가 설정된 경우, 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1102, 1104, 1106, 1108, 1110 및/또는 1112) 중 제 1 프로세서(200)로부터 수신한 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호(예: 1104, 1108 및/또는 1112)가 존재하는지 확인할 수 있다. According to various embodiments, when the electronic device (eg, the authority assignment device 220) retrieves the access authority to the
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 경우, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 수신한 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1202, 1204, 1206, 1208, 1210 및/또는 1212)을 저장할 수 있다. 일예로, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1202, 1204, 1206, 1208, 1210 및/또는 1212)과 관련된 정보는 권한 할당 장치(220)의 메모리(미 도시)에 저장될 수 있다. 권한 할당 장치(220)는 제 2 프로세서(200)에 보안 서브시스템(230 또는 310)에 대한 접근 권한의 우선순위가 설정된 경우, 지정된 개수의 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호들(1202, 1204, 1206, 1208, 1210 및/또는 1212) 중 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호(예: 1210 및/또는 1212)가 존재하는지 확인할 수 있다.According to an embodiment, when the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 우선순위가 설정된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 권한 요청이 존재하는 경우(예: 동작 1003의 '예'), 동작 1005에서, 보안 서브시스템(230 또는 310)의 접근 권한을 우선순위가 설정된 프로세서에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 도 11을 참조하면, 제 2 권한 할당 방식(예: queue 방식)을 사용하고 제 1 프로세서(200)에 우선순위가 설정된 경우, 제 1 프로세서(200)로부터 수신한 요청 신호들(1104, 1108 및 1112) 중 가장 먼저 수신한 요청 신호(1104)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1104)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, the electronic device (eg, the authority assignment device 220) may allocate the access authority of the
일 실시예에 따르면, 권한 할당 장치(220)는 도 12를 참조하면, 제 2 권한 할당 방식(예: queue 방식)을 사용하고 제 2 프로세서(210)에 우선순위가 설정된 경우, 제 2 프로세서(210)로부터 수신한 요청 신호들(1210 및 1212) 중 가장 먼저 수신한 요청 신호(1210)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1210)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.According to one embodiment, referring to FIG. 12, the
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 제 2 프로세서(210)의 키는 도 2b와 같이, 보안 서브시스템(230)에 내부에 포함된 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다. 예를 들어, 제 2 프로세서(210)의 키는 도 3과 같이, 보안 서브시스템(310)와 별도의 프로세서 키 관리 장치(300)로부터 획득될 수 있다.According to an embodiment, the
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 우선순위가 설정된 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))의 권한 요청이 존재하지 않는 경우(예: 동작 1003의 '아니오'), 동작 1007에서, 우선순위가 설정되지 않은 다른 프로세서의 권한 요청에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 다른 프로세서에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 도 11을 참조하면, 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 우선순위가 설정된 제 1 프로세서(200)의 요청 신호(1108)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1108)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. 예를 들어, 권한 할당 장치(220)는 우선순위가 설정된 제 1 프로세서(200)의 권한 요청이 존재하는 경우, 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 반복적으로 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 우선순위가 설정된 제 1 프로세서(200)의 권한 요청이 존재하지 않는 경우, 우선순위가 설정되지 않은 제 2 프로세서(210)의 요청 신호(1102)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1102)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.According to various embodiments, the electronic device (eg, the authority assignment device 220) may allocate the access authority of the
일 실시예에 따르면, 권한 할당 장치(220)는 도 12를 참조하면, 제 2 프로세서(200)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 우선순위가 설정된 제 2 프로세서(210)의 요청 신호(1212)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1212)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. 권한 할당 장치(220)는 우선순위가 설정된 제 2 프로세서(210)의 권한 요청이 존재하지 않는 경우, 우선순위가 설정되지 않은 제 1 프로세서(200)의 요청 신호(1202)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1202)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 1 프로세서(200)의 키를 획득할 수 있다. 예를 들어, 제 1 프로세서(200)의 키는 도 2b와 같이, 보안 서브시스템(230)의 내부에 포함된 제 1 프로세서 키 관리 모듈(242)로부터 획득될 수 있다. 예를 들어, 제 1 프로세서(200)의 키는 도 3과 같이, 보안 서브시스템(310)와 별도의 프로세서 키 관리 장치(300)로부터 획득될 수 있다.According to an embodiment, referring to FIG. 12 , when the access right of the
도 13은 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 요청하기 위한 흐름도(1300)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 13의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 13 is a
도 13을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 동작 1301에서, 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행할 것인지 판단할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 보안 서브시스템(230 또는 310)을 통해 완료하지 못한 작업이 존재하는 경우, 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하지 않는 경우, 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하지 않는 것으로 판단할 수 있다.According to various embodiments of the present disclosure referring to FIG. 13 , the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하지 않는 것으로 판단한 경우(예: 동작 1301의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 요청하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when it is determined that the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하는 것으로 판단한 경우(예: 동작 1301의 '예'), 동작 1303에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments, when it is determined that the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 동작 1305에서, 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되는지 확인할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호에 대한 응답으로 권한 할당 장치(220)로부터 ACK 신호를 수신한 경우, 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 것으로 판단할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호에 대한 응답으로 권한 할당 장치(220)로부터 ACK 신호를 수신하지 못한 경우, 보안 서브시스템(230 또는 310)의 접근 권한이 할당되지 않은 것으로 판단할 수 있다.According to various embodiments, the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되지 않은 것으로 판단한 경우(예: 동작 1305의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 요청하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 것으로 판단한 경우(예: 동작 1305의 '예'), 동작 1307에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당 받기 위해 권한 할당 장치(220)로 전송한 요청 신호에 대응하는 적어도 하나의 작업과 관련된 보안 기능을 보안 서브시스템(230 또는 310)을 통해 수행할 수 있다. According to various embodiments, when the electronic device (eg, the
다양한 실시예에 따르면, 제 1 프로세서(200) 또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능의 수행을 완료한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내는 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당받은 시점부터 지정된 기준시간이 경과하는 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. According to various embodiments, the
도 14는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 반환하기 위한 흐름도(1400)이다. 일 실시예에 따르면, 도 14의 동작들은 도 13의 동작 1307의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 14의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 14 is a
도 14를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 할당받은 경우(예: 도 13의 동작 1305의 '예'), 동작 1401에서, 제 2 프로세서(210)에 의한 보안 서브시스템(230 또는 310)의 점유 시간을 확인할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간을 확인할 수 있다. 일예로, 타이머는 제 2 프로세서(210)에 의해 실행되는 타이머 명령어, 타이머 프로그램 및/또는 제 2 프로세서(210)에 포함된 하드웨어로 구현된 타이머를 포함할 수 있다.According to various embodiments of the present disclosure referring to FIG. 14 , when the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 동작 1403에서, 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는지 확인할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 동안 보안 서브시스템(230 또는 310)을 점유할 수 있다. 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간 및 지정된 기준시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 사용할 수 있는 시간을 검출할 수 있다. 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)을 사용할 수 있는 시간 동안 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는지 확인할 수 있다. According to various embodiments, in
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 없는 것으로 판단한 경우(예: 동작 1403의 '아니오'), 동작 1409에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 반환한 경우, 처리하기 못한 적어도 하나의 작업의 처리를 위해 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. According to various embodiments, when it is determined that the electronic device (eg, the second processor 210) cannot process a security function related to at least one task of the second processor 210 (eg, 'No' in operation 1403), in
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우(예: 동작 1403의 '예'), 동작 1405에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다.According to various embodiments, when it is determined that the electronic device (eg, the second processor 210) can process the security function related to the at least one task of the second processor 210 (eg, 'Yes' in operation 1403), in
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 동작 1407에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능 수행 중 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간에 기반하여 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하는지 확인할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 미만인 경우, 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 이상인 경우, 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.According to various embodiments, in
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하는 것으로 판단한 경우(예: 동작 1407의 '예'), 동작 1405에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. According to various embodiments, when the electronic device (eg, the second processor 210) determines that the specified occupancy condition related to the
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(예: 동작 1407의 '아니오'), 동작 1409에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 위한 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when the electronic device (eg, the second processor 210) determines that the specified occupancy condition related to the
다양한 실시예에 따르면, 전자 장치(101)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유하는 시간을 지정된 기준시간으로 한정함으로써, 제 1 프로세서(200)가 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 안전성을 확보할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 점유 시간이 지정된 기준시간 미만인 상태에서 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능의 수행을 완료한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 전자 장치(101)는 제 2 프로세서(210)뿐만 아니라 제 1 프로세서(200)가 보안 서브시스템(230 또는 310)을 점유하는 시간을 지정된 기준시간으로 한정할 수도 있다.According to various embodiments, the
도 15a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 요청하기 위한 일예이다.15A is an example of requesting an access right of a security device (eg, the security subsystem 230) in an electronic device according to various embodiments.
도 15a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1501). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments of the present disclosure with reference to FIG. 15A, when there is at least one job related to a security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1503). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하지 않는 경우, 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하는 경우, 보안 서브시스템(230)의 접근 권한이 회수되는지 확인할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한이 회수되는 경우, 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 예를 들어, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한에 대한 복수의 요청 신호들을 수신한 경우, 권한 할당 방식, 접근 권한의 요청 시점 및/또는 접근 권한의 우선순위에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 보안 서브시스템(230)으로 전송할 수 있다(동작 1506). 일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 획득할 수 있다. 일예로, 제 2 프로세서(210)의 키는 도 2b의 프로세서 키 관리 모듈(233)에 포함되는 프로세서 키 선택 모듈(241)을 통해 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다. 일예로, 제 2 프로세서(210)의 키는 보안 서브시스템(230)의 접근 권한을 할당받은 제 2 프로세서(210)의 루트 키(root key)로, OTP 또는 이퓨즈를 포함할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다(동작 1505). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 1507). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간 및 지정된 기준시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 사용할 수 있는 시간을 검출할 수 있다. 제 2 프로세서(210)는 보안 서브시스템(230)을 사용할 수 있는 시간 동안 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는지 확인할 수 있다. 제 2 프로세서(210)는 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(230)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다. 예를 들어, 보안 기능은 제 2 프로세서(210)와 관련된 RAM의 암호화, 제 2 프로세서(210)와 관련된 중요 데이터(예: IMEI 또는 MEID)의 암호화, 제 2 프로세서(210)와 관련된 중요 데이터의 복호화, 제 2 프로세서(210)와 관련된 중요 데이터의 인증서 및/또는 서명 생성, 제 2 프로세서(210)와 관련된 중요 데이터의 인증서 및/또는 서명 검수, 또는 암호키 생성을 위한 기능 중 적어도 하나를 포함할 수 있다. 예를 들어, 보안 기능은 제 1 프로세서(200)와 관련된 중요 데이터(예: 결제 데이터)의 암호화 및/또는 암호키 생성을 위한 기능을 포함할 수 있다. According to various embodiments, when it is determined that the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1509). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1511)According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 1513). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 1513).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 1515). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1511). 일예로, 도 15a의 동작 1511은 생략될 수 있다.According to various embodiments, the
도 15b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 요청하기 위한 일예이다.15B is an example of requesting an access right of a security device (eg, the security subsystem 310) in an electronic device according to various embodiments.
도 15b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1521). According to various embodiments of the present disclosure with reference to FIG. 15B, when there is at least one job related to a security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1523). 일예로, 도 15b의 동작 1521 및 동작 1523은 도 15a의 동작 1501 및 동작 1503에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1525). According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1527). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.According to various embodiments, the processor
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다(동작 1529). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 1531). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간 및 지정된 기준시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 사용할 수 있는 시간을 검출할 수 있다. 제 2 프로세서(210)는 보안 서브시스템(310)을 사용할 수 있는 시간 동안 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는지 확인할 수 있다. 제 2 프로세서(210)는 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다. According to various embodiments, when it is determined that the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1533). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1535)According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 1537). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 1537).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 1539). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1535). 일예로, 도 15b의 동작 1533은 생략될 수 있다.According to various embodiments, the
도 16a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 반환하기 위한 일예이다.16A is an example for returning an access right of a security device (eg, the security subsystem 230) in an electronic device according to various embodiments.
도 16a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1601). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments of the present disclosure with reference to FIG. 16A, when there is at least one job related to a security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1603). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하지 않는 경우, 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 회수한 경우, 권한 할당 방식, 접근 권한의 요청 시점 및/또는 접근 권한의 우선순위에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 보안 서브시스템(230)으로 전송할 수 있다(예: 동작 1606). 일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 획득할 수 있다. 일예로, 제 2 프로세서(210)의 키는 도 2b의 프로세서 키 관리 모듈(233)에 포함되는 프로세서 키 선택 모듈(241)을 통해 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다. According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다(동작 1605). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 1607). 일 실시예에 따르면, 보안 서브시스템(230)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.According to various embodiments, when it is determined that the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)을 통해 보안 기능을 수행 중 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하는지 할 수 있다(동작 1609). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 미만인 경우, 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 이상인 경우, 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(동작 1609), 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1611). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1611). 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when it is determined that the specified occupancy condition related to the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1613)According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 1615). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 1615).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 1617). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 적어도 하나의 작업을 완료하지 못한 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1619).According to various embodiments, when the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다(동작 1621). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1621).According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 보안 서브시스템(230)으로 전송할 수 있다(예: 동작 1623). 일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 획득할 수 있다. 일예로, 제 2 프로세서(210)의 키는 도 2b의 프로세서 키 관리 모듈(233)에 포함되는 프로세서 키 선택 모듈(241)을 통해 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 1625). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동(예: reset)시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다. 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(230)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다(동작 1627). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1627). 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1613). 일예로, 도 16a의 동작 1611 및 동작 1627은 생략될 수 있다.According to various embodiments, the
도 16b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 반환하기 위한 일예이다.16B is an example for returning an access right of a security device (eg, the security subsystem 310) in an electronic device according to various embodiments.
도 16b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1631). According to various embodiments of the present disclosure with reference to FIG. 16B, when there is at least one job related to the security function, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1633). 일예로, 도 16b의 동작 1631 및 동작 1633은 도 16a의 동작 1601 및 동작 1603에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1635). According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1637). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.According to various embodiments, the processor
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다(동작 1639). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 1641). 일 실시예에 따르면, 보안 서브시스템(310)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.According to various embodiments, when it is determined that the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(310)을 통해 보안 기능을 수행 중 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하는지 할 수 있다(동작 1643). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 미만인 경우, 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 이상인 경우, 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(동작 1643), 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1645). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1645). According to various embodiments, when it is determined that the specified occupancy condition related to the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1647)According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 1649). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 1649).According to various embodiments, the
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 1651). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 적어도 하나의 작업을 완료하지 못한 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1653).According to various embodiments, when the at least one task is not completed based on the designated reference time, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다(동작 1655). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1655).According to various embodiments, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1657). According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1659). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.According to various embodiments, the processor
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 1661). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동(예: reset)시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다. 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 보안 서브시스템(310)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.According to various embodiments, when the access authority of the
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한을 반환(또는 반납)할 수 있다(동작 1663). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1663). According to various embodiments, when processing of at least one task related to the security function is completed, the
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1647). 일예로, 도 16b의 동작 1645 및 동작 1663은 생략될 수 있다.According to various embodiments, the
도 17은 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))를 통해 보안 기능을 수행하기 위한 흐름도(1700)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 17의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다.17 is a
도 17을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(예: 도 14의 동작 1407의 '아니오'), 동작 1701에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.According to various embodiments of the present disclosure with reference to FIG. 17 , the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 동작 1703에서, 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하였는지 확인할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 지정된 기준시간 동안 점유함에 기반하여 보안 서브시스템(230 또는 310)을 통해 처리 중이던 보안 기능을 종료한 경우, 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하지 못한 적어도 하나의 작업이 존재하는 것으로 판단할 수 있다. According to various embodiments, in
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료한 것으로 판단한 경우(예: 동작 1703의 '예'), 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the electronic device (eg, the second processor 210) determines that the processing of the security function has been completed using the
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하지 못한 것으로 판단한 경우(예: 동작 1703의 '아니오'), 동작 1705에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.According to various embodiments, when the electronic device (eg, the second processor 210) determines that the processing of the security function has not been completed using the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 동작 1707에서, 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되는지 확인할 수 있다. According to various embodiments, the electronic device (e.g., the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되지 않은 것으로 판단한 경우(예: 동작 1707의 '아니오'), 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the electronic device (eg, the
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 것으로 판단한 경우(예: 동작 1707의 '예'), 동작 1709에서, 보안 서브시스템(230 또는 310)을 통해 처리를 완료하지 못한 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 1 작업에 대응하는 권한 요청 신호 및 제 2 작업에 대응하는 권한 요청 신호를 순차적으로 권한 할당 장치(220)로 전송할 수 있다. 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당 받았으나 지정된 기준시간에 기반하여 제 1 작업을 완료하지 못한 경우, 제 1 작업에 대응하는 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 제 2 프로세서(210)는 제 2 작업에 대응하는 권한 요청 신호에 기반하여 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 할당받은 경우, 제 2 작업보다 지정된 기준시간에 기반하여 처리를 완료하지 못한 제 1 작업과 관련된 보안 기능을 먼저 수행할 수 있다. 일예로, 권한 요청 신호는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 포함할 수 있다.According to various embodiments, when the electronic device (eg, the
다양한 실시예에 따르면, 어플리케이션 프로세서(예: 도 1의 메인 프로세서(121) 또는 도 2a 또는 도 3의 제 1 프로세서(200)) 및 커뮤니케이션 프로세서(예: 도 1의 보조 프로세서(123) 또는 도 2a 또는 도 3의 제 2 프로세서(210))를 포함하는 전자 장치(예: 도 1, 도 2a 또는 도 3의 전자 장치(101))의 동작 방법은, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템(예: 도 2a 또는 도 3의 보안 서브시스템(230 또는 310))의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작과 상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작과 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함할 수 있다.According to various embodiments, a method of operating an electronic device (eg, the
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 동작을 포함할 수 있다.According to various embodiments, the operation of assigning the access authority of the security subsystem to the application processor or the communication processor may include alternately allocating the access authority of the security subsystem to the application processor or the communication processor when a plurality of request signals related to the access authority of the security subsystem are received from the application processor and the communication processor.
다양한 실시예에 따르면, 상기 교번하게 할당하는 동작은, 상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한이 회수된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the alternately allocating may include allocating the access right of the security subsystem to the application processor based on the time point at which the request signal is received, and allocating the access right of the security subsystem to the communication processor when the access right of the security subsystem is retrieved from the application processor, when at least one request signal related to the access right of the security subsystem is received from the communication processor after continuously receiving a plurality of request signals related to the access right of the security subsystem from the application processor. there is
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.According to various embodiments, the operation of allocating the access authority of the security subsystem to the application processor or the communication processor may include allocating the access authority of the security subsystem to the application processor or the communication processor based on a time point at which the access request is received when a request signal related to the access authority of the security subsystem is received from the application processor and/or the communication processor.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작과 상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.According to various embodiments, the operation of allocating to the application processor or the communication processor includes, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, identifying a processor for which the priority of the access authority of the security subsystem is set, assigning the access authority of the security subsystem to the application processor when the priority to the application processor is set, and determining that at least one task corresponding to the request signal received from the application processor and related to the access authority of the security subsystem has been completed. In one case, an operation of allocating the access authority of the security subsystem to the communication processor may be included.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작과 상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.According to various embodiments, the operation of assigning to the application processor or the communication processor includes, when a plurality of request signals related to the access authority of the security subsystem are received from the application processor and the communication processor, identifying a processor for which the priority of the access authority of the security subsystem is set, assigning the access authority of the security subsystem to the communication processor when the priority to the communication processor is set, and determining that at least one task corresponding to the request signal related to the access authority of the security subsystem received from the communication processor has been completed. In one case, an operation of assigning the access authority of the security subsystem to the application processor may be included.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환하는 동작을 포함할 수 있다.According to various embodiments, when a specified reference time has elapsed based on the time point at which the access authority of the security subsystem is assigned to the communication processor, the security function related to the communication processor may include an operation of returning the access authority to the security subsystem regardless of completion of processing.
다양한 실시예에 따르면, 상기 보안 서브시스템의 접근 권한이 상기 커뮤니케이션 프로세서에 할당되는 경우, 이전에 상기 보안 서브시스템의 접근 권한을 할당받은 상태에서 상기 지정된 기준시간에 기반하여 처리가 완료되지 않은 보안 기능이 존재하는지 확인하는 동작, 및 상기 처리가 완료되지 않은 보안 기능이 존재하는 경우, 상기 보안 서브시스템을 통해 상기 처리가 완료되지 않은 보안 기능을 처리하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the access right of the security subsystem is assigned to the communication processor, the method may further include checking whether there is a security function whose processing has not been completed based on the specified reference time in a state in which the access right of the security subsystem has been previously assigned, and processing the security function whose processing has not been completed through the security subsystem if there is a security function whose processing has not been completed.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 어플리케이션 프로세서에 대응하는 키에 기반하여 상기 어플리케이션 프로세서와 관련된 보안 기능을 수행하는 동작, 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 커뮤니케이션 프로세서에 대응하는 키에 기반하여 상기 어플리케이션 프로세서와 관련된 보안 기능을 수행하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include performing a security function related to the application processor based on a key corresponding to the application processor when the access authority of the security subsystem is allocated to the application processor, or performing a security function related to the application processor based on a key corresponding to the communication processor when the access authority of the security subsystem is allocated to the communication processor.
다양한 실시예에 따르면, 상기 보안 서브시스템의 접근 권한이 상기 커뮤니케이션 프로세서에 할당된 시간이 상기 지정된 기준시간이 경과하기 이전에 상기 커뮤니케이션 프로세서와 관련된 보안 기능의 처리를 완료한 경우, 상기 보안 서브시스템의 접근 권한을 반환하는 동작을 더 포함할 수 있다.According to various embodiments, when the time allotted to the communication processor by the access authority of the security subsystem completes processing of the security function related to the communication processor before the designated reference time elapses, an operation of returning the access authority of the security subsystem may be further included.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작은, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치(예: 도 3의 프로세서 키 관리 장치(300))를 통해 상기 커뮤니케이션 프로세서와 관련된 루트 키를 획득하는 동작을 포함할 수 있다.According to various embodiments, the operation of acquiring the key related to the communication processor may include, when the access authority of the security subsystem is assigned to the communication processor, an operation of acquiring a root key related to the communication processor through a processor key management device separate from the security subsystem (eg, the processor
다양한 실시예에 따르면, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 어플리케이션 프로세서와 관련된 루크 키를 획득하는 동작, 및 상기 어플리케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서와 관련된 보안 기능을 처리하는 동작을 더 포함할 수 있다.According to various embodiments, when the access authority of the security subsystem is assigned to the application processor, the method may further include obtaining a root key related to the application processor through a processor key management device separate from the security subsystem, and processing a security function related to the application processor through the security subsystem based on the key related to the application processor.
다양한 실시예에 따르면, 상기 데이터를 초기화하는 동작은, 상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작, 및 상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작을 포함할 수 있다.According to various embodiments, the operation of initializing the data may include deleting the first key and data related to the security function of the application processor when information related to the return of the access right of the security subsystem assigned to the application processor is received from the right assigning device, and deleting data related to the second key and the security function of the communication processor when receiving information related to the return of the access right of the security subsystem assigned to the communication processor from the right assigning device.
본 명세서와 도면에 개시된 본 발명의 실시예는 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다. The embodiments of the present invention disclosed in the present specification and drawings are only presented as specific examples to easily explain the technical content according to the embodiments of the present invention and help understanding of the embodiments of the present invention, It is not intended to limit the scope of the embodiments of the present invention. Therefore, the scope of various embodiments of the present invention should be construed as including all changes or modified forms derived based on the technical spirit of various embodiments of the present invention in addition to the embodiments disclosed herein are included in the scope of various embodiments of the present invention.
Claims (20)
어플리케이션 프로세서,
커뮤니케이션 프로세서,
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템(security subsystem),
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치, 및
상기 권한 할당 장치에서 상기 보안 서브시스템의 접근 권한을 할당받은 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 기반하여, 상기 어플리케이션 프로세서와 관련된 제 1 키 또는 상기 커뮤니케이션 프로세서와 관련된 제 2 키를 상기 보안 서브시스템으로 제공하는 프로세서 키 관리 장치를 포함하며,
상기 보안 서브시스템은,
상기 권한 할당 장치에서 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로의 상기 보안 서브시스템의 접근 권한의 할당에 기반하여 상기 프로세서 키 관리 장치로부터 제공받은 상기 제 1 키 또는 상기 제 2 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고,
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 전자 장치.
In electronic devices,
application processor,
communication processor,
A security subsystem for processing security functions related to the application processor or the communication processor;
an authority assignment device for allocating the access authority of the security subsystem to the application processor or the communication processor; and
A processor key management device for providing a first key related to the application processor or a second key related to the communication processor to the security subsystem based on the application processor or the communication processor to which the access right of the security subsystem is assigned by the permission assignment device,
The security subsystem,
Processing a security function related to the application processor or the communication processor using the first key or the second key provided from the processor key management device based on the allocation of access rights of the security subsystem from the permission assignment device to the application processor or the communication processor;
An electronic device that initializes data related to the application processor or the communication processor based on return of the access authority of the security subsystem assigned to the application processor or the communication processor.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 전자 장치.
According to claim 1,
The authority assigning device, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, alternately assigns the access authority of the security subsystem to the application processor or the communication processor.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고,
상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한을 회수한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
According to claim 2,
The authority assigning device, when receiving at least one request signal related to the access authority of the security subsystem from the communication processor after continuously receiving a plurality of request signals related to the access authority of the security subsystem from the application processor, assigns the access authority of the security subsystem to the application processor based on the reception time of the request signal;
and allocating the access authority of the security subsystem to the communication processor when the access authority of the security subsystem is retrieved from the application processor.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
According to claim 1,
When the authority assignment device receives a request signal related to the access authority of the security subsystem from the application processor and/or the communication processor, the electronic device assigns the access authority of the security subsystem to the application processor or the communication processor based on the reception time of the access request.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고,
상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고,
상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
According to claim 1,
The authority assignment device, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, identifies a processor for which the priority of the access authority of the security subsystem is set;
When the priority of the application processor is set, assigning the access authority of the security subsystem to the application processor;
and allocating the access authority of the security subsystem to the communication processor when it is determined that processing of at least one job corresponding to a request signal related to the access authority of the security subsystem received from the application processor is completed.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고,
상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고,
상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
According to claim 1,
The authority assignment device, when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, identifies a processor for which the priority of the access authority of the security subsystem is set;
When the priority to the communication processor is set, assigning the access authority of the security subsystem to the communication processor;
and allocating the access authority of the security subsystem to the application processor when it is determined that processing of at least one job corresponding to the request signal related to the access authority of the security subsystem received from the communication processor is completed.
상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환하는 전자 장치.
According to claim 1,
The communication processor returns the access right to the security subsystem regardless of the completion of processing by the security function related to the communication processor when a specified reference time has elapsed based on the time point at which the right to access the security subsystem is assigned by the right assigning device.
상기 보안 서브시스템은,
상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하고,
상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 전자 장치.
According to claim 1,
The security subsystem,
When information related to the return of the access right of the security subsystem allocated to the application processor is received from the rights assignment device, the first key and data related to the security function of the application processor are deleted;
The electronic device for deleting the second key and data related to the security function of the communication processor when information related to the return of the access right of the security subsystem allocated to the communication processor is received from the right assigning device.
상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고,
상기 프로세서 키 관리 장치는, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 어플리케이션 프로세서와 관련된 상기 제 1 키를 상기 보안 서브시스템으로 전송하는 전자 장치.
According to claim 1,
When the access authority of the security subsystem is assigned to the application processor, the authority assignment unit provides information related to the allocation of access authority to the application processor to the processor key management unit;
wherein the processor key management device transmits the first key associated with the application processor to the security subsystem based on information related to assignment of access rights to the application processor.
상기 권한 할당 장치는, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고,
상기 프로세서 키 관리 장치는, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 커뮤니케이션 프로세서와 관련된 상기 제 2 키를 상기 보안 서브시스템으로 전송하는 전자 장치.
According to claim 1,
When the access authority of the security subsystem is allocated to the communication processor, the authority assignment unit provides information related to the allocation of access authority to the communication processor to the processor key management unit;
wherein the processor key management device transmits the second key related to the communication processor to the security subsystem based on information related to assignment of access rights to the communication processor.
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템(security subsystem)의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작,
상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작,
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함하는 방법.
In the operating method of an electronic device including an application processor and a communication processor,
Allocating access rights of a security subsystem that processes a security function related to the application processor or the communication processor to the application processor or the communication processor;
obtaining a key related to the application processor or the communication processor when the access authority of the security subsystem is assigned to the application processor or the communication processor;
processing a security function related to the application processor or the communication processor through the security subsystem based on a key related to the application processor or the communication processor; and
and initializing data related to the application processor or the communication processor based on return of the access authority of the security subsystem assigned to the application processor or the communication processor.
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 동작을 포함하는 방법.
According to claim 11,
The assigning operation to the application processor or the communication processor includes alternately allocating the access authority of the security subsystem to the application processor or the communication processor when a plurality of request signals related to the access authority of the security subsystem are received from the application processor and the communication processor.
상기 교번하게 할당하는 동작은,
상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및
상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한이 회수된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
According to claim 12,
The operation of alternately allocating,
Allocating the access authority of the security subsystem to the application processor based on the reception time of the request signal when at least one request signal related to the access authority of the security subsystem is received from the communication processor after continuously receiving a plurality of request signals related to the access authority of the security subsystem from the application processor; and
and allocating the access authority of the security subsystem to the communication processor when the access authority of the security subsystem is retrieved from the application processor.
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
According to claim 11,
The assigning operation to the application processor or the communication processor includes, when receiving a request signal related to the access authority of the security subsystem from the application processor and/or the communication processor, allocating the access authority of the security subsystem to the application processor or the communication processor based on a receiving time point of the access request.
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은,
상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작,
상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및
상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
According to claim 11,
The operation of assigning to the application processor or the communication processor,
When a plurality of request signals related to the access authority of the security subsystem are received from the application processor and the communication processor, confirming a processor for which the priority of the access authority of the security subsystem is set;
assigning the access authority of the security subsystem to the application processor when the priority of the application processor is set; and
and allocating the access authority of the security subsystem to the communication processor when it is determined that processing of at least one job corresponding to a request signal related to the access authority of the security subsystem received from the application processor is completed.
상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은,
상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작,
상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및
상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
According to claim 11,
The operation of assigning to the application processor or the communication processor,
When a plurality of request signals related to the access authority of the security subsystem are received from the application processor and the communication processor, confirming a processor for which the priority of the access authority of the security subsystem is set;
Allocating the access authority of the security subsystem to the communication processor when the priority to the communication processor is set; and
and allocating the access authority of the security subsystem to the application processor when it is determined that processing of at least one job corresponding to a request signal related to the access authority of the security subsystem received from the communication processor is completed.
상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환하는 동작을 더 포함하는 방법.
According to claim 11,
Returning, by a security function related to the communication processor, the access authority to the security subsystem, regardless of completion of processing, when a specified reference time has elapsed based on a point in time when the access authority of the security subsystem is assigned to the communication processor.
상기 데이터를 초기화하는 동작은,
상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작, 및
상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작을 포함하는 방법.
According to claim 11,
The operation of initializing the data,
deleting the first key and data related to the security function of the application processor when information related to the return of the access right of the security subsystem assigned to the application processor is received from the rights assignment device; and
and deleting the second key and data related to a security function of the communication processor when receiving information related to the return of the access right of the security subsystem allocated to the communication processor from the right assigning device.
상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작은,
상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 커뮤니케이션 프로세서와 관련된 루트 키를 획득하는 동작을 포함하는 방법.
According to claim 11,
The operation of obtaining a key related to the communication processor,
and obtaining a root key related to the communication processor through a processor key management device separate from the security subsystem when the access authority of the security subsystem is assigned to the communication processor.
상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 어플리케이션 프로세서와 관련된 루크 키를 획득하는 동작, 및
상기 어플리케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서와 관련된 보안 기능을 처리하는 동작을 더 포함하는 방법. According to claim 11,
obtaining a rook key related to the application processor through a processor key management device separate from the security subsystem when the access authority of the security subsystem is assigned to the application processor; and
and processing a security function related to the application processor through the security subsystem based on the key related to the application processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202380017269.8A CN118541688A (en) | 2022-01-14 | 2023-01-03 | Electronic device for operating a security device and method of operating the same |
PCT/KR2023/000055 WO2023136531A1 (en) | 2022-01-14 | 2023-01-03 | Electronic device for operating security device, and operating method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220006075 | 2022-01-14 | ||
KR20220006075 | 2022-01-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230110161A true KR20230110161A (en) | 2023-07-21 |
Family
ID=87430040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220116036A KR20230110161A (en) | 2022-01-14 | 2022-09-15 | Electronic device for operating security device and operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20230110161A (en) |
-
2022
- 2022-09-15 KR KR1020220116036A patent/KR20230110161A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20210017083A (en) | Electronic device and method for generating attestation certificate based on fused key | |
EP3709205B1 (en) | Electronic device including secure integrated circuit | |
KR20200137302A (en) | Electronic device for performing discovery device and method thereof | |
KR20230020262A (en) | Method and apparatus for managing non-fungible token for digital content | |
US20230004660A1 (en) | Method of processing secure data and electronic device supporting the same | |
US20230093667A1 (en) | Method of providing login information and electronic device performing thereof | |
US20230252461A1 (en) | Electronic device for providing transaction in blockchain network and operating method thereof | |
US12088694B2 (en) | Method for providing encrypted object and electronic device for supporting the same | |
US12095911B2 (en) | Electronic device to enhance randomness of security module using multiple hardware random number generator and the method thereof | |
KR20230110161A (en) | Electronic device for operating security device and operating method thereof | |
EP4080816A1 (en) | Method for updating shared secret key, and electronic device supporting same | |
KR20230037954A (en) | Electronic device performing an encryption operation about transaction data and method in blockchain network | |
CN118541688A (en) | Electronic device for operating a security device and method of operating the same | |
KR20220096725A (en) | Electronic device performing wireless communication with accessary device and operating method thereof | |
US20240179013A1 (en) | Method for mutually attesting security levels of electronic devices in multi device environment | |
US20240178990A1 (en) | Electronic device for storing secure data and method for operating the same | |
US12026064B2 (en) | Electronic device and method of backing up secure element | |
US20230261887A1 (en) | Electronic device having partial ledger in blockchain network and operating method thereof | |
EP4328768A1 (en) | Electronic device for performing different login processes according to authentication type and control method thereof | |
US20230359530A1 (en) | Electronic device for supporting data backup, and operation method thereof | |
US20230289786A1 (en) | Electronic device for transmitting transaction by using external device and operation method thereof | |
US20240152636A1 (en) | Electronic device and method for verifying data in electronic device | |
KR20240080059A (en) | Method for mutually attestate security levels of electronic devices in multi device environment | |
EP4432143A1 (en) | Electronic device for providing security function, and operating method thereof | |
KR20240032591A (en) | Electronic device for storing encrypted data in non-volatile memory and method thereof |