WO2023085599A1 - 전자 장치 및 어플리케이션 패키지 관리 방법 - Google Patents

전자 장치 및 어플리케이션 패키지 관리 방법 Download PDF

Info

Publication number
WO2023085599A1
WO2023085599A1 PCT/KR2022/014550 KR2022014550W WO2023085599A1 WO 2023085599 A1 WO2023085599 A1 WO 2023085599A1 KR 2022014550 W KR2022014550 W KR 2022014550W WO 2023085599 A1 WO2023085599 A1 WO 2023085599A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
information
electronic device
identification information
installation
Prior art date
Application number
PCT/KR2022/014550
Other languages
English (en)
French (fr)
Inventor
오명진
김문경
서동욱
이세영
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020210189602A external-priority patent/KR20230070991A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2023085599A1 publication Critical patent/WO2023085599A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • 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/40Network security protocols

Definitions

  • This document relates to an electronic device, and in particular, may include information on an electronic device including an application package and a method for managing the application package.
  • an electronic device With the development of mobile communication technology and processor technology, a portable terminal device (hereinafter referred to as an electronic device) is equipped with various functions beyond a conventional call function.
  • Various functions of an electronic device include, for example, a camera function, a multi-media playback function, execution of various applications, and the like.
  • an electronic device In order to execute these various functions, an electronic device is equipped with high-end hardware and software. The price of the device is increasing.
  • Electronic device manufacturers and telecommunication companies may provide various services using identification information of the electronic device. For example, firmware or an operating system of an electronic device may be updated in a wireless manner such as over the air (OTA).
  • OTA over the air
  • Android applications can be propagated and installed through various paths. Android policies that allow these various sources can serve as advantages such as development convenience and business flexibility, but the unintended installation path of the developer (seller) makes it difficult to protect the assets of the application package (APK) and harms the security of the device. can have consequences.
  • Android it is possible to easily extract the original of the application package (APK) installed in the device, so that the extracted application package (APK) can be re-installed through various paths.
  • designated distribution channels cannot be guaranteed, which can complicate the billing system for paid apps.
  • API application package
  • An electronic device includes a communication interface, a memory, and a processor, and the processor acquires first identification information written on the application package in a process of generating the application package, and downloads a path of the application package. It is possible to obtain second identification information that may have a different value according to , generate authentication information based on the first identification information and second identification information, and control application installation based on the authentication information.
  • An application package management method of an electronic device includes an operation of obtaining first identification information written on an application package, and second identification information that may have a different value according to a download path of the application package. It may include an operation of obtaining an operation, an operation of generating authentication information based on the first identification information and the second identification information, and an operation of controlling installation of an application based on the authentication information.
  • a developer may effectively set an installation path of an application package (APK) in advance by using an electronic device and an application package management method. If the application package (APK) is distributed only in the place designated by the developer, the application package (APK) asset can be protected in the current Android system in which the original application package (APK) can be extracted from the terminal.
  • API application package
  • an act of extracting and distributing an original application package (APK) in a terminal can be blocked in advance, and charging can be calculated by accurately measuring the number of downloads of paid applications.
  • APIK original application package
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments.
  • FIG. 2a and 2b illustrate a process of distributing an application according to a comparative embodiment.
  • FIG. 3 is a block diagram illustrating a configuration of an electronic device according to various embodiments.
  • FIG. 4 illustrates a detailed configuration of an electronic device according to various embodiments.
  • FIG. 5 is a flowchart of a method of generating authentication information when an electronic device installs an application package according to various embodiments.
  • 6A to 6D illustrate a method for managing an application package of an electronic device according to various embodiments.
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to 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 graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may 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 wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : a 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, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • 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.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (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. there is.
  • 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, or omitted. or one or more other actions may be added.
  • FIG. 2a and 2b illustrate a process of distributing an application according to a comparative embodiment.
  • an application may be installed in a terminal through various paths.
  • a developer may create an application package (APK, android application package) file and deliver it to the user's electronic device 101 using various means.
  • the user's electronic device 101 may include the structure and/or function of the electronic device 101 previously described with reference to FIG. 1 .
  • an application developed by a developer may be uploaded using at least one store.
  • an application package (APK, android application package) may be generated during application development.
  • the application package may be uploaded to at least one store (eg, A store 241 , B store 243 , and C store 245 ).
  • the electronic device 101 may download an application using at least one store (eg, A store 241, B store 243, and C store 245).
  • the electronic device 101 stores the application package file by using the downloaded store application (eg, A store application 251, B store application 253, and C store application 255) to the electronic device. (101) can be installed within.
  • store applications eg, A store application 251, B store application 253, and C store application 255) used in the installation process may be referred to as installers.
  • an application may be uploaded using a specific server (eg, the web server 260) rather than a store.
  • the specific server may include the developer's own server, but is not limited thereto.
  • an application package (APK, android application package) may be created as an application during development.
  • the application package may be uploaded on at least one server (eg, the web server 260).
  • the application package may be registered on at least one server (eg, the web server 260).
  • the electronic device 101 may request an application file from a server (eg, the web server 260) set by the developer.
  • the server eg, the web server 260
  • receiving the request may control the download of the application on the electronic device 101.
  • the electronic device 101 may install the downloaded application package file in the terminal using the link (eg, the first browser 261 or the second browser 262).
  • the electronic device 101 may request an application file from a server set by a developer.
  • the server receiving the request may control download of the application on the electronic device 101 .
  • the electronic device 101 shares the download completion status of the application with the user, checks whether the application is installed, and responds to the user's selection (eg, confirming or canceling application installation using touch input).
  • Packages can be installed or deleted in the terminal.
  • an application package (APK, android application package) may be separately extracted or generated from an application.
  • the electronic device 101 uses at least one store (eg, A store 241, B store 243, and C store 245) or at least one server (eg, a web server ( 260)) to download the application.
  • the electronic device 101 displays the downloaded store application (eg, A store application 251, B store application 253, and C store application 255) or links (eg, the first browser ( 261), the application package file may be installed in the electronic device 101 using the second browser 262).
  • the electronic device 101 may receive an application package (APK) through a server that is not uploaded or intended by a developer due to the characteristics of an Android environment that allows side loading, and may install an application using the received application package.
  • Side loading may refer to an operation of downloading an application through a path not intended by the developer of the application.
  • the Android policy allowing various sources can serve as advantages such as development convenience and business flexibility, but it is difficult for the developer (seller) to protect the assets of the application package (APK) due to the unintended installation path, and the electronic device ( 101) may result in harming the security.
  • the electronic device controls so that the developer can directly set the distribution source of the application package (APK) inside the application package (APK), and controls the source set by the developer and the actual installation path of the application. By comparison, you can control the installation of applications. Also, when blocking the installation of an application, the electronic device may guide the user to the reason for blocking.
  • API application package
  • a configuration of such an electronic device and a method for managing an application package of the electronic device will be described.
  • FIG. 3 is a block diagram illustrating a configuration of an electronic device according to various embodiments.
  • the electronic device 300 may include a processor 310, a memory 320, and a communication interface 330, and some of the illustrated components may be omitted or replaced.
  • the electronic device 300 may further include at least some of the configurations and/or functions of the electronic device 101 of FIG. 1 . At least some of the components of the illustrated (or not illustrated) electronic device may be operatively, functionally, and/or electrically connected to each other.
  • the processor 310 is a component capable of performing calculations or data processing related to control and/or communication of each component of the electronic device 300, and may include one or more processors.
  • the processor 310 may include at least some of the components and/or functions of the processor 120 of FIG. 1 .
  • arithmetic and data processing functions that the processor 310 can implement on an electronic device will not be limited, but hereinafter, an operation of controlling an application installation process using source information in an application package (APK) will be described. The related features will be described in detail. Operations of the processor 310 may be performed by loading instructions stored in the memory 320 .
  • the electronic device 300 includes one or more memories 320, and the memory 320 may include a main memory and storage.
  • the main memory may include volatile memory such as dynamic random access memory (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM).
  • the memory 450 may include a large-capacity storage device as a non-volatile memory.
  • the storage may include at least one of OTPROM (one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, flash memory, hard drive, or solid state drive (SSD).
  • OTPROM one time programmable ROM
  • PROM one time programmable ROM
  • EPROM EPROM
  • EEPROM EEPROM
  • flash ROM flash memory
  • flash memory hard drive, or solid state drive (SSD).
  • SSD solid state drive
  • the memory 320 may store various file data, and the stored file data may be updated according to the operation of the processor 310 .
  • the communication interface 330 may perform a wired or wireless interface function for data transmission/reception with an external device.
  • the communication interface 330 may download an application-related file (eg, an application package (apk)) from at least one of the external server 341 , the web browser 343 , and the application store 345 .
  • an application-related file eg, an application package (apk)
  • the web browser 343 may not be installed in the electronic device 300, and may be included in the external server 341 or understood as a kind of external server 341.
  • FIG. 4 illustrates a detailed configuration of an electronic device according to various embodiments.
  • an electronic device eg, the electronic device 300 of FIG. 3
  • Components shown in FIG. 4 may be software configurations that operate on the processor 310 of the electronic device 300 .
  • the configurations shown in FIG. 4 may be implemented as separate hardware configurations.
  • the manager 411 and the fail report manager 413 may be software components and may be operated on the processor 310 of the electronic device 300 .
  • the installer 401 may control the application package (APK) to be installed on the electronic device 300 .
  • the installer 401 may include a store app such as play store or galaxy store, and the types of store apps the installer 401 may include is not limited to this.
  • the installer 401 may include a file download link (eg, a browser) or a file management app in the electronic device 300 .
  • the installer 401 may include an android debug bridge (adb).
  • the android debug bridge may refer to a debugging tool that operates on the Android system.
  • the package manager 403 may control application information to be registered on the electronic device 300. Alternatively, the package manager 403 may control application information to be deleted from the electronic device 300 when an application package is deleted from the electronic device 300 .
  • the package parser 405 may access at least some files among a plurality of files included in the application package (APK) during the installation process of the application package (APK), and extract data from the accessed files. For example, the package parser 405 may control to obtain authority information of an internal file (eg, androidmanifest.xml) of an application package (APK) or insert it into a specific DB. The electronic device 300 may proceed with an application installation process by referring to a specific DB into which authority information is inserted. According to an embodiment, the package parser 405 may transmit the source information to the source checker 407 in response to checking whether the source information intended by the developer exists in the application package (APK). there is.
  • an internal file eg, androidmanifest.xml
  • the electronic device 300 may proceed with an application installation process by referring to a specific DB into which authority information is inserted.
  • the package parser 405 may transmit the source information to the source checker 407 in response to checking whether the source information intended
  • the source checker 407 may compare source information set by a developer received from the package parser 405 with source information in the process of installing an actual application package (APK).
  • the source information set by the developer may be referred to as 'developer source information' or 'first identification information'
  • the source information in the process of installing the actual application package (APK) may be referred to as 'terminal source information' verified through an electronic device. information', 'app source information', or 'second identification information'.
  • the source checker 407 compares the source information set by the developer (hereinafter referred to as developer source information) and the source information obtained in the process of installing the actual application package (APK) (hereinafter referred to as terminal source information) to install the application. You can control the process.
  • the electronic device 300 may determine whether to install the application through a specific store or not to install the application through a specific store by using source information of the application.
  • the source checker 407 may control an application installation process based on source information set by a developer who controls whether the application is installed through a specific store or not through a specific store. For example, the source checker 407 compares the source information set by the developer with the source information obtained in the process of installing the application package, and compares the source information set by the developer and the source information obtained in the process of installing the application package. Based on matching information, the application may be allowed to be installed on the electronic device 101 . Alternatively, the source checker 407 compares the source information set by the developer with the source information obtained during the installation of the application package, and the source information set by the developer and the source information obtained during the installation of the application package. Based on the mismatch, the application may not be installed on the electronic device 101 .
  • the source information set by the developer may be referred to as first identification information.
  • the file manager 409 may store or manage information including a download path of an application package (APK). For example, the file manager 409 creates an application package (APK) on the DB of the file manager 409 when an application package (APK) is downloaded through a link (eg, a browser) and/or Information including the download path can be inserted.
  • API application package
  • the telephony manager 411 may obtain country information or a country code from which the application package (APK) was downloaded based on information of a universal subscriber identity module (usim) connected to the electronic device 300 .
  • API application package
  • usim universal subscriber identity module
  • the fail report manager 413 uses the error message set by the developer in advance (e.g. ⁇ Download the latest version of this application from the link below when installation of the application fails due to the difference between the developer source information and the terminal source information). can be downloaded>, ⁇ installation of this application is not possible in the corresponding store>) can be controlled to be displayed on the electronic device 300 .
  • FIG. 5 is a flowchart of a method of generating authentication information when an electronic device installs an application package according to various embodiments.
  • Operations described through FIG. 5 may be implemented based on instructions that may be stored in a computer recording medium or memory (320 in FIG. 3).
  • the method 500 shown in FIG. 5 may be executed by the electronic device (eg, the electronic device 300 of FIG. 3) previously described with reference to FIGS. 1 to 4, and the technical features described above are omitted below. do it with the electronic device (eg, the electronic device 300 of FIG. 3) previously described with reference to FIGS. 1 to 4, and the technical features described above are omitted below. do it with the electronic device (eg, the electronic device 300 of FIG. 3) previously described with reference to FIGS. 1 to 4, and the technical features described above are omitted below. do it with
  • the manager 411 and the fail report manager 413 may be software components and may be operated on the processor 310 of the electronic device 300 .
  • the installer 401 checks an application installation event or an installation request, and requests the package manager 403 to install the application.
  • the package manager 403 requests the package parser 405 to extract application package (APK) information of an application to be installed.
  • API application package
  • the package parser 405 reads a file in the application package (APK) in response to the application package (APK) information extraction request transmitted from the package manager 403, and installs the application. You can collect the information you need.
  • the package parser 405 may transmit the developer source information to the source checker 407 in response to confirming that the developer source information is included in the application package (APK).
  • Developer source information may refer to source information set by a developer, which has been described with reference to FIG. 4 .
  • the source checker 407 may check whether the path where the application is actually downloaded matches the developer's intention based on the developer source information transmitted from the package parser 405 . For example, when information about an installer that installs an application is included in developer source information, the source checker 407 may request information from the installer 401 in operation 507 . After that, the source checker may receive information related to an installer that installs an application in operation 509 .
  • the installer 401 may include a store app such as play store or galaxy store, and the types of store apps the installer 401 may include is not limited to this.
  • the electronic device 300 may determine whether a specific application is installed using a specific installer or not installed using a specific installer, based on developer source information. In this case, the processor (eg, the processor 310 of FIG. 3 ) may obtain information about the installer that installs the application through operations 507 and 509 .
  • the source checker 407 may request information about a link (eg, the web browser 343 of FIG. 3) from which the file was downloaded from the file manager 409.
  • the web browser 343 may mean one of the paths through which the application is downloaded.
  • the web browser 343 may be included in an external server (eg, the external server 341 of FIG. 3 ).
  • the source checker 407 may obtain information about a link (eg, the web browser 343) from which the application is downloaded from the file manager 409.
  • the source checker 407 may control operations 511 and 513 to proceed when link information is included in the developer source information received from the package parser 405 .
  • a processor eg, the processor 310 of FIG.
  • the processor 310 may obtain information on a link through which the application is downloaded through operations 511 and 513 .
  • the source checker 407 may request and obtain information about the country where the application was downloaded from the telephony manager 411 in operations 515 and 517 .
  • the source checker 407 may control to proceed with operations 515 and 517 when information on the country where the application was downloaded is included in the developer source information received from the package parser 405. there is.
  • the processor 310 may set a specific application to be installed only when downloaded in a specific country or to block installation of an application when downloaded in a specific country.
  • the processor eg, the processor 310 of FIG. 3
  • the source checker 407 receives the developer source information from the package parser 405 and proceeds to operations 507 and 509 when the developer source information includes the information of the installer that installs the application. Thus, information about an installer that installs an application may be obtained.
  • the source checker 407 may acquire information on the link from which the application was downloaded by proceeding to operations 511 and 513 when information on the link from which the application was downloaded is included in the developer source information. .
  • the source checker 407 may obtain information on the country from which the application was downloaded by proceeding with operations 515 and 517 when information on the country where the application was downloaded is included in the developer source information. .
  • the source checker 407 may transfer application installation-related information (eg, whether installation of the application has failed) to the package manager 403.
  • the package manager 403 receives information related to the installation of the application from the source checker 407, and when the installation of the application fails, the reason for the failure to install the application (eg, a specific application store 341 If the application is not downloaded using ), it may be delivered to the fail report manager 413 .
  • the source checker 407 may control the application installation process by comparing developer source information and terminal source information.
  • a path through which the application package (APK) flows into the electronic device 300 may exist in various ways.
  • the electronic device 300 downloads the application package (APK) through an installation path not intended by the developer, using developer source information including a destination (eg, an app store, a link, etc.) to which the application package (APK) is to be uploaded. You can check if it has been done.
  • An electronic device controls a developer to input source information into an application package (APK), compares it with the source information of the actually downloaded application package (APK), and takes a path different from the developer's intention. You can control to block installation attempts through .
  • 6A illustrates a process of inserting information sourced by a developer of an electronic device according to various embodiments.
  • an electronic device may include developer source information 601 set by an application developer.
  • Source information 601 may be included in an application package (APK).
  • the source information 601 set by the developer may be marked as 'developer source information' or 'first identification information' as described in FIG. 4 above.
  • the type of developer source information 601 will be described in FIG. 6B.
  • the developer source information 601 may be inserted into or included in a file whose settings can be changed by a developer when an application package (APK) is created.
  • developer source information 601 may be embedded or included in a manifest file 603 where settings may be changed by the developer.
  • the manifest file 603 may refer to a file having an extension of androidmanifest.xml.
  • the manifest file 603 is just one example, and the part where the developer source information 601 can be inserted during the application package (APK) creation process is not limited to the manifest file 603, and developers can directly change the settings. It can include anything that exists or is a file that allows developers to change the settings themselves.
  • 6B illustrates types of developer-sourced information according to various embodiments.
  • the electronic device 300 includes a type of an installer (eg, the application store 345 of FIG. 3) for installing applications, a link for downloading the application (eg, an external server 341 of FIG. 3 or a web browser). (343)) or the type of country where the application is downloaded (eg, KR, US) may be set as developer source information.
  • the electronic device 300 sets the type of installer to allow application installation to A store, sets the link to allow application installation to https://family.ohsung.com, and sets the application installation link to https://family.ohsung.com .
  • the country to allow can be set to US and KR.
  • the electronic device 300 controls the installation of the downloaded file in the electronic device 300 in response to checking whether the downloaded file was downloaded using the link of A store or https://family.ohsung.com.
  • An installer that will allow installation of applications and a link that will allow installation of applications can be applied as an or condition, whereas a country condition that will allow installation of applications can be applied as an and condition. That is, the electronic device 300 allows installation in the electronic device 300 when the downloaded file is downloaded using the A store or the link of https://family.ohsung.com , and the downloaded file is downloaded. If a file is downloaded from a country other than US and KR, installation in the electronic device 300 may not be permitted. This is only an example of applying the developer source information, and the and condition or or condition is not fixed, and the developer source information may have different application conditions depending on the developer's settings.
  • the source checker 407 of FIG. 4 determines the set developer source information (eg, the source information 601 of FIG. 6A) and the source when the application is actually downloaded to the electronic device 300. can be compared Source information when an application is actually downloaded to the electronic device 300 may be marked as 'terminal source information' or 'second identification information' as described in FIG. 4 above.
  • the source checker 407 checks the installer information on the terminal source information and can check whether the application has been downloaded through the A store.
  • the source checker 407 may check link information on the terminal source information and confirm whether the application was downloaded from https://family.ohsung.com .
  • the source checker 407 may check country information or a country code on the source information of the terminal and determine whether the application was downloaded from US or KR.
  • the source checker 407 may control an application in an electronic device (eg, the electronic device 300 of FIG. 3 ) to be installed in response to confirming that the installer, link, and country information match.
  • the source checker 407 may control not to install an application on the electronic device 300 when any one of the installer, link, and country information does not match. This can be understood as a situation in which the installer, link, and country information are applied as and conditions.
  • the source checker 407 may allow installation of the application if the link information matches even if the installer information does not match, and may allow installation of the application if the installer information matches even if the link information does not match. there is. This can be understood as a situation in which installer information and link information are applied as an or condition, and country information is applied as an and condition.
  • the electronic device 300 may provide a guide to the user to determine which information among the installer, link, and country information does not match and installation fails. This is just one example, and the installer, link, and country information that can be set by the developer are not limited to those described above.
  • the developer can set at least one of the type of installer for installing the application, the type of link for downloading the application, and the type of country for downloading the application as developer source information.
  • a developer may set not to proceed with installation in the electronic device 300 of an application not downloaded from a store.
  • a processor eg, the processor 310 of FIG. 3
  • the developer may set not to install the application downloaded from the A store in the electronic device 300 .
  • the developer may set not to proceed with installation within the electronic device 300 for applications downloaded from specific countries (eg, US and KR).
  • the source checker 407 controls the application not to be installed on the electronic device 300 when any one of the installer, link, and country information meets the installation failure condition set by the developer, and as shown in Figure 630, the installer In addition, it is possible to provide a guide to the user as to which information, among link and country information, corresponds to an installation failure condition and thus the installation of the application has failed.
  • 6C illustrates a process of verifying terminal source information according to various embodiments.
  • 6C may indicate a situation in which the electronic device 300 downloads an application package (APK) from a specific link (eg, family.ohsung.com).
  • the terminal source information 605 in the electronic device 300 may include a link (eg, family.ohsung.com) for downloading the application package (APK).
  • the terminal source information 605 may also be indicated as 'app source information' or 'sender' according to the source information.
  • the electronic device 300 may also display a link for downloading the application package (APK) on an area marked with at least one of 'terminal source information', 'app source information', and 'sender'.
  • 6D illustrates an operation of guiding a user to a reason for installation failure of an application when developer source information and terminal source information do not match on an electronic device according to various embodiments of the present disclosure.
  • a developer may set to allow installation on the electronic device 300 only when an application is downloaded through a specific link (eg, family.ohsung.com).
  • a specific link eg, family.ohsung.com
  • the processor 310 may provide the user with a guide 640 preset by the developer. .
  • the user can check whether the application has been installed and the reason for the failure using the guide 640 preset by the developer, and confirm that the problem is not a problem inside the electronic device 300 but a problem of the source (eg, download path).
  • the user may download the application again through a specific link by the developer using the guide 640 preset by the developer, and install the application on the electronic device 300 .
  • the source checker 407 compares 'developer source information' and 'device source information' to generate authentication information including whether installation is allowed or failed, and can be transmitted to the package manager 403. there is.
  • the package manager 403 may control the installation of the application package (APK) in response to checking authentication information transmitted from the source checker 407 .
  • the reason for installation failure may be recorded on a log within the electronic device 300.
  • the electronic device 300 according to various embodiments of the present document informs the user when installation fails according to a policy set by a developer in You can explicitly guide the reason for installation failure and induce them to change the download path.
  • a developer can insert 'developer source information' into an application package (APK), and also insert a message according to installation failure.
  • a developer may set developer source information 601 so that an application can be downloaded through a link from a designated server and installed in an electronic device.
  • a message 640 eg, ⁇ you can download the latest version of this application from the link below>, ⁇ Installation of this application is not possible in the corresponding store>
  • the reason for installation failure eg, when the application is not downloaded using the specific application store 341) to the user.
  • An electronic device includes a communication interface, a memory, and a processor, and the processor acquires first identification information written on the application package in a process of generating the application package, and downloads a path of the application package. It is possible to obtain second identification information that may have a different value according to , generate authentication information based on the first identification information and second identification information, and control application installation based on the authentication information.
  • the first identification information is installer information corresponding to whether the application is installed using a specific installer, link information corresponding to whether the application is downloaded through an external server or a specific web browser, and the application is electronic It may include at least one of country information corresponding to download when the device is located in a specific country.
  • the installer information may include information indicating an app store used in an application installation process.
  • the second identification information may include a download path of an application package received using the communication interface.
  • the download path of the application package includes installer information corresponding to whether the application is installed using a specific installer, link information corresponding to whether the application is downloaded through an external server or a specific web browser, and the application.
  • installer information corresponding to whether the application is installed using a specific installer
  • link information corresponding to whether the application is downloaded through an external server or a specific web browser
  • the application When the electronic device is located in a specific country, at least one of country information corresponding to whether the electronic device has been downloaded may be included.
  • the processor compares the first identification information with the installer information on the second identification information in response to confirming that the installer information corresponding to whether the application is installed using a specific installer is included in the first identification information.
  • control may be performed to allow the installation of the application.
  • the processor may control not to allow installation of the application in response to a mismatch between installer information on the first identification information and installer information on the second identification information.
  • the processor may guide that the application cannot be installed because the installer information does not match, and may guide an appropriate installation path so that the application can be installed.
  • the processor compares link information on the second identification information in response to confirming that the first identification information includes link information corresponding to whether the application is downloaded through an external server or a specific web browser, and In response to the matching of the link information on the first identification information and the link information on the second identification information, the installation of the application may be controlled.
  • the processor may control not to allow installation of an application in response to a mismatch between link information on the first identification information and link information on the second identification information.
  • the processor may guide that the application cannot be installed because the link information does not match, and may guide an appropriate installation path so that the application can be installed.
  • the processor in response to confirming that the country information is included in the first identification information, compares the country information on the second identification information with the country information on the first identification information and the country information on the second identification information. Corresponding to the match, it is possible to control to allow the installation of the application.
  • the processor may control not to allow installation of the application in response to country information on the first identification information and country information on the second identification information not matching.
  • the processor may guide that the application cannot be installed due to country information not matching, and may guide an appropriate installation path so that the application can be installed.
  • An application package management method of an electronic device includes an operation of obtaining first identification information written on an application package, and second identification information that may have a different value according to a download path of the application package. It may include an operation of obtaining an operation, an operation of generating authentication information based on the first identification information and the second identification information, and an operation of controlling installation of an application based on the authentication information.
  • the operation of generating authentication information based on the first identification information and the second identification information includes installer information corresponding to whether the application is installed using a specific installer in the first identification information. It may include an operation of comparing the installer information on the second identification information in response to confirming.
  • the operation of controlling the installation of the application based on the authentication information includes the operation of controlling to allow the installation of the application in response to the match between the installer information on the first identification information and the installer information on the second identification information, In response to the mismatch between the installer information on the first identification information and the installer information on the second identification information, the operation to control not to allow the installation of the application and guide that the installation of the application is impossible because the installer information does not match, An operation of guiding an appropriate installation path to enable installation may be further included.
  • the operation of generating authentication information based on the first identification information and the second identification information includes link information corresponding to whether the application is downloaded through an external server or a specific web browser in the first identification information. It may include an operation of comparing the link information on the second identification information in response to confirming the confirmation.
  • the operation of controlling the installation of the application based on the authentication information includes the operation of controlling to allow the installation of the application in response to the matching of the link information on the first identification information and the link information on the second identification information; In response to the mismatch between the link information on the 1st identification information and the link information on the 2nd identification information, the operation to control not to allow the installation of the application and guide the impossibility of installing the application because the link information does not match, An operation of guiding an appropriate installation path to enable installation may be further included.
  • the operation of generating authentication information based on the first identification information and the second identification information is compared with country information on the second identification information in response to confirming that the country information is included in the first identification information. Actions may be included.
  • the operation of controlling the installation of the application based on the authentication information includes the operation of controlling to allow the installation of the application in response to matching country information on the first identification information and country information on the second identification information; 1In response to the mismatch between the country information on the identification information and the country information on the second identification information, the operation to control not to allow the installation of the application and the guidance that the installation of the application is impossible because the country information does not match, An operation of guiding an appropriate installation path to enable installation may be further included.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

