JP5849449B2 - Information processing apparatus, control method therefor, and program - Google Patents

Information processing apparatus, control method therefor, and program Download PDF

Info

Publication number
JP5849449B2
JP5849449B2 JP2011132996A JP2011132996A JP5849449B2 JP 5849449 B2 JP5849449 B2 JP 5849449B2 JP 2011132996 A JP2011132996 A JP 2011132996A JP 2011132996 A JP2011132996 A JP 2011132996A JP 5849449 B2 JP5849449 B2 JP 5849449B2
Authority
JP
Japan
Prior art keywords
touch panel
control
panel device
program
update
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.)
Expired - Fee Related
Application number
JP2011132996A
Other languages
Japanese (ja)
Other versions
JP2013003757A (en
Inventor
松本 俊一
俊一 松本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2011132996A priority Critical patent/JP5849449B2/en
Publication of JP2013003757A publication Critical patent/JP2013003757A/en
Application granted granted Critical
Publication of JP5849449B2 publication Critical patent/JP5849449B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置およびその制御方法とプログラムに関する。   The present invention relates to an information processing apparatus, a control method therefor, and a program.

プログラムを実行する情報処理装置においては、当該プログラムの実行に基づく情報処理装置の動作の機能拡張を目的として、当該プログラムを新たなプログラムに更新する場合がある。例えば、情報処理装置の一例としての携帯電話装置は、市場流通後、無線通信を介して新たなプログラムをダウンロードし、自己のプログラムを更新する機能(以下プログラムアップデートと記す)を有している。そして、例えば、タッチパネルデバイスが、携帯電話装置本体とは独立したプログラムで動作する構成の場合、そのタッチパネルのプログラム(以下タッチパネルファームウェアと記す)も、更新の対象となる。
なお、プログラム更新時の障害回避の技術として、特許文献1が開示されている。
In an information processing apparatus that executes a program, the program may be updated to a new program for the purpose of extending the function of the operation of the information processing apparatus based on the execution of the program. For example, a mobile phone device as an example of an information processing device has a function of downloading a new program via wireless communication after market distribution and updating its own program (hereinafter referred to as program update). For example, when the touch panel device is configured to operate with a program independent of the mobile phone device body, the touch panel program (hereinafter referred to as touch panel firmware) is also subject to update.
Note that Patent Document 1 is disclosed as a technique for avoiding a failure when updating a program.

特開平10−105407号公報Japanese Patent Laid-Open No. 10-105407

ここで、従来の携帯電話装置はプログラムアップデート時に、ダウンロードしたプログラムコードの正当性の検証および実行プログラム更新後の正当性の検証を行っている。しかしながら、それらはバイナリデータとしてのプログラムの正当性を検証しているのみであり、実動作時において障害を含んでいるか否かを検証することはできなかった。従って、主たる入力デバイスとしてタッチパネルを有する携帯電話装置においては、このタッチパネルファームウェア(タッチパネルデバイスを制御するプログラム)の更新に、なんらかの障害が発生した場合、回復させるための操作も含めて操作不能の状態に陥ってしまうという問題があった。
また、特許文献1のようなプログラム更新時の障害回避技術も存在するが、新たなプログラムによる運用開始を行った後に、障害監視を開始することになるため、全ての操作が不能に陥った状態になった場合には、ユーザの操作が情報処理装置に入力できず、その障害を回避する手段がなくなってしまう。
Here, the conventional mobile phone device verifies the validity of the downloaded program code and the validity after updating the execution program at the time of program update. However, they only verify the validity of the program as binary data, and cannot verify whether or not a failure is included during actual operation. Therefore, in a mobile phone device having a touch panel as a main input device, if any failure occurs in the update of the touch panel firmware (program for controlling the touch panel device), it becomes inoperable including an operation for recovery. There was a problem of falling.
In addition, there is a failure avoidance technique at the time of program update as in Patent Document 1, but since the failure monitoring is started after the start of operation by a new program, all operations have become impossible. In this case, the user's operation cannot be input to the information processing apparatus, and there is no means for avoiding the failure.

そこでこの発明は、上述の課題を解決することのできる情報処理装置およびその制御方法とプログラムを提供することを目的としている。   Accordingly, an object of the present invention is to provide an information processing apparatus, a control method therefor, and a program that can solve the above-described problems.

上記目的を達成するために、本発明は、更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置であって、前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定する動作確認部と、前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替える制御処理部と、を備え、前記動作確認部は、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定することを特徴とする情報処理装置である。
また本発明は、更新前プログラムを用いた制御対象の制御から、更新後プログラムを用いた制御対象の制御へ更新する情報処理装置であって、前記更新後プログラムを用いた前記制御対象の制御の開始時に、動作確認時間を設け、当該動作確認時間に前記制御対象が動作正常か動作異常かを判定する動作確認部と、前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記制御対象の制御から、前記更新前プログラムを用いた制御対象の制御へと切り替える制御処理部と、を備え、前記制御対象が自装置に備えられたタッチパネルデバイスであり、前記動作確認部は、前記動作確認時間において、当該動作確認時間のカウントダウンを行い、表示装置にカウントダウン開始からカウントダウン終了までの時刻表示を制御することを特徴とする情報処理装置である。
In order to achieve the above object, the present invention provides an information processing apparatus for updating from control of a touch panel device using a pre-update program to control of a touch panel device using a post-update program, wherein the post-update program is used. When an operation check time is provided at the start of control of the touch panel device, the operation check unit for determining whether the touch panel device is operating normally or abnormally at the operation check time, and when the operation check time is determined to be abnormal A control processing unit that switches from control of the touch panel device using the post-update program to control of the touch panel device using the pre-update program , the operation check unit within the operation check time When there is no signal input from the touch panel device, the touch panel device An information processing apparatus characterized by determining as abnormal.
The present invention is also an information processing apparatus for updating from control of a control target using a pre-update program to control of a control target using a post-update program, wherein the control target is controlled using the post-update program. An operation check time is provided at the start, and an operation check unit that determines whether the control target is operating normally or abnormally at the operation check time; A control processing unit that switches from control of the control target used to control of the control target using the pre-update program, wherein the control target is a touch panel device provided in its own device, and the operation check unit Counts down the operation confirmation time during the operation confirmation time and displays the time from the countdown start to the countdown end on the display device. An information processing apparatus characterized by Gosuru.

また本発明は、更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置の制御方法であって、前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定し、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定し、前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替えることを特徴とする制御方法である。 The present invention is a control of the touch panel device using the pre-update program, a control method of an information processing apparatus which updates the control of the touch panel device using the post-update program, the touch panel device using the post-update program An operation check time is provided at the start of the control, and it is determined whether the touch panel device is operating normally or abnormally during the operation check time, and when there is no signal input from the touch panel device within the operation check time, the touch panel determines that the operation of the device abnormality, if it is determined that the operational abnormality in the operation confirmation time, to switch from the control of the touch panel device using the post-update program, and the control of the touch panel device using the pre-update program Is a control method characterized by

また本発明は、更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置のコンピュータを、前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定し、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定する動作確認手段、前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替える制御処理手段、として機能させることを特徴とするプログラムである。 Further, the present invention provides a computer of an information processing apparatus that updates from control of a touch panel device using a pre-update program to control of a touch panel device using a post-update program, and controls the control of the touch panel device using the post-update program. At the start, an operation confirmation time is provided, and it is determined whether the touch panel device is operating normally or abnormally during the operation confirmation time. When there is no signal input from the touch panel device within the operation confirmation time, the operation of the touch panel device is performed. operation confirmation means for judging an abnormality, if it is determined that the operational abnormality in the operation confirmation time, from said control of the touch panel device using the post-update program, switches to the control of the touch panel device using the pre-update program control Specially made to function as a processing means It is a program that.

本発明によれば、通常起動後に入力装置が制御できなくなっていまい、プログラム更新によってどのような操作も受け付けなくなってしまうような事態を防ぐことができる。   According to the present invention, it is possible to prevent a situation in which the input device cannot be controlled after normal startup, and any operation cannot be accepted due to program update.

情報処理装置の構成を示す第1のブロック図である。It is a 1st block diagram which shows the structure of information processing apparatus. 情報処理装置の構成を示す第2のブロック図である。It is a 2nd block diagram which shows the structure of information processing apparatus. データ処理部のROMで記憶するデータ例を示す図である。It is a figure which shows the example of data memorize | stored in ROM of a data processing part. 情報処理装置の処理フローを示す図である。It is a figure which shows the processing flow of information processing apparatus.

以下、本発明の一実施形態による情報処理装置を図面を参照して説明する。
図1は同実施形態による情報処理装置の構成を示す第1のブロック図である。
この図において、符号1は情報処理装置である。情報処理装置1は、たとえば、携帯電話装置、スマートフォン、ゲーム機、タブレットPC、ノートPCなどに適用可能である。そして情報処理装置1は、制御処理部110、動作確認部111、制御対象2を備えている。本実施形態において制御対象2はタッチパネルデバイスであるものとする。しかしながらタッチパネルデバイスの代わりに他の入力装置や他の処理部などを制御対象2とするように構成してもよい。
Hereinafter, an information processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a first block diagram showing the configuration of the information processing apparatus according to the embodiment.
In this figure, reference numeral 1 denotes an information processing apparatus. The information processing apparatus 1 can be applied to, for example, a mobile phone device, a smartphone, a game machine, a tablet PC, a notebook PC, and the like. The information processing apparatus 1 includes a control processing unit 110, an operation confirmation unit 111, and a control target 2. In the present embodiment, it is assumed that the control target 2 is a touch panel device. However, instead of the touch panel device, another input device, another processing unit, or the like may be configured as the control target 2.

当該情報処理装置1は、更新前プログラムを用いた制御対象2の制御から、更新後プログラムを用いた制御対象2の制御へ更新する装置である。
そして、動作確認部111は、更新後プログラムを用いた制御対象2の制御の開始時に、動作確認時間を設け、当該動作確認時間に制御対象2が動作正常か動作異常かを判定する。
また、制御処理部110は、動作確認時間に動作異常と判定された場合に、更新後プログラムを用いた制御対象2の制御から、更新前プログラムを用いた制御対象2の制御へと切り替える。以下、制御対象2をタッチパネルデバイス2として説明する。
The information processing apparatus 1 is an apparatus that updates the control of the control target 2 using the pre-update program to the control of the control target 2 using the post-update program.
Then, the operation check unit 111 provides an operation check time at the start of control of the control target 2 using the updated program, and determines whether the control target 2 is operating normally or abnormally during the operation check time.
Further, when it is determined that the operation is abnormal at the operation confirmation time, the control processing unit 110 switches from the control of the control target 2 using the updated program to the control of the control target 2 using the pre-update program. Hereinafter, the control target 2 will be described as the touch panel device 2.

図2は同実施形態による情報処理装置1の構成を示す第2のブロック図である。
次に、図2を用いて、情報処理装置1の機能の詳細を説明する。
図2に示すように、情報処理装置1は、各種データ処理を行うデータ処理部10、ユーザの指等の生体のタッチパネルへの接触やそのタッチパネル上の検出範囲における接触位置を検知するタッチパネルデバイス2、タッチパネルに積層され表示情報の表示出力の制御を行う表示装置3、無線回路/モデム5、電源6、入力装置7を主な機能として構成されている。
またデータ処理部10は、図1で説明した制御処理部110および動作確認部111を含んで構成されたプロセッサ11、RAM12、ROM13(記憶部)により構成されている。
FIG. 2 is a second block diagram showing the configuration of the information processing apparatus 1 according to the embodiment.
Next, details of the functions of the information processing apparatus 1 will be described with reference to FIG.
As shown in FIG. 2, the information processing apparatus 1 includes a data processing unit 10 that performs various data processing, and a touch panel device 2 that detects contact of a living body such as a user's finger with a touch panel and a contact position in a detection range on the touch panel. The display device 3, which is stacked on the touch panel and controls display output of display information, the radio circuit / modem 5, the power source 6, and the input device 7 are configured as main functions.
The data processing unit 10 includes a processor 11, a RAM 12, and a ROM 13 (storage unit) configured to include the control processing unit 110 and the operation confirmation unit 111 described in FIG. 1.

またタッチパネルデバイス2は、タッチパネル21、当該タッチパネル21を制御するCPU22、メモリ23、を含んで構成されている。ここではメモリ23は揮発性であるとする。またタッチパネルデバイス2の制御に用いるタッチパネルファームウェアは、ROM13に予め格納されている。タッチパネルデバイス2のCPU22は情報処理装置1の起動時に、このタッチパネルファームウェアをバス4を介して読み込み実行する。
また、データ処理部10を構成するプロセッサ11、RAM12、ROM13や、タッチパネルデバイス2、表示装置3は、信号を中継するバス4を介して接続されている。
The touch panel device 2 includes a touch panel 21, a CPU 22 that controls the touch panel 21, and a memory 23. Here, the memory 23 is assumed to be volatile. Touch panel firmware used for controlling the touch panel device 2 is stored in the ROM 13 in advance. The CPU 22 of the touch panel device 2 reads and executes the touch panel firmware via the bus 4 when the information processing apparatus 1 is activated.
The processor 11, the RAM 12, the ROM 13, the touch panel device 2, and the display device 3 constituting the data processing unit 10 are connected via a bus 4 that relays signals.

図3はデータ処理部のROM13で記憶するデータ例を示す図である。
この図が示すようにROM13の記憶領域は、所定のプログラムの更新処理に利用されるプログラムを格納している更新処理プログラム領域131と、情報処理装置1の機能を実現するプログラムを格納している実行プログラム領域132と、起動時にタッチパネルデバイス2に転送されるタッチパネルファームウェア(更新前プログラム)を格納しているタッチパネルファームウェア領域133と、プログラムアップデート実行の際に更新プログラム(更新後プログラム)を一時的に格納する更新プログラム領域134と、更新処理時に更新前のタッチパネルファームウェア(更新前プログラム)を格納する前タッチパネルファームウェア領域135と、装置機能実現のためのデータを格納するデータ領域136を有している。なおデータ領域には、所定のプログラム(本実施形態においてはタッチパネルファームウェア)を更新後プログラムへ更新するか否かを示す更新フラグを記憶しているものとする。より具体的には更新フラグは、プログラムアップデート処理中に“更新”に設定され、それ以外は“通常”を示す値を保持している。更新フラグが“更新”を示す値である場合には、更新後プログラムへ更新することを示している。
ROM13は不揮発性のメモリであるとするが、たとえばNAND型フラッシュメモリのようにプロセッサ11から所定の手続きを踏むことで、消去書き換えが可能なデバイスである。
FIG. 3 is a diagram showing an example of data stored in the ROM 13 of the data processing unit.
As shown in this figure, the storage area of the ROM 13 stores an update process program area 131 that stores a program used for an update process of a predetermined program, and a program that realizes the functions of the information processing apparatus 1. The execution program area 132, the touch panel firmware area 133 storing the touch panel firmware (pre-update program) transferred to the touch panel device 2 at startup, and the update program (update program) temporarily when executing the program update An update program area 134 to be stored, a touch panel firmware area 135 to store touch panel firmware before update (program before update) at the time of update processing, and a data area 136 to store data for realizing the device function. It is assumed that an update flag indicating whether or not a predetermined program (touch panel firmware in this embodiment) is updated to an updated program is stored in the data area. More specifically, the update flag is set to “update” during the program update process, and otherwise holds a value indicating “normal”. When the update flag is a value indicating “update”, it indicates that the program is updated to the updated program.
The ROM 13 is a non-volatile memory, but is a device that can be erased and rewritten by following a predetermined procedure from the processor 11, such as a NAND flash memory.

図4は情報処理装置1の処理フローを示す図である。
次に、本実施形態による情報処理装置1の処理の詳細について順を追って説明する。
まず、情報処理装置1に備えられた起動スイッチの押下に基づいて当該情報処理装置1に電源6に電力出力が指示される。すると、制御処理部110は、ROM13のデータ領域136に格納されている更新フラグを読み取る。そして、制御処理部110は、読み取った更新フラグが示す値を判定し(ステップS101)、当該行進フラグが「通常」を示す場合には、通常の起動処理を行う(ステップS102)。
FIG. 4 is a diagram illustrating a processing flow of the information processing apparatus 1.
Next, details of the processing of the information processing apparatus 1 according to the present embodiment will be described in order.
First, the information processing apparatus 1 is instructed to output power to the power supply 6 based on pressing of a start switch provided in the information processing apparatus 1. Then, the control processing unit 110 reads the update flag stored in the data area 136 of the ROM 13. Then, the control processing unit 110 determines the value indicated by the read update flag (step S101), and performs normal startup processing when the marching flag indicates “normal” (step S102).

当該起動処理を行う場合、制御処理部110は、ハードウェアの初期化と、起動に必要なプログラムのROM13からの読み込みを行う。このとき、制御処理部110は、タッチパネルファームウェアをROM13のタッチパネルファームウェア領域133から読み込んで、バス4を介してタッチパネルデバイス2へ転送する(ステップS103)。タッチパネルデバイス2のCPU22は、タッチパネルファームウェアを入力すると、当該タッチパネルファームウェアをメモリ23へ格納する。そしてプロセッサ11の起動時の処理により、情報処理装置1が起動する(ステップS104)。   When performing the activation process, the control processing unit 110 initializes hardware and reads a program necessary for activation from the ROM 13. At this time, the control processing unit 110 reads the touch panel firmware from the touch panel firmware area 133 of the ROM 13 and transfers it to the touch panel device 2 via the bus 4 (step S103). When the CPU 22 of the touch panel device 2 inputs touch panel firmware, the touch panel firmware is stored in the memory 23. Then, the information processing apparatus 1 is activated by the process at the time of activation of the processor 11 (step S104).

情報処理装置1が起動すると、ユーザ操作や各プログラムに基づいて処理が行われる。そしてあるタイミングで制御処理部110がタッチパネルファームウェアのプログラムアップデートの開始を検出したとする。すると、制御処理部110はタッチパネルファームウェアのプログラムアップデートの処理を開始する(ステップS105)。タッチパネルファームウェアのプログラムアップデートの処理を開始すると制御処理部110は、まず、ROM13のタッチパネルファームウェア領域133に格納されているタッチパネルファームウェアを、ROM13内の前タッチパネルファームウェア領域135へ記録し、当該タッチパネルファームウェアのバックアップを行う(ステップS106)。   When the information processing apparatus 1 is activated, processing is performed based on a user operation and each program. Assume that the control processing unit 110 detects the start of the program update of the touch panel firmware at a certain timing. Then, the control processing unit 110 starts touch panel firmware program update processing (step S105). When the process of updating the touch panel firmware program is started, the control processing unit 110 first records the touch panel firmware stored in the touch panel firmware area 133 of the ROM 13 in the previous touch panel firmware area 135 in the ROM 13 and backs up the touch panel firmware. Is performed (step S106).

そして、制御処理部110は、新たなタッチパネルファームウェアのダウンロードを行う(ステップS107)。当該ダウンロードには、無線回路/モデム5を介して所定のダウンロードサーバへアクセスし、新たなタッチパネルファームウェアを当該ダウンロードサーバからダウンロードを行う。制御処理部110は、新たなタッチパネルファームウェアをダウンロードすると、その新たなタッチパネルファームウェアをROM13の更新プログラム領域134に格納する。そして、制御処理部110は、新たなタッチパネルファームウェアを更新プログラム領域134から読み取って、タッチパネルファームウェア領域133に記録し、これにより、格納されていた元のタッチパネルファームウェアを、新たなタッチパネルファームウェアへ更新する(ステップS108)。   Then, the control processing unit 110 downloads new touch panel firmware (step S107). For the download, a predetermined download server is accessed via the wireless circuit / modem 5 and a new touch panel firmware is downloaded from the download server. When the new touch panel firmware is downloaded, the control processing unit 110 stores the new touch panel firmware in the update program area 134 of the ROM 13. Then, the control processing unit 110 reads the new touch panel firmware from the update program area 134 and records it in the touch panel firmware area 133, thereby updating the stored original touch panel firmware to the new touch panel firmware ( Step S108).

制御処理部110は、ステップS108の更新が完了すると、データ領域136内に格納されている更新フラグを「通常」から「更新」へと書き換える(ステップS109)。そして、制御処理部110は、再起動処理を開始する(ステップS110)。   When the update in step S108 is completed, the control processing unit 110 rewrites the update flag stored in the data area 136 from “normal” to “update” (step S109). And the control process part 110 starts a restart process (step S110).

再起動処理によって情報処理装置1が再起動する。この再起動時には制御処理部110は、ROM13のデータ領域136に格納されている更新フラグを読み取る。そして制御処理部110は、ステップS101に移行し、読み取った更新フラグが示す値を判定する。ここで、ステップS109において更新フラグは「更新」へと書き換えられている。従って更新フラグは「更新」を示す。制御処理部110は、更新フラグが「更新」を示す場合、プログラム更新後の起動処理を開始する(ステップS111)。   The information processing apparatus 1 is restarted by the restart process. At the time of restart, the control processing unit 110 reads the update flag stored in the data area 136 of the ROM 13. Then, the control processing unit 110 proceeds to step S101, and determines the value indicated by the read update flag. Here, in step S109, the update flag is rewritten to “update”. Therefore, the update flag indicates “update”. When the update flag indicates “update”, the control processing unit 110 starts the activation process after updating the program (step S111).

当該プログラム更新後の起動処理においては、制御処理部110は、通常の起動処理を行わずに、まずROM13のタッチパネルファームウェア領域133に格納されている、更新後の新たなタッチパネルファームウェアを読み込んで、当該新たなタッチパネルファームウェアを、バス4を介してタッチパネルデバイス2へ転送する(ステップS112)。タッチパネルデバイス2のCPU22は、新たなタッチパネルファームウェアを入力すると、当該新たなタッチパネルファームウェアをメモリ23へ格納する。これにより新たなタッチパネルファームウェアの転送が終了する。そして、タッチパネルファームウェアの転送が終了すると、制御処理部110は動作確認部111へ、動作確認処理の開始を指示する。   In the startup process after the program update, the control processing unit 110 first reads the new touch panel firmware after update stored in the touch panel firmware area 133 of the ROM 13 without performing the normal startup process. The new touch panel firmware is transferred to the touch panel device 2 via the bus 4 (step S112). When the CPU 22 of the touch panel device 2 inputs new touch panel firmware, the CPU 22 stores the new touch panel firmware in the memory 23. This completes the transfer of the new touch panel firmware. When the transfer of the touch panel firmware is completed, the control processing unit 110 instructs the operation check unit 111 to start the operation check process.

次に、動作確認処理の開始の指示を受けた動作確認部111は、動作確認時間をROM13から読み込む。そして、動作確認部111は、動作確認処理を開始し(ステップS113)、動作確認時間のカウントダウンを行う(ステップS114)。このとき、動作確認部111は、表示装置3に、カウントダウン開始からカウントダウン終了までの時刻表示を制御する(ステップS115)。これにより、表示装置3には、カウントダウン開始の時刻表示(例えば15秒)からカウントダウン終了時刻(0秒)まで1秒刻みでの表示が行われる。そして、動作確認部111は、当該動作確認時間の間に、タッチパネルデバイス2から信号を入力しないか、または、入力装置7からキャンセル信号を入力するかを判定する(ステップS116)。   Next, the operation check unit 111 that has received an instruction to start the operation check process reads the operation check time from the ROM 13. Then, the operation confirmation unit 111 starts an operation confirmation process (step S113), and counts down the operation confirmation time (step S114). At this time, the operation confirmation unit 111 controls the display device 3 to display the time from the countdown start to the countdown end (step S115). As a result, the display device 3 performs display in increments of 1 second from the time display of the countdown start (for example, 15 seconds) to the countdown end time (0 seconds). Then, the operation check unit 111 determines whether to input a signal from the touch panel device 2 or input a cancel signal from the input device 7 during the operation check time (step S116).

そして、動作確認部111は、動作確認時間の間にタッチパネルデバイス2から信号を入力しない場合、または、作確認時間の間に入力装置7からキャンセル信号を入力した場合の何れかの場合には、タッチパネルデバイス2の動作異常と判定する。動作確認部111は、動作確認時間の間にタッチパネルデバイス2から信号を入力しない場合、または動作確認時間の間に入力装置7からキャンセル信号を入力した場合、の何れの場合にも当てはまらないと判定した場合には、タッチパネルデバイス2の動作正常と判定する。   Then, the operation check unit 111 does not input a signal from the touch panel device 2 during the operation check time or inputs a cancel signal from the input device 7 during the operation check time. It is determined that the operation of the touch panel device 2 is abnormal. The operation confirming unit 111 determines that it does not apply in any case when no signal is input from the touch panel device 2 during the operation confirmation time or when a cancel signal is input from the input device 7 during the operation confirmation time. In such a case, it is determined that the operation of the touch panel device 2 is normal.

制御処理部110は、動作確認部111より、タッチパネルデバイス2の動作異常または動作正常を示す信号を入力する。そして、制御処理部110は、動作確認部111より動作異常を示す信号を入力した場合には、ROM13内の前タッチパネルファームウェア領域135に格納されている更新前のタッチパネルファームウェアを読み込む(ステップS117)。そして、制御処理部110は、タッチパネルファームウェア領域133に格納されている更新後の新たなタッチパネルファームウェアを、更新前のタッチパネルファームウェアに書き換える(ステップS118)。   The control processing unit 110 inputs a signal indicating abnormal operation or normal operation of the touch panel device 2 from the operation confirmation unit 111. When the control processing unit 110 receives a signal indicating an operation abnormality from the operation confirmation unit 111, the control processing unit 110 reads the pre-update touch panel firmware stored in the front touch panel firmware area 135 in the ROM 13 (step S117). Then, the control processing unit 110 rewrites the updated new touch panel firmware stored in the touch panel firmware area 133 with the touch panel firmware before the update (step S118).

次に制御処理部110は、ROM13内のタッチパネルファームウェア領域133に格納されている更新前のタッチパネルファームウェアを読み込んで、バス4を介してタッチパネルデバイス2へ転送する(ステップS119)。タッチパネルデバイス2のCPU22は、更新前のタッチパネルファームウェアを入力すると、当該更新前のタッチパネルファームウェアをメモリ23へ格納する。つまり、タッチパネルデバイス2のCPU22は、メモリ23に格納されていた新たなタッチパネルファームウェアを更新前のタッチパネルファームウェアへ書き換える(ステップS120)。   Next, the control processing unit 110 reads the touch panel firmware before update stored in the touch panel firmware area 133 in the ROM 13 and transfers it to the touch panel device 2 via the bus 4 (step S119). When the CPU 22 of the touch panel device 2 inputs the touch panel firmware before update, the CPU 22 stores the touch panel firmware before update in the memory 23. That is, the CPU 22 of the touch panel device 2 rewrites the new touch panel firmware stored in the memory 23 to the touch panel firmware before update (step S120).

そして、タッチパネルデバイス2のメモリ23に格納されていた新たなタッチパネルファームウェアを更新前のタッチパネルファームウェアへ書き換えると、次に、制御処理部110は、ROM13内のデータ領域136に格納されている更新フラグを「更新」から「通常」へ書き換える(ステップS121)。なお、制御処理部110は、動作確認部111より、タッチパネルデバイス2の動作正常を示す信号を入力した場合にも、ステップS121の処理と同様に、ROM13内のデータ領域136に格納されている更新フラグを「更新」から「通常」へ書き換える。そして、制御処理部110は、その後の通常の起動処理と同様の処理を行う。これにより、情報処理装置1が起動する(ステップS122)。   Then, when the new touch panel firmware stored in the memory 23 of the touch panel device 2 is rewritten to the touch panel firmware before update, the control processing unit 110 next displays the update flag stored in the data area 136 in the ROM 13. Rewrite from "update" to "normal" (step S121). Note that the control processing unit 110 also updates the data stored in the data area 136 in the ROM 13 in the same manner as the processing in step S121, even when a signal indicating normal operation of the touch panel device 2 is input from the operation confirmation unit 111. Rewrite the flag from “update” to “normal”. And the control process part 110 performs the process similar to a normal starting process after that. As a result, the information processing apparatus 1 is activated (step S122).

以上、本発明の実施形態について説明したが、上述の処理によれば、制御対象となるタッチパネルデバイス2などの入力装置を制御するためのプログラムが更新された場合には、再起動し、当該再起動直後の通常の起動処理の前に、更新後プログラムによって入力装置の動作が正常に動作するかどうかの判定を行う。そして、更新後プログラムによる入力装置の動作異常である場合には、更新前プログラムによる制御に戻し、入力装置を制御する。
これにより、通常起動後に入力装置が制御できなくなっていまい、プログラム更新によってどのような操作も受け付けなくなってしまうような事態を防ぐことができる。
As mentioned above, although embodiment of this invention was described, according to the above-mentioned process, when the program for controlling input devices, such as the touchscreen device 2 used as control object, was updated, it restarts, the said restart Before normal startup processing immediately after startup, it is determined whether or not the operation of the input device operates normally by the updated program. If the operation of the input device due to the post-update program is abnormal, the control is returned to the pre-update program and the input device is controlled.
As a result, it is possible to prevent a situation in which the input device cannot be controlled after normal startup, and any operation cannot be accepted due to program update.

なお、上述の情報処理装置1は内部に、コンピュータシステムを有している。そして、上述した各処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The information processing apparatus 1 described above has a computer system inside. Each process described above is stored in a computer-readable recording medium in the form of a program, and the above process is performed by the computer reading and executing the program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

1・・・情報処理装置
2・・・タッチパネルデバイス
3・・・表示装置
4・・・バス
5・・・無線回路/モデム
6・・・電源
7・・・入力装置
10・・・データ処理部
11・・・プロセッサ
12・・・RAM(Random Access Memory)
13・・・ROM(Read Only Memory)
21・・・タッチパネル
22・・・CPU(Central Processing Unit)
23・・・メモリ
110・・・制御処理部
111・・・動作確認部
DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus 2 ... Touch panel device 3 ... Display apparatus 4 ... Bus 5 ... Wireless circuit / modem 6 ... Power supply 7 ... Input device 10 ... Data processing part 11 ... Processor 12 ... RAM (Random Access Memory)
13 ... ROM (Read Only Memory)
21 ... Touch panel 22 ... CPU (Central Processing Unit)
23 ... Memory 110 ... Control processing unit 111 ... Operation confirmation unit

Claims (7)

更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置であって、
前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定する動作確認部と、
前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替える制御処理部と、
を備え
前記動作確認部は、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定する
ことを特徴とする情報処理装置。
From the control of the touch panel device using the pre-update program, an information processing apparatus that updates to the control of the touch panel device using the post-update program,
An operation confirmation unit that provides an operation confirmation time at the start of control of the touch panel device using the updated program, and determines whether the touch panel device operates normally or abnormally during the operation confirmation time;
When it is determined that the operational abnormality in the operation confirmation time, and from said control of the touch panel device using the post-update program, the update before switching to the control of the touch panel device using a program control unit,
Equipped with a,
The information processing apparatus according to claim 1, wherein the operation check unit determines that the touch panel device is operating abnormally when no signal is input from the touch panel device within the operation check time .
前記更新前プログラムを記憶する記憶領域と、前記更新後プログラムを記憶する記憶領域と、前記更新後プログラムへ更新するか否かを示す更新フラグを記憶する記憶領域と、を備えた記憶部と、を備え、
前記制御処理部は、前記更新フラグが前記更新後プログラムへ更新することを示す場合には、起動時に、前記更新前プログラムを用いて前記タッチパネルデバイスを制御する
ことを特徴とする請求項1に記載の情報処理装置。
A storage unit comprising a storage area for storing the pre-update program, a storage area for storing the post-update program, and a storage area for storing an update flag indicating whether or not to update to the post-update program; With
The said control processing part controls the said touch panel device using the said program before an update at the time of starting, when the said update flag shows updating to the said program after an update. Information processing device.
前記動作確認部は、前記動作確認時間内に入力装置からキャンセル信号を入力した場合には前記タッチパネルデバイスの動作異常と判定する
ことを特徴とする請求項1または請求項の何れか一項に記載の情報処理装置。
The said operation confirmation part determines with the operation abnormality of the said touch panel device , when a cancellation signal is input from the input device within the said operation confirmation time. The one of Claim 1 or Claim 2 characterized by the above-mentioned. The information processing apparatus described.
前記動作確認部は、前記動作確認時間において、当該動作確認時間のカウントダウンを行い、表示装置にカウントダウン開始からカウントダウン終了までの時刻表示を制御する
ことを特徴とする請求項1から請求項3の何れか一項に記載の情報処理装置。
The operation confirming unit, in the operation confirmation time, counts down of the operation confirmation time, any claim 1, characterized in that to control the time display from the countdown start to countdown ends display device according to claim 3 the information processing apparatus according to an item or.
更新前プログラムを用いた制御対象の制御から、更新後プログラムを用いた制御対象の制御へ更新する情報処理装置であって、
前記更新後プログラムを用いた前記制御対象の制御の開始時に、動作確認時間を設け、当該動作確認時間に前記制御対象が動作正常か動作異常かを判定する動作確認部と、
前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記制御対象の制御から、前記更新前プログラムを用いた制御対象の制御へと切り替える制御処理部と、
を備え
前記制御対象が自装置に備えられたタッチパネルデバイスであり、
前記動作確認部は、前記動作確認時間において、当該動作確認時間のカウントダウンを行い、表示装置にカウントダウン開始からカウントダウン終了までの時刻表示を制御する
ことを特徴とする情報処理装置。
An information processing apparatus for updating from control of a control target using a pre-update program to control of a control target using a post-update program,
An operation confirmation unit that provides an operation confirmation time at the start of control of the control object using the updated program, and determines whether the control object operates normally or abnormally during the operation confirmation time;
A control processing unit that switches from control of the control target using the updated program to control of the control target using the pre-update program when it is determined that the operation is abnormal at the operation check time;
Equipped with a,
The control target is a touch panel device provided in its own device,
The operation confirmation unit counts down the operation confirmation time during the operation confirmation time, and controls time display from the countdown start to the countdown end on the display device.
更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置の制御方法であって、
前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定し、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定し、
前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替える
ことを特徴とする制御方法。
From the control of the touch panel device using the pre-update program, a control method of an information processing apparatus which updates the control of the touch panel device using the post-update program,
An operation check time is provided at the start of control of the touch panel device using the updated program, and it is determined whether the touch panel device operates normally or abnormally during the operation check time, and the touch panel device is operated within the operation check time. When there is no signal input from the touch panel device, it is determined that the touch panel device is operating abnormally .
Control method when it is determined that the operational abnormality in the operation confirmation time, the control of the touch panel device using the post-update program, and switches to the control of the touch panel device using the pre-update program.
更新前プログラムを用いたタッチパネルデバイスの制御から、更新後プログラムを用いたタッチパネルデバイスの制御へ更新する情報処理装置のコンピュータを、
前記更新後プログラムを用いた前記タッチパネルデバイスの制御の開始時に、動作確認時間を設け、当該動作確認時間に前記タッチパネルデバイスが動作正常か動作異常かを判定し、前記動作確認時間内に前記タッチパネルデバイスからの信号入力が無い場合に当該タッチパネルデバイスの動作異常と判定する動作確認手段、
前記動作確認時間に動作異常と判定した場合に、前記更新後プログラムを用いた前記タッチパネルデバイスの制御から、前記更新前プログラムを用いたタッチパネルデバイスの制御へと切り替える制御処理手段、
として機能させることを特徴とするプログラム。
From the control of the touch panel device using the pre-update program, the computer of the information processing apparatus to update the control of the touch panel device using the post-update program,
An operation check time is provided at the start of control of the touch panel device using the updated program, and it is determined whether the touch panel device operates normally or abnormally during the operation check time, and the touch panel device is operated within the operation check time. operation confirmation means for judging the operation abnormality of the touch panel device when the signal input is not from,
Wherein when it is determined that the operation anomaly in the operation confirmation time, from said control of the touch panel device using the updated program, the control processing means for switching to the control of the touch panel device using the pre-update program,
A program characterized by functioning as
JP2011132996A 2011-06-15 2011-06-15 Information processing apparatus, control method therefor, and program Expired - Fee Related JP5849449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011132996A JP5849449B2 (en) 2011-06-15 2011-06-15 Information processing apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011132996A JP5849449B2 (en) 2011-06-15 2011-06-15 Information processing apparatus, control method therefor, and program

Publications (2)

Publication Number Publication Date
JP2013003757A JP2013003757A (en) 2013-01-07
JP5849449B2 true JP5849449B2 (en) 2016-01-27

Family

ID=47672274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011132996A Expired - Fee Related JP5849449B2 (en) 2011-06-15 2011-06-15 Information processing apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP5849449B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015146102A (en) 2014-02-03 2015-08-13 株式会社ワコム Sensor controller, sensor device equipped with sensor controller, electronic device mounting sensor device, and application software restoration method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3551079B2 (en) * 1999-05-21 2004-08-04 日本電気株式会社 Recovery method and device after replacement of modified load module
JP2003223327A (en) * 2002-01-30 2003-08-08 Casio Comput Co Ltd Portable terminal device and its program
JP2007175153A (en) * 2005-12-27 2007-07-12 Brother Ind Ltd Electronic sewing machine

Also Published As

Publication number Publication date
JP2013003757A (en) 2013-01-07

Similar Documents

Publication Publication Date Title
US8181007B2 (en) Electronic device and method for secure operating system update in embedded system
TWI515660B (en) Firmware variable update method
US9959125B2 (en) Field update of boot loader using regular device firmware update procedure
WO2009046284A1 (en) Firmware image update and management
JP2009169524A (en) Network system for home appliance
WO2018024198A1 (en) Application upgrade method and system for set-top box, and set-top box
US20140258699A1 (en) Boot fault tolerant device and method thereof
JP6074064B2 (en) Electronics
US11449329B2 (en) Vehicle control device and program update system
CN109375953B (en) Operating system starting method and device
EP1648148B1 (en) Cellular phone with automatic program update method
JP5849449B2 (en) Information processing apparatus, control method therefor, and program
JPWO2019207729A1 (en) Industrial computer, industrial computer system, operating system updating method and program
US20200104118A1 (en) Systems and methods for providing staged updates in embedded devices
JP7452452B2 (en) OTA master, software update control method and update control program, vehicle equipped with OTA master
JP2011175352A (en) Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program
JP2014099097A (en) Information processing device, information processing method, and computer program
KR20090021695A (en) System for roll back of flash memory and method there of
JP5158883B2 (en) Firmware update method and firmware update apparatus
JP7363853B2 (en) OTA master, center, system, update method, update program, and vehicle
WO2020043361A1 (en) Installing application program code on a vehicle control system
TWI575459B (en) Terminal device and system upgrading method thereof
WO2017208434A1 (en) Information processing device and application management method
EP3447640B1 (en) Operating system up boot optimizations
JP2023087366A (en) Control device and management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150410

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150617

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151117

R150 Certificate of patent or registration of utility model

Ref document number: 5849449

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees