WO2023136531A1 - 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법 - Google Patents

보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법 Download PDF

Info

Publication number
WO2023136531A1
WO2023136531A1 PCT/KR2023/000055 KR2023000055W WO2023136531A1 WO 2023136531 A1 WO2023136531 A1 WO 2023136531A1 KR 2023000055 W KR2023000055 W KR 2023000055W WO 2023136531 A1 WO2023136531 A1 WO 2023136531A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
security subsystem
security
authority
access
Prior art date
Application number
PCT/KR2023/000055
Other languages
English (en)
French (fr)
Inventor
조동현
이용제
김윤규
장은상
나승주
윤라경
황인철
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020220116036A external-priority patent/KR20230110161A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2023136531A1 publication Critical patent/WO2023136531A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Definitions

  • 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.
  • 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.
  • Personal information stored in electronic devices is increasing as the functions that users use through electronic devices become more diverse.
  • 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.
  • An electronic device may include a security device such as a security subsystem to enhance security of the electronic device.
  • a security device such as a security subsystem to enhance security of the electronic device.
  • a security device such as a security subsystem to enhance security of the electronic device.
  • AP application processor
  • CP communication processor
  • a first security subsystem for the application processor and a second security subsystem for the communication processor can include The first security subsystem for the application processor and the second security subsystem for the communication processor may perform the same function.
  • the physically separated application processor and communication processor may include a state composed of different chips.
  • 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.
  • a security subsystem e.g., a security subsystem
  • processors e.g., an application processor and a communication processor
  • an electronic device may include an application processor, a communication processor, a security subsystem that processes a security function related to the application processor or the communication processor, and granting access rights of the security subsystem to the application processor or the communication processor.
  • a first key related to the application processor or a second key related to the communication processor based on a right assigning device for assigning and the application processor or the communication processor to which the right to access the security subsystem is assigned by the right assigning device and a processor key management device provided to the security subsystem, wherein the security subsystem manages the processor key based on assignment of access rights of the security subsystem from the permission assignment device to the application processor or the communication processor.
  • a method of operating an electronic device including an application processor and a communication processor may assign 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.
  • An operation of assigning and, when the access authority of the security subsystem is assigned to the application processor or the communication processor, an operation of obtaining a key related to the application processor or the communication processor, and an operation of obtaining a key related to the application processor or the communication processor Based on the operation of processing the security function related to the application processor or the communication processor through the security subsystem based on the security subsystem, and the return of the access authority of the security subsystem assigned to the application processor or the communication processor, the application processor Alternatively, an operation of initializing data related to the communication processor may be included.
  • a plurality of processors eg, an application processor and a communication processor
  • one security device eg, a security subsystem
  • 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.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments.
  • FIG. 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.
  • FIG. 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.
  • FIG. 5 is a flowchart for allocating access rights of a security device in an electronic device according to various embodiments.
  • FIG. 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.
  • FIG. 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.
  • FIG. 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.
  • FIG. 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.
  • FIG. 13 is a flowchart for requesting access authority of a security device in an electronic device according to various embodiments.
  • FIG. 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.
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function.
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more, but is not limited to the above examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the memory 130 may include volatile memory 132 or non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the strength of a force generated by a touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 may be a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, a : a local area network (LAN) communication module or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, a : a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or a second network 199 (eg : It can communicate with the external electronic device 104 through a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a long-distance communication network such as a computer network (eg, LAN or WAN).
  • a computer network eg, LAN or WAN
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data throughput, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 may be configured to achieve peak data rate (eg, 20 Gbps or more) for eMBB realization, loss coverage (eg, 164 dB or less) for mMTC realization, or U-plane latency (eg, URLLC realization).
  • peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency eg, URLLC realization
  • DL downlink
  • UL uplink
  • the subscriber identification module 196 may include a plurality of subscriber identification modules. For example, a plurality of subscriber identification modules may store different subscriber information.
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from a plurality of antennas by the communication module 190, for example. It can be.
  • a signal or power may be transmitted or received between the communication module 190 and an external electronic device through at least one selected antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a high-frequency (eg, mmWave) antenna module.
  • a high frequency (eg mmWave) antenna module is disposed on or adjacent to a printed circuit board, a first side (eg bottom side) of the printed circuit board and supports a designated high frequency band (eg mmWave band).
  • an RFIC that can transmit or receive signals in a designated high frequency band (eg, an array antenna) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of a printed circuit board and capable of transmitting or receiving signals in a designated high-frequency band;
  • the plurality of antennas may include a patch array antenna and/or a dipole array antenna.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal eg, : commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • Electronic devices 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.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeably interchangeable with terms such as, for example, logic, logical blocks, components, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device-readable storage medium eg compact disc read only memory (CD-ROM)
  • an application store eg Play Store TM
  • It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • 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.
  • each component (eg, module or program) of the components described above may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. .
  • 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.
  • a plurality of components eg modules or programs
  • 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. .
  • operations performed by modules, programs, or other components are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.
  • 2A is a block diagram of an electronic device 101 for providing security functions according to various embodiments.
  • 2B is a block diagram of a security device (eg, security subsystem 230) according to various embodiments.
  • the electronic device 101 is a security device for executing a security function and may include a security subsystem 230 .
  • the security device is not limited to the security subsystem 230 and may include other devices for executing security functions of the electronic device 101 .
  • the electronic device 101 includes a first processor 200, a second processor 210, an authority assignment device 220, and/or a security subsystem 230.
  • the first processor 200 may be substantially the same as the processor 120 or the main processor 121 of FIG. 1 , or may include the processor 120 or the main processor 121 .
  • the second processor 210 may be substantially the same as the processor 120 or the auxiliary processor 123 (eg, a communication processor) of FIG. 1 , or may include the processor 120 or the auxiliary processor 123 .
  • the first processor 200 and/or the second processor 210 operatively and functionally with the rights assignment device 220 and/or the security subsystem 230.
  • the first processor 200 and the second processor 210 may be physically or hardwarely separated.
  • the first processor 200, the second processor 210, the rights assignment device 220 and/or the security subsystem 230 may be included in one package.
  • the first processor 200, the second processor 210, the authority assignment device 220, and/or the security subsystem 230 may be included in a plurality of packages (eg, a processor package). .
  • the first processor 200 is at least one component (eg, the second processor 210) of the electronic device 101 that is operationally, functionally and/or electrically connected to the first processor 200 . ) can be controlled and/or various data processing (or calculations) can be performed.
  • the first processor 200 may include an application processor (AP).
  • AP application processor
  • the first processor 200 may include a memory (not shown).
  • the memory of the first processor 200 may include a flash memory.
  • the first processor 200 transmits a request signal related to the access authority of the security subsystem 230 to the authority allocation device 220 when there is at least one job related to the security function. can transmit
  • the first processor 200 may perform a security function related to at least one task through the security subsystem 230.
  • the first processor 200 may store a security function execution result (eg, an encryption key) provided from the security subsystem 230 in the memory of the first processor 200 .
  • the security function may include job-related data signature creation, job-related data signature verification, job-related authentication, job-related data certificate creation, job-related data certificate inspection, job-related data It may include at least one of encryption, decryption of data related to the job, or generation of an encryption key related to the job.
  • the first processor 200 may complete at least one task corresponding to the request signal related to the access authority through the security subsystem 230, the access authority to the security subsystem 230 is granted. You can return (or return).
  • the first processor 200 may transmit a request signal related to the return of access rights to the rights assignment device 220 .
  • the second processor 210 may process (or calculate) data related to communication of the electronic device 101 .
  • the second processor 210 may include one communication processor or may include a plurality of communication processors divided in hardware or software.
  • a plurality of communication processors may support network communication related to different types of radio access technology (RAT).
  • the second processor 210 may include a memory (not shown).
  • the memory of the second processor 210 may include a flash memory.
  • the second processor 210 transmits a request signal related to the access authority of the security subsystem 230 to the authority allocation device 220 when there is at least one job related to the security function. can transmit
  • the second processor 210 may perform a security function related to at least one task through the security subsystem 230.
  • the second processor 210 may store a security function execution result (eg, encrypted data) provided from the security subsystem 230 in the memory of the second processor 210 .
  • the security function may include job-related data signature creation, job-related data signature verification, job-related authentication, job-related data certificate creation, job-related data certificate inspection, job-related data It may include at least one of encryption, decryption of data related to the job, or generation of an encryption key related to the job.
  • data related to work includes international mobile equipment identity (IMEI), mobile equipment identifier (MEID), DS IMEI, network lock information, subscriber identity module (SIM) lock information, IMEI CERT information, Regional information, operator information, review operator information, NCK, SPCK, MCK, PIN (personal identification number) information, network lock password, password, operator network information, network information, MCC/MCK whitelist, CDMA information or at least one of RF band information.
  • IMEI international mobile equipment identity
  • MEID mobile equipment identifier
  • SIM subscriber identity module
  • IMEI CERT Regional information, operator information, review operator information, NCK, SPCK, MCK, PIN (personal identification number) information, network lock password, password, operator
  • the second processor 210 when the second processor 210 completes at least one task corresponding to the request signal related to the access authority through the security subsystem 230, the access authority to the security subsystem 230 is granted. You can return (or return). For example, the second processor 210 may transmit a request signal related to the return of access rights to the rights assignment device 220 .
  • the second processor 210 returns (or returns) the access right to the security subsystem 230 when it is determined that the occupation time of the security subsystem 230 exceeds a specified reference time.
  • the second processor 210 may drive a timer that runs for a specified reference time.
  • the timer may include a timer instruction executed by the second processor 210, a timer program, and/or a timer implemented by hardware included in the second processor 210.
  • the second processor 210 may transmit a request signal related to the access authority of the security subsystem 230 to the authority allocation device 220 when at least one task is not completed based on a designated reference time. there is.
  • the security function related to at least one task not previously completed through the security subsystem 230 is performed. can be done first.
  • the designated reference time may include a maximum time for processing data to be processed by the second processor 210 .
  • the maximum time for processing data can be predicted based on the size of data processed by the second processor 210 since the size (or maximum size) of data processed by the second processor 210 is predictable. there is.
  • the authority assignment device 220 may manage access rights to the security subsystem 230 .
  • the authority assignment device 220 may allocate the access authority for the security subsystem 230 to the first processor 200 or the second processor 210 .
  • the authority allocation device 220 may be physically or hardware separated from the first processor 200 and the second processor 210 .
  • the authority assignment device 220 may include a memory (not shown).
  • the memory of the authority assignment device 220 may include random access memory (RAM).
  • the permission assignment device 220 assigns access rights to the security subsystem 230 to the first processor 200 or the second processor. (210) can be assigned alternately.
  • the authority assignment device 220 continuously receives a plurality of request signals for the access authority of the security subsystem 230 from the first processor 200, and from the second processor 210 the security subsystem ( When a request signal for the access authority of 230) is received, a plurality of request signals received from the first processor 200 may be determined as one request signal.
  • the authority assignment device 220 may allocate the access authority of the security subsystem 230 to the first processor 200 based on the request signal of the first processor 200 .
  • the authority assignment device 220 may allocate the access authority of the security subsystem 230 to the second processor 210 .
  • information related to the request signal for the access authority of the security subsystem 230 received by the authority allocation unit 220 may be stored in the memory of the authority allocation unit 220 .
  • the permission assignment device 220 secures the first processor 200 and/or the second processor 210 based on a request time point (or request order) of access permission to the security subsystem 230 .
  • Access rights to the subsystem 230 may be assigned to the first processor 200 or the second processor 210 .
  • the permission assignment device 220 uses the second permission assignment method (eg, queue method) and priorities are not set for the processors 200 and/or 210
  • the security subsystem 230 Access rights to the security subsystem 230 may be assigned to the first processor 200 or the second processor 210 based on the request time (or request order) for access rights.
  • the access right to the security subsystem 230 may be preferentially assigned to the processor 200 or 210 at which the access right to the security subsystem 230 is requested.
  • the authority allocation device 220 assigns access rights to the security subsystem 230 to the first processor 200 or the second processor 210 based on the priorities of the first processor 200 or the second processor 210 . It can be assigned preferentially to the second processor 210 .
  • the authority assignment device 220 may store a request signal for the access authority of the security subsystem 230 in a buffer. For example, when the permission allocation device 220 uses the second permission allocation method (eg, queue method) and the priority of permission allocation is set in the first processor 200, the first of the request signals stored in the buffer Based on at least one request signal received from the processor 200 , access rights to the security subsystem 230 may be preferentially allocated to the first processor 200 .
  • the second permission allocation method eg, queue method
  • an access right to the security subsystem 230 may be assigned to the second processor 210 .
  • the rights allocation device 220 uses a second rights allocation method (eg, a queue method) and the priority of rights allocation is set in the second processor 210, the second of the request signals stored in the buffer Based on at least one request signal received from the processor 210 , access rights to the security subsystem 230 may be preferentially assigned to the second processor 210 .
  • the authority allocation device 220 processes at least one request signal received from the second processor 210 among the request signals stored in the buffer, based on the at least one request signal received from the first processor 200 Access rights to the security subsystem 230 may be assigned to the first processor 200 .
  • the authority assignment device 220 may provide the security subsystem 230 with information related to a processor to which an access authority for the security subsystem 230 is assigned. For example, when the authority assignment device 220 assigns the access authority to the security subsystem 230 to the first processor 200, the first processor to which the access authority to the security subsystem 230 is allocated ( 200) may be provided to the security subsystem 230. For example, when the authority assignment device 220 assigns the access authority to the security subsystem 230 to the second processor 210, the second processor to which the access authority to the security subsystem 230 is allocated ( 210) may be provided to the security subsystem 230.
  • the information related to the processor to which the access right to the security subsystem 230 is assigned is the processor (eg, the first processor 200 or the second processor 210 to which the access right to the security subsystem 230 is assigned). )) and/or instruction information related to key selection of a processor to which an access right to the security subsystem 230 is assigned.
  • the rights assignment device 220 when receiving a request signal related to the return of the access right of the security subsystem 230 from the first processor 200 or the second processor 210, the rights assignment device 220 receives the first processor ( 200) or the access authority of the security subsystem 230 to the second processor 210 may be revoked. For example, when the permission assignment device 220 receives a request signal related to return of the access permission of the security subsystem 230 from the first processor 200 or the second processor 210, the security subsystem 230 may be controlled to delete data related to the processor to which the access right of is assigned.
  • the permission assignment device 220 receives a request signal related to the return of the access permission of the security subsystem 230 from the first processor 200 or the second processor 210
  • the initialization request signal is sent to the security subsystem. (230).
  • the authority assignment unit 220 determines that the security subsystem 230 has completed deleting data related to the processor to which the access authority of the security subsystem 230 has been assigned, access to the security subsystem 230 It can be judged that the authority has been revoked. For example, deletion of data related to a processor to which access rights of the security subsystem 230 have been assigned is confirmed (or monitored) based on a finite state machine (FSM) (not shown) of the rights allocation device 220.
  • FSM finite state machine
  • the finite state machine of the rights assignment device 220 may include a finite state machine included in the rights assignment device 220 .
  • the finite state machine (FSM) of the authority assignment unit 220 enters a first state (eg, lock) when data related to a processor to which access authority is assigned is processed and/or stored through the security subsystem 230 state) can be set.
  • the finite state machine (FSM) of the authority assignment device 220 is set to a second state (eg, free state) when data related to a processor to which access rights have been allocated in the security subsystem 230 is deleted.
  • the processor to which the access authority of the security subsystem 230 has been assigned may include a processor that transmits a request signal related to the return of the access authority of the security subsystem 230 .
  • processor-related data is data generated and/or processed by the processor using the security subsystem 230, such as encrypted data, encrypted operation values, decrypted data, decrypted operation values, signatures, certificates, or It may include data related to at least one of the encryption keys.
  • the rights assignment unit 220 may include a plurality of finite state machines (FSMs).
  • the plurality of finite state machines (FSMs) include a first FSM indicating whether data related to the processor to which the access authority of the security subsystem 230 is assigned is stored, and the access authority of the security subsystem 230 is assigned. It may include a second FSM indicating the type of processor and a third FSM indicating at least one request related to the access authority of the security subsystem 230 .
  • the type and/or number of finite state machines (FSMs) included in the rights assignment device 220 are not limited thereto.
  • the security subsystem 230 may perform a security function related to the first processor 200 or the second processor 210 .
  • the security subsystem 230 processes in the first processor 200 or the second processor 210 to which the access authority to the security subsystem 230 is assigned by the authority assignment unit 220.
  • At least one of security functions such as decryption of or creation of an encryption key related to a task may be performed.
  • the security subsystem 230 may provide processing results of the security function to the first processor 200 or the second processor 210 .
  • the security subsystem 230 may be physically or hardware separated from the first processor 200 and the second processor 210 .
  • security subsystem 230 may include a memory (not shown).
  • the memory of security subsystem 230 may include RAM.
  • the memory of the security subsystem 230 may store data related to a processor processed in the security subsystem 230 .
  • processor-related data is data generated and/or processed by the processor 200 and/or 210 using the security subsystem 230, such as encrypted data, encrypted operation values, decrypted data, and decrypted data. It may include data related to at least one of an operation value, a signature, a certificate, or an encryption key.
  • the security subsystem 230 may delete data related to the processor to which the access authority of the security subsystem 230 has been assigned when receiving an initialization request signal from the authority assignment device 220 .
  • the security subsystem 230 may include information associated with the previous processor 200 or 210 present in the internal memory (eg, static RAM (SRAM)) and/or register path of the security subsystem 230 . You can delete information (e.g. information related to processor keys).
  • the security subsystem 230 includes a bus 231, a key generation module 232, a processor key management module 233, a key management module 234, and/or a cryptographic module ( 235) may be included.
  • bus 231 may include components included in security subsystem 230 (e.g., key generation module 232, processor key management module 233, key management module 234, and/or encryption module). (235)) may include circuitry for exchanging information (eg, control messages and/or data) between them.
  • the key generation module 232 may generate a random key to perform security functions of the security subsystem 230 .
  • the key generation module 232 may include a true random number generator (TRNG).
  • the processor key management module 233 may manage a key of the first processor 200 and a key of the second processor 210 accessible to the security subsystem 230 .
  • the key management module 234 is assigned access rights of the security subsystem 230 provided from the random key generated by the key generation module 232 and the processor key management module 233.
  • a security key for performing a security function may be generated based on the key of the processor.
  • the encryption module 235 may encrypt or decrypt data received from a processor to which access authority of the security subsystem 230 is assigned based on the security key generated by the key management module 234 .
  • the encryption module 235 may perform at least one of a cryptographic operation, a hash operation, or a key derivation function (KDF) operation based on the security key generated by the key management module 234 .
  • KDF key derivation function
  • the processor key management module 233 may include a processor key selection module 241 , a first processor key management module 242 and a second processor key management module 243 .
  • the first processor key management module 242 may include a circuit for storing and managing a key of the first processor 200 .
  • the second processor key management module 243 may include a circuit for storing and managing a key of the second processor 210 .
  • the first processor key management module 242 and the second processor key management module 243 may be physically or hardwarely separated.
  • the first processor key management module 242 and the second processor key management module 243 may be included in one package.
  • the first processor key management module 242 and/or the second processor key management module 243 may store a key of the first processor 200 and/or a key of the second processor 210 (e.g. : ROM (read only memory)).
  • the first processor key management module 242 and/or the second processor key management module 243 may store a key of the first processor 200 and/or a key of the second processor 210 (e.g. : ROM).
  • the key of the first processor 200 is a root key of the first processor 200 and may include one time programmable (OTP) or eFuse related to the first processor 200 .
  • the key of the first processor 200 may include a key generated based on the root key of the first processor 200 (derived key).
  • the key of the second processor 210 is a root key of the second processor 210, and may include an OTP or eFuse related to the second processor 210.
  • the key of the second processor 210 may include a key generated based on the root key of the second processor 210 (derived key).
  • the root key of the processor 200 and/or 210 is a unique value of the processor set during the manufacturing process of the electronic device 101 and may include a fixed value.
  • the processor key selection module 241 selects the key of the processor 200 or 210 to which the access authority to the security subsystem 230 is assigned by the authority assignment unit 220, and the key management module 234 (or the security subsystem 230). For example, the processor key selection module 241 selects the key of the first processor 200 when the access authority to the security subsystem 230 is assigned to the first processor 200 by the authority assignment unit 220.
  • key management module 234 (or security subsystem 230).
  • the processor key selection module 241 selects the key of the second processor 210 when the access authority for the security subsystem 230 is assigned to the second processor 210 by the authority assignment unit 220.
  • key management module 234 (or security subsystem 230).
  • the processor key selection module 241 has access authority to the security subsystem 230 based on information related to the processor to which access authority to the security subsystem 230 is assigned received from the authority assignment unit 220.
  • the assigned processor 200 or 210 can be identified.
  • the processor key selection module 241 may include a multiplexer.
  • the electronic device 101 is a security device for executing a security function, and may include a security subsystem 310 .
  • the security device is not limited to the security subsystem 310 and may include other devices for executing security functions of the electronic device 101 .
  • the electronic device 101 includes a first processor 200, a second processor 210, an authority assignment device 220, a processor key management device 300, and/or a security sub system 310.
  • the first processor 200 may be substantially the same as the processor 120 or the main processor 121 of FIG. 1 , or may include the processor 120 or the main processor 121 .
  • the second processor 210 may be substantially the same as the processor 120 or the auxiliary processor 123 (eg, a communication processor) of FIG. 1 , or may include the processor 120 or the auxiliary processor 123 .
  • the first processor 200 and/or the second processor 210 operate with the rights assignment device 220, the processor key management device 300 and/or the security subsystem 310 ( operatively, functionally and/or electrically connected.
  • the first processor 200 and the second processor 210 may be physically or hardwarely separated.
  • the first processor 200, the second processor 210, the authority assignment device 220, the processor key management device 300 and / or the security subsystem 310 may be included in one package. there is.
  • the first processor 200, the second processor 210, the authority assignment device 220, the processor key management device 300, and/or the security subsystem 310 may include a plurality of packages (eg, processor package).
  • the first processor 200, the second processor 210, and the authority allocation device 220 of FIG. 3 are the first processor 200, the second processor 210, and the authority allocation device of FIG. 2A. Since it operates in the same manner as in step 220, detailed descriptions of the first processor 200, the second processor 210, and the authority assignment device 220 of FIG. 3 are omitted.
  • the processor key management device 300 may manage a key of the first processor 200 and a key of the second processor 210 accessible to the security subsystem 310 .
  • the processor key management device 300 may include a processor key selection module 302 , a first processor key management module 304 and a second processor key management module 306 .
  • the first processor key management module 302 may include a circuit for storing and managing a key of the first processor 200 .
  • the second processor key management module 304 may include a circuit for storing and managing a key of the second processor 210 .
  • the first processor key management module 302 and the second processor key management module 304 may be physically or hardwarely separated.
  • the first processor key management module 302 and the second processor key management module 304 may be included in one package.
  • the first processor key management module 302 and/or the second processor key management module 304 may store a key of the first processor 200 and/or a key of the second processor 210 (e.g. : ROM).
  • the first processor key management module 302 and/or the second processor key management module 304 may store a key of the first processor 200 and/or a key of the second processor 210 (e.g. : ROM).
  • the key of the first processor 200 is a root key of the first processor 200, and may include an OTP or eFuse related to the first processor 200.
  • the key of the first processor 200 may include a key generated based on the root key of the first processor 200 (derived key).
  • the key of the second processor 210 is a root key of the second processor 210, and may include an OTP or eFuse related to the second processor 210.
  • the key of the second processor 210 may include a key generated based on the root key of the second processor 210 (derived key).
  • the root key of the processor 200 and/or 210 is a unique value of the processor set during the manufacturing process of the electronic device 101 and may include a fixed value.
  • the processor key selection module 302 selects the key of the processor 200 or 210 to which access rights to the security subsystem 310 are assigned by the authority assignment unit 220, and selects the security subsystem 310.
  • the processor key selection module 302 selects the key of the first processor 200 when the access authority to the security subsystem 310 is assigned to the first processor 200 by the authority assignment unit 220. It may be provided to the security subsystem 310 .
  • the processor key selection module 302 selects the key of the second processor 210 when the access authority to the security subsystem 310 is assigned to the second processor 210 by the authority assignment unit 220. It may be provided to the security subsystem 310 .
  • the processor key selection module 302 has access authority to the security subsystem 310 based on the information related to the processor to which the access authority to the security subsystem 310 is assigned received from the authority assignment unit 220.
  • the assigned processor 200 or 210 can be identified.
  • the processor key selection module 302 may include a multiplexer.
  • the security subsystem 310 may perform a security function related to the first processor 200 or the second processor 210 .
  • the security subsystem 310 processes in the first processor 200 or the second processor 210 to which the access authority to the security subsystem 310 is assigned by the authority assignment unit 220.
  • At least one of security functions such as decryption of or creation of an encryption key related to a task may be performed.
  • the security subsystem 310 may provide processing results of the security function to the first processor 200 or the second processor 210 .
  • the security subsystem 310 may be physically or hardware separated from the first processor 200 and the second processor 210 .
  • the security subsystem 310 may include a memory (not shown).
  • the memory of security subsystem 310 may include RAM.
  • the memory of the security subsystem 310 may store data related to a processor processed in the security subsystem 310 .
  • processor-related data is data generated and/or processed by the processor 200 and/or 210 using the security subsystem 310, such as encrypted data, encrypted operation values, decrypted data, and decrypted data. It may include data related to at least one of an operation value, a signature, a certificate, or an encryption key.
  • the security subsystem 310 may delete data related to a processor to which the access authority of the security subsystem 310 has been assigned when receiving an initialization request signal from the authority assignment device 220 .
  • the security subsystem 310 may include information associated with the previous processor 200 or 210 present in internal memory (eg, static RAM (SRAM)) and/or a register path of the security subsystem 310 . You can delete information (e.g. information related to processor keys).
  • the authority assignment device 220 retrieves the access authority to the security subsystem 230 or 310, and the security subsystem 230 or 310 retrieves data related to the processor to which access authority was previously assigned. By controlling to delete, it is possible to isolate the first processor 200 and the second processor 210 to enhance the security of the electronic device 101 .
  • an electronic device may include an application processor (eg, the main processor 121 of FIG. 1 or the first processor 121 of FIG. 2A or 3 ).
  • processor 200 e.g, the main processor 121 of FIG. 1 or the first processor 121 of FIG. 2A or 3
  • a communication processor for example, the auxiliary processor 123 of FIG. 1 or the second processor 210 of FIG. 2A or 3
  • the application processor or a security subprocessing security functions related to the communication processor for example, the auxiliary processor 123 of FIG. 1 or the second processor 210 of FIG. 2A or 3
  • a system eg, the security subsystem 230 or 310 of FIG. 2A or 3
  • an authority assignment device for allocating access rights of the security subsystem to the application processor or the communication processor (eg, the security subsystem 230 or 310 of FIG.
  • the security subsystem includes the authority
  • 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 assignment of access rights of the security subsystem from the assignment device to the application processor or the communication processor It may process a security function related to the application processor or the communication processor, and initialize 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.
  • 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, sends the security subsystem to the application processor or the communication processor.
  • the access rights of can be assigned alternately.
  • the authority assignment device continuously receives a plurality of request signals related to the access authority of the security subsystem from the application processor, and then receives at least one request signal related to the access authority of the security subsystem from the communication processor.
  • the request signal of is received
  • the access authority of the security subsystem is allocated to the application processor based on the reception time of the request signal, and when the access authority of the security subsystem is retrieved from the application processor, the communication Access authority of the security subsystem may be assigned to the processor.
  • the authority allocation device when receiving a request signal related to the access authority of the security subsystem from the application processor and/or the communication processor, determines the application processor based on the reception time of the access request.
  • access authority of the security subsystem may be assigned to the communication processor.
  • the priority of the access authority of the security subsystem when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, the priority of the access authority of the security subsystem is set.
  • a processor is identified, and when the priority of the application processor is set, the access authority of the security subsystem is assigned to the application processor, and the request signal related to the access authority of the security subsystem received from the application processor is responded to.
  • the access authority of the security subsystem may be assigned to the communication processor.
  • the priority of the access authority of the security subsystem when receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor, the priority of the access authority of the security subsystem is set.
  • a processor is identified, and when the priority to the communication processor is set, the access authority of the security subsystem is assigned to the communication processor, and the request signal related to the access authority of the security subsystem received from the communication processor is responded to.
  • the access authority of the security subsystem may be assigned to the application processor.
  • the security function related to the communication processor is irrelevant to the completion of processing. It is possible to return access rights to the security subsystem.
  • the communication processor when the access authority of the security subsystem is allocated from the authority allocation device, the communication processor performs processing based on the designated reference time in a state in which the access authority of the security subsystem has been previously allocated. It is checked whether there is a security function that has not been completed, and if there is a security function that has not been processed, the security function that has not been processed can be processed through the security subsystem.
  • the security subsystem when receiving information related to the return of the access right of the security subsystem allocated to the application processor from the authority assignment device, the first key and the security of the application processor Data related to the second key and 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 assignment device after deleting data related to the function can be deleted.
  • the authority assignment device when the access authority of the security subsystem is assigned to the application processor, the authority assignment device provides information related to the allocation of access authority to the application processor to the security subsystem, and the communication When the access authority of the security subsystem is allocated to the processor, information related to the allocation of access authority to the communication processor may be provided to the security subsystem.
  • the communication processor may return the access authority of the security subsystem when processing of a security function related to the communication processor is completed before the specified reference time elapses.
  • the authority assignment device when the access authority of the security subsystem is allocated to the application processor, provides information related to the allocation of access authority to the application processor to the processor key management apparatus;
  • the processor key management device may transmit the first key related to the application processor to the security subsystem based on information related to assignment of access rights to the application processor.
  • the authority assignment device when the access authority of the security subsystem is assigned to the communication processor, provides information related to the allocation of access authority to the communication processor to the processor key management device;
  • the processor key management device may transmit 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.
  • 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.
  • a security device eg, the security subsystem 230
  • the first processor 200 of the electronic device 101 determines the access authority of the security subsystem 230 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority allocation device 220 (operation 401).
  • the request signal related to access rights includes information related to the first processor 200 requesting access rights (eg, identification information) and/or a first value indicating a request for access rights (eg, '1'). ) may be included.
  • the authority assignment device 220 transfers the security subsystem 230 to the first processor 200 based on the request signal related to the access authority of the security subsystem 230 received from the first processor 200 . ) can be assigned access rights.
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 230 to the first processor 200 (operation 403).
  • the signal related to the assignment of access rights may include information (eg, identification information) related to the processor (eg, the first processor 200) that has assigned the access rights.
  • the authority assignment device 220 allocates the access authority of the security subsystem 230 to the first processor 200 when the processor to which the access authority of the security subsystem 230 is assigned does not exist. can do.
  • the authority assignment device 220 may check whether the access authority of the security subsystem 230 is recovered when there is a processor assigned the access authority of the security subsystem 230 .
  • the authority assignment device 220 may allocate the access authority of the security subsystem 230 to the first processor 200 . For example, when a plurality of request signals for access rights of the security subsystem 230 are received, the rights allocation device 220 determines at least one of the rights allocation method, the request time of access rights, or the priority of access rights. Based on this, the access authority of the security subsystem 230 may be assigned to the first processor 200 .
  • the authority assignment device 220 when the access authority of the security subsystem 230 is allocated to the first processor 200, the authority assignment device 220 provides information related to the allocation of access authority to the first processor 200 (eg: Instruction information related to the key selection of the first processor 200) may be transmitted to the security subsystem 230 (operation 405).
  • the security subsystem 230 receives information related to the assignment of access rights to the first processor 200 received from the rights assignment device 220 (eg, instructions related to key selection of the first processor 200).
  • the key of the first processor 200 may be obtained based on information). For example, the key of the first processor 200 may be acquired from the first processor key management module 242 through the processor key selection module 241 included in the processor key management module 233 of FIG. 2B.
  • the first processor 200 may perform a security function through the security subsystem 230 when the access authority of the security subsystem 230 is allocated from the authority assignment device 220 ( action 407).
  • the security subsystem 230 may process the security function of the first processor 200 based on the key of the first processor 200 .
  • the security function may include encryption of a file system related to the first processor 200, encryption of random access memory (RAM) related to the first processor 200, and important data related to the first processor 200 (eg, payment data) may include at least one of functions for generating an encryption signature, checking a signature, or generating an encryption key.
  • the first processor 200 may request the return (or return) of the access right to the security subsystem 230 (operation 409).
  • the first processor 200 sends a request signal related to the return of access rights to the security subsystem 230 to the rights assignment device 220 when processing of at least one task related to the security function is completed. ) can be transmitted.
  • the request signal related to the return of the access right may include information (eg, identification information) related to the first processor 200 returning the access right and/or a second value different from the first value to indicate the return of the access right. Can contain a value (eg '0').
  • the permission assignment device 220 performs a first request for the security subsystem 230 based on a return (or return) request of the access right of the security subsystem 230 from the first processor 200 .
  • the access authority of the processor 200 may be revoked.
  • the authority assignment device 220 may transmit information related to return (or return) of the access authority of the security subsystem 230 (eg, authority return notification information) to the first processor 200 (operation 411).
  • the authority assignment device 220 deletes data related to the first processor 200 based on the return of the access authority of the first processor 200 to the security subsystem 230. 230 may be controlled (act 413). According to an embodiment, when the access authority of the security subsystem 230 is retrieved from the first processor 200, the authority assignment device 220 may provide an initialization request signal to the security subsystem 230 ( Action 413).
  • the security subsystem 230 may initialize the security subsystem 230 based on the initialization request signal received from the authority assignment device 220 (operation 415).
  • the security subsystem 230 stores information related to the first processor 200 present in an internal memory and/or a registration path of the security subsystem 230 through initialization of the security subsystem 230 . can be deleted.
  • information related to the first processor 200 may include a key of the first processor 200 and/or operation information based on the key of the first processor 200 .
  • the permission assignment device 220 may perform a first request for the security subsystem 230 irrespective of a return (or return) request of the security subsystem 230 access permission from the first processor 200 .
  • the access authority of the processor 200 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the first processor 200 exceeds a specified reference time, the first security subsystem 230 for the security subsystem 230
  • the access authority of the processor 200 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the first processor 200 to the security subsystem 230.
  • Rights return notification information may be transmitted to the first processor 200 (operation 411). For example, operation 409 of FIG. 4A may be omitted.
  • 4B is an example of allocating access rights of a security device (eg, the security subsystem 310) to a first processor in an electronic device according to various embodiments.
  • a security device eg, the security subsystem 310
  • the first processor 200 of the electronic device 101 determines the access authority of the security subsystem 310 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority allocation device 220 (operation 421).
  • the authority allocation device 220 transfers the security subsystem 310 to the first processor 200 based on the request signal related to the access authority of the security subsystem 310 received from the first processor 200 . ) can be assigned access rights.
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 310 to the first processor 200 (operation 423).
  • the signal related to the assignment of access rights may include information (eg, identification information) related to the processor (eg, the first processor 200) that has assigned the access rights.
  • operations 421 and 423 of FIG. 4B may include operations corresponding to (or identical to) operations 401 and 403 of FIG. 4A .
  • the authority assignment device 220 assigns information related to the allocation of access authority to the first processor 200 (eg: Instruction information related to key selection of the first processor 200) may be transmitted to the processor key management device 300 (operation 425).
  • the processor key management device 300 receives information related to assigning access rights to the first processor 200 received from the permission assignment device 220 (eg, information related to key selection of the first processor 200). A key of the first processor 200 may be selected based on the instruction information). The processor key management device 300 may provide information related to the key of the first processor 200 (or the key of the first processor 200) to the security subsystem 310 (operation 427). As an example, the key of the first processor 200 may be obtained from the first processor key management module 304 by the processor key selection module 302 of FIG. 3 .
  • the first processor 200 may perform a security function through the security subsystem 310 when the access authority of the security subsystem 310 is allocated from the authority assignment device 220 ( Action 429).
  • the security subsystem 310 may process the security function of the first processor 200 based on the key of the first processor 200 acquired from the processor key management device 300 .
  • the security function includes encryption of a file system related to the first processor 200, encryption of RAM related to the first processor 200, and encryption of important data (eg, payment data) related to the first processor 200. , at least one of functions for signature generation, signature inspection, or encryption key generation.
  • the first processor 200 may request the return (or return) of the access right to the security subsystem 310 (operation 431).
  • the first processor 200 sends a request signal related to the return of access rights to the security subsystem 310 to the rights assignment device 220 when processing of at least one task related to the security function is completed. ) can be transmitted.
  • the permission assignment device 220 returns the first processor 200 to the security subsystem 310 based on the return request of the access right of the security subsystem 310 from the first processor 200 . access rights can be revoked.
  • the authority assignment device 220 may transmit information related to return of the access authority of the security subsystem 310 (eg, authority return notification information) to the first processor 200 (operation 433).
  • the authority assignment device 220 deletes data related to the first processor 200 based on the return of the access authority of the first processor 200 to the security subsystem 310. 310 may be controlled (act 435). According to an embodiment, when receiving a request signal related to the return of the access right of the security subsystem 310 from the first processor 200, the authority assignment device 220 sends an initialization request signal to the security subsystem 310. may be provided (act 435).
  • the security subsystem 310 may initialize the security subsystem 310 based on the initialization request signal received from the authority assignment device 220 (operation 437). According to an embodiment, the security subsystem 310 stores information related to the first processor 200 present in an internal memory and/or a registration path of the security subsystem 310 through initialization of the security subsystem 310 . can be deleted.
  • the permission assignment device 220 may perform a first request for the security subsystem 230 irrespective of a return (or return) request of the security subsystem 230 access permission from the first processor 200 .
  • the access authority of the processor 200 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the first processor 200 exceeds a specified reference time, the first security subsystem 230 for the security subsystem 230
  • the access authority of the processor 200 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the first processor 200 to the security subsystem 230.
  • Rights return notification information may be transmitted to the first processor 200 (operation 433). For example, operation 431 of FIG. 4B may be omitted.
  • FIG. 5 is a flowchart 500 for allocating access rights of a security device (eg, the security subsystem 230 or 310) in an electronic device according to various embodiments.
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 5 may be the electronic device 101 of FIG. 1 or 2 .
  • the electronic device receives the security subsystem from the first processor 200 and/or the second processor 210 . It can be confirmed whether a request signal related to the access authority of (230 or 310) is received.
  • a request signal related to access rights transmits information (eg, identification information) related to a processor requesting access rights (eg, the first processor 200 or the second processor 210) and/or a request for access rights. It may include a first value (eg, '1') to indicate.
  • the electronic device eg, the authority assignment device 220
  • the electronic device does not receive a request signal related to the access authority of the security subsystem 230 or 310 (eg, 'No' in operation 501)
  • An embodiment for assigning access rights of the security subsystem 230 or 310 may end.
  • the electronic device eg, the authority assignment device 220
  • receives a request signal related to the access authority of the security subsystem 230 or 310 eg, 'Yes' in operation 501
  • the operation at 503 , it may be determined whether the first processor 200 or the second processor 210 is using the security subsystem 230 or 310 .
  • the authority assignment device 220 when there is a processor (eg, the first processor 200 or the second processor 210) to which the access authority of the security subsystem 230 or 310 is allocated, It may be determined that the security subsystem 230 or 310 is in use.
  • security subsystem 230 when the electronic device (eg, the authority assignment device 220) determines that the security subsystem 230 or 310 is not used (eg, 'No' in operation 503), in operation 507, security
  • the access authority of the security subsystem 230 may be assigned to a processor (eg, the first processor 200 or the second processor 210) that transmits a request signal related to the access authority of the subsystem 230 or 310. .
  • the electronic device determines that the security subsystem 230 or 310 is in use (eg, 'yes' in operation 503), in operation 505, the security subsystem 230 or 310 It may be confirmed whether the access authority of the system 230 or 310 is revoked.
  • the authority assignment unit 220 returns the access authority from the processor (eg, the first processor 200 or the second processor 210) to which the access authority of the security subsystem 230 or 310 is assigned.
  • the security subsystem 230 or 310 may be controlled to delete data related to a processor to which access rights of the security subsystem 230 or 310 have been assigned.
  • the security subsystem 230 or 310 It can be determined that the access right of is revoked.
  • the request signal related to the return of the access right is information (eg, identification information) related to the processor (eg, the first processor 200 or the second processor 210) that returns the access right and/or the information of the access right. It may include a second value different from the first value (eg '0') to indicate return.
  • the electronic device eg, the authority assignment device 220
  • the authority assignment device 220 may check whether a request signal related to the return of access authority to the security subsystem 230 or 310 is received.
  • the electronic device determines that the access authority of the security subsystem 230 or 310 has been revoked (eg, 'yes' in operation 505)
  • the access authority of the security subsystem 230 or 310 to the processor eg, the first processor 200 or the second processor 210 that has transmitted the request signal related to the access authority of the security subsystem 230 or 310 can be assigned
  • the rights allocation device 220 prioritizes the rights allocation method, the request time of access rights, or the priority of access rights.
  • the security subsystem 230 or 310 to a processor (eg, the first processor 200 or the second processor 210) that transmits a request signal related to the access authority of the security subsystem 230 or 310 based on at least one of ) can be assigned access rights.
  • the security subsystem 230 or 310 is a processor (eg, the first processor 200) to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220.
  • the key of the second processor 210 may be obtained.
  • the security subsystem 230 is configured by the first processor 200 from the first processor key management module 242 or the second processor key management module 243 via the key selection module 241 of FIG. 2B.
  • a key of or a key of the second processor 210 may be obtained.
  • the security subsystem 310 is a processor to which the access authority of the security subsystem 310 is assigned from the processor key management device 300 of FIG. 3 (eg, the first processor 200 or the second processor).
  • a key eg, a key of the first processor 200 or a key of the second processor 210) of (210) may be obtained.
  • FIG. 6 is a flowchart 600 for allocating access rights of a security device (eg, the security subsystem 230 or 310) based on a first rights assignment method in an electronic device according to various embodiments.
  • the operations of FIG. 6 may be detailed operations of operations 505 and 507 of FIG. 5 .
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 6 may be the electronic device 101 of FIG. 1 or 2 .
  • FIG. 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.
  • an electronic device eg, the authority assignment device 220 of FIG. 2 transmits information from the first processor 200 to the security subsystem 230 or 310 . You can check if the access right to it is revoked.
  • the first processor 200 sends a request related to the access authority of the security subsystem 230 or 310 corresponding to each task. Signals 702 , 704 , 706 and 708 may be transmitted to the rights assignment device 220 .
  • the authority allocation device 220 determines that the security subsystem 230 or 310 is not in use, the plurality of request signals 702 and 704 received from the first processor 200 (eg, an application processor (AP)) , 706 and 708) (eg, the access authority of the security subsystem 230 or 310 may be assigned to the first processor 200 based on at least a part (eg, the request signal 702 corresponding to the first task) ( 722).
  • the first processor 200 may perform a security function related to the first task through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 .
  • the first processor 200 may transmit a request signal related to the return of access rights to the security subsystem 230 or 310 to the rights assignment device 220.
  • the rights assignment device 220 receives data related to the first processor 200.
  • a signal requesting deletion of may be transmitted to the security subsystem 230 or 310.
  • the security subsystem 230 or 310 may delete data related to the first processor 200 based on a signal requesting deletion of data related to the first processor 200 .
  • the authority assignment unit 220 determines that the security subsystem 230 or 310 has been deleted from the first processor 200. It can be determined that the access right has been revoked. For example, the authority assignment device may check whether deletion of data related to the first processor 200 is completed in the security subsystem 230 or 310 through a finite state machine (FSM). For example, when a request signal related to the return of the access right to the security subsystem 230 or 310 is not received from the first processor 200, the rights assignment device 220 receives the security subsystem 230 from the first processor 200. It may be determined that the access right to the subsystem 230 or 310 has not been revoked.
  • FSM finite state machine
  • an embodiment for assigning access rights of the security subsystem 230 or 310 may be terminated.
  • the access right to the security subsystem 230 or 310 when the access right to the security subsystem 230 or 310 is recovered from the first processor 200 (eg, 'yes' in operation 601), the electronic device (eg, the authority assignment device 220) '), in operation 603, it may be checked whether a permission request of the second processor 210 (eg, communication processor (CP)) exists.
  • the request signal related to access rights includes information related to the first processor 200 requesting access rights (eg, identification information) and/or a first value indicating a request for access rights (eg, '1'). ) may be included.
  • the authority assignment device 220 assigns the access authority of the security subsystem 230 or 310 to the first processor 200 (722), the first processor 200 and/or the second Request signals 704 , 706 , 708 , 710 and/or 712 related to the access rights of the specified number of security subsystems 230 or 310 received from the processor 210 may be stored.
  • information related to the request signals 704, 706, 708, 710 and/or 712 related to the access rights of the security subsystem 230 or 310 is stored in the memory (not shown) of the rights assignment device 220.
  • information related to the request signals 704, 706, 708, 710, and/or 712 related to the access authority of the security subsystem 230 or 310 is a memory (not shown) of the first processor 200 and / or may be stored in the memory (not shown) of the second processor 200.
  • a finite state machine eg, a third FSM
  • the rights allocation unit 220 Request signals 704, 706, 708, 710 and/or 712 related to the access authority of the security subsystem 230 or 310 received from the first processor 200 and/or the second processor 210 may be checked. there is.
  • the memory of the first processor 200 may include a memory included in a processor package including the first processor 200 .
  • the memory of the second processor 210 may include a memory included in a processor package including the second processor 210 .
  • the memory of the first processor 200 and the memory of the second processor 200 may include memory included in one processor package including the first processor 200 and the second processor 210. .
  • the permission assignment device 220 transmits the stored request signals 704, 706, 708, 710 and/or 712), it may be checked whether a request signal (eg, the request signal 710 corresponding to the fifth task) received from the second processor 210 different from the first processor 200 exists.
  • a request signal eg, the request signal 710 corresponding to the fifth task
  • the designated number is the maximum number of request signals related to the access rights of the security subsystem 230 or 310 that the rights assignment device 220 can store, and the memory (or buffer, queue) related to the rights assignment device 220. ) can be set based on the size of
  • the electronic device eg, the authority assignment device 220
  • the security subsystem Access rights of 230 or 310 may be assigned to the second processor 210 .
  • the rights assignment device 220 receives a plurality of requests consecutively received from one processor (eg, the first processor 200). Signals 702, 704, 706 and 708 can be determined as one request signal.
  • the authority allocation device 220 sets the access authority of the security subsystem 230 or 310 to the first unit at a previous time based on the plurality of request signals 702 , 704 , 706 and 708 received from the first processor 200 .
  • the access authority of the security subsystem 230 or 310 may be assigned to the second processor 210 based on the request signals 710 and/or 712 of the second processor 210. there is.
  • the second processor 210 may perform a security function related to the fifth task through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation unit 220 .
  • the security subsystem 230 or 310 acquires the key of the second processor 210 to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220. can do.
  • the security subsystem 230 may acquire the key of the second processor 210 from the second processor key management module 243 through the key selection module 241 of FIG. 2B.
  • the security subsystem 310 may obtain the key of the second processor 210 from the processor key management device 300 of FIG. 3 .
  • the electronic device when the authority request of the second processor 210 does not exist and the authority request of the first processor 200 exists (eg, operation 'No' in step 603 ), in operation 607 , the access authority of the security subsystem 230 or 310 may be assigned to the first processor 210 .
  • the authority assignment device 220 receives a plurality of request signals 704, When only 706 and 708) are received, the access authority of the security subsystem 230 or 310 is assigned to the first processor 200 based on the request signal 704 corresponding to the second task of the first processor 200. can do.
  • the first processor 200 may perform a security function related to the second task through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 .
  • the security subsystem 230 or 310 acquires the key of the first processor 200 to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220. can do.
  • the security subsystem 230 may acquire the key of the first processor 200 from the first processor key management module 242 through the key selection module 241 of FIG. 2B.
  • the security subsystem 310 may obtain the key of the first processor 110 from the processor key management device 300 of FIG. 3 .
  • the electronic device retrieves the access authority of the security subsystem 230 or 310 from the second processor 210
  • the first processor 200 Based on the request signal 704 corresponding to the second task, the access authority of the security subsystem 230 or 310 may be allocated to the first processor 200 .
  • the first processor 200 may perform a security function related to the second task through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 .
  • FIG. 8 is a flowchart 800 for allocating access rights of a security device (eg, the security subsystem 230 or 310) based on a permission request time point in an electronic device according to various embodiments.
  • the operations of FIG. 8 may be detailed operations of operations 505 and 507 of FIG. 5 .
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 8 may be the electronic device 101 of FIG. 1 or 2 .
  • FIG. 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.
  • the electronic device eg, the permission assignment device 220 of FIG. 2
  • the permission assignment device 220 receives a request signal related to the return of access rights to the security subsystem 230 or 310 from the first processor 200 or the second processor 210
  • a signal requesting deletion of data related to the processor eg, the first processor 200 or the second processor 210) that has transmitted the request signal related to the return of the access right to the security subsystem 230 or 310 is security may be sent to subsystem 230 or 310.
  • the security subsystem 230 or 310 is associated with a processor (eg, the first processor 200 or the second processor 210) that transmits a request signal related to the return of access rights to the security subsystem 230 or 310.
  • Data related to the first processor 200 or the second processor 210 may be deleted based on a signal requesting deletion of data.
  • the authority assignment unit 220 determines that the security subsystem 230 or 310 It can be determined that the access right has been revoked.
  • the authority assignment device may check whether deletion of data related to the first processor 200 or the second processor 210 is completed in the security subsystem 230 or 310 through a finite state machine (FSM).
  • FSM finite state machine
  • the permission assignment device 220 when a request signal related to the return of access rights to the security subsystem 230 or 310 is not received from the first processor 200 or the second processor 210 , it may be determined that the access right to the security subsystem 230 or 310 has not been revoked.
  • the electronic device when the access authority to the security subsystem 230 or 310 is not retrieved (eg, 'No' in operation 801), the security subsystem One embodiment for assigning access rights of (230 or 310) may end.
  • the electronic device retrieves access rights to the security subsystem 230 or 310 (eg, 'Yes' in operation 801)
  • a processor for allocating an access right to the security subsystem 230 or 310 may be selected based on a right request timing of the first processor 200 and/or the second processor 210 .
  • the authority assignment device 220 allocates the access authority of the security subsystem 230 or 310 to the first processor 200 (eg AP) or the second processor 210 (eg CP).
  • information related to request signals 902, 904, 906, 908, 910, and/or 912 related to access rights of the security subsystem 230 or 310 may be stored in a memory (not shown) of the rights allocation device 220.
  • the authority allocation device 220 transmits request signals 902, 904, and 906 related to the access authority of the designated number of security subsystems 230 or 310 received from the first processor 200 and/or the second processor 210. , 908, 910, and/or 912), the second processor 210 having the earliest access right request time (eg, 902) may be selected as a processor for allocating the access right of the security subsystem 230 or 310. .
  • the electronic device eg, the authority assignment device 220
  • the rights assignment device 220 uses the second rights assignment method (eg queue method) and the priorities of the first processor 200 and the second processor 210 are not set, security
  • the access authority of the security subsystem 230 or 310 may be sequentially assigned to the first processor 200 or the second processor 210 based on the request time of the access authority of the subsystem 230 or 310 . For example, as shown in FIG.
  • the authority assignment device 220 may, based on the request signal 902 of the second processor 210 when the second processor 210 requests the authority the earliest, the security subsystem ( Access rights of 230 or 310 may be assigned to the second processor 210 .
  • the second processor 210 may perform a security function related to a task corresponding to the request signal 902 through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation unit 220 .
  • the security subsystem 230 or 310 is a processor (eg, the first processor 200) to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220.
  • the key of the second processor 210 may be obtained.
  • the key of the processor (eg, the first processor 200 or the second processor 210) to which the access authority of the security subsystem 230 or 310 is assigned is, as shown in FIG. 2B, the security subsystem ( 230) may be obtained from the first processor key management module 242 or the second processor key management module 243 included in the inside.
  • the key of the processor (eg, the first processor 200 or the second processor 210) to which the access authority of the security subsystem 230 or 310 is assigned is, as shown in FIG. 3, the security subsystem ( 310) and a separate processor key management device 300.
  • the electronic device retrieves the access authority of the security subsystem 230 or 310 from the second processor 210
  • the request of the first processor 200 Based on the signal 904 , access rights of the security subsystem 230 or 310 may be assigned to the first processor 200 .
  • the first processor 200 may perform a security function related to a task corresponding to the request signal 904 through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation device 220 .
  • FIG. 10 is a flowchart 1000 for allocating access rights of a security device (eg, the security subsystem 230 or 310) based on the priority of rights allocation in an electronic device according to various embodiments.
  • the operations of FIG. 10 may be detailed operations of operations 505 and 507 of FIG. 5 .
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 10 may be the electronic device 101 of FIG. 1 or 2 .
  • FIGS. 11 and 12 are examples of 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.
  • the electronic device accesses the security subsystem 230 or 310 in operation 1001. You can check if the permission is revoked.
  • the authority assignment device 220 is the first processor 200 (eg AP) or the second processor 210 (eg CP) of the access authority to the security subsystem (230 or 310)
  • a return-related request signal is received, a signal requesting deletion of data related to a processor to which access rights of the security subsystem 230 or 310 have been assigned may be transmitted to the security subsystem 230 or 310 .
  • the security subsystem 230 or 310 may delete data related to the processor to which the access authority of the security subsystem 230 or 310 has been assigned based on a signal requesting deletion of data.
  • the authority assignment unit 220 determines that the security subsystem 230 or 310 has completed deleting data related to the processor to which the access authority of the security subsystem 230 or 310 has been assigned, the security subsystem 230 or 310 It can be determined that access rights to have been revoked.
  • the authority assignment device may check whether deletion of data related to a processor to which access rights of the security subsystem 230 or 310 have been assigned is completed in the security subsystem 230 or 310 through a finite state machine (FSM).
  • the processor to which the access authority of the security subsystem 230 or 310 has been assigned may include a processor that transmits a request signal related to the return of the access authority to the security subsystem 230 or 310 .
  • the permission assignment device 220 when a request signal related to the return of access rights to the security subsystem 230 or 310 is not received from the first processor 200 or the second processor 210 , it may be determined that the access right to the security subsystem 230 or 310 has not been revoked.
  • the electronic device eg, the authority assignment device 220
  • the access authority to the security subsystem 230 or 310 is not retrieved (eg, 'No' in operation 1001), the security subsystem One embodiment for assigning access rights of (230 or 310) may end.
  • the electronic device retrieves access rights to the security subsystem 230 or 310 (eg, 'Yes' in operation 1001), in operation 1003, It is possible to check whether there is an authority request from a processor (eg, the first processor 200 or the second processor 210) for which priority is set.
  • the authority assignment device 220 assigns the access authority of the security subsystem 230 or 310 to the first processor 200 or the second processor 210, the first processor 200 and / or request signals 1102, 1104, 1106, 1108, 1110 and / or 1112 related to the access rights of the specified number of security subsystems 230 or 310 received from the second processor 210. Can be stored.
  • information related to the request signals 1102, 1104, 1106, 1108, 1110 and/or 1112 related to the access right of the security subsystem 230 or 310 is stored in the memory (not shown) of the right assigning device 220. can be stored in
  • the rights allocation device 220 requests related to the access rights of the specified number of security subsystems 230 or 310.
  • a request signal related to the access authority of the security subsystem 230 or 310 received from the first processor 200 eg, 1104, 1108 and/or 1112) or 1112
  • the authority assignment device 220 assigns the access authority of the security subsystem 230 or 310 to the first processor 200 or the second processor 210, the first processor 200 and / or request signals 1202, 1204, 1206, 1208, 1210 and / or 1212 related to access rights of the specified number of security subsystems 230 or 310 received from the second processor 210.
  • information related to the request signals 1202, 1204, 1206, 1208, 1210 and/or 1212 related to the access right of the security subsystem 230 or 310 is stored in the memory (not shown) of the right assigning device 220.
  • the rights allocation device 220 requests related to the access rights of the specified number of security subsystems 230 or 310.
  • a request signal related to the access authority of the security subsystem 230 or 310 received from the second processor 210 eg, 1210 and/or 1212 ) can be checked.
  • the electronic device when there is a permission request from a processor (eg, the first processor 200 or the second processor 210) to which priority is set (eg, the authority assignment device 220). : 'yes' in operation 1003), in operation 1005, the access authority of the security subsystem 230 or 310 may be assigned to a processor for which priority is set.
  • a processor eg, the first processor 200 or the second processor 210
  • the access authority of the security subsystem 230 or 310 may be assigned to a processor for which priority is set.
  • the rights assignment device 220 uses a second rights assignment method (eg, a queue method) and when a priority is set to the first processor 200, the first processor (
  • the access authority of the security subsystem 230 or 310 may be allocated to the first processor 200 based on the first request signal 1104 among the request signals 1104, 1108, and 1112 received from the 200. there is.
  • the first processor 200 may perform a security function related to a task corresponding to the request signal 1104 through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation device 220 .
  • the rights assignment device 220 uses a second rights assignment method (eg, a queue method) and when a priority is set to the second processor 210, the second processor ( The access authority of the security subsystem 230 or 310 may be allocated to the second processor 210 based on the first request signal 1210 among the request signals 1210 and 1212 received from 210 .
  • the second processor 210 may perform a security function related to a task corresponding to the request signal 1210 through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 .
  • the security subsystem 230 or 310 acquires the key of the second processor 210 to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220. can do.
  • the key of the second processor 210 may be obtained from the second processor key management module 243 included in the security subsystem 230, as shown in FIG. 2B.
  • the key of the second processor 210 may be acquired from the security subsystem 310 and a separate processor key management device 300 .
  • the electronic device does not have a permission request from a processor (eg, the first processor 200 or the second processor 210) to which priority is set (eg, the authority allocation device 220).
  • a processor eg, the first processor 200 or the second processor 210
  • the access authority of the security subsystem 230 or 310 may be assigned to another processor based on the authority request of another processor for which priority is not set.
  • the authority assignment device 220 retrieves the access authority of the security subsystem 230 or 310 from the first processor 200, the first processor ( Based on the request signal 1108 of 200, the access authority of the security subsystem 230 or 310 may be assigned to the first processor 200.
  • the first processor 200 may perform a security function related to a task corresponding to the request signal 1108 through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 . For example, if there is a permission request from the first processor 200 for which priority is set, the permission assignment device 220 repeatedly assigns the access permission of the security subsystem 230 or 310 to the first processor 200. can be assigned For example, when the permission allocation device 220 does not have a permission request from the first processor 200 for which priority is set, based on the request signal 1102 of the second processor 210 for which priority is not set. Accordingly, the access authority of the security subsystem 230 or 310 may be assigned to the second processor 210 . The second processor 210 may perform a security function related to a task corresponding to the request signal 1102 through the security subsystem 230 or 310 based on the access authority assigned by the authority allocation device 220 .
  • the authority assignment device 220 when the access authority of the security subsystem 230 or 310 is recovered from the second processor 200, the priority is set to the second processor ( Based on the request signal 1212 of 210, the access authority of the security subsystem 230 or 310 may be allocated to the second processor 210.
  • the second processor 210 may perform a security function related to a task corresponding to the request signal 1212 through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation device 220 .
  • the permission allocation device 220 does not have a permission request from the second processor 210 for which priority is set, the security subsystem based on the request signal 1202 of the first processor 200 for which priority is not set.
  • Access rights of 230 or 310 may be assigned to the first processor 200 .
  • the first processor 200 may perform a security function related to a task corresponding to the request signal 1202 through the security subsystem 230 or 310 based on the access authority allocated from the authority allocation device 220 .
  • the security subsystem 230 or 310 acquires the key of the first processor 200 to which the access authority of the security subsystem 230 or 310 is assigned based on the control of the authority assignment device 220. can do.
  • the key of the first processor 200 may be obtained from the first processor key management module 242 included in the security subsystem 230, as shown in FIG. 2B.
  • the key of the first processor 200 may be obtained from the security subsystem 310 and a separate processor key management device 300 .
  • FIG. 13 is a flowchart 1300 for requesting an access right of a security device (eg, the security subsystem 230 or 310) in an electronic device according to various embodiments.
  • a security device eg, the security subsystem 230 or 310
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 13 may be the electronic device 101 of FIG. 1 or 2 .
  • the electronic device uses the security subsystem 230 or 310 in operation 1301. It can determine whether to perform a security function.
  • the first processor 200 and/or the second processor 210 when there is at least one job related to the security function, the security function using the security subsystem 230 or 310 can be judged to be performed.
  • the second processor 210 performs a security function using the security subsystem 230 or 310 when there is a task that has not been completed through the security subsystem 230 or 310 based on the specified reference time. can be judged to be performed.
  • the first processor 200 and/or the second processor 210 performs security using the security subsystem 230 or 310 when at least one job related to the security function does not exist. It can be judged that it does not perform its function.
  • an embodiment for requesting an access right to the security subsystem 230 or 310 may end.
  • a request signal related to the access right of the security subsystem 230 or 310 may be transmitted to the right assignment device 220.
  • a request signal related to access rights may include information (eg, identification information) related to a processor requesting access rights and/or a first value (eg, '1') indicating a request for access rights. there is.
  • the electronic device receives the access authority of the security subsystem 230 or 310 from the authority allocation unit 220. You can check if this is allocated.
  • the first processor 200 and/or the second processor 210 receives an ACK signal from the authority assignment device 220 in response to a request signal related to the access authority of the security subsystem 230 or 310.
  • the first processor 200 and/or the second processor 210 receives an ACK signal from the authority assignment device 220 in response to a request signal related to the access authority of the security subsystem 230 or 310. If not received, it may be determined that the access authority of the security subsystem 230 or 310 is not assigned.
  • the electronic device eg, the first processor 200 and/or the second processor 210) is not assigned the access right of the security subsystem 230 or 310 from the right assigning device 220. If it is determined (eg, 'No' in operation 1305), an embodiment for requesting the access authority of the security subsystem 230 or 310 may be terminated.
  • the electronic device eg, the first processor 200 and/or the second processor 210) is deemed to have been assigned the access right of the security subsystem 230 or 310 from the right assigning device 220. If it is determined (eg, 'yes' in operation 1305), in operation 1307, a security function related to at least one task may be performed through the security subsystem 230 or 310.
  • the first processor 200 or the second processor 210 corresponds to at least a request signal transmitted to the authority assignment device 220 to be assigned the access authority of the security subsystem 230 or 310.
  • a security function related to one task may be performed through the security subsystem 230 or 310 .
  • a request signal related to the return of access rights to 310) may be transmitted to the rights assignment device 220 .
  • the request signal related to the return of access rights may include information related to the processor requesting the return of access rights (eg, identification information) and/or a second value different from the first value indicating the request for access rights (eg, ' 0') may be included.
  • the second processor 210 determines the access authority to the security subsystem 230 or 310 when a specified reference time elapses from the time when the access authority of the security subsystem 230 or 310 is allocated.
  • a request signal related to the return may be transmitted to the rights assignment device 220 .
  • FIG. 14 is a flowchart 1400 for returning an access right of a security device (eg, the security subsystem 230 or 310) in an electronic device according to various embodiments.
  • the operations of FIG. 14 may be detailed operations of operation 1307 of FIG. 13 .
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 14 may be the electronic device 101 of FIG. 1 or 2 .
  • an electronic device eg, the second processor 210 of FIG. 2
  • the second processor 210 when allocated access rights of the security subsystem 230 or 310 from the rights allocation device 220 ( Example: 'yes' of operation 1305 of FIG. 13), operation 1401, the occupancy time of the security subsystem 230 or 310 by the second processor 210 may be checked.
  • the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 230 or 310 from the rights assignment device 220, the second processor 210 sets a timer.
  • a signal eg, an ACK signal
  • the second processor 210 may check the time the second processor 210 occupies the security subsystem 230 or 310 based on the running time of the timer.
  • the timer may include a timer instruction executed by the second processor 210, a timer program, and/or a timer implemented by hardware included in the second processor 210.
  • the electronic device detects the second processor 210 based on the time the second processor 210 occupies the security subsystem 230 or 310.
  • the second processor 210 may occupy the security subsystem 230 or 310 for a designated reference time.
  • the second processor 210 determines whether the second processor 210 uses the security subsystem 230 or 310 based on the time the second processor 210 occupies the security subsystem 230 or 310 and the specified reference time. time can be detected.
  • the second processor 210 may check whether the security function related to at least one task of the second processor 210 can be processed during the time when the security subsystem 230 or 310 can be used.
  • a request signal related to return of access rights to the security subsystem 230 or 310 may be transmitted to the rights assignment device 220.
  • the second processor 210 returns the access authority of the security subsystem 230 or 310 based on the time the second processor 210 occupies the security subsystem 230 or 310 .
  • a request signal related to the access authority of the security subsystem 230 or 310 may be transmitted to the authority allocation device 220 in order to process at least one unprocessed task.
  • a security function related to at least one task of the second processor 210 may be performed through the security subsystem 230 or 310.
  • the electronic device eg, the second processor 210
  • the second processor 210 while performing a security function related to at least one task through the security subsystem 230 or 310, the second processor 210 Based on the time the security subsystem 230 or 310 is occupied, it may be determined whether a specified occupancy condition related to the security subsystem 230 or 310 is satisfied.
  • the second processor 210 when the time that the second processor 210 occupies the security subsystem 230 or 310 is less than the specified reference time, the security subsystem 230 or 310 related to the specified It can be determined that the occupancy condition is satisfied.
  • the second processor 210 when the time that the second processor 210 occupies the security subsystem 230 or 310 is greater than or equal to the specified reference time, the security subsystem 230 or 310 related to the specified It can be determined that the occupancy condition is not satisfied.
  • the electronic device eg, the second processor 210 determines that the specified occupancy condition related to the security subsystem 230 or 310 is satisfied (eg, 'Yes' in operation 1407)
  • the operation At 1405 a security function related to at least one task may be performed through the security subsystem 230 or 310.
  • the electronic device eg, the second processor 210 determines that the specified occupancy condition related to the security subsystem 230 or 310 is not satisfied (eg, 'No' in operation 1407)
  • access rights to the security subsystem 230 or 310 may be returned (or returned).
  • the second processor 210 when the time that the second processor 210 occupies the security subsystem 230 or 310 is equal to or longer than the designated reference time, the security subsystem 230 or 310, regardless of whether at least one task is completed.
  • a request signal related to the return of the access right to the subsystem 230 or 310 may be transmitted to the right assignment device 220 .
  • the request signal related to the return of the access right may include information (eg, identification information) related to the processor requesting the return of the access right and/or a second value different from the first value for requesting the access right (eg, ' 0') may be included.
  • information eg, identification information
  • a second value different from the first value for requesting the access right eg, ' 0'
  • the electronic device 101 limits the time that the second processor 210 occupies the security subsystem 230 or 310 to a specified reference time, so that the first processor 200 is able to control the security subsystem (230 or 310). 230 or 310), it is possible to secure safety for performing the security function.
  • the second processor 210 performs a security function related to at least one task through the security subsystem 230 or 310 in a state where the occupation time of the security subsystem 230 or 310 is less than a specified reference time.
  • a request signal related to the return of access rights to the security subsystem 230 or 310 may be transmitted to the rights assignment device 220 .
  • the electronic device 101 may limit the time that the security subsystem 230 or 310 is occupied by the first processor 200 as well as the second processor 210 to a specified reference time.
  • 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.
  • a security device eg, the security subsystem 230
  • the second processor 210 of the electronic device 101 determines the access authority of the security subsystem 230 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority assignment device 220 (operation 1501).
  • the request signal related to access rights includes information related to the second processor 210 requesting access rights (eg, identification information) and/or a first value indicating a request for access rights (eg, '1'). ) may be included.
  • the authority assignment device 220 transfers the security subsystem 230 to the second processor 210 based on the request signal related to the access authority of the security subsystem 230 received from the second processor 210. ) can be assigned access rights.
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 230 to the second processor 210 (operation 1503).
  • the authority assignment device 220 allocates the access authority of the security subsystem 230 to the second processor 210 when the processor assigned the access authority of the security subsystem 230 does not exist. can do.
  • the authority assignment device 220 may check whether the access authority of the security subsystem 230 is recovered when there is a processor assigned the access authority of the security subsystem 230 .
  • the authority assignment device 220 may allocate the access authority of the security subsystem 230 to the second processor 210 .
  • the rights allocation device 220 is based on the rights allocation method, the request time of access rights, and/or the priority of access rights. Accordingly, the access authority of the security subsystem 230 may be assigned to the second processor 210 .
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Information indicating key selection of the second processor 210) may be transmitted to the security subsystem 230 (operation 1506).
  • the security subsystem 230 receives information related to the assignment of access rights to the second processor 210 received from the rights assignment device 220 (eg, instructions related to key selection of the second processor 210).
  • the key of the second processor 210 may be obtained based on information).
  • the key of the second processor 210 may be obtained from the second processor key management module 243 through the processor key selection module 241 included in the processor key management module 233 of FIG. 2B.
  • the key of the second processor 210 is a root key of the second processor 210 to which the access authority of the security subsystem 230 is assigned, and may include OTP or eFuse.
  • the second processor 210 when the second processor 210 is assigned access rights to the security subsystem 230 from the authority assignment unit 220, the second processor 210 occupies the security subsystem 230.
  • the time can be checked (act 1505).
  • the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 230 from the rights assignment device 220, the second processor 210 starts a timer.
  • the second processor 210 may check the time the second processor 210 occupies the security subsystem 230 based on the running time of the timer.
  • the second processor 210 processes a security function related to at least one task of the second processor 210 based on the time the second processor 210 occupies the security subsystem 230 . If it is determined that it can be done, the security function can be performed through the security subsystem 230 (operation 1507). According to one embodiment, the second processor 210 is based on the time the second processor 210 occupies the security subsystem 230 and the designated reference time, the second processor 210 is the security subsystem 230 can detect the available time. The second processor 210 may check whether the security function related to at least one task of the second processor 210 can be processed during the time during which the security subsystem 230 can be used.
  • the second processor 210 may perform the security function related to the at least one task through the security subsystem 230 .
  • the security subsystem 230 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the security function includes encryption of RAM related to the second processor 210, encryption of important data (eg, IMEI or MEID) related to the second processor 210, and encryption of important data related to the second processor 210.
  • the security function may include a function for encrypting important data (eg, payment data) related to the first processor 200 and/or generating an encryption key.
  • the second processor 210 may request return (or return) of the access right to the security subsystem 230 (operation 1509).
  • the second processor 210 authorizes a request signal related to the return of access rights to the security subsystem 230. It can be transmitted to the allocation device 220.
  • the request signal related to the return of the access right is information (eg, identification information) related to the second processor 210 requesting the return of the access right and/or a value different from the first value to indicate the return of the access right. It may include a second value (eg '0').
  • the permission assignment device 220 returns the second processor 210 to the security subsystem 230 based on the return request of the access right of the security subsystem 230 from the second processor 210 . access rights can be revoked.
  • the authority assignment device 220 may transmit information related to return of the access authority of the security subsystem 230 (eg, authority return notification information) to the second processor 210 (operation 1511).
  • the authority assignment device 220 may delete data related to the second processor 210 based on the return of the access authority of the second processor 200 to the security subsystem 230 .
  • 230 may be controlled (act 1513).
  • the authority assignment device 220 may provide an initialization request signal to the security subsystem 230 ( action 1513).
  • the security subsystem 230 may initialize the security subsystem 230 based on the initialization request signal received from the authority assignment device 220 (operation 1515).
  • the security subsystem 230 stores information related to the second processor 210 present in an internal memory and/or a registration path of the security subsystem 230 through initialization of the security subsystem 230 . can be deleted.
  • the information related to the second processor 210 may include a key of the second processor 210 and/or operation information based on the key of the second processor 210 .
  • the permission assignment device 220 returns the access right of the security subsystem 230 from the second processor 210 (or returns) regardless of the request for the security subsystem 230 to the second
  • the access authority of the processor 210 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the second processor 210 exceeds a specified reference time, the second security subsystem 230 for the security subsystem 230
  • the access authority of the processor 210 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the second processor 210 to the security subsystem 230.
  • Rights return notification information may be transmitted to the second processor 210 (operation 1511). For example, operation 1511 of FIG. 15A may be omitted.
  • 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.
  • a security device eg, the security subsystem 310
  • the second processor 210 of the electronic device 101 determines the access authority of the security subsystem 310 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority allocation device 220 (operation 1521).
  • the authority assignment device 220 transfers the security subsystem 310 to the second processor 210 based on the request signal related to the access authority of the security subsystem 310 received from the second processor 210 . ) can be assigned access rights.
  • the authority allocation unit 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 310 to the second processor 210 (operation 1523).
  • operations 1521 and 1523 of FIG. 15B may include operations corresponding to (or identical to) operations 1501 and 1503 of FIG. 15A.
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Instruction information related to key selection of the second processor 210) may be transmitted to the processor key management device 300 (operation 1525).
  • the processor key management device 300 receives information related to the assignment of access rights to the second processor 210 received from the permission assignment device 220 (eg, related to key selection of the second processor 210). A key of the second processor 210 may be selected based on the instruction information). The processor key management device 300 may provide information related to the key of the second processor 210 (or the key of the second processor 210) to the security subsystem 310 (operation 1527). As an example, the key of the second processor 210 may be obtained from the second processor key management module 306 by the processor key selection module 302 of FIG. 3 .
  • the second processor 210 when the second processor 210 is assigned access rights to the security subsystem 310 from the authority assignment unit 220, the second processor 210 occupies the security subsystem 310.
  • the time can be checked (act 1529).
  • the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 310 from the rights assignment device 220, the second processor 210 drives a timer.
  • the second processor 210 may check the time the second processor 210 occupies the security subsystem 310 based on the running time of the timer.
  • the second processor 210 processes a security function related to at least one task of the second processor 210 based on the time the second processor 210 occupies the security subsystem 310 . If it is determined that it can be done, the security function can be performed through the security subsystem 310 (operation 1531). According to one embodiment, the second processor 210 is based on the time the second processor 210 occupies the security subsystem 310 and the designated reference time, the second processor 210 is the security subsystem 310 can detect the available time. The second processor 210 may check whether the security function related to at least one task of the second processor 210 can be processed during the time when the security subsystem 310 can be used.
  • the second processor 210 may perform the security function related to the at least one task through the security subsystem 310 .
  • the security subsystem 310 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the second processor 210 may request return (or return) of the access right to the security subsystem 310 (operation 1533).
  • the second processor 210 authorizes a request signal related to the return of access rights to the security subsystem 310. It can be transmitted to the allocation device 220.
  • the request signal related to the return of the access right is information (eg, identification information) related to the second processor 210 requesting the return of the access right and/or a value different from the first value to indicate the return of the access right. It may include a second value (eg '0').
  • the authority assignment device 220 returns the access authority of the security subsystem 310 from the second processor 210 to the second processor 210 for the security subsystem 310 based on the request. access rights can be revoked.
  • the authority assignment device 220 may transmit information related to the return of the access authority of the security subsystem 310 (eg, authority return notification information) to the second processor 210 (operation 1535).
  • the authority assignment device 220 may delete data related to the second processor 210 based on the return of the access authority of the second processor 200 to the security subsystem 310 . 310 may be controlled (act 1537). According to an embodiment, when the access right of the security subsystem 310 is retrieved from the second processor 210, the authority assignment device 220 may provide an initialization request signal to the security subsystem 310 ( action 1537).
  • the security subsystem 310 may initialize the security subsystem 310 based on the initialization request signal received from the authority assignment device 220 (operation 1539).
  • the security subsystem 310 stores information related to the second processor 210 present in an internal memory and/or a registration path of the security subsystem 310 through initialization of the security subsystem 310 . can be deleted.
  • the information related to the second processor 210 may include a key of the second processor 210 and/or operation information based on the key of the second processor 210 .
  • the permission assignment device 220 returns the access right of the security subsystem 230 from the second processor 210 (or returns) regardless of the request for the security subsystem 230 to the second
  • the access authority of the processor 210 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the second processor 210 exceeds a specified reference time, the second security subsystem 230 for the security subsystem 230
  • the access authority of the processor 210 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the second processor 210 to the security subsystem 230.
  • Rights return notification information may be transmitted to the second processor 210 (operation 1535). For example, operation 1533 of FIG. 15B may be omitted.
  • 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.
  • a security device eg, the security subsystem 230
  • the second processor 210 of the electronic device 101 determines the access authority of the security subsystem 230 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority assignment device 220 (operation 1601).
  • the request signal related to access rights includes information related to the second processor 210 requesting access rights (eg, identification information) and/or a first value indicating a request for access rights (eg, '1'). ) may be included.
  • the authority assignment device 220 transfers the security subsystem 230 to the second processor 210 based on the request signal related to the access authority of the security subsystem 230 received from the second processor 210. ) can be assigned access rights.
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 230 to the second processor 210 (operation 1603).
  • the authority assignment device 220 allocates the access authority of the security subsystem 230 to the second processor 210 when the processor assigned the access authority of the security subsystem 230 does not exist. can do.
  • the rights allocation device 220 retrieves the second processor based on the rights allocation method, the request time of the access rights, and/or the priority of the access rights.
  • the access authority of the security subsystem (230) can be assigned.
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Instruction information related to the key selection of the second processor 210) may be transmitted to the security subsystem 230 (eg, operation 1606).
  • the security subsystem 230 receives information related to the assignment of access rights to the second processor 210 received from the rights assignment device 220 (eg, instructions related to key selection of the second processor 210).
  • the key of the second processor 210 may be obtained based on information). For example, the key of the second processor 210 may be obtained from the second processor key management module 243 through the processor key selection module 241 included in the processor key management module 233 of FIG. 2B.
  • the second processor 210 when the second processor 210 is assigned access rights to the security subsystem 230 from the authority assignment unit 220, the second processor 210 occupies the security subsystem 230.
  • the time can be checked (act 1605).
  • the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 230 from the rights assignment device 220, the second processor 210 starts a timer.
  • the second processor 210 may check the time the second processor 210 occupies the security subsystem 230 based on the running time of the timer.
  • the second processor 210 processes a security function related to at least one task of the second processor 210 based on the time the second processor 210 occupies the security subsystem 230 . If it is determined that it can be done, the security function can be performed through the security subsystem 230 (operation 1607). According to an embodiment, the security subsystem 230 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the second processor 210 may determine whether a specified occupancy condition related to the security subsystem 230 is satisfied while performing the security function through the security subsystem 230 (operation 1609). According to one embodiment, the second processor 210 satisfies the specified occupation condition related to the security subsystem 230 when the time the second processor 210 occupies the security subsystem 230 is less than the specified reference time. It can be judged that According to an embodiment, the second processor 210 satisfies a specified occupation condition related to the security subsystem 230 when the time the second processor 210 occupies the security subsystem 230 is equal to or longer than the specified reference time. It can be judged that it does not.
  • the second processor 210 determines that the specified occupancy condition related to the security subsystem 230 is not satisfied (operation 1609), the access right to the security subsystem 230 is returned (or return) may be requested (operation 1611).
  • the second processor 210 operates the security subsystem regardless of whether at least one task is completed when the time the second processor 210 occupies the security subsystem 230 is equal to or longer than the designated reference time.
  • a request signal related to the return of access rights to 230 may be transmitted to the rights allocation device 220 (operation 1611).
  • the request signal related to the return of the access right is information (eg, identification information) related to the second processor 210 requesting the return of the access right and/or a value different from the first value to indicate the return of the access right. It may include a second value (eg '0').
  • the permission assignment device 220 returns the second processor 210 to the security subsystem 230 based on the return request of the access right of the security subsystem 230 from the second processor 210 . access rights can be revoked.
  • the authority assignment device 220 may transmit information (eg, authority return notification information) related to the return of the access authority of the security subsystem 230 to the second processor 210 (operation 1613).
  • the authority assignment device 220 may delete data related to the second processor 210 based on the return of the access authority of the second processor 200 to the security subsystem 230 .
  • 230 may be controlled (act 1615).
  • the authority assignment device 220 may provide an initialization request signal to the security subsystem 230 ( action 1615).
  • the security subsystem 230 may initialize the security subsystem 230 based on the initialization request signal received from the authority assignment device 220 (operation 1617).
  • the security subsystem 230 stores information related to the second processor 210 present in an internal memory and/or a registration path of the security subsystem 230 through initialization of the security subsystem 230 . can be deleted.
  • the information related to the second processor 210 may include a key of the second processor 210 and/or operation information based on the key of the second processor 210 .
  • the request signal related to the access authority of the security subsystem 230 is transmitted to the authority allocation device 220. May transmit (act 1619).
  • the authority assignment device 220 transfers the security subsystem 230 to the second processor 210 based on the request signal related to the access authority of the security subsystem 230 received from the second processor 210. ) can be assigned (operation 1621).
  • the authority assignment device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 230 to the second processor 210 (operation 1621).
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Instruction information related to the key selection of the second processor 210) may be transmitted to the security subsystem 230 (eg, operation 1623).
  • the security subsystem 230 receives information related to the assignment of access rights to the second processor 210 received from the rights assignment device 220 (eg, instructions related to key selection of the second processor 210).
  • the key of the second processor 210 may be obtained based on information). For example, the key of the second processor 210 may be obtained from the second processor key management module 243 through the processor key selection module 241 included in the processor key management module 233 of FIG. 2B.
  • the second processor 210 may perform a security function through the security subsystem 230 when the access authority of the security subsystem 230 is allocated from the authority assignment device 220 ( action 1625).
  • the second processor 210 when the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 230 from the rights assignment device 220, the second processor 210 drives a timer ( e.g. reset). The second processor 210 may check the time the second processor 210 occupies the security subsystem 230 based on the running time of the timer.
  • a signal e.g, an ACK signal
  • security functions may be performed through the security subsystem 230 .
  • the security subsystem 230 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the second processor 210 may return (or return) access rights to the security subsystem 230 (operation 1627). ).
  • the second processor 210 authorizes a request signal related to the return of access rights to the security subsystem 230. It may be transmitted to the allocation device 220 (operation 1627).
  • the request signal related to the return of the access right is information (eg, identification information) related to the second processor 210 requesting the return of the access right and/or a value different from the first value to indicate the return of the access right. It may include a second value (eg '0').
  • the permission assignment device 220 returns the access right of the security subsystem 230 from the second processor 210 (or returns) regardless of the request for the security subsystem 230 to the second
  • the access authority of the processor 210 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the second processor 210 exceeds a specified reference time, the second security subsystem 230 for the security subsystem 230
  • the access authority of the processor 210 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the second processor 210 to the security subsystem 230.
  • Rights return notification information may be transmitted to the second processor 210 (operation 1613). For example, operations 1611 and 1627 of FIG. 16A may be omitted.
  • 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.
  • a security device eg, the security subsystem 310
  • the second processor 210 of the electronic device 101 determines the access authority of the security subsystem 310 when at least one job related to the security function exists.
  • a related request signal may be transmitted to the authority allocation device 220 (operation 1631).
  • the authority assignment device 220 transfers the security subsystem 310 to the second processor 210 based on the request signal related to the access authority of the security subsystem 310 received from the second processor 210 . ) can be assigned access rights.
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 310 to the second processor 210 (operation 1633).
  • operations 1631 and 1633 of FIG. 16B may include operations corresponding to (or identical to) operations 1601 and 1603 of FIG. 16A .
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Instruction information related to key selection of the second processor 210) may be transmitted to the processor key management device 300 (operation 1635).
  • the processor key management device 300 receives information related to the assignment of access rights to the second processor 210 received from the permission assignment device 220 (eg, related to key selection of the second processor 210). A key of the second processor 210 may be selected based on the instruction information). The processor key management device 300 may provide information related to the key of the second processor 210 (or the key of the second processor 210) to the security subsystem 310 (operation 1637). As an example, the key of the second processor 210 may be obtained from the second processor key management module 306 by the processor key selection module 302 of FIG. 3 .
  • the second processor 210 when the second processor 210 is assigned access rights to the security subsystem 310 from the authority assignment unit 220, the second processor 210 occupies the security subsystem 310.
  • the time can be checked (act 1639).
  • the second processor 210 when the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 310 from the rights assignment device 220, the second processor 210 drives a timer.
  • the second processor 210 may check the time the second processor 210 occupies the security subsystem 310 based on the running time of the timer.
  • the second processor 210 processes a security function related to at least one task of the second processor 210 based on the time the second processor 210 occupies the security subsystem 310 . If it is determined that it can be done, the security function can be performed through the security subsystem 310 (operation 1641). According to an embodiment, the security subsystem 310 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the second processor 210 may determine whether a specified occupancy condition related to the security subsystem 310 is satisfied while performing the security function through the security subsystem 310 (operation 1643). According to one embodiment, the second processor 210 satisfies a specified occupation condition related to the security subsystem 310 when the time the second processor 210 occupies the security subsystem 310 is less than the specified reference time. It can be judged that According to an embodiment, the second processor 210 satisfies a specified occupation condition related to the security subsystem 310 when the time the second processor 210 occupies the security subsystem 310 is equal to or longer than the specified reference time. It can be judged that it does not.
  • the second processor 210 determines that the specified occupancy condition related to the security subsystem 310 is not satisfied (operation 1643), the access right to the security subsystem 310 is returned (or return) may be requested (operation 1645).
  • the second processor 210 operates the security subsystem regardless of whether at least one task is completed when the time the second processor 210 occupies the security subsystem 310 is equal to or longer than the specified reference time.
  • a request signal related to the return of the access right to 310 may be transmitted to the right allocation device 220 (operation 1645).
  • the authority assignment device 220 returns the access authority of the security subsystem 310 from the second processor 210 to the second processor 210 for the security subsystem 310 based on the request. access rights can be revoked.
  • the authority assignment device 220 may transmit information related to the return of the access authority of the security subsystem 310 (eg, authority return notification information) to the second processor 210 (operation 1647).
  • the authority assignment device 220 may delete data related to the second processor 210 based on the return of the access authority of the second processor 200 to the security subsystem 310 . 310 may be controlled (act 1649). According to an embodiment, when the access right of the security subsystem 310 is retrieved from the second processor 210, the authority assignment device 220 may provide an initialization request signal to the security subsystem 310 ( action 1649).
  • the security subsystem 310 may initialize the security subsystem 310 based on the initialization request signal received from the authority assignment device 220 (operation 1651).
  • the security subsystem 310 stores information related to the second processor 210 present in an internal memory and/or a registration path of the security subsystem 310 through initialization of the security subsystem 310 . can be deleted.
  • the information related to the second processor 210 may include a key of the second processor 210 and/or operation information based on the key of the second processor 210 .
  • the request signal related to the access authority of the security subsystem 310 is transmitted to the authority allocation device 220. May transmit (act 1653).
  • the authority assignment device 220 transfers the security subsystem 310 to the second processor 210 based on the request signal related to the access authority of the security subsystem 310 received from the second processor 210 . ) can be assigned (operation 1655).
  • the authority allocation device 220 may transmit a signal (eg, an ACK signal) related to the allocation of access authority to the security subsystem 310 to the second processor 210 (operation 1655).
  • the authority assignment device 220 assigns information related to the allocation of access authority to the second processor 210 (eg: Instruction information related to key selection of the second processor 210) may be transmitted to the processor key management device 300 (operation 1657).
  • the processor key management device 300 receives information related to the assignment of access rights to the second processor 210 received from the permission assignment device 220 (eg, related to key selection of the second processor 210). A key of the second processor 210 may be selected based on the instruction information). The processor key management device 300 may provide information related to the key of the second processor 210 (or the key of the second processor 210) to the security subsystem 310 (operation 1659). As an example, the key of the second processor 210 may be obtained from the second processor key management module 306 by the processor key selection module 302 of FIG. 3 .
  • the second processor 210 may perform a security function through the security subsystem 310 when the access authority of the security subsystem 310 is allocated from the authority assignment device 220 ( Action 1661).
  • the second processor 210 when the second processor 210 receives a signal (eg, an ACK signal) related to the assignment of access rights to the security subsystem 310 from the rights assignment device 220, the second processor 210 drives a timer ( Example: reset). The second processor 210 may check the time the second processor 210 occupies the security subsystem 310 based on the running time of the timer.
  • security functions may be performed through the security subsystem 310 .
  • the security subsystem 310 may process the security function of the second processor 210 based on the key of the second processor 210 .
  • the second processor 210 may return (or return) access rights to the security subsystem 310 (operation 1663). ).
  • the second processor 210 authorizes a request signal related to the return of access rights to the security subsystem 310. It can be sent to the allocation device 220 (operation 1663).
  • the permission assignment device 220 returns the access right of the security subsystem 230 from the second processor 210 (or returns) regardless of the request for the security subsystem 230 to the second
  • the access authority of the processor 210 may be revoked.
  • the authority assignment device 220 determines that the occupation time of the security subsystem 230 of the second processor 210 exceeds a specified reference time, the second security subsystem 230 for the security subsystem 230
  • the access authority of the processor 210 may be revoked.
  • the authority assignment unit 220 returns information (eg, return) of the access authority of the security subsystem 230 based on the recovery of the access authority of the second processor 210 to the security subsystem 230.
  • Rights return notification information may be transmitted to the second processor 210 (operation 1647). For example, operations 1645 and 1663 of FIG. 16B may be omitted.
  • FIG. 17 is a flowchart 1700 for performing a security function through a security device (eg, the security subsystem 230 or 310) in an electronic device according to various embodiments.
  • a security device eg, the security subsystem 230 or 310
  • each operation may be performed sequentially, but not necessarily sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the electronic device of FIG. 17 may be the electronic device 101 of FIG. 1 or 2 .
  • the electronic device eg, the second processor 210 of FIG. 2
  • determines that a specified occupancy condition related to the security subsystem 230 or 310 is not satisfied eg, the second processor 210 of FIG. 2
  • access rights to the security subsystem 230 or 310 may be returned (or returned).
  • the second processor 210 when the time that the second processor 210 occupies the security subsystem 230 or 310 is equal to or longer than the designated reference time, the security subsystem 230 or 310, regardless of whether at least one task is completed.
  • a request signal related to the return of the access right to the subsystem 230 or 310 may be transmitted to the right assignment device 220 .
  • the request signal related to the return of the access right may include a second value different from the first value (eg '0') to indicate the return of the access right.
  • the electronic device may check whether processing of the security function has been completed using the security subsystem 230 or 310.
  • the second processor 210 determines the security that is being processed through the security subsystem 230 or 310 based on that the second processor 210 occupies the security subsystem 230 or 310 for a specified reference time.
  • the function may be determined that there is at least one job in which processing of the security function has not been completed using the security subsystem 230 or 310 .
  • an embodiment for performing a security function through the security subsystem 230 or 310 may end.
  • a request signal related to the access authority of the security subsystem 230 or 310 may be transmitted to the authority allocation device 220.
  • the request signal related to access rights includes information related to the second processor 210 requesting access rights (eg, identification information) and/or a first value indicating a request for access rights (eg, '1'). ) may be included.
  • the electronic device receives the access authority of the security subsystem 230 or 310 from the authority allocation unit 220. You can check if this is allocated.
  • the electronic device eg, the first processor 200 and/or the second processor 210) is not assigned the access right of the security subsystem 230 or 310 from the right assigning device 220. If it is determined that it is true (eg, 'No' in operation 1707), an embodiment for performing a security function may be terminated through the security subsystem 230 or 310.
  • the electronic device eg, the first processor 200 and/or the second processor 210) is deemed to have been assigned the access right of the security subsystem 230 or 310 from the right assigning device 220. If it is determined (eg, 'yes' in operation 1707), in operation 1709, a security function related to at least one task for which processing has not been completed may be performed through the security subsystem 230 or 310.
  • the second processor 210 may sequentially transmit a permission request signal corresponding to the first task and a permission request signal corresponding to the second task to the permission assignment device 220 .
  • the second processor 210 When the second processor 210 has been assigned the access authority of the security subsystem 230 or 310 but has not completed the first task based on the specified reference time, the second processor 210 sends a request signal corresponding to the first task to the permission allocating device 220. ) can be transmitted.
  • the second processor 210 is assigned the access right of the security subsystem 230 or 310 from the right assigning device 220 based on the right request signal corresponding to the second job, the second processor 210 is assigned a reference time greater than the second job. Based on this, a security function related to the first task for which processing has not been completed may be performed first.
  • the permission request signal may include a request signal related to the access permission of the security subsystem 230 or 310 .
  • an application processor eg, the main processor 121 of FIG. 1 or the first processor 200 of FIG. 2A or 3
  • a communication processor eg, the auxiliary processor 123 of FIG. 1 or the first processor 200 of FIG. 2A
  • the operating method of an electronic device eg, the electronic device 101 of FIGS. 1, 2A, or 3
  • the second processor 210 of FIG. 3 may include a security function related to the application processor or the communication processor. Allocating the access authority of the security subsystem (e.g., the security subsystem 230 or 310 of FIG.
  • the operation of assigning to the application processor or the communication processor may be performed 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. It may include an operation of alternately allocating access rights of the security subsystem to the communication processor.
  • the operation of alternately allocating may include receiving a plurality of request signals related to the access right of the security subsystem from the application processor consecutively and then from the communication processor related to the access right of the security subsystem.
  • the request signal When at least one request signal is received, allocating the access authority of the security subsystem to the application processor based on the reception time of the request signal, and retrieving the access authority of the security subsystem from the application processor
  • an operation of allocating the access authority of the security subsystem to the communication processor may be included.
  • the allocating to the application processor or the communication processor may include receiving the access request when a request signal related to the access authority of the security subsystem is received from the application processor and/or the communication processor.
  • An operation of allocating the access authority of the security subsystem to the application processor or the communication processor based on a viewpoint may be included.
  • the operation of allocating to the application processor or the communication processor may include receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor. An operation of identifying a processor for which the priority of access authority is set, and an operation of allocating the access authority of the security subsystem to the application processor when the priority to the application processor is set, and the security subsystem received from the application processor. When it is determined that the processing of at least one task corresponding to the request signal related to the access authority of the system is completed, an operation of allocating the access authority of the security subsystem to the communication processor may be included.
  • the operation of allocating to the application processor or the communication processor may include receiving a plurality of request signals related to the access authority of the security subsystem from the application processor and the communication processor.
  • an operation of allocating the access authority of the security subsystem to the application processor may be included.
  • the security function related to the communication processor is sent to the security subsystem regardless of completion of processing. It may include an action that returns access rights to
  • the security function processing is not completed based on the designated reference time in a state in which the access authority of the security subsystem has been previously allocated.
  • the method may further include an operation of checking whether there is a security function whose processing has not been completed, and an operation of processing the security function of which the processing has not been completed through the security subsystem if there is an operation of processing the security function of which the processing has not been completed.
  • the access authority of the security subsystem when the access authority of the security subsystem is assigned to the application processor, performing a security function related to the application processor based on a key corresponding to the application processor, or performing the security function related to the application processor to the communication processor.
  • an operation of performing a security function related to the application processor based on a key corresponding to the communication processor may be further included.
  • the security subsystem when the time allotted to the communication processor by the access authority of the security subsystem completes the processing of the security function related to the communication processor before the designated reference time elapses, the security subsystem An operation to return access rights may be further included.
  • the operation of obtaining a key related to the communication processor when the access authority of the security subsystem is assigned to the communication processor, a processor key management device separate from the security subsystem (eg, FIG. 3 It may include an operation of obtaining a root key related to the communication processor through the processor key management device 300 of the above.
  • the access authority of the security subsystem when the access authority of the security subsystem is assigned to the application processor, obtaining a root key related to the application processor through a processor key management device separate from the security subsystem; and The method may further include processing a security function related to the application processor through the security subsystem based on a key related to the processor.
  • the operation of initializing the data may include the first key and the application processor when information related to the return of the access authority of the security subsystem allocated to the application processor is received from the authority allocation device.
  • the second key and the security of the communication processor It may include an operation of deleting data related to the function.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

본 발명의 다양한 실시예는 전자 장치에서 보안 장치를 운영하기 위한 장치 및 방법에 관한 것이다. 다양한 실시예에 따르면, 전자 장치는, 보안 서브시스템, 어플리케이션 프로세서 또는 커뮤니케이션 프로세서에 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치, 및 보안 서브시스템의 접근 권한을 할당받은 어플리케이션 프로세서 또는 커뮤니케이션 프로세서와 관련된 키를 보안 서브시스템으로 제공하는 프로세서 키 관리 장치를 포함할 수 있다. 다른 실시예들도 가능할 수 있다.

Description

보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법
본 발명의 다양한 실시예는 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법에 관한 것이다.
전자 장치는 정보통신 기술 및 반도체 기술의 발전으로 인해 다양한 기능을 제공할 수 있다. 예를 들어, 다양한 기능은 통화 기능, 메시지 기능, 방송 기능, 무선 인터넷 기능, 카메라 기능, 전자 결제 기능, 사용자 인증 기능 또는 음악 재생 기능 중 적어도 하나를 포함할 수 있다.
전자 장치는 사용자가 전자 장치를 통해 사용하는 기능이 다양해짐에 따라 전자 장치에 저장되는 개인 정보가 증가하고 있다. 예를 들어, 전자 장치에 저장되는 개인 정보는 결제 정보, 인증 정보 및/또는 크레덴셜(credential)과 관련된 정보와 같이 보안 설정이 필요한 정보를 포함할 수 있다.
전자 장치는 전자 장치의 보안을 강화하기 위해 보안 서브시스템(security subsystem)과 같은 보안 장치를 포함할 수 있다. 예를 들어, 전자 장치는 어플리케이션 프로세서(AP: application processor) 및 커뮤니케이션 프로세서(CP: communication processor)가 물리적으로 분리된 경우, 어플리케이션 프로세서를 위한 제 1 보안 서브시스템 및 커뮤니케이션 프로세서를 위한 제 2 보안 서브시스템을 포함할 수 있다. 어플리케이션 프로세서를 위한 제 1 보안 서브시스템과 커뮤니케이션 프로세서를 위한 제 2 보안 서브시스템은 동일한 기능을 수행할 수 있다. 일예로, 물리적으로 구분된 어플리케이션 프로세서 및 커뮤니케이션 프로세서는 서로 다른 칩으로 구성된 상태를 포함할 수 있다.
전자 장치는 전자 장치의 보안을 강화하기 위해 동일한 기능을 수행하는 복수의 보안 서브시스템들을 사용하는 경우, 보안 서브시스템들을 배치하기 위한 전자 장치의 내부 공간이 요구될 수 있다. 또한, 전자 장치는 복수의 보안 서브시스템들의 사용으로 인해 전자 장치의 단가가 상승하고 전력 소모가 증가할 수 있다.
본 발명의 다양한 실시예는 전자 장치에서 복수의 프로세서들(예: 어플리케이션 프로세서 및 커뮤니케이션 프로세서)이 하나의 보안 장치(예: 보안 서브시스템)를 공유하기 위한 장치 및 방법에 대해 개시한다.
다양한 실시예에 따르면, 전자 장치는, 어플리케이션 프로세서와 커뮤니케이션 프로세서와 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치 및 상기 권한 할당 장치에서 상기 보안 서브시스템의 접근 권한을 할당받은 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 기반하여, 상기 어플리케이션 프로세서와 관련된 제 1 키 또는 상기 커뮤니케이션 프로세서와 관련된 제 2 키를 상기 보안 서브시스템으로 제공하는 프로세서 키 관리 장치를 포함하며, 상기 보안 서브시스템은, 상기 권한 할당 장치에서 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 상기 보안 서브시스템의 접근 권한의 할당에 기반하여 상기 프로세서 키 관리 장치로부터 제공받은 상기 제 1 키 또는 상기 제 2 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화할 수 있다.
다양한 실시예에 따르면, 어플리케이션 프로세서 및 커뮤니케이션 프로세서를 포함하는 전자 장치의 동작 방법은, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작과 상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작과 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함할 수 있다.
본 발명의 다양한 실시예에 따르면, 전자 장치에서 복수의 프로세서들(예: 어플리케이션 프로세서 및 커뮤니케이션 프로세서)이 하나의 보안 장치(예: 보안 서브시스템)를 공유함으로써, 보안 장치를 배치하기 위한 물리적 영역을 줄일 수 있고, 보안 장치에 의한 전자 장치의 단가 및/또는 전력 소모를 줄일 수 있다.
다양한 실시예에 따르면, 전자 장치에서 보안 장치를 공유하는 복수의 프로세서들 중 적어도 하나의 프로세서가 보안 장치를 점유하는 시간을 관리함으로써, 보안 장치의 사용을 위한 안정성을 확보할 수 있다.
도 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은, 다양한 실시예에 따른, 네트워크 환경(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))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(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)를 확인 또는 인증할 수 있다.
무선 통신 모듈(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)은 복수의 가입자 식별 모듈을 포함할 수 있다. 예를 들어, 복수의 가입자 식별 모듈은 서로 다른 가입자 정보를 저장할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 고주파(예: mmWave) 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, 고주파(예: mmWave) 안테나 모듈은 인쇄 회로 기판, 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 예를 들어, 복수의 안테나들은 패치(patch) 어레이 안테나 및/또는 다이폴(dipole) 어레이 안테나를 포함할 수 있다.
구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예는 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2a는 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치(101)의 블록도이다. 도 2b는 다양한 실시예에 따른 보안 장치(예: 보안 서브시스템(230))의 블록도이다. 이하 설명에서 전자 장치(101)는 보안 기능을 실행하기 위한 보안 장치로, 보안 서브시스템(230)을 포함할 수 있다. 하지만, 보안 장치는 보안 서브시스템(230)에 한정되지 않으며, 전자 장치(101)의 보안 기능을 실행하기 위한 다른 장치를 포함할 수도 있다.
도 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)은 복수의 패키지들(예: 프로세서 패키지)에 포함될 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200)는 제 1 프로세서(200)와 작동적, 기능적 및/또는 전기적으로 연결된 전자 장치(101)의 적어도 하나의 구성요소(예: 제 2 프로세서(210))의 제어 및/또는 다양한 데이터의 처리(또는 연산)를 수행할 수 있다. 일예로, 제 1 프로세서(200)는 어플리케이션 프로세서(AP)를 포함할 수 있다. 일예로, 제 1 프로세서(200)는 메모리(미 도시)를 포함할 수 있다. 일예로, 제 1 프로세서(200)의 메모리는 플래시 메모리를 포함할 수 있다.
일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 예를 들어, 제 1 프로세서(200)는 보안 서브시스템(230)로부터 제공받은 보안 기능의 수행 결과(예: 암호키)를 제 1 프로세서(200)의 메모리에 저장할 수 있다. 일예로, 보안 기능은 작업과 관련된 데이터의 서명 생성, 작업과 관련된 데이터의 서명의 검사, 작업과 관련된 인증, 작업과 관련된 데이터의 인증서 생성, 작업과 관련된 데이터의 인증서의 검사, 작업과 관련된 데이터의 암호화, 작업과 관련된 데이터의 복호화 또는 작업과 관련된 암호키 생성 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200)는 보안 서브시스템(230)을 통해 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업을 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 예를 들어, 제 1 프로세서(200)는 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 전자 장치(101)의 통신과 관련된 데이터의 처리(또는 연산)를 수행할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 하나의 커뮤니케이션 프로세서를 포함하거나, 하드웨어적으로 또는 소프트웨어적으로 구분된 복수의 커뮤니케이션 프로세서들을 포함할 수 있다. 예를 들어, 복수의 커뮤니케이션 프로세서들은 서로 다른 종류의 RAT(radio access technology)와 관련된 네트워크 통신을 지원할 수 있다. 일예로, 제 2 프로세서(210)는 메모리(미 도시)를 포함할 수 있다. 일예로, 제 2 프로세서(210)의 메모리는 플래시 메모리를 포함할 수 있다.
일 실시예에 따르면, 제 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 대역 정보 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)을 통해 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업을 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 예를 들어, 제 2 프로세서(210)는 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
일 실시예에 따르면, 제 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)에서 처리하는 데이터의 크기에 기반하여 예측될 수 있다.
다양한 실시예에 따르며, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 관리할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한을 제 1 프로세서(200) 또는 제 2 프로세서(210)에 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 및 제 2 프로세서(210)와 물리적으로 또는 하드웨어적으로 구분될 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 메모리(미 도시)를 포함할 수 있다. 일예로, 권한 할당 장치(220)의 메모리는 RAM(random access memory)을 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)의 메모리에 저장될 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)에 우선적으로 할당될 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)에 할당할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)에 대한 접근 권한이 할당된 프로세서의 키 선택과 관련된 지시 정보를 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(220)는 복수의 유한 상태 기계(FSM)들을 포함할 수도 있다. 예를 들어, 복수의 유한 상태 기계(FSM)들은 보안 서브시스템(230)의 접근 권한이 할당된 프로세서와 관련된 데이터의 저장 여부를 나타내는 제 1 FSM, 보안 서브시스템(230)의 접근 권한이 할당된 프로세서의 종류를 나타내는 제 2 FSM 및 보안 서브시스템(230)의 접근 권한과 관련된 적어도 하나의 요청을 나타내는 제 3 FSM을 포함할 수 있다. 일예로, 권한 할당 장치(220)에 포함되는 유한 상태 기계(FSM)의 종류 및/또는 개수는 이에 제한되지 않는다.
다양한 실시예에 따르면, 보안 서브시스템(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)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.
일 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 초기화 요청 신호를 수신한 경우, 보안 서브시스템(230)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제할 수 있다. 예를 들어, 보안 서브시스템(230)은 보안 서브시스템(230)의 내부 메모리(예: SRAM(static RAM)) 및/또는 등록 경로(register path)에 존재하는 이전 프로세서(200 또는 210)와 관련된 정보(예: 프로세서 키와 관련된 정보)를 삭제할 수 있다.
일 실시예에 따르면, 보안 서브시스템(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) 연산 중 적어도 하나를 수행할 수 있다.
일 실시예에 따르면, 프로세서 키 관리 모듈(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)의 생산 공정 시 설정된 프로세서의 고유 값으로, 고정된 값을 포함할 수 있다.
예를 들어, 프로세서 키 선택 모듈(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)를 포함할 수 있다.
도 3은 다양한 실시예에 따른 보안 기능을 제공하기 위한 전자 장치(101)의 블록도이다. 이하 설명에서 전자 장치(101)는 보안 기능을 실행하기 위한 보안 장치로, 보안 서브시스템(310)을 포함할 수 있다. 하지만, 보안 장치는 보안 서브시스템(310)에 한정되지 않으며, 전자 장치(101)의 보안 기능을 실행하기 위한 다른 장치를 포함할 수도 있다.
도 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)에 대한 상세한 설명을 생략한다.
다양한 실시예에 따르면, 프로세서 키 관리 장치(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)의 생산 공정 시 설정된 프로세서의 고유 값으로, 고정된 값을 포함할 수 있다.
예를 들어, 프로세서 키 선택 모듈(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)은 멀티플렉서를 포함할 수 있다.
다양한 실시예에 따르면, 보안 서브시스템(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)을 이용하여 생성 및/또는 처리되는 데이터로, 암호화된 데이터, 암호화된 연산 값, 복호화된 데이터, 복호화된 연산 값, 서명, 인증서 또는 암호키 중 적어도 하나와 관련된 데이터를 포함할 수 있다.
일 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 초기화 요청 신호를 수신한 경우, 보안 서브시스템(310)의 접근 권한이 할당되었던 프로세서와 관련된 데이터의 삭제할 수 있다. 예를 들어, 보안 서브시스템(310)은 보안 서브시스템(310)의 내부 메모리(예: SRAM(static RAM)) 및/또는 등록 경로(register path)에 존재하는 이전 프로세서(200 또는 210)와 관련된 정보(예: 프로세서 키와 관련된 정보)를 삭제할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에 대한 접근 권한의 회수를 위해 보안 서브시스템(230 또는 310)에서 이전에 접근 권한을 할당하였던 프로세서와 관련된 데이터를 삭제하도록 제어함으로써, 제 1 프로세서(200) 및 제 2 프로세서(210)를 격리(isolation)하여 전자 장치(101)의 보안을 강화할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 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 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한을 회수한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고, 상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하고, 상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하고, 상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환할 수 있다.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 경우, 이전에 상기 보안 서브시스템의 접근 권한을 할당받은 상태에서 상기 지정된 기준시간에 기반하여 처리가 완료되지 않은 보안 기능이 존재하는지 확인하고, 상기 처리가 완료되지 않은 보안 기능이 존재하는 경우, 상기 보안 서브시스템을 통해 상기 처리가 완료되지 않은 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 상기 보안 서브시스템은, 상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하고, 상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한 할당과 관련된 정보를 상기 보안 서브시스템에 제공하고, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한 할당과 관련된 정보를 상기 보안 서브시스템에 제공할 수 있다.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서는, 상기 지정된 기준시간이 경과하기 이전에 상기 커뮤니케이션 프로세서와 관련된 보안 기능의 처리를 완료한 경우, 상기 보안 서브시스템의 접근 권한을 반환할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고, 상기 프로세서 키 관리 장치는, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 어플리케이션 프로세서와 관련된 상기 제 1 키를 상기 보안 서브시스템으로 전송할 수 있다.
다양한 실시예에 따르면, 상기 권한 할당 장치는, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고, 상기 프로세서 키 관리 장치는, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 커뮤니케이션 프로세서와 관련된 상기 제 2 키를 상기 보안 서브시스템으로 전송할 수 있다.
도 4a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.
도 4a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 401). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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)의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 407). 일 실시예에 따르면, 보안 서브시스템(230)은 제 1 프로세서(200)의 키에 기반하여 제 1 프로세서(200)의 보안 기능을 처리할 수 있다. 예를 들어, 보안 기능은 제 1 프로세서(200)와 관련된 파일 시스템의 암호화, 제 1 프로세서(200)와 관련된 RAM(random access memory)의 암호화, 제 1 프로세서(200)와 관련된 중요 데이터(예: 결제 데이터)의 암호화 서명 생성, 서명 검사 또는 암호키 생성을 위한 기능 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 409). 일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한을 반환하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청에 기반하여 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 411).
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 반환에 기반하여 제 1 프로세서(200)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 413). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 1 프로세서(200)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 413).
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 415). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 1 프로세서(200)와 관련된 정보를 삭제할 수 있다. 일예로, 제 1 프로세서(200)와 관련된 정보는 제 1 프로세서(200)의 키 및/또는 제 1 프로세서(200)의 키에 기반한 연산 정보를 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 411). 일예로, 도 4a의 동작 409는 생략될 수 있다.
도 4b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 제 1 프로세서에 할당하기 위한 일예이다.
도 4b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 421).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 1 프로세서(200)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 1 프로세서(200)로 전송할 수 있다(동작 423). 일예로, 접근 권한의 할당과 관련된 신호는 접근 권한을 할당한 프로세서(예: 제 1 프로세서(200))와 관련된 정보(예: 식별 정보)를 포함할 수 있다. 일예로, 도 4b의 동작 421 및 동작 423은 도 4a의 동작 401 및 동작 403에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 1 프로세서(200)에 할당한 경우, 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 425).
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 1 프로세서(200)로의 접근 권한 할당과 관련된 정보(예: 제 1 프로세서(200)의 키 선택과 관련된 지시 정보)에 기반하여 제 1 프로세서(200)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 1 프로세서(200)의 키와 관련된 정보(또는 제 1 프로세서(200)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 427). 일예로, 제 1 프로세서(200)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 1 프로세서 키 관리 모듈(304)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 429). 일 실시예에 따르면, 보안 서브시스템(310)은 프로세서 키 관리 장치(300)로부터 획득한 제 1 프로세서(200)의 키에 기반하여 제 1 프로세서(200)의 보안 기능을 처리할 수 있다. 예를 들어, 보안 기능은 제 1 프로세서(200)와 관련된 파일 시스템의 암호화, 제 1 프로세서(200)와 관련된 RAM의 암호화, 제 1 프로세서(200)와 관련된 중요 데이터(예: 결제 데이터)의 암호화, 서명 생성 서명 검사 또는 암호키 생성을 위한 기능 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 431). 일 실시예에 따르면, 제 1 프로세서(200)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 433)
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 1 프로세서(200)의 접근 권한의 반환에 기반하여 제 1 프로세서(200)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 435). 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터 보안 서브시스템(310)의 접근 권한 반환과 관련된 요청 신호를 수신한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 435).
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 437). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 1 프로세서(200)와 관련된 정보를 삭제할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 1 프로세서(200)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 1 프로세서(200)로 전송할 수 있다(동작 433). 일예로, 도 4b의 동작 431은 생략될 수 있다.
도 5는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(500)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 5의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다.
도 5를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 권한 할당 장치(220))는 동작 501에서, 제 1 프로세서(200) 및/또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호가 수신되는지 확인할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호가 수신되지 않는 경우(예: 동작 501의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 수신한 경우(예: 동작 501의 '예'), 동작 503에서, 제 1 프로세서(200) 또는 제 2 프로세서(210)에서 보안 서브시스템(230 또는 310)을 사용 중인지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))가 존재하는 경우, 보안 서브시스템(230 또는 310)이 사용 중인 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)이 사용되지 않는 것으로 판단한 경우(예: 동작 503의 '아니오'), 동작 507에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230)의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한이 회수되지 않은 것으로 판단한 경우(예: 동작 505의 '아니오'), 동작 505에서, 보안 서브시스템(230 또는 310)의 접근 권한이 회수되는지 확인할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되는지 확인할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)의 접근 권한이 회수된 것으로 판단한 경우(예: 동작 505의 '예'), 동작 507에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230 또는 310)의 접근 권한에 대한 복수의 요청 신호들이 수신된 경우, 권한 할당 방식, 접근 권한의 요청 시점 또는 접근 권한의 우선순위 중 적어도 하나에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 전송한 프로세서(예: 제 1 프로세서(200) 또는 제 2 프로세서(210))에 보안 서브시스템(230 또는 310)의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 보안 서브시스템(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)의 키)를 획득할 수 있다.
도 6은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(600)이다. 일 실시예에 따르면, 도 6의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 6의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 6의 적어도 일부 구성은 도 7을 참조하여 설명할 수 있다. 도 7은 다양한 실시예에 따른 전자 장치에서 제 1 권한 할당 방식에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.
도 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)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 601의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 1 프로세서(200)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수된 경우(예: 동작 601의 '예'), 동작 603에서, 제 2 프로세서(210)(예: CP(communication processor))의 권한 요청이 존재하는지 확인할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 1 프로세서(200)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)가 포함되는 하나의 프로세서 패키지에 포함된 메모리를 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200)로 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 동안 저장된 요청 신호들(704, 706, 708, 710 및/또는 712) 중 제 1 프로세서(200)와 상이한 제 2 프로세서(210)로부터 수신된 요청 신호(예: 제 5 작업에 대응하는 요청 신호(710))가 존재하는지 확인할 수 있다. 일예로, 지정된 개수는 권한 할당 장치(220)가 저장할 수 있는 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호의 최대 개수로, 권한 할당 장치(220)와 관련된 메모리(또는 버퍼, 큐)의 크기에 기반하여 설정될 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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 작업과 관련된 보안 기능을 수행할 수 있다.
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(230)은 도 2b의 키 선택 모듈(241)을 통해 제 2 프로세서 키 관리 모듈(243)로부터 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(310)은 도 3의 프로세서 키 관리 장치(300)로부터 제 2 프로세서(210)의 키를 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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 작업과 관련된 보안 기능을 수행할 수 있다.
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 1 프로세서(200)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(230)은 도 2b의 키 선택 모듈(241)을 통해 제 1 프로세서 키 관리 모듈(242)로부터 제 1 프로세서(200)의 키를 획득할 수 있다. 예를 들어, 보안 서브시스템(310)은 도 3의 프로세서 키 관리 장치(300)로부터 제 1 프로세서(110)의 키를 획득할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 제 1 프로세서(200)의 제 2 작업에 대응하는 요청 신호(704)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 제 2 작업과 관련된 보안 기능을 수행할 수 있다.
도 8은 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(800)이다. 일 실시예에 따르면, 도 8의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 8의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 8의 적어도 일부 구성은 도 9를 참조하여 설명할 수 있다. 도 9는 다양한 실시예에 따른 전자 장치에서 권한 요청 시점에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다.
도 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)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 801의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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)의 접근 권한을 할당하기 위한 프로세서로 선택할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.
다양한 실시예에 따르면, 보안 서브시스템(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)로부터 획득될 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)의 접근 권한을 회수한 경우, 제 1 프로세서(200)의 요청 신호(904)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 1 프로세서(200)에 할당할 수 있다. 제 1 프로세서(200)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(904)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.
도 10은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 할당하기 위한 흐름도(1000)이다. 일 실시예에 따르면, 도 10의 동작들은 도 5의 동작 505 및 동작 507의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 10의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다. 이하에서 도 10의 적어도 일부 구성은 도 11 및 도 12를 참조하여 설명할 수 있다. 도 11은 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 일예이다. 도 12는 다양한 실시예에 따른 전자 장치에서 권한 할당 우선순위에 기반하여 보안 장치의 접근 권한을 할당하기 위한 다른 일예이다.
도 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)에 대한 접근 권한의 반환과 관련된 요청 신호를 전송한 프로세서를 포함할 수 있다.
일 실시예에 따르면, 권한 할당 장치(220)는 제 1 프로세서(200) 또는 제 2 프로세서(210)로부터 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호가 수신되지 않은 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(220))는 보안 서브시스템(230 또는 310)에 대한 접근 권한이 회수되지 않은 경우(예: 동작 1001의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 할당하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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)가 존재하는지 확인할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)가 존재하는지 확인할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.
일 실시예에 따르면, 권한 할당 장치(220)는 도 12를 참조하면, 제 2 권한 할당 방식(예: queue 방식)을 사용하고 제 2 프로세서(210)에 우선순위가 설정된 경우, 제 2 프로세서(210)로부터 수신한 요청 신호들(1210 및 1212) 중 가장 먼저 수신한 요청 신호(1210)에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 제 2 프로세서(210)에 할당할 수 있다. 제 2 프로세서(210)는 권한 할당 장치(220)로부터 할당받은 접근 권한에 기반하여 보안 서브시스템(230 또는 310)을 통해 요청 신호(1210)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.
일 실시예에 따르면, 보안 서브시스템(230 또는 310)은 권할 할당 장치(220)의 제어에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 제 2 프로세서(210)의 키를 획득할 수 있다. 예를 들어, 제 2 프로세서(210)의 키는 도 2b와 같이, 보안 서브시스템(230)에 내부에 포함된 제 2 프로세서 키 관리 모듈(243)로부터 획득될 수 있다. 예를 들어, 제 2 프로세서(210)의 키는 도 3과 같이, 보안 서브시스템(310)와 별도의 프로세서 키 관리 장치(300)로부터 획득될 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 권한 할당 장치(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)에 대응하는 작업과 관련된 보안 기능을 수행할 수 있다.
일 실시예에 따르면, 권한 할당 장치(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)로부터 획득될 수 있다.
도 13은 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 요청하기 위한 흐름도(1300)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 13의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다.
도 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)을 이용한 보안 기능을 수행하지 않는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하지 않는 것으로 판단한 경우(예: 동작 1301의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 요청하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용한 보안 기능을 수행하는 것으로 판단한 경우(예: 동작 1301의 '예'), 동작 1303에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 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)의 접근 권한이 할당되지 않은 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되지 않은 것으로 판단한 경우(예: 동작 1305의 '아니오'), 보안 서브시스템(230 또는 310)의 접근 권한을 요청하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당된 것으로 판단한 경우(예: 동작 1305의 '예'), 동작 1307에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다. 일 실시예에 따르면, 제 1 프로세서(200) 또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당 받기 위해 권한 할당 장치(220)로 전송한 요청 신호에 대응하는 적어도 하나의 작업과 관련된 보안 기능을 보안 서브시스템(230 또는 310)을 통해 수행할 수 있다.
다양한 실시예에 따르면, 제 1 프로세서(200) 또는 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능의 수행을 완료한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내는 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 접근 권한을 할당받은 시점부터 지정된 기준시간이 경과하는 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
도 14는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))의 접근 권한을 반환하기 위한 흐름도(1400)이다. 일 실시예에 따르면, 도 14의 동작들은 도 13의 동작 1307의 상세한 동작일 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 14의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다.
도 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)에 포함된 하드웨어로 구현된 타이머를 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 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)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는지 확인할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 없는 것으로 판단한 경우(예: 동작 1403의 '아니오'), 동작 1409에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간에 기반하여 보안 서브시스템(230 또는 310)의 접근 권한을 반환한 경우, 처리하기 못한 적어도 하나의 작업의 처리를 위해 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우(예: 동작 1403의 '예'), 동작 1405에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 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)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하는 것으로 판단한 경우(예: 동작 1407의 '예'), 동작 1405에서, 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능을 수행할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(예: 동작 1407의 '아니오'), 동작 1409에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 프로세서와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 위한 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유하는 시간을 지정된 기준시간으로 한정함으로써, 제 1 프로세서(200)가 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 안전성을 확보할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230 또는 310)의 점유 시간이 지정된 기준시간 미만인 상태에서 보안 서브시스템(230 또는 310)을 통해 적어도 하나의 작업과 관련된 보안 기능의 수행을 완료한 경우, 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)는 제 2 프로세서(210)뿐만 아니라 제 1 프로세서(200)가 보안 서브시스템(230 또는 310)을 점유하는 시간을 지정된 기준시간으로 한정할 수도 있다.
도 15a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 요청하기 위한 일예이다.
도 15a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1501). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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)의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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 또는 이퓨즈를 포함할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다(동작 1505). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다.
다양한 실시예에 따르면, 제 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)와 관련된 중요 데이터(예: 결제 데이터)의 암호화 및/또는 암호키 생성을 위한 기능을 포함할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1509). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1511)
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 1513). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 1513).
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 1515). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1511). 일예로, 도 15a의 동작 1511은 생략될 수 있다.
도 15b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 요청하기 위한 일예이다.
도 15b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1521).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1523). 일예로, 도 15b의 동작 1521 및 동작 1523은 도 15a의 동작 1501 및 동작 1503에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1525).
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1527). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다(동작 1529). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다.
다양한 실시예에 따르면, 제 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)의 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1533). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1535)
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 1537). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 1537).
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 1539). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환(또는 반납) 요청과 무관하게 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)의 보안 서브시스템(230)의 점유 시간이 지정된 기준시간을 초과하는 것으로 판단한 경우, 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한의 회수에 기반하여 보안 서브시스템(230)의 접근 권한의 반환(또는 반납)과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1535). 일예로, 도 15b의 동작 1533은 생략될 수 있다.
도 16a는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230))의 접근 권한을 반환하기 위한 일예이다.
도 16a를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1601). 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1603). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 할당받은 프로세서가 존재하지 않는 경우, 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다. 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 회수한 경우, 권한 할당 방식, 접근 권한의 요청 시점 및/또는 접근 권한의 우선순위에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다(동작 1605). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간을 확인할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(230)을 통해 보안 기능을 수행할 수 있다(동작 1607). 일 실시예에 따르면, 보안 서브시스템(230)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)을 통해 보안 기능을 수행 중 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하는지 할 수 있다(동작 1609). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 미만인 경우, 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 이상인 경우, 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(230)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(동작 1609), 보안 서브시스템(230)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1611). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1611). 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(230)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(230)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1613)
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(230)을 제어할 수 있다(동작 1615). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(230)으로 제공할 수 있다(동작 1615).
다양한 실시예에 따르면, 보안 서브시스템(230)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(230)을 초기화할 수 있다(동작 1617). 일 실시예에 따르면, 보안 서브시스템(230)은 보안 서브시스템(230)의 초기화를 통해, 보안 서브시스템(230)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 적어도 하나의 작업을 완료하지 못한 경우, 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1619).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(230)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(230)의 접근 권한을 할당할 수 있다(동작 1621). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(230)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1621).
다양한 실시예에 따르면, 권한 할당 장치(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)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 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)의 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한을 반환(또는 반납)할 수 있다(동작 1627). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(230)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1627). 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(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은 생략될 수 있다.
도 16b는 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(310))의 접근 권한을 반환하기 위한 일예이다.
도 16b를 참조하는 다양한 실시예에 따르면, 전자 장치(101)의 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업(job)이 존재하는 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1631).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1633). 일예로, 도 16b의 동작 1631 및 동작 1633은 도 16a의 동작 1601 및 동작 1603에 대응되는 동작(또는 동일한 동작)을 포함할 수 있다.
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1635).
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1637). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)의 접근 권한을 할당받은 경우, 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다(동작 1639). 일 실시예에 따르면, 제 2 프로세서(210)는 권한 할당 장치(220)로부터 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 수신한 경우, 타이머를 구동시킬 수 있다. 제 2 프로세서(210)는 타이머의 구동 시간에 기반하여 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간을 확인할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간에 기반하여 제 2 프로세서(210)의 적어도 하나의 작업과 관련된 보안 기능을 처리할 수 있는 것으로 판단한 경우, 보안 서브시스템(310)을 통해 보안 기능을 수행할 수 있다(동작 1641). 일 실시예에 따르면, 보안 서브시스템(310)은 제 2 프로세서(210)의 키에 기반하여 제 2 프로세서(210)의 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(310)을 통해 보안 기능을 수행 중 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하는지 할 수 있다(동작 1643). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 미만인 경우, 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하는 것으로 판단할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 이상인 경우, 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 서브시스템(310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(동작 1643), 보안 서브시스템(310)에 대한 접근 권한의 반환(또는 반납)을 요청할 수 있다(동작 1645). 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1645).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터의 보안 서브시스템(310)의 접근 권한의 반환 요청에 기반하여 보안 서브시스템(310)에 대한 제 2 프로세서(210)의 접근 권한을 회수할 수 있다. 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한의 반환과 관련된 정보(예: 권한 반납 알림 정보)를 제 2 프로세서(210)로 전송할 수 있다(동작 1647)
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 제 2 프로세서(200)의 접근 권한의 반환에 기반하여 제 2 프로세서(210)와 관련된 데이터를 삭제하도록 보안 서브시스템(310)을 제어할 수 있다(동작 1649). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)로부터 회수한 경우, 초기화 요청 신호를 보안 서브시스템(310)으로 제공할 수 있다(동작 1649).
다양한 실시예에 따르면, 보안 서브시스템(310)은 권한 할당 장치(220)로부터 수신한 초기화 요청 신호에 기반하여 보안 서브시스템(310)을 초기화할 수 있다(동작 1651). 일 실시예에 따르면, 보안 서브시스템(310)은 보안 서브시스템(310)의 초기화를 통해, 보안 서브시스템(310)의 내부 메모리 및/또는 등록 경로에 존재하는 제 2 프로세서(210)와 관련된 정보를 삭제할 수 있다. 일예로, 제 2 프로세서(210)와 관련된 정보는 제 2 프로세서(210)의 키 및/또는 제 2 프로세서(210)의 키에 기반한 연산 정보를 포함할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간에 기반하여 적어도 하나의 작업을 완료하지 못한 경우, 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1653).
다양한 실시예에 따르면, 권한 할당 장치(220)는 제 2 프로세서(210)로부터 수신한 보안 서브시스템(310)의 접근 권한과 관련된 요청 신호에 기반하여 제 2 프로세서(210)로 보안 서브시스템(310)의 접근 권한을 할당할 수 있다(동작 1655). 일 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)에 대한 접근 권한의 할당과 관련된 신호(예: ACK 신호)를 제 2 프로세서(210)로 전송할 수 있다(동작 1655).
다양한 실시예에 따르면, 권한 할당 장치(220)는 보안 서브시스템(310)의 접근 권한을 제 2 프로세서(210)에 할당한 경우, 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)를 프로세서 키 관리 장치(300)로 전송할 수 있다(동작 1657).
다양한 실시예에 따르면, 프로세서 키 관리 장치(300)는 권한 할당 장치(220)로부터 수신한 제 2 프로세서(210)로의 접근 권한 할당과 관련된 정보(예: 제 2 프로세서(210)의 키 선택과 관련된 지시 정보)에 기반하여 제 2 프로세서(210)의 키를 선택할 수 있다. 프로세서 키 관리 장치(300)는 제 2 프로세서(210)의 키와 관련된 정보(또는 제 2 프로세서(210)의 키)를 보안 서브시스템(310)으로 제공할 수 있다(동작 1659). 일예로, 제 2 프로세서(210)의 키는 도 3의 프로세서 키 선택 모듈(302)에 의해 제 2 프로세서 키 관리 모듈(306)로부터 획득될 수 있다.
다양한 실시예에 따르면, 제 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)의 보안 기능을 처리할 수 있다.
다양한 실시예에 따르면, 제 2 프로세서(210)는 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한을 반환(또는 반납)할 수 있다(동작 1663). 일 실시예에 따르면, 제 2 프로세서(210)는 지정된 기준시간 내에 보안 기능과 관련된 적어도 하나의 작업의 처리를 완료한 경우, 보안 서브시스템(310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다(동작 1663).
다양한 실시예에 따르면, 권한 할당 장치(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은 생략될 수 있다.
도 17은 다양한 실시예에 따른 전자 장치에서 보안 장치(예: 보안 서브시스템(230 또는 310))를 통해 보안 기능을 수행하기 위한 흐름도(1700)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 17의 전자 장치는 도 1 또는 도 2의 전자 장치(101)일 수 있다.
도 17을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 2의 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)과 관련된 지정된 점유 조건을 만족하지 않는 것으로 판단한 경우(예: 도 14의 동작 1407의 '아니오'), 동작 1701에서, 보안 서브시스템(230 또는 310)에 대한 접근 권한을 반환(또는 반납)할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 점유한 시간이 지정된 기준시간 이상인 경우, 적어도 하나의 작업의 완료 여부와 무관하게 보안 서브시스템(230 또는 310)에 대한 접근 권한의 반환과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한의 반환과 관련된 요청 신호는 접근 권한의 반환을 나타내기 위해 제 1 값과 상이한 제 2 값(예: '0')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 동작 1703에서, 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하였는지 확인할 수 있다. 일 실시예에 따르면, 제 2 프로세서(210)는 제 2 프로세서(210)가 보안 서브시스템(230 또는 310)을 지정된 기준시간 동안 점유함에 기반하여 보안 서브시스템(230 또는 310)을 통해 처리 중이던 보안 기능을 종료한 경우, 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하지 못한 적어도 하나의 작업이 존재하는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료한 것으로 판단한 경우(예: 동작 1703의 '예'), 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 2 프로세서(210))는 보안 서브시스템(230 또는 310)을 이용하여 보안 기능의 처리를 완료하지 못한 것으로 판단한 경우(예: 동작 1703의 '아니오'), 동작 1705에서, 보안 서브시스템(230 또는 310)의 접근 권한과 관련된 요청 신호를 권한 할당 장치(220)로 전송할 수 있다. 일예로, 접근 권한과 관련된 요청 신호는 접근 권한을 요청하는 제 2 프로세서(210)와 관련된 정보(예: 식별 정보) 및/또는 접근 권한의 요청을 나타내기 위한 제 1 값(예: '1')을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 동작 1707에서, 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되는지 확인할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 1 프로세서(200) 및/또는 제 2 프로세서(210))는 권한 할당 장치(220)로부터 보안 서브시스템(230 또는 310)의 접근 권한이 할당되지 않은 것으로 판단한 경우(예: 동작 1707의 '아니오'), 보안 서브시스템(230 또는 310)을 통해 보안 기능을 수행하기 위한 일 실시예를 종료할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 제 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)의 접근 권한과 관련된 요청 신호를 포함할 수 있다.
다양한 실시예에 따르면, 어플리케이션 프로세서(예: 도 1의 메인 프로세서(121) 또는 도 2a 또는 도 3의 제 1 프로세서(200)) 및 커뮤니케이션 프로세서(예: 도 1의 보조 프로세서(123) 또는 도 2a 또는 도 3의 제 2 프로세서(210))를 포함하는 전자 장치(예: 도 1, 도 2a 또는 도 3의 전자 장치(101))의 동작 방법은, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 보안 서브시스템(예: 도 2a 또는 도 3의 보안 서브시스템(230 또는 310))의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작과 상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작과 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 교번하게 할당하는 동작은, 상기 어플리케이션 프로세서로부터 연속적으로 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 후 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 적어도 하나의 요청 신호를 수신한 경우, 상기 요청 신호의 수신 시점에 기반하여 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 어플리케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한이 회수된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작과 상기 어플리케이션 프로세서로의 우선순위가 설정된 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 어플리케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위가 설정된 프로세서를 확인하는 동작과 상기 커뮤니케이션 프로세서로의 우선순위가 설정된 경우, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작, 및 상기 커뮤니케이션 프로세서로부터 수신한 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호에 대응하는 적어도 하나의 작업의 처리를 완료한 것으로 판단한 경우, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 서브시스템의 접근 권한이 상기 커뮤니케이션 프로세서에 할당되는 경우, 이전에 상기 보안 서브시스템의 접근 권한을 할당받은 상태에서 상기 지정된 기준시간에 기반하여 처리가 완료되지 않은 보안 기능이 존재하는지 확인하는 동작, 및 상기 처리가 완료되지 않은 보안 기능이 존재하는 경우, 상기 보안 서브시스템을 통해 상기 처리가 완료되지 않은 보안 기능을 처리하는 동작을 더 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 어플리케이션 프로세서에 대응하는 키에 기반하여 상기 어플리케이션 프로세서와 관련된 보안 기능을 수행하는 동작, 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 커뮤니케이션 프로세서에 대응하는 키에 기반하여 상기 어플리케이션 프로세서와 관련된 보안 기능을 수행하는 동작을 더 포함할 수 있다.
다양한 실시예에 따르면, 상기 보안 서브시스템의 접근 권한이 상기 커뮤니케이션 프로세서에 할당된 시간이 상기 지정된 기준시간이 경과하기 이전에 상기 커뮤니케이션 프로세서와 관련된 보안 기능의 처리를 완료한 경우, 상기 보안 서브시스템의 접근 권한을 반환하는 동작을 더 포함할 수 있다.
다양한 실시예에 따르면, 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작은, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치(예: 도 3의 프로세서 키 관리 장치(300))를 통해 상기 커뮤니케이션 프로세서와 관련된 루트 키를 획득하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 어플리케이션 프로세서와 관련된 루트 키를 획득하는 동작, 및 상기 어플리케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서와 관련된 보안 기능을 처리하는 동작을 더 포함할 수 있다.
다양한 실시예에 따르면, 상기 데이터를 초기화하는 동작은, 상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작, 및 상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작을 포함할 수 있다.
본 명세서와 도면에 개시된 본 발명의 실시예는 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.