다양한 실시예들에 따른 전자 장치는 통신 인터페이스, 메모리 및 프로세서를 포함하며, 프로세서는 어플리케이션 패키지(application package)의 생성 과정에서 어플리케이션 패키지 상에 기입된 제1식별 정보를 획득하고, 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하고, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하고, 인증 정보에 기반하여 어플리케이션의 설치를 제어할 수 있다.

Description

전자 장치 및 어플리케이션 패키지 관리 방법
본 문서는 전자 장치에 관한 것이며, 특히, 어플리케이션 패키지를 포함하는 전자 장치 및 그의 어플리케이션 패키지 관리 방법에 대한 내용을 포함할 수 있다.
이동통신 기술 및 프로세서 기술의 발달에 따라 휴대용 단말 장치(이하, 전자 장치)는 종래의 통화 기능에서 나아가 다양한 기능을 구비하게 되었다. 전자 장치의 다양한 기능들은 예를 들어, 카메라 기능, 멀티 미디어 재생 기능, 다양한 어플리케이션 실행 등을 들 수 있으며, 이러한 다양한 기능들을 실행하기 위해 전자 장치는 고사양의 하드웨어 및 소프트웨어 들을 구비하게 되고, 이에 따라 전자 장치의 가격이 높아지고 있다.
전자 장치의 제조사 및 통신사 등은 전자 장치의 식별 정보를 이용해 다양한 서비스를 제공할 수 있다. 예를 들어, OTA(over the air) 등의 무선 방식으로 전자 장치의 펌웨어(firmware) 또는 운영체제를 업데이트 할 수 있다.
안드로이드 어플리케이션은 다양한 경로를 통해 전파 및 설치할 수 있다. 이러한 다양한 출처를 허용하는 안드로이드 정책은 개발 편이 및 비즈니스 유연성등 장점으로 작용될 수 있으나, 개발자(판매자)의 의도치 않은 설치 경로는 어플리케이션 패키지(APK)의 자산 보호를 어렵게 하고 단말의 보안성을 해치는 결과를 초래할 수 있다. 안드로이드에서는 단말 내 설치된 어플리케이션 패키지(APK)의 원본 추출이 손쉽게 가능하여 추출된 어플리케이션 패키지(APK)가 다양한 경로를 통해 다시 설치될 수 있다. 이 경우 개발자(판매자) 입장에서는 지정된 유통 경로를 보장할 수 없게 되어 어플리케이션 패키지(APK)의 유출 및 배포에 대한 대응이 어려워질 수 있다. 또한, 지정된 유통 경로를 보장할 수 없게 되어 유료 앱의 과금 체계를 복잡하게 만들 수 있다.
개발 중인 어플리케이션 패키지(APK)가 특정 웹 사이트에 업로드 되어 유통 될 수 있다면 어플리케이션의 주요 정보가 유출되는 결과를 초래해 심각한 자산 침해가 발생할 수 있다.
다양한 실시예들에 따른 전자 장치는 통신 인터페이스, 메모리 및 프로세서를 포함하며, 프로세서는 어플리케이션 패키지(application package)의 생성 과정에서 어플리케이션 패키지 상에 기입된 제1식별 정보를 획득하고, 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하고, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하고, 인증 정보에 기반하여 어플리케이션의 설치를 제어할 수 있다.
다양한 실시예들에 따른 전자 장치의 어플리케이션 패키지 관리 방법은 어플리케이션 패키지(application package) 상에 기입된 제1식별 정보를 획득하는 동작, 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하는 동작, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하는 동작 및 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 전자 장치 및 어플리케이션 패키지 관리 방법을 이용하여 개발자(판매자)는 사전에 어플리케이션 패키지(APK)의 설치 경로를 유효하게 설정할 수 있다. 개발자가 지정한 곳에서만 어플리케이션 패키지(APK)가 유통되면 단말에서 원본 어플리케이션 패키지(APK)를 추출 가능한 현재 안드로이드 체계에서 어플리케이션 패키지(APK) 자산을 보호할 수 있다.
또한, 단말 내 원본 어플리케이션 패키지(APK)를 추출하여 유포하는 행위를 사전에 차단할 수 있고, 유상 어플리케이션의 다운로드 횟수를 정확하게 측정하여 과금을 산정할 수 있다.
도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a 및 2b는 비교 실시예에 따른 어플리케이션의 배포 과정을 도시한 것이다.
도 3은 다양한 실시예들에 따른 전자 장치의 구성을 블록도로 나타낸 것이다.
도 4는 다양한 실시예들에 따른 전자 장치의 세부 구성을 도시한 것이다.
도 5는 다양한 실시예들에 따른 전자 장치가 어플리케이션 패키지 설치 시 인증 정보를 생성하는 방법의 흐름도이다.
도 6a 내지 도 6d는 다양한 실시예들에 따른 전자 장치의 어플리케이션 패키지 관리 방법을 나타낸 것이다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2a 및 2b는 비교 실시예에 따른 어플리케이션의 배포 과정을 도시한 것이다.
일 실시예에 따르면, 어플리케이션은 다양한 경로를 거쳐 단말로 설치될 수 있다. 개발자는 어플리케이션 패키지(APK, android application package) 파일을 생성하고, 다양한 수단을 이용하여 사용자의 전자 장치(101)로 전달할 수 있다. 사용자의 전자 장치(101)는 앞서 도 1에서 설명된 전자 장치(101)의 구조 및/또는 기능을 포함할 수 있다.
예를 들어, 도 2a의 그림 210처럼, 개발자에 의해 개발된 어플리케이션은 적어도 하나의 스토어를 이용하여, 업로드(upload)될 수 있다. 동작 211에서, 어플리케이션 패키지(APK, android application package)는 어플리케이션 개발 과정에서 생성될 수 있다. 이후 동작 213에서, 어플리케이션 패키지는 적어도 하나의 스토어(예: A스토어(241), B스토어(243) 및 C스토어(245)) 상에 업로드 될 수 있다. 동작 215에서, 전자 장치(101)는 적어도 하나의 스토어(예: A스토어(241), B스토어(243) 및 C스토어(245))를 이용하여 어플리케이션을 다운로드할 수 있다. 이후 동작 217에서, 전자 장치(101)는 어플리케이션을 다운로드 받은 스토어 어플리케이션(예: A스토어 어플리케이션(251), B스토어 어플리케이션(253) 및 C스토어 어플리케이션(255))를 이용하여 어플리케이션 패키지 파일을 전자 장치(101) 내에 설치할 수 있다. 이 때 설치 과정에 이용된 스토어 어플리케이션(예: A스토어 어플리케이션(251), B스토어 어플리케이션(253) 및 C스토어 어플리케이션(255))은 인스톨러(installer)로 지칭될 수 있다.
도 2a의 그림 220처럼, 어플리케이션은 스토어가 아닌 특정 서버(예: 웹 서버(260))를 이용하여 업로드(upload)될 수 있다. 이 때 특정 서버는 개발사 자체 서버를 포함할 수 있으나 이에 한정된 것은 아니다. 동작 221에서, 어플리케이션 패키지(APK, android application package)는 어플리케이션으로 개발 과정에서 생성될 수 있다. 이후 동작 223에서, 어플리케이션 패키지는 적어도 하나의 서버(예: 웹 서버(260)) 상에 업로드 될 수 있다. 또는 어플리케이션 패키지는 적어도 하나의 서버(예: 웹 서버(260)) 상에 등록될 수 있다. 동작 225에서, 전자 장치(101)는 개발자에 의해 설정된 서버(예: 웹 서버(260)) 상으로 어플리케이션 파일을 요청할 수 있다. 동작 227에서, 요청을 받은 서버(예: 웹 서버(260)) 는 전자 장치(101) 상에서 어플리케이션을 다운로드 받을 수 있도록 제어할 수 있다. 이후 동작 229에서, 전자 장치(101)는 링크(예: 제1브라우저(261) 또는 제2브라우저(262))를 이용하여 다운로드 받은 어플리케이션 패키지 파일을 단말 내 설치할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 개발자에 의해 설정된 서버 상으로 어플리케이션 파일을 요청할 수 있다. 요청을 받은 서버는 전자 장치(101) 상에서 어플리케이션을 다운로드 받을 수 있도록 제어할 수 있다. 전자 장치(101)는 어플리케이션의 다운로드 후 사용자에게 어플리케이션의 다운로드 완료 상황을 공유하고, 어플리케이션의 설치 여부를 확인하고, 사용자의 선택(예: 터치 입력을 이용하여 어플리케이션 설치 확인 또는 취소)에 대응하여 어플리케이션 패키지를 단말 내에 설치하거나 또는 삭제할 수 있다.
도 2b에 따르면, 동작 231에서, 어플리케이션 패키지(APK, android application package)는 어플리케이션으로부터 별도로 추출 또는 생성될 수 있다. 이후 동작 233에서, 전자 장치(101)는 적어도 하나의 스토어(예: A스토어(241), B스토어(243) 및 C스토어(245))를 이용하거나 또는 적어도 하나의 서버(예: 웹 서버(260))를 이용하여 어플리케이션을 다운로드할 수 있다. 이후 동작 235에서, 전자 장치(101)는 어플리케이션을 다운로드 받은 스토어 어플리케이션(예: A스토어 어플리케이션(251), B스토어 어플리케이션(253) 및 C스토어 어플리케이션(255)) 또는 링크(예: 제1브라우저(261), 제2브라우저(262))를 이용하여 어플리케이션 패키지 파일을 전자 장치(101) 내에 설치할 수 있다.
전자 장치(101)는 side loading을 허용하는 안드로이드의 환경의 특성 상 개발자가 업로드하지 않은 또는 의도하지 않은 서버를 통해 어플리케이션 패키지(APK)를 수신하고, 수신한 어플리케이션 패키지를 이용하여 어플리케이션을 설치할 수 있다. side loading은 어플리케이션의 개발자가 의도하지 않은 경로로 어플리케이션을 다운로드 받는 동작을 의미할 수 있다. 이 경우, 다양한 출처를 허용하는 안드로이드 정책은 개발 편이 및 비즈니스 유연성 등 장점으로 작용될 수 있으나, 개발자(판매자)가 의도하지 않은 설치 경로로 인해 어플리케이션 패키지(APK)의 자산 보호를 어렵게 하고 전자 장치(101)의 보안성을 해치는 결과를 초래할 수 있다.
본 문서에 따른 다양한 실시예들에 따른 전자 장치는 개발자가 어플리케이션 패키지(APK)의 유통 출처를 어플리케이션 패키지(APK) 내부에 직접 설정할 수 있도록 제어하고, 개발자에 의해 설정된 출처와 어플리케이션의 실제 설치 경로를 비교하여 어플리케이션의 설치를 제어할 수 있다. 또한, 전자 장치는 어플리케이션의 설치를 차단하는 경우 차단 사유를 사용자에게 가이드할 수 있다. 이하에서는 이러한 전자 장치의 구성 및 전자 장치의 어플리케이션 패키지 관리 방법에 대해 설명될 것이다.
도 3은 다양한 실시예들에 따른 전자 장치의 구성을 블록도로 나타낸 것이다.
다양한 실시예들에 따르면, 전자 장치(300)는 프로세서(310), 메모리(320) 및 통신 인터페이스(330)를 포함할 수 있으며, 도시된 구성 중 일부가 생략 또는 치환될 수도 있다. 전자 장치(300)는 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 더 포함할 수 있다. 도시된(또는 도시되지 않은) 전자 장치의 각 구성 중 적어도 일부는 상호 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로 (electrically) 연결될 수 있다.
다양한 실시예에 따르면, 프로세서(310)는 전자 장치(300)의 각 구성 요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 하나 이상의 프로세서들로 구성될 수 있다. 프로세서(310)는 도 1의 프로세서(120)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(310)가 전자 장치 상에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 이하에서는 어플리케이션 패키지(APK) 내의 출처 정보를 이용하여 어플리케이션의 설치 과정을 제어하는 동작에 관련된 특징에 대해 상세히 설명하기로 한다. 프로세서(310)의 동작들은 메모리(320)에 저장된 인스트럭션들을 로딩(loading)함으로써 수행될 수 있다.
다양한 실시예에 따르면, 전자 장치(300)는 하나 이상의 메모리(320)를 포함하며, 메모리(320)는 메인 메모리(main memory) 및 스토리지(storage)를 포함할 수 있다. 메인 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등 휘발성 메모리로 구성될 수 있다. 또는 메모리(450)는 비휘발성 메모리(non-volatile memory)로써, 대용량의 스토리지(storage) 장치를 포함할 수 있다. 스토리지(storage)는 OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 메모리(320)는 다양한 파일 데이터들을 저장할 수 있으며, 프로세서(310)의 동작에 따라 저장된 파일 데이터들은 업데이트 될 수 있다.
다양한 실시예들에 따르면, 통신 인터페이스(330)는 외부 장치와의 데이터 송수신을 위한 유선 또는 무선 인터페이스 기능을 수행할 수 있다. 통신 인터페이스(330)는 외부 서버(341), 웹 브라우저(343) 또는 어플리케이션 스토어(345) 중 적어도 어느 하나로부터 어플리케이션과 관련된 파일(예: 어플리케이션 패키지(apk))을 다운로드할 수 있다. 이 때 웹 브라우저(343)는 어플리케이션 스토어(345)와는 달리 전자 장치(300) 내에 설치된 것은 아닐 수 있으며, 외부 서버(341)에 포함되거나 또는 외부 서버(341)의 일종으로 이해될 수 있다.
도 4는 다양한 실시예들에 따른 전자 장치의 세부 구성을 도시한 것이다.
다양한 실시예들에 따르면, 전자 장치(예: 도 3의 전자 장치(300))는 인스톨러(401), 패키지 매니저(package manager)(403), 패키지 파서(package parser)(405), 소스 체커(source checker)(407), 파일 매니저(file manager)(409), 텔레퍼니 매니저(telephony maneger)(411) 및 패일 리포트 매니저(fail report manager)(413)을 포함할 수 있다.
도 4에 도시된 구성들은 전자 장치(300)의 프로세서(310) 상에서 동작하는 소프트웨어적인 구성일 수 있다. 또는, 다양한 실시예에 따라, 도 4에 도시된 구성들은 별도의 하드웨어적인 구성으로 구현될 수도 있다. 인스톨러(401), 패키지 매니저(package manager)(403), 패키지 파서(package parser)(405), 소스 체커(source checker)(407), 파일 매니저(file manager)(409), 텔레퍼니 매니저(telephony maneger)(411) 및 패일 리포트 매니저(fail report manager)(413)는 소프트웨어적인 구성일 수 있으며, 전자 장치(300)의 프로세서(310) 상에서 동작될 수 있다.
인스톨러(401)는 어플리케이션 패키지(APK)를 전자 장치(300) 상에 설치하도록 제어할 수 있다. 일 실시예에 따르면, 인스톨러(401)는 플레이스토어(play store) 또는 갤럭시 스토어(galaxy store)와 같은 스토어 앱(app)을 포함할 수 있으며, 인스톨러(401)가 포함할 수 있는 스토어 앱의 종류는 이것으로 한정되는 것은 아니다. 또한, 인스톨러(401)는 파일을 다운로드 받은 링크(예: 브라우저) 또는 전자 장치(300) 내 파일 관리 앱(app)을 포함할 수 있다. 또는, 인스톨러(401)는 android debug bridge(adb)를 포함할 수 있다. android debug bridge는 안드로이드 시스템 상에서 작동하는 디버깅 툴(debugging tool)을 의미할 수 있다.
패키지 매니저(package manager)(403)는, 어플리케이션 패키지(apk)를 전자 장치(300) 상에 설치할 때, 어플리케이션의 정보를 전자 장치(300) 상에 등록하도록 제어할 수 있다. 또는 패키지 매니저(package manager)(403)는 어플리케이션 패키지를 전자 장치(300) 상에서 삭제할 때 어플리케이션의 정보를 전자 장치(300) 상에서 삭제하도록 제어할 수 있다.
패키지 파서(package parser)(405)는 어플리케이션 패키지(APK)의 설치 과정에서 어플리케이션 패키지(APK)에 포함된 복수의 파일들 중 적어도 일부 파일에 접근하고, 접근한 파일에서 데이터를 추출할 수 있다. 예를 들어, 패키지 파서(package parser)(405)는 어플리케이션 패키지(APK) 내부 파일(예: androidmanifest.xml)의 권한 정보를 획득하거나 또는 특정 DB에 삽입하도록 제어할 수 있다. 전자 장치(300)는 권한 정보가 삽입된 특정 DB를 참조하여 어플리케이션 설치 과정을 진행할 수 있다. 일 실시예에 따르면, 패키지 파서(package parser)(405)는 어플리케이션 패키지(APK) 내에 개발자가 의도한 출처 정보가 존재하는지 확인함에 대응하여 소스 체커(source checker)(407)로 출처 정보를 전달할 수 있다.
소스 체커(source checker)(407)는 패키지 파서(package parser)(405)로부터 전달 받은 개발자가 설정한 출처 정보와 실제 어플리케이션 패키지(APK)가 설치되는 과정의 출처 정보를 비교할 수 있다. 이하에서는 개발자가 설정한 출처 정보는 '개발자 출처 정보'또는 '제1식별 정보'로 지칭될 수 있고, 실제 어플리케이션 패키지(APK)가 설치되는 과정의 출처 정보는 전자 장치를 통해 확인되는 '단말 출처 정보', '앱 출처 정보' 또는 '제2식별 정보'로 지칭될 수 있다. 소스 체커(source checker)(407)는 개발자가 설정한 출처 정보(이하 개발자 출처 정보)와 실제 어플리케이션 패키지(APK)가 설치되는 과정에서 획득한 출처 정보(이하 단말 출처 정보)를 비교하여 어플리케이션의 설치 과정을 제어할 수 있다. 예를 들어, 전자 장치(300)는 어플리케이션의 출처 정보를 이용하여 어플리케이션이 특정 스토어를 통해서 설치되거나 또는 특정 스토어를 통해서 설치되지 않도록 설치 여부를 결정할 수 있다.
소스 체커(source checker)(407)는 어플리케이션이 특정 스토어를 통해서 설치되거나 또는 특정 스토어를 통해서 설치되지 않도록 제어하는 개발자가 설정한 출처 정보에 기초하여 어플리케이션의 설치 과정을 제어할 수 있다. 예를 들면, 소스 체커(407)는, 개발자가 설정한 출처 정보 및 어플리케이션 패키지가 설치되는 과정에서 획득한 출처 정보를 비교하고, 개발자가 설정한 출처 정보 및 어플리케이션 패키지가 설치되는 과정에서 획득한 출처 정보가 일치함에 기반하여 어플리케이션이 전자 장치(101) 상에서 설치되도록 허용할 수 있다. 또는, 소스 체커(407)는, 개발자가 설정한 출처 정보 및 어플리케이션 패키지가 설치되는 과정에서 획득한 출처 정보를 비교하고, 개발자가 설정한 출처 정보 및 어플리케이션 패키지가 설치되는 과정에서 획득한 출처 정보가 일치하지 않음에 기반하여 어플리케이션이 전자 장치(101) 상에서 설치되지 않도록 할 수 있다. 이하에서 개발자가 설정한 출처 정보는 제1식별 정보로 지칭될 수 있다.
파일 매니저(file manager)(409)는 어플리케이션 패키지(APK)의 다운로드 경로를 포함하는 정보를 저장 또는 관리할 수 있다. 예를 들어, 파일 매니저(file manager)(409)는 링크(예: 브라우저)를 통해 어플리케이션 패키지(APK)가 다운로드 되는 경우 파일 매니저(409)의 DB 상에 어플리케이션 패키지(APK)의 생성 및/또는 다운로드 경로를 포함하는 정보를 삽입시킬 수 있다.
텔레퍼니 매니저(telephony maneger)(411)는 전자 장치(300)에 연결된 usim(universal subscriber identity module)의 정보를 기반으로 어플리케이션 패키지(APK)가 다운로드된 국가 정보 또는 국가 코드를 획득할 수 있다.
패일 리포트 매니저(fail report manager)(413)는 개발자 출처 정보와 단말 출처 정보가 달라 어플리케이션의 설치에 실패한 경우, 개발자가 사전에 설정한 에러 문구(예: <본 어플리케이션은 아래 링크에서 최신 버전을 다운로드 받을 수 있습니다>, <해당 스토어에서는 본 어플리케이션의 설치가 불가능합니다>)가 전자 장치(300) 상에 표시되도록 제어할 수 있다.
도 5는 다양한 실시예들에 따른 전자 장치가 어플리케이션 패키지 설치 시 인증 정보를 생성하는 방법의 흐름도이다.
도 5를 통하여 설명되는 동작들은 컴퓨터 기록 매체 또는 메모리(도 3의 320)에 저장될 수 있는 인스트럭션들 을 기반으로 구현될 수 있다. 도 5에 도시된 방법(500)은 앞서 도 1 내지 도 4를 통해 설명한 전자 장치(예: 도 3의 전자 장치(300))에 의해 실행될 수 있으며, 앞서 설명한 바 있는 기술적 특징은 이하에서 생략하기로 한다.
인스톨러(401), 패키지 매니저(package manager)(403), 패키지 파서(package parser)(405), 소스 체커(source checker)(407), 파일 매니저(file manager)(409), 텔레퍼니 매니저(telephony maneger)(411) 및 패일 리포트 매니저(fail report manager)(413)는 소프트웨어적인 구성일 수 있으며, 전자 장치(300)의 프로세서(310) 상에서 동작될 수 있다.
동작 501에서 인스톨러(401)는 어플리케이션의 설치 이벤트 또는 설치 요청을 확인하고, 패키지 매니저(package manager)(403)에 어플리케이션의 설치를 요청할 수 있다.
동작 503에서, 패키지 매니저(package manager)(403)는 패키지 파서(package parser)(405)에 설치하려는 어플리케이션의 어플리케이션 패키지(APK) 정보 추출을 요청할 수 있다.
동작 505에서, 패키지 파서(package parser)(405)는 패키지 매니저(package manager)(403)로부터 전송된 어플리케이션 패키지(APK) 정보 추출 요청에 대응하여 어플리케이션 패키지(APK) 내 파일을 읽고, 어플리케이션의 설치에 필요한 정보를 수집할 수 있다. 이 때, 패키지 파서(package parser)(405)는 어플리케이션 패키지(APK)내에 개발자 출처 정보가 포함된 것을 확인함에 대응하여, 소스 체커(source checker)(407)로 개발자 출처 정보를 전달할 수 있다. 개발자 출처 정보는 개발자가 설정한 출처 정보를 의미할 수 있으며, 이는 도 4에서 설명된 바 있다.
소스 체커(source checker)(407)는 패키지 파서(package parser)(405)로부터 전달받은 개발자 출처 정보에 기반하여 실제로 어플리케이션이 다운로드되는 경로가 개발자의 의도와 일치하는지 확인할 수 있다. 예를 들어, 개발자 출처 정보 상에 어플리케이션을 설치하는 인스톨러의 정보가 포함된 경우 소스 체커(source checker)(407)는 동작 507에서 인스톨러(401) 상으로 정보를 요청할 수 있다. 이후 소스 체커(source checker)는 동작 509에서 어플리케이션을 설치하는 인스톨러와 관련된 정보를 수신할 수 있다. 일 실시예에 따르면, 인스톨러(401)는 플레이스토어(play store) 또는 갤럭시 스토어(galaxy store)와 같은 스토어 앱(app)을 포함할 수 있으며, 인스톨러(401)가 포함할 수 있는 스토어 앱의 종류는 이것으로 한정되는 것은 아니다. 전자 장치(300)는 개발자 출처 정보에 기초하여 특정 어플리케이션에 대해 특정 인스톨러를 이용해 설치되거나 또는 특정 인스톨러를 이용하여 설치되지 않도록 결정할 수 있다. 이 경우 프로세서(예: 도 3의 프로세서(310))는 동작 507 및 동작 509를 통해 어플리케이션의 설치를 진행하는 인스톨러에 대한 정보를 획득할 수 있다.
동작 511에서 소스 체커(source checker)(407)는 파일 매니저(file manager)(409)에 파일을 다운로드 받은 링크(예: 도 3의 웹 브라우저(343))에 대한 정보를 요청할 수 있다. 여기서 웹 브라우저(343)는 어플리케이션이 다운로드 된 경로 중 하나를 의미할 수 있다. 웹 브라우저(343)는 외부 서버(예: 도 3의 외부 서버(341))에 포함될 수 있다. 동작 513에서 소스 체커(source checker)(407)는 파일 매니저(file manager)(409)로부터 어플리케이션이 다운로드 된 링크(예: 웹 브라우저(343))에 대한 정보를 획득할 수 있다. 소스 체커(source checker)(407)는 패키지 파서(package parser)(405)로부터 전달 받은 개발자 출처 정보 상에 링크에 대한 정보가 포함된 경우 동작 511 및 동작 513을 진행하도록 제어할 수 있다. 예를 들어, 프로세서(예: 도 3의 프로세서(310))는 특정 어플리케이션에 대해 특정 링크를 통해 다운로드된 경우에만 설치하거나 또는 특정 링크에서 다운로드 된 경우 어플리케이션의 설치를 차단하도록 설정할 수 있다. 이 경우 프로세서(310)는 동작 511 및 동작 513를 통해 어플리케이션을 다운로드 받은 링크에 대한 정보를 획득할 수 있다.
소스 체커(source checker)(407)는 동작 515 및 동작 517에서 텔레퍼니 매니저(telephony maneger)(411)에 어플리케이션이 다운로드 된 국가에 대한 정보를 요청 및 획득할 수 있다. 소스 체커(source checker)(407)는 패키지 파서(package parser)(405)로부터 전달 받은 개발자 출처 정보 상에 어플리케이션이 다운로드 된 국가에 대한 정보가 포함된 경우 동작 515 및 동작 517을 진행하도록 제어할 수 있다. 예를 들어, 프로세서(310)는 특정 어플리케이션에 대해 특정 국가에서 다운로드 된 경우만 설치하거나 또는 특정 국가에서 다운로드 된 경우 어플리케이션의 설치를 차단하도록 설정할 수 있다. 이 경우 프로세서(예: 도 3의 프로세서(310))는 동작 515 및 동작 517를 통해 어플리케이션을 다운로드 받은 국가에 대한 정보를 획득할 수 있다.
소스 체커(source checker)(407)는 패키지 파서(package parser)(405)로부터 개발자 출처 정보를 전달 받고, 개발자 출처 정보 상에 어플리케이션을 설치하는 인스톨러의 정보가 포함된 경우 동작 507 및 동작 509를 진행하여 어플리케이션의 설치를 진행하는 인스톨러에 대한 정보를 획득할 수 있다.
또한, 소스 체커(source checker)(407)는 개발자 출처 정보 상에 어플리케이션이 다운로드 된 링크에 대한 정보가 포함된 경우 동작 511 및 동작 513를 진행하여 어플리케이션을 다운로드 받은 링크에 대한 정보를 획득할 수 있다.
또한, 소스 체커(source checker)(407)는 개발자 출처 정보 상에 어플리케이션이 다운로드 된 국가에 대한 정보가 포함된 경우 동작 515 및 동작 517를 진행하여 어플리케이션을 다운로드 받은 국가에 대한 정보를 획득할 수 있다.
소스 체커(source checker)(407)는 동작 519에서 어플리케이션의 설치와 관련된 정보(예: 어플리케이션의 설치가 실패했는지 여부)를 패키지 매니저(package manager)(403)로 전달할 수 있다. 패키지 매니저(package manager)(403)는 소스 체커(source checker)(407)로부터 어플리케이션의 설치와 관련된 정보를 전달 받고, 어플리케이션의 설치가 실패한 경우, 어플리케이션의 설치 실패 사유(예: 특정 어플리케이션 스토어(341)를 이용하여 어플리케이션을 다운로드받지 않은 경우)를 패일 리포트 매니저(fali report manager)(413)로 전달할 수 있다. 이 때 소스 체커(source checker)(407)는 개발자 출처 정보 및 단말 출처 정보를 비교하여 어플리케이션의 설치 과정을 제어할 수 있다.
일 실시예에 따르면, 어플리케이션 패키지(APK)가 전자 장치(300) 상으로 유입되는 경로는 다양하게 존재할 수 있다. 전자 장치(300)는 어플리케이션 패키지(APK)를 업로드할 대상(예: 앱 스토어, 링크 등)을 포함하는 개발자 출처 정보를 이용하여, 어플리케이션 패키지(APK)가 개발자가 의도하지 않은 설치 경로를 통해 다운로드 된 것인지 확인할 수 있다. 본 문서의 다양한 실시예들에 따른 전자 장치는 개발자가 출처 정보를 어플리케이션 패키지(APK) 상에 입력할 수 있도록 제어하고, 실제 다운로드 된 어플리케이션 패키지(APK)의 출처 정보와 비교하여 개발자 의도와 다른 경로를 통한 설치 시도를 원천 차단하도록 제어할 수 있다.
도 6a는 다양한 실시예들에 따른 전자 장치의 개발자 출처 정보 삽입 과정을 도시한 것이다.
도 6a 에 따르면, 전자 장치(예: 도 3의 전자 장치(300))는 어플리케이션 개발자에 의해 설정된 개발자 출처 정보(601)를 포함할 수 있다. 출처 정보(601)는 어플리케이션 패키지(APK) 내에 포함될 수 있다. 개발자에 의해 설정된 출처 정보(601)는 앞선 도 4에서 설명된 것처럼 '개발자 출처 정보' 또는 '제1식별 정보'로 표기될 수 있다. 개발자 출처 정보(601)의 종류에 대해서는 도 6b에서 설명될 것이다.
일 실시예에 따르면, 개발자 출처 정보(601)는 어플리케이션 패키지(APK) 생성 시 개발자에 의해 설정이 변경될 수 있는 파일 내에 삽입되거나 또는 포함될 수 있다. 예를 들어, 개발자 출처 정보(601)는 개발자에 의해 설정이 변경될 수 있는 manifest 파일(603) 내에 삽입되거나 또는 포함될 수 있다. manifest 파일(603)은 androidmanifest.xml 의 확장명을 가진 파일을 의미할 수 있다. manifest 파일(603)은 하나의 예시일 뿐 어플리케이션 패키지(APK) 생성 과정에서 개발자 출처 정보(601)가 삽입될 수 있는 부분은 manifest 파일(603)로 한정되는 것은 아니며, 개발자들이 직접 설정을 변경할 수 있는 부분 또는 개발자들이 직접 설정을 변경할 수 있는 파일이라면 무엇이든 포함될 수 있다.
도 6b는 다양한 실시예들에 따른 개발자 출처 정보의 종류를 도시한 것이다.
그림 610에 따르면, 전자 장치(300)는 어플리케이션을 설치하는 인스톨러(예: 도 3의 어플리케이션 스토어(345))의 종류, 어플리케이션을 다운로드 받는 링크(예: 도 3의 외부 서버(341) 또는 웹 브라우저(343))의 종류 또는 어플리케이션을 다운로드 받는 국가의 종류(예: KR, US) 중 적어도 어느 하나를 개발자 출처 정보로 설정할 수 있다. 예를 들어, 전자 장치(300)는 어플리케이션의 설치를 허용할 인스톨러의 종류는 A 스토어로 설정하고, 어플리케이션의 설치를 허용할 링크는 https://family.ohsung.com로 설정하며, 어플리케이션의 설치를 허용할 국가는 US 및 KR로 설정할 수 있다. 이 경우 전자 장치(300)는 다운로드된 파일이 A 스토어 또는 https://family.ohsung.com의 링크를 이용하여 다운로드된 것인지 확인함에 대응하여 전자 장치(300) 내에 다운로드된 파일이 설치되도록 제어할 수 있다. 어플리케이션의 설치를 허용할 인스톨러 및 어플리케이션의 설치를 허용할 링크는 or 조건으로 적용될 수 있는 반면, 어플리케이션의 설치를 허용할 국가 조건은 and 조건으로 적용될 수 있다. 즉, 전자 장치(300)는 다운로드된 파일이 A 스토어를 이용하여 다운로드되거나 또는 https://family.ohsung.com의 링크를 이용하여 다운로드된 경우 전자 장치(300) 내 설치를 허용하고, 다운로드된 파일이 US 및 KR이 아닌 다른 국가에서 다운로드 된 경우 전자 장치(300) 내 설치를 허용하지 않을 수 있다. 이는 개발자 출처 정보를 적용하는 일 예시일뿐 and조건 또는 or 조건이 고정된 것은 아니며, 개발자 출처 정보는 개발자의 설정에 따라 적용 조건이 달라질 수 있다.
일 실시예에 따르면, 도 4의 소스 체커(source checker)(407)는 설정된 개발자 출처 정보(예: 도 6a의 출처 정보(601))와 실제로 어플리케이션이 전자 장치(300)로 다운로드 되었을 때 출처를 비교할 수 있다. 실제로 어플리케이션이 전자 장치(300)로 다운로드 되었을 때의 출처 정보는 앞선 도 4에서 설명된 것처럼'단말 출처 정보' 또는 '제2식별 정보'로 표기될 수 있다.
그림 610의 경우 소스 체커(source checker)(407)는 단말 출처 정보 상의 인스톨러 정보를 확인하고, 어플리케이션이 A 스토어를 통해 다운로드 된 것인지 확인할 수 있다. 또한, 소스 체커(source checker)(407)는 단말 출처 정보 상의 링크 정보를 확인하고, 어플리케이션이 https://family.ohsung.com 으로부터 다운로드 된 것인지 확인할 수 있다. 또한, 소스 체커(source checker)(407)는 단말 출처 정보 상의 국가 정보 또는 국가 코드를 확인하고, 어플리케이션이 US 또는 KR로부터 다운로드 된 것인지 확인할 수 있다. 소스 체커(source checker)(407)는 인스톨러, 링크 및 국가 정보가 모두 일치하는 것을 확인함에 대응하여 전자 장치(예: 도 3의 전자 장치(300))내 어플리케이션이 설치되도록 제어할 수 있다. 소스 체커(source checker)(407)는 인스톨러, 링크 및 국가 정보 중 어느 하나라도 일치하지 않는 경우 전자 장치(300) 상에 어플리케이션이 설치되지 않도록 제어할 수 있다. 이는 인스톨러, 링크 및 국가 정보가 and 조건으로 적용된 상황으로 이해될 수 있다.
또는 소스 체커(source checker)(407)는 인스톨러 정보가 일치하지 않더라도 링크 정보가 일치하는 경우 어플리케이션의 설치를 허용하고, 반대로 링크 정보가 일치하지 않더라도 인스톨러 정보가 일치하는 경우 어플리케이션의 설치를 허용할 수 있다. 이는 인스톨러 정보와 링크 정보는 or 조건으로 적용되고, 국가 정보는 and 조건으로 적용된 상황으로 이해될 수 있다.
일 실시예에 따르면, 전자 장치(300)는 인스톨러, 링크 및 국가 정보 중 구체적으로 어떠한 정보가 일치하지 않아 설치가 실패하였는지 사용자에게 가이드를 제공할 수 있다. 이는 하나의 예시일 뿐 개발자가 설정할 수 있는 인스톨러, 링크 및 국가 정보는 위에서 설명한 내용으로 한정되는 것은 아니다.
그림 620에 따르면, 개발자는 어플리케이션을 설치하는 인스톨러의 종류, 어플리케이션을 다운로드 받는 링크의 종류 또는 어플리케이션을 다운로드 받는 국가의 종류 중 적어도 어느 하나를 개발자 출처 정보로 설정할 수 있다. 예를 들어, 개발자는 스토어에서 다운로드 되지 않은 어플리케이션에 대해서는 전자 장치(300) 내에서 설치가 진행되지 않도록 설정할 수 있다. 이 경우 프로세서(예: 도 3의 프로세서(310))는 앱 스토어가 아닌 링크를 통해 다운로드 받은 어플리케이션이 전자 장치(300)상에 설치되지 않도록 제어할 수 있다. 또한, 개발자는 A 스토어에서 다운로드 받은 어플리케이션에 대해서는 전자 장치(300)내에서 설치가 진행되지 않도록 설정할 수 있다. 또한, 개발자는 특정 국가(예: US 및 KR)에서 다운로드 받은 어플리케이션에 대해서는 전자 장치(300)내에서 설치가 진행되지 않도록 설정할 수 있다. 소스 체커(source checker)(407)는 인스톨러, 링크 및 국가 정보 중 어느 하나라도 개발자가 설정한 설치 실패 조건에 해당하는 경우 전자 장치(300) 상에 어플리케이션이 설치되지 않도록 제어하고, 그림 630처럼 인스톨러, 링크 및 국가 정보 중 구체적으로 어떠한 정보가 설치 실패 조건에 해당하여 어플리케이션의 설치가 실패하였는지 사용자에게 가이드를 제공할 수 있다.
도 6c는 다양한 실시예들에 따른 단말 출처 정보를 확인하는 과정을 도시한 것이다. 도 6c는 전자 장치(300)가 특정 링크(예: family.ohsung.com)에서 어플리케이션 패키지(APK)를 다운로드 한 상황을 의미할 수 있다. 이 경우 전자 장치(300)내 단말 출처 정보(605)는 어플리케이션 패키지(APK)를 다운로드 한 링크(예: family.ohsung.com)를 포함할 수 있다. 이는 일 예시에 불과하며, 단말 출처 정보(605)는 이것으로 한정되는 것은 아니다. 예를 들어, 단말 출처 정보(605)는 출처 정보에 따라 '앱 출처 정보'또는'보낸 사람'으로도 표기될 수 있다. 전자 장치(300)는'단말 출처 정보', '앱 출처 정보'또는'보낸 사람'중 적어도 어느 하나로 표기된 영역 상에 어플리케이션 패키지(APK)를 다운로드 받은 링크를 함께 표시할 수 있다.
도 6d는 다양한 실시예들에 따른 전자 장치 상에서 개발자 출처 정보와 단말 출처 정보가 일치하지 않는 경우 사용자에게 어플리케이션의 설치 실패 사유를 가이드하는 동작을 나타낸 것이다.
예를 들어, 개발자는 특정한 링크(예: family.ohsung.com)를 통해 어플리케이션을 다운로드 받은 경우에만 전자 장치(300)상에 설치를 허용하도록 설정할 수 있다. 개발자에 의해 설정된 링크 이외의 경로를 통해 사용자가 어플리케이션을 다운로드 받고, 전자 장치(300)상에 설치를 시도하는 경우 프로세서(310)는 개발자에 의해 미리 설정된 가이드(640)를 사용자에게 제공할 수 있다. 사용자는 개발자에 의해 미리 설정된 가이드(640)를 이용하여 어플리케이션의 설치 여부 및 실패 사유에 대해 확인할 수 있고, 전자 장치(300) 내부의 문제가 아닌 출처(예: 다운로드 경로)의 문제라는 사실을 확인할 수 있다. 사용자는 개발자에 의해 미리 설정된 가이드(640)를 이용하여 개발자가 특정한 링크를 통해 다시 어플리케이션을 다운로드 받고, 전자 장치(300)상에 설치를 진행할 수 있다.
소스 체커(source checker)(407)에서는 '개발자 출처 정보'와 '단말 출처 정보' 를 비교하여 설치 허용 및 실패 여부를 포함하는 인증 정보를 생성하고, 패키지 매니저(package manager)(403)로 전달할 수 있다. 패키지 매니저(package manager)(403)는 소스 체커(source checker)(407)로부터 전달된 인증 정보를 확인함에 대응하여 어플리케이션 패키지(APK)의 설치를 제어할 수 있다. 일반적으로 설치 실패 사유는 전자 장치(300) 내 로그 상에 기록될 수 있는데, 본 문서의 다양한 실시예들에 따른 전자 장치(300)는 에서 개발자가 설정한 정책에 따라 설치가 실패되는 경우 사용자에게 명시적으로 설치 실패 사유를 가이드하고, 다운로드 경로를 변경하도록 유도할 수 있다. 개발자는 '개발자 출처 정보'를 어플리케이션 패키지(APK)에 삽입할 수 있으며, 또한 설치 실패에 따른 메시지를 함께 삽입시킬 수 있다. 예를 들어 개발자는 지정된 서버에서 링크를 통해 어플리케이션을 다운로드 받고 전자 장치 내에 설치될 수 있도록 개발자 출처 정보(601)를 설정할 수 있다. 이 때 전자 장치(300)는 개발자가 설정한 출처와는 다른 경로로 다운로드된 어플리케이션의 설치를 시도하는 경우 메시지(640)(예: <본 어플리케이션은 아래 링크에서 최신 버전을 다운로드 받을 수 있습니다>, <해당 스토어에서는 본 어플리케이션의 설치가 불가능합니다>)를 사전 등록하여 사용자에게 설치 실패 사유(예: 특정 어플리케이션 스토어(341)를 이용하여 어플리케이션을 다운로드받지 않은 경우)를 정확하게 전달할 수 있다.
다양한 실시예들에 따른 전자 장치는 통신 인터페이스, 메모리 및 프로세서를 포함하며, 프로세서는 어플리케이션 패키지(application package)의 생성 과정에서 어플리케이션 패키지 상에 기입된 제1식별 정보를 획득하고, 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하고, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하고, 인증 정보에 기반하여 어플리케이션의 설치를 제어할 수 있다.
일 실시예에 따르면, 제1식별 정보는 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보, 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보 및 어플리케이션이 전자 장치가 특정 국가에 위치할 때 다운로드되는지에 대응하는 국가 정보 중 적어도 어느 하나를 포함할 수 있다.
일 실시예에 따르면, 인스톨러 정보는 어플리케이션의 설치 과정에서 이용되는 앱 스토어(app store)를 지시하는 정보를 포함할 수 있다.
일 실시예에 따르면, 제2식별 정보는 통신 인터페이스를 이용하여 수신된 어플리케이션 패키지의 다운로드 경로를 포함할 수 있다.
일 실시예에 따르면, 어플리케이션 패키지의 다운로드 경로는 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보, 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보 및 어플리케이션이 전자 장치가 특정 국가에 위치할 때 다운로드되었는지에 대응하는 국가 정보 중 적어도 어느 하나를 포함할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보에 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 인스톨러 정보와 비교하고, 제1식별 정보 상의 인스톨러 정보와 제2식별 정보 상의 인스톨러 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보 상의 인스톨러 정보와 제2식별 정보 상의 인스톨러 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 인스톨러 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보에 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 링크 정보와 비교하고, 제1식별 정보 상의 링크 정보와 제2식별 정보 상의 링크 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보 상의 링크 정보와 제2식별 정보 상의 링크 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 링크 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보에 국가 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 국가 정보와 비교하고, 제1식별 정보 상의 국가 정보와 제2식별 정보 상의 국가 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 제1식별 정보 상의 국가 정보와 제2식별 정보 상의 국가 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어할 수 있다.
일 실시예에 따르면, 프로세서는 국가 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드할 수 있다.
다양한 실시예들에 따른 전자 장치의 어플리케이션 패키지 관리 방법은 어플리케이션 패키지(application package) 상에 기입된 제1식별 정보를 획득하는 동작, 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하는 동작, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하는 동작 및 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작을 포함할 수 있다.
일 실시예에 따르면, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하는 동작은 제1식별 정보에 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 인스톨러 정보와 비교하는 동작을 포함할 수 있다.
일 실시예에 따르면, 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작은 제1식별 정보 상의 인스톨러 정보와 제2식별 정보 상의 인스톨러 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어하는 동작, 제1식별 정보 상의 인스톨러 정보와 제2식별 정보 상의 인스톨러 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어하는 동작 및 인스톨러 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 동작을 더 포함할 수 있다.
일 실시예에 따르면, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하는 동작은 제1식별 정보에 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드 되는지에 대응하는 링크 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 링크 정보와 비교하는 동작을 포함할 수 있다.
일 실시예에 따르면, 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작은 제1식별 정보 상의 링크 정보와 제2식별 정보 상의 링크 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어하는 동작, 제1식별 정보 상의 링크 정보와 제2식별 정보 상의 링크 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어하는 동작 및 링크 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 동작을 더 포함할 수 있다.
일 실시예에 따르면, 제1식별 정보 및 제2식별 정보에 기반하여 인증 정보를 생성하는 동작은 제1식별 정보에 국가 정보가 포함된 것을 확인함에 대응하여 제2식별 정보 상의 국가 정보와 비교하는 동작을 포함할 수 있다.
일 실시예에 따르면, 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작은 제1식별 정보 상의 국가 정보와 제2식별 정보 상의 국가 정보가 일치함에 대응하여 어플리케이션의 설치를 허용하도록 제어하는 동작, 제1식별 정보 상의 국가 정보와 제2식별 정보 상의 국가 정보가 일치하지 않음에 대응하여 어플리케이션의 설치를 허용하지 않도록 제어하는 동작 및 국가 정보가 일치하지 않아 어플리케이션의 설치가 불가능함을 가이드하고, 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 동작을 더 포함할 수 있다.
본 명세서와 도면에 개시된 본 문서의 실시예는 본 문서의 실시예에 따른 기술 내용을 쉽게 설명하고 본 문서의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 문서의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 문서의 다양한 실시예의 범위는 여기에 개시된 실시예 이외에도 본 문서의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 문서의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.

Claims (15)

  1. 전자 장치에 있어서,
    통신 인터페이스;
    메모리; 및
    프로세서를 포함하며,
    상기 프로세서는
    어플리케이션 패키지(application package)의 생성 과정에서 상기 어플리케이션 패키지 상에 기입된 제1식별 정보를 획득하고,
    상기 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하고,
    상기 제1식별 정보 및 상기 제2식별 정보에 기반하여 인증 정보를 생성하고,
    상기 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 전자 장치.
  2. 제 1항에 있어서,
    상기 제1식별 정보는
    상기 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보, 상기 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보 및 상기 어플리케이션이 상기 전자 장치가 특정 국가에 위치할 때 다운로드되는지에 대응하는 국가 정보 중 적어도 어느 하나를 포함하는 전자 장치.
  3. 제 2항에 있어서,
    상기 인스톨러 정보는 상기 어플리케이션의 설치 과정에서 이용되는 앱 스토어(app store)를 지시하는 정보를 포함하는 전자 장치.
  4. 제 1항에 있어서,
    상기 제2식별 정보는
    상기 통신 인터페이스를 이용하여 수신된 상기 어플리케이션 패키지의 다운로드 경로를 포함하는 전자 장치.
  5. 제 4항에 있어서,
    상기 어플리케이션 패키지의 다운로드 경로는
    상기 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보, 상기 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보 및 상기 어플리케이션이 상기 전자 장치가 특정 국가에 위치할 때 다운로드되었는지에 대응하는 국가 정보 중 적어도 어느 하나를 포함하는 전자 장치.
  6. 제 1항에 있어서,
    상기 프로세서는
    상기 제1식별 정보에 상기 어플리케이션이 특정 인스톨러(installer)를 이용하여 설치되는지에 대응하는 인스톨러 정보가 포함된 것을 확인함에 대응하여 상기 제2식별 정보 상의 인스톨러 정보와 비교하고,
    상기 제1식별 정보 상의 상기 인스톨러 정보와 상기 제2식별 정보 상의 상기 인스톨러 정보가 일치함에 대응하여 상기 어플리케이션의 설치를 허용하도록 제어하는 전자 장치.
  7. 제 6항에 있어서,
    상기 프로세서는
    상기 제1식별 정보 상의 상기 인스톨러 정보와 상기 제2식별 정보 상의 상기 인스톨러 정보가 일치하지 않음에 대응하여 상기 어플리케이션의 설치를 허용하지 않도록 제어하는 전자 장치.
  8. 제 7항에 있어서,
    상기 프로세서는
    상기 인스톨러 정보가 일치하지 않아 상기 어플리케이션의 설치가 불가능함을 가이드하고, 상기 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 전자 장치.
  9. 제 1항에 있어서,
    상기 프로세서는
    상기 제1식별 정보에 상기 어플리케이션이 외부 서버 또는 특정 웹 브라우저를 통해 다운로드되는지에 대응하는 링크 정보가 포함된 것을 확인함에 대응하여 상기 제2식별 정보 상의 링크 정보와 비교하고,
    상기 제1식별 정보 상의 상기 링크 정보와 상기 제2식별 정보 상의 상기 링크 정보가 일치함에 대응하여 상기 어플리케이션의 설치를 허용하도록 제어하는 전자 장치.
  10. 제 9항에 있어서,
    상기 프로세서는
    상기 제1식별 정보 상의 상기 링크 정보와 상기 제2식별 정보 상의 상기 링크 정보가 일치하지 않음에 대응하여 상기 어플리케이션의 설치를 허용하지 않도록 제어하는 전자 장치.
  11. 제 10항에 있어서,
    상기 프로세서는
    상기 링크 정보가 일치하지 않아 상기 어플리케이션의 설치가 불가능함을 가이드하고, 상기 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 전자 장치.
  12. 제 1항에 있어서,
    상기 프로세서는
    상기 제1식별 정보에 상기 국가 정보가 포함된 것을 확인함에 대응하여 상기 제2식별 정보 상의 국가 정보와 비교하고,
    상기 제1식별 정보 상의 상기 국가 정보와 상기 제2식별 정보 상의 상기 국가 정보가 일치함에 대응하여 상기 어플리케이션의 설치를 허용하도록 제어하는 전자 장치.
  13. 제 12항에 있어서,
    상기 프로세서는
    상기 제1식별 정보 상의 상기 국가 정보와 상기 제2식별 정보 상의 상기 국가 정보가 일치하지 않음에 대응하여 상기 어플리케이션의 설치를 허용하지 않도록 제어하는 전자 장치.
  14. 제 13항에 있어서,
    상기 프로세서는
    상기 국가 정보가 일치하지 않아 상기 어플리케이션의 설치가 불가능함을 가이드하고, 상기 어플리케이션의 설치가 가능하도록 적절한 설치 경로를 가이드하는 전자 장치.
  15. 전자 장치의 어플리케이션 패키지 관리 방법에 있어서,
    상기 어플리케이션 패키지(application package) 상에 기입된 제1식별 정보를 획득하는 동작;
    상기 어플리케이션 패키지의 다운로드 경로에 따라 다른 값을 가질 수 있는 제2식별 정보를 획득하는 동작;
    상기 제1식별 정보 및 상기 제2식별 정보에 기반하여 인증 정보를 생성하는 동작;및
    상기 인증 정보에 기반하여 어플리케이션의 설치를 제어하는 동작을 포함하는 방법.
PCT/KR2022/014550 2021-11-15 2022-09-28 전자 장치 및 어플리케이션 패키지 관리 방법 WO2023085599A1 (ko)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2021-0156913 2021-11-15
KR20210156913 2021-11-15
KR10-2021-0189602 2021-12-28
KR1020210189602A KR20230070991A (ko) 2021-11-15 2021-12-28 전자 장치 및 어플리케이션 패키지 관리 방법

Publications (1)

Publication Number Publication Date
WO2023085599A1 true WO2023085599A1 (ko) 2023-05-19

Family

ID=86336288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/014550 WO2023085599A1 (ko) 2021-11-15 2022-09-28 전자 장치 및 어플리케이션 패키지 관리 방법

Country Status (1)

Country Link
WO (1) WO2023085599A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100391168B1 (ko) * 2001-11-09 2003-07-12 임민상 소프트웨어 불법복제 방지 시스템 및 방법
US20140109082A1 (en) * 2012-10-17 2014-04-17 Wal-Mart Stores, Inc. Verification Of Complex Multi-Application And Multi-Node Deployments
KR20150056244A (ko) * 2013-11-15 2015-05-26 (주)닥터소프트 단말 장치 및 단말 장치의 소프트웨어 관리 방법
KR101648402B1 (ko) * 2015-04-30 2016-08-16 (주) 카피앤패이스트 어플리케이션 처리 시스템
KR102201218B1 (ko) * 2013-10-15 2021-01-12 한국전자통신연구원 모바일 단말의 보안 엔진의 접근 제어 시스템 및 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100391168B1 (ko) * 2001-11-09 2003-07-12 임민상 소프트웨어 불법복제 방지 시스템 및 방법
US20140109082A1 (en) * 2012-10-17 2014-04-17 Wal-Mart Stores, Inc. Verification Of Complex Multi-Application And Multi-Node Deployments
KR102201218B1 (ko) * 2013-10-15 2021-01-12 한국전자통신연구원 모바일 단말의 보안 엔진의 접근 제어 시스템 및 방법
KR20150056244A (ko) * 2013-11-15 2015-05-26 (주)닥터소프트 단말 장치 및 단말 장치의 소프트웨어 관리 방법
KR101648402B1 (ko) * 2015-04-30 2016-08-16 (주) 카피앤패이스트 어플리케이션 처리 시스템

Similar Documents

Publication Publication Date Title
WO2023085563A1 (ko) Ipfs를 활용한 중앙화 대체불가능 토큰의 발행 장치 및 방법
WO2021060745A1 (en) Electronic device for updating firmware by using security integrated circuit and operation method thereof
WO2022030903A1 (ko) 어플리케이션 설치 방법 및 이를 지원하는 전자 장치
WO2022030891A1 (ko) 백업 데이터 복원 방법 및 이를 위한 전자 장치
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
EP3977264A1 (en) Application optimization method and electronic device supporting the same
WO2023085599A1 (ko) 전자 장치 및 어플리케이션 패키지 관리 방법
WO2022255652A1 (ko) 어플리케이션 업데이트 방법 및 그 전자 장치
WO2022265364A1 (ko) 소프트웨어 커스터마이징 방법, 이를 위한 전자 장치 및 저장 매체
WO2022092869A1 (ko) 전자 장치 및 이를 이용한 메모리 보호 방법
WO2022235039A1 (ko) 블록체인 네트워크에 포함된 노드에 대응하는 전자 장치와 이의 동작 방법
KR20230070991A (ko) 전자 장치 및 어플리케이션 패키지 관리 방법
WO2023003150A1 (ko) 보안 요소의 백업을 수행하는 전자 장치 및 백업 방법
WO2023013886A1 (ko) 분리 권한을 이용하는 전자 장치 및 그 동작 방법
WO2024072117A1 (ko) 전자 장치 및 어플리케이션 간의 통신 방법
WO2024075929A1 (ko) 신뢰 실행 환경을 제공하기 위한 전자 장치
WO2022154540A1 (ko) 어플리케이션 패키지를 실행하기 위한 전자 장치 및 그의 동작 방법
WO2024071861A1 (ko) 업데이트 방법 및 이를 위한 전자 장치
WO2023149770A1 (ko) 전자 장치에서 영상을 편집하는 방법 및 장치
WO2024010177A1 (ko) 보안 회로의 애플릿을 갱신하기 위한 전자 장치 및 그의 동작 방법
WO2023096107A1 (ko) 애플리케이션 보안을 위한 방법, 및 그 방법을 수행하는 전자 장치
WO2022154273A1 (ko) 데이터 백업을 지원하는 전자 장치 및 그 운용 방법
WO2023018151A1 (ko) 인증 타입에 따라 상이한 로그인 프로세스를 수행하는 전자 장치 및 그 제어 방법
WO2022191378A1 (ko) 서비스를 제공하는 전자 장치 및 이의 동작 방법
WO2024076123A1 (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: 22893022

Country of ref document: EP

Kind code of ref document: A1