WO2024076123A1 - Method for updating application and electronic device therefor - Google Patents

Method for updating application and electronic device therefor Download PDF

Info

Publication number
WO2024076123A1
WO2024076123A1 PCT/KR2023/015188 KR2023015188W WO2024076123A1 WO 2024076123 A1 WO2024076123 A1 WO 2024076123A1 KR 2023015188 W KR2023015188 W KR 2023015188W WO 2024076123 A1 WO2024076123 A1 WO 2024076123A1
Authority
WO
WIPO (PCT)
Prior art keywords
store
application
app
app store
electronic device
Prior art date
Application number
PCT/KR2023/015188
Other languages
French (fr)
Korean (ko)
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 KR1020220136781A external-priority patent/KR20240047867A/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US18/507,562 priority Critical patent/US20240118887A1/en
Publication of WO2024076123A1 publication Critical patent/WO2024076123A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions

Definitions

  • An electronic device may include an operating system (OS) for controlling one or more resources and an application executable on the operating system.
  • OS operating system
  • Electronic devices can perform application updates for applications installed in the electronic device through various application stores (hereinafter referred to as ‘App stores’) (e.g. Play StoreTM) operated by servers. You can.
  • the electronic device may download an application package (e.g., an installation file (e.g., *.apk file)) from the App Store to update the application.
  • an application package e.g., an installation file (e.g., *.apk file)
  • the electronic device can perform the update by downloading the application package through the app store where the application is installed.
  • the electronic device can perform the update by downloading the application package through an app store other than the app store where the application was installed.
  • Various embodiments disclosed in this document are intended to provide a method and an electronic device for updating an application by changing the app store in an electronic device.
  • An electronic device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, and when the memory is executed, the processor is connected to the electronic device.
  • Receive app store source change information that performs an update for the specific application based on the application information of the installed specific application, and update the specific application confirmed based on the app store source change information for the specific application.
  • a method of an electronic device includes the operation of receiving app store source change information for performing an update for a specific application based on application information of a specific application installed on the electronic device, the specific application An operation of checking whether a higher version for the specific application exists in the app store to perform an update for the specific application, which is confirmed based on the app store source change information, and the higher version from the confirmed app store. It may include an operation of receiving an application package and performing an update for the specific application.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments.
  • FIG. 2 is a block diagram of an electronic device according to various embodiments.
  • FIG. 3 is a diagram illustrating the operation of an electronic device to perform an application update according to an embodiment.
  • FIG. 4 is a flowchart illustrating the operation of an electronic device to perform an application update according to various embodiments.
  • Figure 5 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to an embodiment.
  • FIG. 6 is a diagram illustrating the operation of an electronic device to perform an application update according to an embodiment.
  • Figure 7 shows an example of a specification file for update app store changes, according to one embodiment.
  • Figure 8 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to another embodiment.
  • FIG. 9 is a diagram illustrating an operation of an electronic device to perform an application update according to an embodiment.
  • Figure 10 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to another embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., 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 e.g., a short-range wireless communication network
  • a second network 199 e.g., a second network 199.
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • 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, and 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 may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • a main processor 121 e.g., a central processing unit or an application processor
  • auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the electronic device 101 includes a main processor 121 and a secondary processor 123
  • the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • co-processor 123 e.g., image signal processor or communication processor
  • may be implemented as part of another functionally related component e.g., camera module 180 or communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software 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. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • 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 application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, 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. Speakers can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. 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 (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, 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, an optical sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with 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 can 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 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can 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 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
  • 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 battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
  • processor 120 e.g., an application processor
  • the communication module 190 is a wireless communication module 192 (e.g., 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 (e.g., : LAN (local area network) communication module, or power line communication module) may be included.
  • a wireless communication module 192 e.g., 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 e.g., : LAN (local area network) communication module, or power line communication module
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network
  • the wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 to communicate within a communication network such as the first network 198 or the second network 199.
  • subscriber information e.g., International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported.
  • the wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates.
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199).
  • the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC.
  • Peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made 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 the communication method used in the communication network, such as the first network 198 or the second network 199, is connected to the plurality of antennas by, for example, the communication module 190. can be selected Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the
  • peripheral devices e.g., 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 of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can 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.
  • 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 (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology. .
  • Electronic devices may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of this document are not limited to the above-described devices.
  • first, second, or first or second may be used simply to distinguish one element from another, and may be used to distinguish such elements in other respects, such as importance or order) is not limited.
  • One (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”.
  • any of the components can be connected to the other components directly (e.g. wired), 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 logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these.
  • a processor e.g., processor 120
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-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 (e.g. downloaded or uploaded) directly between smart phones) or online.
  • a machine-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 (e.g. downloaded or uploaded) directly between smart phones) or online.
  • at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is.
  • one or more of the components or operations described above may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
  • FIG. 2 is a block diagram illustrating an electronic device 200 (eg, the electronic device 101 of FIG. 1 ) for performing an application update according to various embodiments.
  • the electronic device 200 includes a communication module 210 (e.g., the communication module 190 of FIG. 1), a processor 220 (e.g., the processor 120 of FIG. 1), and a memory 230. ) (e.g., memory 130 of FIG. 1).
  • the components shown in FIG. 2 are only examples, and some of them may be omitted or replaced, or may be integrated as a single module, depending on various embodiments. Detailed descriptions of the components shown in FIG. 2 that overlap with those described with reference to FIG. 1 may be omitted here.
  • the communication module 210 connects the electronic device 200 and a plurality of app stores (first app store 301 and second app store 302) (e.g., server 108 of FIG. 1). It can support the establishment of a direct (e.g. wired) or wireless communication channel between devices, and the performance of communication through the established communication channel.
  • a direct (e.g. wired) or wireless communication channel between devices, and the performance of communication through the established communication channel.
  • the communication module 210 may include a wireless communication module (e.g., the wireless communication module 194 of FIG. 1) and a network (e.g., a second network 199 (e.g., a legacy cellular network, Various signals and/or data for application updates can be transmitted and received by communicating with external app stores through a 5G network, a next-generation communication network, the Internet, or a long-distance communication network such as a computer network (e.g. LAN or WAN). there is.
  • a wireless communication module e.g., the wireless communication module 194 of FIG. 1
  • a network e.g., a second network 199 (e.g., a legacy cellular network,
  • 5G network e.g., a next-generation communication network
  • the Internet e.g., a long-distance communication network
  • a computer network e.g. LAN or WAN
  • the memory 230 may include function modules that execute (or process) functions related to updating an application of the electronic device 200.
  • functional modules may be included as hardware modules or software modules in at least one processor 220 including processing circuitry.
  • the functional modules according to the embodiment shown in FIG. 2 are software (e.g., program 140 in FIG. 1) and are stored in the form of instructions (or instructions) in the memory 230. As such, these instructions may be loaded by at least one processor 220 to execute operations of the functional module.
  • the functional modules included in the memory 230 include a store manager 231, a store database 232, a package parser 233, and a package manager. manager) (234), a setting database (235), and/or store apps (236). Parts of the above-described functional modules may be omitted or replaced, or may be integrated with at least one other module.
  • the setting DB 235 and the store DB 232 are described below as separate DBs, but embodiments are not limited thereto and may use the same physically DB depending on implementation.
  • the server structure such as the first app store 301 or the second app store 302 for distributing the developer's applications and a client structure such as the store apps 236 installed on the electronic device 200. It can be.
  • the store apps 236 receive an application installation file or application package (e.g. *.apk, Android) from the first app store 301 or the second app store 302 through the communication module 210. package kit file) can be received (or downloaded).
  • an application installation file or application package e.g. *.apk, Android
  • an application e.g., Android application
  • an application installation file or application package is a file required to install or update the application, and includes code (classes. dex), resources (e.g. Java source code, layout xml files, image files, audio files, animations, menus, styles, and/or colors) and/or signature keys for authentication, and zip. It can be compressed in archive format and created as an application package file (e.g., “apk” extension file). For example, one apk file represents one application (or app) and may be a file installed on the electronic device 200.
  • the package manager 234 can install, delete, and/or update applications.
  • the package manager 234 may perform an application installation operation when an application installation file is downloaded to the electronic device 200.
  • the package manager 234 can store information about the application in the settings DB 235.
  • the settings DB 235 may store information about applications installed in the electronic device 200.
  • the application information stored in the settings DB 235 may include, for example, the package name of the application, certificate information, and information on the entity that installed the application (app store).
  • the package manager 234 when an application package (e.g., an update file related to a target application to be updated) is received by the electronic device 200 for an application update, the package manager 234 stores the received application package (e.g., an update file related to the target application to be updated). Validity check and verification of update files related to the application can be performed.
  • an application package e.g., an update file related to a target application to be updated
  • the package manager 234 stores the received application package (e.g., an update file related to the target application to be updated).
  • Validity check and verification of update files related to the application can be performed.
  • the package manager 234 when verification of the application is completed, extracts an executable file (e.g., dex information) from an application package (e.g., a downloaded application package) related to the application to be updated through the package parser 233. ) can be parsed to create a new profile to use for compilation. According to one embodiment, the package manager 234 performs compilation based on the new profile to generate files such as *.oat files (or native files) and *.art (or initialization images) and builds the application based on these. A data directory can be created. According to one embodiment, when the application installation is completed, the package manager 234 may delete the previous application installation file (eg, .apk file).
  • an executable file e.g., dex information
  • an application package e.g., a downloaded application package
  • the package manager 234 performs compilation based on the new profile to generate files such as *.oat files (or native files) and *.art (or initialization images) and builds the application based on these.
  • the process of automatically updating an application installed on the electronic device 200 using a specific app store is carried out by the specific app store, and the app store that performs such application updating can be said to be the source of the application.
  • the source information for the application is set when the application is installed on the electronic device 200, and the app store that installed the application can be the app store that updates the application, that is, the source of the application. there is.
  • the first app store 301 may be the source of the specific application.
  • the store manager 231 may generally control updates to applications installed in the electronic device 200.
  • the store manager 231 may detect various events in which source information for applications installed on the electronic device 200 changes.
  • the store manager 231 receives source change information of an application for which the source is to be changed from the app store subject to source change (e.g., the second app store 302) through the store apps 236.
  • Source information change events can be detected.
  • the store manager 231 stores the inside of the APK parsed by the package parser 233 during the installation process of the APK received through the app store (e.g., the first app store 301), which is the current source of the specific application.
  • Source change events can be detected by receiving source change information through the development specification file (e.g., Android Manifest) included in the.
  • the store manager 231 when the store manager 231 detects the occurrence of a change in the source of the app store that updates the application installed in the electronic device 200 according to the occurrence of various events, the store manager 231 stores the application by the app store changed based on this. update can be performed.
  • the store manager 231 may provide an API to the store apps 236 to inform them that a specific application installed in the electronic device 200 is subject to a source change. .
  • the store manager 231 when an app store change occurs for a specific application installed on the electronic device 200, the store manager 231 sends app store change information notifying the app store change along with information about the specific application to the store DB 232. ) can be saved in .
  • Store apps 236 can check the application subject to source change through information stored in the store DB 232.
  • the store DB 232 may store the package name, app store information, version information, and/or certificate information of the application subject to source change.
  • Store apps 236 may receive an application package for an application subject to change of source through the app store subject to change of source based on information stored in the store DB 232.
  • the store apps 236 may check the application to be changed in origin and/or the app store name to be changed in source based on the package name and/or certificate information stored in the store DB 232.
  • the store apps 236 compare the version information stored in the store DB 232 with the actual version information of the application to change the source, and if the saved version of the application to change the source is a version later than the version of the currently installed application, the source is changed. You can proceed with the change.
  • Table 1 below may show an example of source change information stored in the store DB 232.
  • Source can be changed version certification (certificate unique value) com.android.samsungpay 1.2.3 3b16c6270c973e60d6add360009f049b4f7ddbadf7a60c7f120a906b46ad1cfe com.android.sasmungpass 12.24 ea37a1c4d03dcb33abdae9f8097 30573c65195a0cd49c9b1e8e2715448adb802
  • the package name subject to source change may include information on the application subject to source change and app store information subject to source change.
  • the package name subject to source change may indicate the name of the application subject to source change used in the app store.
  • the store apps 236 confirm through the store manager 231 that a specific application installed on the electronic device 200 is subject to source change, and select the source change target app store (e.g., the second app store ( 302)), it can be checked whether a higher version of the application subject to source change exists, and if a higher version exists, the store manager 231 can be notified that the higher version application exists.
  • the store manager 231 induces user consent through various notifications such as push notifications or pop-up notifications, and upon user consent, changes the source of the application through the package manager 234. there is.
  • the package manager 234 uses the store apps 236 to receive an application package from the changed source, the app store (e.g., the second app store 302), and stores the received application package as a package.
  • the update can be performed by parsing through the parser 233.
  • the package manager 234 may update the setting DB 235 with information about the changed app store for the updated application.
  • the store manager 231 when the update due to the change in the App Store source for the application is completed, the store manager 231 sends the app store source change information notifying the change in the App Store source along with information about the updated application to the store DB 232. ) can be deleted from.
  • FIG. 3 is a diagram illustrating the operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
  • an electronic device eg, the electronic device 200 of FIG. 2
  • the first application (e.g., Samsung Pay) installed on the electronic device 200 may be an application installed by an installation file received from the first app store 301 through the first store app 201. there is.
  • the second application (e.g., Samsung Note) installed on the electronic device 200 may be an application installed by an installation file received from the second app store 302 through the second store app 202. there is.
  • source information of the first application and the second application may be stored in the settings DB (e.g., the settings DB 235 of FIG. 2).
  • the source information of the first application may be stored in the first application. It may include the first app store 301, which is the installer of the application.
  • the source information of the second application may include the second app store 302, which is the installer of the second application.
  • the store manager of the electronic device 200 may detect various events in which source information about an application installed on the electronic device 200 changes.
  • the store manager 231 controls the source change target app store (e.g., the second app store 302) through the second store app 202 (e.g., one of the store apps 236 in FIG. 2).
  • a source information change event can be detected by receiving source change information of an application that wants to change the source from )).
  • the store manager 231 stores the inside of the APK parsed by the package parser 233 during the installation process of the APK received through the app store (e.g., the first app store 301), which is the current source of the specific application.
  • Source change events can be detected by obtaining source change information through the development specification file (e.g., Android Manifest) included in the.
  • the store manager 231 when a source app store change event occurs for the first application (e.g., Samsung Pay) installed on the electronic device 200, the store manager 231 notifies the app store change along with information about the first application.
  • App Store change information can be stored in the store DB (e.g., the store DB 232 in FIG. 2).
  • the store DB 232 may store the package name, app store information, version information, and/or certificate information of the application subject to source change.
  • the app store change information stored in the store DB 232 may include the name of the second app store 302 for the first application, which is the application subject to source change.
  • the first store app 201 and the second store app 202 can periodically check the store DB 232 and check the application subject to source change through stored information.
  • the second store app 202 may check the name of the application to be changed and/or the app store name to be changed based on the package name and/or certificate information stored in the store DB 232. For example, the second store app 202 can confirm that the App Store source for the first application (eg, Samsung Pay) is changed to itself based on information stored in the store DB 232.
  • the App Store source for the first application eg, Samsung Pay
  • the second store app when the second store app confirms that the App Store source of the first application is changed to itself, it checks the current version of the first application and downloads the higher version of the first application through the second app store 301. You can check whether this exists.
  • the second store app 202 may notify the store manager 231 that the higher version application exists.
  • the store manager 231 induces user consent through various notifications such as push notifications or pop-up notifications, and upon user consent, changes the source of the first application through the package manager 234. You can perform an update.
  • the package manager 234 may receive an application package through the second store app 202 and perform an update based on the received application package.
  • the package manager 234 may update the setting DB 235 with information about the second app store, which is a changed source for the first application.
  • the store manager 231 when the update due to the change in the App Store source for the application is completed, the store manager 231 sends the app store source change information notifying the change in the App Store source along with information about the updated application to the store DB 232. ) can be deleted from.
  • an electronic device e.g., the electronic device 200 of FIG. 2 includes a communication module (e.g., the communication module 210 of FIG. 2), a memory (e.g., the memory 230 of FIG. 2), and a processor (e.g., processor 220 of FIG. 2) operatively connected to the communication module and the memory, wherein the memory, when executed, allows the processor to access application information of a specific application installed on the electronic device. Based on this, receive app store source change information that performs an update for the specific application, and send an update to the app store that is confirmed based on the app store source change information for the specific application. It is possible to check whether a higher version for a specific application exists, receive an application package of the higher version from the confirmed app store, and store instructions for updating the specific application.
  • a communication module e.g., the communication module 210 of FIG. 2
  • a memory e.g., the memory 230 of FIG. 2
  • a processor e.g., processor 220 of FIG. 2
  • the memory may store instructions that, when executed, cause the processor to receive the app store source change information through the confirmed app store of the specific application.
  • the processor when the memory is executed, the processor obtains the App Store source change information from a file received from the confirmed App Store and stores the App Store source change information in the store database through the store manager. You can save instructions to save in .
  • the processor verifies the current source of the specific application through the store manager, and the App Store where the current source is confirmed based on the App Store source change information.
  • instructions for storing the app store source change information in the store database may be stored.
  • the processor checks the app store source change information stored in the store database through a store app corresponding to the confirmed app store, and Instructions for receiving the application package of the specific application from the store may be stored.
  • the memory when executed, may store instructions that cause the processor to delete the App Store source change information from the store database through the store manager when the update of the specific application is completed. .
  • the memory may store instructions that, when executed, cause the processor to receive the app store source change information through the app store, which is the current source of the specific application.
  • the processor when the memory is executed, the processor receives another application package of the specific application from the App Store, which is the current source, and retrieves the App Store source change information from a file included in the other application package. You can store instructions that allow you to obtain .
  • the memory when executed, causes the processor to store the app store source change information in the store database through a store manager, and store the app store source change information in the store database through a store app corresponding to the confirmed app store.
  • the app store source change information stored in can be confirmed, and instructions for receiving the higher version application package from the confirmed app store based on the app store source change information can be stored.
  • the memory when the memory is executed, when the processor confirms a plurality of store apps based on the app store source change information through the store manager, the memory determines priority among the plurality of store apps. Instructions for confirming the app store corresponding to the store app installed on the electronic device as the app store to perform updates for the specific application may be stored.
  • the processor may confirm the application as an application subject to source change.
  • FIG. 4 is a flowchart illustrating the operation of an electronic device (e.g., the electronic device 200 of FIG. 2 ) to perform an application update according to various embodiments.
  • an electronic device e.g., the electronic device 200 of FIG. 2
  • the processor of the electronic device 200 loads instructions (or instructions) stored in a memory (e.g., the memory 230 of FIG. 2) and It may be set to perform operations to change and update the source of various applications installed on the electronic device 200.
  • the processor 220 may receive app store source change information for a specific application installed on the electronic device 200 in operation 401.
  • the processor 220 may receive app store source change information for a specific application through the source change target app store that will perform updates according to the source change, based on the application information of the specific application.
  • the processor 220 may receive app store source change information for a specific application through the current source app store where the specific application is installed or recently updated, based on the application information of the specific application.
  • the processor 220 checks the app store performing an update for a specific application in operation 403, based on the app store source change information for the specific application, and updates the parent app for the specific application through the confirmed app store. You can check whether the version exists.
  • the processor 220 may obtain the package name of a specific application, app store information to be changed as a source, version information, and/or certificate information through app store source change information.
  • the processor 220 may perform an update by receiving the higher version application package through the confirmed app store in operation 405. there is.
  • FIG. 5 illustrates functional modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the app store 201 and/or 202 of FIG. 2) for performing an application update according to an embodiment.
  • a server e.g., the app store 201 and/or 202 of FIG. 2 for performing an application update according to an embodiment.
  • This is a signal processing flow chart.
  • the store app (e.g., the second store app 202 in FIG. 3) is stored by the second store app 202 through the settings DB (e.g., the settings DB 235 in FIG. 2) in operation 501. You can check the applications installed on the electronic device 200.
  • the settings DB e.g., the settings DB 235 in FIG. 2
  • the store app 202 may check whether a higher version of the target application exists in the corresponding app store (eg, the second app store 302) in operation 531.
  • the second store app 202 downloads the higher version application package from the second app store 302 and sends it to the package manager 234 in operation 505. You can update by requesting an update to the application.
  • the second store app 202 is configured to change the source to the second app store 302 through the app store source change information stored in the store DB (e.g., the store DB 232 in FIG. 2). You can check the target application.
  • the store DB e.g., the store DB 232 in FIG. 2.
  • the second store app 202 may check whether a higher version of the target application exists in the second app store 302 in operation 509.
  • the second store app 202 operates when the electronic device 200 is connected to Wifi and/or when the electronic device 200 is likely to be unused (e.g., after midnight) and/or when charging. It may be implemented to search for an update target application in the background, but embodiments are not limited to this.
  • the second store app 202 periodically performs operation 507 to check the store DB 232, and accordingly periodically performs operation 509 to check the existence of a higher version through the second app store 302. It can be implemented to do so.
  • the second store app 202 is applied to the electronic device 200 (e.g., the store manager 231) in operation 511.
  • the existence of a higher version of the application can be announced by transmitting the version information of the application package.
  • the store manager 231 may request the user's consent to change the app store source in operation 513.
  • the store manager 231 may inform the second app store 302 that a higher version of the target application installed on the electronic device 200 exists and provide a user notification encouraging an update.
  • the second store app 202 may download the application package of the target application from the second app store 302 in operation 515.
  • the second store app 202 may be implemented to download an application package before requesting user consent.
  • the user's consent may be required when performing an application update depending on the downloaded application package.
  • the second store app 202 may update the target application and change the source through the package manager 234 in operation 517.
  • the package manager 234 may update the source of the target application stored in the setting DB 235 to the second app store 302 to complete the source change.
  • FIG. 6 is a diagram illustrating an operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
  • an electronic device eg, the electronic device 200 of FIG. 2
  • the app store source change information may be processed using the first store app 301 or the second store app 302 (eg, store apps 236 in FIG. 2).
  • the app store source change information is an app store (e.g., the first app store 301 or the second app store 302 in FIG. 2) and the second store app 302 of the electronic device 200. It can be done through.
  • a specific application e.g., Samsung Pay
  • the source of the specific application is the first app store ( 301).
  • information e.g., app store change information
  • a specific app store e.g., the second app store 302
  • a specific app store e.g., the second app store
  • It may be delivered to the electronic device 200 from (302)) through a corresponding store app (e.g., the second store app 202).
  • the app store change information for a specific application delivered to the electronic device 200 through a store app is stored in the store manager (e.g., the store manager 231 of FIG. 2). )) can be stored in a store DB (e.g., store DB 232 in FIG. 2).
  • the source change information of a specific application is, for example, in the form of a file (e.g., specification file) in which the intention to change the source is specified, from the second app store 302 to the electronic device (202) through the second store app 202. 200).
  • a file e.g., specification file
  • Figure 7 shows an example of a specification file for changing the app store source, according to one embodiment.
  • the specification file containing App Store change information may include information about the scope of application (e.g. country/operator/OS version) in specific fields (e.g. COUNTRY, CARRIERS, VERSION fields). .
  • a specification file that a developer uploads to the App Store may be classified and/or integrated based on coverage, and may be passed from the App Store to the Store App based on this.
  • Each application may have different functions depending on the country/operator/OS version depending on the circumstances of the developer, and in this case, the size of data transmitted from the App Store to the electronic device 200 can be minimized through the scope of application.
  • the specification file may include the package name (e.g., SOURCE field) of the store app.
  • the App Store can store and manage specification files based on the package name of the store app.
  • the store manager 231 may register the specification file delivered to the electronic device 200 in the store DB 232 using the package name of the store app as a key value.
  • the specification file may include the package name, version, and/or certificate information (eg, PACKAGE field) of the application.
  • the specification file is a file created for the purpose of changing the source of a specific application, and the electronic device 200 may use the package name, version, and/or certificate information of the individual application to specify the application to which it is applied.
  • the package name is the application's unique information, but since it may be impersonated, certificate information may be required.
  • the version information is information about the version of the application for which the developer wishes to change the source. If the developer application installed on the electronic device 200 is larger than the version of the application in the specification file, the application can be determined to be subject to change of source.
  • the specification file may include a digital signature (eg, SIGNATURE field) for the included application information.
  • the private key used may be the private key used when creating the application.
  • a digital signature included in the specification file can be used to confirm that the package name, version, and/or certificate information included in the specification file was created by the actual developer.
  • certificate information can be extracted from the application package of the relevant application to authenticate the digital signature included in the specification file. If the digital signature is properly authenticated, it can be confirmed that the developer's private key used to create the application package was used for the digital signature, so the specification file can be trusted.
  • the ⁇ CONFIG> area can specify the scope of application and prevent unnecessary file transfer.
  • ⁇ SOURCE> in the ⁇ CONFIG> area can indicate the package name of the store application for which you wish to change the new source of the target application.
  • the ⁇ APPLICATION> area may include information on applications for which the source is to be changed, and may include, for example, multiple application package names. When multiple application package names are included, certificate information (e.g., certificate HASH), application version, and/or digital signature information may be included for each application's package name. Authentication and integrity verification can be performed in the app store (e.g., the second app store 302) and the electronic device 200 using this information.
  • FIG. 8 is a signal processing flowchart between function modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the app store 302 of FIG. 2) for performing an application update according to another embodiment. am.
  • an electronic device e.g., the electronic device 200 of FIG. 2
  • a server e.g., the app store 302 of FIG. 2
  • the app store source change information of a specific application is received from the app store 302 through the store app (e.g., the second store app 202 in FIG. 2) in the form of a specification file, for example, and is performed in operation 801. It may be transmitted to the store manager of the electronic device 200 (e.g., the store manager 231 in FIG. 2). Accordingly, the store manager 231 can update a specific application in the store DB 232 as a list of applications wishing to change the source through a series of authentication processes.
  • the store manager 231 checks whether a specific application is installed on the electronic device 200 through the setting DB 235 based on the package name included in the specification file and provides the source information. You can check. For example, the intention to change the source for a specific application can be confirmed by comparing the source change information included in the specification file with the source information stored in the settings DB 235.
  • the store manager 231 may check whether a source to be changed for a specific application is registered in the store DB 232 in operation 805 based on the source information of the specific application.
  • the store manager 231 stores the certificate information stored by package name from the application setting file in the setting DB 235 into the specification file of the application package. Authentication can be performed by comparing the certificate information entered for each package name included in to check if it matches.
  • the package name is a value created by the developer and may be duplicated, so for example, authentication can be performed by comparing certificate hashes.
  • the store manager 231 refers to the store DB 232 and, if source change information for a specific application is not registered, stores the source change information for the package name of the specific application in the store DB 232. You can register.
  • the specification file information can be authenticated based on the digital signature included in the specification file, and the package name of the store app included in the specification file can be registered by setting it as the key value of the store DB 232.
  • the store manager 231 may register the application information in the store DB 232 using the name of the store app as the key value after confirming whether the target application and source change are required. Therefore, the store app can use its package name as the key value of the store DB 232 to obtain a list of applications that it wishes to change from the store DB 232.
  • FIG. 9 is a diagram illustrating an operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
  • an electronic device eg, the electronic device 200 of FIG. 2
  • the electronic device 200 may check application source change information using a specification file (eg, android manifest) included in the application package.
  • a specification file eg, android manifest
  • the desired source of change for the application may be specified as source change information in the developer's specification file included in the application package.
  • the application package may be delivered when the application to be changed in origin is installed or updated in the electronic device 200, and after the application to be changed in source is installed or updated, a package manager (e.g., the package manager in FIG. 2) Through (234)), the source change information can be transmitted to the store manager (e.g., the store manager 231 in FIG. 2) so that the store DB (e.g., the store DB 232 in FIG. 2) is updated.
  • the package manager 234 stores the source change information if a store app for which a source change is desired exists in the electronic device 200. It can be registered in DB (232).
  • the source change operation may be performed by checking whether or not the target application is installed on the electronic device 200 according to the source change information included in the received specification file.
  • the source change operation may be performed by checking whether the target application is installed in the electronic device 200.
  • the source change operation may be performed by checking whether the store app, which is the desired source for change, is installed on the electronic device 200. If the store app that the developer wants to change does not exist in the electronic device 200, the app store of the application cannot be changed.
  • a plurality of stores desired to be changed may be specified in the specification file of the application package. Accordingly, the electronic device 200 can register the store app installed on the electronic device 200 among the plurality of specified store apps as the source for which the change is desired.
  • store apps (e.g., store apps 236 in FIG. 2) use the store DB 232 to secure a list of applications that wish to change the source from the electronic device 200 to the app store managed by the store app. ) can be referred to periodically.
  • the store apps 236 can check the package name, version, and/or certificate information of the application they wish to change by referring to the store DB 232 through the standard API using their package name as the key value.
  • the source change information can be specified in the specification file included in the application package for the specific application.
  • source change information may be transmitted to the electronic device 200.
  • an application package including a specification file specifying the developer's intention to change the app store source for the application may be installed on the electronic device 200.
  • the process of authenticating a digital signature according to the package name may be omitted.
  • the application package is created, it is signed with the developer's private key, and during installation on the electronic device 200, a process may be performed to check the integrity and authentication of all files of the application package. Therefore, additional authentication for the specification file included in the application package can be omitted.
  • the android manifest file is a development specification file defined in an Android application package, and specifies the unique name (package name), permissions, version, and custom format of the application that the developer wishes to use in the application. You can use it.
  • a target store tag may be defined in the specification file.
  • the target store tag is an example of a custom format and can specify B, C, and D Store.
  • the store manager 231 checks whether store apps desired to be changed exist in the electronic device 200 according to priority, and stores the existing store apps in the store DB 232 as a source of desired changes for the installed application. You can save it. In this case, if the store app that actually installs the installation application is the same as the desired change source of the application included in the specification file, it is determined that there is no need to change the source, and the source change information may not be stored in the store DB 232.
  • FIG. 10 shows signals between function modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the first app store 301 of FIG. 2) for performing an application update according to another embodiment.
  • a server e.g., the first app store 301 of FIG. 2
  • an application package downloaded from the first app store 301 through a store app (e.g., the first store app 201 in FIG. 2) for installation or update of a specific application is packaged in operation 1001. It can be passed to the parser 233 so that the application can be installed.
  • the package parser 233 may parse an executable file, and may request a package manager (e.g., the package manager 234 in FIG. 2) to install an application in operation 1003 based on the parsed executable file.
  • the package manager 234 may store the installation source (eg, first app store 301) of the parsed application package in the settings DB 235 in operation 1005.
  • the installation source eg, first app store 301
  • the package manager 234 checks source change information (e.g., desired change source included in the source change tag) included in the development specification file (e.g., Android Manifest) included in the application package in operation 1007. , if the installation source and the desired change source are different, the store manager (e.g., the store manager 231 in FIG. 2) may be requested to register the source change information.
  • source change information e.g., desired change source included in the source change tag
  • the development specification file e.g., Android Manifest
  • the store manager 231 may check whether the requested source change information is registered in the store DB 232 in operation 1009.
  • the store manager 231 sets the target application to the desired store app to change the source through the setting DB 235. You can check whether it has been installed.
  • the store manager 231 may register source change information for the target application in the store DB 232 if the target application is not installed through the store app for which a source change is desired.
  • Source change information for the target application may include, for example, the package name of the target application, version information, authentication information, and/or store app information for which the source is to be changed.
  • the store app delivery method described with reference to FIG. 6 can request a change in the source of multiple applications, and can proceed with the change in source without updating the target application. For example, if a specific app store no longer supports application updates, it can be used to change the app store source to another store.
  • the source is changed when the application is installed or updated, so the operation of specifying the application scope of the developer authentication process and the configuration file of the target application may be omitted.
  • the app store for which you wish to change the source can be specified by priority, so it can be done regardless of whether a specific store app exists on the electronic device.

Abstract

An electronic device according to various embodiments disclosed in the present document comprises a communication module, a memory, and a processor operatively connected to the communication module and the memory, wherein the memory may store instructions that instruct, when executed, the processor to: receive app store source change information for updating a specific application on the basis of application information of the specific application installed on the electronic device; check whether a higher version of the specific application exists in an app store where an update of the specific application is to be performed, which has been identified on the basis of the app store source change information for the specific application; and update the specific application by receiving a higher version application package from the identified app store.

Description

어플리케이션 업데이트 방법 및 그 전자 장치 Application update method and its electronic device
본 문서에 개시된 다양한 실시예들은, 어플리케이션 업데이트 방법 및 그 전자 장치에 관한 것이다.Various embodiments disclosed in this document relate to an application update method and an electronic device thereof.
전자 장치는 하나 이상의 리소스들을 제어하기 위한 운영 체제(OS, operating system)와 운영 체제에서 실행 가능한 어플리케이션(application)을 포함할 수 있다. An electronic device may include an operating system (OS) for controlling one or more resources and an application executable on the operating system.
전자 장치는 전자 장치 내에 설치된 어플리케이션에 대해, 서버에서 운영하는 다양한 어플리케이션 스토어(application store)(이하, '앱스토어(App store)'라 한다)(예: 플레이 스토어TM)를 통해 어플리케이션 업데이트를 수행할 수 있다. 전자 장치는 어플리케이션 업데이트를 위해 앱스토어로부터 어플리케이션 패키지(예: 설치 파일(예: *.apk 파일))를 다운로드 할 수 있다.Electronic devices can perform application updates for applications installed in the electronic device through various application stores (hereinafter referred to as ‘App stores’) (e.g. Play StoreTM) operated by servers. You can. The electronic device may download an application package (e.g., an installation file (e.g., *.apk file)) from the App Store to update the application.
어플리케이션 업데이트 시 전자 장치는 어플리케이션을 설치한 앱스토어를 통해 어플리케이션 패키지를 다운로드하여 업데이트를 수행할 수 있다. 그러나 다양한 상황에서 어플리케이션을 설치한 앱스토어가 아닌 다른 앱스토어를 통해 어플리케이션 패키지를 다운로드하여 업데이트를 수행하고자 하는 니즈가 있을 수 있다. When updating an application, the electronic device can perform the update by downloading the application package through the app store where the application is installed. However, in various situations, there may be a need to perform an update by downloading the application package through an app store other than the app store where the application was installed.
본 문서에 개시된 다양한 실시예들은 전자 장치에서 앱스토어를 변경하여 어플리케이션의 업데이트를 수행하기 위한 방법 및 그 전자 장치를 제공하기 위한 것이다. Various embodiments disclosed in this document are intended to provide a method and an electronic device for updating an application by changing the app store in an electronic device.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problem to be achieved in the present disclosure is not limited to the technical problem mentioned above, and other technical problems not mentioned can be clearly understood by those skilled in the art from the description below. There will be.
본 문서에 개시된 다양한 실시 예에 따른 전자 장치는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 전자 장치에 설치된 특정 어플리케이션의 어플리케이션 정보에 기초하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 정보를 수신하고, 상기 특정 어플리케이션에 대한 상기 앱스토어 출처 변경 정보에 기초하여 확인되는 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어에, 상기 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인하고, 상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하여 상기 특정 어플리케이션에 대한 업데이트를 수행하도록 하는 인스트럭션들(instructions)을 저장할 수 있다. An electronic device according to various embodiments disclosed in this document includes a communication module, a memory, and a processor operatively connected to the communication module and the memory, and when the memory is executed, the processor is connected to the electronic device. Receive app store source change information that performs an update for the specific application based on the application information of the installed specific application, and update the specific application confirmed based on the app store source change information for the specific application. Instructions for checking whether a higher version for the specific application exists in the app store to be performed, receiving the application package for the higher version from the confirmed app store, and performing an update for the specific application. You can save it.
본 문서에 개시된 다양한 실시 예에 따른 전자 장치의 방법은, 상기 전자 장치에 설치된 특정 어플리케이션의 어플리케이션 정보에 기초하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 정보를 수신하는 동작, 상기 특정 어플리케이션에 대한 상기 앱스토어 출처 변경 정보에 기초하여 확인되는 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어에, 상기 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인하는 동작, 및 상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 동작을 포함할 수 있다. A method of an electronic device according to various embodiments disclosed in this document includes the operation of receiving app store source change information for performing an update for a specific application based on application information of a specific application installed on the electronic device, the specific application An operation of checking whether a higher version for the specific application exists in the app store to perform an update for the specific application, which is confirmed based on the app store source change information, and the higher version from the confirmed app store. It may include an operation of receiving an application package and performing an update for the specific application.
도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components .
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment, according to various embodiments.
도 2는 다양한 실시예에 따른 전자 장치의 블록도이다.2 is a block diagram of an electronic device according to various embodiments.
도 3은 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 동작을 설명하기 위한 도면이다.FIG. 3 is a diagram illustrating the operation of an electronic device to perform an application update according to an embodiment.
도 4는 다양한 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 동작을 설명하기 위한 흐름도이다.FIG. 4 is a flowchart illustrating the operation of an electronic device to perform an application update according to various embodiments.
도 5는 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 기능 모듈들과 서버 간의 신호 처리 흐름도이다.Figure 5 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to an embodiment.
도 6은 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 동작을 설명하기 위한 도면이다.FIG. 6 is a diagram illustrating the operation of an electronic device to perform an application update according to an embodiment.
도 7은 일 실시예에 따르면 업데이트 앱스토어 변경을 위한 명세 파일의 일 예를 나타낸다. Figure 7 shows an example of a specification file for update app store changes, according to one embodiment.
도 8은 다른 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 기능 모듈들과 서버 간의 신호 처리 흐름도이다.Figure 8 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to another embodiment.
도 9는 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 동작을 설명하기 위한 도면이다.FIG. 9 is a diagram illustrating an operation of an electronic device to perform an application update according to an embodiment.
도 10은 다른 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치의 기능 모듈들과 서버 간의 신호 처리 흐름도이다.Figure 10 is a signal processing flowchart between functional modules of an electronic device and a server for performing an application update according to another embodiment.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., 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. According to one embodiment, 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, and 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 may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or non-volatile memory 134.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.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. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 can 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. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. 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 (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 광학 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, 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, an optical sensor, It may include a temperature sensor, humidity sensor, or light sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, 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).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., 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 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 to communicate within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be confirmed or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for the communication method used in the communication network, such as the first network 198 or the second network 199, is connected to the plurality of antennas by, for example, the communication module 190. can be selected Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. . According to one embodiment, 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 of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, 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 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, 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 (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology. .
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다. The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one element from another, and may be used to distinguish such elements in other respects, such as importance or order) is not limited. One (e.g. first) component is said to be "coupled" or "connected" to another (e.g. second) component, with or without the terms "functionally" or "communicatively". When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-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 (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
도 2는 다양한 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(200)(예: 도 1의 전자 장치(101))를 나타내는 블록도 이다. FIG. 2 is a block diagram illustrating an electronic device 200 (eg, the electronic device 101 of FIG. 1 ) for performing an application update according to various embodiments.
도 2를 참조하면, 전자 장치(200)는 통신 모듈(210)(예: 도 1의 통신 모듈(190)), 프로세서(220) (예: 도 1의 프로세서(120)), 및 메모리(230) (예: 도 1의 메모리(130))를 포함할 수 있다. 도 2에 도시된 구성 요소들은 일 예에 불과하며 다양한 실시예에 따라 그 일부가 생략 또는 치환되거나 하나의 모듈로서 통합될 수 있다. 도 2에 도시된 구성 요소들 중 도 1을 참조하여 설명한 구성 요소들에 대한 설명과 중복되는 설명에 대해서는 여기서는 그 상세한 설명을 생략할 수 있다. Referring to FIG. 2, the electronic device 200 includes a communication module 210 (e.g., the communication module 190 of FIG. 1), a processor 220 (e.g., the processor 120 of FIG. 1), and a memory 230. ) (e.g., memory 130 of FIG. 1). The components shown in FIG. 2 are only examples, and some of them may be omitted or replaced, or may be integrated as a single module, depending on various embodiments. Detailed descriptions of the components shown in FIG. 2 that overlap with those described with reference to FIG. 1 may be omitted here.
다양한 실시예에 따르면 통신 모듈(210)은 전자 장치(200)와 복수의 앱스토어들(제1 앱스토어(301) 및 제2 앱스토어(302))(예: 도 1의 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. According to various embodiments, the communication module 210 connects the electronic device 200 and a plurality of app stores (first app store 301 and second app store 302) (e.g., server 108 of FIG. 1). It can support the establishment of a direct (e.g. wired) or wireless communication channel between devices, and the performance of communication through the established communication channel.
일 실시예에 따르면, 통신 모듈(210)은 무선 통신 모듈(예: 도 1의 무선 통신모듈(194))을 포함할 수 있으며 네트워크(예: 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크))를 통하여 외부의 앱스토어들과 통신하여 어플리케이션 업데이트를 위한 각종 신호 및/또는 데이터를 송수신할 수 있다. According to one embodiment, the communication module 210 may include a wireless communication module (e.g., the wireless communication module 194 of FIG. 1) and a network (e.g., a second network 199 (e.g., a legacy cellular network, Various signals and/or data for application updates can be transmitted and received by communicating with external app stores through a 5G network, a next-generation communication network, the Internet, or a long-distance communication network such as a computer network (e.g. LAN or WAN). there is.
다양한 실시예에 따르면 메모리(230)는 전자 장치(200)의 어플리케이션을 업데이트 하는 것과 관련된 기능을 실행(또는 처리)하는 기능 모듈들을 포함할 수 있다. According to various embodiments, the memory 230 may include function modules that execute (or process) functions related to updating an application of the electronic device 200.
다양한 실시 예들에서, 기능 모듈들은 프로세싱 회로(processing circuitry)를 포함하는 적어도 하나의 프로세서(220)에 하드웨어 모듈(hardware module)로 포함되거나, 또는 소프트웨어 모듈(software module)로 포함될 수 있다. 도 2에 도시된 실시예에 따른 기능 모듈들은 소프트웨어(예: 도 1의 프로그램(140))로서 메모리(230)에 명령어(또는 인스트럭션(instruction))들의 형태로 저장되는 경우를 예를 들어 도시한 것으로서, 이들 명령어들은 적어도 하나의 프로세서(220)에 의해 로딩되어 기능 모듈의 동작들이 실행될 수 있다. In various embodiments, functional modules may be included as hardware modules or software modules in at least one processor 220 including processing circuitry. The functional modules according to the embodiment shown in FIG. 2 are software (e.g., program 140 in FIG. 1) and are stored in the form of instructions (or instructions) in the memory 230. As such, these instructions may be loaded by at least one processor 220 to execute operations of the functional module.
다양한 실시예는 이에 한정되지 않으며, 어플리케이션을 업데이트 하는 것과 관련된 기능 모듈들은 프로세서(220)의 일부로서 구동되거나, 및/또는 프로세서(220)와 독립적으로 운영되는 별도의 하드웨어 구성으로 구현될 수 있다. Various embodiments are not limited to this, and functional modules related to updating an application may be implemented as a separate hardware configuration that runs as part of the processor 220 and/or operates independently of the processor 220.
도 2를 참조하면, 메모리(230)에 포함된 기능 모듈들은 스토어 매니저(store manager)(231), 스토어 DB(store database)(232), 패키지 파서(package parser)(233), 패키지 매니저(package manager)(234), 세팅 DB(setting database)(235) 및/또는 스토어앱들(236)을 포함할 수 있다. 상술한 기능 모듈들은 그 일부가 생략 또는 치환되거나 적어도 하나의 다른 모듈과 통합될 수 있다. 셋팅 DB(235)와 스토어 DB(232)는 이하 분리된 DB로 기재하나, 실시예들은 이에 한정되지 않으며 구현에 따라 물리적으로 동일한 DB를 사용할 수 있다. Referring to FIG. 2, the functional modules included in the memory 230 include a store manager 231, a store database 232, a package parser 233, and a package manager. manager) (234), a setting database (235), and/or store apps (236). Parts of the above-described functional modules may be omitted or replaced, or may be integrated with at least one other module. The setting DB 235 and the store DB 232 are described below as separate DBs, but embodiments are not limited thereto and may use the same physically DB depending on implementation.
일 실시예에 따르면 개발자의 어플리케이션들을 배포하기 위한 제1 앱스토어(301) 또는 제2 앱스토어(302)와 같은 서버와 전자 장치(200)에 설치된 스토어앱들(236)과 같은 클라이언트 구조로 운영될 수 있다. According to one embodiment, it operates with a server structure such as the first app store 301 or the second app store 302 for distributing the developer's applications and a client structure such as the store apps 236 installed on the electronic device 200. It can be.
일 실시예에 따르면 스토어앱들(236)은, 통신 모듈(210)을 통해 제1 앱스토어(301) 또는 제2 앱스토어(302)로부터 어플리케이션 설치 파일 또는 어플리케이션 패키지(예: *.apk, Android package kit 파일)를 수신(또는 다운로드)할 수 있다. According to one embodiment, the store apps 236 receive an application installation file or application package (e.g. *.apk, Android) from the first app store 301 or the second app store 302 through the communication module 210. package kit file) can be received (or downloaded).
일 실시예에 따르면, 어플리케이션(예: 안드로이드 어플리케이션)은 특정 프로그래밍 언어(예: 자바 언어)로 개발될 수 있으며, 어플리케이션 설치 파일 또는 어플리케이션 패키지는 어플리케이션을 설치하거나 업데이트하는데 필요한 파일로서, 코드 (classes.dex), 리소스(library 및 resource) (예: 자바 소스코드, 레이아웃 xml 파일, 이미지 파일, 오디오 파일, 애니메이션, 메뉴, 스타일, 및/또는 컬러) 및/또는 인증을 위한 서명키를 포함하며, zip archive 형식으로 압축되어 어플리케이션 패키지 파일(예: 확장자 “apk” 파일)로 생성될 수 있다. 예를 들면, 하나의 apk 파일이 하나의 어플리케이션(또는 앱)을 나타내며, 전자 장치(200)에 설치되는 파일일 수 있다. According to one embodiment, an application (e.g., Android application) may be developed in a specific programming language (e.g., Java language), and an application installation file or application package is a file required to install or update the application, and includes code (classes. dex), resources (e.g. Java source code, layout xml files, image files, audio files, animations, menus, styles, and/or colors) and/or signature keys for authentication, and zip. It can be compressed in archive format and created as an application package file (e.g., “apk” extension file). For example, one apk file represents one application (or app) and may be a file installed on the electronic device 200.
일 실시예에 따르면, 패키지 매니저(234)는 어플리케이션 설치, 삭제 및/업데이트를 진행할 수 있다. According to one embodiment, the package manager 234 can install, delete, and/or update applications.
일 실시예에 따라, 패키지 매니저(234)는 어플리케이션 설치 파일이 전자 장치(200)에 다운로드되면, 어플리케이션 설치 동작을 수행할 수 있다. 패키지 매니저(234)는 어플리케이션의 설치가 완료되면 해당 어플리케이션에 대한 정보를 셋팅 DB(235)에 저장할 수 있다.According to one embodiment, the package manager 234 may perform an application installation operation when an application installation file is downloaded to the electronic device 200. When installation of an application is completed, the package manager 234 can store information about the application in the settings DB 235.
일 실시예에 따르면 셋팅 DB(235)는 전자 장치(200) 내에 설치된 어플리케이션의 정보를 저장할 수 있다. 셋팅 DB(235)에 저장되는 어플리케이션 정보는 예를 들면 어플리케이션의 패키지 명칭, 인증서 정보, 어플리케이션을 설치한 주체(앱스토어) 정보를 포함할 수 있다. According to one embodiment, the settings DB 235 may store information about applications installed in the electronic device 200. The application information stored in the settings DB 235 may include, for example, the package name of the application, certificate information, and information on the entity that installed the application (app store).
일 실시예에 따라, 패키지 매니저(234)는 어플리케이션 업데이트를 위해 어플리케이션 패키지(예: 업데이트될 대상 어플리케이션에 관련된 업데이트 파일)가 전자 장치(200)로 수신되면, 수신된 어플리케이션 패키지(예: 업데이트될 대상 어플리케이션에 관련된 업데이트 파일)의 유효성 체크 및 검증(verificatioin)을 수행할 수 있다. According to one embodiment, when an application package (e.g., an update file related to a target application to be updated) is received by the electronic device 200 for an application update, the package manager 234 stores the received application package (e.g., an update file related to the target application to be updated). Validity check and verification of update files related to the application can be performed.
일 실시예에 따르면, 패키지 매니저(234)는 어플리케이션에 대한 검증이 완료되면, 패키지 파서(233)를 통해 업데이트할 어플리케이션과 관련된 어플리케이션 패키지(예: 다운로드된 어플리케이션 패키지)로부터 실행 파일(예: dex 정보)을 파싱하여 컴파일에 사용할 새로운 프로파일을 생성할 수 있다. 일 실시예에 따라, 패키지 매니저(234)는, 새로운 프로파일에 기반하여 컴파일을 수행하여 *.oat 파일(또는 네이티브 파일)과 *.art(또는 초기화 이미지)와 같은 파일들을 생성하고 이에 기반하여 어플리케이션의 데이터 디렉토리를 생성할 수 있다. 일 실시예에 따르면, 패키지 매니저(234)는 어플리케이션 설치가 완료되면, 이전 어플리케이션 설치 파일(예: .apk 파일)을 삭제할 수 있다. According to one embodiment, when verification of the application is completed, the package manager 234 extracts an executable file (e.g., dex information) from an application package (e.g., a downloaded application package) related to the application to be updated through the package parser 233. ) can be parsed to create a new profile to use for compilation. According to one embodiment, the package manager 234 performs compilation based on the new profile to generate files such as *.oat files (or native files) and *.art (or initialization images) and builds the application based on these. A data directory can be created. According to one embodiment, when the application installation is completed, the package manager 234 may delete the previous application installation file (eg, .apk file).
일 실시예에 따르면 특정 앱스토어를 이용하여 전자 장치(200)에 설치된 어플리케이션에 대한 자동 업데이트의 진행은 해당 특정 앱스토어가 주체가 되며 이러한 어플리케이션 업데이트를 수행하는 앱스토어를 해당 어플리케이션의 출처라고 할 수 있다. 어플리케이션에 대한 출처 정보는 해당 어플리케이션이 전자 장치(200)에 설치될 때 설정되며, 해당 어플리케이션의 설치를 진행한 앱스토어가 해당 어플리케이션에 대한 업데이트를 진행하는 앱스토어, 즉 해당 어플리케이션의 출처가 될 수 있다. 예를 들면 특정 어플리케이션이 제1 앱스토어(301)를 이용하여 설치된 경우 제1 앱스토어(301)는 특정 어플리케이션의 출처가 될 수 있다. According to one embodiment, the process of automatically updating an application installed on the electronic device 200 using a specific app store is carried out by the specific app store, and the app store that performs such application updating can be said to be the source of the application. there is. The source information for the application is set when the application is installed on the electronic device 200, and the app store that installed the application can be the app store that updates the application, that is, the source of the application. there is. For example, when a specific application is installed using the first app store 301, the first app store 301 may be the source of the specific application.
일 실시예에 따라, 스토어 매니저(231)는, 전자 장치(200) 내에 설치된 어플리케이션에 대한 업데이트를 전반적으로 제어할 수 있다. According to one embodiment, the store manager 231 may generally control updates to applications installed in the electronic device 200.
일 실시예에 따르면 스토어 매니저(231)는 전자 장치(200)에 설치된 어플리케이션에 대한 출처 정보가 변경되는 다양한 이벤트를 감지할 수 있다. According to one embodiment, the store manager 231 may detect various events in which source information for applications installed on the electronic device 200 changes.
일 실시예에 따르면, 스토어 매니저(231)는 스토어앱들(236)을 통해 출처 변경 대상 앱스토어(예: 제2 앱스토어(302))로부터 출처를 변경하고자 하는 어플리케이션의 출처 변경 정보를 수신함으로써 출처 정보 변경 이벤트를 감지할 수 있다.According to one embodiment, the store manager 231 receives source change information of an application for which the source is to be changed from the app store subject to source change (e.g., the second app store 302) through the store apps 236. Source information change events can be detected.
일 실시예에 따르면, 스토어 매니저(231)는 특정 어플리케이션의 현재 출처인 앱스토어(예: 제1 앱스토어(301))를 통해 수신한 APK 설치 과정 중 패키지 파서(233)에 의해 파싱된 APK 내부에 포함된 개발 명세 파일(e.g., Android Manifest)을 통해 출처 변경 정보를 수신함으로써 출처 변경 이벤트를 감지할 수 있다. According to one embodiment, the store manager 231 stores the inside of the APK parsed by the package parser 233 during the installation process of the APK received through the app store (e.g., the first app store 301), which is the current source of the specific application. Source change events can be detected by receiving source change information through the development specification file (e.g., Android Manifest) included in the.
일 실시예에 따르면, 스토어 매니저(231)는 다양한 이벤트 발생에 따라 전자 장치(200) 내에 설치된 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 상황 발생을 감지하면, 이에 기초하여 변경된 앱스토어에 의해 어플리케이션의 업데이트가 수행되도록 할 수 있다. According to one embodiment, when the store manager 231 detects the occurrence of a change in the source of the app store that updates the application installed in the electronic device 200 according to the occurrence of various events, the store manager 231 stores the application by the app store changed based on this. update can be performed.
일 실시예에 따르면, 스토어 매니저(231)는 업데이트 수행 앱스토어 출처 변경 상황 발생 시, 스토어앱들(236)에 API를 제공하여 전자 장치(200) 내에 설치된 특정 어플리케이션이 출처 변경 대상임을 알릴 수 있다. According to one embodiment, when an update performance app store source change situation occurs, the store manager 231 may provide an API to the store apps 236 to inform them that a specific application installed in the electronic device 200 is subject to a source change. .
일 실시예에 따르면, 스토어 매니저(231)는 전자 장치(200)에 설치된 특정 어플리케이션에 대한 앱스토어 변경 상황 발생시, 특정 어플리케이션에 대한 정보와 함께 앱스토어 변경을 알리는 앱스토어 변경 정보를 스토어 DB(232)에 저장할 수 있다. 스토어앱들(236)은 스토어 DB(232)에 저장된 정보를 통해 출처 변경 대상 어플리케이션을 확인할 수 있다. According to one embodiment, when an app store change occurs for a specific application installed on the electronic device 200, the store manager 231 sends app store change information notifying the app store change along with information about the specific application to the store DB 232. ) can be saved in . Store apps 236 can check the application subject to source change through information stored in the store DB 232.
일 실시예에 따르면 스토어 DB(232)는 출처 변경 대상 어플리케이션의 패키지 명칭, 출처 변경 대상 앱스토어 정보, 버전 정보 및/또는 인증서 정보를 저장할 수 있다. 스토어앱들(236)은 스토어 DB(232)에 저장된 정보에 기초하여 출처 변경 대상 어플리케이션에 대한 어플리케이션 패키지를 출처 변경 대상 앱스토어를 통해 수신할 수 있다. 예를 들면 스토어앱들(236)은 스토어 DB(232)에 저장된 패키지 명칭 및/또는 인증서 정보에 기초하여 출처 변경 대상 어플리케이션 및/또는 출처 변경 대상 앱스토어 명칭을 확인할 수 있다. 예를 들면 스토어앱들(236)은 스토어 DB(232)에 저장된 버전 정보와 출처 변경 대상 어플리케이션의 실제 버전 정보를 비교하여, 출처 변경 대상 어플리케이션의 저장된 버전이 현재 설치된 어플리케이션의 버전 이후 버전인 경우 출처 변경을 진행하도록 할 수 있다. According to one embodiment, the store DB 232 may store the package name, app store information, version information, and/or certificate information of the application subject to source change. Store apps 236 may receive an application package for an application subject to change of source through the app store subject to change of source based on information stored in the store DB 232. For example, the store apps 236 may check the application to be changed in origin and/or the app store name to be changed in source based on the package name and/or certificate information stored in the store DB 232. For example, the store apps 236 compare the version information stored in the store DB 232 with the actual version information of the application to change the source, and if the saved version of the application to change the source is a version later than the version of the currently installed application, the source is changed. You can proceed with the change.
다음의 표 1은 스토어 DB(232)에 저장되는 출처 변경 정보의 일 예를 나타낼 수 있다. Table 1 below may show an example of source change information stored in the store DB 232.
출처 변경 대상
(패키지 명칭)
Source Change To
(package name)
출처 변경 가능 버전Source can be changed version 인증서
(인증서 고유값)
certification
(certificate unique value)
com.android.samsungpaycom.android.samsungpay 1.2.31.2.3 3b16c6270c973e60d6add360009f049b4f7ddbadf7a60c7f120a906b46ad1cfe3b16c6270c973e60d6add360009f049b4f7ddbadf7a60c7f120a906b46ad1cfe
com.android.sasmungpasscom.android.sasmungpass 12.2412.24 ea37a1c4d03dcb33abdae9f8097
30573c65195a0cd49c9b1e8e2715448adb802
ea37a1c4d03dcb33abdae9f8097
30573c65195a0cd49c9b1e8e2715448adb802
상기 예에서, 출처 변경 대상 패키지 명칭은 출처 변경 대상 어플리케이션 정보와 출처 변경 대상 앱스토어 정보를 포함할 수 있다. 예를 들면 출처 변경 대상 패키지 명칭은 출처 변경 대상 앱스토어에서 사용하는 출처 변경 대상 어플리케이션 명칭을 나타낼 수 있다. 일 실시예에 따르면, 스토어앱들(236)은 스토어 매니저(231)를 통해 전자 장치(200)에 설치된 특정 어플리케이션이 출처 변경 대상임을 확인하고, 출처 변경 대상 앱스토어(예: 제2 앱스토어(302))에 출처 변경 대상 어플리케이션의 상위 버전이 존재하는지 확인하고, 상위 버전이 존재하는 경우 스토어 매니저(231)에게 상위 버전 어플리케이션이 존재함을 알릴 수 있다. 일 실시예에 따르면 스토어 매니저(231)는 푸쉬 알림 또는 팝업 알림과 같은 다양한 알림(notification)을 통해 사용자 동의를 유도하고, 사용자 동의 시, 패키지 매니저(234)를 통해 해당 어플리케이션의 출처 변경을 진행할 수 있다. In the above example, the package name subject to source change may include information on the application subject to source change and app store information subject to source change. For example, the package name subject to source change may indicate the name of the application subject to source change used in the app store. According to one embodiment, the store apps 236 confirm through the store manager 231 that a specific application installed on the electronic device 200 is subject to source change, and select the source change target app store (e.g., the second app store ( 302)), it can be checked whether a higher version of the application subject to source change exists, and if a higher version exists, the store manager 231 can be notified that the higher version application exists. According to one embodiment, the store manager 231 induces user consent through various notifications such as push notifications or pop-up notifications, and upon user consent, changes the source of the application through the package manager 234. there is.
일 실시예에 따르면 패키지 매니저(234)는 스토어앱들(236)을 이용하여 변경된 출처인 앱스토어(예: 제2 앱스토어(302))로부터 어플리케이션 패키지를 수신하도록 하고, 수신된 어플리케이션 패키지를 패키지 파서(233)를 통해 파싱하여 업데이트를 수행할 수있다. According to one embodiment, the package manager 234 uses the store apps 236 to receive an application package from the changed source, the app store (e.g., the second app store 302), and stores the received application package as a package. The update can be performed by parsing through the parser 233.
일 실시예에 따르면 패키지 매니저(234)는 앱스토어 출처 변경에 따른 어플리케이션 업데이트가 완료되면, 업데이트된 어플리케이션에 대한 변경된 앱스토어에 대한 정보로 셋팅 DB(235)를 업데이트할 수 있다. According to one embodiment, when the application update according to the change in the app store source is completed, the package manager 234 may update the setting DB 235 with information about the changed app store for the updated application.
일 실시예에 따르면, 어플리케이션에 대한 앱스토어 출처 변경에 따른 업데이트가 완료되면, 스토어 매니저(231)는 업데이트된 어플리케이션에 대한 정보와 함께 앱스토어 출처 변경을 알리는 앱스토어 출처 변경 정보를 스토어 DB(232)로부터 삭제할 수 있다. According to one embodiment, when the update due to the change in the App Store source for the application is completed, the store manager 231 sends the app store source change information notifying the change in the App Store source along with information about the updated application to the store DB 232. ) can be deleted from.
도 3은 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 동작을 설명하기 위한 도면이다.FIG. 3 is a diagram illustrating the operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
일 실시예에 따르면 전자 장치(200)에 설치된 제1 어플리케이션(예: 삼성 페이)은, 제1 앱스토어(301)로부터 제1 스토어앱(201)을 통해 수신된 설치 파일에 의해 설치된 어플리케이션일 수 있다. According to one embodiment, the first application (e.g., Samsung Pay) installed on the electronic device 200 may be an application installed by an installation file received from the first app store 301 through the first store app 201. there is.
일 실시예에 따르면 전자 장치(200)에 설치된 제2 어플리케이션(예: 삼성 노트)은, 제2 앱스토어(302)로부터 제2 스토어앱(202)을 통해 수신된 설치 파일에 의해 설치된 어플리케이션일 수 있다.According to one embodiment, the second application (e.g., Samsung Note) installed on the electronic device 200 may be an application installed by an installation file received from the second app store 302 through the second store app 202. there is.
일 실시예에 따르면, 셋팅 DB(예: 도 2의 셋팅 DB(235)에는 제1 어플리케이션과 제2 어플리케이션의 출처 정보가 저장될 수 있다. 예를 들어 제1 어플리케션의 출처 정보는, 제1 어플리케이션의 설치 주체인 제1 앱스토어(301)를 포함할 수 있다. 예를 들어 제2 어플리케이션의 출처 정보는, 제2 어플리케이션의 설치 주체인 제2 앱스토어(302)를 포함할 수 있다. According to one embodiment, source information of the first application and the second application may be stored in the settings DB (e.g., the settings DB 235 of FIG. 2). For example, the source information of the first application may be stored in the first application. It may include the first app store 301, which is the installer of the application. For example, the source information of the second application may include the second app store 302, which is the installer of the second application.
일 실시예에 따르면 전자 장치(200)의 스토어 매니저(예: 도 2의 스토어 매니저(231))는 전자 장치(200)에 설치된 어플리케이션에 대한 출처 정보가 변경되는 다양한 이벤트를 감지할 수 있다. According to one embodiment, the store manager of the electronic device 200 (e.g., the store manager 231 in FIG. 2) may detect various events in which source information about an application installed on the electronic device 200 changes.
일 실시예에 따르면, 스토어 매니저(231)는 제2 스토어앱(202)(예: 도 2의 스토어앱들(236) 중 하나)을 통해 출처 변경 대상 앱스토어(예: 제2 앱스토어(302))로부터 출처를 변경하고자 하는 어플리케이션의 출처 변경 정보를 수신함으로써 출처 정보 변경 이벤트를 감지할 수 있다.According to one embodiment, the store manager 231 controls the source change target app store (e.g., the second app store 302) through the second store app 202 (e.g., one of the store apps 236 in FIG. 2). A source information change event can be detected by receiving source change information of an application that wants to change the source from )).
일 실시예에 따르면, 스토어 매니저(231)는 특정 어플리케이션의 현재 출처인 앱스토어(예: 제1 앱스토어(301))를 통해 수신한 APK 설치 과정 중 패키지 파서(233)에 의해 파싱된 APK 내부에 포함된 개발 명세 파일(e.g., Android Manifest)을 통해 출처 변경 정보를 획득함으로써 출처 변경 이벤트를 감지할 수 있다. According to one embodiment, the store manager 231 stores the inside of the APK parsed by the package parser 233 during the installation process of the APK received through the app store (e.g., the first app store 301), which is the current source of the specific application. Source change events can be detected by obtaining source change information through the development specification file (e.g., Android Manifest) included in the.
일 실시예에 따르면, 스토어 매니저(231)는 전자 장치(200)에 설치된 제1 어플리케이션(예: 삼성 페이)에 대한 출처 앱스토어 변경 이벤트 발생시, 제1 어플리케이션에 대한 정보와 함께 앱스토어 변경을 알리는 앱스토어 변경 정보를 스토어 DB(예: 도 2의 스토어 DB(232))에 저장할 수 있다. According to one embodiment, when a source app store change event occurs for the first application (e.g., Samsung Pay) installed on the electronic device 200, the store manager 231 notifies the app store change along with information about the first application. App Store change information can be stored in the store DB (e.g., the store DB 232 in FIG. 2).
일 실시예에 따르면 스토어 DB(232)는 출처 변경 대상 어플리케이션의 패키지 명칭, 출처 변경 대상 앱스토어 정보, 버전 정보 및/또는 인증서 정보를 저장할 수 있다. 예를 들면 스토어 DB(232)에 저장되는 앱스토어 변경 정보는 출처 변경 대상 어플리케이션인 제1 어플리케이션에 대해 제2 앱스토어(302)의 명칭을 포함할 수 있다.According to one embodiment, the store DB 232 may store the package name, app store information, version information, and/or certificate information of the application subject to source change. For example, the app store change information stored in the store DB 232 may include the name of the second app store 302 for the first application, which is the application subject to source change.
일 실시예에 따르면 제1 스토어앱(201) 및 제2 스토어앱(202)은 스토어 DB(232)를 주기적으로 확인하고 저장된 정보를 통해 출처 변경 대상 어플리케이션을 확인할 수 있다. According to one embodiment, the first store app 201 and the second store app 202 can periodically check the store DB 232 and check the application subject to source change through stored information.
일 실시예에 따르면 제2 스토어앱(202)은 스토어 DB(232)에 저장된 패키지 명칭 및/또는 인증서 정보에 기초하여 출처 변경 대상 어플리케이션 및/또는 출처 변경 대상 앱스토어 명칭을 확인할 수 있다. 예를 들면 제2 스토어앱(202)은 스토어 DB(232)에 저장된 정보에 기초하여 제1 어플리케이션(예: 삼성 페이)에 대한 앱스토어 출처가 자신으로 변경됨을 확인할 수 있다. According to one embodiment, the second store app 202 may check the name of the application to be changed and/or the app store name to be changed based on the package name and/or certificate information stored in the store DB 232. For example, the second store app 202 can confirm that the App Store source for the first application (eg, Samsung Pay) is changed to itself based on information stored in the store DB 232.
일 실시예에 따르면 제2 스토어앱은 제1 어플리케이션의 앱스토어 출처가 자신으로 변경됨을 확인하면, 제1 어플리케이션의 현재 버전을 확인하고, 제2 앱스토어(301)을 통해 제1 어플리케이션의 상위 버전이 존재하는지 확인할 수 있다. According to one embodiment, when the second store app confirms that the App Store source of the first application is changed to itself, it checks the current version of the first application and downloads the higher version of the first application through the second app store 301. You can check whether this exists.
일 실시예에 따르면, 제2 스토어앱(202)은 제2 앱스토어(302)에 제1 어플리케이션의 상위 버전이 존재하면, 스토어 매니저(231)에게 상위 버전 어플리케이션이 존재함을 알릴 수 있다. According to one embodiment, if a higher version of the first application exists in the second app store 302, the second store app 202 may notify the store manager 231 that the higher version application exists.
일 실시예에 따르면 스토어 매니저(231)는 푸쉬 알림 또는 팝업 알림과 같은 다양한 알림(notification)을 통해 사용자 동의를 유도하고, 사용자 동의 시, 패키지 매니저(234)를 통해 제1 어플리케이션의 출처 변경을 통한 업데이트를 수행하도록 할 수 있다. According to one embodiment, the store manager 231 induces user consent through various notifications such as push notifications or pop-up notifications, and upon user consent, changes the source of the first application through the package manager 234. You can perform an update.
일 실시예에 따르면 패키지 매니저(234)는 제2 스토어앱(202)을 통해 어플리케이션 패키지가 수신되도록 하고, 수신된 어플리케이션 패키지에 기초하여 업데이트를 수행할 수 있다. According to one embodiment, the package manager 234 may receive an application package through the second store app 202 and perform an update based on the received application package.
일 실시예에 따르면 패키지 매니저(234)는 제1 어플리케이션의 업데이트가 완료되면, 제1 어플리케이션에 대한 변경된 출처인 제2 앱스토어에 대한 정보로 셋팅 DB(235)를 업데이트할 수 있다. According to one embodiment, when the update of the first application is completed, the package manager 234 may update the setting DB 235 with information about the second app store, which is a changed source for the first application.
일 실시예에 따르면, 어플리케이션에 대한 앱스토어 출처 변경에 따른 업데이트가 완료되면, 스토어 매니저(231)는 업데이트된 어플리케이션에 대한 정보와 함께 앱스토어 출처 변경을 알리는 앱스토어 출처 변경 정보를 스토어 DB(232)로부터 삭제할 수 있다. According to one embodiment, when the update due to the change in the App Store source for the application is completed, the store manager 231 sends the app store source change information notifying the change in the App Store source along with information about the updated application to the store DB 232. ) can be deleted from.
다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(200))는, 통신 모듈(예: 도 2의 통신 모듈(210)), 메모리(예: 도 2의 메모리(230)), 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서(예: 도 2의 프로세서(220))를 포함하고, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 전자 장치에 설치된 특정 어플리케이션의 어플리케이션 정보에 기초하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 정보를 수신하고, 상기 특정 어플리케이션에 대한 상기 앱스토어 출처 변경 정보에 기초하여 확인되는 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어에, 상기 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인하고, 상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하여 상기 특정 어플리케이션에 대한 업데이트를 수행하도록 하는 인스트럭션들(instructions)을 저장할 수 있다. According to various embodiments, an electronic device (e.g., the electronic device 200 of FIG. 2) includes a communication module (e.g., the communication module 210 of FIG. 2), a memory (e.g., the memory 230 of FIG. 2), and a processor (e.g., processor 220 of FIG. 2) operatively connected to the communication module and the memory, wherein the memory, when executed, allows the processor to access application information of a specific application installed on the electronic device. Based on this, receive app store source change information that performs an update for the specific application, and send an update to the app store that is confirmed based on the app store source change information for the specific application. It is possible to check whether a higher version for a specific application exists, receive an application package of the higher version from the confirmed app store, and store instructions for updating the specific application.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 특정 어플리케이션의 상기 확인된 앱스토어를 통해 상기 앱스토어 출처 변경 정보를 수신하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory may store instructions that, when executed, cause the processor to receive the app store source change information through the confirmed app store of the specific application.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 확인된 앱스토어로부터 수신되는 파일로부터 상기 앱스토어 출처 변경 정보를 획득하고, 스토어 매니저를 통해 상기 앱스토어 출처 변경 정보를 스토어 데이터베이스에 저장하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, when the memory is executed, the processor obtains the App Store source change information from a file received from the confirmed App Store and stores the App Store source change information in the store database through the store manager. You can save instructions to save in .
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 스토어 매니저를 통해 상기 특정 어플리케이션의 현재 출처를 확인하고, 상기 현재 출처가 상기 앱스토어 출처 변경 정보에 기초하여 확인된 상기 앱스토어와 상이한 경우에 상기 앱스토어 출처 변경 정보를 상기 스토어 데이터베이스에 저장하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, when the memory is executed, the processor verifies the current source of the specific application through the store manager, and the App Store where the current source is confirmed based on the App Store source change information. In different cases, instructions for storing the app store source change information in the store database may be stored.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 확인된 앱스토어에 대응하는 스토어 앱을 통해, 상기 스토어 데이터 베이스에 저장된 상기 앱스토어 출처 변경 정보를 확인하고, 상기 확인된 앱스토어로부터 상기 특정 어플리케이션의 어플리케이션 패키지를 수신하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, when the memory is executed, the processor checks the app store source change information stored in the store database through a store app corresponding to the confirmed app store, and Instructions for receiving the application package of the specific application from the store may be stored.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 특정 어플리케이션의 업데이트가 완료되면, 상기 스토어 매니저를 통해 상기 스토어 데이터베이스로부터 상기 앱스토어 출처 변경 정보를 삭제하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory, when executed, may store instructions that cause the processor to delete the App Store source change information from the store database through the store manager when the update of the specific application is completed. .
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 특정 어플리케이션의 현재 출처인 앱스토어를 통해 상기 앱스토어 출처 변경 정보를 수신하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory may store instructions that, when executed, cause the processor to receive the app store source change information through the app store, which is the current source of the specific application.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 현재 출처인 앱스토어로부터 상기 특정 어플리케이션의 다른 어플리케이션 패키지를 수신하고, 상기 다른 어플리케이션 패키지에 포함된 파일로부터 상기 앱스토어 출처 변경 정보를 획득하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, when the memory is executed, the processor receives another application package of the specific application from the App Store, which is the current source, and retrieves the App Store source change information from a file included in the other application package. You can store instructions that allow you to obtain .
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 스토어 매니저를 통해 상기 앱스토어 출처 변경 정보를 스토어 데이터베이스에 저장하도록 하고, 상기 확인된 앱스토어에 대응하는 스토어 앱을 통해 상기 스토어 데이터베이스에 저장된 상기 앱스토어 출처 변경 정보를 확인하고, 상기 앱스토어 출처 변경 정보에 기초하여 상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory, when executed, causes the processor to store the app store source change information in the store database through a store manager, and store the app store source change information in the store database through a store app corresponding to the confirmed app store. The app store source change information stored in can be confirmed, and instructions for receiving the higher version application package from the confirmed app store based on the app store source change information can be stored.
다양한 실시예에 따르면, 상기 메모리는, 실행될 때, 상기 프로세서가, 상기 스토어 매니저를 통해 상기 앱스토어 출처 변경 정보에 기초하여 복수의 스토어앱들이 확인되면, 상기 복수의 스토어앱들 중 우선 순위에 따라 상기 전자 장치에 설치된 스토어앱에 대응하는 앱스토어를 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어로 확인하도록 하는 인스트럭션들을 저장할 수 있다. According to various embodiments, when the memory is executed, when the processor confirms a plurality of store apps based on the app store source change information through the store manager, the memory determines priority among the plurality of store apps. Instructions for confirming the app store corresponding to the store app installed on the electronic device as the app store to perform updates for the specific application may be stored.
다양한 실시예에 따르면, 전자 장치에 설치된 개발자 어플리케이션의 버전이 상기 파일의 상기 어플리케이션 버전 보다 높으면, 상기 프로세서는 상기 어플리케이션을 소스 변경 대상 어플리케이션으로 확인할 수 있다. According to various embodiments, if the version of the developer application installed in the electronic device is higher than the application version of the file, the processor may confirm the application as an application subject to source change.
도 4는 다양한 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 동작을 설명하기 위한 흐름도이다. FIG. 4 is a flowchart illustrating the operation of an electronic device (e.g., the electronic device 200 of FIG. 2 ) to perform an application update according to various embodiments.
일 실시예에 따르면 전자 장치(200)의 프로세서(예: 도 2의 프로세서(220))는, 메모리(예: 도 2의 메모리(230))에 저장된 명령어(또는 인스트럭션(instruction))들을 로딩하여 전자 장치(200)에 설치된 다양한 어플리케이션의 출처를 변경하여 업데이트하기 위한 동작들을 수행하도록 설정될 수 있다. According to one embodiment, the processor of the electronic device 200 (e.g., the processor 220 of FIG. 2) loads instructions (or instructions) stored in a memory (e.g., the memory 230 of FIG. 2) and It may be set to perform operations to change and update the source of various applications installed on the electronic device 200.
일 실시예에 따르면 프로세서(220)는 동작 401에서 전자 장치(200)에 설치된 특정 어플리케이션에 대한 앱스토어 출처 변경 정보를 수신할 수 있다. 예를 들면 프로세서(220)는 특정 어플리케이션의 어플리케이션 정보에 기초하여, 출처 변경에 따라 업데이트를 수행할 출처 변경 대상 앱스토어를 통해 특정 어플리케이션에 대한 앱스토어 출처 변경 정보를 수신할 수 있다. 예를 들면 프로세서(220)는 특정 어플리케이션의 어플리케이션 정보에 기초하여, 특정 어플리케이션을 설치 또는 최근 업데이트한 현재 출처 앱스토어를 통해 특정 어플리케이션의 앱스토어 출처 변경 정보를 수신할 수 있다. According to one embodiment, the processor 220 may receive app store source change information for a specific application installed on the electronic device 200 in operation 401. For example, the processor 220 may receive app store source change information for a specific application through the source change target app store that will perform updates according to the source change, based on the application information of the specific application. For example, the processor 220 may receive app store source change information for a specific application through the current source app store where the specific application is installed or recently updated, based on the application information of the specific application.
일 실시예에 따르면, 프로세서(220)는 특정 어플리케이션에 대한 앱스토어 출처 변경 정보에 기초하여, 동작 403에서 특정 어플리케이션에 대한 업데이트 수행 앱스토어를 확인하고, 확인된 앱스토어를 통해 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인할 수 있다. According to one embodiment, the processor 220 checks the app store performing an update for a specific application in operation 403, based on the app store source change information for the specific application, and updates the parent app for the specific application through the confirmed app store. You can check whether the version exists.
일 실시예에 따르면 프로세서(220)는 앱스토어 출처 변경 정보를 통해 특정 어플리케이션의 패키지 명칭, 출처 변경 대상 앱스토어 정보, 버전 정보 및/또는 인증서 정보를 획득할 수 있다. According to one embodiment, the processor 220 may obtain the package name of a specific application, app store information to be changed as a source, version information, and/or certificate information through app store source change information.
일 실시예에 따르면 프로세서(220)는 확인된 앱스토어에 특정 어플리케이션에 대한 상위 버전이 존재하면, 동작 405에서, 확인된 앱스토어를 통해 상기 상위 버전의 어플리케이션 패키지를 수신하여 업데이트를 수행하도록 할 수 있다. According to one embodiment, if a higher version for a specific application exists in the confirmed app store, the processor 220 may perform an update by receiving the higher version application package through the confirmed app store in operation 405. there is.
도 5는 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 기능 모듈들과 서버(예: 도 2의 앱스토어(201 및/또는 202)) 간의 신호 처리 흐름도이다. FIG. 5 illustrates functional modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the app store 201 and/or 202 of FIG. 2) for performing an application update according to an embodiment. This is a signal processing flow chart.
일 실시예에 따르면, 스토어앱(예: 도 3의 제2 스토어 앱(202))은 동작 501에서 셋팅 DB(예:도 2의 셋팅 DB(235)를 통해 제2 스토어 앱(202)에 의해 전자 장치(200)에 설치된 어플리케이션을 확인할 수 있다. According to one embodiment, the store app (e.g., the second store app 202 in FIG. 3) is stored by the second store app 202 through the settings DB (e.g., the settings DB 235 in FIG. 2) in operation 501. You can check the applications installed on the electronic device 200.
일 실시예에 따르면 스토어앱(202)은, 동작 531에서 대상 어플리케이션의 상위 버전이 대응하는 앱스토어(예: 제2 앱스토어(302)) 내에 존재하는지 확인할 수 있다. According to one embodiment, the store app 202 may check whether a higher version of the target application exists in the corresponding app store (eg, the second app store 302) in operation 531.
일 실시예에 따르면 제2 스토어앱(202)은, 대상 어플리케이션의 상위 버전이 존재하면, 제2 앱스토어(302)로부터 상위 버전의 어플리케이션 패키지를 다운로드하고, 동작 505에서 패키지 매니저(234)에 대상 어플리케이션에 대한 업데이트를 요청하여 업데이트를 진행할 수 있다. According to one embodiment, if a higher version of the target application exists, the second store app 202 downloads the higher version application package from the second app store 302 and sends it to the package manager 234 in operation 505. You can update by requesting an update to the application.
한편, 제2 스토어앱(202)은, 동작 507에서 스토어 DB(예: 도 2의 스토어 DB(232))에 저장된 앱스토어 출처 변경 정보를 통해 제2 앱스토어(302)로 출처를 변경하고자 하는 대상 어플리케이션을 확인할 수 있다. Meanwhile, in operation 507, the second store app 202 is configured to change the source to the second app store 302 through the app store source change information stored in the store DB (e.g., the store DB 232 in FIG. 2). You can check the target application.
일 실시예에 따르면 제2 스토어앱(202)은 전자 장치(200)에 대상 어플리케이션이 저장되어 있으면, 동작 509에서 제2 앱스토어(302)에 대상 어플리케이션의 상위 버전이 존재하는지 확인할 수 있다. According to one embodiment, if the target application is stored in the electronic device 200, the second store app 202 may check whether a higher version of the target application exists in the second app store 302 in operation 509.
일 실시예에 따르면 제2 스토어 앱(202)은 전자 장치(200)가 Wifi에 연결되어 있거나 및/또는 전자 장치(200)가 미사용일 가능성이 높은 시간 (예: 자정 이후) 및/또는 충전 중일 때 백그라운드로 업데이트 대상 어플리케이션을 탐색할 수 있도록 구현될 수 있으나, 실시예들은 이에 한정되지 않는다. 예를 들면 제2 스토어앱(202)은 스토어 DB(232)를 확인 하는 동작 507을 주기적으로 수행하고, 이에 따라 제2 앱스토어(302)를 통해 상위 버전 존재를 확인하는 동작 509를 주기적으로 수행하도록 구현될 수 있다. According to one embodiment, the second store app 202 operates when the electronic device 200 is connected to Wifi and/or when the electronic device 200 is likely to be unused (e.g., after midnight) and/or when charging. It may be implemented to search for an update target application in the background, but embodiments are not limited to this. For example, the second store app 202 periodically performs operation 507 to check the store DB 232, and accordingly periodically performs operation 509 to check the existence of a higher version through the second app store 302. It can be implemented to do so.
일 실시예에 따르면, 제2 앱스토어(302)에 대상 어플리케이션의 상위 버전이 존재하면, 제2 스토어앱(202)은 동작 511에서 전자 장치(200)(예: 스토어 매니저(231))에 대상 어플리케이션의 상위 버전 어플리케이션 패키지의 버전 정보를 전달하여 상위 버전이 존재함을 알릴 수 있다. According to one embodiment, if a higher version of the target application exists in the second app store 302, the second store app 202 is applied to the electronic device 200 (e.g., the store manager 231) in operation 511. The existence of a higher version of the application can be announced by transmitting the version information of the application package.
일 실시예에 따르면, 스토어 매니저(231)는 동작 513에서 앱스토어 출처 변경에 대해 사용자의 동의를 요청할 수 있다. 스토어매니저(231)는 예를 들면 제2 앱스토어(302)에 전자 장치(200)에 설치된 대상 어플리케이션의 상위 버전이 존재함을 알리고 업데이트를 유도하는 사용자 알림을 제공할 수 있다. According to one embodiment, the store manager 231 may request the user's consent to change the app store source in operation 513. For example, the store manager 231 may inform the second app store 302 that a higher version of the target application installed on the electronic device 200 exists and provide a user notification encouraging an update.
일 실시예에 따르면, 앱스토어 출처 변경에 대한 사용자 동의가 있으면, 제2 스토어앱(202)은 동작 515에서 대상 어플리케이션의 어플리케이션 패키지를 제2 앱스토어(302)로부터 다운로드 받을 수 있다. According to one embodiment, if there is user consent to change the app store source, the second store app 202 may download the application package of the target application from the second app store 302 in operation 515.
일 실시예에 따르면, 제2 스토어앱(202)은 사용자 동의 요청 이전에 어플리케이션 패키지를 다운로드 받도록 구현될 수 있다. 다만, 이경우에도 다운로드된 어플리케이션 패키지에 따라 어플리케이션 업데이트를 수행하는 시점에는 사용자의 동의가 필요할 수 있다. According to one embodiment, the second store app 202 may be implemented to download an application package before requesting user consent. However, even in this case, the user's consent may be required when performing an application update depending on the downloaded application package.
일 실시예에 따르면, 제2 스토어앱(202)은 다운로드된 어플리케이션 패키지에 기초하여, 동작 517에서 패키지 매니저(234)를 통해 대상 어플리케이션의 업데이트를 진행하고 출처 변경을 진행하도록 할 수 있다. 예를 들면 패키지 매니저(234)는 대상 어플리케이션의 업데이트가 수행되면 셋팅 DB(235)에 저장된 대상 어플리케이션의 출처를 제2 앱스토어(302)로 업데이트하여 출처 변경을 완료할 수 있다. According to one embodiment, based on the downloaded application package, the second store app 202 may update the target application and change the source through the package manager 234 in operation 517. For example, when the target application is updated, the package manager 234 may update the source of the target application stored in the setting DB 235 to the second app store 302 to complete the source change.
도 6은 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 동작을 설명하기 위한 도면이다. FIG. 6 is a diagram illustrating an operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
일 실시예에 따르면 앱스토어 출처 변경 정보는 제1 스토어앱(301) 또는 제2 스토어앱(302)(예: 도 2의 스토어앱들(236))을 이용하여 진행될 수 있다. According to one embodiment, the app store source change information may be processed using the first store app 301 or the second store app 302 (eg, store apps 236 in FIG. 2).
일 실시예에 따르면 앱스토어 출처 변경 정보는 앱스토어(예: 도 2의 제1 앱스토어(301) 또는 제2 앱스토어(302))와 전자 장치(200)의 제2 스토어앱(302)를 통해 진행될 수 있다. According to one embodiment, the app store source change information is an app store (e.g., the first app store 301 or the second app store 302 in FIG. 2) and the second store app 302 of the electronic device 200. It can be done through.
이하, 제1 앱스토어(301)에 의해 설치된 특정 어플리케이션(예: 삼성 페이)에 대해 제2 앱스토어(302)로 출처를 변경하고자 하는 예를 설명한다. Hereinafter, an example of changing the source of a specific application (eg, Samsung Pay) installed by the first app store 301 to the second app store 302 will be described.
일 실시예에 따르면 특정 어플리케이션(예: 삼성 페이)은 제1 앱스토어(301)를 통해 설치되었으며, 셋팅 DB(235)를 참조하면 특정 어플리케이션(예: 삼성 페이)의 출처는 제1 앱스토어(301)로 저장되어 있음을 알 수 있다. According to one embodiment, a specific application (e.g., Samsung Pay) is installed through the first app store 301, and referring to the setting DB 235, the source of the specific application (e.g., Samsung Pay) is the first app store ( 301).
일 실시예에 따르면, 특정 스토어(예: 제2 앱스토어(302))로 출처를 변경하고자 하는 어플리케이션의 정보(예: 앱스토어 변경 정보)는 변경 출처인 특정 앱스토어(예: 제2 앱스토어(302))로부터 대응하는 스토어앱(예: 제2 스토어앱(202))을 통해 전자 장치(200)에 전달될 수 있다. According to one embodiment, information (e.g., app store change information) of an application that wishes to change the source to a specific store (e.g., the second app store 302) is changed to a specific app store (e.g., the second app store) that is the change source. It may be delivered to the electronic device 200 from (302)) through a corresponding store app (e.g., the second store app 202).
일 실시예에 따르면, 스토어앱(예: 제2 스토어앱(202))을 통해 전자 장치(200)에 전달된 특정 어플리케이션에 대한 앱스토어 변경 정보는 스토어 매니저(예: 도 2의 스토어 매니저(231))를 통해 스토어 DB(예: 도 2의 스토어 DB(232))에 저장될 수 있다. According to one embodiment, the app store change information for a specific application delivered to the electronic device 200 through a store app (e.g., the second store app 202) is stored in the store manager (e.g., the store manager 231 of FIG. 2). )) can be stored in a store DB (e.g., store DB 232 in FIG. 2).
일 실시예에 따르면, 특정 어플리케이션의 출처 변경 정보는 예를 들면 출처 변경 의사가 명시된 파일 형태(예: 명세 파일)로 제2 앱스토어(302)로부터 제2 스토어앱(202)을 통해 전자 장치(200)에 제공될 수 있다. According to one embodiment, the source change information of a specific application is, for example, in the form of a file (e.g., specification file) in which the intention to change the source is specified, from the second app store 302 to the electronic device (202) through the second store app 202. 200).
도 7은 일 실시예에 따르면 앱스토어 출처 변경을 위한 명세 파일의 일 예를 나타낸다. Figure 7 shows an example of a specification file for changing the app store source, according to one embodiment.
도 7을 참조하면, 앱스토어 변경 정보를 포함하는 명세 파일은, 적용 범위 (예: 국가/사업자/OS 버전)에 대한 정보를 특정 필드(예: COUNTRY, CARRIERS, VERSION 필드)에 포함할 수 있다. 예를 들어, 개발자가 앱스토어에 업로드하는 명세 파일은 적용 범위 기반으로 분류 및/또는 통합될 수 있으며, 이에 기초하여 앱스토어에서 스토어앱으로 전달될 수 있다. 각 어플리케이션은 개발사 사정에 따라 국가/사업자/OS 버전 별로 기능이 다를 수 있으며, 이경우 적용 범위를 통해 앱스토어에서 전자 장치(200)로 전송되는 데이터 사이즈를 최소화할 수 있다. Referring to Figure 7, the specification file containing App Store change information may include information about the scope of application (e.g. country/operator/OS version) in specific fields (e.g. COUNTRY, CARRIERS, VERSION fields). . For example, a specification file that a developer uploads to the App Store may be classified and/or integrated based on coverage, and may be passed from the App Store to the Store App based on this. Each application may have different functions depending on the country/operator/OS version depending on the circumstances of the developer, and in this case, the size of data transmitted from the App Store to the electronic device 200 can be minimized through the scope of application.
일 실시예에 따르면 명세 파일은 스토어앱의 패키지명(예: SOURCE 필드)을 포함할 수 있다. 일 실시예에 따르면 앱스토어에서는 스토어앱의 패키지명에 기초하여 명세 파일을 저장하고 관리할 수 있다. 일 실시예에 따르면, 스토어 매니저(231)는 전자 장치(200)로 전달된 명세 파일에 대해 스토어앱의 패키지명을 키 값으로 하여 스토어 DB(232)에 등록할 수 있다.According to one embodiment, the specification file may include the package name (e.g., SOURCE field) of the store app. According to one embodiment, the App Store can store and manage specification files based on the package name of the store app. According to one embodiment, the store manager 231 may register the specification file delivered to the electronic device 200 in the store DB 232 using the package name of the store app as a key value.
일 실시예에 따르면 명세 파일은 어플리케이션의 패키지명, 버전, 및/또는 인증서 정보(예: PACKAGE 필드)를 포함할 수 있다. 일 실시예에 따르면 명세 파일은 특정 어플리케이션의 출처를 변경할 목적으로 작성된 파일로서, 전자 장치(200)에서 적용 대상 어플리케이션을 특정하기 위해 개별 어플리케이션의 패키지명, 버전 및/또는 인증서 정보를 사용할 수 있다. 이 중 패키지명은 어플리케이션의 고유 정보이나 사칭이 가능할 수 있어 인증서 정보가 필요할 수 있다. 예를 들어 패키지명이 동일하고, 실제 어플리케이션 패키지 내에 포함된 인증서 정보와 명세 파일의 어플리케이션의 인증서 정보가 동일하면, 동일한 개발자가 만든 어플리케이션으로 판단할 수 있다. 버전 정보는 개발자가 출처 변경을 희망하는 어플리케이션의 버전에 대한 정보로서 전자 장치(200)에 설치된 개발자 어플리케이션이 명세 파일 내 어플리케이션의 버전 보다 클 경우 출처 변경 대상 어플리케이션으로 판단할 수 있다. According to one embodiment, the specification file may include the package name, version, and/or certificate information (eg, PACKAGE field) of the application. According to one embodiment, the specification file is a file created for the purpose of changing the source of a specific application, and the electronic device 200 may use the package name, version, and/or certificate information of the individual application to specify the application to which it is applied. Among these, the package name is the application's unique information, but since it may be impersonated, certificate information may be required. For example, if the package name is the same and the certificate information included in the actual application package is the same as the certificate information of the application in the specification file, it can be determined that the application was created by the same developer. The version information is information about the version of the application for which the developer wishes to change the source. If the developer application installed on the electronic device 200 is larger than the version of the application in the specification file, the application can be determined to be subject to change of source.
일 실시예에 따르면 명세 파일은 포함된 어플리케이션 정보에 대한 디지털 서명(예: SIGNATURE필드)을 포함할 수 있다. 이경우 사용되는 개인 키는 해당 어플리케이션의 생성 시 사용된 개인 키일 수 있다. 명세 파일에 포함된 디지털 서명은 명세 파일에 포함된 패키지명, 버전 및/또는 인증서 정보가 실제 개발자에 의해 작성된 것임을 확정하기 위해 사용될 수 있다. 명세 파일을 기반으로 특정 어플리케이션의 출처 변경 정보를 스토어 DB(232)에 저장하기 전에, 예를 들면 해당 어플리케이션의 어플리케이션 패키지에서 인증서 정보를 추출하여 명세 파일에 포함된 디지털 서명을 인증할 수 있다. 디지털 서명이 정상적으로 인증되면 어플리케이션 패키지를 생성할 때 사용한 개발자의 개인 키가 디지털 서명에 사용된 것을 확정할 수 있어 명세 파일을 신뢰할 수 있다. According to one embodiment, the specification file may include a digital signature (eg, SIGNATURE field) for the included application information. In this case, the private key used may be the private key used when creating the application. A digital signature included in the specification file can be used to confirm that the package name, version, and/or certificate information included in the specification file was created by the actual developer. Before storing the source change information of a specific application in the store DB 232 based on the specification file, for example, certificate information can be extracted from the application package of the relevant application to authenticate the digital signature included in the specification file. If the digital signature is properly authenticated, it can be confirmed that the developer's private key used to create the application package was used for the digital signature, so the specification file can be trusted.
도 7의 명세 파일의 예에서, <CONFIG> 영역은 적용 범위를 지정할 수 있으며, 불필요한 파일 전송을 방지할 수 있다. <CONFIG> 영역 내 <SOURCE>는 대상 어플리케이션의 신규 출처 변경 희망 스토어 어플리케이션의 패키지명을 나타낼 수 있다. <APPLICATION> 영역은 출처 변경 희망 어플리케이션의 정보를 포함할 수 있으며, 예를 들어 다수의 어플리케이션 패키지명을 포함할 수 있다. 다수의 어플리케이션 패키지명이 포함된 경우, 각 어플리케이션의 패키지명에 대해 각각 인증서 정보(예: 인증서 HASH), 어플리케이션 버전, 및/또는 디지털 서명 정보를 포함할 수 있다. 이러한 정보를 이용하여 앱스토어(예: 제2 앱스토어(302)) 및 전자 장치(200)에서 인증 및 무결성 검증을 수행할 수 있다. In the example of the specification file in Figure 7, the <CONFIG> area can specify the scope of application and prevent unnecessary file transfer. <SOURCE> in the <CONFIG> area can indicate the package name of the store application for which you wish to change the new source of the target application. The <APPLICATION> area may include information on applications for which the source is to be changed, and may include, for example, multiple application package names. When multiple application package names are included, certificate information (e.g., certificate HASH), application version, and/or digital signature information may be included for each application's package name. Authentication and integrity verification can be performed in the app store (e.g., the second app store 302) and the electronic device 200 using this information.
도 8은 다른 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 기능 모듈들과 서버(예: 도 2의 앱스토어(302)) 간의 신호 처리 흐름도이다.FIG. 8 is a signal processing flowchart between function modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the app store 302 of FIG. 2) for performing an application update according to another embodiment. am.
일 실시예에 따른 특정 어플리케이션의 앱스토어 출처 변경 정보는 예를 들면 명세 파일 형태로 앱스토어(302)로부터 스토어앱(예: 도 2의 제2 스토어앱(202))를 통해 수신되어, 동작 801에서 전자 장치(200)의 스토어 매니저(예: 도 2의 스토어 매니저(231))에 전달될 수 있다. 이에 따라 스토어 매니저(231)는 일련의 인증 과정을 통해 특정 어플리케이션을 출처 변경 희망 어플리케이션 리스트로서 스토어 DB(232)에 업데이트 할 수 있다. According to one embodiment, the app store source change information of a specific application is received from the app store 302 through the store app (e.g., the second store app 202 in FIG. 2) in the form of a specification file, for example, and is performed in operation 801. It may be transmitted to the store manager of the electronic device 200 (e.g., the store manager 231 in FIG. 2). Accordingly, the store manager 231 can update a specific application in the store DB 232 as a list of applications wishing to change the source through a series of authentication processes.
일 실시예에 따르면, 스토어 매니저(231)는 동작 803에서, 명세 파일에 포함된 패키지명에 기초하여 셋팅 DB(235)를 통해 특정 어플리케이션이 전자 장치(200)에 설치되어 있는지 확인하고 그 출처 정보를 확인할 수 있다. 예를 들면 명세 파일에 포함된 출저 변경 정보와 셋팅 DB(235)에 저장된 출처 정보를 비교하여 특정 어플리케이션에 대한 출처 변경 의사를 확인할 수 있다. According to one embodiment, in operation 803, the store manager 231 checks whether a specific application is installed on the electronic device 200 through the setting DB 235 based on the package name included in the specification file and provides the source information. You can check. For example, the intention to change the source for a specific application can be confirmed by comparing the source change information included in the specification file with the source information stored in the settings DB 235.
일 실시예에 따르면, 스토어 매니저(231)는 특정 어플리케이션의 출처 정보에 기초하여 동작 805에서 스토어 DB(232)에 특정 어플리케이션에 대한 변경 대상 출처가 등록되어 있는지 확인할 수 있다. According to one embodiment, the store manager 231 may check whether a source to be changed for a specific application is registered in the store DB 232 in operation 805 based on the source information of the specific application.
일 실시예에 따르면 특정 어플리케이션에 대한 변경 대상 출처가 등록되어 있는 경우, 스토어 매니저(231)는 동작 807에서, 셋팅 DB(235)에 어플리케이션 설정 파일로부터 패키지명 별로 저장된 인증서 정보를 어플리케이션 패키지의 명세 파일에 포함된 패키지명 별로 기입된 인증서 정보와 비교하여 일치하는지 확인하여 인증 작업을 수행할 수 있다. 패키지명은 개발자에 의해 생성되는 값으로 중복이 발생할 수 있어 예를 들면 인증서 해시(hash)를 비교하여 인증작업을 수행할 수 있다. According to one embodiment, when a change target source for a specific application is registered, in operation 807, the store manager 231 stores the certificate information stored by package name from the application setting file in the setting DB 235 into the specification file of the application package. Authentication can be performed by comparing the certificate information entered for each package name included in to check if it matches. The package name is a value created by the developer and may be duplicated, so for example, authentication can be performed by comparing certificate hashes.
일 실시예에 따르면, 스토어 매니저(231)는 스토어 DB(232)를 참조하여 특정어플리케이션에 대한 출처 변경 정보가 등록되어 있지 않으면, 특정 어플리케이션의 패키지명에 대한 출처 변경 정보를 스토어 DB(232)에 등록할 수 있다. 이 경우, 명세 파일에 포함된 디지털 서명을 기반으로 명세 파일 정보를 인증할 수 있으며, 명세 파일에 포함된 스토어앱의 패키지명을 스토어 DB(232)의 키 값으로 설정하여 등록할 수 있다. According to one embodiment, the store manager 231 refers to the store DB 232 and, if source change information for a specific application is not registered, stores the source change information for the package name of the specific application in the store DB 232. You can register. In this case, the specification file information can be authenticated based on the digital signature included in the specification file, and the package name of the store app included in the specification file can be registered by setting it as the key value of the store DB 232.
일 실시예에 따르면, 스토어 매니저(231)는 대상 어플리케이션 및 출처 변경 이 요구되는지 확인 후, 스토어앱의 명칭을 키 값으로 스토어 DB(232)에 어플리케이션 정보를 등록할 수 있다. 따라서 스토어 앱은 자신의 패키지명을 스토어 DB(232)의 키 값으로 사용하여 변경 희망 어플리케이션의 리스트를 스토어 DB(232)로부터 획득할 수 있다.According to one embodiment, the store manager 231 may register the application information in the store DB 232 using the name of the store app as the key value after confirming whether the target application and source change are required. Therefore, the store app can use its package name as the key value of the store DB 232 to obtain a list of applications that it wishes to change from the store DB 232.
도 9는 일 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 동작을 설명하기 위한 도면이다.FIG. 9 is a diagram illustrating an operation of an electronic device (eg, the electronic device 200 of FIG. 2 ) to perform an application update according to an embodiment.
일실시예에 따르면, 전자 장치(200)는 어플리케이션 패키지에 포함된 명세 파일 (예: android manifest)을 이용하여 어플리케이션 출처 변경 정보를 확인할 수 있다. According to one embodiment, the electronic device 200 may check application source change information using a specification file (eg, android manifest) included in the application package.
일 실시예에 따르면 어플리케이션 패키지에 포함된 개발자의 명세 파일에 어플리케이션에 대한 변경 희망 출처를 출처 변경 정보로 명시할 수 있다. According to one embodiment, the desired source of change for the application may be specified as source change information in the developer's specification file included in the application package.
일 실시예에 따르면 어플리케이션 패키지는 출처 변경 대상 어플리케이션이 전자 장치(200)에 설치 또는 업데이트될 때 전달될 수 있으며, 출처 변경 대상 어플리케이션이 설치 또는 업데이트 완료된 후, 패키지 매니저(예: 도 2의 패키지 매니저(234))를 통해 출처 변경 정보가 스토어 매니저(예: 도 2의 스토어 매니저(231))에 전달되어 스토어 DB(예: 도 2의 스토어 DB(232))가 업데이트되도록 할 수 있다. 패키지 매니저(234)는 어플리케이션 설치 과정에서 어플리케이션 패키지에 포함된 명세 파일을 참조하여 어플리케이션 설치 출처 변경 의사가 확인되면, 전자 장치(200)에 출처 변경 희망 스토어 앱이 존재하는 경우, 출처 변경 정보를 스토어 DB(232)에 등록할 수 있다. According to one embodiment, the application package may be delivered when the application to be changed in origin is installed or updated in the electronic device 200, and after the application to be changed in source is installed or updated, a package manager (e.g., the package manager in FIG. 2) Through (234)), the source change information can be transmitted to the store manager (e.g., the store manager 231 in FIG. 2) so that the store DB (e.g., the store DB 232 in FIG. 2) is updated. If the intention to change the application installation source is confirmed by referring to the specification file included in the application package during the application installation process, the package manager 234 stores the source change information if a store app for which a source change is desired exists in the electronic device 200. It can be registered in DB (232).
도 6의 실시예에서는 수신된 명세 파일에 포함된 출처 변경 정보에 따라 전자 장치(200)에 대상 어플리케이션의 설치 유무를 확인하여 출처 변경 동작이 진행될 수 있으나, 도 9의 실시예에서는 어플리케이션 패키지에 포함된 명세 파일에 기초하여 변경 희망 출처인 스토어 앱이 전자 장치(200)에 설치되어 있는지 확인하여 출처 변경 동작이 진행될 수 있다. 전자 장치(200)에 개발자 변경 희망 스토어 앱이 존재하지 않으면 해당 어플리케이션의 앱스토어를 변경할 수 없다. In the embodiment of FIG. 6, the source change operation may be performed by checking whether or not the target application is installed on the electronic device 200 according to the source change information included in the received specification file. However, in the embodiment of FIG. 9, the source change operation may be performed by checking whether the target application is installed in the electronic device 200. Based on the specified specification file, the source change operation may be performed by checking whether the store app, which is the desired source for change, is installed on the electronic device 200. If the store app that the developer wants to change does not exist in the electronic device 200, the app store of the application cannot be changed.
일 실시예에 따르면 어플리케이션 패키지의 명세 파일에 변경 희망 스토어를 복수개로 명시할 수 있다. 이에 따라 전자 장치(200)는 명시된 복수의 스토어 앱 중 전자 장치(200)에 설치되어 있는 스토어 앱을 변경 희망 출처로 등록할 수 있다.According to one embodiment, a plurality of stores desired to be changed may be specified in the specification file of the application package. Accordingly, the electronic device 200 can register the store app installed on the electronic device 200 among the plurality of specified store apps as the source for which the change is desired.
일 실시예에 따르면, 스토어 앱들(예: 도 2의 스토어 앱들(236))은 전자 장치(200)에서 자신이 관리하는 앱스토어로 출처 변경을 희망하는 어플리케이션의 리스트를 확보하기 위해 스토어 DB(232)를 주기적으로 참조할 수 있다. 이경우 스토어 앱들(236)은 자신의 패키지명을 키 값으로 표준 API 통해 스토어 DB(232)를 참조하여 변경 희망 어플리케이션의 패키지명, 버전 및/또는 인증서 정보를 확인할 수 있다. According to one embodiment, store apps (e.g., store apps 236 in FIG. 2) use the store DB 232 to secure a list of applications that wish to change the source from the electronic device 200 to the app store managed by the store app. ) can be referred to periodically. In this case, the store apps 236 can check the package name, version, and/or certificate information of the application they wish to change by referring to the store DB 232 through the standard API using their package name as the key value.
일 실시예에 따르면, 전자 장치(200)에 특정 어플리케이션의 최신 업데이트 버전을 제공할 앱스토어 출처를 변경하고자 할 때, 특정 어플리케이션에 대한 어플리케이션 패키지에 포함된 명세 파일에 출처 변경 정보를 명시할 수 있으며, 해당 특정 어플리케이션이 전자 장치(200)에 설치 또는 업데이트 되는 과정에서 출처 변경 정보가 전자 장치(200)에 전달될 수 있다. According to one embodiment, when it is desired to change the app store source that provides the latest updated version of a specific application to the electronic device 200, the source change information can be specified in the specification file included in the application package for the specific application. , while the specific application is being installed or updated on the electronic device 200, source change information may be transmitted to the electronic device 200.
일 실시예에 따르면, 개발자의 어플리케이션에 대한 앱스토어 출처 변경 의사가 명시된 명세 파일을 포함한 어플리케이션 패키지가 전자 장치(200)에 설치될 수 있다. According to one embodiment, an application package including a specification file specifying the developer's intention to change the app store source for the application may be installed on the electronic device 200.
일 실시예에 따르면 어플리케이션 패키지에 포함된 명세 파일에 기초하여 출처 변경 정보를 등록하는 과정에서 예를 들면 패키지명에 따라 디지털 서명을 인증하는 과정이 생략될 수 있다. 어플리케이션 패키지는 생성시 개발자의 개인 키로 서명되며 전자 장치(200)에서 설치되는 과정에서 어플리케이션 패키지 전체 파일의 무결성과 인증을 확인하는 프로세스가 진행될 수 있다. 따라서 어플리케이션 패키지에 포함된 명세 파일에 대한 추가적인 인증이 생략될 수 있다. According to one embodiment, in the process of registering source change information based on the specification file included in the application package, for example, the process of authenticating a digital signature according to the package name may be omitted. When the application package is created, it is signed with the developer's private key, and during installation on the electronic device 200, a process may be performed to check the integrity and authentication of all files of the application package. Therefore, additional authentication for the specification file included in the application package can be omitted.
상술한 바와 같은 명세 파일의 예시로서 android manifest 파일은 안드로이드 어플리케이션패키지에 정의된 개발 명세 파일로서, 개발자가 어플리케이션에서 사용하고자 하는 어플리케이션의 고유 이름(패키지명), 권한, 버전, 및 커스텀 포맷을 명시하여 사용할 수 있다. As an example of a specification file as described above, the android manifest file is a development specification file defined in an Android application package, and specifies the unique name (package name), permissions, version, and custom format of the application that the developer wishes to use in the application. You can use it.
일 실시예에 따르면, 출처 변경 정보로서, 명세 파일 내에 타겟 스토어 태그(Target Store Tag)를 정의할 수 있다. 예를 들면 타겟 스토어 태그는 커스텀 포맷의 예시로서, B, C, D Store를 명시할 수 있다. 이에 따라 어플리케이션 설치 과정 중 스토어 매니저(231)는 우선 순위에 따라 변경 희망 스토어앱들이 전자 장치(200)에 존재하는지 확인하고, 존재하는 스토어앱을 설치 어플리케이션의 변경 희망 출처로서 스토어 DB(232)에 저장할 수 있다. 이경우 설치 어플리케이션을 실제 설치하는 스토어 앱이 명세 파일에 포함되어 있는 어플리케이션의 변경 희망 출처와 동일한 경우에는 출처 변경 니즈가 없는 것으로 판단하여 출처 변경 정보를 스토어 DB(232)에 저장하지 않을 수 있다.According to one embodiment, as source change information, a target store tag may be defined in the specification file. For example, the target store tag is an example of a custom format and can specify B, C, and D Store. Accordingly, during the application installation process, the store manager 231 checks whether store apps desired to be changed exist in the electronic device 200 according to priority, and stores the existing store apps in the store DB 232 as a source of desired changes for the installed application. You can save it. In this case, if the store app that actually installs the installation application is the same as the desired change source of the application included in the specification file, it is determined that there is no need to change the source, and the source change information may not be stored in the store DB 232.
도 10은 다른 실시예에 따른 어플리케이션 업데이트를 수행하기 위한 전자 장치(예: 도 2의 전자 장치(200))의 기능 모듈들과 서버(예: 도 2의 제1 앱스토어(301)) 간의 신호 처리 흐름도이다.FIG. 10 shows signals between function modules of an electronic device (e.g., the electronic device 200 of FIG. 2) and a server (e.g., the first app store 301 of FIG. 2) for performing an application update according to another embodiment. This is a processing flow chart.
도 10을 참조하면, 특정 어플리케이션에 대한 설치 또는 업데이트를 위해 스토어앱(예: 도 2의 제1 스토어앱(201))을 통해 제1 앱스토어(301)로부터 다운로드된 어플리케이션 패키지는 동작 1001에서 패키지 파서(233)에 전달되어 어플리케이션이 설치되도록 할 수 있다. 패키지 파서(233)는 실행 파일을 파싱할 수 있으며, 파싱된 실행 파일에 근거하여 동작 1003에서 패키지 매니저(예: 도 2의 패키지 매니저(234))가 어플리케이션을 설치하도록 요청할 수 있다. Referring to FIG. 10, an application package downloaded from the first app store 301 through a store app (e.g., the first store app 201 in FIG. 2) for installation or update of a specific application is packaged in operation 1001. It can be passed to the parser 233 so that the application can be installed. The package parser 233 may parse an executable file, and may request a package manager (e.g., the package manager 234 in FIG. 2) to install an application in operation 1003 based on the parsed executable file.
일 실시예에 따르면, 패키지 매니저(234)는 동작 1005에서, 파싱된 어플리케이션 패키지의 설치 출처(예: 제1 앱스토어(301))를 셋팅 DB(235)에 저장하도록 할 수 있다. According to one embodiment, the package manager 234 may store the installation source (eg, first app store 301) of the parsed application package in the settings DB 235 in operation 1005.
일 실시예에 따르면 패키지 매니저(234)는 동작 1007에서 어플리케이션 패키지에 포함된 개발 명세 파일(예: Android Manifest)이 포함된 출처 변경 정보(예: 출처 변경 태그에 포함된 변경 희망 출처)를 확인하고, 설치 출처와 변경 희망 출처가 다르면, 스토어 매니저(예: 도 2의 스토어 매니저(231))에 출처 변경 정보를 등록할 것을 요청할 수 있다. According to one embodiment, the package manager 234 checks source change information (e.g., desired change source included in the source change tag) included in the development specification file (e.g., Android Manifest) included in the application package in operation 1007. , if the installation source and the desired change source are different, the store manager (e.g., the store manager 231 in FIG. 2) may be requested to register the source change information.
일 실시예에 따르면 스토어 매니저(231)는 동작 1009에서 요청된 출처 변경 정보가 스토어 DB(232)에 등록되어 있는지 확인할 수 있다. According to one embodiment, the store manager 231 may check whether the requested source change information is registered in the store DB 232 in operation 1009.
일 실시예에 따르면, 스토어 매니저(231)는, 동작 1011에서, 요청된 출처 변경 정보가 스토어 DB(232)에 등록되어 있지 않은 경우, 셋팅 DB(235)를 통해 대상 어플리케이션이 출처 변경 희망 스토어앱을 통해 설치되었는지 확인할 수 있다. According to one embodiment, in operation 1011, if the requested source change information is not registered in the store DB 232, the store manager 231 sets the target application to the desired store app to change the source through the setting DB 235. You can check whether it has been installed.
일 실시예에 따르면, 스토어 매니저(231)는 동작 1013에서, 대상 어플리케이션이 출처 변경 희망 스토어앱을 통해 설치되지 않은 경우, 대상 어플리케이션에 대한 출처 변경 정보를 스토어 DB(232)에 등록하도록 할 수 있다. 대상 어플리케이션에 대한 출처 변경 정보는 예를 들면 대상 어플리케이션의 패키지명, 버전 정보, 인증 정보 및/또는 출처 변경 희망 스토어앱 정보를 포함할 수 있다. According to one embodiment, in operation 1013, the store manager 231 may register source change information for the target application in the store DB 232 if the target application is not installed through the store app for which a source change is desired. . Source change information for the target application may include, for example, the package name of the target application, version information, authentication information, and/or store app information for which the source is to be changed.
다양한 실시예에서 도 6을 참조하여 설명한 스토어앱 전달 방식은 다수의 어플리케이션의 출처 변경을 요청할 수 있고, 대상 어플리케이션의 업데이트 없이 출처 변경을 진행할 수 있다. 예를 들면 특정 앱스토어에서는 더 이상 어플리케이션 업데이트를 지원하지 못하는 경우, 앱스토어 출처를 다른 스토어로 변경하기 위해 활용될 수 있다. In various embodiments, the store app delivery method described with reference to FIG. 6 can request a change in the source of multiple applications, and can proceed with the change in source without updating the target application. For example, if a specific app store no longer supports application updates, it can be used to change the app store source to another store.
다양한 실시예에서 도 9의 어플리케이션 패키지 전달 방식은 어플리케이션 설치 또는 업데이트 시 출처 변경이 진행되므로 대상 어플리케이션의 개발자 인증 프로세스 및 설정 파일의 적용 범위를 지정하는 동작이 생략될 수 있다. 또한 출처 변경을 희망하는 앱스토어를 우선 순위 별로 명시할 수 있어 전자 장치에 특정 스토어앱이 존재하는지 여부와 무관하게 진행될 수 있다. In various embodiments, in the application package delivery method of FIG. 9, the source is changed when the application is installed or updated, so the operation of specifying the application scope of the developer authentication process and the configuration file of the target application may be omitted. In addition, the app store for which you wish to change the source can be specified by priority, so it can be done regardless of whether a specific store app exists on the electronic device.
본 문서에 개시된 실시 예들은 기술 내용을 쉽게 설명하고 이해를 돕기 위한 예로서 제시한 것일 뿐이며, 본 문서에 개시된 기술의 범위를 한정하고자 하는 것은 아니다. 따라서 본 문서에 개시된 기술의 범위는 여기에 개시된 실시 예들 이외에도 본 문서에 개시된 다양한 실시 예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태를 포함되는 것으로 해석되어야 한다. The embodiments disclosed in this document are merely presented as examples to easily explain the technical content and aid understanding, and are not intended to limit the scope of the technology disclosed in this document. Therefore, the scope of the technology disclosed in this document should be interpreted as including all changes or modified forms derived based on the technical idea of the various embodiments disclosed in this document in addition to the embodiments disclosed herein.

Claims (15)

  1. 전자 장치에 있어서,In electronic devices,
    통신 모듈;communication module;
    메모리; 및Memory; and
    상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고,Comprising a processor operatively connected to the communication module and the memory,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 전자 장치에 설치된 특정 어플리케이션의 어플리케이션 정보에 기초하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 정보를 수신하고, Receiving app store source change information that performs an update for the specific application based on application information of the specific application installed on the electronic device,
    상기 특정 어플리케이션에 대한 상기 앱스토어 출처 변경 정보에 기초하여 확인되는 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어에, 상기 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인하고, Confirm whether a higher version for the specific application exists in the App Store to perform an update for the specific application, which is confirmed based on the App Store source change information for the specific application,
    상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하여 상기 특정 어플리케이션에 대한 업데이트를 수행하도록 하는 인스트럭션들(instructions)을 저장하는 Stores instructions for receiving the application package of the higher version from the confirmed app store and performing an update for the specific application.
    전자 장치.Electronic devices.
  2. 제1항에 있어서,According to paragraph 1,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 특정 어플리케이션의 상기 확인된 앱스토어를 통해 상기 앱스토어 출처 변경 정보를 수신하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions for receiving the app store source change information through the confirmed app store of the specific application.
  3. 제2항에 있어서,According to paragraph 2,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 확인된 앱스토어로부터 수신되는 파일로부터 상기 앱스토어 출처 변경 정보를 획득하고, Obtain the app store source change information from the file received from the confirmed app store,
    스토어 매니저를 통해 상기 앱스토어 출처 변경 정보를 스토어 데이터베이스에 저장하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions to store the app store source change information in a store database through a store manager.
  4. 제3항에 있어서,According to paragraph 3,
    상기 메모리는, 실행될 때, 상기 프로세서가,The memory, when executed, causes the processor to:
    상기 스토어 매니저를 통해 상기 특정 어플리케이션의 현재 출처를 확인하고, Check the current source of the specific application through the store manager,
    상기 현재 출처가 상기 앱스토어 출처 변경 정보에 기초하여 확인된 상기 앱스토어와 상이한 경우에 상기 앱스토어 출처 변경 정보를 상기 스토어 데이터베이스에 저장하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions for storing the App Store source change information in the store database when the current source is different from the App Store confirmed based on the App Store source change information.
  5. 제3항에 있어서,According to paragraph 3,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 확인된 앱스토어에 대응하는 스토어 앱을 통해, 상기 스토어 데이터 베이스에 저장된 상기 앱스토어 출처 변경 정보를 확인하고, 상기 확인된 앱스토어로부터 상기 특정 어플리케이션의 어플리케이션 패키지를 수신하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions to check the app store source change information stored in the store database through a store app corresponding to the confirmed app store and to receive an application package of the specific application from the confirmed app store. Device.
  6. 제3항에 있어서,According to paragraph 3,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 특정 어플리케이션의 업데이트가 완료되면, 상기 스토어 매니저를 통해 상기 스토어 데이터베이스로부터 상기 앱스토어 출처 변경 정보를 삭제하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions for deleting the app store source change information from the store database through the store manager when the update of the specific application is completed.
  7. 제1항에 있어서,According to paragraph 1,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 특정 어플리케이션의 현재 출처인 앱스토어를 통해 상기 앱스토어 출처 변경 정보를 수신하도록 하는 인스트럭션들을 저장하는 전자 장치. An electronic device that stores instructions for receiving app store source change information through the app store, which is the current source of the specific application.
  8. 제7항에 있어서,In clause 7,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 현재 출처인 앱스토어로부터 상기 특정 어플리케이션의 다른 어플리케이션 패키지를 수신하고, 상기 다른 어플리케이션 패키지에 포함된 파일로부터 상기 앱스토어 출처 변경 정보를 획득하도록 하는 인스트럭션들을 저장하는 전자 장치.An electronic device that stores instructions for receiving another application package of the specific application from the current source, the App Store, and obtaining the App Store source change information from a file included in the other application package.
  9. 제8항에 있어서,According to clause 8,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    스토어 매니저를 통해 상기 앱스토어 출처 변경 정보를 스토어 데이터베이스에 저장하도록 하고, Save the above App Store source change information in the store database through the store manager,
    상기 확인된 앱스토어에 대응하는 스토어 앱을 통해 상기 스토어 데이터베이스에 저장된 상기 앱스토어 출처 변경 정보를 확인하고, 상기 앱스토어 출처 변경 정보에 기초하여 상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하도록 하는 인스트럭션들을 저장하는 전자 장치. Check the app store source change information stored in the store database through the store app corresponding to the confirmed app store, and receive the application package of the higher version from the confirmed app store based on the app store source change information. An electronic device that stores instructions to do something.
  10. 제8항에 있어서,According to clause 8,
    상기 메모리는, 실행될 때, 상기 프로세서가, The memory, when executed, causes the processor to:
    상기 스토어 매니저를 통해 상기 앱스토어 출처 변경 정보에 기초하여 복수의 스토어앱들이 확인되면, 상기 복수의 스토어앱들 중 우선 순위에 따라 상기 전자 장치에 설치된 스토어앱에 대응하는 앱스토어를 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어로 확인하도록 하는 인스트럭션들을 저장하는 전자 장치. When a plurality of store apps are confirmed based on the app store source change information through the store manager, the app store corresponding to the store app installed on the electronic device is selected according to priority among the plurality of store apps to the specific application. An electronic device that stores instructions for checking with the app store to perform updates.
  11. 전자 장치의 방법에 있어서,In the method of the electronic device,
    상기 전자 장치에 설치된 특정 어플리케이션의 어플리케이션 정보에 기초하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 앱스토어 출처 변경 정보를 수신하는 동작; An operation of receiving app store source change information for updating a specific application based on application information of the specific application installed on the electronic device;
    상기 특정 어플리케이션에 대한 상기 앱스토어 출처 변경 정보에 기초하여 확인되는 상기 특정 어플리케이션에 대한 업데이트를 수행할 앱스토어에, 상기 특정 어플리케이션에 대한 상위 버전이 존재하는지 확인하는 동작; 및Checking whether a higher version for the specific application exists in the app store that will perform an update for the specific application, which is confirmed based on the app store source change information for the specific application; and
    상기 확인된 앱스토어로부터 상기 상위 버전의 어플리케이션 패키지를 수신하여 상기 특정 어플리케이션에 대한 업데이트를 수행하는 동작;을 포함하는 방법.A method comprising: receiving an application package of the higher version from the confirmed app store and performing an update to the specific application.
  12. 제11항에 있어서,According to clause 11,
    상기 수신 동작은, 상기 특정 어플리케이션의 상기 확인된 앱스토어를 통해 상기 앱스토어 출처 변경 정보를 수신하는 방법. The receiving operation is a method of receiving the app store source change information through the confirmed app store of the specific application.
  13. 제12항에 있어서,According to clause 12,
    상기 확인된 앱스토어로부터 수신되는 파일로부터 상기 앱스토어 출처 변경 정보를 획득하는 동작; 및, Obtaining the app store source change information from a file received from the confirmed app store; and,
    스토어 매니저를 통해 상기 앱스토어 출처 변경 정보를 스토어 데이터베이스에 저장하는 동작을 더 포함하는 방법. The method further includes storing the app store source change information in the store database through the store manager.
  14. 제13항에 있어서,According to clause 13,
    상기 스토어 매니저를 통해 상기 특정 어플리케이션의 현재 출처를 확인하는동작을 더 포함하고, Further comprising an operation of checking the current source of the specific application through the store manager,
    상기 저장 동작은, 상기 현재 출처가 상기 앱스토어 출처 변경 정보에 기초하여 확인된 상기 앱스토어와 상이한 경우에 상기 앱스토어 출처 변경 정보를 상기 스토어 데이터베이스에 저장하는 방법. The saving operation is a method of storing the App Store source change information in the store database when the current source is different from the App Store confirmed based on the App Store source change information.
  15. 제13항에 있어서,According to clause 13,
    상기 확인된 앱스토어에 대응하는 스토어 앱을 통해, 상기 스토어 데이터 베이스에 저장된 상기 앱스토어 출처 변경 정보를 확인하는 동작; 및 An operation of checking the app store source change information stored in the store database through a store app corresponding to the confirmed app store; and
    상기 확인된 앱스토어로부터 상기 특정 어플리케이션의 어플리케이션 패키지를 수신하는 동작을 더 포함하는 방법. The method further includes receiving an application package of the specific application from the confirmed app store.
PCT/KR2023/015188 2022-10-05 2023-10-04 Method for updating application and electronic device therefor WO2024076123A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/507,562 US20240118887A1 (en) 2022-10-05 2023-11-13 Method for updating application and electronic device thereof

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0127364 2022-10-05
KR20220127364 2022-10-05
KR1020220136781A KR20240047867A (en) 2022-10-05 2022-10-21 A method for updating application and an electronic device of the same
KR10-2022-0136781 2022-10-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/507,562 Continuation US20240118887A1 (en) 2022-10-05 2023-11-13 Method for updating application and electronic device thereof

Publications (1)

Publication Number Publication Date
WO2024076123A1 true WO2024076123A1 (en) 2024-04-11

Family

ID=90608740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/015188 WO2024076123A1 (en) 2022-10-05 2023-10-04 Method for updating application and electronic device therefor

Country Status (1)

Country Link
WO (1) WO2024076123A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140148302A (en) * 2013-06-21 2014-12-31 한국전자통신연구원 Device and method for interworking with App information between App Store servers
KR20160004354A (en) * 2013-06-28 2016-01-12 인텔 코포레이션 Compatibility and optimization of web applications across independent application stores
CN110244963A (en) * 2019-05-24 2019-09-17 深圳市明源云科技有限公司 Data-updating method, device and terminal device
CN110286920A (en) * 2019-06-21 2019-09-27 上海掌门科技有限公司 A kind of method and apparatus of installation application
KR102124330B1 (en) * 2013-11-19 2020-06-18 에스케이텔레콤 주식회사 Method for updating of application and apparatus for the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140148302A (en) * 2013-06-21 2014-12-31 한국전자통신연구원 Device and method for interworking with App information between App Store servers
KR20160004354A (en) * 2013-06-28 2016-01-12 인텔 코포레이션 Compatibility and optimization of web applications across independent application stores
KR102124330B1 (en) * 2013-11-19 2020-06-18 에스케이텔레콤 주식회사 Method for updating of application and apparatus for the same
CN110244963A (en) * 2019-05-24 2019-09-17 深圳市明源云科技有限公司 Data-updating method, device and terminal device
CN110286920A (en) * 2019-06-21 2019-09-27 上海掌门科技有限公司 A kind of method and apparatus of installation application

Similar Documents

Publication Publication Date Title
WO2022092824A1 (en) Electronic device using carrier network and operation method thereof
WO2021075905A1 (en) Application optimization method and electronic device supporting the same
WO2022255652A1 (en) Method for updating application and electronic device therefor
WO2022265364A1 (en) Software customizing method, and electronic device and storage media for same
WO2023058860A1 (en) Electronic device for processing multi-signed apk file, and operating method therefor
WO2024076123A1 (en) Method for updating application and electronic device therefor
WO2022177162A1 (en) Processor for initializing model file of application, and electronic device comprising same
WO2022149771A1 (en) Electronic device and memory management method using same
WO2024063516A1 (en) Customizing software provision device and method
WO2024071769A1 (en) Electronic device comprising secure element and method of operating same
WO2024025112A1 (en) Electronic device for managing data and data management method
WO2022191378A1 (en) Electronic device for providing service and method for operating same
WO2024019258A1 (en) Electronic device and method for controlling signal transmitted to external electronic device
WO2022154540A1 (en) Electronic device for executing application package, and operation method of same
WO2024071927A1 (en) Electronic device and data protection method using same
WO2022203184A1 (en) Electronic device for sharing function and operating method therefor
WO2022154383A1 (en) Electronic device and method for loading kernel module of electronic device
WO2022154220A1 (en) Electronic device and method for changing binary
WO2024058560A1 (en) Server supporting firmware update and operating method thereof
WO2024080659A1 (en) Electronic device, method, and computer-readable storage medium for displaying visual object on basis of connected state with external electronic device
WO2022177206A2 (en) Electronic apparatus and operating method of electronic apparatus
WO2024025069A1 (en) Electronic device for resolving limitation on signal reception due to error in wireless connection with network, and method for operating same
WO2024075998A1 (en) Device, method and non-transitory computer-readable storage medium for registering other electronic devices
WO2023013845A1 (en) Electronic device and method for installing embedded-subscriber identification module profile in electronic device
WO2022181981A1 (en) Method for detecting lost wearable device