Claims (15)

  1. 전자 장치에 있어서,
    어플리케이션 프로세서,
    커뮤니케이션 프로세서,
    보안 기능을 처리하는 보안 서브시스템(security subsystem),
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 권한 할당 장치, 및
    상기 권한 할당 장치에서 상기 보안 서브시스템의 접근 권한을 할당받은 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 기반하여, 상기 어플리케이션 프로세서와 관련된 제 1 키 또는 상기 커뮤니케이션 프로세서와 관련된 제 2 키를 상기 보안 서브시스템으로 제공하는 프로세서 키 관리 장치를 포함하며,
    상기 보안 서브시스템은,
    상기 권한 할당 장치에서 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로의 상기 보안 서브시스템의 접근 권한의 할당에 기반하여 상기 프로세서 키 관리 장치로부터 제공받은 상기 제 1 키 또는 상기 제 2 키를 사용하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하고,
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 전자 장치.
  2. 제 1항에 있어서,
    상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 전자 장치.
  3. 제 1항에 있어서,
    상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
  4. 제 1항에 있어서,
    상기 권한 할당 장치는, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 전자 장치.
  5. 제 1항에 있어서,
    상기 커뮤니케이션 프로세서는, 상기 권한 할당 장치로부터 상기 보안 서브시스템의 접근 권한을 할당받은 시점을 기준으로 지정된 기준시간이 경과한 경우, 상기 커뮤니케이션 프로세서와 관련된 보안 기능이 처리 완료와 무관하게 상기 보안 서브시스템에 대한 접근 권한을 반환하는 전자 장치.
  6. 제 1항에 있어서,
    상기 보안 서브시스템은,
    상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하고,
    상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 전자 장치.
  7. 제 1항에 있어서,
    상기 권한 할당 장치는, 상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고,
    상기 프로세서 키 관리 장치는, 상기 어플리케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 어플리케이션 프로세서와 관련된 상기 제 1 키를 상기 보안 서브시스템으로 전송하는 전자 장치.
  8. 제 1항에 있어서,
    상기 권한 할당 장치는, 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당한 경우, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보를 상기 프로세서 키 관리 장치로 제공하고,
    상기 프로세서 키 관리 장치는, 상기 커뮤니케이션 프로세서로의 접근 권한의 할당과 관련된 정보에 기반하여 상기 커뮤니케이션 프로세서와 관련된 상기 제 2 키를 상기 보안 서브시스템으로 전송하는 전자 장치.
  9. 어플리케이션 프로세서 및 커뮤니케이션 프로세서를 포함하는 전자 장치의 동작 방법에 있어서,
    보안 기능을 처리하는 보안 서브시스템(security subsystem)의 접근 권한을 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작,
    상기 보안 서브시스템의 접근 권한이 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당된 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작,
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 보안 기능을 처리하는 동작, 및
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서와 관련된 데이터를 초기화하는 동작을 포함하는 방법.
  10. 제 9항에 있어서,
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 교번하게 할당하는 동작을 포함하는 방법.
  11. 제 9항에 있어서,
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은, 상기 어플리케이션 프로세서 및/또는 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 요청 신호를 수신한 경우, 상기 접근 요청의 수신 시점에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
  12. 제 9항에 있어서,
    상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 할당하는 동작은,
    상기 어플리케이션 프로세서 및 상기 커뮤니케이션 프로세서로부터 상기 보안 서브시스템의 접근 권한과 관련된 복수의 요청 신호들을 수신한 경우, 상기 보안 서브시스템의 접근 권한의 우선순위에 기반하여 상기 어플리케이션 프로세서 또는 상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한을 할당하는 동작을 포함하는 방법.
  13. 제 9항에 있어서,
    상기 데이터를 초기화하는 동작은,
    상기 권한 할당 장치로부터 상기 어플리케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 1 키 및 상기 어플리케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작, 및
    상기 권한 할당 장치로부터 상기 커뮤니케이션 프로세서로 할당된 상기 보안 서브시스템의 접근 권한의 반환과 관련된 정보를 수신한 경우, 상기 제 2 키 및 상기 커뮤니케이션 프로세서의 보안 기능과 관련된 데이터를 삭제하는 동작을 포함하는 방법.
  14. 제 9항에 있어서,
    상기 커뮤니케이션 프로세서와 관련된 키를 획득하는 동작은,
    상기 커뮤니케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 커뮤니케이션 프로세서와 관련된 루트 키를 획득하는 동작을 포함하는 방법.
  15. 제 9항에 있어서,
    상기 어플리케이션 프로세서에 상기 보안 서브시스템의 접근 권한이 할당된 경우, 상기 보안 서브시스템과 별도의 프로세서 키 관리 장치를 통해 상기 어플리케이션 프로세서와 관련된 루트 키를 획득하는 동작, 및
    상기 어플리케이션 프로세서와 관련된 키에 기반하여 상기 보안 서브시스템을 통해 상기 어플리케이션 프로세서와 관련된 보안 기능을 처리하는 동작을 더 포함하는 방법.
PCT/KR2023/000055 2022-01-14 2023-01-03 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법 WO2023136531A1 (ko)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0006075 2022-01-14
KR20220006075 2022-01-14
KR1020220116036A KR20230110161A (ko) 2022-01-14 2022-09-15 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법
KR10-2022-0116036 2022-09-15

Publications (1)

Publication Number Publication Date
WO2023136531A1 true WO2023136531A1 (ko) 2023-07-20

Family

ID=87279451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/000055 WO2023136531A1 (ko) 2022-01-14 2023-01-03 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법

Country Status (1)

Country Link
WO (1) WO2023136531A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100646350B1 (ko) * 2005-06-09 2006-11-23 에스케이 텔레콤주식회사 보안 플랫폼을 탑재한 이동통신 단말기에서 보안 데이터를공유하는 방법
KR20160101635A (ko) * 2015-02-17 2016-08-25 삼성전자주식회사 보안 회로를 통한 데이터의 저장 및 이용
JP2017163581A (ja) * 2013-01-30 2017-09-14 パロ・アルト・ネットワークス・インコーポレーテッドPalo Alto Networks Incorporated 分散型プロセッサシステムにおいて、フローオーナーシップ割り当てを実施するセキュリティデバイス
KR20190039603A (ko) * 2016-11-15 2019-04-12 후아웨이 테크놀러지 컴퍼니 리미티드 보안 프로세서 칩 및 단말 장치
KR20190131712A (ko) * 2018-05-17 2019-11-27 삼성전자주식회사 복수의 프로세서들과 연결된 보안 모듈의 제어 방법 및 이를 구현한 전자 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100646350B1 (ko) * 2005-06-09 2006-11-23 에스케이 텔레콤주식회사 보안 플랫폼을 탑재한 이동통신 단말기에서 보안 데이터를공유하는 방법
JP2017163581A (ja) * 2013-01-30 2017-09-14 パロ・アルト・ネットワークス・インコーポレーテッドPalo Alto Networks Incorporated 分散型プロセッサシステムにおいて、フローオーナーシップ割り当てを実施するセキュリティデバイス
KR20160101635A (ko) * 2015-02-17 2016-08-25 삼성전자주식회사 보안 회로를 통한 데이터의 저장 및 이용
KR20190039603A (ko) * 2016-11-15 2019-04-12 후아웨이 테크놀러지 컴퍼니 리미티드 보안 프로세서 칩 및 단말 장치
KR20190131712A (ko) * 2018-05-17 2019-11-27 삼성전자주식회사 복수의 프로세서들과 연결된 보안 모듈의 제어 방법 및 이를 구현한 전자 장치

Similar Documents

Publication Publication Date Title
WO2021025482A1 (en) Electronic device and method for generating attestation certificate based on fused key
WO2019208963A1 (ko) 안테나 장치 및 이를 포함하는 전자 장치
WO2022031029A1 (ko) 전자 장치 및 전자 장치가 외부 장치 디스플레이 상에 어플리케이션 화면을 제공하는 방법
WO2021015568A1 (en) Electronic device and method for protecting personal information using secure switch
WO2021241849A1 (ko) 에지 컴퓨팅 서비스를 수행하는 전자 장치 및 전자 장치의 동작 방법
WO2022114857A1 (ko) 블록 체인 네트워크를 이용하여 데이터를 공유하는 전자 장치 및 이의 동작 방법
WO2023085588A1 (ko) 운전자 인증에 기반한 차량 제어 방법 및 전자 장치
WO2023136531A1 (ko) 보안 장치를 운영하기 위한 전자 장치 및 그의 동작 방법
WO2022182102A1 (ko) 사용자 인증을 수행하는 방법 및 이를 수행하는 장치
WO2023003147A1 (ko) 전자 장치의 네트워크 락 기능을 설정하는 방법 및 그 전자 장치
WO2019107946A1 (en) Electronic device and method for processing remote payment
WO2023038466A1 (ko) 블록체인 네트워크에서 트랜잭션을 생성하는 전자 장치 및 그의 동작 방법
WO2020222418A1 (ko) 사용자를 인증하기 위한 방법 및 지원하는 전자 장치
WO2019235740A1 (ko) 복수의 nfc 동작 모드를 지원하는 전자 장치 및 전자 장치의 동작 방법
WO2023163332A1 (ko) 다른 전자 장치와의 통신을 통한 셋업을 실행하기 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2024117644A1 (ko) 멀티 디바이스 환경의 전자 장치들이 보안 레벨을 상호 증명하는 방법
WO2023063694A1 (ko) 블록체인 네트워크에서 부분 원장을 가진 전자 장치 및 그의 동작 방법
WO2022098015A1 (ko) 내부 데이터가 포함된 트랜잭션을 생성하는 전자 장치 및 이의 동작 방법
WO2023287207A1 (ko) 전자 장치 및 이를 이용한 외부 전자 장치 연결 방법
WO2022139219A1 (ko) 암호화된 객체를 제공하는 방법 및 이를 지원하는 전자 장치
WO2022014873A1 (ko) 인증을 수행하는 방법 및 이를 지원하는 전자 장치
WO2023013845A1 (ko) 전자 장치 및 전자 장치에서 임베디드 가입자 식별 모듈 프로파일을 설치하는 방법
WO2022203445A1 (ko) 보안 데이터를 탈중앙화 네트워크를 통해 관리하는 전자 장치 및 이의 동작 방법
WO2023018189A1 (ko) 그룹 계정 기반으로 전자 장치들을 관리하는 방법 및 이를 제공하는 장치
WO2021206452A1 (ko) 보안 데이터 처리 방법 및 이를 지원하는 전자 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23740377

Country of ref document: EP

Kind code of ref document: A1