KR20190109979A - Electronic device and method for controling update thereof - Google Patents

Electronic device and method for controling update thereof Download PDF

Info

Publication number
KR20190109979A
KR20190109979A KR1020180031732A KR20180031732A KR20190109979A KR 20190109979 A KR20190109979 A KR 20190109979A KR 1020180031732 A KR1020180031732 A KR 1020180031732A KR 20180031732 A KR20180031732 A KR 20180031732A KR 20190109979 A KR20190109979 A KR 20190109979A
Authority
KR
South Korea
Prior art keywords
data
memory
recovery
new version
downloaded
Prior art date
Application number
KR1020180031732A
Other languages
Korean (ko)
Other versions
KR102516583B1 (en
Inventor
이종호
윤희채
김병철
이지성
조정훈
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020180031732A priority Critical patent/KR102516583B1/en
Priority to PCT/KR2019/003202 priority patent/WO2019182335A1/en
Priority to US16/981,489 priority patent/US11157264B2/en
Publication of KR20190109979A publication Critical patent/KR20190109979A/en
Application granted granted Critical
Publication of KR102516583B1 publication Critical patent/KR102516583B1/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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0638Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0646Configuration or reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

According to various embodiments of the present invention, an electronic device comprises: a first memory including a boot region, a kernel region and a recovery region; a second memory for loading data corresponding to at least one of the boot region, the kernel region, and the recovery region included in the first memory; a communication module; and a processor electrically connected to the communication module and the first and second memories. The first memory includes instructions to allow the processor, on execution, to download data in the first memory through the communication module, to perform rebooting when an update for the downloaded data is requested, to determine whether a new version of recovery data is included in the downloaded data during rebooting, and to update the downloaded data on the basis of the new version of the recovery data when the new version of the recovery data is included in the data. Therefore, data can be quickly and easily updated by reducing unnecessary repeated processes in a process of updating the data. Also, other embodiments are possible.

Description

전자 장치 및 전자 장치의 업데이트 제어 방법 {ELECTRONIC DEVICE AND METHOD FOR CONTROLING UPDATE THEREOF}Electronic device and update control method for electronic device {ELECTRONIC DEVICE AND METHOD FOR CONTROLING UPDATE THEREOF}

본 발명의 다양한 실시 예는 전자장치의 업데이트를 제어하는 방법 및 전자장치에 관한 것이다.Various embodiments of the present disclosure relate to a method and an electronic device for controlling an update of an electronic device.

스마트폰과 같은 휴대 전자장치는 급속한 기술 발전을 통해, 초기의 단순한 음성 통화 및 단문 메시지 전송 기능에서 영상 통화, 전자 수첩 기능, 인터넷 기능 등과 같은 다양한 기능을 사용할 수 있다. 일반적으로, 휴대 전자장치는 이전 버전의 프로그램과 다른 새로운 버전의 프로그램이 개발되면, 이전 버전의 프로그램 이용에 따른 문제점 해결 등을 위하여, 새로운 버전의 프로그램에 대한 데이터 갱신(update)이 필요할 수 있다.Portable electronic devices such as smartphones may use various functions such as video calls, electronic notebook functions, Internet functions, and the like in the initial simple voice call and short message transmission functions. In general, when a new version of a program different from a previous version of a program is developed, the portable electronic device may need to update data for a new version of a program in order to solve a problem caused by the use of the previous version of the program.

데이터 갱신이 필요한 휴대 전자장치는 전자장치의 바이너리(binary) 업데이트를 지원하는 서버에 접속하고, 상기 접속된 서버로부터 새로운 버전의 데이터를 다운로드하고, 상기 다운로드된 데이터를 기반으로 업데이트를 수행할 수 있다. 예를 들어, 휴대 전자장치의 제조사는 데이터 업데이트와 관련하여 사용자의 제어를 최소화하기 위해, FOTA (firmware over the air) 방식을 기반으로, 기능 및 프로그램의 업데이트를 위한 데이터를 제공하고 있다. FOTA 방식의 업데이트 프로세스는 휴대 전자장치에서 바이너리 업데이트를 지원하는 서버에 연결하고, 상기 연결된 서버로부터 새로운 데이터(예: 갱신할 데이터)를 제공 받고, 재부팅 시, 제공 받은 새로운 데이터를 기반으로 데이터를 갱신하는 방식일 수 있다. 통상적으로, FOTA 방식의 업데이트는 리커버리 커널을 사용하여, 새로운 데이터를 업데이트할 수 있다. 구글(google) 운영 체제를 기반으로 FOTA 방식을 수행하는 것은 GOTA(예: Google FOTA)로 칭할 수 있다.The portable electronic device requiring data update may access a server supporting binary update of the electronic device, download a new version of data from the connected server, and perform an update based on the downloaded data. . For example, manufacturers of portable electronic devices provide data for updating functions and programs based on the FOTA (firmware over the air) method in order to minimize user control in connection with data update. The FOTA update process connects to a server that supports binary update from a portable electronic device, receives new data (eg, data to be updated) from the connected server, and updates the data based on the new data provided upon rebooting. It may be the way. Typically, FOTA-based updates can use a recovery kernel to update new data. Performing the FOTA method based on the google operating system may be referred to as GOTA (eg, Google FOTA).

통상적으로 FOTA 방식에 따른 전자장치의 업데이트 프로세스는 데이터 갱신 과정에서 이전 버전의 리커버리 커널을 사용하게 된다. 휴대 전자장치는 이전 버전의 리커버리 커널을 사용하여 데이터를 갱신하는 경우 이전 버전의 리커버리 커널의 자체적인 결함으로 인하여, 데이터 갱신에 오류가 발생할 수 있다. 또한, 휴대 전자장치는 이전 버전의 리커버리 커널과 갱신할 데이터 간의 호환성 문제가 발생할 수 있으며, 상기 호환성 문제로 인해 데이터를 업데이트 하기 어려울 수 있다.In general, an update process of an electronic device based on a FOTA method uses a recovery kernel of an earlier version during a data update process. When the portable electronic device updates data using the recovery kernel of the previous version, an error may occur in the data update due to a defect of the recovery kernel of the previous version. In addition, the portable electronic device may have a compatibility problem between the recovery kernel of the previous version and the data to be updated, and it may be difficult to update the data due to the compatibility problem.

본 발명의 다양한 실시예는, 전자장치를 업데이트하는 프로세스에 있어서, 이전 버전의 리커버리 커널을 대신하여, 새로운 버전의 리커버리 커널(예: 뉴 리커버리 커널)을 사용하여 데이터를 업데이트하는 프로세스를 제공할 수 있다.Various embodiments of the present disclosure may provide a process of updating data using a new version of a recovery kernel (eg, a new recovery kernel) in place of a previous version of the recovery kernel in the process of updating an electronic device. have.

본 발명의 다양한 실시예에 따른 전자장치는, 부트(boot) 영역, 커널(kernel) 영역 및 리커버리(recovery) 영역을 포함하는 제 1 메모리; 상기 제 1 메모리에 포함된 부트 영역, 커널 영역 및 리커버리 영역 중 적어도 하나에 대응하는 데이터를 로딩하도록 설정된 제 2 메모리; 통신 모듈; 및 상기 통신 모듈, 상기 제 1 메모리, 상기 제 2 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 제 1 메모리는, 실행시에, 상기 프로세서가, 상기 통신 모듈을 통해, 데이터를 상기 제 1 메모리에 다운로드하고, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.An electronic device according to various embodiments of the present disclosure may include a first memory including a boot area, a kernel area, and a recovery area; A second memory configured to load data corresponding to at least one of a boot area, a kernel area, and a recovery area included in the first memory; Communication module; And a processor electrically connected with the communication module, the first memory, and the second memory, wherein the first memory, when executed, is configured by the processor to transmit data to the first memory via the communication module. When a download request is made for the update of the downloaded data, a reboot is performed, and upon the rebooting, it is checked whether a new version of recovery data is included in the downloaded data, and the recovery data of the new version is stored in the data. If included in, the downloaded data may be updated based on the new version of the recovery data.

본 발명의 다양한 실시예에 따른 전자장치의 업데이트 제어 방법은, 제 1 메모리를 기반으로, 서버로부터 데이터를 다운로드하고, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, a method for controlling update of an electronic device may include downloading data from a server based on a first memory, performing a reboot upon request for update of the downloaded data, and upon rebooting, Whether the recovery data of the version is included in the downloaded data, and if the recovery data of the new version is included in the data, the downloaded data may be updated based on the recovery data of the new version. have.

본 발명의 다양한 실시예에 따른 전자장치의 업데이트 제어 방법을 컴퓨터에서 실행시키기 위한 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체는, 제 1 메모리를 기반으로, 서버로부터 데이터를 다운로드하고, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 전자장치의 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 방법을 수행하는 프로그램이 저장될 수 있다.According to various embodiments of the present disclosure, a computer-readable storage medium storing a program for executing an update control method of an electronic device on a computer is configured to download data from a server based on a first memory, and to download the data from the server. When the update request is performed, the electronic device is rebooted, and when the rebooting is performed, it is checked whether a new version of the recovery data is included in the downloaded data, and when the new version of the recovery data is included in the data, the Based on the new version of the recovery data, a program for performing a method of updating the downloaded data may be stored.

본 발명의 다양한 실시예는 이전 버전의 리커버리 커널이 아닌, 새로운 버전의 리커버리 커널을 기반으로 새로운 버전의 데이터를 업데이트하므로, 데이터 업데이트 과정에서의 오류를 줄일 수 있다. 본 발명의 다양한 실시예는 데이터를 업데이트하는 프로세스에서 불필요하게 반복되는 과정을 줄일 수 있으므로, 빠르고 손쉽게 데이터를 업데이트할 수 있다. 본 발명의 다양한 실시예는 사용자 편의성이 향상될 수 있다.Various embodiments of the present invention update the new version of the data based on the new version of the recovery kernel, rather than the previous version of the recovery kernel, thereby reducing errors in the data update process. Various embodiments of the present invention can reduce the unnecessary repetition in the process of updating the data, it is possible to update the data quickly and easily. Various embodiments of the present invention may improve user convenience.

도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자장치의 블록도이다.
도 2a 내지 도 2b는 다양한 실시예에 따른, 전자 장치의 부팅 방법과 FOTA 방식의 업데이트 방법에 대한 예시도이다.
도 3a 내지 도 3c는 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트 방법에 대한 예시도이다.
도 4는 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 제어하는 방법에 대한 흐름도이다.
도 5a 내지 도 5c는 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 제어하는 방법에 대한 예시도이다.
도 6은 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트 중 전원이 꺼지는 경우의 대응 방법에 대한 흐름도이다.
도 7은 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 진행하는 과정에서 전원이 꺼지는 경우의 대응 방법을 보다 구체화하여 도시한 흐름도이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
2A to 2B are exemplary views illustrating a booting method of an electronic device and an updating method of a FOTA method according to various embodiments of the present disclosure.
3A to 3C are exemplary diagrams of a method of updating an FOTA scheme of an electronic device according to various embodiments of the present disclosure.
4 is a flowchart illustrating a method of controlling update of a FOTA scheme of an electronic device according to various embodiments of the present disclosure.
5A to 5C are exemplary views illustrating a method of controlling update of a FOTA scheme of an electronic device according to various embodiments of the present disclosure.
6 is a flowchart illustrating a corresponding method when a power is turned off during an update of a FOTA method of an electronic device according to various embodiments of the present disclosure.
FIG. 7 is a flowchart illustrating a corresponding method when a power is turned off in a process of updating an FOTA method of an electronic device according to various embodiments of the present disclosure.

도 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), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or the second network 199. The electronic device 104 may communicate with the server 108 through a long range wireless communication network. According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module. 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197. ) May be included. In some embodiments, at least one of the components (for example, the display device 160 or the camera module 180) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented in one integrated circuit. For example, the sensor module 176 (eg, fingerprint sensor, iris sensor, or illuminance sensor) may be implemented embedded in the display device 160 (eg, display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 여기서, 보조 프로세서(123)는 메인 프로세서(121)와 별개로 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, processor 120 may send instructions or data received from another component (eg, sensor module 176 or communication module 190) to volatile memory 132. Can be loaded into, processed in a command or data stored in volatile memory 132, and stored in the non-volatile memory (134). According to an embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), and a coprocessor 123 (eg, a graphics processing unit, an image signal processor) that may operate independently or together. , Sensor hub processor, or communication processor). Additionally or alternatively, the coprocessor 123 may be configured to use lower power than the main processor 121 or to be specialized for its designated function. Here, the coprocessor 123 may be implemented separately from or as part of the main processor 121.

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The coprocessor 123 may, for example, replace the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application). At least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) together with the main processor 121 while in the) state. Control at least some of the functions or states associated with the. According to one embodiment, the coprocessor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). have.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132)(예: DRAM, SRAM, 또는 SDRAM 등) 또는 비휘발성 메모리(134)를 포함할 수 있다. 비휘발성 메모리(134)는 내장 메모리(136)와 외장 메모리(138)로 구분될 수 있다. 예를 들어, 비휘발성 메모리(134)에 포함된 내장 메모리(136)는 OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, UFS(universal flash storage), 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 비휘발성 메모리(134)에 포함된 외장 메모리(138)는 플래시 드라이브(flash drive), CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card), eMMC(embedded multi-media card, 내장형 멀티미디어 카드) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(138)는 다양한 인터페이스를 통하여 전자 장치(101)와 기능적으로 또는 물리적으로 연결될 수 있다.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, software (eg, the program 140) and input data or output data for a command related thereto. The memory 130 may include a volatile memory 132 (eg, DRAM, SRAM, or SDRAM) or a nonvolatile memory 134. The nonvolatile memory 134 may be divided into an internal memory 136 and an external memory 138. For example, the internal memory 136 included in the nonvolatile memory 134 may include one time programmable ROM (OTPROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, flash memory, hard drive, and universal flash storage. ), At least one of a solid state drive (SSD). The external memory 138 included in the nonvolatile memory 134 may include a flash drive, a compact flash (CF), a secure digital (SD), a micro-SD, a mini-SD, an extreme digital (XD), and an MMC ( a multi-media card), an embedded multi-media card (eMMC), a memory stick, or the like. The external memory 138 may be functionally or physically connected to the electronic device 101 through various interfaces.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. The data may include, for example, software (eg, the program 140) and input data or output data for a command related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144), 어플리케이션(146)(예: 어플리케이션 프로그램) 및/또는 커널(148)을 포함할 수 있다. 다양한 실시예에 따르면, 운영 체제(142)는 운영 시스템일 수 있고, 미들 웨어(144), 어플리케이션(146) 및 커널(148) 중 적어도 일부는 운영 시스템에 포함될 수 있다. 커널(148)은, 예를 들면, 다른 프로그램들(예: 운영 체제(142), 미들 웨어(144), 어플리케이션(146))에 구현된 동작 또는 기능을 실행함에 있어서, 사용되는 시스템 리소스들(예: 프로세서(120), 메모리(130) 등)을 제어하거나 관리할 수 있다. 또한, 커널(148)은 운영 체제(142), 미들 웨어(144) 및/또는 어플리케이션 프로그램(146)에서 전자장치(101)의 개별 구성 요소에 접근함으로써, 시스템 리소스들을 제어 및/또는 관리할 수 있는 인터페이스를 제공할 수 있다. 다양한 실시예에 따르면, 커널(148)은 안드로이드 기반의 linux kernel일 수 있고, 메모리, 태스크(task) 등의 데이터를 관리할 수 있다. 커널(148)은 LCD 드라이버, Audio 드라이버, 그래픽 드라이버 등을 포함할 수 있다. 도시되지는 않았으나, 커널(148)은 리커버리(recovery) 커널을 포함할 수 있고, 상기 리커버리 커널은 FOTA 방식의 데이터 업데이트를 수행하기 위한 linux 커널일 수 있다. 이하에서, 리커버리 커널은 커널(148)과 구분하여 작성되었으나, 일 실시예에 따르면, 리커버리 커널은 커널(148)에 포함될 수 있다. 이하에서, 리커버리 커널은 리커버리, 또는, 리커버리 데이터를 의미할 수 있다.Program 140 may be stored as software in memory 130 and may be, for example, operating system 142, middleware 144, applications 146 (eg, application programs) and / or kernel 148. It may include. According to various embodiments, the operating system 142 may be an operating system, and at least some of the middleware 144, the application 146, and the kernel 148 may be included in the operating system. The kernel 148 may be a system resource that is used in executing an operation or function implemented in other programs (eg, operating system 142, middleware 144, application 146), for example. For example, the processor 120, the memory 130, and the like may be controlled or managed. In addition, the kernel 148 may control and / or manage system resources by accessing individual components of the electronic device 101 from the operating system 142, the middleware 144, and / or the application program 146. Can provide an interface. According to various embodiments, the kernel 148 may be an linux kernel based on Android, and may manage data such as a memory and a task. The kernel 148 may include an LCD driver, an audio driver, a graphics driver, and the like. Although not shown, the kernel 148 may include a recovery kernel, and the recovery kernel may be a linux kernel for performing FOTA data update. Hereinafter, the recovery kernel is written separately from the kernel 148, but according to an embodiment, the recovery kernel may be included in the kernel 148. Hereinafter, the recovery kernel may mean recovery, or recovery data.

입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 또는 키보드를 포함할 수 있다. The input device 150 may receive a command or data to be used for a component (for example, the processor 120) of the electronic device 101 from the outside (for example, a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, or a keyboard.

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes such as multimedia playback or recording playback, and the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of a speaker.

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an exemplary embodiment, the display device 160 may include touch circuitry configured to sense a touch, or sensor circuit (eg, a pressure sensor) configured to measure the strength of the force generated by the touch. have.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접, 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)))(예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires sound through the input device 150, or an external electronic device (for example, directly or wirelessly connected to the sound output device 155 or the electronic device 101). Sound may be output through the electronic device 102)) (for example, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101, or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (for example, the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈를, 이미지 센서를, 이미지 시그널 프로세서를, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and videos. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented, for example, as at least part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선 통신 채널) 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선 통신) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 이용하여 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(#92)은 가입자 식별 모듈(#96)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(#98) 또는 제 2 네트워크(#99)와 같은 통신 네트워크 내에서 전자 장치(#01)를 확인 및 인증할 수 있다. The communication module 190 may establish a direct (eg wired communication channel) or 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). Establish and perform communication over established communication channels. The communication module 190 may operate independently of the processor 120 (eg, an application processor) and include one or more communication processors that support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a near field 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. Corresponding ones of these communication modules may be used by using a first network 198 (e.g. a short range communication network such as Bluetooth, WiFi direct or infrared data association) or a second network 199 (e.g. cellular network, the Internet Or a telecommunication network such as a computer network (for example, a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented by a plurality of components (eg, a plurality of chips) separate from each other. The wireless communication module # 92 uses subscriber information (e.g., international mobile subscriber identifier (IMSI)) stored in the subscriber identification module # 96 such as the first network # 98 or the second network # 99. The electronic device # 01 may be identified and authenticated in the communication network.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 신호 또는 전력을 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 하나 이상의 안테나들을 포함할 수 있고, 이로부터, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. The antenna module 197 may transmit a signal or power to an external (eg, an external electronic device) or receive a signal or power from the outside. According to one embodiment, the antenna module 197 may comprise one or more antennas, from which at least one suitable for a communication scheme used in a communication network, such as the first network 198 or the second network 199. Antenna may be selected by the communication module 190, for example. The signal or power may be transmitted or received between the communication module 190 and the external electronic device through the at least one selected antenna.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other and connected to each other through a communication method between peripheral devices (eg, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)). For example, commands or data).

일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, 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 electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to an embodiment of the present disclosure, all or part of operations executed in the electronic device 101 may be executed in one or more external devices among the external electronic devices 102, 104, and 108. For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service itself. In addition to or in addition, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that receive 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 part of a response to the request. To this end, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2a 내지 도 2b는 다양한 실시예에 따른, 전자 장치의 부팅 방법과 FOTA 방식의 업데이트 방법에 대한 예시도이다.2A to 2B are exemplary views illustrating a booting method of an electronic device and an updating method of a FOTA method according to various embodiments of the present disclosure.

도 2a는 전자 장치의 부팅 방법에 대한 예시도(200)이다. 다양한 실시예에 따르면, 전자장치(201)(예: 도 1의 전자장치(101))는 소프트 웨어(예: 프로그램) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 저장하기 위한 메모리(예: 도 1의 메모리(130))를 포함할 수 있다. 메모리는 비휘발성 메모리(210)(예: 도 1의 비휘발성 메모리(134))와 휘발성 메모리(220)(예: 도 1의 휘발성 메모리(132))로 구분될 수 있다.2A is an exemplary diagram 200 of a booting method of an electronic device. According to various embodiments of the present disclosure, the electronic device 201 (for example, the electronic device 101 of FIG. 1) may include a software (for example, a program) and a memory (for example, a memory for storing input data or output data for a command related thereto). The memory 130 of FIG. 1 may be included. The memory may be divided into a nonvolatile memory 210 (eg, nonvolatile memory 134 of FIG. 1) and a volatile memory 220 (eg, volatile memory 132 of FIG. 1).

다양한 실시예에 따르면, 전자장치(201)는 부트(boot)(211)(예: 부트로더(bootloader)), 모뎀(modem)(212), 커널(kernel)(213), 리커버리(recovery)(215)(예: 리커버리 커널, 이하에서 리커버리는 리커버리 커널을 의미한다.) 및 시스템(system)(미도시)을 비휘발성 메모리(210)(예: 도 1의 비휘발성 메모리(134))에 저장할 수 있다. 이하의 설명에서, 커널(213)과 리커버리(215)를 구분하였으나, 리커버리(215)는 커널(213)의 한 종류일 수 있다.According to various embodiments of the present disclosure, the electronic device 201 may include a boot 211 (eg, a bootloader), a modem 212, a kernel 213, and a recovery ( 215) (eg, recovery kernel, hereinafter referred to as recovery kernel) and system (not shown) are stored in non-volatile memory 210 (eg, non-volatile memory 134 of FIG. 1). Can be. In the following description, the kernel 213 and the recovery 215 are distinguished, but the recovery 215 may be one kind of the kernel 213.

도 2a를 참조하면, 전자장치(201)에 전원이 인가(power on)되어 부팅(boot)되거나, 재부팅(reboot)되면, 전자장치(201)의 프로세서(예: 도 1의 프로세서(120))는 비휘발성 메모리(210)(예: UFS, eMMC)에 저장된 부트(211)(예: 부트로더)와 커널(213)을 휘발성 메모리(220)(예: RAM)로 로딩(loading)할 수 있다. 부팅 과정에서, 프로세서(120)는 부트(211) 및 커널(213)을 휘발성 메모리(220)에 로딩하고, 로딩된 부트(221) 및 커널(223)을 통해, 시스템 자원을 관리하거나, 드라이버를 초기화할 수 있다.Referring to FIG. 2A, when power is supplied to the electronic device 201 to boot or reboot, a processor (eg, the processor 120 of FIG. 1) of the electronic device 201 is rebooted. May load the boot 211 (eg, the boot loader) and the kernel 213 stored in the nonvolatile memory 210 (eg, UFS and eMMC) into the volatile memory 220 (eg, RAM). . In the booting process, the processor 120 loads the boot 211 and the kernel 213 into the volatile memory 220, and manages system resources or loads a driver through the loaded boot 221 and the kernel 223. Can be initialized.

도 2b는 전자 장치의 FOTA 방식의 업데이트 방법에 대한 예시도(205)이다. 도 2b를 참조하면, 전자장치(201)는 부트(211), 모뎀(212), 커널(213), 리커버리(215) 및 시스템(미도시)을 비휘발성 메모리(210)에 저장할 수 있다. 도시되진 않았으나, 전자장치(201)는 서버를 통해 새로운 데이터(예: 갱신할 데이터, delta)를 다운로드하고, 상기 다운로드된 새로운 데이터를 업데이트하기 위해, 재부팅할 수 있다. 전자장치(201)가 FOTA 방식의 업데이트를 위해 재부팅하는 경우 전자장치(201)의 프로세서(120)는 비휘발성 메모리(210)(예: UFS, eMMC)에 저장된 부트(211)(예: 부트로더)와 리커버리(215)를 휘발성 메모리(220)(예: RAM)로 로딩(loading)할 수 있다. FOTA 방식의 업데이트 과정에서 프로세서(120)는 휘발성 메모리(220)에 로딩된 부트(221) 및 리커버리(225)를 통해, 상기 다운로드된 새로운 데이터를 업데이트할 수 있다.2B is an exemplary diagram 205 of a method of updating an FOTA method of an electronic device. Referring to FIG. 2B, the electronic device 201 may store the boot 211, the modem 212, the kernel 213, the recovery 215, and a system (not shown) in the nonvolatile memory 210. Although not shown, the electronic device 201 may download new data (eg, data to be updated, delta) through the server, and reboot to update the downloaded new data. When the electronic device 201 reboots for the FOTA type update, the processor 120 of the electronic device 201 may boot from the non-volatile memory 210 (eg, UFS and eMMC). ) And the recovery 215 may be loaded into the volatile memory 220 (eg, RAM). In the FOTA update process, the processor 120 may update the downloaded new data through the boot 221 and the recovery 225 loaded in the volatile memory 220.

도 3a 내지 도 3c는 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트 방법에 대한 예시도(300)이다. 도 3a 내지 도 3c는 도 2b에 도시된 전자 장치의 FOTA 방식의 업데이트 방법을 보다 세분화하여 도시한다.3A to 3C are exemplary diagrams 300 of a method of updating an FOTA scheme of an electronic device according to various embodiments of the present disclosure. 3A to 3C illustrate the FOTA update method of the electronic device shown in FIG. 2B in more detail.

도 3a를 참조하면, 전자 장치(201)(예: 도 1 의 전자 장치(101))의 프로세서(예: 도 1 의 프로세서(120))는 서버(예: 바이너리(binary) 업데이트를 지원하는 서버)(예: 도 1 의 서버(108))로부터 new 커널(new kernel)(310)(예: 새 버전의 커널)을 다운로드할 수 있다. 프로세서(120)는 다운로드된 new 커널(310)을 비휘발성 메모리(210)(예: 도 2a, 2b의 비휘발성 메모리(210))에 저장할 수 있다.Referring to FIG. 3A, a processor (eg, the processor 120 of FIG. 1) of the electronic device 201 (eg, the electronic device 101 of FIG. 1) may be a server (eg, a server supporting binary update). A new kernel 310 (e.g., a new version of the kernel) from a server (e.g., server 108 of FIG. 1). The processor 120 may store the downloaded new kernel 310 in the nonvolatile memory 210 (eg, the nonvolatile memory 210 of FIGS. 2A and 2B).

도 3b를 참조하면, 전자 장치(201)의 프로세서(120)는 다운로드된 new 커널(310)을 업데이트하기 위해 재부팅할 수 있다. 재부팅 시, 프로세서(120)는 비휘발성 메모리(210)에 저장된 부트(211)와 리커버리(215)를 휘발성 메모리(220)로 로딩할 수 있다. 프로세서(120)는 상기 로딩된 부트(221) 및 리커버리(225)를 통해, 상기 다운로드된 new 커널(310)을 업데이트할 수 있다. 예를 들어, 프로세서(120)는 비휘발성 메모리(210)에 저장된 커널(213)을 new 커널(310)로 업데이트할 수 있다.Referring to FIG. 3B, the processor 120 of the electronic device 201 may reboot to update the downloaded new kernel 310. Upon rebooting, the processor 120 may load the boot 211 and the recovery 215 stored in the nonvolatile memory 210 into the volatile memory 220. The processor 120 may update the downloaded new kernel 310 through the loaded boot 221 and the recovery 225. For example, the processor 120 may update the kernel 213 stored in the nonvolatile memory 210 with the new kernel 310.

도 3c를 참조하면, 전자장치(201)는 FOTA 방식의 업데이트를 완료하기 위해, 재부팅할 수 있으며, 재부팅 시, 부트(211)와 업데이트된 new 커널(310)을 휘발성 메모리(220)로 로딩하고, 상기 로딩된 부트(221)와 new 커널(320)을 기반으로 상기 전자장치(201)를 부팅할 수 있다.Referring to FIG. 3C, the electronic device 201 may reboot to complete an FOTA type update. Upon rebooting, the electronic device 201 may load the boot 211 and the updated new kernel 310 into the volatile memory 220. The electronic device 201 may be booted based on the loaded boot 221 and the new kernel 320.

도 4는 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 제어하는 방법에 대한 흐름도(400)이다.4 is a flowchart 400 of a method of controlling an update of a FOTA scheme of an electronic device according to various embodiments of the present disclosure.

도 4를 참조하면, 동작 401에서 전자장치(예: 도 1의 전자장치(101))의 프로세서(예: 도 1 의 프로세서(120))는 서버(예: 바이너리(binary) 업데이트를 지원하는 서버, 도 1의 서버(108))로부터 new 데이터를 다운로드할 수 있다. 예를 들어, new 데이터는 메모리(예: 도 1의 메모리(130))에 기 저장된 데이터의 신 버전, 새롭게 추가된 데이터, 새로운 FOTA 엔진과 관련된 데이터를 포함할 수 있다. 프로세서(120)는 new 데이터를 다운로드 받고, 상기 new 데이터를 메모리(예: 비휘발성 메모리, 도 1의 비휘발성 메모리(134)))에 저장할 수 있다.Referring to FIG. 4, in operation 401, a processor (eg, the processor 120 of FIG. 1) of an electronic device (eg, the electronic device 101 of FIG. 1) may be a server (eg, a binary supporting server). , New data can be downloaded from the server 108 of FIG. For example, new data may include a new version of data previously stored in a memory (eg, the memory 130 of FIG. 1), newly added data, and data related to a new FOTA engine. The processor 120 may download new data and store the new data in a memory (eg, a nonvolatile memory, the nonvolatile memory 134 of FIG. 1).

동작 403에서 프로세서(120)는 상기 다운로드된 new 데이터를 업데이트하기 위하여, 재부팅할 수 있다.In operation 403, the processor 120 may reboot to update the downloaded new data.

동작 405에서 프로세서(120)는 new 데이터 내에 new FOTA 엔진이 포함되어 있는지 여부를 확인할 수 있다. 상세하게 설명하면, 프로세서(120)는 new 데이터의 업데이트를 위해, 비휘발성 메모리(134)에 저장된 리커버리를 휘발성 메모리(예: 도 1의 휘발성 메모리(132))로 로딩하고, 상기 로딩된 리커버리를 통해, new 데이터 내에 new FOTA 엔진이 포함되어 있는지 여부를 결정할 수 있다. 예를 들어, 프로세서(120)는 new 데이터 내에 new kernel 파일, ramdisk-recovery.img 파일, dt.img 파일이 포함되어 있다면, new 데이터 내에 new FOTA 엔진이 포함되어 있다고 판단할 수 있다.In operation 405, the processor 120 may determine whether the new FOTA engine is included in the new data. In detail, the processor 120 loads the recovery stored in the nonvolatile memory 134 into the volatile memory (eg, the volatile memory 132 of FIG. 1) and updates the loaded recovery. This allows you to determine whether the new FOTA engine is included in the new data. For example, if the new kernel file, ramdisk-recovery.img file, and dt.img file are included in the new data, the processor 120 may determine that the new FOTA engine is included in the new data.

동작 405에서 new 데이터 내에 new FOTA 엔진이 포함되어 있다면, 프로세서(120)는 new FOTA 엔진에 대응하는 new 리커버리를 로딩하고, 상기 로딩된 new 리커버리를 통해, new 데이터를 업데이트할 수 있다. 동작 407에서 프로세서(120)는 new FOTA 엔진을 기반으로, 동작 401에서 다운로드된 new 데이터를 업데이트할 수 있다.If a new FOTA engine is included in the new data in operation 405, the processor 120 may load new recovery corresponding to the new FOTA engine and update new data through the loaded new recovery. In operation 407, the processor 120 may update new data downloaded in operation 401 based on the new FOTA engine.

동작 405에서 new 데이터 내에 new FOTA 엔진이 포함되어 있지 않다면, 동작 409에서, 프로세서(120)는 기존에 저장되어 있던 FOTA 엔진에 대응하는 리커버리를 로딩하고, 상기 로딩된 리커버리를 통해, 동작 401에서 다운로드된 new 데이터를 업데이트할 수 있다.If the new FOTA engine is not included in the new data in operation 405, in operation 409, the processor 120 loads a recovery corresponding to the previously stored FOTA engine and downloads in operation 401 through the loaded recovery. Updated new data.

본 발명의 다양한 실시예에 따르면, 전자장치(101)는 서버(108)로부터 new 데이터를 다운로드 받고, new 데이터를 업데이트 하기 위하여, 재부팅될 수 있다. 재부팅 과정에서, 전자장치(101)는 new 데이터 내에 new FOTA 엔진이 포함되어 있는지 여부를 확인하고, new 데이터 내에 new FOTA 엔진이 포함되어 있다면, new FOTA 엔진에 대응하는 new 리커버리를 로딩할 수 있다. 전자장치(101)는 new 리커버리를 통해, new 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, the electronic device 101 may download new data from the server 108 and reboot to update the new data. In the rebooting process, the electronic device 101 may determine whether the new FOTA engine is included in the new data, and if the new FOTA engine is included in the new data, the electronic device 101 may load a new recovery corresponding to the new FOTA engine. The electronic device 101 may update new data through new recovery.

본 발명의 다양한 실시예에 따르면, 전자장치(101)는 new 리커버리를 기반으로, new 데이터를 업데이트하므로, 데이터 갱신 과정에서의 오류를 줄일 수 있다. 예를 들어, 기존의 리커버리를 기반으로 new 데이터를 업데이트하면, 리커버리와 new 데이터 간에 호환성 문제가 발생할 수 있고, 전자장치(101)는 업데이트에 실패할 수 있다. 통상적으로 전자 장치(101)는 new 데이터를 업데이트 함에 있어서, new 데이터 내에 new FOTA 엔진이 포함되어 있는지 여부를 확인하는 과정(예: 도 4의 동작 405)을 수행하지 않는다. 전자 장치(101)는 기존의 리커버리를 기반으로 new 데이터를 업데이트할 수 있으나, 업데이트 오류가 발생할 수 있다. 전자 장치(101)는 기존의 리커버리 기반의 업데이트 과정에서 재부팅이 재차 수행됨에 따라, 사용자 편의성이 떨어질 수 있다. 본 발명의 다양한 실시예에 따르면, 전자장치(101)는 new 리커버리를 기반으로, new 데이터를 업데이트하므로, 업데이트 오류를 줄일 수 있고, 재부팅 수행을 최소화함으로써, 사용자 편의성이 향상될 수 있다.According to various embodiments of the present disclosure, since the electronic device 101 updates new data based on new recovery, an error in the data update process may be reduced. For example, if new data is updated based on the existing recovery, a compatibility problem may occur between the recovery and the new data, and the electronic device 101 may fail to update. Typically, when updating the new data, the electronic device 101 does not perform a process of checking whether the new FOTA engine is included in the new data (for example, operation 405 of FIG. 4). The electronic device 101 may update new data based on the existing recovery, but an update error may occur. As the electronic device 101 is rebooted again in the existing recovery-based update process, user convenience may be inferior. According to various embodiments of the present disclosure, since the electronic device 101 updates the new data based on the new recovery, the update error can be reduced and the user convenience can be improved by minimizing the rebooting.

도 5a 내지 도 5c는 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 제어하는 방법에 대한 예시도(500)이다. 도 5a 내지 도 5c에 도시된 실시예는, new 데이터에 new 리커버리가 포함된 경우 상기 new 리커버리를 기반으로 FOTA 방식의 업데이트를 효율적으로 제어하는 과정을 도시한다.5A through 5C are exemplary diagrams 500 of a method of controlling an update of a FOTA scheme of an electronic device according to various embodiments of the present disclosure. 5A to 5C illustrate a process of efficiently controlling an update of the FOTA method based on the new recovery when new recovery is included in new data.

도 5a를 참조하면, 전자장치(501)(예: 도 1의 전자장치(101) 또는 도 2의 전자 장치(201))의 프로세서(예: 도 1의 프로세서(120))는 서버(예: 바이너리(binary) 업데이트를 지원하는 서버, 도 1의 서버(108))로부터 new 데이터(510)를 다운로드할 수 있다. new 데이터(510)는 new 커널(513)과 new 리커버리(515)를 포함할 수 있다. 프로세서(120)는 다운로드된 new 데이터(510)를 비휘발성 메모리(210)(예: 도 2의 비휘발성 메모리(210))에 저장할 수 있다. 비휘발성 메모리(210)는 boot(211), modem(212), 커널(213) 및 리커버리(215)등이 저장될 수 있고, 상기 boot(211), modem(212), 커널(213) 및 리커버리(215)등이 저장된 영역이 아닌, 다른 영역에 new 데이터(510)를 저장할 수 있다.Referring to FIG. 5A, a processor (eg, the processor 120 of FIG. 1) of the electronic device 501 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2) may be a server (eg, New data 510 may be downloaded from a server supporting binary updates, server 108 of FIG. 1. The new data 510 may include a new kernel 513 and a new recovery 515. The processor 120 may store the downloaded new data 510 in the nonvolatile memory 210 (eg, the nonvolatile memory 210 of FIG. 2). The nonvolatile memory 210 may store a boot 211, a modem 212, a kernel 213, and a recovery 215, and may include the boot 211, modem 212, kernel 213, and recovery. The new data 510 may be stored in another area other than the area in which 215 and the like are stored.

도 5b를 참조하면, 전자장치(501)의 프로세서(120)는 다운로드된 new 데이터(510)를 업데이트하기 위해 리커버리(215)를 기반으로 재부팅할 수 있다. 재부팅 시, 프로세서(120)는 비휘발성 메모리(210)에 저장된 부트(211)와 리커버리(215), new 데이터(510)에 포함되어 있는 new 리커버리(515)를 압축 해제 후, 휘발성 메모리(520)로 로딩할 수 있다. 예를 들어, 프로세서(120)는 다운로드된 new 데이터(510)가 저장된 메모리 영역(예: 비휘발성 메모리(210) 내의 일부 영역)에 대응하는 시작 주소(start address) 및 인덱스 정보를 메모리의 특정 영역(예: 휘발성 메모리(220) 내의 일부 영역)에 저장할 수 있다. 프로세서(120)는 리커버리(215)를 휘발성 메모리(220)로 로딩하면서, 상기 특정 영역에 저장된 시작 주소 및 인덱스 정보를 기반으로 new 리커버리(515)를 휘발성 메모리(220)로 로딩할 수 있다.Referring to FIG. 5B, the processor 120 of the electronic device 501 may reboot based on the recovery 215 to update the downloaded new data 510. Upon rebooting, the processor 120 decompresses the boot 211 stored in the nonvolatile memory 210, the recovery 215, and the new recovery 515 included in the new data 510, and then the volatile memory 520. Can be loaded with For example, the processor 120 may include a start address and index information corresponding to a memory area (for example, a part of the nonvolatile memory 210) in which the downloaded new data 510 is stored, and specify a specific area of the memory. (Eg, a partial region in the volatile memory 220). The processor 120 may load the recovery 215 into the volatile memory 220, and load the new recovery 515 into the volatile memory 220 based on the start address and the index information stored in the specific region.

다양한 실시예에 따르면, 프로세서(120)는 다운로드된 new 데이터(510)에 포함된 new 리커버리(515)를 기반으로 FOTA 업데이트를 하기 위하여, 상기 new 리커버리(515)가 저장된 영역(예: 비휘발성 메모리(210)내의 일부 영역)에 대응하는 위치 정보(예: 좌표)를 확인할 수 있다. 프로세서(120)는 부팅 시, 휘발성 메모리(220)에 로딩된 리커버리(225)를 통해, 휘발성 메모리(220) 내의 기 정의된 주소에 flag(magic number) 데이터와 new 리커버리(515)의 시작 주소 및 부팅관련 정보를 저장할 수 있다. flag(magic number) 데이터는 new 리커버리(515)의 저장 여부를 판단하기 위한 데이터일 수 있다.According to various embodiments of the present disclosure, the processor 120 stores an area (eg, a nonvolatile memory) in which the new recovery 515 is stored in order to update the FOTA based on the new recovery 515 included in the downloaded new data 510. Position information (eg, coordinates) corresponding to a portion of the area 210 may be checked. When booting, the processor 120 uses the recovery 225 loaded into the volatile memory 220 to display a flag (magic number) data and a start address of the new recovery 515 at a predetermined address in the volatile memory 220. Booting information can be saved. The flag (magic number) data may be data for determining whether to store the new recovery 515.

다양한 실시예에 따르면, 프로세서(120)는 리커버리(225)를 통해, new 리커버리(515)를 휘발성 메모리(220)로 로딩할 수 있고, 상기 로딩된 new 리커버리(515)를 기반으로, flag(magic number) 데이터, new 리커버리(515)의 시작 주소 및 부팅관련 정보 중 적어도 일부를 휘발성 메모리(220) 내의 기 정의된 주소에 저장할 수 있다. 프로세서(120)는 warm reset을 수행할 수 있다. Warm reset은 휘발성 메모리(220)에 저장된 데이터를 지우지 않고, 시스템에 대한 reset을 수행하는 방법일 수 있다. 도 5c를 참조하면, warm reset을 수행할 때, 프로세서(120)는 boot(221)와 리커버리(225)를 통해, 상기 저장된 flag 데이터의 저장 여부를 확인할 수 있다. 상기 flag 데이터가 있다면, 프로세서(120)는 new 리커버리(515)의 시작 주소를 기반으로, new 리커버리(515)에 대응하는 FOTA 업데이트를 수행할 수 있다. 상기 flag 데이터가 없다면, 프로세서(120)는 boot(221)와 리커버리(225)를 통해, 부팅을 수행할 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 flag 데이터를 통해, new 리커버리(515)의 저장 여부를 확인한 후, 상기 flag 데이터로 인한 무한 루프를 방지하기 위하여, 상기 flag 데이터를 삭제할 수 있다.According to various embodiments, the processor 120 may load the new recovery 515 into the volatile memory 220 through the recovery 225, and based on the loaded new recovery 515, the flag (magic) number) data, a start address of the new recovery 515, and at least some of booting information may be stored at a predetermined address in the volatile memory 220. The processor 120 may perform a warm reset. The warm reset may be a method of performing a reset on the system without erasing data stored in the volatile memory 220. Referring to FIG. 5C, when performing a warm reset, the processor 120 may check whether the stored flag data is stored through the boot 221 and the recovery 225. If there is the flag data, the processor 120 may perform a FOTA update corresponding to the new recovery 515 based on the start address of the new recovery 515. If there is no flag data, the processor 120 may boot through the boot 221 and the recovery 225. According to various embodiments of the present disclosure, after checking whether the new recovery 515 is stored through the flag data, the processor 120 may delete the flag data in order to prevent an infinite loop due to the flag data.

다양한 실시에에 따르면, 프로세서(120)는 new 리커버리(515)를 기반으로, 비휘발성 메모리(210)에 저장된 new 데이터(510)에 대한 업데이트를 수행할 수 있다. 예를 들어, 프로세서(120)는 휘발성 메모리(220)로 로딩된 new 리커버리(515)를 이용하여, 비휘발성 메모리(210)에 저장된 커널(213) 및 리커버리(215)를 new 커널(513) 및 new 리커버리(515)로 업데이트할 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 휘발성 메모리(220)에 로딩된 리커버리(225)를 삭제하고, 휘발성 메모리(220)에 로딩된 new 리커버리(515)를 기반으로, 비휘발성 메모리(210)에 저장된 커널(213) 및 리커버리(215)를 업데이트할 수 있다. 프로세서(120)는 비휘발성 메모리(210)에 저장된 커널(213) 및 리커버리(215)를 삭제하고, new 커널(513) 및 new 리커버리(515)를 설치할 수 있다. 전자 장치(501)는 FOTA 방식의 업데이트를 완료하기 위해, 재부팅할 수 있으며, 재부팅 시, 업데이트된 new 커널(513)을 휘발성 메모리(520)로 로딩하고, 상기 로딩된 new 커널(513)을 기반으로 부팅될 수 있다.According to various embodiments of the present disclosure, the processor 120 may update the new data 510 stored in the nonvolatile memory 210 based on the new recovery 515. For example, the processor 120 may use the new recovery 515 loaded into the volatile memory 220 to transfer the kernel 213 and the recovery 215 stored in the nonvolatile memory 210 to the new kernel 513 and the second recovery 215. update with new recovery 515. According to various embodiments, the processor 120 deletes the recovery 225 loaded in the volatile memory 220, and based on the new recovery 515 loaded in the volatile memory 220, the nonvolatile memory 210 may be used. The kernel 213 and the recovery 215 stored therein may be updated. The processor 120 may delete the kernel 213 and the recovery 215 stored in the nonvolatile memory 210, and install the new kernel 513 and the new recovery 515. The electronic device 501 may reboot to complete the FOTA type update. Upon rebooting, the electronic device 501 loads the updated new kernel 513 into the volatile memory 520 and based on the loaded new kernel 513. Can be booted.

다양한 실시예에 따르면, 프로세서(120)는 warm reset을 수행하지 않고, 휘발성 메모리(220)로 로딩된 new 리커버리(515)를 기반으로, FOTA 업데이트를 수행할 수 있다. 예를 들어, 프로세서(120)는 warm reset 없이, 리커버리(225)의 권한을 new 리커버리(515)(예: 휘발성 메모리(220)로 로딩된 new 리커버리(515))에게 넘겨주고, 상기 new 리커버리(515)를 기반으로 FOTA 업데이트를 즉각적으로 수행할 수 있다.According to various embodiments of the present disclosure, the processor 120 may perform a FOTA update based on the new recovery 515 loaded into the volatile memory 220 without performing a warm reset. For example, the processor 120 transfers the authority of the recovery 225 to the new recovery 515 (eg, the new recovery 515 loaded into the volatile memory 220) without a warm reset, and the new recovery ( Based on 515), the FOTA update can be performed immediately.

본 발명의 다양한 실시예에 따른 전자장치는, 부트(boot) 영역(211), 커널(kernel) 영역(213) 및 리커버리(recovery) 영역(215)을 포함하는 제 1 메모리(210), 상기 제 1 메모리(210)에 포함된 부트 영역(211), 커널 영역(213) 및 리커버리 영역(215) 중 적어도 하나에 대응하는 데이터를 로딩하도록 설정된 제 2 메모리(220), 통신 모듈(예: 도 1의 통신 모듈(190)), 및 상기 통신 모듈, 상기 제 1 메모리(210), 상기 제 2 메모리(220)와 전기적으로 연결된 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 제 1 메모리(210)는, 실행시에, 상기 상기 프로세서(120)가, 상기 통신 모듈(190)을 통해, 데이터(510)를 상기 제 1 메모리(210)에 다운로드하고, 상기 다운로드된 데이터(510)에 대한 업데이트 요청 시, 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터(515)가 상기 다운로드된 데이터(510)에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터(515)가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)를 상기 제 2 메모리(220)에 로딩하고, 상기 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 다운로드된 데이터(510)를 업데이트할 수 있다.An electronic device according to various embodiments of the present disclosure may include a first memory 210 including a boot area 211, a kernel area 213, and a recovery area 215. The second memory 220 and a communication module (eg, FIG. 1) configured to load data corresponding to at least one of the boot area 211, the kernel area 213, and the recovery area 215 included in the first memory 210. Communication module 190, and a processor (eg, the processor 120 of FIG. 1) electrically connected to the communication module, the first memory 210, and the second memory 220. In the first memory 210, when executed, the processor 120 downloads the data 510 to the first memory 210 through the communication module 190, and the downloaded data 510. When an update request is made, the reboot is performed, and when the reboot is performed, a new version of the recovery data 515 is downloaded. Whether the new version of the recovery data 515 is included in the data, and loading the new version of the recovery data 515 into the second memory 220. The downloaded data 510 may be updated based on the loaded new version of the recovery data 515.

다양한 실시예에 따르면, 프로세서(120)는 다운로드된 데이터(510)에 대한 업데이트 요청 시, 상기 다운로드된 데이터(510)에 포함된 리커버리 데이터를 상기 제 2 메모리(220)로 로딩하고, 상기 제 2 메모리(220)로 로딩된 리커버리 데이터가 지워지지 않는 웜 리셋을 수행할 수 있다.According to various embodiments of the present disclosure, when an update request for the downloaded data 510 is requested, the processor 120 loads recovery data included in the downloaded data 510 into the second memory 220 and the second memory 220. A warm reset in which recovery data loaded into the memory 220 is not erased may be performed.

다양한 실시예에 따르면, 웜 리셋은, 제 2 메모리(220)의 지정된 영역에 로딩된 상기 리커버리 데이터의 저장 상태를 유지하고, 상기 지정된 영역을 제외한 상기 제 2 메모리(220)의 나머지 영역을 초기화할 수 있다.According to various embodiments of the present disclosure, the warm reset may maintain a storage state of the recovery data loaded in a designated area of the second memory 220, and initialize the remaining areas of the second memory 220 except for the designated area. Can be.

다양한 실시예에 따르면, 프로세서(120)는 상기 다운로드된 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 이용하여 업데이트를 할 지 여부를 결정하고, 상기 업데이트를 하는 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, when the downloaded data includes recovery data of the new version, the processor 120 determines whether to update using the recovery data of the new version, and performs the update. The downloaded data may be updated based on the new version of the recovery data.

다양한 실시예에 따르면, 프로세서(120)는 상기 통신 모듈(190)을 통해, 서버(108)에 연결하고, 상기 제 1 메모리(210) 내에 지정된 영역을 확인하고, 상기 연결된 서버(108)로부터 데이터를 다운로드하고, 상기 다운로드된 데이터를 상기 확인된 지정된 영역에 저장할 수 있다.According to various embodiments, the processor 120 connects to the server 108 via the communication module 190, identifies a designated area within the first memory 210, and transmits data from the connected server 108. Download the data and store the downloaded data in the identified designated area.

다양한 실시예에 따르면, 상기 제 1 메모리(210)는 비휘발성 메모리이고, 상기 제 2 메모리(220)는 휘발성 메모리일 수 있다.According to various embodiments, the first memory 210 may be a nonvolatile memory, and the second memory 220 may be a volatile memory.

다양한 실시예에 따르면, 프로세서(120)는 상기 데이터에 상기 새로운 버전의 리커버리 데이터(515)가 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)가 상기 제 2 메모리(220) 내에서 저장된 영역을 확인하고, 상기 확인된 영역을 기반으로 상기 새로운 버전의 리커버리 데이터(515)를 사용하여 상기 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, when the data includes the new version of the recovery data 515, the processor 120 may delete an area in which the new version of the recovery data 515 is stored in the second memory 220. And the new version of the recovery data 515 may be updated based on the identified region.

다양한 실시예에 따르면, 프로세서(120)는 전원이 꺼지면, 재부팅 시, 상기 데이터에 상기 새로운 버전의 리커버리 데이터(515)가 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터(515)가 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)를 상기 제 2 메모리(220)에 로딩하고, 상기 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, when the power is turned off, when the power is turned off, the processor 120 checks whether the data includes the new version of the recovery data 515, and includes the new version of the recovery data 515. If so, the new version of the recovery data 515 may be loaded into the second memory 220, and the downloaded data may be updated based on the loaded new version of the recovery data 515.

다양한 실시예에 따르면, 상기 데이터는 커널 데이터 및 리커버리 데이터 중 적어도 하나를 포함할 수 있고, 프로세서(120)는 상기 제 2 메모리에 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 커널 데이터 및 상기 리커버리 데이터 중 적어도 하나의 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, the data may include at least one of kernel data and recovery data, and the processor 120 based on the new version of recovery data 515 loaded in the second memory. And at least one data of the recovery data.

다양한 실시예에 따르면, 프로세서(120)는 상기 새로운 버전의 리커버리 데이터(515)가 상기 다운로드된 데이터에 포함되지 않은 경우, 상기 제 1 메모리(210)에 저장된 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, when the new version of recovery data 515 is not included in the downloaded data, the processor 120 based on the recovery data stored in the first memory 210, the downloaded data. Can be updated.

도 6은 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트 중 전원이 꺼지는 경우의 대응 방법에 대한 흐름도이다.6 is a flowchart illustrating a corresponding method when a power is turned off during an update of a FOTA method of an electronic device according to various embodiments of the present disclosure.

도 6을 참조하면, 동작 601 내지 동작 609는 도 4의 동작 401 내지 동작 409와 동일한 동작일 수 있다. 동작 601 내지 동작 609에 대한 설명은 도 4의 동작 401 내지 동작 409에 대한 설명으로 대신한다.Referring to FIG. 6, operations 601 to 609 may be the same operations as operations 401 to 409 of FIG. 4. The description of the operations 601 to 609 is replaced with the description of the operations 401 to 409 of FIG. 4.

동작 607 내지 동작 609에서 프로세서(예: 도 1의 프로세서(120))는 new 데이터를 업데이트할 수 있고, new 데이터를 업데이트 하는 동안 동작 611에서 전원이 꺼질 수 있다. 업데이트가 완료되기 전에 전원이 꺼지는 경우 업데이트가 중단될 수 있다. 프로세서(120)는 상기 업데이트를 정확하게 완료하기 위해, 동작 603로 회귀할 수 있다. In operations 607 through 609, the processor (eg, the processor 120 of FIG. 1) may update new data, and power may be turned off in operation 611 while updating the new data. If the power is turned off before the update is complete, the update may be interrupted. Processor 120 may return to operation 603 to complete the update correctly.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 FOTA 방식의 업데이트 중에 전원이 꺼지는 경우 업데이트 전의 재부팅 과정으로 회귀할 수 있다. 본 발명의 다양한 실시예는 전원이 꺼지더라도, FOTA 방식으로 업데이트를 수행할 수 있다.According to various embodiments of the present disclosure, when the power is turned off during the FOTA type update, the electronic device 101 may return to the rebooting process before the update. Various embodiments of the present invention may perform the update in a FOTA manner even when the power is turned off.

도 7은 본 발명의 다양한 실시예에 따른, 전자 장치의 FOTA 방식의 업데이트를 진행하는 과정에서 전원이 꺼지는 경우의 대응 방법을 보다 구체화하여 도시한 흐름도이다.FIG. 7 is a flowchart illustrating a corresponding method when a power is turned off in a process of updating an FOTA method of an electronic device according to various embodiments of the present disclosure.

도 7을 참조하면, 동작 701에서 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1 의 프로세서(120))는 서버(예: 바이너리(binary) 업데이트를 지원하는 서버, 도 1의 서버(108))로부터 new 데이터를 다운로드할 수 있다. new 데이터를 다운로드하는 동안 동작 703에서 전자장치(101)의 전원이 꺼질(power off) 수 있다. 본 발명의 다양한 실시예에 따르면, 전원이 꺼지는 시점은 한정되지 않는다.Referring to FIG. 7, in operation 701, a processor (eg, the processor 120 of FIG. 1) of an electronic device (eg, the electronic device 101 of FIG. 1) may be a server (eg, a binary supporting server). , New data can be downloaded from the server 108 of FIG. While downloading new data, the electronic device 101 may be powered off in operation 703. According to various embodiments of the present disclosure, the time point at which the power is turned off is not limited.

전원이 꺼지면, 동작 705에서 전자 장치(101)는 재부팅될 수 있고, 전자 장치(101)는 new 데이터를 다시 다운로드하고, 다운로드된 new 데이터를 기반으로, FOTA 방식의 업데이트를 수행할 수 있다.When the power is turned off, in operation 705, the electronic device 101 may be rebooted, and the electronic device 101 may download new data again and perform an FOTA method update based on the downloaded new data.

동작 707에서 전자 장치(101)의 프로세서(120)는 new 데이터에 포함된 리커버리를 휘발성 메모리(예: 도 1의 휘발성 메모리(132))로 로딩할 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 상기 휘발성 메모리로 로딩된 리커버리를 이용하여, FOTA 방식의 업데이트를 수행하기 위하여, warm reset을 수행할 수 있다. warm reset은 휘발성 메모리(132)에 저장된 데이터를 지우지 않고, 시스템에 대한 reset을 수행하는 방법일 수 있다.In operation 707, the processor 120 of the electronic device 101 may load the recovery included in the new data into the volatile memory (eg, the volatile memory 132 of FIG. 1). According to various embodiments of the present disclosure, the processor 120 may perform a warm reset in order to perform a FOTA type update by using the recovery loaded into the volatile memory. The warm reset may be a method of performing a reset on the system without erasing data stored in the volatile memory 132.

동작 709에서 프로세서(120)는 warm reset을 수행할 수 있다. warm reset을 수행한 후, 동작 711에서 프로세서(120)는 휘발성 메모리(132)에 로딩된 리커버리가 new 리커버리인지 여부를 판단할 수 있다. 예을 들어, 프로세서(120)는 휘발성 메모리(132)에 로딩된 리커버리에 대응하는 flag 데이터를 확인하고, 상기 확인된 flag 데이터를 기반으로 new 리커버리인지 여부를 판단할 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 new 리커버리인지 여부를 판단한 후, 상기 flag 데이터로 인한 무한 루프를 방지하기 위하여, 상기 flag 데이터를 삭제할 수 있다.In operation 709, the processor 120 may perform a warm reset. After performing a warm reset, in operation 711, the processor 120 may determine whether the recovery loaded in the volatile memory 132 is a new recovery. For example, the processor 120 may check flag data corresponding to the recovery loaded in the volatile memory 132 and determine whether it is a new recovery based on the checked flag data. According to various embodiments, the processor 120 may determine whether it is a new recovery and then delete the flag data in order to prevent an infinite loop due to the flag data.

로딩된 리커버리가 new 리커버리라면, 동작 713에서 프로세서(120)는 new 리커버리를 기반으로 상기 다운로드된 new 데이터를 업데이트할 수 있다. 본 발명의 다양한 실시예에 따르면, 프로세서(120)는 new 데이터에 포함된 new 리커버리를 이용하여, FOTA 방식의 업데이트를 수행할 수 있다.If the loaded recovery is new recovery, in operation 713 the processor 120 may update the downloaded new data based on the new recovery. According to various embodiments of the present disclosure, the processor 120 may update the FOTA method by using the new recovery included in the new data.

로딩된 리커버리가 new 리커버리가 아니라면, 동작 715에서 프로세서(120)는 정의된 리커버리를 기반으로 상기 다운로드된 new 데이터를 업데이트할 수 있다.If the loaded recovery is not new recovery, then at operation 715 the processor 120 may update the downloaded new data based on the defined recovery.

다양한 실시예에 따르면, 프로세서(120)는 warm reset을 수행하지 않고, 휘발성 메모리(132)로 로딩된 new 리커버리를 기반으로, FOTA 업데이트를 수행할 수 있다. 예를 들어, 프로세서(120)는 warm reset 없이, 리커버리의 권한을 new 리커버리(예: 휘발성 메모리(132)로 로딩된 new 리커버리)에게 넘겨주고, 상기 new 리커버리를 기반으로 FOTA 업데이트를 즉각적으로 수행할 수 있다.According to various embodiments, the processor 120 may perform a FOTA update based on a new recovery loaded into the volatile memory 132 without performing a warm reset. For example, the processor 120 transfers the authority of the recovery to a new recovery (for example, a new recovery loaded into the volatile memory 132) without a warm reset, and immediately performs a FOTA update based on the new recovery. Can be.

다른 실시예에 따르면, 프로세서(120)는 동작 707의 리커버리를 휘발성 메모리(132)로 로딩하는 시점에서, new 리커버리 기반의 업데이트를 실행할 지 여부를 결정할 수 있다. 프로세서(120)는 new 리커버리 기반의 업데이트를 실행할 경우 상기 로딩된 리커버리에 포함된 new 리커버리를 이용하여 FOTA 방식의 업데이틀 수행할 수 있다. 프로세서(120)는 new 리커버리 기반의 업데이트를 실행하지 않을 경우 정의된 리커버리를 이용하여 FOTA 방식의 업데이트를 수행할 수 있다.According to another embodiment, the processor 120 may determine whether to execute a new recovery based update at the time of loading the recovery of operation 707 into the volatile memory 132. When the new recovery-based update is executed, the processor 120 may perform an update based on the FOTA method using the new recovery included in the loaded recovery. When not performing a new recovery based update, the processor 120 may perform the FOTA method update using the defined recovery.

본 발명의 다양한 실시예에 따른 전자장치의 업데이트 제어 방법은, 제 1 메모리(210)를 기반으로, 서버(108)로부터 데이터를 다운로드하고, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터(515)가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터(515)가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)를 제 2 메모리(220)로 로딩하고, 상기 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 다운로드된 데이터를 업데이트할 수 있다.According to various embodiments of the present disclosure, a method for controlling update of an electronic device may include downloading data from a server 108 based on a first memory 210 and performing a reboot upon request for updating the downloaded data. When the rebooting, it is determined whether a new version of recovery data 515 is included in the downloaded data, and when the new version of recovery data 515 is included in the data, the new version of recovery data is included. 515 may be loaded into the second memory 220, and the downloaded data may be updated based on the loaded new version of recovery data 515.

다양한 실시예에 따른 재부팅을 수행하는 동작은, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 상기 다운로드된 데이터에 포함된 리커버리 데이터를 상기 제 2 메모리(220)로 로딩하고, 상기 제 2 메모리(220)로 로딩된 리커버리 데이터가 지워지지 않는 웜 리셋(warm reset)을 수행하는 동작을 포함할 수 있다.Rebooting according to various embodiments of the present disclosure may include loading recovery data included in the downloaded data into the second memory 220 and requesting an update of the downloaded data. The method may include performing a warm reset in which recovery data loaded into the memory is not erased.

다양한 실시예에 따르면, 웜 리셋은, 제 2 메모리(220)의 지정된 영역에 로딩된 상기 리커버리 데이터의 저장 상태를 유지하고, 상기 지정된 영역을 제외한 상기 제 2 메모리(220)의 나머지 영역을 초기화할 수 있다.According to various embodiments of the present disclosure, the warm reset may maintain a storage state of the recovery data loaded in a designated area of the second memory 220, and initialize the remaining areas of the second memory 220 except for the designated area. Can be.

다양한 실시예에 따르면, 상기 다운로드된 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 이용하여 업데이트를 할 지 여부를 결정하고, 상기 업데이트를 하는 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the downloaded data includes recovery data of the new version, it is determined whether to update using the recovery data of the new version, and when the update is performed, The method may further include updating the downloaded data based on recovery data.

다양한 실시예에 따른 상기 서버로부터 데이터를 다운로드하는 동작은, 통신 모듈(190)을 통해, 서버(108)에 연결하고, 상기 제 1 메모리(210) 내에 지정된 영역을 확인하고, 상기 연결된 서버(108)로부터 데이터를 다운로드하고, 상기 다운로드된 데이터를 상기 확인된 지정된 영역에 저장하는 동작을 포함할 수 있다.The downloading of data from the server according to various embodiments of the present disclosure may be performed by connecting to the server 108 through the communication module 190, confirming an area designated in the first memory 210, and connecting the server 108. And downloading the data from the data and storing the downloaded data in the identified designated area.

다양한 실시예에 따르면, 상기 데이터에 상기 새로운 버전의 리커버리 데이터(515)가 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)가 상기 제 2 메모리(220) 내에서 저장된 영역을 확인하고, 상기 확인된 영역을 기반으로 상기 새로운 버전의 리커버리 데이터(515)를 사용하여 상기 데이터를 업데이트하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the new version of the recovery data 515 is included in the data, the new version of the recovery data 515 is checked in the second memory 220 and the confirmation is performed. The method may further include updating the data using the new version of the recovery data 515 based on the updated region.

다양한 실시예에 따르면, 전원이 꺼지면, 재부팅 시, 상기 데이터에 상기 새로운 버전의 리커버리 데이터(515)가 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터(515)가 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)를 상기 제 2 메모리(220)에 로딩하고, 상기 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the power is turned off, upon rebooting, the data is checked whether the new version of the recovery data 515 is included, and when the new version of the recovery data 515 is included, the new data is included. The method may further include loading a version recovery data 515 into the second memory 220 and updating the downloaded data based on the loaded new version recovery data 515.

다양한 실시예에 따르면, 상기 새로운 버전의 리커버리 데이터(515)가 상기 다운로드된 데이터에 포함되지 않은 경우, 상기 제 1 메모리(210)에 저장된 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the new version of the recovery data 515 is not included in the downloaded data, the operation of updating the downloaded data is performed based on the recovery data stored in the first memory 210. It may further include.

본 발명의 다양한 실시예에 따른 컴퓨터로 판독 가능한 저장 매체는, 제 1 메모리(210)를 기반으로, 서버(108)로부터 데이터를 다운로드하고, 상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하고, 상기 재부팅 시, 새로운 버전의 리커버리 데이터(515)가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고, 상기 새로운 버전의 리커버리 데이터(515)가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터(515)를 제 2 메모리(220)로 로딩하고, 상기 로딩된 새로운 버전의 리커버리 데이터(515)를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작을 포함하는 방법을 수행하는 프로그램이 저장될 수 있다.The computer-readable storage medium according to various embodiments of the present disclosure may download data from the server 108 based on the first memory 210, perform a reboot upon request for update of the downloaded data, and When the rebooting, it is determined whether a new version of recovery data 515 is included in the downloaded data, and when the new version of recovery data 515 is included in the data, the new version of recovery data is included. A program for performing a method including loading 515 into the second memory 220 and updating the downloaded data based on the loaded new version of recovery data 515 may be stored. .

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments of the present disclosure may be various types of devices. The electronic device may include, for example, a portable communication device (eg, a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. Electronic devices according to embodiments of the present disclosure are not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", “A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of the present document and terminology used herein are not intended to limit the technical features described in the present specification to specific embodiments, but should be understood to include various changes, equivalents, or substitutes for the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the items, unless the context clearly indicates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B," "A, B or C," "at least one of A, B and C," and "A And phrases such as "at least one of B, or C" may include all possible combinations of items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used merely to distinguish a component from other corresponding components, and to separate the components from other aspects (e.g. Order). Some (eg first) component may be referred to as "coupled" or "connected" to another (eg second) component, with or without the term "functionally" or "communically". When mentioned, it means that any component can be connected directly to the other component (eg, by wire), wirelessly, or via a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. The module may be an integral part or a minimum unit or part of the component, which performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may include one or more instructions stored on a storage medium (eg, internal memory 136 or external memory 138) that can be read by a machine (eg, electronic device 101). It may be implemented as software (eg, program 140) including the. For example, a processor (eg, the processor 120) of the device (eg, the electronic device 101) may call and execute at least one command among one or more instructions stored from the storage medium. This enables the device to be operated to perform at least one function in accordance with the at least one command invoked. 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. Here, 'non-transitory' means only that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), which is the case when data is stored semi-permanently on the storage medium. It does not distinguish cases where it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, a method according to various embodiments disclosed herein may be provided included in a computer program product. The computer program product may be traded between the seller and the buyer as a product. The computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or two user devices ( Example: smartphones) can be distributed (eg downloaded or uploaded) directly or online. In the case of on-line distribution, at least a portion of the computer program product may be stored at least temporarily on a device-readable storage medium such as a server of a manufacturer, a server of an application store, or a relay server, or may be temporarily created.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or plural entity. According to various embodiments, one or more of the aforementioned components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of the component of each of the plurality of components the same as or similar to that performed by the corresponding component of the plurality of components before the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Or one or more other actions may be added.

101, 200 : 전자장치 120 : 프로세서
130 : 메모리 132, 220 : 휘발성 메모리
134, 210 : 비휘발성 메모리 211 : 부트(boot)
212 : 모뎀(modem) 148, 213 : 커널(kernel)
215 : 리커버리(recovery)
101, 200: electronic device 120: processor
130: memory 132, 220: volatile memory
134, 210: non-volatile memory 211: boot
212: modem 148, 213: kernel
215: recovery

Claims (20)

전자 장치에 있어서,
부트(boot) 영역, 커널(kernel) 영역 및 리커버리(recovery) 영역을 포함하는 제 1 메모리;
상기 제 1 메모리에 포함된 부트 영역, 커널 영역 및 리커버리 영역 중 적어도 하나에 대응하는 데이터를 로딩하도록 설정된 제 2 메모리;
통신 모듈; 및
상기 통신 모듈, 상기 제 1 메모리, 상기 제 2 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 통신 모듈을 통해, 데이터를 상기 제 1 메모리에 다운로드하고,
상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하고,
상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하고,
상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 상기 제 2 메모리에 로딩하고,
상기 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하도록 하는 인스트럭션들(instructions)을 포함하는 전자 장치.
In an electronic device,
A first memory including a boot area, a kernel area, and a recovery area;
A second memory configured to load data corresponding to at least one of a boot area, a kernel area, and a recovery area included in the first memory;
Communication module; And
A processor electrically connected to the communication module, the first memory, and the second memory, wherein the first memory, when executed, is executed by the processor,
Via the communication module, download data to the first memory,
When the update request for the downloaded data, perform a reboot,
Upon rebooting, check whether a new version of recovery data is included in the downloaded data,
When the new version of recovery data is included in the data, the new version of recovery data is loaded into the second memory,
And instructions for updating the downloaded data based on the loaded new version of the recovery data.
제 1 항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 다운로드된 데이터에 대한 업데이트 요청 시, 상기 다운로드된 데이터에 포함된 리커버리 데이터를 상기 제 2 메모리로 로딩하고,
상기 제 2 메모리로 로딩된 리커버리 데이터가 지워지지 않는 웜 리셋(warm reset)을 수행하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
When the update request is made for the downloaded data, the recovery data included in the downloaded data is loaded into the second memory,
And instructions for performing a warm reset in which recovery data loaded into the second memory is not erased.
제 2 항에 있어서,
상기 웜 리셋은, 상기 제 2 메모리의 지정된 영역에 로딩된 상기 리커버리 데이터의 저장 상태를 유지하고, 상기 지정된 영역을 제외한 상기 제 2 메모리의 나머지 영역을 초기화하는 전자 장치.
The method of claim 2,
The warm reset maintains the storage state of the recovery data loaded in the designated area of the second memory, and initializes the remaining areas of the second memory except the specified area.
제 1 항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 다운로드된 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 이용하여 업데이트를 할 지 여부를 결정하고,
상기 업데이트를 하는 경우, 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
When the downloaded data includes the recovery data of the new version, it is determined whether to update using the recovery data of the new version,
And instructions for updating the downloaded data based on the new version of the recovery data when the update is performed.
제 1 항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 통신 모듈을 통해, 서버에 연결하고,
상기 제 1 메모리 내에 지정된 영역을 확인하고,
상기 연결된 서버로부터 데이터를 다운로드 하고,
상기 다운로드된 데이터를 상기 확인된 지정된 영역에 저장하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
Through the communication module, to the server,
Confirm a designated area within the first memory,
Download data from the linked server,
Instructions for storing the downloaded data in the identified designated area.
제 1 항에 있어서,
상기 제 1 메모리는, 비휘발성 메모리이고,
상기 제 2 메모리는, 휘발성 메모리인 전자 장치.
The method of claim 1,
The first memory is a nonvolatile memory,
The second memory is a volatile memory.
제 1항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터가 상기 제 2 메모리 내에서 저장된 영역을 확인하고,
상기 확인된 영역을 기반으로 상기 새로운 버전의 리커버리 데이터를 사용하여 상기 데이터를 업데이트하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
When the data includes the new version of the recovery data, the area where the new version of the recovery data is stored in the second memory is checked,
And instructions for updating the data using the new version of recovery data based on the identified area.
제 1 항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
전원이 꺼지면, 재부팅 시, 상기 데이터에 상기 새로운 버전의 리커버리 데이터가 포함되어 있는지 여부를 확인하고,
상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 상기 제 2 메모리에 로딩하고,
상기 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
When the power is turned off, upon rebooting, it is checked whether the data includes the new version of recovery data,
When the new version of the recovery data is included, the new version of the recovery data is loaded into the second memory,
And instructions for updating the downloaded data based on the loaded new version of recovery data.
제 1 항에 있어서,
상기 데이터는 커널 데이터 및 리커버리 데이터 중 적어도 하나를 포함하고,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 제 2 메모리에 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 커널 데이터 및 상기 리커버리 데이터 중 적어도 하나의 데이터를 업데이트하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
The data includes at least one of kernel data and recovery data,
When the first memory is executed, the processor,
Instructions for updating at least one of the kernel data and the recovery data based on a new version of recovery data loaded into the second memory.
제 1 항에 있어서,
상기 제 1 메모리는, 실행시에, 상기 프로세서가,
상기 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되지 않은 경우, 상기 제 1 메모리에 저장된 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하도록 하는 인스트럭션들을 포함하는 전자 장치.
The method of claim 1,
When the first memory is executed, the processor,
And instructions for updating the downloaded data based on the recovery data stored in the first memory when the new version of the recovery data is not included in the downloaded data.
전자 장치의 업데이트 제어 방법에 있어서,
제 1 메모리를 기반으로, 서버로부터 데이터를 다운로드하는 동작;
상기 다운로드된 데이터에 대한 업데이트 요청 시, 재부팅을 수행하는 동작;
상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하는 동작;
상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 제 2 메모리로 로딩하는 동작; 및
상기 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작; 을 포함하는 방법.
In the update control method of an electronic device,
Downloading data from a server based on the first memory;
Performing a reboot upon request for update of the downloaded data;
Checking whether a new version of recovery data is included in the downloaded data upon the rebooting;
If the new version of recovery data is included in the data, loading the new version of recovery data into a second memory; And
Updating the downloaded data based on the loaded new version of recovery data; How to include.
제 11 항에 있어서,
상기 재부팅을 수행하는 동작은,
상기 다운로드된 데이터에 대한 업데이트 요청 시, 상기 다운로드된 데이터에 포함된 리커버리 데이터를 상기 제 2 메모리로 로딩하는 동작; 및
상기 제 2 메모리로 로딩된 리커버리 데이터가 지워지지 않는 웜 리셋(warm reset)을 수행하는 동작; 을 포함하는 방법.
The method of claim 11,
The operation of performing the reboot,
Loading recovery data included in the downloaded data into the second memory when an update request for the downloaded data is requested; And
Performing a warm reset in which recovery data loaded into the second memory is not erased; How to include.
제 12 항에 있어서,
상기 웜 리셋은, 상기 제 2 메모리의 지정된 영역에 로딩된 상기 리커버리 데이터의 저장 상태를 유지하고, 상기 지정된 영역을 제외한 상기 제 2 메모리의 나머지 영역을 초기화하는 방법.
The method of claim 12,
The warm reset maintains the storage state of the recovery data loaded in the designated area of the second memory and initializes the remaining areas of the second memory except the designated area.
제 11 항에 있어서,
상기 다운로드된 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 이용하여 업데이트를 할 지 여부를 결정하는 동작; 및
상기 업데이트를 하는 경우 상기 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작; 을 더 포함하는 방법.
The method of claim 11,
Determining whether to update by using the new version of the recovery data when the downloaded data includes the new version of the recovery data; And
Updating the downloaded data based on the new version of the recovery data when the update is performed; How to include more.
제 11 항에 있어서,
상기 서버로부터 데이터를 다운로드하는 동작은,
통신 모듈을 통해, 상기 서버에 연결하는 동작;
상기 제 1 메모리 내에 지정된 영역을 확인하는 동작;
상기 연결된 서버로부터 데이터를 다운로드하는 동작; 및
상기 다운로드된 데이터를 상기 확인된 지정된 영역에 저장하는 동작; 을 포함하는 방법.
The method of claim 11,
The operation of downloading data from the server,
Connecting to the server via a communication module;
Identifying a designated area within the first memory;
Downloading data from the connected server; And
Storing the downloaded data in the identified designated area; How to include.
제 11 항에 있어서,
상기 데이터에 상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터가 상기 제 2 메모리 내에서 저장된 영역을 확인하는 동작; 및
상기 확인된 영역을 기반으로 상기 새로운 버전의 리커버리 데이터를 사용하여 상기 데이터를 업데이트하는 동작; 을 더 포함하는 방법.
The method of claim 11,
When the data includes the new version of the recovery data, identifying a region in which the new version of the recovery data is stored in the second memory; And
Updating the data using the new version of recovery data based on the identified region; How to include more.
제 11 항에 있어서,
전원이 꺼지면, 재부팅 시, 상기 데이터에 상기 새로운 버전의 리커버리 데이터가 포함되어 있는지 여부를 확인하는 동작;
상기 새로운 버전의 리커버리 데이터가 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 상기 제 2 메모리에 로딩하는 동작; 및
상기 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작; 을 더 포함하는 방법.
The method of claim 11,
Checking whether the new version of recovery data is included in the data when the power is turned off;
If the new version of recovery data is included, loading the new version of recovery data into the second memory; And
Updating the downloaded data based on the loaded new version of recovery data; How to include more.
제 11 항에 있어서,
상기 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되지 않은 경우, 상기 제 1 메모리에 저장된 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작; 을 더 포함하는 방법.
The method of claim 11,
If the new version of recovery data is not included in the downloaded data, updating the downloaded data based on recovery data stored in the first memory; How to include more.
전자장치의 업데이트 제어 방법을 컴퓨터에서 실행시키기 위한 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체에 있어서,
제 1 메모리를 기반으로, 서버로부터 데이터를 다운로드하는 동작;
상기 다운로드된 데이터에 대한 업데이트 요청 시, 전자장치의 재부팅을 수행하는 동작;
상기 재부팅 시, 새로운 버전의 리커버리 데이터가 상기 다운로드된 데이터에 포함되어 있는지 여부를 확인하는 동작;
상기 새로운 버전의 리커버리 데이터가 상기 데이터에 포함된 경우, 상기 새로운 버전의 리커버리 데이터를 제 2 메모리로 로딩하는 동작; 및
상기 로딩된 새로운 버전의 리커버리 데이터를 기반으로, 상기 다운로드된 데이터를 업데이트하는 동작; 을 포함하는 방법을 수행하는 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체.
A computer readable storage medium storing a program for executing an update control method of an electronic device in a computer,
Downloading data from a server based on the first memory;
Performing a reboot of the electronic device when an update request for the downloaded data is performed;
Checking whether a new version of recovery data is included in the downloaded data upon the rebooting;
If the new version of recovery data is included in the data, loading the new version of recovery data into a second memory; And
Updating the downloaded data based on the loaded new version of recovery data; A computer readable storage medium having stored thereon a program for performing a method comprising a.
제 19 항에 있어서,
상기 재부팅을 수행하는 동작은,
상기 다운로드된 데이터에 대한 업데이트 요청 시, 상기 다운로드된 데이터에 포함된 리커버리 데이터를 상기 제 2 메모리로 로딩하는 동작; 및
상기 제 2 메모리로 로딩된 리커버리 데이터가 지워지지 않는 웜 리셋(warm reset)을 수행하는 동작; 을 포함하는 방법을 수행하는 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체.
The method of claim 19,
The operation of performing the reboot,
Loading recovery data included in the downloaded data into the second memory when an update request for the downloaded data is requested; And
Performing a warm reset in which recovery data loaded into the second memory is not erased; A computer readable storage medium having stored thereon a program for performing a method comprising a.
KR1020180031732A 2018-03-19 2018-03-19 Electronic device and method for controling update thereof KR102516583B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020180031732A KR102516583B1 (en) 2018-03-19 2018-03-19 Electronic device and method for controling update thereof
PCT/KR2019/003202 WO2019182335A1 (en) 2018-03-19 2019-03-19 Electronic device and method for controlling update of electronic device
US16/981,489 US11157264B2 (en) 2018-03-19 2019-03-19 Electronic device and method for controlling update of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180031732A KR102516583B1 (en) 2018-03-19 2018-03-19 Electronic device and method for controling update thereof

Publications (2)

Publication Number Publication Date
KR20190109979A true KR20190109979A (en) 2019-09-27
KR102516583B1 KR102516583B1 (en) 2023-04-03

Family

ID=67987368

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180031732A KR102516583B1 (en) 2018-03-19 2018-03-19 Electronic device and method for controling update thereof

Country Status (3)

Country Link
US (1) US11157264B2 (en)
KR (1) KR102516583B1 (en)
WO (1) WO2019182335A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021162367A1 (en) * 2020-02-10 2021-08-19 삼성전자 주식회사 Electronic device and method for initializing electronic device
WO2023277386A1 (en) * 2021-06-28 2023-01-05 주식회사 엘지에너지솔루션 Method for updating software by confirming hardware version information

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115298649A (en) * 2020-03-16 2022-11-04 Fdk株式会社 Control device and method for rewriting control program
CN115185741A (en) * 2022-06-14 2022-10-14 锐凌无线有限责任公司 Data recovery method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100853941B1 (en) * 2006-12-27 2008-08-25 (주)아이디스 Multimedia storage device and data recovering method of the device
KR20090041060A (en) * 2007-10-23 2009-04-28 브로드밴드미디어주식회사 Internet protocol television system and method for self-recovering using the same
KR20160039287A (en) * 2013-10-31 2016-04-08 인텔 코포레이션 Selective power management for pre-boot firmware updates
JP2016126443A (en) * 2014-12-26 2016-07-11 京セラドキュメントソリューションズ株式会社 Electronic device and firmware recovery program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7117482B2 (en) * 2003-03-26 2006-10-03 Sony Corporation Migration of configuration data from one software installation through an upgrade
KR101113342B1 (en) 2004-09-17 2012-02-28 엘지전자 주식회사 Boot-loader version managing method for mobile communication terminal
TW201033808A (en) * 2009-03-10 2010-09-16 Vivotek Inc System recovery method and embedded system with auto-recovery function
US8631239B2 (en) 2012-01-12 2014-01-14 Facebook, Inc. Multiple system images for over-the-air updates
US9026718B2 (en) 2012-06-11 2015-05-05 Samsung Electronics Co., Ltd. Method and apparatus for fault tolerant FOTA update with single backup block write

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100853941B1 (en) * 2006-12-27 2008-08-25 (주)아이디스 Multimedia storage device and data recovering method of the device
KR20090041060A (en) * 2007-10-23 2009-04-28 브로드밴드미디어주식회사 Internet protocol television system and method for self-recovering using the same
KR20160039287A (en) * 2013-10-31 2016-04-08 인텔 코포레이션 Selective power management for pre-boot firmware updates
JP2016126443A (en) * 2014-12-26 2016-07-11 京セラドキュメントソリューションズ株式会社 Electronic device and firmware recovery program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021162367A1 (en) * 2020-02-10 2021-08-19 삼성전자 주식회사 Electronic device and method for initializing electronic device
US11953983B2 (en) 2020-02-10 2024-04-09 Samsung Electronics Co., Ltd. Electronic device and method for initializing electronic device
WO2023277386A1 (en) * 2021-06-28 2023-01-05 주식회사 엘지에너지솔루션 Method for updating software by confirming hardware version information

Also Published As

Publication number Publication date
KR102516583B1 (en) 2023-04-03
US11157264B2 (en) 2021-10-26
US20210034354A1 (en) 2021-02-04
WO2019182335A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
US11507299B2 (en) Method for processing data and electronic device supporting same
US11157264B2 (en) Electronic device and method for controlling update of electronic device
US11222118B2 (en) Method for updating selinux security policy and terminal
KR102408583B1 (en) Method and apparatus for operating multimodal of near field communications circuitry
US11435985B2 (en) Electronic device and operation method thereof
KR20200090010A (en) Method for updating firmware, electronic device and storage medium therefor
US11656999B2 (en) Electronic device and method for determining and managing a partial region of mapping information in volatile memory
US20210325948A1 (en) Device and method for restoring application removed by factory data reset function
KR20200100958A (en) Electronic device and method for prefetching application
US20230185554A1 (en) Application installation method and electronic device for supporting same
US20200201518A1 (en) Method for starting application and electronic device for implementing same
US20200159562A1 (en) Electronic device and method for providing in-vehicle infotainment service
US11604656B2 (en) Method and apparatus for managing application
KR102405593B1 (en) Electronic device and method for operating data of the same
US11086538B2 (en) Method and electronic device for initializing storage
US20200285407A1 (en) Electronic device and method for utilizing memory space thereof
KR20210046426A (en) Application optimizing method and electronic device supporting the same
US20210026807A1 (en) Method for managing data associated with application and electronic device therefor
US11809313B2 (en) Resource caching method and electronic device supporting the same
US20220004634A1 (en) Electronic device for providing security-required service through secure element, and method for controlling same electronic device
US11953983B2 (en) Electronic device and method for initializing electronic device
US20220382534A1 (en) Method for updating application and electronic device of the same
CN117687567A (en) Memory system, method of memory system and electronic device
KR20200101049A (en) Electronic device and method for managing application data

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant