JP2021005182A - Firmware update system, server, and electronic apparatus - Google Patents
Firmware update system, server, and electronic apparatus Download PDFInfo
- Publication number
- JP2021005182A JP2021005182A JP2019118033A JP2019118033A JP2021005182A JP 2021005182 A JP2021005182 A JP 2021005182A JP 2019118033 A JP2019118033 A JP 2019118033A JP 2019118033 A JP2019118033 A JP 2019118033A JP 2021005182 A JP2021005182 A JP 2021005182A
- Authority
- JP
- Japan
- Prior art keywords
- update
- firmware
- version
- update package
- package
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、ファームウェアを更新するファームウェア更新システム、及び、ファームウェア更新システムを構成するサーバー、及び、電子機器に関する。 The present invention relates to a firmware update system for updating firmware, a server constituting the firmware update system, and an electronic device.
AVレシーバー等に搭載されるマイクロコンピューターのアップデート機能において、ファームウェアの構成上、古いファームウェアから、新しいファームウェアへ、1回ではアップデートできず、特定のバージョンのファームウェアを経由しなければならないパターンが存在する場合がある。このような場合、ファームウェアを順番にアップデートすれば、問題になることは少ないが、2段階のアップデートが必要になれば、ユーザーには、2段階のアップデートを促す必要がある。 In the update function of the microcomputer installed in the AV receiver, etc., when there is a pattern that cannot be updated from the old firmware to the new firmware at one time due to the firmware configuration and must go through a specific version of the firmware. There is. In such a case, if the firmware is updated in order, it is less likely to cause a problem, but if a two-step update is required, the user needs to be encouraged to perform the two-step update.
従来、書き込まれているマイクロコンピューターのバージョンによって、参照するファイル名を変更し、2段階のアップデートが実現されていた。しかしながら、参照するファイル名の変更に対応していないほど、古いファームウェアが書かれている場合、アップデートに食い違いが発生する。さらに、一度、アップデートが完了したにも関わらず、再度、ユーザーは、アップデートをするように促されると、正常にアップデートが完了していないのではないかと勘違いしてしまう場合があり、品質問題にもなりかねない状況であった。 In the past, the file name to be referenced was changed depending on the version of the microcomputer being written, and a two-step update was realized. However, if the firmware is so old that it does not correspond to the change of the referenced file name, there will be a discrepancy in the update. In addition, once the update is complete, the user may be prompted to do the update again and may mistakenly think that the update has not been completed successfully, which is a quality issue. It was a situation that could be the case.
なお、特許文献1には、ファームウェアのアップデートに依存関係があり、依存関係のあるファームウェアを正常にアップデートするための発明が開示されている。 Note that Patent Document 1 discloses an invention for normally updating the dependent firmware, which has a dependency on the firmware update.
上述したように、ファームウェアの2段階以上のアップデートが必要な場合、問題が生じる場合があった。 As mentioned above, problems may occur when the firmware needs to be updated in two or more steps.
本発明の目的は、2段階以上のアップデートが必要であっても、問題が生じること防止することである。 An object of the present invention is to prevent problems from occurring even if two or more steps of updating are required.
第1の発明のファームウェア更新システムは、アップデートパッケージを記憶する記憶部を有するサーバーと、制御部を有する電子機器と、を備えるファームウェア更新システムであって、前記アップデートパッケージには、そのアップデートパッケージに更新する前に更新が必要なバージョンの情報と、そのバージョンのアップデートパッケージのアドレスを示す情報と、が記載されており、前記制御部は、自己のバージョンと、前記アップデートパッケージに記載のバージョンと、を比較し、前記アップデートパッケージに記載のバージョンが、自己のバージョンよりも新しい場合、前記アップデートパッケージに記載のアドレスに基づいて、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始することを特徴とする。 The firmware update system of the first invention is a firmware update system including a server having a storage unit for storing an update package and an electronic device having a control unit, and the update package is updated to the update package. Information on the version that needs to be updated and information indicating the address of the update package for that version are described, and the control unit determines its own version and the version described in the update package. By comparison, if the version described in the update package is newer than its own version, another update package is downloaded and a firmware update is started based on the address described in the update package. ..
本発明では、電子機器の制御部は、アップデートパッケージに記載のバージョンが、自己のバージョンよりも新しい場合、前記アップデートパッケージに記載のアドレスに基づいて、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始する。これにより、2段階以上のアップデートが必要であっても、問題が生じることなく、ファームウェアのアップデートを行うことができる。 In the present invention, when the version described in the update package is newer than its own version, the control unit of the electronic device downloads another update package based on the address described in the update package and updates the firmware. Start. As a result, even if two or more steps of updating are required, the firmware can be updated without causing a problem.
第2の発明のファームウェア更新システムは、第1の発明のファームウェア更新システムにおいて、前記アップデートパッケージには、そのアップデートパッケージのバージョンの情報と、そのバージョンのアップデートパッケージのアドレスを示す情報と、がさらに記載されており、前記制御部は、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始した後、アップデートパッケージに記載のそのアップデートパッケージのアドレスに基づいて、アップデートパッケージをダウンロードし、ファームウェアを更新することを特徴とする。 The firmware update system of the second invention is the firmware update system of the first invention, and the update package further includes information on the version of the update package and information indicating the address of the update package of the version. After downloading another update package and starting the firmware update, the control unit downloads the update package and updates the firmware based on the address of the update package described in the update package. It is characterized by.
第3の発明のファームウェア更新システムは、第1又は第2の発明のファームウェア更新システムにおいて、前記制御部は、継続アップデートが必要な場合、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始した後、継続してファームウェアのアップデートを行うことを特徴とする。 The firmware update system of the third invention is the firmware update system of the first or second invention, after the control unit downloads another update package and starts the firmware update when continuous update is required. , It is characterized by continuously updating the firmware.
本発明では、制御部は、継続アップデートが必要な場合、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始した後、継続してファームウェアのアップデートを行う。これにより、最新のファームウェアにアップデートすることができる。 In the present invention, when continuous update is required, the control unit downloads another update package, starts the firmware update, and then continuously updates the firmware. This allows you to update to the latest firmware.
第4の発明のファームウェア更新システムは、第1〜第3のいずれかの発明のファームウェア更新システムにおいて、前記制御部は、前記アップデートパッケージに、そのアップデートパッケージのバージョンの情報と、そのバージョンのアップデートパッケージのアドレスを示す情報と、のみが記載されている場合、そのアドレスに基づいて、アップデートパッケージをダウンロードし、ファームウェアのアップデートを行うことを特徴とする。 The firmware update system of the fourth invention is the firmware update system of any one of the first to third inventions. If only the information indicating the address of the above is described, the update package is downloaded and the firmware is updated based on the address.
第5の発明のサーバーは、第1〜第4のいずれかの発明のサーバーである。 The server of the fifth invention is the server of any one of the first to fourth inventions.
第6の発明の電子機器は、第1〜第4のいずれかの発明の電子機器である。 The electronic device of the sixth invention is the electronic device of any one of the first to fourth inventions.
本発明によれば、2段階以上のアップデートが必要であっても、問題が生じることなく、ファームウェアのアップデートを行うことができる。 According to the present invention, even if two or more steps of updating are required, the firmware can be updated without causing a problem.
以下、本発明の実施形態について説明する。図1は、本実施形態に係るファームウェア更新システム1を示すブロック図である。図1に示すように、ファームウェア更新システム1は、AVレシーバー2〜4と、サーバー5と、を備える。
Hereinafter, embodiments of the present invention will be described. FIG. 1 is a block diagram showing a firmware update system 1 according to the present embodiment. As shown in FIG. 1, the firmware update system 1 includes
図2は、AVレシーバー2の構成を示すブロック図である。AVレシーバー2〜4は、同様の構成である。このため、AVレシーバー2についてのみ説明する。AVレシーバー2(電子機器)は、例えば、CDプレーヤー10から出力された音声信号に、増幅等の音声処理を行って、スピーカー20に出力する。
FIG. 2 is a block diagram showing the configuration of the
図2に示すように、AVレシーバー2は、マイクロコンピューター201、記憶部202、表示部203、操作部204、デジタル信号入力端子205、DIR(Digital Interface Receiver)206、DSP(Digital Signal Processor)207、D/Aコンバーター(以下、「DAC」という。)208、ボリューム調整部209、増幅部210、スピーカー端子211、ネットワークインターフェース(以下、「NW I/F」という。)212を備える。
As shown in FIG. 2, the
マイクロコンピューター201(制御部)は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等のハードウェアから構成されている。CPUは、ROMに記憶されたプログラムに従って、AVレシーバー2を構成する各部を制御する。RAMは、CPUの主メモリとして機能する。ROMは、プログラムを記憶する。
The microcomputer 201 (control unit) is composed of hardware such as a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The CPU controls each part constituting the
表示部203は、設定画面等を表示するものであり、LCD(液晶ディスプレイ)や蛍光表示管等である。操作部204は、ユーザー操作を受け付けるためのものであり、AVレシーバー2の筐体に設けられた操作ボタンやリモートコントローラーである。ユーザーは、操作部204を操作することにより、例えば、音声信号のボリューム値をAVレシーバー2に指示することができる。
The
デジタル信号入力端子205には、CDプレーヤー10が接続されている。デジタル信号入力端子205には、CDプレーヤー10からSPDIF信号が入力される。DIR206は、CDプレーヤー10から入力されるSPDIF信号を、I2S信号に変換する。変換されたI2S信号は、DSP207に出力される。DSP207は、I2S信号に、デコード、イコライザー処理等のデジタル信号処理を行う。デジタル信号処理が行われたI2S信号は、DAC208に出力される。DAC208は、I2S信号をアナログ音声信号にD/A変換する。D/A変換されたアナログ音声信号は、ボリューム調整部209に出力される。
A
ボリューム調整部209は、アナログ音声信号のボリューム値を調整する。ボリューム値が調整されたアナログ音声信号は、増幅部210に出力される。増幅部210は、ボリューム値が調整されたアナログ音声信号を増幅する。増幅されたアナログ音声信号は、スピーカー端子211に出力される。スピーカー端子211には、スピーカー20が接続されている。スピーカー20は、アナログ音声信号に基づいて、音声を出力する。
The
NW I/F212は、ネットワークを介して、外部機器と通信を行うためのものである。CPU201は、NW I/F212により、ネットワークを介して、外部機器(サーバー5)と通信を行う。
The NW I / F 212 is for communicating with an external device via a network. The
サーバー5は、マイクロコンピューター501、記憶部502、ネットワークインターフェース(以下、「NW I/F」という。)503を備える。マイクロコンピューター501(制御部)は、CPU、ROM、RAM等のハードウェアから構成されている。CPUは、ROMに記憶されたプログラムに従って、サーバー5を構成する各部を制御する。RAMは、CPUの主メモリとして機能する。ROMは、プログラムを記憶する。記憶部502は、アップデートパッケージを記憶している。NW I/F503は、ネットワークを介して、外部機器と通信を行うためのものである。CPU501は、NW I/F503により、ネットワークを介して、外部機器(AVレシーバー2〜4)と通信を行う。
The
図3は、サーバー5の記憶部502に記憶されているアップデートパッケージに記載されている情報を示す図である。図3に示すように、アップデートパッケージには、そのアップデートパッケージに更新する前に更新が必要なバージョンの情報([必要なVersionInfo])と、そのバージョンのアップデートパッケージのアドレスを示す情報([UpdateURL1])と、が記載されている。また、アップデートパッケージには、そのアップデートパッケージのバージョンの情報([実際のVersionInfo])と、そのバージョンのアップデートパッケージのアドレスを示す情報([UpdateURL2])と、が記載されている。すなわち、サーバー5のマイクロコンピューター501は、一番最初にダウンロードされるバージョン情報ファイルに、最低限必要なバージョン情報([必要なVersionInfo])、そのダウンロード先([UpdateURL1])、及び、自身のパッケージが含むバージョン情報([実際のVersionInfo])、そのダウンロード先([UpdateURL2])を格納しておく。
FIG. 3 is a diagram showing information described in the update package stored in the
ここで、図3の「N:〜」は、ネットマイクロコンピューターのバージョンを示している。例えば、図3に示すアップデートパッケージをダウンロードしたAVレシーバー2のネットマイクロコンピューターのバージョンが、1.00であった場合、必要なVersionInfoである1.01よりも低いため、マイクロコンピューター201は、[UpdateURL1]を参照して、再度、アップデートパッケージのダウンロードを行う。
Here, "N: ~" in FIG. 3 indicates the version of the net microcomputer. For example, if the version of the net microcomputer of the
図4は、図3に示す[UpdateURL1]に従って、ダウンロードするアップデートパッケージに記載されている情報を示す図である。再度、ダウンロードし直したパッケージには、図4に示すように、必要なVersionInfo情報がないため、マイクロコンピューター201は、記載されている[UpdateURL1]を参照して、通常のアップデートを行う。マイクロコンピューター201は、アップデートが完了したら、AVレシーバー2の再起動を行う。そして、マイクロコンピューター201は、図3に示す[UpdateURL2]を参照し、アップデートパッケージをダウンロード、ファームウェアのアップデートを開始して、最新の状態に更新する。
FIG. 4 is a diagram showing information described in the update package to be downloaded according to [UpdateURL1] shown in FIG. As shown in FIG. 4, the re-downloaded package does not have the necessary VersionInfo information. Therefore, the
以下、AVレシーバー2の処理動作を、図5に示すフローチャートに基づいて、説明する。AVレシーバー2のマイクロコンピューター201は、アップデートファイルをサーバー5に要求する(S1)。次に、マイクロコンピューター201は、ダウンロードしたアップデートファイルのバージョン情報を取得する(S2)。次に、マイクロコンピューター201は、アップデートファイルに、アップデートに必要なバージョンの記載があるか否かを判断する(S3)。
Hereinafter, the processing operation of the
マイクロコンピューター201は、アップデートファイルに、アップデートに必要なバージョンの記載があると判断した場合(S3:Yes)、自己の各バージョン(ネットマイクロコンピューター等)と、必要なバージョン情報と、を比較する(S4)。次に、マイクロコンピューター201は、前のバージョンでファームウェアのアップデートが必要であるか否かを判断する(S5)。マイクロコンピューター201は、前のバージョンでのファームウェアのアップデートが必要であると判断した場合(S5:Yes)、アップデートファイルのダウンロード先を、記載されているURLに変更する(S6)。
When the
マイクロコンピューター201は、アップデートファイルに、アップデートに必要なバージョンの記載がないと判断した場合(S3:No)、前のバージョンでのファームウェアのアップデートが必要でないと判断した場合(S5:No)、S6の処理の後、アップデートファイルのダウンロード先に変更があるか否かを判断する(S7)。マイクロコンピューター201は、アップデートファイルのダウンロード先に変更があると判断した場合(S7:Yes)、ダウンロードしたアップデートファイルより、ダウンロード有無のチェックを行う(S8)。
When the
次に、マイクロコンピューター201は、AVレシーバー2のアップデートが必要であるか否かを判断する(S9)。マイクロコンピューター201は、アップデートが必要であると判断した場合(S9:Yes)、アップデートを開始する(S10)。マイクロコンピューター201は、アップデートが必要でないと判断した場合(S9:No)、S10の処理の後、継続アップデートが必要であるか否かを判断する(S11)。マイクロコンピューター201は、継続アップデートが必要でないと判断した場合(S11:No)、処理を終了する。マイクロコンピューター201は、アップデートファイルのダウンロード先に変更がないと判断した場合(S7:No)、継続アップデートが必要であると判断した場合(S11:Yes)、S1の処理を実行する。
Next, the
サーバー5のマイクロコンピューター501は、継続アップデートが必要である場合、AVレシーバー2のマイクロコンピューター201に、継続アップデートがある旨を通知する。
The
以上説明したように、本実施形態では、AVレシーバー2のマイクロコンピューター201は、アップデートパッケージに記載のバージョンが、自己のバージョンよりも新しい場合、アップデートパッケージに記載のアドレスに基づいて、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始する。これにより、2段階以上のアップデートが必要であっても、問題が生じることなく、ファームウェアのアップデートを行うことができる。
As described above, in the present embodiment, when the version described in the update package of the
本実施形態によれば、段階的なアップデートを行うことができるため、ユーザーに不要なアップデート操作を繰り返し実施してもらう必要がなくなり、安定した機器アップデートを実現することができる。また、新旧ファームウェアの差分による動作不全等を事前に防ぐことが可能となる。 According to this embodiment, since the update can be performed step by step, it is not necessary for the user to repeatedly perform unnecessary update operations, and stable device update can be realized. In addition, it is possible to prevent malfunction due to the difference between the old and new firmware in advance.
また、本実施形態では、マイクロコンピューター201は継続アップデートが必要な場合、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始した後、継続してファームウェアのアップデートを行う。これにより、最新のファームウェアにアップデートすることができる。
Further, in the present embodiment, when the
以上、本発明の実施形態について説明したが、本発明を適用可能な形態は、上述の実施形態には限られるものではなく、以下に例示するように、本発明の趣旨を逸脱しない範囲で適宜変更を加えることが可能である。 Although the embodiments of the present invention have been described above, the embodiments to which the present invention can be applied are not limited to the above-described embodiments, and as illustrated below, they are appropriately used without departing from the spirit of the present invention. It is possible to make changes.
上述の実施形態においては、電子機器として、AVレシーバー2〜4を例示した。これに限らず、ファームウェアを備える電子機器であれば、他の電子機器であってもよい。
In the above-described embodiment,
本発明は、ファームウェアを更新するファームウェア更新システム、ファームウェア更新システムを構成するサーバー、及び、電子機器に好適に採用され得る。 The present invention can be suitably adopted for a firmware update system for updating firmware, a server constituting the firmware update system, and an electronic device.
1 ファームウェア更新システム
2〜4 AVレシーバー(電子機器)
201 マイクロコンピューター(制御部)
5 サーバー
501 マイクロコンピューター(制御部)
502 記憶部
1 Firmware update system 2-4 AV receiver (electronic device)
201 Microcomputer (control unit)
5
502 storage
Claims (6)
制御部を有する電子機器と、を備えるファームウェア更新システムであって、
前記アップデートパッケージには、そのアップデートパッケージに更新する前に更新が必要なバージョンの情報と、そのバージョンのアップデートパッケージのアドレスを示す情報と、が記載されており、
前記制御部は、
自己のバージョンと、前記アップデートパッケージに記載のバージョンと、を比較し、
前記アップデートパッケージに記載のバージョンが、自己のバージョンよりも新しい場合、前記アップデートパッケージに記載のアドレスに基づいて、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始することを特徴とするファームウェア更新システム。 A server with a storage unit that stores update packages, and
A firmware update system including an electronic device having a control unit.
The update package contains information on the version that needs to be updated before updating to the update package, and information indicating the address of the update package for that version.
The control unit
Compare your version with the version described in the update package,
A firmware update system characterized in that if the version described in the update package is newer than its own version, another update package is downloaded and a firmware update is started based on the address described in the update package. ..
前記制御部は、別のアップデートパッケージをダウンロードし、ファームウェアのアップデートを開始した後、アップデートパッケージに記載のそのアップデートパッケージのアドレスに基づいて、アップデートパッケージをダウンロードし、ファームウェアを更新することを特徴とする請求項1に記載のファームウェア更新システム。 The update package further includes information on the version of the update package and information indicating the address of the update package of the version.
The control unit downloads another update package, starts updating the firmware, and then downloads the update package and updates the firmware based on the address of the update package described in the update package. The firmware update system according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019118033A JP2021005182A (en) | 2019-06-26 | 2019-06-26 | Firmware update system, server, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019118033A JP2021005182A (en) | 2019-06-26 | 2019-06-26 | Firmware update system, server, and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021005182A true JP2021005182A (en) | 2021-01-14 |
Family
ID=74097731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019118033A Pending JP2021005182A (en) | 2019-06-26 | 2019-06-26 | Firmware update system, server, and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021005182A (en) |
-
2019
- 2019-06-26 JP JP2019118033A patent/JP2021005182A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6155888B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
JP2009020878A (en) | Mobile electronic device, and method for restoring device setting in the same | |
US20050289534A1 (en) | Method for upgrading software version of mobile terminal using integrated difference files | |
JP6156512B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
JP2015103106A (en) | Communication device and communication program | |
US9866601B2 (en) | Communication system, communication apparatus, and method of program update | |
KR20100081720A (en) | Method and system for fota service | |
JP4768735B2 (en) | Portable wireless communication device and method for updating software | |
US9363623B2 (en) | Communication system, communication method, and non-transitory computer-readable medium | |
JP2015095071A (en) | Communication equipment, communication system, communication method, and communication program | |
JP2014179050A (en) | Server, information processing system, and program | |
CN111459523A (en) | Image quality chip software upgrading method and device, electronic equipment and storage medium | |
JP2021005182A (en) | Firmware update system, server, and electronic apparatus | |
JP2015153160A (en) | Program update system and program update method | |
KR20110047711A (en) | Electronic device and the method of generating firmware for usable to upgrade | |
WO2019207729A1 (en) | Industrial computer, industrial computer system, operating system update method, and program | |
EP3321800A1 (en) | Firmware update system, server, and electronic device | |
CN110990038B (en) | Method, apparatus, electronic device and medium for applying local update | |
JP2006339835A (en) | Communication system and mobile terminal | |
CN111767062A (en) | Application configuration data updating method, device, equipment and storage medium | |
JP5378456B2 (en) | Communication terminal and content update method | |
CN114610366A (en) | Difference package upgrading method and system, intelligent electronic equipment and storage medium | |
US9971588B2 (en) | Information processing apparatus, control method thereof, program and information recording medium | |
JP4648853B2 (en) | Wireless communication system | |
JP2019003307A (en) | Content management device, content management program and content management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20210928 |