WO2023013886A1 - 분리 권한을 이용하는 전자 장치 및 그 동작 방법 - Google Patents

분리 권한을 이용하는 전자 장치 및 그 동작 방법 Download PDF

Info

Publication number
WO2023013886A1
WO2023013886A1 PCT/KR2022/009184 KR2022009184W WO2023013886A1 WO 2023013886 A1 WO2023013886 A1 WO 2023013886A1 KR 2022009184 W KR2022009184 W KR 2022009184W WO 2023013886 A1 WO2023013886 A1 WO 2023013886A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
authority
electronic device
separation
processor
Prior art date
Application number
PCT/KR2022/009184
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
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to CN202280053392.0A priority Critical patent/CN117769708A/zh
Priority to US17/873,573 priority patent/US20230052759A1/en
Publication of WO2023013886A1 publication Critical patent/WO2023013886A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/33User authentication using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • 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
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Definitions

  • Various embodiments of the present disclosure generally relate to an electronic device using separate authority and an operating method thereof.
  • An electronic device such as a smartphone or tablet may include applications providing various functions or services.
  • the application may be included in the electronic device in the form of a pre-load, or may be downloaded to the electronic device through a separate application such as an app store.
  • authority of the application may be set using a signing key.
  • the second application uses the separation authority to make the signing authority valid.
  • the condition for acquiring the separation right is set based on various information that can be confirmed by the application, so that the second application that satisfies the acquisition condition effectively obtains the signing right even without requiring a signature performed on the first application. can do.
  • An electronic device includes a processor; and a memory storing at least one command executable by the processor, and when the at least one command is executed by the processor, the processor receives a request to install a first application in the electronic device, Acquiring separation authority information corresponding to the signature permission declared by the first application, reflecting the separation authority information in a database, installing the first application, and obtaining the separation authority information from the first application It can be set to use the signing authority in a second application different from
  • An electronic device includes a processor; and a memory for storing at least one instruction executable by the processor, and when the at least one instruction is executed by the processor, the processor determines the use of a signing authority declared in the first application.
  • Receives a request to install an application in the electronic device checks whether separation authority information corresponding to the signing authority exists in a database, and responds when the separation authority information does not exist in the database, without obtaining the signing authority.
  • the second application is installed, and in response to a case in which the separation authority information exists in the database, it is determined whether the second application satisfies an acquisition condition set in the separation authority information, and the second application determines the separation authority information. In response to satisfying the acquisition condition, the signing authority may be granted to the second application and installed.
  • An operation method of an electronic device includes receiving a request to install a first application in the electronic device, obtaining separation authority information corresponding to a signing authority declared in the first application, and the separation authority.
  • An operation of applying information to a database and an operation of installing the first application may be included, and the separation authority information may be set to use the signing authority in a second application different from the first application.
  • An operating method of an electronic device includes receiving a request to install a second application requesting use of a signing authority declared by a first application in the electronic device, and separation authority information corresponding to the signing authority.
  • the condition for obtaining the separation right is satisfied, even if the signing right declared by a third party is obtained, the corresponding right can be acquired without the third party's signature, and thus the development time of the application can be effectively reduced.
  • FIG. 1 shows a block diagram of an electronic device in a network environment according to embodiments.
  • FIG. 2 is a block diagram illustrating a program according to an embodiment.
  • 3 and 4 are diagrams for explaining acquisition of signature authority based on collaboration according to an embodiment.
  • FIG. 5 is a diagram for explaining an android framework according to an embodiment.
  • FIG. 6 is a diagram for explaining a registration operation of a separation authority according to an exemplary embodiment.
  • FIG. 7 is a diagram for explaining conditions for obtaining separation authority according to an exemplary embodiment.
  • FIG. 8 is a diagram for explaining a shared UID according to an exemplary embodiment.
  • FIG. 9 is a diagram for explaining a use operation of a separate authority according to an embodiment.
  • FIG. 10 is a diagram for describing an electronic device according to an exemplary embodiment.
  • FIG. 1 shows a block diagram of an electronic device in a network environment according to embodiments.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to 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 one 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, the 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
  • the 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 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphics processing unit (GPU) that may operate independently of or in conjunction with the main processor 121). unit), a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphics processing unit (GPU) that may operate independently of or in conjunction with the main processor 121). unit), a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the auxiliary 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, image signal processor or 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 of the foregoing, but is not limited to the foregoing 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 set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the 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 IR (infrared) 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 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : 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 (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, a legacy communication module).
  • 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.
  • IMSI International Mobile Subscriber Identifier
  • 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)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • 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 the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • 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 mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. 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.
  • FIG. 2 is a block diagram 200 illustrating a program according to an embodiment.
  • the program 140 includes an operating system 142, middleware 144, or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101.
  • the operating system 142 may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .
  • At least some of the programs 140 are, for example, preloaded in the electronic device 101 at the time of manufacture, or when used by a user, an external electronic device (eg, the electronic device 102 or 104), or a server ( 108)) can be downloaded or updated.
  • the operating system 142 may control management (eg, allocation or reclamation) of one or more system resources (eg, process, memory, or power) of the electronic device 101 .
  • Operating system 142 may additionally or alternatively include other hardware devices of electronic device 101 , such as input module 150 , sound output module 155 , display module 160 , audio module 170 . , sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or It may include one or more driver programs for driving the antenna module 197.
  • the middleware 144 may provide various functions to the application 146 so that the function or information provided from one or more resources of the electronic device 101 may be used by the application 146 .
  • the middleware 144 includes, for example, the application manager 201, the window manager 203, the multimedia manager 205, the resource manager 207, the power manager 209, the database manager 211, and the package manager 213. ), connectivity manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, call manager 225, or voice recognition manager 227. can
  • the application manager 201 may manage the life cycle of the application 146 , for example.
  • the window manager 203 may manage one or more GUI resources used in a screen, for example.
  • the multimedia manager 205 identifies, for example, one or more formats necessary for reproducing media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done
  • the resource manager 207 may manage a source code of the application 146 or a memory space of the memory 130 .
  • the power manager 209 may manage, for example, the capacity, temperature, or power of the battery 189, and determine or provide related information necessary for the operation of the electronic device 101 by using corresponding information among them. . According to an embodiment, the power manager 209 may interoperate with a basic input/output system (BIOS) (not shown) of the electronic device 101 .
  • BIOS basic input/output system
  • the database manager 211 may create, search, or change a database to be used by the application 146, for example.
  • the package manager 213 may manage installation or update of applications distributed in the form of package files, for example.
  • the connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide a function for notifying a user of occurrence of a designated event (eg, an incoming call, message, or alarm), for example.
  • the location manager 219 may manage location information of the electronic device 101, for example.
  • the graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.
  • Security manager 223 may provide system security or user authentication, for example.
  • the telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 .
  • the voice recognition manager 227 transmits, for example, the user's voice data to the server 108, and at least partially based on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, text data converted at least partially based on the voice data may be received from the server 108 .
  • the middleware 244 may dynamically delete some existing components or add new components.
  • at least part of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different from the operating system 142 .
  • the application 146 includes, for example, a home 251, a dialer 253, an SMS/MMS 255, an instant message (IM) 257, a browser 259, a camera 261, and an alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Albums (275), Watch (277), Health (279) (e.g. exercise or blood sugar) measurement of biometric information) or environmental information 281 (eg, measurement of atmospheric pressure, humidity, or temperature information). According to an embodiment, the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device.
  • an information exchange application not shown
  • the information exchange application may include, for example, a notification relay application configured to transmit designated information (eg, a call, message, or alarm) to an external electronic device, or a device management application configured to manage an external electronic device.
  • the notification relay application for example, transmits notification information corresponding to a designated event (eg, mail reception) generated in another application (eg, the email application 269) of the electronic device 101 to an external electronic device.
  • the notification relay application may receive notification information from an external electronic device and provide the notification information to the user of the electronic device 101 .
  • the device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some component thereof (eg, a display module or a camera module of the external electronic device). ) or functions (eg brightness, resolution, or focus).
  • the device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.
  • 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 camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited.
  • a (eg, first) component is said to be “coupled” or “connected” to another (eg, 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 the 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. can be used
  • 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
  • Embodiments of this document describe one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as included software (eg, program 140).
  • 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 the embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. 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 above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components.
  • 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. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, omitted, or , or one or more other operations may be added.
  • 3 and 4 are diagrams for explaining acquisition of signature authority based on collaboration according to an embodiment.
  • company B 320 and company C 330 require signature authority of company A 310 is illustrated as an example.
  • companies A to C are examples for convenience of description.
  • the description of this specification can be applied without limitation to situations in which, for example, various development entities require different signing keys. there is.
  • the right to use according to each condition may be obtained for each application.
  • the signature of the application that declares the signature authority and the signature of the application using the corresponding signing authority may need to be the same.
  • the corresponding Android-based system at install time Signing authority may be granted to the first application. In other cases, signing authority may not be granted to the first application.
  • signing authority is limited to restricted data (e.g. system status, user's contact information, biometric information, financial information, photos) and/or restricted actions (e.g. connecting to a paired device, audio recording, photo taking, fingerprint recognition, iris recognition, face recognition, payment).
  • restricted data e.g. system status, user's contact information, biometric information, financial information, photos
  • restricted actions e.g. connecting to a paired device, audio recording, photo taking, fingerprint recognition, iris recognition, face recognition, payment.
  • Many companies can build applications by configuring their key functions based on signing authority and shared UID. The shared UID will be described in detail with reference to FIG. 8 .
  • company B (320) which is collaborating on an application project, wants to use authority 1 declared by company A (310), APK (android application) of the application developed by company B (320) according to the constraints described above. package) to Company A (310), and after obtaining a signature from Company A (310), it may be necessary to deliver the package to Company B (320). Since these operations are required whenever company B 320 checks the operation of an application under development, this development paradigm can be cumbersome and time-consuming. In addition, since it requires the signature of company A (310) even though it is an application developed by company B (320), it is difficult to be included in the application ecosystem built by company B (320), and company B (320) develops itself. You can bear the risk of delivering one application to a third party. These items can be equally applied to company C (330) developing an application using authority 2 declared by company A (310).
  • Company A develops application A, declares signature-level permissions 1 and 2, and may not have a shared UID.
  • Company B wants to use permission 1 in the application B developed, and the shared UID can be bbb.
  • Company C wants to use privilege 2 in the application C it develops, and the shared UID can be ccc.
  • the electronic device of company A may add separate authority information regarding the acquisition condition of the signing authority declared by the electronic device.
  • the electronic device may set the acquisition condition of authority 1 as a signature based on the signing key B, and set the acquisition condition of authority 2 as having a shared UID of ccc.
  • a signing key may include a private key.
  • the electronic device of company A may transfer the separate authority information of authority 1 to the electronic device of company B.
  • the electronic device of company A may transmit the separation authority information of authority 2 to the electronic device of company C.
  • the electronic device of company B can transfer the application to company A using the received separate permission information and add permission 1 to application B without the need to obtain company A's signature.
  • the acquisition condition for permission 1 is that the signing key is B
  • application B developed by company B and signed with signing key B can effectively acquire permission 1.
  • Application B which can acquire authority 1 without a direct signature from company A, can be distributed after development is completed.
  • the electronic device of company C transfers the application to company A using the received separate permission information and adds permission 2 to application C without the need to obtain company A's signature.
  • the acquisition condition for permission 2 is that the shared UID is ccc
  • application C whose shared UID is set to ccc can effectively acquire permission 2.
  • Application C which can acquire permission 2 without a direct signature from company A, can be distributed after development is completed.
  • the acquisition condition may include one or a combination of two or more of signature information, package name, or shared UID of an application for which the use of the signing authority is permitted, but the embodiment is not limited thereto, and various information included in the application may be used without limitation. Acquisition conditions may be set.
  • FIG. 5 is a diagram for explaining an android framework according to an embodiment.
  • the Android framework 500 of an electronic device includes a package manager 510 (eg, the package manager 213 of FIG. 2), a permission manager 520, and A division permission module 530 may be included.
  • the package manager 510 may register or remove application information when an application is installed or deleted in an electronic device.
  • the application information may include signature information, UID, and usable authority for each package name in the electronic device.
  • the application information is not limited thereto, and the description of this specification may be applied to other application information.
  • the authority manager 520 may be an Android module that processes authority among application information.
  • the permission manager 520 extracts a declaration or use permission list when an application is installed, and may operate to acquire permissions meeting conditions for each application.
  • the division permission module 530 is a module for processing the above-described division permission, and may include a division permission manager 531 and a division permission database 532.
  • the separation permission manager 531 checks whether there is an item declared as a separation permission in the APK of the application, and if there is an item declared as a separation permission, the corresponding permission may be stored in the separation permission database 532 .
  • the separate permission manager 531 checks whether the permission to be used by the application to be installed exists in the separate permission database 532, and if the corresponding permission exists in the separate permission database 532, checks the acquisition condition of the corresponding permission to determine the corresponding application. When this acquisition condition is satisfied, the corresponding authority can be acquired.
  • the separation authority database 532 may store separation authority information of applications installed in the electronic device.
  • the separated authority database 532 may map and store authority and acquisition conditions of the corresponding authority.
  • the acquisition condition may include one or a combination of two or more of signature information, a package name, or a shared UID of an application permitted to use the signing authority.
  • the acquisition condition is not limited thereto, and the description of this specification may be applied to other acquisition conditions.
  • separation authority information stored in the separation authority database 532 may be as follows.
  • FIG. 6 is a diagram for explaining an operation of registering a separation authority according to an exemplary embodiment.
  • each operation may or may not be performed in the illustrated order.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • Operations 601 to 625 may be performed by at least one component (eg, processor 120 of FIG. 1 ) of an electronic device (eg, electronic device 101 of FIG. 1 ).
  • the electronic device may be a terminal of company A that registers separation authority information in the example of FIG. 4, and the package manager shown in FIG. 6 (eg, the package manager 213 of FIG. 2 and the package manager 510 of FIG. 5) , a permission manager (eg, the permission manager 520 of FIG. 5 ), and a separate permission module (eg, the separate permission module 530 of FIG. 5 ) may be included in the electronic device.
  • the package manager may receive an installation request for application A.
  • the package manager may extract permission information of application A and transfer the extracted permission information to the permission manager.
  • the permission manager may receive permission information included in application A from the package manager and request confirmation of the separate permission information to a separate permission manager (eg, the separate permission manager 531 of FIG. 5).
  • a separate permission manager eg, the separate permission manager 531 of FIG. 5
  • the confirmation request subject for separation permission information is shown as the permission manager, but this is for convenience of description, and the package manager is separated according to the structure of the Android framework (eg, the Android framework 500 in FIG. 5). You can also directly request confirmation of authorization information.
  • the separation authority manager may check whether separation authority information stored in a separation authority database (eg, the separation authority database 532 of FIG. 5 ) is stored according to the confirmation request.
  • the separation authority information may include information on the signing authority subject to separation authority and the acquisition condition.
  • the verification result may be communicated from the separate rights database to the separate rights manager. For example, if it is confirmed that there is no separation rights information in question in the separation rights database, operation 610 may then be performed. On the other hand, when it is confirmed that there is separation authority information in the separation authority database, operation 620 may be subsequently performed.
  • Operation 610 may be to register new separation authority information requested for verification since the separation authority database does not have the separation authority information.
  • the separation authority manager may request to newly register corresponding separation authority information in the separation authority database.
  • a notification that new registration of separation authority information has been completed may be transmitted from the separation authority database to the separation authority manager.
  • the separate authority manager may deliver a notification of completion of new registration to the package manager.
  • the package manager may install application A on the electronic device.
  • Operation 620 may be to update the corresponding separation authority information when the separation authority information exists in the separation authority database.
  • the separation authority information pre-stored in the separation authority database may be transmitted to the separation authority manager.
  • the separate right manager may request the separate right database to be updated with the separate right information included in the application A requested to be installed.
  • the notification may be delivered to the separate rights manager.
  • the separate rights manager may send a notification to the package manager that the update of the separate right information is complete.
  • the package manager may install application A on the electronic device.
  • a method of operating an electronic device includes receiving a request to install a first application in the electronic device, obtaining separation authority information corresponding to a signing authority declared in the first application, and separation authority information. An operation of reflecting to a database and an operation of installing the first application may be included, and the separation authority information may be set to use the signing authority in a second application different from the first application.
  • the first application and the second application may be applications signed with different signing keys.
  • the separation authority information may include an acquisition condition for the signing authority declared by the first application.
  • the acquisition condition in the operating method of the electronic device may include signature information, a package name, and/or a shared user ID (UID) of a second application permitted to use the signing authority.
  • signature information e.g., a package name
  • UID shared user ID
  • an operating method of an electronic device includes an operation of checking whether separation authority information is stored in a database, and an operation of storing the separation authority information in a database in response to a case in which separation authority information is not stored in a database. and an operation of updating the separation authority information in response to the case where the separation authority information is stored in the database.
  • FIG. 7 is a diagram for explaining conditions for obtaining separation authority according to an exemplary embodiment.
  • a manifest.xml file in which an acquisition condition 710 of separation authority is added is shown as an example.
  • the package name is “package01”, which may be used to identify an application package within an electronic device (eg, the electronic device 101 of FIG. 1 ).
  • the Android version file and the Android version name respectively indicate the version of the manifest.xml code, and may be "1" in the example of FIG. 7 .
  • Permissions are defined at the bottom of the manifest.xml code, the name of the permission is set to "Permission1", and the protection level of the permission can be "Signing permission".
  • the corresponding authority is set as the separation authority, and the acquisition condition 710 of the corresponding separation authority may include that the signature key value is '123456789'.
  • the acquisition condition 710 is not limited thereto, and various information included in the application, such as a package name and/or a shared UID, may be applied without limitation.
  • FIG. 8 is a diagram for explaining a shared UID according to an exemplary embodiment.
  • an application A 810 and an application B 820 in which a shared UID that can be used as a condition for obtaining separation authority are set.
  • a unique ID value can be generated based on the package in the application installation file.
  • a unique ID value may also be referred to as UID (user identifier) in this specification.
  • Authority to access internal resources or storage space of the electronic device may be determined according to the UID value.
  • Android may provide a shared UID (shared uid) concept by default.
  • the shared UID concept is that a single UID is shared and used by multiple applications.
  • the same value is set using the android:SharedUserId tag in each AndroidManifest file of two or more different related applications, and the same signature is used when signing the application. In the case of signing with a key, it may mean that the corresponding applications share and use one UID.
  • the UID allocated within the electronic device becomes '1234'
  • the shared UID is the same resource or storage space for all applications of the electronic device. and enable permission inheritance.
  • each application may have the same resource user ID as '1234'.
  • the resource user ID may be identification information of data included or usable by a corresponding application. Preferences included in the resource user ID represent setting values and/or option values that can be applied to the application, internal storage represents the storage space that the application can store or utilize, and authority represents the storage space that the application can use. Permission to use may be indicated.
  • application A 810 and application B 820 use the same shared UID, even if application B 820 does not directly acquire the authority acquired by application A 810, application B 820 ) can immediately use the authority obtained by application A 810 .
  • FIG. 9 is a diagram for explaining a use operation of a separate authority according to an embodiment.
  • each operation may or may not be performed in the illustrated order.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • Operations 901 to 924 may be performed by at least one component (eg, processor 120 of FIG. 1 ) of an electronic device (eg, electronic device 101 of FIG. 1 ).
  • the electronic device may be a terminal of company B or company C that uses the separation authority information in the example of FIG. 4, and the package manager shown in FIG. 9 (eg, the package manager 213 of FIG. 2 and the package manager of FIG. 5 ( 510)), a permission manager (eg, the permission manager 520 of FIG. 5), and a separate permission module (eg, the separate permission module 530 of FIG. 5) may be included in the electronic device.
  • the package manager may receive an installation request for an application B that intends to use authority 1 of application A.
  • application A and application B may be applications signed with different signing keys.
  • application B in order for application B to use the signing authority of application A, application B must also be signed with the same signing key as application A. can be obtained
  • application A is signed with the signing key of company A registering the separated authority information in the example of FIG. 4
  • application B is signed with the signing key of company B or company C using the separated authority information in the example of FIG. can
  • the package manager may transfer permission information of application B to the permission manager.
  • the authority information may include information to use authority 1 declared by application A.
  • the right manager may request a separate right manager (eg, the separate right manager 531 of FIG. 5) to confirm whether there is separate right information for the right 1 that application B intends to use.
  • a separate right manager eg, the separate right manager 531 of FIG. 5
  • the permission manager requests to check whether there is a permission not declared by application B among the permissions that application B wants to use, and if there is a permission declared by another application, whether or not separate permission information for the permission exists.
  • the separate right manager may check whether or not there is separate right information of right 1 in a separate right database (eg, the separate right database 532 of FIG. 5 ) according to the confirmation request.
  • a separate right database eg, the separate right database 532 of FIG. 5
  • the verification result may be communicated from the separate rights database to the separate rights manager. For example, when it is confirmed that there is no separate right information of right 1 in the split right database, operation 910 may be subsequently performed. On the other hand, when it is confirmed that there is separate permission information of permission 1 in the separate permission database, operation 920 may be subsequently performed.
  • Operation 910 may indicate a case where permission 1 is not set as a separate permission in the separate permission database.
  • the separate rights manager may transmit that right 1 does not correspond to separate right information to the right manager.
  • application B since the separate permission manager does not correspond to the separate permission and the signing key of application A declaring permission 1 and the signing key of application B that wants to use permission 1 are different, application B may obtain permission 1. Failure can be communicated to the package manager.
  • the package manager may install the application B in the electronic device without obtaining permission 1.
  • Operation 920 may represent a case in which permission 1 is stored in the separate permission database in correspondence with the separate permission.
  • the separation authority manager may verify whether the application B satisfies the acquisition condition of the separation authority information stored in the separation authority database.
  • the acquisition condition may include one or a combination of two or more of the signature information, package name, and shared UID information of the application for which the use of the signing authority is permitted, but the acquisition condition is not limited thereto, and various information included in the application is limited. can be applied without
  • the separate rights manager may transfer the verification result of application B to the rights manager.
  • the authority manager may inform the package manager that application B has successfully acquired authority 1.
  • the package manager may grant permission 1 to application B and install application B on the electronic device.
  • the authority manager may inform the package manager of the result, and the package manager may install application B in the electronic device without obtaining authority 1.
  • a method of operating an electronic device includes receiving a request to install a second application requesting the use of a signing authority declared in a first application in an electronic device, and separating authority information corresponding to the signing authority is stored in a database. operation of checking whether the separation authority information exists in the database, operation of installing the second application without acquiring the signing authority in response to the case in which the separation authority information does not exist in the database, operation of installing the second application in response to the case in which the separation authority information exists in the database, An operation of determining whether an acquisition condition set in the separation authority information is satisfied, and an operation of granting a signing authority to the second application and installing the signature authority in response to the case in which the second application satisfies the acquisition condition.
  • the operating method of the electronic device may further include an operation of installing the second application without acquiring the signing authority in response to the case where the second application does not satisfy the acquisition condition.
  • FIG. 10 is a diagram for describing an electronic device according to an exemplary embodiment.
  • an electronic device 1000 (eg, the electronic device 101 of FIG. 1 ) according to an embodiment includes a memory 1010 (eg, the memory 130 of FIG. 1 ) and a processor 1020 ( Example: processor 120 of FIG. 1).
  • the memory 1010 may include computer readable instructions.
  • the processor 1020 may perform the aforementioned operations as instructions stored in the memory 1010 are executed in the processor 1020 .
  • Memory 1010 may be volatile memory or non-volatile memory.
  • the processor 1020 may be a device that executes instructions or programs or controls the electronic device 1000 .
  • the processor 1020 may include a microprocessor or one or more general-purpose processors (eg, an ARM-based processor), a digital signal processor (DSP), a programmable logic device (PLD), an application-specific integrated circuit (ASIC), a field-programmable gate (FPGA) Array), Graphical Processing Unit (GPU), video card controller.
  • general-purpose processors eg, an ARM-based processor
  • DSP digital signal processor
  • PLD programmable logic device
  • ASIC application-specific integrated circuit
  • FPGA field-programmable gate
  • GPU Graphical Processing Unit
  • the electronic device 1000 may be implemented as a user terminal.
  • the user terminal may include various computing devices such as mobile phones, smart phones, tablets, laptops, personal computers, or e-book devices, various wearable devices such as smart watches, smart glasses, Head-Mounted Displays (HMDs), or smart clothes.
  • the device may include various home appliances such as a smart speaker, a smart TV, or a smart refrigerator, a smart car, a smart kiosk, an Internet of Things (IoT) device, a walking assist device (WAD), a drone, or a robot.
  • IoT Internet of Things
  • WAD walking assist device
  • the electronic device 1000 receives a request to install the first application on the electronic device 1000, acquires separation authority information corresponding to the signing authority declared in the first application, reflects the separation authority information in a database, A first application may be installed.
  • the electronic device 1000 receives a request to install in the electronic device 1000 a second application that intends to use the signature authority declared by the first application, and determines whether separation authority information corresponding to the signature authority exists in the database.
  • the electronic device 1000 may process the above-described operation.
  • the electronic device 1000 includes a processor 1020 and a memory 1010 including at least one instruction executable by the processor 1020, and the at least one instruction is executed by the processor 1020.
  • the processor 1020 receives a request to install the first application in the electronic device, acquires separation permission information corresponding to the signature permission declared in the first application, and stores the separation permission information in the database. reflect, install the first application, and separate authority information may be set to use the signing authority in a second application different from the first application.
  • the first application and the second application may be applications signed with different signing keys.
  • the separation authority information in the electronic device 1000 may include an acquisition condition for signing authority declared by the first application.
  • the acquisition condition in the electronic device 1000 may include signature information, a package name, and/or a shared user ID (UID) of a second application for which the use of signing authority is permitted.
  • signature information e.g., a package name
  • UID shared user ID
  • the processor 1020 checks whether the separation authority information is stored in the database, and in response to the separation authority information is not stored in the database, the separation authority information is stored in the database. , and in response to the case where the separation authority information is stored in the database, the separation authority information may be updated.
  • the electronic device 1000 includes a processor 1020 and a memory 1010 including at least one instruction executable by the processor 1020, and the at least one instruction is stored in the processor 1020.
  • the processor 1020 receives a request to install the second application requesting the use of the signing authority declared by the first application in the electronic device, and checks whether separation authority information corresponding to the signing authority exists in the database. and, in response to the case where the separation authority information does not exist in the database, the second application is installed without acquiring the signing authority, and in response to the case where the separation authority information exists in the database, the second application is set in the separation authority information. It is determined whether the acquisition condition is satisfied, and in response to the case where the second application satisfies the acquisition condition, signing authority may be granted to the second application to be installed.
  • the processor 1020 may install the second application without obtaining signing authority in response to the case where the second application does not satisfy the acquisition condition.
  • separation authority information may be set to use a signing authority in a second application different from the first application.
  • the first application and the second application may be applications signed with different signing keys.
  • the acquisition condition in the electronic device 1000 may include signature information, package name, and/or shared UID information of an application permitted to use the signing authority.
  • the processor 1020 may check whether there is a right not declared by the second application among rights intended to be used by the second application.
  • Some of the foregoing embodiments may be stored in hardware, firmware, or CD ROM, digital versatile disc (DVD), magnetic tape, RAM, floppy disk, hard disk, or natively remote or non-transitory machine readable media and may not be networked. It can be implemented as computer code or a magneto-optical disk to be downloaded through and stored on a local recording medium.
  • the methods described herein may be rendered through software stored on a recording medium using a general-purpose computer or special processor, or through programmable or dedicated hardware such as an ASIC or FPGA.
  • a computer, processor, microprocessor controller or programmable hardware includes memory components such as RAM, ROM, memory components capable of storing or receiving software or computer code when accessed and executed by the computer. Flash, etc., a processor or hardware may implement the processing method described herein.

Landscapes

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

Abstract

분리 권한을 이용하는 전자 장치 및 그 동작 방법이 개시된다. 개시된 전자 장치는 프로세서 및 프로세서에 의해 실행 가능한 적어도 하나의 명령어를 저장하는 메모리를 포함하고, 적어도 하나의 명령어가 프로세서에 의해 실행되면, 프로세서는 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하고, 제1 어플리케이션에서 선언한 서명 권한에 대응하는 분리 권한 정보를 획득하고, 분리 권한 정보를 데이터베이스에 반영하며, 제1 어플리케이션을 설치하고, 분리 권한 정보는 제1 어플리케이션과 상이한 제2 어플리케이션에서 서명 권한을 사용하기 위해 설정될 수 있다.

Description

분리 권한을 이용하는 전자 장치 및 그 동작 방법
본 개시의 다양한 실시예들은 일반적으로 분리 권한을 이용하는 전자 장치 및 그 동작 방법에 관한 것이다.
스마트폰이나 태블릿과 같은 전자 장치는 다양한 기능이나 서비스를 제공하는 어플리케이션을 포함할 수 있다. 어플리케이션은 전자 장치에 선탑재(pre-load) 형태로 포함될 수도 있고, 앱 스토어와 같은 별도의 어플리케이션을 통해 전자 장치에 다운로드될 수도 있다. 어플리케이션이 전자 장치에 설치될 때 서명 키를 이용하여 어플리케이션의 권한이 설정될 수 있다.
스마트폰이나 태블릿과 같은 전자 장치에 대한 기술 발전으로, 전자 장치에 점차 다양한 어플리케이션이 설치되고 활용되고 있는 반면, 보안 상의 이유로 다양한 어플리케이션의 권한 획득에 동일한 서명을 사용해야 하는 제약이 있을 수 있다.
본 문서에 개시되는 실시예에 따르면, 서명 권한을 선언한 제1 어플리케이션과 해당 서명 권한을 사용하고자 하는 제2 어플리케이션이 각각 다른 서명 키로 서명되었다고 하더라도 분리 권한을 사용해 제2 어플리케이션이 서명 권한을 유효하게 획득할 수 있다.
또한, 실시예에 따르면, 분리 권한의 획득 조건이 어플리케이션에서 확인 가능한 다양한 정보에 기반하여 설정됨으로써, 제1 어플리케이션에 수행되는 서명을 요구하지 않아도 획득 조건을 만족하는 제2 어플리케이션이 서명 권한을 효과적으로 획득할 수 있다.
일 실시예에 따른 전자 장치는 프로세서; 및 상기 프로세서에 의해 실행 가능한 적어도 하나의 명령어를 저장하는 메모리를 포함하고, 상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는 상기 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하고, 상기 제1 어플리케이션에서 선언한 서명 권한(signature permission)에 대응하는 분리 권한 정보를 획득하고, 상기 분리 권한 정보를 데이터베이스에 반영하며, 상기 제1 어플리케이션을 설치하고, 상기 분리 권한 정보는 상기 제1 어플리케이션과 상이한 제2 어플리케이션에서 상기 서명 권한을 사용하기 위해 설정될 수 있다.
일 실시예에 따른 전자 장치는 프로세서; 및 상기 프로세서에 의해 실행 가능한 적어도 하나의 명령어를 저장하는 메모리를 포함하고, 상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는 제1 어플리케이션에서 선언한 서명 권한의 사용이 요구되는 제2 어플리케이션을 상기 전자 장치에 설치하는 요청을 수신하고, 상기 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하고, 상기 분리 권한 정보가 상기 데이터베이스에 없는 경우에 응답하여, 상기 서명 권한의 획득 없이 상기 제2 어플리케이션을 설치하고, 상기 분리 권한 정보가 상기 데이터베이스에 존재하는 경우에 응답하여, 상기 제2 어플리케이션이 상기 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하고, 상기 제2 어플리케이션이 상기 획득 조건을 만족하는 경우에 응답하여, 상기 서명 권한을 상기 제2 어플리케이션에 부여하여 설치할 수 있다.
일 실시예에 따른 전자 장치의 동작 방법은 상기 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하는 동작, 상기 제1 어플리케이션에서 선언한 서명 권한에 대응하는 분리 권한 정보를 획득하는 동작, 상기 분리 권한 정보를 데이터베이스에 적용하는 동작 및 상기 제1 어플리케이션을 설치하는 동작을 포함하고, 상기 분리 권한 정보는 상기 제1 어플리케이션과 상이한 제2 어플리케이션에서 상기 서명 권한을 사용하기 위해 설정될 수 있다.
일 실시예에 따른 전자 장치의 동작 방법은 제1 어플리케이션에서 선언한 서명 권한의 사용을 요구하는 제2 어플리케이션을 상기 전자 장치에 설치하는 요청을 수신하는 동작, 상기 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하는 동작, 상기 분리 권한 정보가 상기 데이터베이스에 존재하지 않는 경우에 응답하여, 상기 서명 권한의 획득 없이 상기 제2 어플리케이션을 설치하는 동작, 상기 분리 권한 정보가 상기 데이터베이스에 존재하는 경우에 응답하여, 상기 제2 어플리케이션이 상기 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하는 동작 및 상기 제2 어플리케이션이 상기 획득 조건을 만족하는 경우에 응답하여, 상기 서명 권한을 상기 제2 어플리케이션에 부여하여 상기 제2 어플리케이션을 설치하는 동작을 포함할 수 있다.
실시예에 따르면, 분리 권한의 획득 조건을 만족한다면 타사에서 선언한 서명 권한이더라도 타사의 서명 없이도 해당 권한을 획득할 수 있으므로, 어플리케이션의 개발 시간을 효과적으로 단축시킬 수 있다.
또한, 실시예에 따르면, 분리 권한을 설정함으로써 타사에서 선언한 서명 권한 획득을 위해 개발 중인 어플리케이션을 타사로 전달하여 해당 기업의 서명을 받을 필요가 없어 보다 효율적이고 적극적인 협업을 수행할 수 있다.
추가적인 측면은 다음의 설명에서 부분적으로 설명될 것이고 부분적으로는 설명으로부터 명백해질 것이며, 또는 제시된 실시예의 실행에 의해 학습될 수 있다.
도 1 은 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도를 나타낸다.
도 2는 실시예에 따른 프로그램을 예시하는 블록도이다.
도 3 및 도 4는 일 실시예에 따른 협업에 기반한 서명 권한 획득을 설명하기 위한 도면이다.
도 5는 일 실시예에 따른 안드로이드 프레임워크(android framework)를 설명하기 위한 도면이다.
도 6은 일 실시예에 따른 분리 권한의 등록 동작을 설명하기 위한 도면이다.
도 7은 일 실시예에 따른 분리 권한의 획득 조건을 설명하기 위한 도면이다.
도 8은 일 실시예에 따른 공유 UID를 설명하기 위한 도면이다.
도 9는 일 실시예에 따른 분리 권한의 사용 동작을 설명하기 위한 도면이다.
도 10은 일 실시예에 따른 전자 장치를 설명하기 위한 도면이다.
이하, 실시예들을 첨부된 도면들을 참조하여 상세하게 설명한다. 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조 부호를 부여하고, 이에 대한 중복되는 설명은 생략하기로 한다.
도 1은 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도를 나타낸다.
도 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)(예: 그래픽 처리 장치(GPU; graphics processing unit), 신경망 처리 장치(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)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 실시예에 따른 프로그램을 예시하는 블록도(200)이다.
일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다.
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
본 문서에 개시된 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 3 및 도 4는 일 실시예에 따른 협업에 기반한 서명 권한 획득을 설명하기 위한 도면이다.
도 3을 참조하면, 회사 B(320) 및 회사 C(330)가 회사 A(310)의 서명 권한이 필요한 상황이 예시적으로 도시된다. 본 명세서에서 회사 A 내지 C(310 내지 330)는 설명의 편의를 위한 일 실시예로서, 이외에도, 예를 들어, 여러 개발 주체들이 상이한 서명 키를 요구하는 상황에도 본 명세서의 설명이 제한 없이 적용될 수 있다.
일반적으로 안드로이드 플랫폼에서 어플리케이션을 설치하면 각 조건에 따라 사용할 수 있는 권한이 어플리케이션 별로 획득될 수 있다. 예를 들어, 어플리케이션에서 서명 권한을 획득하기 위해서는 서명 권한을 선언한 어플리케이션의 서명과 해당 서명 권한을 사용하는 어플리케이션의 서명이 동일해야 할 수 있다. 예를 들어, 제1 어플리케이션에서 제2 어플리케이션이 정의한 서명 권한을 선언(declare)하고, 제1, 2 어플리케이션이 동일한 인증서(certificate)로 서명되었다면, 안드로이드-기반 시스템에서는 설치 시점(install time)에서 해당 서명 권한을 제1 어플리케이션에 부여할 수 있다. 그 외의 경우에는 서명 권한이 제1 어플리케이션에 부여되지 않을 수 있다.
이러한 서명 권한을 구현하는 방식은 상대적으로 보호 레벨이 높은 편으로 아무나 사용할 수 없는 주요 기능과 관련된 권한들을 포함할 수 있으며, 서명에 사용되는 개인 키도 높은 보안을 갖는 메모리의 장소에 저장되어 인증되지 않은 액세스는 거부될 수 있다. 예를 들어, 서명 권한은 제한된 데이터(restricted data)(예: 시스템 상태, 사용자의 연락처 정보, 생체 정보, 금융 정보, 사진) 및/또는 제한된 액션(restricted action)(예: 페어링된 기기에 연결, 오디오 녹음, 사진 촬영, 지문 인식, 홍채 인식, 얼굴 인식, 결제)에 대해 요구될 수 있다. 많은 회사들이 각자의 주요 기능을 서명 권한과 공유 UID에 기반하여 설정함으로써 어플리케이션을 구축할 수 있다. 공유 UID에 대해서는 도 8을 통해 상세히 설명한다.
이러한 환경에서 어플리케이션 프로젝트 협업을 진행하는 회사 B(320)가 회사 A(310)에서 선언한 권한 1을 사용하고자 하면, 앞서 설명한 제약사항에 따라 회사 B(320)가 개발한 어플리케이션의 APK(android application package)을 회사 A(310)로 전달해서 회사 A(310)의 서명을 받은 후 다시 B 회사(320)로 전달하는 동작이 필요할 수 있다. 이 동작들은 회사 B(320)가 개발 중인 어플리케이션의 동작을 확인할 때마다 필요하므로, 이러한 개발 패러다임은 번거롭고 시간이 많이 소요될 수 있다. 또한, 회사 B(320)가 개발한 어플리케이션임에도 불구하고 회사 A(310)의 서명을 요구하기 때문에, 회사 B(320)가 구축한 어플리케이션 생태계에 포함되기 어렵고, 회사 B(320)는 자신이 개발한 어플리케이션을 타사로 전달하는 리스크를 부담할 수 있다. 이러한 사항들은 회사 A(310)에서 선언한 권한 2를 사용하는 어플리케이션을 개발하는 회사 C(330)에도 동일하게 적용될 수 있다.
도 4를 참조하면, 분리 권한을 통해 협업 중 서명 권한 획득이 간소화될 수 있다. 회사 A는 어플리케이션 A를 개발하고, 서명-레벨(signature-level)의 권한 1, 2를 선언하였으며, 공유 UID가 없을 수 있다. 회사 B는 개발한 어플리케이션 B에서 권한 1을 사용하고자 하며, 공유 UID는 bbb일 수 있다. 회사 C는 개발한 어플리케이션 C에서 권한 2을 사용하고자 하며, 공유 UID는 ccc일 수 있다.
동작(410)에서, 회사 A의 전자 장치는 자신이 선언한 서명 권한의 획득 조건에 관한 분리 권한 정보를 추가할 수 있다. 예를 들어, 전자 장치는 권한 1의 획득 조건을 서명 키 B에 기반한 서명으로 설정하고, 권한 2의 획득 조건을 공유 UID가 ccc인 것으로 설정할 수 있다. 예를 들어, 서명 키는 개인 키를 포함할 수 있다.
동작(420)에서, 회사 A의 전자 장치는 권한 1의 분리 권한 정보를 회사 B의 전자 장치로 전달할 수 있다. 또한, 회사 A의 전자 장치는 권한 2의 분리 권한 정보를 회사 C의 전자 장치로 전달할 수 있다.
동작(430)에서, 회사 B의 전자 장치는 수신한 분리 권한 정보를 이용하여 회사 A로 어플리케이션을 전달하여 회사 A의 서명을 받을 필요 없이 어플리케이션 B에 권한 1을 추가할 수 있다. 예를 들어, 권한 1의 획득 조건이 서명 키가 B인 것이므로, 회사 B에 의해 개발되어 서명 키 B로 서명된 어플리케이션 B는 권한 1을 유효하게 획득할 수 있다. 회사 A의 직접적인 서명 없이도 권한 1을 획득 가능한 어플리케이션 B가 개발 완료된 후 배포될 수 있다.
동작(440)에서, 회사 C의 전자 장치는 수신한 분리 권한 정보를 이용하여 회사 A로 어플리케이션을 전달하여 회사 A의 서명을 받을 필요 없이 어플리케이션 C에 권한 2를 추가할 수 있다. 예를 들어, 권한 2의 획득 조건이 공유 UID가 ccc인 것이므로, 공유 UID가 ccc로 설정된 어플리케이션 C는 권한 2를 유효하게 획득할 수 있다. 회사 A의 직접적인 서명 없이도 권한 2를 획득 가능한 어플리케이션 C가 개발 완료된 후 배포될 수 있다.
권한 1, 2는 각각의 획득 조건을 만족하면 회사 A의 직접적인 서명 없이도 획득 가능하기 때문에, 앞서 설명한 것처럼 회사 B 및 C에 의해 개발된 어플리케이션의 동작 확인이 필요할 때마다 회사 A로부터 서명을 요구해야 하는 번거로움을 피할 수 있으며, 어플리케이션의 자체 개발 후 배포가 가능하기에 개발 기간을 효율적으로 단축시킬 수 있다. 획득 조건은 서명 권한의 사용이 허여되는 어플리케이션의 서명 정보, 패키지 이름 또는 공유 UID 중 하나 또는 둘 이상의 조합을 포함할 수 있으나, 실시예가 이로 한정되는 것은 아니고, 어플리케이션에 포함되는 다양한 정보가 제한 없이 활용되어 획득 조건이 설정될 수도 있다.
이하 도면들을 참조하여 분리 권한에 대해서 상세히 설명한다.
도 5는 일 실시예에 따른 안드로이드 프레임워크(android framework)를 설명하기 위한 도면이다.
도 5를 참조하면, 전자 징치(예: 스마트폰)의 안드로이드 프레임워크(500)는 패키지 매니저(510)(예: 도 2의 패키지매니저(213)), 권한 매니저(permission manager)(520) 및 분리 권한 모듈(division permission module)(530)을 포함할 수 있다.
패키지 매니저(510)는 어플리케이션이 전자 장치에 설치 또는 삭제될 때 어플리케이션 정보를 등록 또는 제거할 수 있다. 어플리케이션 정보는 전자 장치 내 패키지 이름 별로 서명 정보, UID 및 사용 가능한 권한을 포함할 수 있다. 다만, 어플리케이션 정보가 이에 한정되는 것은 아니고, 다른 어플리케이션 정보에도 본 명세서의 설명이 적용될 수 있다.
권한 매니저(520)는 어플리케이션 정보 중 권한에 대한 처리를 수행하는 안드로이드 모듈일 수 있다. 권한 매니저(520)는 어플리케이션이 설치될 때 선언 또는 사용할 권한 목록을 추출하여 어플리케이션별로 조건이 부합한 권한들을 획득할 수 있도록 동작할 수 있다.
분리 권한 모듈(530)은 앞서 설명한 분리 권한을 처리하기 위한 모듈로서, 분리 권한 매니저(division permission manager)(531) 및 분리 권한 데이터베이스(division permission database)(532)를 포함할 수 있다.
분리 권한 매니저(531)는 어플리케이션이 설치될 때 어플리케이션의 APK 내부에 분리 권한으로 선언된 항목이 있는지 확인하고, 분리 권한으로 선언된 항목이 있다면 해당 권한을 분리 권한 데이터베이스(532)에 저장할 수 있다. 분리 권한 매니저(531)는 설치되는 어플리케이션에서 사용하고자 하는 권한이 분리 권한 데이터베이스(532)에 존재하는지 확인하고, 해당 권한이 분리 권한 데이터베이스(532)에 존재한다면 해당 권한의 획득 조건을 확인해서 해당 어플리케이션이 획득 조건을 만족할 때 해당 권한을 획득할 수 있게 처리할 수 있다.
분리 권한 데이터베이스(532)는 전자 장치에 설치된 어플리케이션의 분리 권한 정보를 저장할 수 있다. 분리 권한 데이터베이스(532)는 권한과 해당 권한의 획득 조건을 매핑시켜 저장할 수 있다. 획득 조건은 서명 권한의 사용이 허여되는 어플리케이션의 서명 정보, 패키지 이름 또는 공유 UID 중 하나 또는 둘 이상의 조합을 포함할 수 있다. 다만, 획득 조건이 이에 한정되는 것은 아니고, 다른 획득 조건에도 본 명세서의 설명이 적용될 수 있다.
분리 권한 데이터베이스(532)에 저장되는 분리 권한 정보의 예시는 다음과 같을 수 있다.
Permission Name Condition Value
Permission01 Signature 123456
Permission02 Shared UID 123
Permission03 SignaturePackageName 222222
com.android.example01
예를 들어, 권한 1의 획득 조건은 '123456' 값인 서명 키로 서명된 것이고, 권한 2의 획득 조건은 공유 UID가 '123'인 것이며, 권한 3의 획득 조건은 '222222' 값인 서명 키로 서명되고, 패키지 이름이 'com.android.example01'인 것일 수 있다.도 6은 일 실시예에 따른 분리 권한의 등록 동작을 설명하기 위한 도면이다.
이하 실시예에서 각 동작들은 도시된 순서로 수행되거나 수행되지 않을 수도 있다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 동작(601) 내지 동작(625)은 전자 장치(예: 도 1의 전자 장치(101))의 적어도 하나의 구성요소(예: 도 1의 프로세서(120))에 의해 수행될 수 있다. 전자 장치는 도 4의 예시에서 분리 권한 정보를 등록하는 회사 A의 단말일 수 있으며, 도 6에 도시된 패키지 매니저(예: 도 2의 패키지 매니저(213) 및 도 5의 패키지 매니저(510)), 권한 매니저(예: 도 5의 권한 매니저(520)), 분리 권한 모듈(예: 도 5의 분리 권한 모듈(530))은 전자 장치에 포함될 수 있다.
동작(601)에서, 패키지 매니저는 어플리케이션 A에 대한 설치 요청을 수신할 수 있다.
동작(602)에서, 패키지 매니저는 어플리케이션 A의 권한 정보를 추출하여 권한 매니저로 전달할 수 있다.
동작(603)에서, 권한 매니저는 패키지 매니저로부터 어플리케이션 A에 포함된 권한 정보를 수신해서 분리 권한 매니저(예: 도 5의 분리 권한 매니저(531))에 분리 권한 정보에 대한 확인을 요청할 수 있다. 도 6에서는 분리 권한 정보에 대한 확인 요청 주체가 권한 매니저로 도시되어 있으나, 이는 설명의 편의를 위한 것으로 안드로이드 프레임워크(예: 도 5의 안드로이드 프레임워크(500))의 구조에 따라 패키지 매니저가 분리 권한 정보에 대한 확인을 직접 요청할 수도 있다.
동작(604)에서, 분리 권한 매니저는 확인 요청에 따라 분리 권한 데이터베이스(예: 도 5의 분리 권한 데이터베이스(532))에 저장되는 분리 권한 정보가 저장되어 있는지 여부를 확인할 수 있다. 여기서, 분리 권한 정보는 분리 권한의 대상이 되는 서명 권한과 그 획득 조건에 대한 정보를 포함할 수 있다.
동작(605)에서, 분리 권한 데이터베이스에서 분리 권한 매니저로 확인 결과가 전달될 수 있다. 예를 들어, 분리 권한 데이터베이스에 문제의 분리 권한 정보가 없는 것이 확인될 경우, 동작(610)이 이어서 수행될 수 있다. 반면, 분리 권한 데이터베이스에 분리 권한 정보가 있는 것으로 확인될 경우, 동작(620)이 이어서 수행될 수 있다.
동작(610)은 분리 권한 데이터베이스가 분리 권한 정보를 가지고 있지 않으므로, 확인 요청된 새로운 분리 권한 정보를 등록하는 것일 수 있다. 동작(611)에서, 분리 권한 매니저는 해당 분리 권한 정보를 분리 권한 데이터베이스에 신규 등록할 것을 요청할 수 있다. 동작(612)에서, 분리 권한 데이터베이스로부터 분리 권한 매니저로 분리 권한 정보의 신규 등록이 완료되었다는 알림이 전달될 수 있다. 동작(613)에서, 분리 권한 매니저는 신규 등록 완료에 대한 알림을 패키지 매니저로 전달할 수 있다. 동작(614)에서, 패키지 매니저는 어플리케이션 A를 전자 장치에 설치할 수 있다.
동작(620)은 분리 권한 데이터베이스에 분리 권한 정보가 존재할 경우에 해당 분리 권한 정보를 업데이트하는 것일 수 있다. 동작(621)에서, 분리 권한 데이터베이스에 기 저장된 분리 권한 정보가 분리 권한 매니저로 전달될 수 있다. 동작(622)에서, 분리 권한 매니저는 설치 요청된 어플리케이션 A에 포함된 분리 권한 정보로 업데이트할 것을 분리 권한 데이터베이스로 요청할 수 있다. 동작(623)에서, 분리 권한 데이터베이스에서 분리 권한 정보의 업데이트가 완료되면 그 알림이 분리 권한 매니저로 전달될 수 있다. 동작(624)에서, 분리 권한 매니저는 패키지 매니저로 분리 권한 정보의 업데이트가 완료되었다는 알림을 전달할 수 있다. 동작(625)에서, 패키지 매니저는 어플리케이션 A를 전자 장치에 설치할 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법은 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하는 동작, 제1 어플리케이션에서 선언한 서명 권한에 대응하는 분리 권한 정보를 획득하는 동작, 분리 권한 정보를 데이터베이스에 반영하는 동작 및 제1 어플리케이션을 설치하는 동작을 포함하고, 분리 권한 정보는 제1 어플리케이션과 상이한 제2 어플리케이션에서 서명 권한을 사용하기 위해 설정될 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법에서 제1 어플리케이션과 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션일 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법에서 분리 권한 정보는 제1 어플리케이션에서 선언한 서명 권한에 대한 획득 조건을 포함할 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법에서 획득 조건은 서명 권한의 사용이 허여되는 제2 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID(shared user ID)을 포함할 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법은 분리 권한 정보가 데이터베이스에 저장되어 있는지 여부를 확인하는 동작, 분리 권한 정보가 데이터베이스에 저장되지 않은 경우에 응답하여, 분리 권한 정보를 데이터베이스에 저장하는 동작 및 분리 권한 정보가 데이터베이스에 저장되어 있는 경우에 응답하여, 분리 권한 정보를 업데이트하는 동작을 더 포함할 수 있다.
도 7은 일 실시예에 따른 분리 권한의 획득 조건을 설명하기 위한 도면이다.
도 7을 참조하면, 분리 권한의 획득 조건(710)이 추가된 manifest.xml 파일 예시적으로 도시된다. 도 7에 예시적으로 도시된 manifest.xml 파일에서 패키지 이름은 "package01"로서, 전자 장치(예: 도 1의 전자 장치(101)) 내에서 어플리케이션 패키지를 식별하는 데 이용될 수 있다. 안드로이드 버전 파일과 안드로이드 버전이름은 각각 manifest.xml 코드의 버전을 나타내는 것으로, 도 7의 예시에서는 "1"일 수 있다. manifest.xml 코드의 하단에는 권한이 정의되며, 권한의 이름이 "Permission1"으로 설정되며, 해당 권한의 보호 레벨은 "서명 권한"일 수 있다. 또한, 해당 권한은 분리 권한으로 설정되며, 해당 분리 권한의 획득 조건(710)은 서명 키 값이 '123456789'인 것을 포함할 수 있다. 다만, 획득 조건(710)이 이로 제한되지 않으며, 이외에도 패키지 이름, 및/또는 공유 UID와 같이 어플리케이션에 포함되는 다양한 정보가 제한 없이 적용될 수 있다.
도 8은 일 실시예에 따른 공유 UID를 설명하기 위한 도면이다.
도 8을 참조하면, 분리 권한의 획득 조건으로 활용될 수 있는 공유 UID가 설정된 어플리케이션 A(810) 및 어플리케이션 B(820)가 도시된다.
안드로이드 어플리케이션 설치 시 어플리케이션 설치 파일 내의 패키지를 기반으로 고유한 ID 값이 생성될 수 있다. 고유한 ID 값은 본 명세서에서 UID(user identifier)로도 지칭될 수 있다. UID 값에 따라 전자 장치의 내부 리소스나 저장공간에 접근할 수 있는 권한이 결정될 수 있다.
또한, 안드로이드는 공유 UID(shared uid)컨셉을 기본으로 제공할 수 있다. 공유 UID 컨셉이란, 하나의 UID를 여러 어플리케이션들이 공유해서 사용하는 것으로, 관련이 있는 둘 이상의 서로 다른 어플리케이션들 각각의 AndroidManifest 파일에서 android:SharedUserId 태그를 이용하여 동일한 값을 설정하고, 어플리케이션 서명 시 동일한 서명 키로 서명하게 될 경우, 이에 해당되는 어플리케이션들은 하나의 UID를 공유하여 사용하게 되는 것을 의미할 수 있다.
도 8에 도시된 것처럼, 둘 이상의 어플리케이션들이 동일한 UID '1234'를 사용하게 되면, 전자 장치 내에 할당되는 UID가 '1234'로 동일하게 되어, 공유 UID는 전자 장치의 모든 어플리케이션이 동일한 리소스 또는 저장 공간에 접근하고 권한 상속을 가능하게 할 수 있다. 둘 이상의 어플리케이션들이 동일한 UID '1234'를 사용함에 따라, 각 어플리케이션의 리소스 유저 ID가 '1234'로 동일할 수 있다. 리소스 유저 ID는 해당 어플리케이션이 포함하거나 사용할 수 있는 데이터의 식별 정보일 수 있다. 리소스 유저 ID에 포함된 선호(preferences)는 어플리케이션에 적용될 수 있는 설정 값 및/또는 옵션 값을 나타내고, 내부 스토리지(internal storage)는 어플리케이션이 저장되거나, 활용할 수 있는 저장 공간을 나타내며, 권한은 어플리케이션이 사용할 수 있는 권한을 나타낼 수 있다.
예를 들어, 어플리케이션 A(810)와 어플리케이션 B(820)가 동일한 공유 UID를 사용할 경우, 어플리케이션 A(810)가 획득한 권한을 어플리케이션 B(820)가 직접적으로 획득하지 않았더라도, 어플리케이션 B(820)는 어플리케이션 A(810)가 획득한 권한을 바로 사용할 수 있다.
도 9는 일 실시예에 따른 분리 권한의 사용 동작을 설명하기 위한 도면이다.
이하 실시예에서 각 동작들은 도시된 순서로 수행되거나 수행되지 않을 수도 있다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 동작(901) 내지 동작(924)은 전자 장치(예: 도 1의 전자 장치(101))의 적어도 하나의 구성요소(예: 도 1의 프로세서(120))에 의해 수행될 수 있다. 전자 장치는 도 4의 예시에서 분리 권한 정보를 사용하는 회사 B 또는 회사 C의 단말일 수 있으며, 도 9에 도시된 패키지 매니저(예: 도 2의 패키지 매니저(213) 및 도 5의 패키지 매니저(510)), 권한 매니저(예: 도 5의 권한 매니저(520)), 분리 권한 모듈(예: 도 5의 분리 권한 모듈(530))은 전자 장치에 포함될 수 있다.
동작(901)에서, 패키지 매니저는 어플리케이션 A의 권한 1을 사용하고자 하는 어플리케이션 B에 대한 설치 요청을 수신할 수 있다. 여기서, 어플리케이션 A와 어플리케이션 B는 서로 다른 서명 키로 서명된 어플리케이션일 수 있다. 본래 안드로이드 시스템에서 어플리케이션 B가 어플리케이션 A의 서명 권한을 사용하려면 어플리케이션 B도 어플리케이션 A와 동일한 서명 키로 서명되어야 하지만, 앞서 설명한 분리 서명을 통해 상이한 서명 키로 서명된 어플리케이션 B에서도 어플리케이션 A의 서명 권한을 유효하게 획득할 수 있다. 예를 들어, 어플리케이션 A는 도 4의 예시에서 분리 권한 정보를 등록하는 회사 A의 서명 키로 서명되고, 어플리케이션 B는 도 4의 예시에서 분리 권한 정보를 사용하는 회사 B 또는 회사 C의 서명 키로 서명될 수 있다.
동작(902)에서, 패키지 매니저는 어플리케이션 B의 권한 정보를 권한 매니저로 전달할 수 있다. 권한 정보는 어플리케이션 A가 선언한 권한 1을 사용하겠다는 정보를 포함할 수 있다.
동작(903)에서, 권한 매니저는 어플리케이션 B가 사용하고자 하는 권한 1에 대한 분리 권한 정보가 존재하는지 확인을 분리 권한 매니저(예: 도 5의 분리 권한 매니저(531))에 요청할 수 있다. 예를 들어, 권한 매니저는 어플리케이션 B가 사용하고자 하는 권한들 중에서 어플리케이션 B가 선언하지 않은 권한이 있는지 확인하고, 다른 어플리케이션에서 선언한 권한이 있다면 해당 권한에 대한 분리 권한 정보가 존재하는지 여부를 확인 요청할 수 있다.
동작(904)에서, 분리 권한 매니저는 확인 요청에 따라 분리 권한 데이터베이스(예: 도 5의 분리 권한 데이터베이스(532))에 권한 1의 분리 권한 정보가 있는지 여부를 확인할 수 있다.
동작(905)에서, 분리 권한 데이터베이스에서 분리 권한 매니저로 확인 결과가 전달될 수 있다. 예를 들어, 분리 권한 데이터베이스에 권한 1의 분리 권한 정보가 없는 것이 확인될 경우, 동작(910)이 이어서 수행될 수 있다. 반면, 분리 권한 데이터베이스에 권한 1의 분리 권한 정보가 있는 것으로 확인될 경우, 동작(920)이 이어서 수행될 수 있다.
동작(910)은 분리 권한 데이터베이스에서 권한 1이 분리 권한으로 설정되어 있지 않은 경우를 나타낼 수 있다. 동작(911)에서, 분리 권한 매니저는 권한 1이 분리 권한 정보에 해당되지 않는다는 것을 권한 매니저로 전달할 수 있다. 동작(912)에서, 분리 권한 매니저는 분리 권한에 해당하지 않고, 권한 1을 선언한 어플리케이션 A의 서명 키와 권한 1을 사용하고자 하는 어플리케이션 B의 서명 키가 상이하므로, 어플리케이션 B의 권한 1 획득이 실패했음을 패키지 매니저로 전달할 수 있다. 동작(913)에서, 패키지 매니저는 권한 1 획득 없이 어플리케이션 B를 전자 장치에 설치할 수 있다.
동작(920)은 분리 권한 데이터베이스에 권한 1이 분리 권한에 대응하여 저장되어 있는 경우를 나타낼 수 있다. 동작(921)에서, 분리 권한 매니저는 분리 권한 데이터베이스에 저장된 분리 권한 정보의 획득 조건을 만족하는지 어플리케이션 B를 검증할 수 있다. 획득 조건은 서명 권한의 사용이 허여된 어플리케이션의 서명 정보, 패키지 이름 및 공유 UID 정보 중 하나 또는 둘 이상의 조합을 포함할 수 있으나, 획득 조건이 이에 제한되지 않으며, 이외에도 어플리케이션에 포함되는 다양한 정보가 제한 없이 적용될 수 있다. 동작(922)에서, 분리 권한 매니저는 어플리케이션 B의 검증 결과를 권한 매니저로 전달할 수 있다. 검증 결과 어플리케이션 B가 획득 조건을 만족할 경우, 동작(923)에서 권한 매니저는 어플리케이션 B가 권한1의 획득을 성공하였음을 패키지 매니저로 알릴 수 있다. 동작(924)에서, 패키지 매니저는 권한 1을 어플리케이션 B에 부여하고 어플리케이션 B를 전자 장치에 설치할 수 있다. 검증 결과 어플리케이션 B가 획득 조건을 만족하지 않는 경우라면, 권한 매니저는 그 결과를 패키지 매니저로 알릴 수 있으며, 패키지 매니저는 권한 1 획득 없이 어플리케이션 B를 전자 장치에 설치할 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법은 제1 어플리케이션에서 선언한 서명 권한의 사용을 요구하는 제2 어플리케이션을 전자 장치에 설치하는 요청을 수신하는 동작, 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하는 동작, 분리 권한 정보가 데이터베이스에 존재하지 않는 경우에 응답하여, 서명 권한의 획득 없이 제2 어플리케이션을 설치하는 동작, 분리 권한 정보가 데이터베이스에 존재하는 경우에 응답하여, 제2 어플리케이션이 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하는 동작 및 제2 어플리케이션이 획득 조건을 만족하는 경우에 응답하여, 서명 권한을 제2 어플리케이션에 부여하여 설치하는 동작을 포함할 수 있다.
일 실시예에 따르면, 전자 장치의 동작 방법은 제2 어플리케이션이 획득 조건을 만족하지 않는 경우에 응답하여, 서명 권한의 획득 없이 제2 어플리케이션을 설치하는 동작을 더 포함할 수 있다.
도 10은 일 실시예에 따른 전자 장치를 설명하기 위한 도면이다.
도 10을 참조하면, 일 실시예에 따른 전자 장치(1000)(예: 도 1의 전자 장치(101))는 메모리(1010)(예: 도 1의 메모리(130)) 및 프로세서(1020)(예: 도 1의 프로세서(120))를 포함할 수 있다.
메모리(1010)는 컴퓨터에서 읽을 수 있는 명령어를 포함할 수 있다. 프로세서(1020)는 메모리(1010)에 저장된 명령어가 프로세서(1020)에서 실행됨에 따라 앞서 언급된 동작들을 수행할 수 있다. 메모리(1010)는 휘발성 메모리 또는 비휘발성 메모리일 수 있다. 프로세서(1020)는 명령어들, 혹은 프로그램들을 실행하거나, 전자 장치(1000)를 제어하는 장치일 수 있다. 프로세서(1020)는 마이크로프로세서 또는 하나 이상의 범용 프로세서(예: ARM-기반 프로세서), DSP(Digital Signal Processor), PLD(Programmable Logic Device), ASIC(Application-Specific Integrated Circuit), FPGA(Field-Programmable Gate Array), GPU(Graphical Processing Unit), 비디오 카드 컨트롤러와 같은 임의의 적합한 유형의 처리 회로를 포함할 수 있다. 또한, 범용 컴퓨터가 여기에 표시된 처리를 구현하기 위한 코드에 접근할 때, 코드의 실행은 범용 컴퓨터를 여기에 표시된 처리를 실행하기 위한 특수 목적 컴퓨터로 변환한다는 것으로 인식될 수 있다. 도면에 제공된 특정 기능 및 동작은 하드웨어, 소프트웨어 또는 이 둘의 조합으로 구현될 수 있으며, 컴퓨터의 프로그래밍된 명령 내에서 전체적으로 또는 부분적으로 수행될 수 있다. 여기에서 어떤 청구항 요소도 "~을 위한 수단"이라는 문구를 사용하여 명시적으로 언급되지 않는 한 기능식 청구항(means-plus-function) 으로 해석되어서는 안 된다. 또한, 통상의 기술자는 청구된 개시 내용에서 "프로세서" 또는 "마이크로프로세서"가 하드웨어일 수 있음을 이해하고 인식할 수 있다.
일 실시예에 따른 전자 장치(1000)는 사용자 단말로 구현될 수 있다. 예를 들어, 사용자 단말은 휴대폰, 스마트 폰, 태블릿, 랩탑, 퍼스널 컴퓨터, 또는 전자북 장치와 같은 다양한 컴퓨팅 장치, 스마트 시계, 스마트 안경, HMD(Head-Mounted Display), 또는 스마트 의류와 같은 다양한 웨어러블 기기, 스마트 스피커, 스마트 TV, 또는 스마트 냉장고와 같은 다양한 가전장치, 스마트 자동차, 스마트 키오스크, IoT(Internet of Things) 기기, WAD(Walking Assist Device), 드론, 또는 로봇을 포함할 수 있다.
전자 장치(1000)는 전자 장치(1000)에 제1 어플리케이션을 설치하는 요청을 수신하고, 제1 어플리케이션에서 선언한 서명 권한에 대응하는 분리 권한 정보를 획득하고, 분리 권한 정보를 데이터베이스에 반영하며, 제1 어플리케이션을 설치할 수 있다. 또는, 전자 장치(1000)는 제1 어플리케이션에서 선언한 서명 권한 을 사용하고자 하는 제2 어플리케이션을 전자 장치(1000)에 설치하는 요청을 수신하고, 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하고, 분리 권한 정보가 데이터베이스에 존재하지 않는 경우에 응답하여, 서명 권한의 획득 없이 제2 어플리케이션을 설치하고, 분리 권한 정보가 데이터베이스에 존재하는 경우에 응답하여, 제2 어플리케이션이 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하고, 제2 어플리케이션이 획득 조건을 만족하는 경우에 응답하여, 서명 권한을 제2 어플리케이션에 부여하여 설치할 수 있다.
그 밖에, 전자 장치(1000)에 관해서는 상술된 동작을 처리할 수 있다.
일 실시예에 따르면, 전자 장치(1000)는 프로세서(1020) 및 프로세서(1020)에 의해 실행 가능한 적어도 하나의 명령어를 포함하는 메모리(1010)를 포함하고, 적어도 하나의 명령어가 프로세서(1020)에서 실행되면, 프로세서(1020)는 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하고, 제1 어플리케이션에서 선언한 서명 권한(signature permission)에 대응하는 분리 권한 정보를 획득하고, 분리 권한 정보를 데이터베이스에 반영하며, 제1 어플리케이션을 설치하고, 분리 권한 정보는 제1 어플리케이션과 상이한 제2 어플리케이션에서 서명 권한을 사용하기 위해 설정될 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 제1 어플리케이션과 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션일 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 분리 권한 정보는 제1 어플리케이션에서 선언한 서명 권한에 대한 획득 조건을 포함할 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 획득 조건은 서명 권한의 사용이 허여되는 제2 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID(shared user ID)을 포함할 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 프로세서(1020)는 분리 권한 정보가 데이터베이스에 저장되어 있는지 여부를 확인하고, 분리 권한 정보가 데이터베이스에 저장되지 않은 경우에 응답하여, 분리 권한 정보를 데이터베이스에 저장하며, 분리 권한 정보가 데이터베이스에 저장되어 있는 경우에 응답하여, 분리 권한 정보를 업데이트할 수 있다.
일 실시예에 따르면, 전자 장치(1000)는 프로세서(1020) 및 프로세서(1020)에 의해 실행 가능한 적어도 하나의 명령어를 포함하는 메모리(1010)를 포함하고, 적어도 하나의 명령어가 프로세서(1020)에 의해 실행되면, 프로세서(1020)는 제1 어플리케이션에서 선언한 서명 권한의 사용을 요구하는 제2 어플리케이션을 전자 장치에 설치하는 요청을 수신하고, 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하고, 분리 권한 정보가 데이터베이스에 존재하지 않는 경우에 응답하여, 서명 권한의 획득 없이 제2 어플리케이션을 설치하고, 분리 권한 정보가 데이터베이스에 존재하는 경우에 응답하여, 제2 어플리케이션이 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하고, 제2 어플리케이션이 획득 조건을 만족하는 경우에 응답하여, 서명 권한을 제2 어플리케이션에 부여하여 설치할 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 프로세서(1020)는 제2 어플리케이션이 획득 조건을 만족하지 않는 경우에 응답하여, 서명 권한의 획득 없이 제2 어플리케이션을 설치할 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 분리 권한 정보는 제1 어플리케이션과 상이한 제2 어플리케이션에서 서명 권한을 사용하기 위해 설정될 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 제1 어플리케이션과 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션일 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 획득 조건은 서명 권한의 사용이 허여된 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID 정보를 포함할 수 있다.
일 실시예에 따르면, 전자 장치(1000)에서 프로세서(1020)는 제2 어플리케이션에서 사용하고자 하는 권한들 중 제2 어플리케이션이 선언하지 않은 권한이 있는지 여부를 확인할 수 있다.
전술한 실시예 중 일부는 하드웨어, 펌웨어 또는 CD ROM, DVD(digital versatile disc), 마그네틱 테이프, RAM, 플로피 디스크, 하드 디스크, 또는 본래 원격 기록매체 또는 비일시적 머신 판독 가능 매체에 저장되어 있고 네트워크를 통해 다운로드되어 로컬 기록매체에 저장될 컴퓨터 코드 또는 광자기 디스크로 구현될 수 있다. 여기에 설명된 방법은 범용 컴퓨터 또는 특수 프로세서를 사용하여 기록매체에 저장된 소프트웨어를 통해 또는 ASIC 또는 FPGA와 같은 프로그래밍 가능 또는 전용 하드웨어를 통해 렌더링될 수 있다. 해당 기술 분야에서 이해되는 바와 같이, 컴퓨터, 프로세서, 마이크로프로세서 컨트롤러 또는 프로그램 가능한 하드웨어는 컴퓨터에 의해 액세스되고 실행될 때 소프트웨어 또는 컴퓨터 코드를 저장하거나 수신할 수 있는 메모리 구성요소, 예를 들어 RAM, ROM, 플래시 등을 포함하며, 프로세서 또는 하드웨어는 여기에 설명된 처리 방법을 구현할 수 있다.
그리고 본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예들 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.

Claims (15)

  1. 전자 장치에 있어서,
    프로세서; 및
    상기 프로세서에 의해 실행 가능한 적어도 하나의 명령어를 저장하는 메모리
    를 포함하고,
    상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는
    상기 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하고,
    상기 제1 어플리케이션에서 선언한 서명 권한(signature permission)에 대응하는 분리 권한 정보를 획득하고,
    상기 분리 권한 정보를 데이터베이스에 반영하며,
    상기 제1 어플리케이션을 설치하고,
    상기 분리 권한 정보는
    상기 제1 어플리케이션과 상이한 제2 어플리케이션에서 상기 서명 권한을 사용하기 위해 설정되는,
    전자 장치.
  2. 제1항에 있어서,
    상기 제1 어플리케이션과 상기 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션인,
    전자 장치.
  3. 제1항에 있어서,
    상기 분리 권한 정보는
    상기 제1 어플리케이션에서 선언한 서명 권한에 대한 획득 조건을 더 포함하는,
    전자 장치.
  4. 제3항에 있어서,
    상기 획득 조건은
    상기 서명 권한의 사용이 허여되는 상기 제2 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID(shared user ID)을 더 포함하는,
    전자 장치.
  5. 제1항에 있어서,
    상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는
    상기 분리 권한 정보가 상기 데이터베이스에 저장되어 있는지 여부를 확인하고,
    상기 분리 권한 정보가 상기 데이터베이스에 없는 경우에 응답하여, 상기 분리 권한 정보를 상기 데이터베이스에 저장하며,
    상기 분리 권한 정보가 상기 데이터베이스에 저장되어 있는 경우에 응답하여, 상기 분리 권한 정보를 업데이트하는,
    전자 장치.
  6. 전자 장치에 있어서,
    프로세서; 및
    상기 프로세서에 의해 실행 가능한 적어도 하나의 명령어를 저장하는 메모리
    를 포함하고,
    상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는
    제1 어플리케이션에서 선언한 서명 권한의 사용이 요구되는 제2 어플리케이션을 상기 전자 장치에 설치하는 요청을 수신하고,
    상기 서명 권한에 대응하는 분리 권한 정보가 데이터베이스에 존재하는지 확인하고,
    상기 분리 권한 정보가 상기 데이터베이스에 없는 경우에 응답하여, 상기 서명 권한의 획득 없이 상기 제2 어플리케이션을 설치하고,
    상기 분리 권한 정보가 상기 데이터베이스에 존재하는 경우에 응답하여, 상기 제2 어플리케이션이 상기 분리 권한 정보에 설정된 획득 조건을 만족하는지 여부를 판단하고,
    상기 제2 어플리케이션이 상기 획득 조건을 만족하는 경우에 응답하여, 상기 서명 권한을 상기 제2 어플리케이션에 부여하여 상기 제2 어플리케이션을 설치하는,
    전자 장치.
  7. 제6항에 있어서,
    상기 프로세서는
    상기 제2 어플리케이션이 상기 획득 조건을 만족하지 않는 경우에 응답하여, 상기 서명 권한의 획득 없이 상기 제2 어플리케이션을 설치하는,
    전자 장치.
  8. 제6항에 있어서,
    상기 분리 권한 정보는
    상기 제1 어플리케이션과 상이한 제2 어플리케이션에서 상기 서명 권한을 사용하기 위해 설정되는,
    전자 장치.
  9. 제6항에 있어서,
    상기 제1 어플리케이션과 상기 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션인,
    전자 장치.
  10. 제6항에 있어서,
    상기 획득 조건은
    상기 서명 권한의 사용이 허여된 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID 정보를 더 포함하는,
    전자 장치.
  11. 제6항에 있어서,
    상기 적어도 하나의 명령어가 상기 프로세서에 의해 실행되면, 상기 프로세서는
    상기 제2 어플리케이션에서 사용하고자 하는 권한들 중 상기 제2 어플리케이션이 선언하지 않은 권한이 있는지 여부를 확인하는,
    전자 장치.
  12. 전자 장치의 동작 방법에 있어서,
    상기 전자 장치에 제1 어플리케이션을 설치하는 요청을 수신하는 동작;
    상기 제1 어플리케이션에서 선언한 서명 권한에 대응하는 분리 권한 정보를 획득하는 동작;
    상기 분리 권한 정보를 데이터베이스에 반영하는 동작; 및
    상기 제1 어플리케이션을 설치하는 동작
    을 포함하고,
    상기 분리 권한 정보는
    상기 제1 어플리케이션과 상이한 제2 어플리케이션에서 상기 서명 권한을 사용하기 위해 설정되는,
    전자 장치의 동작 방법.
  13. 제12항에 있어서,
    상기 제1 어플리케이션과 상기 제2 어플리케이션은 상이한 서명 키로 서명된 어플리케이션인,
    전자 장치의 동작 방법.
  14. 제12항에 있어서,
    상기 분리 권한 정보는
    상기 제1 어플리케이션에서 선언한 서명 권한에 대한 획득 조건을 더 포함하는,
    전자 장치의 동작 방법.
  15. 제14항에 있어서,
    상기 획득 조건은
    상기 서명 권한의 사용이 허여되는 상기 제2 어플리케이션의 서명 정보, 패키지 이름 및/또는 공유 UID(shared user ID)을 더 포함하는,
    전자 장치의 동작 방법.
PCT/KR2022/009184 2021-08-05 2022-06-28 분리 권한을 이용하는 전자 장치 및 그 동작 방법 WO2023013886A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280053392.0A CN117769708A (zh) 2021-08-05 2022-06-28 使用分割权限的电子设备及其运行方法
US17/873,573 US20230052759A1 (en) 2021-08-05 2022-07-26 Electronic device using division permission and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0103103 2021-08-05
KR1020210103103A KR20230021342A (ko) 2021-08-05 2021-08-05 분리 권한을 이용하는 전자 장치 및 그 동작 방법

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/873,573 Continuation US20230052759A1 (en) 2021-08-05 2022-07-26 Electronic device using division permission and operation method thereof

Publications (1)

Publication Number Publication Date
WO2023013886A1 true WO2023013886A1 (ko) 2023-02-09

Family

ID=85156119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/009184 WO2023013886A1 (ko) 2021-08-05 2022-06-28 분리 권한을 이용하는 전자 장치 및 그 동작 방법

Country Status (4)

Country Link
US (1) US20230052759A1 (ko)
KR (1) KR20230021342A (ko)
CN (1) CN117769708A (ko)
WO (1) WO2023013886A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130028438A (ko) * 2011-09-09 2013-03-19 주식회사 팬택 스마트 단말기에서 어플리케이션의 권한정보 관리 장치 및 제어 방법
KR20130085504A (ko) * 2011-12-13 2013-07-30 주식회사 케이티 인터페이스 사용 권한 제공 시스템 및 방법
KR101345959B1 (ko) * 2012-06-22 2014-01-03 성균관대학교산학협력단 단일 사용자용 모바일 단말기 플랫폼을 위한 다중 사용자 권한 관리 방법 및 이를 이용한 모바일 단말기
KR20160033510A (ko) * 2014-09-18 2016-03-28 삼성전자주식회사 권한 설정 토큰을 이용하는 전자 장치
KR102257604B1 (ko) * 2013-03-15 2021-05-27 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 정책 및 권한 프로파일 관리 기법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130028438A (ko) * 2011-09-09 2013-03-19 주식회사 팬택 스마트 단말기에서 어플리케이션의 권한정보 관리 장치 및 제어 방법
KR20130085504A (ko) * 2011-12-13 2013-07-30 주식회사 케이티 인터페이스 사용 권한 제공 시스템 및 방법
KR101345959B1 (ko) * 2012-06-22 2014-01-03 성균관대학교산학협력단 단일 사용자용 모바일 단말기 플랫폼을 위한 다중 사용자 권한 관리 방법 및 이를 이용한 모바일 단말기
KR102257604B1 (ko) * 2013-03-15 2021-05-27 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 정책 및 권한 프로파일 관리 기법
KR20160033510A (ko) * 2014-09-18 2016-03-28 삼성전자주식회사 권한 설정 토큰을 이용하는 전자 장치

Also Published As

Publication number Publication date
CN117769708A (zh) 2024-03-26
KR20230021342A (ko) 2023-02-14
US20230052759A1 (en) 2023-02-16

Similar Documents

Publication Publication Date Title
WO2020184987A1 (en) Electronic device including secure integrated circuit
WO2022030893A1 (ko) 오디오 공유를 지원하는 전자 장치
WO2021075905A1 (en) Application optimization method and electronic device supporting the same
WO2021006574A1 (en) Method and apparatus for managing application
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2022203180A1 (ko) 뉴럴 네트워크에 대한 해시 인증을 수행하는 전자 장치 및 그 동작 방법
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
WO2023013886A1 (ko) 분리 권한을 이용하는 전자 장치 및 그 동작 방법
WO2022154414A1 (ko) 전자 장치 및 전자 장치의 스토리지 운영 방법
WO2022146026A1 (ko) 보안 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022092869A1 (ko) 전자 장치 및 이를 이용한 메모리 보호 방법
WO2021040395A1 (en) Electronic device for controlling access to device resource and operation method thereof
WO2024072117A1 (ko) 전자 장치 및 어플리케이션 간의 통신 방법
WO2024075929A1 (ko) 신뢰 실행 환경을 제공하기 위한 전자 장치
WO2020105955A1 (ko) 보안 요소를 통해 보안이 필요한 서비스를 제공하는 전자 장치 및 그 전자 장치를 제어하는 방법
WO2024071861A1 (ko) 업데이트 방법 및 이를 위한 전자 장치
WO2023038222A1 (ko) 사용자의 생체 정보를 보호하기 위한 전자 장치
WO2022154540A1 (ko) 어플리케이션 패키지를 실행하기 위한 전자 장치 및 그의 동작 방법
WO2023085589A1 (ko) 전자 장치의 초기화 상황에서 데이터 보존 방법 및 그 전자 장치
WO2024039235A1 (ko) 전자 장치 및 전자 장치에서 사용자 인증을 수행하는 방법
WO2022191540A1 (ko) 어플리케이션을 공유하는 전자 장치
WO2024112057A1 (ko) 보안 데이터를 저장하는 전자 장치 및 그 동작 방법
WO2022154262A1 (ko) 예약 공간에 기반한 데이터베이스 업데이트 방법 및 장치
WO2022154273A1 (ko) 데이터 백업을 지원하는 전자 장치 및 그 운용 방법
WO2024063516A1 (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: 22853265

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280053392.0

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE