WO2015098811A1 - 電子機器 - Google Patents
電子機器 Download PDFInfo
- Publication number
- WO2015098811A1 WO2015098811A1 PCT/JP2014/083858 JP2014083858W WO2015098811A1 WO 2015098811 A1 WO2015098811 A1 WO 2015098811A1 JP 2014083858 W JP2014083858 W JP 2014083858W WO 2015098811 A1 WO2015098811 A1 WO 2015098811A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- program
- update
- interest
- volatile memory
- rewrite
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Definitions
- the present invention relates to an electronic device.
- a program for operating an embedded device such as a copying machine is recorded in a non-volatile memory that is not erased even when the power is turned off, and can be rewritten by upgrading.
- the update program is downloaded from a server on the network to the copier, and the non-volatile memory inside the copier is rewritten and restarted to upgrade the version remotely.
- the above-mentioned method should be adopted because an area for saving the program before the upgrade is not secured in the non-volatile memory as described above. It is difficult.
- the present invention has been made in view of the above problems, and reduces the area reserved for program update in the nonvolatile memory, and the program at power-on after the program update is interrupted by power-off.
- the purpose is to obtain an electronic device that can resume renewal.
- the electronic device includes a processor that executes processing according to a program, and a nonvolatile memory that stores a target program to be updated and a boot program that is executed at startup.
- the attention program includes a rewriting program for rewriting the attention program.
- the processor (a) downloads an update program used for updating the program of interest, (b) copies the rewrite program into the nonvolatile memory according to the program of interest, and (c) the rewrite program. After copying the program, the program started by the boot program is changed from the program of interest to the copied rewrite program, and restarted. (D) After the restart, the program of the copied rewrite program is changed according to the boot program. (E) Rewrite the program of interest in the nonvolatile memory with the update program according to the copied rewrite program.
- FIG. 1 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present invention.
- FIG. 2 is a flowchart for explaining the operation at the time of program update in the electronic device shown in FIG.
- FIG. 3 is a flowchart for explaining the storage use update process (step S5) in FIG.
- FIG. 4 is a block diagram illustrating a data flow in the storage use update process (step S5) in FIG.
- FIG. 5 is a flowchart illustrating the storageless update process (step S6) in FIG.
- FIG. 6 is a block diagram illustrating a data flow in the storageless update process (step S6) in FIG.
- FIG. 1 is a block diagram showing a configuration of an electronic device according to an embodiment of the present invention.
- the electronic device illustrated in FIG. 1 is a built-in device such as a multifunction peripheral, and is a kind of electronic device.
- non-volatile memory 1 such as a flash memory
- processor 2 such as a CPU (Central Processing Unit)
- RAM Random Access Memory
- a data storage device 4 such as (Solid State Drive) and a communication device 5 such as a network interface are provided.
- the non-volatile memory 1 stores a boot program 11 and an attention program 12 to be updated (hereinafter simply referred to as a program 12).
- the boot program 11 is a program that is executed first when the electronic device is activated, and calls another program to start execution of the program.
- the program 12 is firmware, for example, and is a program for controlling an internal device (not shown) in the electronic device and executing various data processing, and is stored in a predetermined storage area of the nonvolatile memory 1. .
- the program 12 includes a rewriting program 21 that rewrites the program 12.
- the boot program 11 normally calls a program stored in the predetermined storage area.
- the processor 2 executes processing described in the program according to the program stored in the nonvolatile memory 1.
- the processor 2 (a) downloads an update program used for updating the program 12 using the communication device 5, and (b) copies the rewrite program 21 to another area in the nonvolatile memory 1 according to the program 12. (In other words, only the rewriting program 21 that is a part of the program 12, not the entire program 12, is copied). (C) After the rewriting program 21 is copied, the program started by the boot program 11 is copied from the program 12. Change to a program and restart (d) After restarting, start the execution of the copied rewrite program according to the boot program 11, and (e) update the program in the nonvolatile memory 1 according to the copied rewrite program. The program 12 is rewritten.
- the processor 2 replaces the program started by the boot program 11 with the update program from the copied rewrite program according to the copied rewrite program. Return to 12 and restart.
- the communication device 5 performs data communication with a server on a network (not shown).
- the communication device 5 is used for downloading the above-described update program.
- FIG. 2 is a flowchart for explaining the operation at the time of program update in the electronic device shown in FIG.
- the processor 2 executes the boot program 11 at startup. In the normal mode, the processor 2 starts executing the program 12 according to the boot program 11 (step S1).
- step S2 When the processor 2 receives an update request for the program 12 during the execution of the program 12, the processor 2 starts an update process (step S2).
- This update request is received by the communication device 5 via a network, for example.
- the processor 2 searches for a data storage device that can store the update program corresponding to the program 12 (step S3), and a data storage device that can store the update program exists separately from the nonvolatile memory 1. Is determined (step S4).
- An update program corresponding to the program 12 is specified by an update request or specified by inquiring a predetermined server or the like.
- the data storage device that can store the update program is the non-volatile memory 1. It is determined that it exists separately.
- the size of the update program is notified by an update request or inquired of the server from which the update program is downloaded, and the size is compared with the remaining capacity of the data storage device.
- step S5 If such a data storage device exists separately from the nonvolatile memory 1, the processor 2 executes a storage usage update process (update process in the first mode) (step S5). On the other hand, when such a data storage device does not exist separately from the nonvolatile memory 1, the processor 2 executes a storageless update process (update process in the second mode) (step S6).
- FIG. 3 is a flowchart for explaining the storage use update process (step S5) in FIG.
- FIG. 4 is a block diagram illustrating a data flow in the storage use update process (step S5) in FIG.
- the data storage device 4 is used for storing the update program 31.
- the processor 2 first downloads the update program 31 using the communication device 5 according to the program 12 and stores it in the data storage device 4 (step S21).
- the processor 2 copies the rewrite program 21 to another area in the nonvolatile memory 1 according to the program 12 (step S22).
- the processor 2 changes the program started by the boot program 11 from the program 12 to the copied rewrite program 32 (step S23), and then restarts (step S24). . That is, the processor 2 restarts by switching the operation mode from the normal mode in which the program 12 is activated by the boot program 11 to the update mode in which the rewrite program 32 is activated by the boot program 11.
- the boot program 11 is executed by restarting. Then, the processor 2 starts executing the copied rewrite program 32 according to the boot program 11 (step S25).
- the processor 2 reads the update program 31 from the data storage device 4 in accordance with the copied rewrite program 32, and overwrites and rewrites the update program in the program 12 in the nonvolatile memory 1 (step S26).
- the processor 2 deletes the update program 31 stored in the data storage device 4 according to the copied rewriting program 32 (step S27).
- the processor 2 changes the program started by the boot program 11 from the copied rewrite program 32 to the program 12 (that is, the rewritten program 12) (step S28), and then restarts (step S29). ). That is, the processor 2 switches the operation mode from the update mode to the normal mode and restarts.
- step S29 the boot program 11 starts executing the updated program 12.
- step S23 In the case of storage usage update processing, if power off occurs at a certain time before completion of step S23, the update processing is executed again from step S1, and if power off occurs at some time after completion of step S23, The update process is resumed from S25. For this reason, operation is not disabled by turning off the power.
- step S6 the storageless update process
- FIG. 5 is a flowchart illustrating the storageless update process (step S6) in FIG.
- FIG. 6 is a block diagram illustrating a data flow in the storageless update process (step S6) in FIG.
- the processor 2 first copies the rewrite program 21 to another area in the nonvolatile memory 1 according to the program 12 (step S41).
- the processor 2 After copying the rewrite program 21, the processor 2 changes the program started by the boot program 11 from the program 12 to the copied rewrite program 32 (step S42), and then restarts (step S43). That is, the processor 2 switches the operation mode from the normal mode to the update mode and restarts.
- the boot program 11 is executed by restarting. Then, the processor 2 starts executing the copied rewrite program 32 according to the boot program 11 (step S44).
- the processor 2 downloads the update program 31 and stores it in the RAM 3 using the communication device 5 according to the copied rewrite program 32 (step S45).
- the processor 2 reads the update program 31 from the RAM 3 in accordance with the copied rewrite program 32, and overwrites the program 12 in the nonvolatile memory 1 to rewrite the update program 31 (step S46).
- the processor 2 changes the program started by the boot program 11 from the copied rewrite program 32 to the program 12 (that is, the rewritten program 12) (step S47), and then restarts (step S48). ). That is, the processor 2 switches the operation mode from the update mode to the normal mode and restarts.
- step S48 execution of the updated program 12 is started by the boot program 11.
- step S42 In the case of storageless update processing, if power off occurs at a certain time before completion of step S42, the update processing is executed again from step S1, and if power off occurs at some time after completion of step S42, The update process is resumed from S44. For this reason, operation is not disabled by turning off the power.
- the processor (a) downloads the update program 31 used for updating the program 12, and (b) sets the rewrite program 21 in the program 12 in a nonvolatile manner according to the program 12. (C) After copying the rewriting program 21, the program started by the boot program 11 is changed from the program 12 to the copied rewriting program 32 and restarted. (D) Restarting Later, the copied rewrite program 32 starts to be executed according to the boot program 11, and (e) the program 12 in the nonvolatile memory 1 is rewritten with the update program 31 according to the copied rewrite program 32.
- the program update is interrupted when the power is turned off.
- the program update can be resumed when the power is turned on.
- step S5 when it is known in advance (for example, at the time of manufacture) whether or not the electronic device according to the above embodiment has a data storage device that can be used to store the update program 31, the processing of steps S3 and S4 May be omitted, and only one of the storage use update process (step S5) and the storageless update process (step S6) may be executed.
- the processor 2 stores data indicating which of the storage use update process (step S5) and the storageless update process (step S6) is selected in accordance with the program 12 in the nonvolatile memory 1, the RAM 3, and the like.
- the processor 2 refers to the data according to the rewrite program 32 and specifies the currently selected storage use update process (step S5) or storageless update process (step S6) according to the rewrite program 32.
- a process to be executed in the update process may be executed.
- the processor 2 calls the rewrite program 32 according to the boot program 11, the data may be provided to the rewrite program 32 as an argument.
- different rewrite programs 21 and 32 may be used in the storage use update process (step S5) and the storageless update process (step S6).
- the present invention is applicable, for example, to updating a program in an embedded device.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (5)
- プログラムに従って処理を実行するプロセッサーと、
更新対象の注目プログラムおよび起動時に実行されるブートプログラムを記憶している不揮発性メモリーとを備え、
前記注目プログラムは、前記注目プログラムの書き換えを行う書換プログラムを含み、
前記プロセッサーは、(a)前記注目プログラムの更新に使用する更新プログラムをダウンロードし、(b)前記注目プログラムに従って、前記書換プログラムを前記不揮発性メモリー内にコピーし、(c)前記書換プログラムのコピー後、前記ブートプログラムにより起動されるプログラムを前記注目プログラムから、コピーされた前記書換プログラムへ変更して、再起動し(d)再起動後に前記ブートプログラムに従って、コピーされた前記書換プログラムの実行を開始し、(e)コピーされた前記書換プログラムに従って、前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換えること、
を特徴とする電子機器。 - 揮発性メモリーをさらに備え、
前記プロセッサーは、前記更新プログラムを格納可能なデータ記憶装置が前記不揮発性メモリーとは別に存在するか否かを判定し、前記データ記憶装置が前記不揮発性メモリーとは別に存在する場合、第1モードで前記注目プログラムを更新し、前記データ記憶装置が前記不揮発性メモリーとは別に存在しない場合、第2モードで前記注目プログラムを更新し、
前記第1モードでは、前記プロセッサーは、前記再起動の前に、前記注目プログラムに従って前記更新プログラムをダウンロードして前記データ記憶装置に格納し、前記再起動の後に、前記コピーされた前記書換プログラムに従って前記データ記憶装置から前記更新プログラムを読み出し、読み出した前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換え、
前記第2モードでは、前記プロセッサーは、前記再起動の後に、前記コピーされた前記書換プログラムに従って前記更新プログラムをダウンロードして前記揮発性メモリーに格納し、前記揮発性メモリーから前記更新プログラムを読み出し、読み出した前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換えること、
を特徴とする請求項1記載の電子機器。 - 前記更新プログラムを格納可能なデータ記憶装置が前記不揮発性メモリーとは別に存在する場合、前記プロセッサーは、前記再起動の前に、前記注目プログラムに従って前記更新プログラムをダウンロードして前記データ記憶装置に格納し、前記再起動の後に、前記コピーされた前記書換プログラムに従って前記データ記憶装置から前記更新プログラムを読み出し、読み出した前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換えることを特徴とする請求項1記載の電子機器。
- 揮発性メモリーをさらに備え、
前記更新プログラムを格納可能なデータ記憶装置が前記不揮発性メモリーとは別に存在しない場合、前記プロセッサーは、前記再起動の後に、前記コピーされた前記書換プログラムに従って前記更新プログラムをダウンロードして前記揮発性メモリーに格納し、前記揮発性メモリーから前記更新プログラムを読み出し、読み出した前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換えること、
を特徴とする請求項1記載の電子機器。 - 前記更新プログラムで、前記不揮発性メモリー内の前記注目プログラムを書き換えた後、前記プロセッサーは、前記コピーされた前記書換プログラムに従って、前記ブートプログラムにより起動されるプログラムを、コピーされた前記書換プログラムから、前記更新プログラムで更新された前記注目プログラムへ戻して、再起動することを特徴とする請求項1記載の電子機器。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015554866A JP6074064B2 (ja) | 2013-12-27 | 2014-12-22 | 電子機器 |
US15/104,972 US20160321057A1 (en) | 2013-12-27 | 2014-12-22 | Electronic apparatus |
CN201480067852.0A CN105814545B (zh) | 2013-12-27 | 2014-12-22 | 电子设备 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013-271377 | 2013-12-27 | ||
JP2013271377 | 2013-12-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015098811A1 true WO2015098811A1 (ja) | 2015-07-02 |
Family
ID=53478665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2014/083858 WO2015098811A1 (ja) | 2013-12-27 | 2014-12-22 | 電子機器 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20160321057A1 (ja) |
JP (1) | JP6074064B2 (ja) |
CN (1) | CN105814545B (ja) |
WO (1) | WO2015098811A1 (ja) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017059211A (ja) * | 2015-09-14 | 2017-03-23 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | ゲートウェイ装置、車載ネットワークシステム及びファームウェア更新方法 |
JP2019040571A (ja) * | 2017-08-29 | 2019-03-14 | オンキヨー株式会社 | 電子機器 |
JP2021006940A (ja) * | 2019-06-27 | 2021-01-21 | 富士通株式会社 | 更新管理装置、更新管理システム及び更新管理プログラム |
JP2023502511A (ja) * | 2019-11-25 | 2023-01-24 | マイクロン テクノロジー,インク. | セキュアストレージデバイスでのレジリエントなソフトウェア更新 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7292328B2 (ja) * | 2021-05-28 | 2023-06-16 | キヤノン株式会社 | 情報処理装置及びその制御方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08255084A (ja) * | 1995-01-18 | 1996-10-01 | Hewlett Packard Co <Hp> | Eepromのアップグレード方法 |
JP2004192329A (ja) * | 2002-12-11 | 2004-07-08 | Fuji Photo Film Co Ltd | プログラム書換え方法および端末装置 |
JP2006133889A (ja) * | 2004-11-02 | 2006-05-25 | Sharp Corp | プログラムを更新するための方法、プログラムおよび装置 |
JP2012226619A (ja) * | 2011-04-20 | 2012-11-15 | Kyocera Corp | 携帯端末装置、記憶制御方法及び記憶制御プログラム |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6640334B1 (en) * | 1999-09-27 | 2003-10-28 | Nortel Networks Limited | Method and apparatus of remotely updating firmware of a communication device |
JP2003167609A (ja) * | 2001-11-28 | 2003-06-13 | Fuji Electric Co Ltd | プログラマブルコントローラ、そのユーザプログラム更新方法、記録媒体、及びプログラム |
US20040230963A1 (en) * | 2003-05-12 | 2004-11-18 | Rothman Michael A. | Method for updating firmware in an operating system agnostic manner |
KR100987628B1 (ko) * | 2004-02-07 | 2010-10-13 | 엘지전자 주식회사 | 엠비디드 컨트롤러의 펌웨어 갱신방법 및 갱신용 펌웨어저장매체 |
US8316120B2 (en) * | 2010-02-02 | 2012-11-20 | Microsoft Corporation | Applicability detection using third party target state |
-
2014
- 2014-12-22 US US15/104,972 patent/US20160321057A1/en not_active Abandoned
- 2014-12-22 CN CN201480067852.0A patent/CN105814545B/zh not_active Expired - Fee Related
- 2014-12-22 JP JP2015554866A patent/JP6074064B2/ja active Active
- 2014-12-22 WO PCT/JP2014/083858 patent/WO2015098811A1/ja active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08255084A (ja) * | 1995-01-18 | 1996-10-01 | Hewlett Packard Co <Hp> | Eepromのアップグレード方法 |
JP2004192329A (ja) * | 2002-12-11 | 2004-07-08 | Fuji Photo Film Co Ltd | プログラム書換え方法および端末装置 |
JP2006133889A (ja) * | 2004-11-02 | 2006-05-25 | Sharp Corp | プログラムを更新するための方法、プログラムおよび装置 |
JP2012226619A (ja) * | 2011-04-20 | 2012-11-15 | Kyocera Corp | 携帯端末装置、記憶制御方法及び記憶制御プログラム |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017059211A (ja) * | 2015-09-14 | 2017-03-23 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | ゲートウェイ装置、車載ネットワークシステム及びファームウェア更新方法 |
JP2020107355A (ja) * | 2015-09-14 | 2020-07-09 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | 仮想マシンモニタ、ソフトウェア及びファームウェア更新方法 |
JP2019040571A (ja) * | 2017-08-29 | 2019-03-14 | オンキヨー株式会社 | 電子機器 |
JP2021006940A (ja) * | 2019-06-27 | 2021-01-21 | 富士通株式会社 | 更新管理装置、更新管理システム及び更新管理プログラム |
JP2023502511A (ja) * | 2019-11-25 | 2023-01-24 | マイクロン テクノロジー,インク. | セキュアストレージデバイスでのレジリエントなソフトウェア更新 |
JP7392147B2 (ja) | 2019-11-25 | 2023-12-05 | マイクロン テクノロジー,インク. | セキュアストレージデバイスでのレジリエントなソフトウェア更新 |
Also Published As
Publication number | Publication date |
---|---|
CN105814545B (zh) | 2019-08-27 |
US20160321057A1 (en) | 2016-11-03 |
JPWO2015098811A1 (ja) | 2017-03-23 |
JP6074064B2 (ja) | 2017-02-01 |
CN105814545A (zh) | 2016-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6074064B2 (ja) | 電子機器 | |
US20100180108A1 (en) | Electronic device and method for secure operating system update in embedded system | |
CN102667716A (zh) | 使用固件更新应用程序更新部件的固件的方法及装置 | |
JP6270616B2 (ja) | 情報処理装置及びその制御方法、並びにプログラム | |
JP2010170197A (ja) | ファームウェア管理プログラム、記憶装置およびファームウェア管理方法 | |
US20140258699A1 (en) | Boot fault tolerant device and method thereof | |
JP4867186B2 (ja) | 制御装置、方法、プログラム及び記憶媒体 | |
US20170264768A1 (en) | Information processing apparatus and restart executing method | |
JP5084853B2 (ja) | ファームウエア更新装置、通信装置、電子機器、ファームウエア更新システム、ファームウエア更新方法及びプログラム | |
JP2012174061A (ja) | 情報処理装置、情報処理方法、スキャナ装置、スキャナ装置の制御方法 | |
JP6192089B2 (ja) | 情報処理装置、情報処理装置の制御方法及び制御プログラム | |
JP6457756B2 (ja) | 情報処理装置、その制御方法、及びプログラム | |
JP2023068538A (ja) | 情報処理装置及びその制御方法、並びにプログラム | |
WO2012077604A1 (ja) | 処理装置、プログラム更新方法、およびプログラム | |
JP5418348B2 (ja) | 情報処理装置およびカラオケ装置 | |
JP5158883B2 (ja) | ファームウェア更新方法及びファームウェア更新装置 | |
JP7031211B2 (ja) | 電子機器 | |
JP7491765B2 (ja) | ファームウェア更新システムおよびファームウェア更新方法 | |
JP2022152170A (ja) | ブートプログラム書き換えシステム | |
JP2004094725A (ja) | ファームウェア書換装置及びファームウェア書換方法 | |
JP2005228225A (ja) | メモリカードアダプタ | |
JP2017054372A (ja) | 制御方法およびそれを利用した通信装置 | |
JP2005078336A (ja) | 画像形成装置と画像形成装置のプログラム書換方法 | |
CN118012513A (zh) | 设备树参数调试方法和装置、电子设备和存储介质 | |
JP5976729B2 (ja) | 電子機器 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14875775 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2015554866 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15104972 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14875775 Country of ref document: EP Kind code of ref document: A1 |