WO2022154273A1 - 데이터 백업을 지원하는 전자 장치 및 그 운용 방법 - Google Patents

데이터 백업을 지원하는 전자 장치 및 그 운용 방법 Download PDF

Info

Publication number
WO2022154273A1
WO2022154273A1 PCT/KR2021/018753 KR2021018753W WO2022154273A1 WO 2022154273 A1 WO2022154273 A1 WO 2022154273A1 KR 2021018753 W KR2021018753 W KR 2021018753W WO 2022154273 A1 WO2022154273 A1 WO 2022154273A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
backup
electronic device
processor
data type
Prior art date
Application number
PCT/KR2021/018753
Other languages
English (en)
French (fr)
Inventor
박상현
김흥수
오명근
정지은
임연욱
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022154273A1 publication Critical patent/WO2022154273A1/ko
Priority to US18/351,062 priority Critical patent/US20230359530A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Definitions

  • Various embodiments of the present disclosure relate to an electronic device supporting data backup and an operating method thereof.
  • the user of the electronic device may back up data stored in the electronic device to an external storage device in preparation for unexpected data loss or unintentional data deletion.
  • the electronic device may restore the backed up data.
  • the electronic device may perform a plurality of backups at different times. In this case, there may be a problem in that the backup data of the last time point is overwritten with the backup data of the previous time point.
  • a plurality of electronic devices may store backup data in one external memory.
  • backup data generated by one electronic device may be overwritten with backup data previously stored by another electronic device.
  • An electronic device includes a processor, a communication circuit configured to establish a connection between an external storage device and a device, and a memory operatively connected to the processor and storing instructions, The instructions, when executed by the processor, cause the electronic device to execute an application providing a backup function, in response to a first user input to the application, identify first data, and a backup history stored in the memory In response to the existence of at least one backup history, a data type of the first data is identified, and based on the data type, all of the first data or the latest backup history among the first data is identified. It may be configured to generate a part generated after the time point as backup data, and store the generated backup data in the external storage device.
  • the method of operating an electronic device includes an operation of executing an application providing a backup function, an operation of identifying first data in response to a first user input to the application, An operation of identifying a backup history, an operation of identifying a data type of the first data in response to the existence of at least one backup history, and based on the data type, all of the first data or the latest of the first data It may include an operation of generating a part generated after a point in time according to the backup history as backup data, and an operation of storing the generated backup data in an external storage device.
  • the electronic device may more efficiently manage the storage space of the external storage device by providing differential backup according to various time points.
  • the electronic device may enhance the security of the backup and restore function by generating encrypted backup data based on the user account.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure
  • FIG. 2 illustrates a configuration of an electronic device according to an embodiment of the present disclosure.
  • 3A is a flowchart illustrating generation and storage of backup data according to various embodiments of the present disclosure
  • 3B is a flowchart illustrating generation and storage of backup data according to various embodiments of the present disclosure
  • FIG. 4 is a flowchart illustrating an encryption operation of backup data according to an exemplary embodiment.
  • FIG. 5 is a flowchart illustrating data restoration, according to an embodiment.
  • FIG. 6 illustrates an application screen for data restoration according to an exemplary embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • 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 , a sound 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 an antenna module 197 .
  • at least one of these components eg, the connection terminal 178
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123
  • the secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, image signal processor or communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect 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.
  • 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 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of 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 cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes 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)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 includes a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal eg commands or data
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of the operations executed by the electronic device 101 may be executed by one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • the server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • the electronic device may be a device of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a laptop, a desktop, a tablet, or a portable multimedia device
  • portable medical device e.g., a portable medical device
  • camera e.g., a camera
  • a wearable device e.g., a smart watch
  • a home appliance device e.g., a smart bracelet
  • first, second, or first or second may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • the processor eg, the processor 120
  • the device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.
  • FIG. 2 illustrates a configuration of an electronic device according to an embodiment of the present disclosure.
  • the electronic device 200 may include a processor 210 , a communication circuit 220 , and/or a memory 230 .
  • the electronic device 200 shown in FIG. 2 may further include at least some of the components of the electronic device 101 of FIG. 1 .
  • the electronic device 200 may further include the battery 189 of FIG. 1 .
  • the processor 210 , the communication circuit 220 , or the memory 230 may correspond to the processor 120 , the communication module 190 , or the memory 130 of FIG. 1 , respectively.
  • the processor 210 establishes a connection between the external storage device 240 (eg, the electronic device 102 or the electronic device 104 of FIG. 1 ) and the device using the communication circuit 220 . can do.
  • the device-to-device connection provided by the communication circuit 220 may be wired communication or wireless communication.
  • the external storage device 240 may be a memory included in the at least one server 250 (eg, the server 108 of FIG. 1 ).
  • the external storage device 240 may be a magnetic storage device (eg, an external hard disk drive), and/or a flash memory device (eg, a memory card, a memory stick, a USB ( universal serial bus) drive).
  • the processor 210 may establish a connection between the external storage device 240 and the device through a USB interface (eg, the interface 177 of FIG. 1 ).
  • the processor 210 may execute an application that provides a backup function (eg, the application 146 of FIG. 1 ).
  • the processor 210 may generate backup data based on a user input to the application. According to an embodiment, the processor 210 may generate backup data based on a backup method (eg, full backup or differential backup).
  • a backup method eg, full backup or differential backup.
  • the differential backup method may be a method of generating a part of data identified based on a user input after a point in time according to the latest backup history as backup data.
  • the processor 210 may reduce the amount of data overlapped between a plurality of backup data through differential backup.
  • the full backup method may be a method of generating all of the identified data as backup data based on a user input.
  • the backup method may be determined based on backup history information stored in the external storage device 240 . In an embodiment, the backup method may be determined based on a data type of data to be backed up. In an embodiment, the backup method may be determined based on the size of data to be backed up. In an embodiment, data to be backed up may be identified by a user's input.
  • the data type may include a first data type and a second data type.
  • the first data type may include at least one of a photo, music, video, document, voice record, lyrics, certificate, or playlist.
  • the first data type may be stored in a data format (eg, a file) having a specified extension name.
  • photos can be saved as jpg or png files
  • music can be saved as mp3 files
  • documents can be saved as doc or ppt files.
  • the second data type is a contact, a calendar, a text, a memo, an android application package (APK), a homescreen setting (eg, a layout, a wallpaper, a setting).
  • APIK android application package
  • the second data type may be stored in a personal information management system (PIMS) data format.
  • PIMS personal information management system
  • the processor 210 may store the generated backup data in the external storage device 240 through a device-to-device connection.
  • the processor 210 may encrypt the backup data based on the user account.
  • the processor 210 may request user authentication from at least one server 250 (eg, the server 108 of FIG. 1 ) in response to a user input.
  • the processor 210 may receive an encryption key from the at least one server 250 .
  • the encryption key may be understood as an account key based on a user account.
  • the processor 210 may encrypt the generated backup data based on the encryption key.
  • the processor 210 may store the encrypted backup data in the external storage device 240 .
  • the processor 210 may restore data using the backup data stored in the external storage device 240 .
  • the external storage device 240 may store a plurality of backup data generated by the electronic device 200 or at least one external electronic device 260 .
  • a plurality of backup data may be identified based on the user account.
  • the plurality of backup data may include user account information linked to an electronic device (eg, the electronic device 200 or at least one external electronic device 260 ) that generated the corresponding backup data.
  • the plurality of backup data may be encrypted based on a user account linked to the electronic device that generated the corresponding backup data.
  • the processor 210 may perform data restoration using only the backup data generated based on the same user account as the user account linked to the electronic device 200 among the plurality of backup data stored in the external storage device 240 .
  • the processor 210 may perform data restoration using at least one backup data stored in the external storage device 240 .
  • the at least one backup data may be understood as backup data generated based on the same user account as the user account linked to the electronic device 200 .
  • the processor 210 may select at least one backup data to be used for data restoration based on a user input to the application. For example, if a plurality of backup data generated by different time points are stored in the external storage device 240 , the processor 210 restores data using at least some of the plurality of backup data based on a user input. can be done
  • the processor 210 may perform data restoration based on a user account.
  • the processor 210 may request user authentication from the at least one server 250 in response to a user input.
  • the processor 210 may receive a decryption key from the at least one server 250 .
  • the decryption key may be understood as an account key based on a user account.
  • the encryption key and the decryption key may be symmetric keys.
  • the processor 210 may decrypt at least one encrypted backup data based on the decryption key.
  • the processor 210 may perform data backup using at least one decrypted backup data.
  • the electronic device 200 is operatively connected to the processor 210 , the communication circuit 220 configured to establish a connection between the external storage device 240 and the device, and the processor 210 , and provides instructions It may include a memory 230 for storing them.
  • the electronic device 200 executes an application providing a backup function, in response to a first user input to the application, identifies first data, and the memory 230 ), identify a backup history related to the first data stored in, and in response to the existence of at least one backup history, identify the data type of the first data, and based on the data type, all of the first data or among the first data It may be configured to generate a part generated after a point in time according to the latest backup history as backup data, and to store the generated backup data in the external storage device 240 . According to an embodiment, when the instructions are executed by the processor 210 , the electronic device 200 may be configured to generate all of the first data as backup data in response to the absence of a backup history. .
  • the data type includes a first data type and a second data type
  • the first data type includes at least one of a video or an image file
  • the second data type includes a contact, message log, or calendar It may include at least one of information.
  • the data type of the first data is the first data type
  • a part of the first data generated after the time point according to the latest backup history is generated as the backup data
  • the data type of the first data is the first data type.
  • it may be configured to generate all of the first data as backup data.
  • the external storage device 240 is a magnetic storage device (eg, an external hard disk drive), and/or a flash memory device (eg, a memory card, memory stick, USB (universal serial bus) drives).
  • the processor 210 may establish a connection between the external storage device 240 and the device through a USB interface.
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 requests user authentication to at least one server in response to a first user input, and based on the user authentication result, at least It may be configured to receive an encryption key from one server 250 and encrypt backup data based on the encryption key.
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 receives a second user input for data restoration with respect to an application, and based on the second user input, an external storage device It is configured to identify at least one of the plurality of backup data stored in 240 and restore the identified at least one backup data, and each of the plurality of backup data may have a different creation time. According to an embodiment, a plurality of backup data stored in the external storage device 240 may be generated based on a user account linked to the electronic device 200 .
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 requests user authentication from the at least one server 250 in response to a second user input, and receives the user authentication result according to the user authentication result. and receive a decryption key from the at least one server 250 based on the decryption key, and decrypt the at least one backup data identified based on the decryption key, wherein the decryption key may correspond to the encryption key.
  • the electronic device 200 further includes a display (eg, the display module 160 of FIG. 1 ), and when the instructions are executed by the processor 210 , the electronic device 200 includes a display a graphic object corresponding to a plurality of backup data stored in the external storage device 240 through may be configured to receive a second user input for the object.
  • a display eg, the display module 160 of FIG. 1
  • the electronic device 200 includes a display a graphic object corresponding to a plurality of backup data stored in the external storage device 240 through may be configured to receive a second user input for the object.
  • the electronic device 200 is operatively connected to the processor 210 , the communication circuit 220 configured to establish a connection between the external storage device 240 and the device, and the processor 210 , and provides instructions It may include a memory 230 for storing them.
  • the electronic device 200 executes an application providing a backup function, in response to a first user input to the application, identifies first data, and the memory 230 ) to identify the backup history stored in ), and in response to the existence of at least one backup history, identify the data type of the first data, and based on the data type, all of the first data or according to the latest backup history among the first data It may be configured to generate a part generated after the time point as backup data, and to store the generated backup data in the external storage device 240 . For example, when the instructions are executed by the processor 210 , the electronic device 200 may be configured to generate all of the first data as backup data in response to no backup history.
  • the data type includes a first data type and a second data type
  • the first data type includes at least one of a video or an image file
  • the second data type includes a contact, message log, or calendar It may include at least one of information.
  • the instructions when executed by the processor 210 , when the data type of the first data is the first data type, the electronic device 200 after a point in time according to the latest backup history among the first data It may be configured to generate a part of the generated data as backup data, and to generate all of the first data as backup data when the data type of the first data is the second data type.
  • the external storage device 240 may include at least one of a solid state drive (SSD), a hard disk drive (HDD), or a universal serial bus (USB) drive.
  • SSD solid state drive
  • HDD hard disk drive
  • USB universal serial bus
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 requests user authentication from the at least one server 250 in response to a first user input, and receives the user authentication result according to the user authentication result. It may be configured to receive an encryption key from at least one server 250 based on the encryption key, and encrypt the backup data based on the encryption key.
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 receives a second user input for data restoration with respect to an application, and based on the second user input, an external storage device It is configured to identify at least one of the plurality of backup data stored in 240 and restore the identified at least one backup data, and each of the plurality of backup data may have a different creation time. According to an embodiment, a plurality of backup data stored in the external storage device 240 may be generated based on a user account linked to the electronic device 200 .
  • the electronic device 200 when the instructions are executed by the processor 210 , the electronic device 200 requests user authentication from the at least one server 250 in response to a second user input, and receives the user authentication result according to the user authentication result. and receive a decryption key from the at least one server 250 based on the decryption key, and decrypt the at least one backup data identified based on the decryption key, wherein the decryption key may correspond to the encryption key.
  • the electronic device 200 further includes a display (eg, the display module 160 of FIG. 1 ), and when the instructions are executed by the processor 210 , the electronic device 200 includes a display a graphic object corresponding to a plurality of backup data stored in the external storage device 240 through and the second user input may include a user input for the graphic object.
  • a display eg, the display module 160 of FIG. 1
  • the electronic device 200 includes a display a graphic object corresponding to a plurality of backup data stored in the external storage device 240 through and the second user input may include a user input for the graphic object.
  • 3A is a flowchart illustrating generation and storage of backup data according to various embodiments of the present disclosure
  • the processor may execute an application providing a backup function.
  • the processor 210 may receive a first user input for the application.
  • the first user input may be understood as a user's touch input to a display (eg, the display module 160 of FIG. 1 ).
  • the user input includes all interactions (eg, gestures, voice commands) that are specified to cause the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) to perform a specified operation. can do.
  • the first user input may include at least one user input for performing the operations of FIG. 3A .
  • the processor 210 may identify the first data in response to the first user input.
  • the first data may be understood as data to be backed up.
  • the processor 210 may identify a backup history stored in a memory (eg, the memory 230 of FIG. 2 ).
  • the backup history may include information related to a backup performed before operation 310 .
  • the backup history in operation 330 may include information related to a backup performed based on a user account linked with the electronic device 200 .
  • the processor 210 may identify whether at least one backup history exists based on the backup history.
  • the processor 210 may proceed to operation 350 .
  • the processor 210 may identify the data type of the first data in operation 350 .
  • the first data may correspond to the first data type or the second data type.
  • a part of the first data may correspond to the first data type, and the remaining part may correspond to the second data type.
  • the first data type may include at least one of a photo, music, video, document, voice record, lyrics, certificate, or playlist.
  • the second data type includes contacts, calendars, texts, memos, APK (android application package), homescreen settings (eg, layout, wallpaper, setting values), WiFi setting, Bluetooth setting, keyboard setting, accessibility setting, font, camera setting, AOD(always on display) setting, edge panel setting, or notification setting It may include at least one.
  • the first data type may be generally understood as a data type having a larger data capacity than the second data type.
  • the processor 210 may generate all of the first data or a part of the first data generated after a point in time according to the latest backup history as backup data, based on the data type of the first data.
  • the processor 210 may differentially back up the first data. In other words, the processor 210 may generate a part of the first data generated after the point in time according to the latest backup history as the backup data. Through the differential backup, the processor 210 may reduce the amount of data overlapped among a plurality of backup data. The processor 210 may reduce the total data capacity of the accumulated backup data to more efficiently manage the storage space of the external storage device 240 .
  • the processor 210 may back up all of the first data. In other words, the processor 210 may generate all of the first data as backup data. Since the data of the second data type has a relatively smaller data capacity than that of the first data type, the possibility of causing a shortage of storage space in the external storage device 240 due to the accumulated backup data may be low. Accordingly, the processor 210 may generate all of the first data of the second data type as backup data regardless of the backup history.
  • the processor 210 may perform an operation according to operation 355 according to each data type. For example, the processor 210 may perform a differential backup on a portion of the first data corresponding to the first data type and perform a full backup on a portion of the first data corresponding to the second data type. .
  • the processor 210 may proceed to operation 360 .
  • the processor 210 may generate all of the first data as backup data.
  • the backup data generated in operation 360 may be the first backup data generated based on a user account linked with the electronic device 200 .
  • the processor 210 may store the backup data generated in operation 355 or 360 in the external storage device 240 .
  • the external storage device 240 may be a magnetic storage device (eg, an external hard disk drive), and/or a flash memory device (eg, a memory card, a memory stick, a universal serial bus) drive).
  • the processor 210 may establish a connection between the external storage device 240 and the device through a USB interface.
  • the external storage device 240 may be a memory included in the at least one server 250 .
  • the data type includes a first data type and a second data type
  • the first data type includes at least one of a video or an image file
  • the second data type includes a contact, message log, or calendar It may include at least one of information.
  • the method of operating the electronic device 200 includes, when the data type of the first data is the first data type, generating a part of the first data generated after a point in time according to the latest backup history as backup data.
  • the operation may include generating all of the first data as backup data.
  • the external storage device 240 may include at least one of a solid state drive (SSD), a hard disk drive (HDD), and a universal serial bus (USB) drive.
  • SSD solid state drive
  • HDD hard disk drive
  • USB universal serial bus
  • 3B is a flowchart illustrating generation and storage of backup data according to various embodiments of the present disclosure
  • FIG. 3B the same reference numbers as those of FIG. 3A may be referred to by the description of FIG. 3A .
  • the difference between FIG. 3B and FIG. 3A will be mainly described.
  • the processor 210 may identify the size of the first data. According to an embodiment, the processor 210 may identify the size of the entire first data. According to an embodiment, the processor 210 may identify a data type of the first data and, when the first data includes data based on a plurality of data types, may identify a size of data according to each data type. . The description of the data type may be referred to by the description of the data type of FIG. 3A .
  • the processor 210 may generate all of the first data or a part of the first data generated after a point in time according to the latest backup history as backup data based on the size of the first data. According to an embodiment, the processor 210 may determine whether to perform full backup or differential backup by comparing the size of the first data with a threshold value.
  • the threshold value may be set to a value such that the storage space occupied by the backup data in the external storage device 240 is below a certain level.
  • the processor 210 may perform differential backup.
  • the processor 210 may perform a full backup.
  • the processor 210 may efficiently manage the storage space of the external storage device 240 by performing a full backup regardless of the data type.
  • the processor 210 may set different threshold values for data based on the first data type and data based on the second data type. The processor 210 may determine a backup method by comparing the size of data based on the first data type with the first threshold value and comparing the size of data based on the second data type with the second threshold value.
  • the processor 210 may identify data types of data included in the first data.
  • data of the second data type may occupy more storage space than data of the first data type.
  • the processor 210 may set the threshold differently according to the relative weight of data based on the first data type and data based on the second data type.
  • the processor 210 may determine a threshold value for the second data type by comparing the size of the data based on the second data type included in the first data with the size of the data based on the first data type.
  • the processor 210 may determine a backup method by comparing the size of the data based on the type of the second data and a threshold value. In this case, the processor 210 may perform differential backup on data based on the first data type.
  • the processor 210 may determine a backup method by comparing data based on the first data type with a threshold value (eg, the same as or different from a threshold value for data based on the second data type).
  • FIG. 4 is a flowchart illustrating an encryption operation of backup data according to an exemplary embodiment.
  • the operations of the electronic device of FIG. 4 are operations in which a security operation is further added to the operations of the electronic device 200 of FIG. 3A .
  • Operations 400 and 410 of FIG. 4 may correspond to operations 300 and 310 of FIG. 3A , respectively.
  • the processor 210 may execute an application providing a backup function.
  • the processor 210 may receive a first user input for the application.
  • the processor 210 may request user authentication from at least one server (eg, at least one server 250 of FIG. 2 ) in response to the first user input.
  • At least one server 250 may perform user authentication based on a user account in response to a user authentication request.
  • the processor 210 may identify whether user authentication is successful.
  • user authentication of the at least one server 250 may require the user to input an ID and password.
  • the at least one server 250 may determine whether the user of the electronic device 200 is a user registered with the at least one server 250 based on the ID and password input by the user.
  • user authentication of the at least one server 250 may request biometric information (eg, fingerprint, iris) from the user.
  • the at least one server 250 compares the user's biometric information with the biometric information stored in the at least one server 250 to determine whether the user of the electronic device 200 is a registered user in the at least one server 250 . can do.
  • the at least one server 250 may determine that the user authentication of the electronic device 200 is successful.
  • the processor 210 may end the operation.
  • the processor 210 may proceed to operation 440 .
  • the processor 210 may receive an encryption key from the at least one server 250 .
  • the encryption key in operation 440 may be understood as an account key generated based on the user's account.
  • the at least one server 250 may assign different unique values to users registered in the at least one server 250 .
  • the account key may be generated based on a unique value given to the user of the electronic device 200 .
  • the processor 210 may encrypt the generated backup data based on the encryption key.
  • a description of the generation of the backup data may be referred to by reference to FIG. 3A .
  • the backup data in operation 450 may correspond to the backup data generated in operation 355 or 360 of FIG. 3A .
  • the processor 210 may store the encrypted backup data in an external storage device (eg, the external storage device 240 of FIG. 2 ). Operation 460 may correspond to operation 370 of FIG. 3A .
  • FIG. 5 is a flowchart illustrating data restoration, according to an embodiment.
  • the processor may receive a second user input for the application.
  • the second user input may include at least one user input for performing the operations of FIG. 5 .
  • the processor 210 may request user authentication from at least one server (eg, at least one server 250 ) in response to the second user input.
  • the user authentication in operation 510 may be user authentication based on a user account.
  • the user authentication in operation 510 may correspond to the user authentication in operation 420 of FIG. 4 .
  • the processor 210 may identify whether user authentication is successful. When the at least one server 250 fails in user authentication (operation 520 - NO), the processor 210 may end the operation.
  • the processor 210 may proceed to operation 530 .
  • the processor 210 may receive a decryption key from the at least one server 250 .
  • the decryption key may be generated based on a unique value assigned to the user account.
  • the decryption key may be the same as the encryption key of FIG. 4 . In this case, the decryption key and the encryption key may be symmetric keys.
  • the processor 210 may identify whether at least one backup data generated based on a user account linked to the electronic device 200 exists in the external storage device 240 .
  • the processor 210 may proceed to operation 550 .
  • the processor 210 may end the operation.
  • the processor 210 may end the operation.
  • the backup data stored in the external storage device 240 is generated based on a user account other than the user of the electronic device 200 (operation 540 - NO)
  • the processor 210 may end the operation.
  • the processor 210 may identify whether there are a plurality of backup data stored in the external storage device 240 .
  • the backup data in operation 550 may be backup data generated based on a user account linked with the electronic device 200 .
  • the processor 210 may proceed to operation 560 .
  • the processor 210 may identify at least one of a plurality of backup data stored in the external storage device 240 in response to the second user input.
  • the user may want to restore only the backup data at a specified point in time among the plurality of backup data stored in the external storage device 240 .
  • the user may designate backup data at a desired point in time as a restoration target by performing a second user input.
  • the processor 210 may proceed to operation 565 .
  • the processor 210 may identify the backup data stored in the external storage device 240 as a restoration target. In this case, since there is one backup data stored in the external storage device 240 , the processor 210 may identify the stored backup data as a restoration target in response to the second user input or may not perform data restoration.
  • the processor 210 may decrypt the identified backup data based on the decryption key.
  • the decryption key in operation 570 may be the decryption key received in operation 530 .
  • operation 570 may be successfully performed.
  • the processor 210 may not be able to decrypt the identified backup data. In this case, the processor 210 may end the operation.
  • the processor 210 may restore the decrypted backup data.
  • the processor 210 may store the restored data in the memory of the electronic device 200 (eg, the memory 230 of FIG. 2 ).
  • FIG. 6 illustrates an application screen for data restoration according to an exemplary embodiment.
  • the processor may display the screen 600 and the screen 650 through a display (eg, the display module 160 of FIG. 1 ).
  • the processor 210 may select backup data to be restored based on a user input to the screen 600 (eg, the second user input of FIG. 6 ).
  • the processor 210 may display graphic objects 610 , 620 , 622 , 624 , and 626 corresponding to a plurality of backup data through the display.
  • the processor 210 is a graphic object (610, 620, 622, 624, 626) through the graphic object (610, 620, 622, 624, 626) generation time of the backup data corresponding to each of the device generating the backup data
  • Information about the device (or user account) and/or the capacity of the backup data may be displayed.
  • the backup data corresponding to the graphic object 610 is generated by the Galaxy S20 (eg, device name) on November 6, 2020, and the data capacity may be about 2.6G. It may be understood that the backup data corresponding to the graphic object 610 and the backup data corresponding to the graphic object 620 , 622 , 624 , and 626 are generated by different electronic devices. In this case, it may be understood that the backup data corresponding to the graphic object 610 and the backup data corresponding to the graphic object 620 , 622 , 624 , and 626 are generated based on different user accounts.
  • the user account linked to the Galaxy S20 and the user account linked to the Galaxy Note10 5G may be different.
  • the processor 210 cannot perform data restoration using backup data (eg, corresponding to the graphic object 610) generated based on the user account of the Galaxy S20.
  • the processor 210 may perform data restoration using at least one of the backup data (eg, corresponding to the graphic objects 620, 622, 624, 626) generated based on the user account of the Galaxy Note10 5G. have.
  • the processor 210 may receive a user input 630 (eg, the second user input of FIG. 4 ) with respect to at least one of the graphic objects 620 , 622 , 624 , and 626 .
  • a user input 630 eg, the second user input of FIG. 4
  • the user input 630 may be a drag input for selecting all of the graphic objects 622 , 624 , and 626 .
  • the user input 630 may include a plurality of touch inputs for selecting at least one of the graphic objects 620 , 622 , 624 , and 626 , respectively.
  • the processor 210 when the user input 630 for the graphic object 622 is received, the processor 210 includes backup data corresponding to the graphic object 622 to back up the graphic object 622 . All backup data created before the data can be identified as selected. Referring to the screen 650 , the processor 210 is linked with the graphic objects 622 , 624 , and 626 to indicate that the graphic objects 622 , 624 , and 626 are selected as restoration targets based on the user input 630 . Thus, a plurality of icons 640 may be displayed. The processor 210 may display a plurality of icons 645 in association with the graphic objects 610 and 620 that are not selected as restoration targets.
  • the processor 210 may restore data using backup data corresponding to the graphic objects 622 , 624 , and 626 selected on the screen 650 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

전자 장치는 프로세서, 외부 저장 장치와 기기 간 연결을 수립하도록 구성된 통신 회로, 및 프로세서와 작동적으로 연결되고, 인스트럭션들을 저장하는 메모리를 포함하고, 인스트럭션들은, 프로세서에 의해 실행될 때, 전자 장치가, 백업 기능을 제공하는 어플리케이션을 실행하고, 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하고, 메모리에 저장된 백업 이력을 식별하고, 백업 이력이 적어도 하나 존재함에 대응하여, 제1 데이터의 데이터 타입을 식별하고, 데이터 타입에 기반하여, 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 생성된 백업 데이터를 외부 저장 장치에 저장하도록 구성될 수 있다. 이 외에도 명세서를 통해 파악되는 다양한 실시 예가 가능하다.

Description

데이터 백업을 지원하는 전자 장치 및 그 운용 방법
본 개시(disclosure)의 다양한 실시예는 데이터 백업을 지원하는 전자 장치 및 그 운용 방법에 관한 것이다.
전자 장치의 사용자는 예기치 못한 데이터 손실 또는 비의도적(unintentional) 데이터 삭제에 대비하여 전자 장치에 저장된 데이터를 외부 저장 장치에 백업(backup)할 수 있다. 사용자가 백업된 데이터를 필요로 하는 경우, 전자 장치는 백업 데이터를 복원할 수 있다.
전자 장치는 시점을 달리하여 복수의 백업을 수행할 수 있다. 이 경우, 마지막 시점의 백업 데이터가 이전 시점의 백업 데이터에 덧쓰여지는(overwrite) 문제가 발생할 수 있다.
또한, 복수의 전자 장치가 하나의 외부 메모리에 백업 데이터를 저장할 수 있다. 이 경우, 일 전자 장치가 생성한 백업 데이터가 이전에 다른 전자 장치에 의해 저장된 백업 데이터에 덧쓰여지는 문제가 발생할 수 있다.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 프로세서, 외부 저장 장치와 기기 간 연결을 수립하도록 구성된 통신 회로, 및 상기 프로세서와 작동적으로 연결되고, 인스트럭션들을 저장하는 메모리를 포함하고, 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 백업 기능을 제공하는 어플리케이션을 실행하고, 상기 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하고, 상기 메모리에 저장된 백업 이력을 식별하고, 상기 백업 이력이 적어도 하나 존재함에 대응하여, 상기 제1 데이터의 데이터 타입을 식별하고, 상기 데이터 타입에 기반하여, 상기 제1 데이터의 전부 또는 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 상기 생성된 백업 데이터를 상기 외부 저장 장치에 저장하도록 구성될 수 있다.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치의 운용 방법은, 백업 기능을 제공하는 어플리케이션을 실행하는 동작, 상기 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하는 동작, 백업 이력을 식별하는 동작, 상기 백업 이력이 적어도 하나 존재함에 대응하여, 상기 제1 데이터의 데이터 타입을 식별하는 동작, 상기 데이터 타입에 기반하여, 상기 제1 데이터의 전부 또는 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 동작, 및 상기 생성된 백업 데이터를 외부 저장 장치에 저장하는 동작을 포함할 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치는 여러 시점에 따른 차분 백업을 제공함으로써, 외부 저장 장치의 저장 공간을 보다 효율적으로 관리할 수 있다.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치는 사용자 계정에 기반하여 암호화된 백업 데이터를 생성함으로써, 백업 및 복원 기능의 보안을 강화할 수 있다.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
본 개시의 다양한 실시 예들에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
도 1은, 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 본 개시의 일 실시 예에 따른 전자 장치의 구성을 도시한다.
도 3a는 다양한 실시예에 따른 백업 데이터의 생성 및 저장을 설명한 흐름도이다.
도 3b는 다양한 실시예에 따른 백업 데이터의 생성 및 저장을 설명한 흐름도이다.
도 4는 일 실시예에 따른 백업 데이터의 암호화 동작을 설명한 흐름도이다.
도 5는 일 실시예에 따른, 데이터 복원을 설명한 흐름도이다.
도 6은 일 실시예에 따른 데이터 복원을 위한 어플리케이션 화면을 도시한 것이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은, 다양한 실시 예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들 간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시 예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시 예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2는 본 개시의 일 실시 예에 따른 전자 장치의 구성을 도시한다.
일 실시 예에 따르면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 프로세서(210), 통신 회로(220), 및/또는 메모리(230)를 포함할 수 있다. 도 2에 도시된 전자 장치(200)는 도 1의 전자 장치(101)의 구성들 중 적어도 일부를 더 포함할 수 있다. 예를 들어, 전자 장치(200)는 도 1의 배터리(189)를 더 포함할 수 있다.
일 실시예에 따르면, 프로세서(210), 통신 회로(220), 또는 메모리(230)는 도 1의 프로세서(120), 통신 모듈(190), 또는 메모리(130)에 각각 대응할 수 있다.
일 실시예에 따르면, 프로세서(210)는 통신 회로(220)를 이용하여 외부 저장 장치(240)(예: 도 1의 전자 장치(102) 또는 전자 장치(104)))와 기기 간 연결을 수립할 수 있다. 통신 회로(220)가 제공하는 기기 간 연결은 유선 통신 또는 무선 통신일 수 있다. 예를 들어, 외부 저장 장치(240)는 적어도 하나의 서버(250)(예: 도 1의 서버(108))에 포함된 메모리일 수 있다. 다른 예를 들어, 외부 저장 장치(240)는 자기 저장 장치(magnetic storage)(예: 외장 하드 디스크 드라이브), 및/또는 플래시 메모리 디바이스(flash memory device)(예: 메모리 카드, 메모리 스틱, USB(universal serial bus) 드라이브)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(210)는 USB 인터페이스(예: 도 1의 인터페이스(177))를 통해 외부 저장 장치(240)와 기기 간 연결을 수립할 수 있다.
일 실시예에 따르면, 프로세서(210)는 백업 기능을 제공하는 어플리케이션(예: 도 1의 어플리케이션(146))을 실행할 수 있다.
프로세서(210)는 어플리케이션에 대한 사용자 입력에 기반하여 백업 데이터를 생성할 수 있다. 일 실시예에 따르면, 프로세서(210)는 백업 방식(예: 전부 백업 또는 차분 백업)에 기반하여 백업 데이터를 생성할 수 있다.
일 실시예에 따르면, 차분 백업 방식은 사용자 입력에 기반하여 식별된 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 방식일 수 있다. 프로세서(210)는 차분 백업을 통해 복수의 백업 데이터 간 중복되는 데이터의 양을 감소시킬 수 있다. 전부 백업 방식은 사용자 입력에 기반하여 식별된 데이터 전부를 백업 데이터로 생성하는 방식일 수 있다.
일 실시 예에서, 백업 방식은 외부 저장 장치(240)에 저장된 백업 이력 정보에 기반하여 결정될 수 있다. 일 실시 예에서, 백업 방식은 백업될 데이터의 데이터 타입에 기반하여 결정될 수 있다. 일 실시예에서, 백업 방식은 백업될 데이터의 크기에 기반하여 결정될 수 있다. 일 실시 예에서, 백업될 데이터는 사용자의 입력에 의해 식별될 수 있다.
일 실시예에 따르면, 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함할 수 있다. 제1 데이터 타입은 사진, 음악, 비디오, 문서, 음성 기록, 가사(lyrics), 인증서, 또는 재생 목록(playlist) 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제1 데이터 타입은 지정된 확장자명을 가지는 데이터 포맷(예: 파일(file))으로 저장될 수 있다. 예를 들어, 사진은 jpg 또는 png 파일, 음악은 mp3 파일, 문서는 doc 또는 ppt 파일로 저장될 수 있다. 일 실시예에 따르면, 제2 데이터 타입은 연락처, 캘린더(calendar), 문자, 메모, APK(android application package), 홈스크린(homescreen) 설정(예: 레이아웃(layout), 월 페이퍼(wallpaper), 세팅(setting) 값), WiFi 설정, 블루투스(Bluetooth) 설정, 키보드 설정, 접근 권한(accessibility) 설정, 폰트(font), 카메라 설정, AOD(always on display) 설정, 엣지 패널(edge panel) 설정, 또는 알림(notification) 설정 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제2 데이터 타입은 PIMS(personal information management system) 데이터 포맷으로 저장될 수 있다.
프로세서(210)는 생성된 백업 데이터를 기기 간 연결을 통하여 외부 저장 장치(240)에 저장할 수 있다.
일 실시예에 따르면, 프로세서(210)는 사용자 계정에 기반하여 백업 데이터를 암호화할 수 있다. 일 실시예에 따르면, 프로세서(210)는 사용자 입력에 응답하여 적어도 하나의 서버(250)(예: 도 1의 서버(108))로 사용자 인증을 요청할 수 있다. 적어도 하나의 서버(250)가 사용자 인증에 성공하는 경우, 프로세서(210)는 적어도 하나의 서버(250)로부터 암호화 키를 수신할 수 있다. 일 실시예에 따르면, 암호화 키는 사용자 계정(account)에 기반한 계정 키로 이해될 수 있다. 프로세서(210)는 암호화 키에 기반하여 생성된 백업 데이터를 암호화할 수 있다. 프로세서(210)는 암호화된 백업 데이터를 외부 저장 장치(240)에 저장할 수 있다.
일 실시예에 따르면, 프로세서(210)는 외부 저장 장치(240)에 저장된 백업 데이터를 이용하여 데이터 복원을 수행할 수 있다. 일 실시예에 따르면, 외부 저장 장치(240)는 전자 장치(200) 또는 적어도 하나의 외부 전자 장치(260)에 의해 생성된 복수의 백업 데이터를 저장할 수 있다. 복수의 백업 데이터는 사용자 계정에 기반하여 식별될 수 있다. 예를 들어, 복수의 백업 데이터는 해당 백업 데이터를 생성한 전자 장치(예: 전자 장치(200) 또는 적어도 하나의 외부 전자 장치(260))와 연동된 사용자 계정 정보를 포함할 수 있다. 또는, 복수의 백업 데이터는 해당 백업 데이터를 생성한 전자 장치와 연동된 사용자 계정에 기반하여 암호화될 수 있다. 프로세서(210)는 외부 저장 장치(240)에 저장된 복수의 백업 데이터 중 전자 장치(200)와 연동된 사용자 계정과 동일한 사용자 계정에 기반하여 생성된 백업 데이터만을 이용하여 데이터 복원을 수행할 수 있다.
일 실시예에 따르면, 프로세서(210)는 외부 저장 장치(240)에 저장된 적어도 하나의 백업 데이터를 이용하여 데이터 복원을 수행할 수 있다. 적어도 하나의 백업 데이터는 전자 장치(200)와 연동된 사용자 계정과 동일한 사용자 계정에 기반하여 생성된 백업 데이터로 이해될 수 있다. 프로세서(210)는 어플리케이션에 대한 사용자 입력에 기반하여 데이터 복원에 이용할 적어도 하나의 백업 데이터를 선택할 수 있다. 예를 들어, 외부 저장 장치(240)에 시점을 달리하여 생성된 복수의 백업 데이터가 저장되어 있는 경우, 프로세서(210)는 사용자 입력에 기반하여 복수의 백업 데이터 중 적어도 일부를 이용하여 데이터 복원을 수행할 수 있다.
일 실시예에 따르면, 프로세서(210)는 사용자 계정에 기반한 데이터 복원을 수행할 수 있다. 일 실시예에 따르면, 데이터 복원을 수행할 때, 프로세서(210)는 사용자 입력에 응답하여 적어도 하나의 서버(250)로 사용자 인증을 요청할 수 있다. 적어도 하나의 서버(250)가 사용자 인증에 성공하는 경우, 프로세서(210)는 적어도 하나의 서버(250)로부터 복호화 키를 수신할 수 있다. 복호화 키는 사용자 계정에 기반한 계정 키로 이해될 수 있다. 이 경우, 암호화 키와 복호화 키는 대칭 키일 수 있다. 프로세서(210)는 복호화 키에 기반하여 암호화된 적어도 하나의 백업 데이터를 복호화할 수 있다. 프로세서(210)는 복호화된 적어도 하나의 백업 데이터를 이용하여 데이터 백업을 수행할 수 있다.
일 실시예에 따르면, 전자 장치(200)는 프로세서(210), 외부 저장 장치(240)와 기기 간 연결을 수립하도록 구성된 통신 회로(220), 및 프로세서(210)와 작동적으로 연결되고, 인스트럭션들을 저장하는 메모리(230)를 포함할 수 있다. 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 백업 기능을 제공하는 어플리케이션을 실행하고, 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하고, 메모리(230)에 저장된 제1 데이터와 관련된 백업 이력을 식별하고, 백업 이력이 적어도 하나 존재함에 대응하여, 제1 데이터의 데이터 타입을 식별하고, 데이터 타입에 기반하여, 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 생성된 백업 데이터를 외부 저장 장치(240)에 저장하도록 구성될 수 있다. 일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 백업 이력이 존재하지 않음에 대응하여, 제1 데이터의 전부를 백업 데이터로 생성하도록 구성될 수 있다.
일 실시예에 따르면, 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함하고, 제1 데이터 타입은 비디오 또는 이미지 파일 중 적어도 하나를 포함하고, 제2 데이터 타입은 연락처, 메시지 기록, 또는 캘린더 정보 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제1 데이터의 데이터 타입이 제1 데이터 타입인 경우, 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 제1 데이터의 데이터 타입이 제2 데이터 타입인 경우, 제1 데이터 전부를 백업 데이터로 생성하도록 구성될 수 있다. 일 실시예에 따르면, 외부 저장 장치(240)는 자기 저장 장치(magnetic storage)(예: 외장 하드 디스크 드라이브), 및/또는 플래시 메모리 디바이스(flash memory device)(예: 메모리 카드, 메모리 스틱, USB(universal serial bus) 드라이브)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(210)는 USB 인터페이스를 통해 외부 저장 장치(240)와 기기 간 연결을 수립할 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 제1 사용자 입력에 응답하여 적어도 하나의 서버로 사용자 인증을 요청하고, 사용자 인증 결과에 기반하여 적어도 하나의 서버(250)로부터 암호화 키를 수신하고, 암호화 키에 기반하여 백업 데이터를 암호화하도록 구성될 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 어플리케이션에 대하여 데이터 복원을 위한 제2 사용자 입력을 수신하고, 제2 사용자 입력에 기반하여 외부 저장 장치(240)에 저장된 복수의 백업 데이터 중 적어도 하나를 식별하고, 식별된 적어도 하나의 백업 데이터를 복원하도록 구성되고, 복수의 백업 데이터는 각각 생성 시점을 달리할 수 있다. 일 실시예에 따르면, 외부 저장 장치(240)에 저장된 복수의 백업 데이터는 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성될 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 제2 사용자 입력에 응답하여 적어도 하나의 서버(250)로 사용자 인증을 요청하고, 사용자 인증 결과에 기반하여 적어도 하나의 서버(250)로부터 복호화 키를 수신하고, 복호화 키에 기반하여 식별된 적어도 하나의 백업 데이터를 복호화하도록 구성되고, 복호화 키는 암호화 키에 대응할 수 있다.
일 실시예에 따르면, 전자 장치(200)는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 더 포함하고, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 디스플레이를 통하여 외부 저장 장치(240)에 저장된 복수의 백업 데이터에 대응하는 그래픽 객체를 복수의 백업 데이터 각각의 생성 시점, 복수의 백업 데이터를 생성한 장치 정보 또는 데이터 용량 중 적어도 하나와 함께 표시하고, 그래픽 객체에 대한 제2 사용자 입력을 수신하도록 구성될 수 있다.
일 실시예에 따르면, 전자 장치(200)는 프로세서(210), 외부 저장 장치(240)와 기기 간 연결을 수립하도록 구성된 통신 회로(220), 및 프로세서(210)와 작동적으로 연결되고, 인스트럭션들을 저장하는 메모리(230)를 포함할 수 있다. 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 백업 기능을 제공하는 어플리케이션을 실행하고, 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하고, 메모리(230)에 저장된 백업 이력을 식별하고, 백업 이력이 적어도 하나 존재함에 대응하여, 제1 데이터의 데이터 타입을 식별하고, 데이터 타입에 기반하여, 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 생성된 백업 데이터를 외부 저장 장치(240)에 저장하도록 구성될 수 있다. 예를 들어, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 백업 이력이 존재하지 않음에 대응하여, 제1 데이터의 전부를 백업 데이터로 생성하도록 구성될 수 있다.
일 실시예에 따르면, 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함하고, 제1 데이터 타입은 비디오 또는 이미지 파일 중 적어도 하나를 포함하고, 제2 데이터 타입은 연락처, 메시지 기록, 또는 캘린더 정보 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 제1 데이터의 데이터 타입이 제1 데이터 타입인 경우, 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고, 제1 데이터의 데이터 타입이 제2 데이터 타입인 경우, 제1 데이터 전부를 백업 데이터로 생성하도록 구성될 수 있다.
일 실시예에 따르면, 외부 저장 장치(240)는 SSD(solid state drive), HDD(hard disk drive), 또는 USB(universal serial bus) 드라이브 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 제1 사용자 입력에 응답하여 적어도 하나의 서버(250)로 사용자 인증을 요청하고, 사용자 인증 결과에 기반하여 적어도 하나의 서버(250)로부터 암호화 키를 수신하고, 암호화 키에 기반하여 백업 데이터를 암호화하도록 구성될 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 어플리케이션에 대하여 데이터 복원을 위한 제2 사용자 입력을 수신하고, 제2 사용자 입력에 기반하여 외부 저장 장치(240)에 저장된 복수의 백업 데이터 중 적어도 하나를 식별하고, 식별된 적어도 하나의 백업 데이터를 복원하도록 구성되고, 복수의 백업 데이터는 각각 생성 시점을 달리할 수 있다. 일 실시예에 따르면, 외부 저장 장치(240)에 저장된 복수의 백업 데이터는 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성될 수 있다.
일 실시예에 따르면, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 제2 사용자 입력에 응답하여 적어도 하나의 서버(250)로 사용자 인증을 요청하고, 사용자 인증 결과에 기반하여 적어도 하나의 서버(250)로부터 복호화 키를 수신하고, 복호화 키에 기반하여 식별된 적어도 하나의 백업 데이터를 복호화하도록 구성되고, 복호화 키는 암호화 키에 대응할 수 있다.
일 실시예에 따르면, 전자 장치(200)는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 더 포함하고, 인스트럭션들은, 프로세서(210)에 의해 실행될 때, 전자 장치(200)가, 디스플레이를 통하여 외부 저장 장치(240)에 저장된 복수의 백업 데이터에 대응하는 그래픽 객체를 복수의 백업 데이터 각각의 생성 시점, 복수의 백업 데이터를 생성한 장치 정보, 또는 데이터 용량 중 적어도 하나와 함께 표시하도록 구성되고, 제2 사용자 입력은 그래픽 객체에 대한 사용자 입력을 포함할 수 있다.
도 3a는 다양한 실시예에 따른 백업 데이터의 생성 및 저장을 설명한 흐름도이다.
동작 300을 참조하면, 프로세서(예: 도 2의 프로세서(210))는 백업 기능을 제공하는 어플리케이션을 실행할 수 있다.
동작 310에서, 프로세서(210)는 어플리케이션에 대한 제1 사용자 입력을 수신할 수 있다. 예를 들어, 제1 사용자 입력은 디스플레이(예: 도 1의 디스플레이 모듈(160))에 대한 사용자의 터치 입력으로 이해될 수 있다. 이 밖에도 사용자 입력은 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))가 지정된 동작을 수행하도록 하기 위하여 지정된 모든 상호작용(예: 제스처, 음성 명령)을 포함할 수 있다. 일 실시예에 따르면, 제1 사용자 입력은 도 3a의 동작들을 수행하기 위한 적어도 하나의 사용자 입력을 포함할 수 있다.
동작 320에서, 프로세서(210)는 제1 사용자 입력에 응답하여 제1 데이터를 식별할 수 있다. 제1 데이터는 백업 대상이 되는 데이터로 이해될 수 있다.
동작 330에서, 프로세서(210)는 메모리(예: 도 2의 메모리(230))에 저장된 백업 이력을 식별할 수 있다. 백업 이력은 동작 310 이전에 수행된 백업과 관련된 정보를 포함할 수 있다. 일 실시예에 따르면, 동작 330의 백업 이력은 전자 장치(200)와 연동된 사용자 계정에 기반하여 수행된 백업과 관련된 정보를 포함할 수 있다.
동작 340에서, 프로세서(210)는 백업 이력에 기반하여 백업 이력이 적어도 하나 존재하는지 식별할 수 있다.
백업 이력이 적어도 하나 존재하는 경우(동작 340 - YES), 프로세서(210)는 동작 350으로 진행할 수 있다. 프로세서(210)는 동작 350에서 제1 데이터의 데이터 타입을 식별할 수 있다. 일 실시예에 따르면, 제1 데이터는 제1 데이터 타입 또는 제2 데이터 타입에 해당할 수 있다. 또는, 제1 데이터의 일부는 제1 데이터 타입에 해당하고, 나머지 일부는 제2 데이터 타입에 해당할 수 있다.
일 실시예에 따르면, 제1 데이터 타입은 사진, 음악, 비디오, 문서, 음성 기록, 가사, 인증서, 또는 재생 목록(playlist) 중 적어도 하나를 포함할 수 있다. 제2 데이터 타입은 연락처, 캘린더(calendar), 문자, 메모, APK(android application package), 홈스크린(homescreen) 설정(예: 레이아웃(layout), 월 페이퍼(wallpaper), 세팅(setting) 값), WiFi 설정, 블루투스(Bluetooth) 설정, 키보드 설정, 접근 권한(accessibility) 설정, 폰트(font), 카메라 설정, AOD(always on display) 설정, 엣지 패널(edge panel) 설정, 또는 알림(notification) 설정 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 제1 데이터 타입은 제2 데이터 타입에 비하여 일반적으로 데이터 용량이 큰 데이터 타입으로 이해될 수 있다.
동작 355에서, 프로세서(210)는 제1 데이터의 데이터 타입에 기반하여, 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성할 수 있다.
일 실시예에 따르면, 제1 데이터의 데이터 타입이 제1 데이터 타입인 경우, 프로세서(210)는 제1 데이터를 차분 백업할 수 있다. 다시 말해, 프로세서(210)는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성할 수 있다. 차분 백업을 통해 프로세서(210)는 복수의 백업 데이터 간 중복되는 데이터의 양을 감소시킬 수 있다. 프로세서(210)는 누적된 백업 데이터의 전체 데이터 용량을 감소시켜 외부 저장 장치(240)의 저장 공간을 보다 효율적으로 관리할 수 있다.
일 실시예에 따르면, 제1 데이터의 데이터 타입이 제2 데이터 타입인 경우, 프로세서(210)는 제1 데이터를 전부 백업할 수 있다. 다시 말해, 프로세서(210)는 제1 데이터의 전부를 백업 데이터로 생성할 수 있다. 제2 데이터 타입의 데이터들은 제1 데이터 타입에 비하여 상대적으로 데이터 용량이 작으므로, 누적된 백업 데이터로 인한 외부 저장 장치(240)의 저장 공간 부족을 야기할 가능성이 낮을 수 있다. 따라서, 프로세서(210)는 백업 이력과 무관하게 제2 데이터 타입의 제1 데이터 전부를 백업 데이터로 생성할 수 있다.
제1 데이터의 일부가 제1 데이터 타입에 해당하고, 나머지 일부가 제2 데이터 타입에 해당하는 경우, 프로세서(210)는 각 데이터 타입에 따라 동작 355에 따른 동작을 수행할 수 있다. 예를 들어, 프로세서(210)는 제1 데이터 중 제1 데이터 타입에 해당하는 일부에 대하여 차분 백업을 수행하고, 제1 데이터 중 제2 데이터 타입에 해당하는 일부에 대하여 전부 백업을 수행할 수 있다.
백업 이력이 적어도 하나 존재하지 않는 경우(동작 340 - NO), 프로세서(210)는 동작 360으로 진행할 수 있다. 동작 360에서, 프로세서(210)는 제1 데이터의 전부를 백업 데이터로 생성할 수 있다. 일 실시예에 따르면, 동작 360에서 생성된 백업 데이터는 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성된 최초의 백업 데이터일 수 있다.
동작 370에서, 프로세서(210)는 동작 355 또는 동작 360에서 생성된 백업 데이터를 외부 저장 장치(240)에 저장할 수 있다. 예를 들어, 외부 저장 장치(240)는 자기 저장 장치(magnetic storage)(예: 외장 하드 디스크 드라이브), 및/또는 플래시 메모리 디바이스(flash memory device)(예: 메모리 카드, 메모리 스틱, USB(universal serial bus) 드라이브)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(210)는 USB 인터페이스를 통해 외부 저장 장치(240)와 기기 간 연결을 수립할 수 있다. 다른 예를 들어, 외부 저장 장치(240)는 적어도 하나의 서버(250)에 포함된 메모리일 수 있다.
일 실시예에 따르면, 전자 장치(200)의 동작 방법으로서, 백업 기능을 제공하는 어플리케이션을 실행하는 동작, 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하는 동작, 제1 데이터와 관련된 백업 이력을 식별하는 동작, 백업 이력이 적어도 하나 존재함에 대응하여, 제1 데이터의 데이터 타입을 식별하는 동작, 데이터 타입에 기반하여, 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 동작, 및 생성된 백업 데이터를 외부 저장 장치(240)에 저장하는 동작을 포함할 수 있다. 일 실시예에 따르면, 전자 장치(200)의 동작 방법은 백업 이력이 존재하지 않음에 대응하여, 제1 데이터의 전부를 백업 데이터로 생성하는 동작을 더 포함할 수 있다.
일 실시예에 따르면, 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함하고, 제1 데이터 타입은 비디오 또는 이미지 파일 중 적어도 하나를 포함하고, 제2 데이터 타입은 연락처, 메시지 기록, 또는 캘린더 정보 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 전자 장치(200)의 동작 방법은 제1 데이터의 데이터 타입이 제1 데이터 타입인 경우, 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 동작 및 제1 데이터의 데이터 타입이 제2 데이터 타입인 경우, 제1 데이터 전부를 백업 데이터로 생성하는 동작을 포함할 수 있다.
일 실시예에 따르면, 외부 저장 장치(240)는 SSD(solid state drive), HDD(hard disk drive) 또는 USB(universal serial bus) 드라이브 중 적어도 하나를 포함할 수 있다.
도 3b는 다양한 실시예에 따른 백업 데이터의 생성 및 저장을 설명한 흐름도이다.
도 3b의 참조 번호들 중 도 3a의 참조 번호와 동일한 참조 번호는 도 3a에 대한 설명에 의해 참조될 수 있다. 이하에서, 도 3b와 도 3a의 차이점을 중심으로 설명한다.
동작 352에서, 프로세서(210)는 제1 데이터의 크기를 식별할 수 있다. 일 실시예에 따르면, 프로세서(210)는 제1 데이터 전체의 크기를 식별할 수 있다. 일 실시예에 따르면, 프로세서(210)는 제1 데이터의 데이터 타입을 식별하고 제1 데이터가 복수의 데이터 타입에 기반한 데이터를 포함하는 경우, 각각의 데이터 타입에 따른 데이터의 크기를 식별할 수 있다. 데이터 타입에 대한 설명은 도 3a의 데이터 타입에 대한 설명에 의해 참조될 수 있다.
동작 357에서, 프로세서(210)는 제1 데이터의 크기에 기반하여 제1 데이터의 전부 또는 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성할 수 있다. 일 실시예에 따르면, 프로세서(210)는 제1 데이터의 크기를 임계 값과 비교하여 전부 백업을 수행할 것인지 차분 백업을 수행할 것인지 결정할 수 있다. 임계 값은 외부 저장 장치(240)에서 백업 데이터가 차지하는 저장 공간이 일정 수준 이하가 되게 하는 값으로 설정될 수 있다.
일 실시예에 따르면, 프로세서(210)는 제1 데이터의 크기가 임계 값 이상인 경우, 차분 백업을 수행할 수 있다. 프로세서(210)는 제1 데이터의 크기가 임계 값 미만인 경우, 전부 백업을 수행할 수 있다. 예를 들어, 프로세서(210)는 제1 데이터 전체의 크기가 임계 값 미만인 경우, 데이터 타입과 무관하게 전부 백업을 수행하여 외부 저장 장치(240)의 저장 공간을 효율적으로 관리할 수 있다. 다른 예를 들어, 프로세서(210)는 제1 데이터 타입에 기반한 데이터와 제2 데이터 타입에 기반한 데이터에 대하여 임계 값을 다르게 설정할 수 있다. 프로세서(210)는 제1 데이터 타입에 기반한 데이터의 크기를 제1 임계 값과 비교하고, 제2 데이터 타입에 기반한 데이터의 크기를 제2 임계 값과 비교하여 백업 방식을 각각 결정할 수 있다.
다른 실시예에 따르면, 프로세서(210)는 제1 데이터에 포함된 데이터들의 데이터 타입을 식별할 수 있다. 경우에 따라, 제2 데이터 타입의 데이터가 제1 데이터 타입의 데이터보다 더 많은 저장 공간을 차지할 수 있다. 예를 들어, 이미지 및/또는 동영상(예: 제1 데이터 타입의 데이터)이 첨부된 메모(예: 제2 데이터 타입의 데이터)에 대한 백업을 수행하는 경우, 메모 데이터의 크기가 제1 데이터 타입에 기반한 데이터의 크기보다 클 수 있다. 일 실시예에 따르면, 프로세서(210)는 제1 데이터 타입에 기반한 데이터와 제2 데이터 타입에 기반한 데이터의 상대적 비중에 따라 임계 값을 다르게 설정할 수 있다. 예를 들어, 프로세서(210)는 제1 데이터에 포함된 제2 데이터 타입에 기반한 데이터의 크기와 제1 데이터 타입에 기반한 데이터의 크기를 비교하여 제2 데이터 타입에 대한 임계 값을 결정할 수 있다. 프로세서(210)는 제2 데이터의 타입에 기반한 데이터의 크기와 임계 값을 비교하여 백업 방식을 결정할 수 있다. 이 경우, 프로세서(210)는 제1 데이터 타입에 기반한 데이터에 대하여 차분 백업을 수행할 수 있다. 또는, 프로세서(210)는 제1 데이터 타입에 기반한 데이터를 임계 값(예: 제2 데이터 타입에 기반한 데이터에 대한 임계 값과 동일하거나 상이)과 비교하여 백업 방식을 결정할 수 있다.
도 4는 일 실시예에 따른 백업 데이터의 암호화 동작을 설명한 흐름도이다.
도 4의 전자 장치(예: 도 2의 전자 장치(200))의 동작들은 도 3a의 전자 장치(200)의 동작들에 있어서 보안 동작이 더 추가된 것이다. 도 4의 동작 400 및 동작 410은 각각 도 3a의 동작 300 및 동작 310에 대응할 수 있다.
동작 400에서, 프로세서(210)는 백업 기능을 제공하는 어플리케이션을 실행할 수 있다.
동작 410에서, 프로세서(210)는 어플리케이션에 대한 제1 사용자 입력을 수신할 수 있다.
동작 420에서, 프로세서(210)는 제1 사용자 입력에 응답하여 적어도 하나의 서버(예: 도 2의 적어도 하나의 서버(250))로 사용자 인증을 요청할 수 있다. 적어도 하나의 서버(250)는 사용자 인증 요청에 응답하여 사용자 계정에 기반한 사용자 인증을 수행할 수 있다.
일 실시예에 따르면, 동작 430에서 프로세서(210)는 사용자 인증에 성공하였는지 식별할 수 있다. 예를 들어, 적어도 하나의 서버(250)의 사용자 인증은 사용자에게 ID 및 패스워드(password)의 입력을 요구할 수 있다. 적어도 하나의 서버(250)는 사용자가 입력한 ID 및 패스워드(password)에 기반하여 전자 장치(200)의 사용자가 적어도 하나의 서버(250)에 등록된 사용자인지 여부를 판단할 수 있다. 다른 예를 들어, 적어도 하나의 서버(250)의 사용자 인증은 사용자에게 생체 정보(예: 지문, 홍채)를 요구할 수 있다. 적어도 하나의 서버(250)는 사용자의 생체 정보를 적어도 하나의 서버(250)에 저장된 생체 정보와 비교하여 전자 장치(200)의 사용자가 적어도 하나의 서버(250)에 등록된 사용자인지 여부를 판단할 수 있다. 전자 장치(200)의 사용자가 적어도 하나의 서버(250)에 등록된 사용자 정보와 일치하는 경우, 적어도 하나의 서버(250)는 전자 장치(200)의 사용자 인증이 성공한 것으로 판단할 수 있다.
적어도 하나의 서버(250)가 사용자 인증에 실패한 경우(동작 430 -NO), 프로세서(210)는 동작을 종료할 수 있다.
적어도 하나의 서버(250)가 사용자 인증에 성공한 경우(동작 430 -YES), 프로세서(210)는 동작 440으로 진행할 수 있다.
동작 440에서, 프로세서(210)는 적어도 하나의 서버(250)로부터 암호화 키를 수신할 수 있다. 일 실시예에 따르면, 동작 440의 암호화 키는 사용자의 계정에 기반하여 생성된 계정 키(account key)로 이해될 수 있다. 일 실시예에 따르면, 적어도 하나의 서버(250)는 적어도 하나의 서버(250)에 등록된 사용자들에게 각기 다른 고유 값을 부여할 수 있다. 계정 키는 전자 장치(200)의 사용자에게 부여된 고유 값에 기반하여 생성될 수 있다.
동작 450에서, 프로세서(210)는 암호화 키에 기반하여 생성된 백업 데이터를 암호화할 수 있다. 백업 데이터의 생성에 대한 설명은 도 3a에 대한 설명에 의해 참조될 수 있다. 동작 450의 백업 데이터는 도 3a의 동작 355 또는 동작 360에서 생성된 백업 데이터에 대응할 수 있다.
동작 460에서, 프로세서(210)는 암호화된 백업 데이터를 외부 저장 장치(예: 도 2의 외부 저장 장치(240))에 저장할 수 있다. 동작 460은 도 3a의 동작 370에 대응할 수 있다.
도 5는 일 실시예에 따른, 데이터 복원을 설명한 흐름도이다.
동작 500에서, 프로세서(예: 도 2의 프로세서(210))는 어플리케이션에 대한 제2 사용자 입력을 수신할 수 있다. 제2 사용자 입력은 도 5의 동작들을 수행하기 위한 적어도 하나의 사용자 입력을 포함할 수 있다.
동작 510에서, 프로세서(210)는 제2 사용자 입력에 응답하여 적어도 하나의 서버(예: 적어도 하나의 서버(250))로 사용자 인증을 요청할 수 있다. 동작 510의 사용자 인증은 사용자 계정에 기반한 사용자 인증일 수 있다. 동작 510의 사용자 인증은 도 4의 동작 420의 사용자 인증에 대응할 수 있다.
동작 520에서, 프로세서(210)는 사용자 인증에 성공하였는지 식별할 수 있다. 적어도 하나의 서버(250)가 사용자 인증에 실패한 경우(동작 520 - NO), 프로세서(210)는 동작을 종료할 수 있다.
적어도 하나의 서버(250)가 사용자 인증에 성공한 경우(동작 520 -YES), 프로세서(210)는 동작 530으로 진행할 수 있다. 동작 530에서, 프로세서(210)는 적어도 하나의 서버(250)로부터 복호화 키를 수신할 수 있다. 일 실시예에 따르면, 복호화 키는 사용자 계정에 부여된 고유 값에 기반하여 생성될 수 있다. 일 실시예에 따르면, 복호화 키는 도 4의 암호화 키와 동일할 수 있다. 이 경우, 복호화 키와 암호화 키는 대칭 키일 수 있다.
동작 540에서, 프로세서(210)는 외부 저장 장치(240)에 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성된 적어도 하나의 백업 데이터가 존재하는지 식별할 수 있다.
외부 저장 장치(240)에 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성된 적어도 하나의 백업 데이터가 존재하는 경우(동작 540 - YES), 프로세서(210)는 동작 550으로 진행할 수 있다.
일 실시예에 따르면, 외부 저장 장치(240)에 저장된 백업 데이터가 없는 경우(동작 540 - NO), 프로세서(210)는 동작을 종료할 수 있다. 또는, 외부 저장 장치(240)에 저장된 백업 데이터가 전자 장치(200)의 사용자가 아닌 다른 사용자 계정에 기반하여 생성된 경우(동작 540 - NO), 프로세서(210)는 동작을 종료할 수 있다.
동작 550에서, 프로세서(210)는 외부 저장 장치(240)에 저장된 백업 데이터가 복수 개인지 식별할 수 있다. 동작 550의 백업 데이터는 전자 장치(200)와 연동된 사용자 계정에 기반하여 생성된 백업 데이터일 수 있다.
백업 데이터가 복수 개인 경우(동작 550 - YES), 프로세서(210)는 동작 560으로 진행할 수 있다. 동작 560에서, 프로세서(210)는 제2 사용자 입력에 응답하여 외부 저장 장치(240)에 저장된 복수의 백업 데이터 중 적어도 하나를 식별할 수 있다. 일 실시예에 따르면, 사용자는 외부 저장 장치(240)에 저장된 복수의 백업 데이터 중 지정된 시점의 백업 데이터만을 복원하길 원할 수 있다. 사용자는 제2 사용자 입력을 수행하여 원하는 시점의 백업 데이터를 복원 대상으로 지정할 수 있다.
백업 데이터가 하나인 경우(동작 550 - NO), 프로세서(210)는 동작 565로 진행할 수 있다. 동작 565에서 프로세서(210)는 외부 저장 장치(240)에 저장된 백업 데이터를 복원 대상으로 식별할 수 있다. 이 경우, 외부 저장 장치(240)에 저장된 백업 데이터가 한 개이므로, 프로세서(210)는 제2 사용자 입력에 응답하여 저장된 백업 데이터를 복원 대상으로 식별하거나 데이터 복원을 수행하지 않을 수 있다.
동작 570에서, 프로세서(210)는 복호화 키에 기반하여 식별된 백업 데이터를 복호화할 수 있다. 동작 570의 복호화 키는 동작 530에서 수신된 복호화 키일 수 있다. 복호화 키와 백업 데이터를 암호화한 암호화 키가 일치하는 경우, 동작 570이 성공적으로 수행될 수 있다. 복호화 키와 백업 데이터를 암호화한 암호화 키가 일치하지 않는 경우, 프로세서(210)는 식별된 백업 데이터를 복호화하지 못할 수 있다. 이 경우, 프로세서(210)는 동작을 종료할 수 있다.
동작 580에서, 프로세서(210)는 복호화된 백업 데이터를 복원할 수 있다. 프로세서(210)는 복원된 데이터를 전자 장치(200)의 메모리(예: 도 2의 메모리(230))에 저장할 수 있다.
도 6은 일 실시예에 따른 데이터 복원을 위한 어플리케이션 화면을 도시한 것이다.
일 실시예에 따르면, 프로세서(예: 도 2의 프로세서(210))는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 통하여 화면(600) 및 화면(650)을 표시할 수 있다. 프로세서(210)는 화면(600)에 대한 사용자 입력(예: 도 6의 제2 사용자 입력)에 기반하여 복원의 대상이 되는 백업 데이터를 선택할 수 있다.
화면(600)을 참조하면, 프로세서(210)는 디스플레이를 통하여 복수의 백업 데이터에 대응하는 그래픽 객체(610, 620, 622, 624, 626)를 표시할 수 있다. 프로세서(210)는 그래픽 객체(610, 620, 622, 624, 626)를 통하여 그래픽 객체(610, 620, 622, 624, 626) 각각에 대응하는 백업 데이터의 생성 시점, 백업 데이터를 생성한 장치의 기기(또는 사용자 계정), 및/또는 백업 데이터의 용량에 관한 정보를 표시할 수 있다.
일 실시예에 따르면, 그래픽 객체(610)에 대응하는 백업 데이터는 2020년 11월 6일에 Galaxy S20(예: 기기명)에 의해 생성된 것으로 데이터 용량은 약 2.6G일 수 있다. 그래픽 객체(610)에 대응하는 백업 데이터와 그래픽 객체(620, 622, 624, 626)에 대응하는 백업 데이터는 서로 다른 전자 장치에 의해 생성된 것으로 이해될 수 있다. 이 경우, 그래픽 객체(610)에 대응하는 백업 데이터와 그래픽 객체(620, 622, 624, 626)에 대응하는 백업 데이터는 서로 다른 사용자 계정에 기반하여 생성된 것으로 이해될 수 있다.
일 실시예에 따르면, Galaxy S20와 연동된 사용자 계정과 Galaxy Note10 5G와 연동된 사용자 계정은 상이할 수 있다. 전자 장치(200)가 Galaxy Note10 5G인 경우, 프로세서(210)는 Galaxy S20의 사용자 계정에 기반하여 생성된 백업 데이터(예: 그래픽 객체(610)에 대응)를 이용하여 데이터 복원을 수행할 수 없다. 이 경우, 프로세서(210)는 Galaxy Note10 5G의 사용자 계정에 기반하여 생성된 백업 데이터(예: 그래픽 객체(620, 622, 624, 626)에 대응) 중 적어도 하나를 이용하여 데이터 복원을 수행할 수 있다.
일 실시예에 따르면, 프로세서(210)는 그래픽 객체(620, 622, 624, 626) 중 적어도 하나에 대하여 사용자 입력(630)(예: 도 4의 제2 사용자 입력)을 수신할 수 있다. 도 6에서 사용자 입력(630)은 그래픽 객체(622)에 대한 터치 입력으로 도시되었으나, 사용자 입력(630)은 그래픽 객체(622, 624, 626)을 모두 선택하는 드래그 입력일 수 있다. 다른 예를 들어, 사용자 입력(630)은 그래픽 객체(620, 622, 624, 626) 중 적어도 하나를 각각 선택하는 복수의 터치 입력을 포함할 수 있다.
일 실시예에 따르면, 그래픽 객체(622)에 대한 사용자 입력(630)이 수신된 경우, 프로세서(210)는 그래픽 객체(622)에 대응하는 백업 데이터를 포함하여 그래픽 객체(622)에 대응하는 백업 데이터 이전에 생성된 모든 백업 데이터가 선택된 것으로 식별할 수 있다. 화면(650)을 참조하면, 프로세서(210)는 사용자 입력(630)에 기반하여 그래픽 객체(622, 624, 626)가 복원 대상으로 선택된 것을 나타내기 위하여 그래픽 객체(622, 624, 626)와 연계하여 복수의 아이콘(640)을 표시할 수 있다. 프로세서(210)는 복원 대상으로 선택되지 않은 그래픽 객체(610, 620)와 연계하여 복수의 아이콘(645)을 표시할 수 있다.
일 실시예에 따르면, 프로세서(210)는 화면(650)에서 선택된 그래픽 객체(622, 624, 626)에 대응하는 백업 데이터를 이용하여 데이터 복원을 수행할 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    프로세서;
    외부 저장 장치와 기기 간 연결을 수립하도록 구성된 통신 회로; 및
    상기 프로세서와 작동적으로 연결되고, 인스트럭션들을 저장하는 메모리;를 포함하고,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    백업 기능을 제공하는 어플리케이션을 실행하고,
    상기 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하고,
    상기 메모리에 저장된 백업 이력을 식별하고,
    상기 백업 이력이 적어도 하나 존재함에 대응하여, 상기 제1 데이터의 데이터 타입을 식별하고,
    상기 데이터 타입에 기반하여, 상기 제1 데이터의 전부 또는 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고,
    상기 생성된 백업 데이터를 상기 외부 저장 장치에 저장하도록 구성되는,
    전자 장치.
  2. 제1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 백업 이력이 존재하지 않음에 대응하여, 상기 제1 데이터의 전부를 백업 데이터로 생성하도록 구성되는,
    전자 장치.
  3. 제1 항에 있어서,
    상기 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함하고,
    상기 제1 데이터 타입은 비디오 또는 이미지 파일 중 적어도 하나를 포함하고,
    상기 제2 데이터 타입은 연락처, 메시지 기록, 또는 캘린더 정보 중 적어도 하나를 포함하는,
    전자 장치.
  4. 제3 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 제1 데이터의 데이터 타입이 상기 제1 데이터 타입인 경우, 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하고,
    상기 제1 데이터의 데이터 타입이 상기 제2 데이터 타입인 경우, 상기 제1 데이터 전부를 백업 데이터로 생성하도록 구성되는,
    전자 장치.
  5. 제1 항에 있어서,
    상기 외부 저장 장치는 SSD(solid state drive), HDD(hard disk drive), 또는 USB(universal serial bus) 드라이브 중 적어도 하나를 포함하는,
    전자 장치.
  6. 제1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 제1 사용자 입력에 응답하여 적어도 하나의 서버로 사용자 인증을 요청하고,
    상기 사용자 인증 결과에 기반하여 상기 적어도 하나의 서버로부터 암호화 키를 수신하고,
    상기 암호화 키에 기반하여 상기 백업 데이터를 암호화하도록 구성된,
    전자 장치.
  7. 제6 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 어플리케이션에 대하여 데이터 복원을 위한 제2 사용자 입력을 수신하고,
    상기 제2 사용자 입력에 기반하여 상기 외부 저장 장치에 저장된 복수의 백업 데이터 중 적어도 하나를 식별하고,
    상기 식별된 적어도 하나의 백업 데이터를 복원하도록 구성되고,
    상기 복수의 백업 데이터는 각각 생성 시점을 달리하는,
    전자 장치.
  8. 제7 항에 있어서,
    상기 외부 저장 장치에 저장된 복수의 백업 데이터는 상기 전자 장치와 연동된 사용자 계정에 기반하여 생성된,
    전자 장치.
  9. 제8 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 제2 사용자 입력에 응답하여 상기 적어도 하나의 서버로 사용자 인증을 요청하고,
    상기 사용자 인증 결과에 기반하여 상기 적어도 하나의 서버로부터 복호화 키를 수신하고,
    상기 복호화 키에 기반하여 상기 식별된 적어도 하나의 백업 데이터를 복호화하도록 구성되고,
    상기 복호화 키는 상기 암호화 키에 대응하는,
    전자 장치.
  10. 제7 항에 있어서,
    디스플레이;를 더 포함하고,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
    상기 디스플레이를 통하여 상기 외부 저장 장치에 저장된 상기 복수의 백업 데이터에 대응하는 그래픽 객체를 상기 복수의 백업 데이터 각각의 생성 시점, 상기 복수의 백업 데이터를 생성한 장치 정보 또는 데이터 용량 중 적어도 하나와 함께 표시하도록 구성되고,
    상기 제2 사용자 입력은 상기 그래픽 객체에 대한 사용자 입력을 포함하는,
    전자 장치.
  11. 전자 장치의 동작 방법으로서,
    백업 기능을 제공하는 어플리케이션을 실행하는 동작;
    상기 어플리케이션에 대한 제1 사용자 입력에 응답하여, 제1 데이터를 식별하는 동작;
    백업 이력을 식별하는 동작;
    상기 백업 이력이 적어도 하나 존재함에 대응하여, 상기 제1 데이터의 데이터 타입을 식별하는 동작;
    상기 데이터 타입에 기반하여, 상기 제1 데이터의 전부 또는 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 동작; 및
    상기 생성된 백업 데이터를 외부 저장 장치에 저장하는 동작;을 포함하는,
    방법.
  12. 제11 항에 있어서,
    상기 백업 이력이 존재하지 않음에 대응하여, 상기 제1 데이터의 전부를 백업 데이터로 생성하는 동작;을 더 포함하는,
    방법.
  13. 제11 항에 있어서,
    상기 데이터 타입은 제1 데이터 타입 및 제2 데이터 타입을 포함하고,
    상기 제1 데이터 타입은 비디오 또는 이미지 파일 중 적어도 하나를 포함하고,
    상기 제2 데이터 타입은 연락처, 메시지 기록, 또는 캘린더 정보 중 적어도 하나를 포함하는,
    방법.
  14. 제13 항에 있어서,
    상기 제1 데이터의 데이터 타입이 상기 제1 데이터 타입인 경우, 상기 제1 데이터 중 최신 백업 이력에 따른 시점 이후에 생성된 일부를 백업 데이터로 생성하는 동작; 및
    상기 제1 데이터의 데이터 타입이 상기 제2 데이터 타입인 경우, 상기 제1 데이터 전부를 백업 데이터로 생성하는 동작;을 포함하는,
    방법.
  15. 제11 항에 있어서,
    상기 외부 저장 장치는 SSD(solid state drive), HDD(hard disk drive), 또는 USB(universal serial bus) 드라이브 중 적어도 하나를 포함하는,
    방법.
PCT/KR2021/018753 2021-01-12 2021-12-10 데이터 백업을 지원하는 전자 장치 및 그 운용 방법 WO2022154273A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/351,062 US20230359530A1 (en) 2021-01-12 2023-07-12 Electronic device for supporting data backup, and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0004038 2021-01-12
KR1020210004038A KR20220101939A (ko) 2021-01-12 2021-01-12 데이터 백업을 지원하는 전자 장치 및 그 운용 방법

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/351,062 Continuation US20230359530A1 (en) 2021-01-12 2023-07-12 Electronic device for supporting data backup, and operation method thereof

Publications (1)

Publication Number Publication Date
WO2022154273A1 true WO2022154273A1 (ko) 2022-07-21

Family

ID=82447440

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/018753 WO2022154273A1 (ko) 2021-01-12 2021-12-10 데이터 백업을 지원하는 전자 장치 및 그 운용 방법

Country Status (3)

Country Link
US (1) US20230359530A1 (ko)
KR (1) KR20220101939A (ko)
WO (1) WO2022154273A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168079A (ja) * 1992-11-27 1994-06-14 Sanyo Electric Co Ltd データバックアップシステム
JP2005122611A (ja) * 2003-10-20 2005-05-12 Hitachi Ltd ストレージ装置及びバックアップ取得方法
JP2006211051A (ja) * 2005-01-25 2006-08-10 Trinity Security Systems Inc 携帯通信装置、バックアップ装置、バックアップ方法、およびバックアッププログラム
KR101153023B1 (ko) * 2004-09-22 2012-06-11 마이크로소프트 코포레이션 합성 백업 및 복구에 대한 방법 및 시스템
KR20170088160A (ko) * 2016-01-22 2017-08-01 주식회사 안랩 파일보호시스템 및 파일 보호 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168079A (ja) * 1992-11-27 1994-06-14 Sanyo Electric Co Ltd データバックアップシステム
JP2005122611A (ja) * 2003-10-20 2005-05-12 Hitachi Ltd ストレージ装置及びバックアップ取得方法
KR101153023B1 (ko) * 2004-09-22 2012-06-11 마이크로소프트 코포레이션 합성 백업 및 복구에 대한 방법 및 시스템
JP2006211051A (ja) * 2005-01-25 2006-08-10 Trinity Security Systems Inc 携帯通信装置、バックアップ装置、バックアップ方法、およびバックアッププログラム
KR20170088160A (ko) * 2016-01-22 2017-08-01 주식회사 안랩 파일보호시스템 및 파일 보호 방법

Also Published As

Publication number Publication date
KR20220101939A (ko) 2022-07-19
US20230359530A1 (en) 2023-11-09

Similar Documents

Publication Publication Date Title
WO2022030891A1 (ko) 백업 데이터 복원 방법 및 이를 위한 전자 장치
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2020149555A1 (ko) 암호화될 데이터의 정보량에 기반하여 암호화에 사용될 키를 선택하는 전자 장치 및 전자 장치의 동작 방법
WO2019164204A1 (ko) 전자 장치 및 그의 동작 방법
WO2022154414A1 (ko) 전자 장치 및 전자 장치의 스토리지 운영 방법
WO2022154273A1 (ko) 데이터 백업을 지원하는 전자 장치 및 그 운용 방법
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2023085589A1 (ko) 전자 장치의 초기화 상황에서 데이터 보존 방법 및 그 전자 장치
WO2023022535A1 (ko) 개인키의 복원 문구를 생성하기 위한 전자 장치 및 그 전자 장치에서의 동작 방법
WO2023003150A1 (ko) 보안 요소의 백업을 수행하는 전자 장치 및 백업 방법
WO2022065704A1 (ko) 비 파괴 편집 컨텐츠 관리 방법 및 장치
WO2023149770A1 (ko) 전자 장치에서 영상을 편집하는 방법 및 장치
WO2023013886A1 (ko) 분리 권한을 이용하는 전자 장치 및 그 동작 방법
WO2024072117A1 (ko) 전자 장치 및 어플리케이션 간의 통신 방법
WO2022191455A1 (ko) 파일 리댁션을 수행하는 전자 장치 및 이의 동작 방법
WO2024096639A1 (ko) 전자 장치 및 전자 장치에서 데이터를 검증하는 방법
WO2022177120A1 (ko) 전자 장치 및 전자 장치의 제어 방법
WO2024010177A1 (ko) 보안 회로의 애플릿을 갱신하기 위한 전자 장치 및 그의 동작 방법
WO2022163907A1 (ko) 전자 장치 및 이의 제어 방법
WO2022177206A2 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022191454A1 (ko) 블록 장치 이미지에 대한 런타임 체크섬 검증을 수행하는 전자 장치 및 이의 동작 방법
WO2023054936A1 (ko) 블록체인 네트워크에서 블록 데이터를 복구하는 전자 장치 및 그의 동작 방법
WO2024071582A1 (ko) 블록체인 기반 데이터 전송 방법 및 장치
WO2024112057A1 (ko) 보안 데이터를 저장하는 전자 장치 및 그 동작 방법

Legal Events

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

Ref document number: 21919897

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21919897

Country of ref document: EP

Kind code of ref document: A1