JP5427800B2 - Verification device, program, and verification system - Google Patents
Verification device, program, and verification system Download PDFInfo
- Publication number
- JP5427800B2 JP5427800B2 JP2011008760A JP2011008760A JP5427800B2 JP 5427800 B2 JP5427800 B2 JP 5427800B2 JP 2011008760 A JP2011008760 A JP 2011008760A JP 2011008760 A JP2011008760 A JP 2011008760A JP 5427800 B2 JP5427800 B2 JP 5427800B2
- Authority
- JP
- Japan
- Prior art keywords
- attribute information
- notification
- test device
- computer files
- cpu
- 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
Links
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Stored Programmes (AREA)
Description
本発明の実施形態は、検証装置、プログラムおよび検証システムに関する。 Embodiments described herein relate generally to a verification apparatus, a program, and a verification system.
POS(point-of-sale)端末装置は、プログラムを更新することによって機能の更新を図ることができるものがある。 Some POS (point-of-sale) terminal devices can update functions by updating a program.
ユーザにより使用されているPOS装置の機能の更新を図る場合、新しいプログラムや、このプログラムに付随したデータファイルなどの複数のコンピュータファイルをPOS端末装置にインストールする。 When updating the function of the POS device used by the user, a plurality of computer files such as a new program and a data file accompanying the program are installed in the POS terminal device.
上記のインストールが正しく行われなければ、機能の更新が行われないばかりか、更新前の機能も正常に動作しなくなる恐れがある。 If the above installation is not performed correctly, not only the function is not updated, but the function before the update may not operate normally.
このような事情から、インストールが正しく行われなかった場合には、そのことを関係者が速やかに認識できることが望まれていた。 Under such circumstances, it has been desired that when the installation is not performed correctly, the related parties can quickly recognize this fact.
実施形態の検証装置は、電気機器が保有する複数のコンピュータファイルを更新する作業を検証するものであって、第1の待受け手段、第1の取得手段、記憶手段、第2の待受け手段、第2の取得手段、検出手段および生成手段を含む。第1の待受け手段は、電気機器と同一機種のテスト機器にて前記作業が正しく行われ、前記テスト機器から作業完了の通知を受けると、前記テスト機器に属性情報の通知を要求して前記テスト機器から発生する第1の通知情報を待ち受ける。第1の取得手段は、前記第1の通知情報に応じて前記テスト機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記テスト機器から収集することによって前記属性情報を含む第1の属性情報群を取得する。記憶手段は、前記第1の属性情報群を記憶する。第2の待受け手段は、前記電気機器にて前記作業が行われ、前記電気機器から作業完了の通知を受けると、前記電気機器に属性情報の通知を要求して前記電気機器から発生する第2の通知情報を待ち受ける。第2の取得手段は、前記第2の通知情報に応じて前記電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記電気機器から収集することによって前記属性情報を含む第2の属性情報群を取得する。検出手段は、前記第2の取得手段により取得された前記第2の属性情報群を前記記憶手段に記憶された第1の属性情報群と比較することにより前記電気機器が保有する複数のコンピュータファイルと前記テスト機器が保有する複数のコンピュータファイルとの差違を検出する。生成手段は、前記検出手段により検出された差違を表す差違情報を生成する。
The verification apparatus according to the embodiment verifies an operation of updating a plurality of computer files held by an electrical device, and includes a first standby unit, a first acquisition unit, a storage unit, a second standby unit, 2 acquisition means, detection means and generation means. When the work is correctly performed on a test device of the same model as the electrical device and the first standby means receives a notification of the completion of the operation from the test device, the first standby means requests the test device to notify the attribute information and performs the test Wait for first notification information generated from the device. The first acquisition means includes first attribute information including the attribute information by collecting, from the test device, attribute information of a plurality of computer files held by the test device according to the first notification information. Get a group. The storage means stores the first attribute information group. The second standby means, when the work is performed in the electric device, receives a notification of the completion of the work from the electric device, and requests a notification of attribute information from the electric device to generate a second generated from the electric device. Wait for notification information. The second acquisition means collects attribute information of each of a plurality of computer files held by the electrical device in accordance with the second notification information from the electrical device, and thereby includes second attribute information including the attribute information. Get a group. The detection means compares the second attribute information group acquired by the second acquisition means with the first attribute information group stored in the storage means, thereby a plurality of computer files held by the electrical device. And a plurality of computer files held by the test device are detected. The generation unit generates difference information indicating the difference detected by the detection unit.
以下実施の形態の一例を図面を用いて説明する。なお、本実施の形態では、電気機器としてPOS端末装置を例に説明する。 An example of the embodiment will be described below with reference to the drawings. In the present embodiment, a POS terminal device will be described as an example of an electrical device.
図1は本実施形態に係る検証装置1を使用して構築される検証システムを示す図である。
FIG. 1 is a diagram showing a verification system constructed using a
図1に示すように検証装置1は、POS端末装置2の機能を更新するための作業(以下、更新作業と称する)を検証する。この検証のために検証装置1は、POS端末装置2およびPOS端末装置3とネットワーク4を介して通信する。POS端末装置3は、POS端末装置2での更新作業をテストするために使用される。POS端末装置2は、例えば物品販売店などに設置され、物品販売業者などのユーザにより使用される。POS端末装置3は、システムバス19の製造工場または開発センターなどに設置され、製造業者などにより使用される。なお以下においては、POS端末装置2を更新機器と称し、POS端末装置3をテスト機器と称する。
As shown in FIG. 1, the
ネットワーク4は、典型的にはインターネットであるが、他の任意のコンピュータネットワークを利用可能である。
The
図2は検証装置1のブロック図である。
FIG. 2 is a block diagram of the
検証装置1は、CPU(central processing unit)10、ROM(read-only memory)11、RAM(random-access memory)12、HDD(hard disk drive)13、表示デバイス14、表示コントローラ15、入力デバイス16、入力コントローラ17および通信インタフェース18を含む。これらのうちのCPU10、ROM11、RAM12、HDD13、表示コントローラ15、入力コントローラ17および通信インタフェース18は、システムバス19を介して各種の情報を授受する。検証装置1には、プリンタの別のデバイスが内蔵または外付け接続される場合もある。
The
CPU10は、ROM11、RAM12およびHDD13に記憶されたオペレーティングシステム、ミドルウェアおよびアプリケーションプログラムに基づいて、検証装置1としての各種の動作を実現するべく各部を制御する。
The
ROM11は、上記のオペレーティングシステムを記憶する。ROM11は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。またROM11は、CPU10が各種の処理を行う上で参照するデータを記憶する場合も有る。
The ROM 11 stores the above operating system. The ROM 11 may store the above middleware and application programs. The ROM 11 may store data that is referred to when the
RAM12は、CPU10が各種の処理を行う上で参照するデータを記憶する。さらにRAM12は、CPU10が各種の処理を行う上で一時的に使用するデータを記憶しておく、いわゆるワークエリアとして利用される。RAM12は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。
The
HDD13は、CPU10が各種の処理を行う上で使用するデータや、CPU10での処理によって生成されたデータを保存する。HDD13は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。HDD13は、検証装置1に内蔵されずに、必要に応じて検証装置1に対して外付けされても良い。
The
ROM11、RAM12またはHDD13に記憶されるアプリケーションプログラムには、POS端末装置2の更新作業を検証するための処理に関して記述した検証プログラムを含む。この検証制御プログラムがRAM12またはHDD13に記憶される場合、検証装置1の譲渡は、一般的に検証プログラムがRAM12またはHDD13に記憶された状態にて行われる。しかし、検証装置1を検証プログラムがRAM12に記憶されない状態で譲渡されるとともに、磁気ディスク、光磁気ディスク、光ディスク、半導体メモリなどのようなリムーバブルな記録媒体に記録して、あるいはネットワークを介して上記の検証プログラムを譲渡され、この検証プログラムが上記の別途に譲渡された検証装置1のRAM12またはHDD13に書き込まれても良い。なお、検証装置1のハードウェアとしては、例えば汎用のコンピュータ装置をそのまま使用できる。
The application program stored in the ROM 11,
検証プログラムに基づいた処理を実行することによってCPU10は、次のような各種の処理手段として機能する。上記の処理手段の1つは、テスト機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第1の属性情報群を取得する。上記の処理手段の1つは、第1の属性情報群をHDD13に記憶させる。上記の処理手段の1つは、更新機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第2の属性情報群を取得する。上記の処理手段の1つは、第2の属性情報群を第1の属性情報群と比較することにより更新機器が保有する複数のコンピュータファイルとテスト機器が保有する複数のコンピュータファイルとの差違を検出する。上記の処理手段の1つは、上記の検出した差違を表す差違情報を生成する。上記の処理手段のもう1つは、前記差違情報を予め定められた宛先に送信する。
By executing processing based on the verification program, the
表示デバイス14は、表示コントローラ15により駆動されて画像を表示する。表示デバイス14は、液晶表示器などの種々のデバイスを適宜に使用できる。表示コントローラ21は、CPU10の制御の下に転送されてくる画像データに応じた画像を表示するように表示デバイス14を駆動する。表示デバイス14は、検証装置1には内蔵されずに、必要に応じて検証装置1に外付けされても良い。
The
入力デバイス16は、各種の指示や情報を入力するためのオペレータの操作を受け付ける。入力デバイス16としては、キーボード、マウス、あるいはタッチセンサなどの種々のデバイスを適宜に使用できる。入力コントローラ17は、入力デバイス16でのオペレータの操作に応じた入力コマンドをCPU10へ送る。入力デバイス16は、検証装置1には内蔵されずに、必要に応じて検証装置1に外付けされても良い。
The
通信インタフェース18は、ネットワーク4を介して更新機器2およびテスト機器3と通信する。
The
図3は更新機器2およびテスト機器3として使用可能なPOS端末装置のブロック図である。
FIG. 3 is a block diagram of a POS terminal device that can be used as the
POS端末装置は、CPU(central processing unit)20、ROM(read-only memory)21、RAM(random-access memory)22、HDD(hard disk drive)、表示デバイス24、表示コントローラ25、入力デバイス26、入力コントローラ27、周辺機器インタフェース28および通信インタフェース29を含む。これらのうちのCPU20、ROM21、RAM22、HDD23、表示コントローラ25、入力コントローラ27、周辺機器インタフェース28および通信インタフェース29は、システムバス30を介して各種の情報を授受する。
The POS terminal includes a central processing unit (CPU) 20, a read-only memory (ROM) 21, a random-access memory (RAM) 22, a hard disk drive (HDD), a
CPU20は、ROM21、RAM22およびHDD23に記憶されたオペレーティングシステム、ミドルウェアおよびアプリケーションプログラムに基づいて、POS端末装置としての各種の動作を実現するべく各部を制御する。
The
ROM21は、上記のオペレーティングシステムを記憶する。ROM21は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。またROM21は、CPU20が各種の処理を行う上で参照するデータを記憶する場合も有る。
The
RAM22は、CPU20が各種の処理を行う上で参照するデータを記憶する。さらにRAM22は、CPU20が各種の処理を行う上で一時的に使用するデータを記憶しておく、いわゆるワークエリアとして利用される。RAM22は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。
The
HDD23は、CPU20が各種の処理を行う上で使用するデータや、CPU20での処理によって生成されたデータを保存する。HDD23は、上記のミドルウェアやアプリケーションプログラムを記憶する場合もある。HDD23は、POS端末装置に内蔵されずに、必要に応じてPOS端末装置に対して外付けされても良い。
The
ROM21、RAM22またはHDD23に記憶されるアプリケーションプログラムには、POS端末装置としての各種の機能を実現するための処理に関して記述したプログラムを含む。ROM21、RAM22またはHDD23に記憶されるアプリケーションプログラムの1つは、CPU20を次のような処理手段として機能させる。この処理手段は、RAM22およびHDD23に記憶されたコンピュータファイルのうちの全てまたは予め定められた一部に関しての属性情報を、検証装置1からの要求に応じて検証装置1へと通知する。
The application programs stored in the
表示デバイス24は、表示コントローラ25により駆動されて画像を表示する。表示デバイス24は、液晶表示器などの種々のデバイスを適宜に使用できる。表示コントローラ21は、CPU20の制御の下に転送されてくる画像データに応じた画像を表示するように表示デバイス24を駆動する。
The
入力デバイス26は、各種の指示や情報を入力するためのオペレータの操作を受け付ける。入力デバイス26としては、タッチセンサ、キーボード、バーコードスキャナなどの種々のデバイスを適宜に使用できる。入力コントローラ27は、入力デバイス26でのオペレータの操作に応じた入力コマンドをCPU20へ送る。
The
周辺機器インタフェース28には、プリンタ5や客面表示装置6などの周辺機器が必要に応じて接続される。周辺機器インタフェース28は、接続されている周辺機器と通信する。周辺機器インタフェース28としては、USB(universal serial bus)などの汎用規格に準拠したインタフェース回路などを利用できる。なお、プリンタ5は、受注伝票、領収伝票あるいは各種のジャーナルなどを印刷するために利用される。客面表示装置6は、会計結果や広告情報などを顧客に提示するための画像を表示するために利用される。プリンタ5および客面表示装置6の少なくとも一方は、POS端末装置に内蔵されていても良い。
Peripheral devices such as the
通信インタフェース29は、ネットワーク4を介して更新機器2と通信する。
The communication interface 29 communicates with the
次に以上のように構成された検証システムの動作について説明する。 Next, the operation of the verification system configured as described above will be described.
更新機器2の機能更新のために必要なプログラムやデータなどのコンピュータファイルは、例えば更新機器2の製造業者によって生成される。そして更新機器2とは別のテスト機器3にコンピュータファイルをインストールするとともに、必要ならば何らかの設定を行い、機能更新が正しく行えるかどうかがテストされる。そして、テスト機器3を動作させて、正常に機能更新が行えたことが確認できたならば、上記のコンピュータファイルをCD(compact disk)またはDVD(digital versatile disc)などの可搬型の記憶媒体に収容する。そして作業員が、上記の記憶媒体を更新機器2の設置場所に持参し、当該記憶媒体に収容されている上記のコンピュータファイルを更新機器2にインストールするとともに、必要ならば何らかの設定を行うことによって更新機器2の機能更新を図る。
Computer files such as programs and data necessary for updating the function of the
さて、検証装置1においてCPU10は、上記のような作業が行われるのに先立って、環境マスタファイルの更新が例えば入力デバイス16でのオペレータ操作により要求された場合には、図4に示すような処理を開始する。なお、環境マスタファイルとは、属性情報を収集する対象となるコンピュータファイルに関する情報や、検証結果の通報先に関する情報などのような環境マスタ情報を含むコンピュータファイルである。なお、上記前者の環境マスタ情報は例えば該当するコンピュータファイルが属するフォルダの識別情報であり、上記後者の環境マスタ情報は、例えばメールアドレスである。環境マスタファイルは、例えばHDD13が記憶する。
In the
ステップSa1においてCPU10は、更新すべき項目を判定する。更新すべき項目は、例えば入力デバイス16でのオペレータ操作により指定される。
In step Sa1, the
ステップSa2においてCPU10は、環境マスタ情報を取得する。具体的には例えばCPU10は、入力デバイス16でのオペレータ操作により入力される情報を環境マスタ情報として取得する。
In step Sa2, the
ステップSa3においてCPU10は、ステップSa2において取得した環境マスタ情報をステップSa1で判定した項目に対応するものとして含むように環境マスタファイルを更新する。このとき、同じ項目についての環境マスタ情報が環境マスタファイルに既に含まれているならば、CPU10はそれをステップSa2で取得した情報で上書きする。同じ項目についての環境マスタ情報が環境マスタファイルにまだ含まれていないならば、CPU10はステップSa2で取得した情報を環境マスタファイルに新たに追加する。
In step Sa3, the
ステップSa4およびステップSa5においてCPU10は、環境マスタファイルの更新の継続か、終了のいずれかが例えば入力デバイス16でのオペレータ操作により指示されるのを待ち受ける。もし継続が指示されたならばCPU10は、ステップSa4からステップSa1に戻り、ステップSa1以降の処理を繰り返す。そして終了が指示されたならばCPU10は、ステップSa5から図4の処理を終了する。
In step Sa4 and step Sa5, the
さて、前述したような作業が行われるに際してテスト機器3のCPU20は、図5に示すような処理を実行する。
Now, when the operation as described above is performed, the
ステップSb1においてCPU20は、コンピュータファイルをインストールする。このインストールは、テスト機器3に予め用意されたプログラムまたはインストール対象のコンピュータファイルとともに記憶媒体に記憶されたプログラムなどに基づいてCPU20が自動的に行っても良いし、CPU20がオペレータの指示に応じて行っても良い。
In step Sb1, the
ステップSb2においてCPU20は、正常に機能更新が行えたことが確認するための動作を行う。この動作は、予め定められた手順で自動的に行われても良いし、オペレータの指示に応じた動作を行うのでも良い。
In step Sb2, the
ステップSb3においてCPU20は、動作が正常に行えたか否かを確認する。この確認は、上記の動作の結果をCPU20が解析して自動で行っても良いし、オペレータによる指定に応じて行っても良い。そして、動作が正常に行えたのならば、CPU20はステップSb3からステップSb4へ進む。
In step Sb3, the
ステップSb4においてCPU20は、インストールが完了したことを検証装置1に対して通知する。この通知は例えば、予め定められた形態の通知情報を通信インタフェース29から検証装置1へ宛ててネットワーク4へと送信することにより行われる。そしてこの上でCPU20は、ステップSb5において属性情報の通知が要求されるのを待ち受ける。
In step Sb4, the
以上のようにしてインストール完了がテスト機器3から検証装置1に通知されると、これに応じてCPU10は図5に示すような処理を開始する。
When the completion of installation is notified from the test device 3 to the
ステップSc1においてCPU10は、属性情報の通知をテスト機器3に要求する。この要求は例えば、予め定められた形態の要求情報を通信インタフェース18からネットワーク4へと送信することにより行われる。この要求においては、どのコンピュータファイルの属性情報を通知すべきであるかが示される。また、この要求において、どの属性情報を通知すべきかが示されても良い。そしてこの要求を終えたならばCPU10は、ステップSc2において属性情報が通知されるのを待ち受ける。
In step Sc1, the
上記のようにして属性情報の通知が要求されると、CPU20はステップSb5からステップSb6へ進む。ステップSb6においてCPU20は、要求された属性情報を検証装置1に通知する。具体的には例えばCPU20は、検証装置1より指定されたフォルダに属するコンピュータファイルの属性情報をそれぞれ取得し、これらを検証装置1に通知する。なお、属性情報は、例えばファイル名および更新日時である。属性情報の種類は、予め定められていても良いし、環境マスタファイルにおいて任意に設定されても良い。属性情報は、ファイルサイズなどの他の情報を含んでも良い。そしてこの属性情報の通知は、属性情報を含んだ所定形態の通知情報を通信インタフェース29から検証装置1へ宛ててネットワーク4へと送信することにより行われる。
When the notification of attribute information is requested as described above, the
そして要求された属性情報を検証装置1へと通知し終えたならばCPU20は、図5に示す処理を終了する。なお、ステップSb2における動作が正常に行えなかった場合には、CPU20はステップSb3からステップSb4乃至ステップSb6を実行することなく図5に示す処理を終了する。
When the requested attribute information has been notified to the
上記のようにして属性情報が通知されるとCPU10は、ステップSc2からステップSc3へ進む。ステップSc3においてCPU10は、通知された属性情報を取得する。
When the attribute information is notified as described above, the
ステップSc4においてCPU10は、テスト機器3から通知された全ての属性情報を含んだコンピュータファイルとしてテスト環境ファイルを生成する。
In step Sc4, the
ステップSc5においてCPU10は、テスト環境ファイルを記憶するようHDD13を制御することにより、テスト環境ファイルを保存する。そしてテスト環境ファイルを保存し終えたならば、CPU10は図5に示す処理を終了する。
In step Sc5, the
さて、前述したような作業が行われるに際して更新機器2のCPU20は、図6に示すような処理を実行する。
Now, when the work as described above is performed, the
ステップSd1においてCPU20は、コンピュータファイルをインストールする。このインストールは、更新機器2に予め用意されたプログラムまたはインストール対象のコンピュータファイルとともに記憶媒体に記憶されたプログラムなどに基づいてCPU20が自動的に行っても良いし、CPU20がオペレータの指示に応じて行っても良い。
In step Sd1, the
ステップSd2においてCPU20は、インストールが完了したことを検証装置1に対して通知する。この通知は例えば、予め定められた形態の通知情報を通信インタフェース29から検証装置1へ宛ててネットワーク4へと送信することにより行われる。そしてこの上でCPU20は、ステップSd3において属性情報の通知が要求されるのを待ち受ける。
In step Sd2, the
以上のようにしてインストール完了が更新機器2から検証装置1に通知されると、これに応じてCPU10は図6に示すような処理を開始する。
When the update completion is notified from the
ステップSe1においてCPU10は、属性情報の通知を更新機器2に要求する。この要求は例えば、予め定められた形態の要求情報を通信インタフェース18からネットワーク4へと送信することにより行われる。この要求においては、どのコンピュータファイルの属性情報を通知すべきであるかが示される。また、この要求において、どの属性情報を通知すべきかが示されても良い。そしてこの要求を終えたならばCPU10は、ステップSe2において属性情報が通知されるのを待ち受ける。
In step Se1, the
上記のようにして属性情報の通知が要求されると、CPU20はステップSd3からステップSd4へ進む。ステップSd4においてCPU20は、要求された属性情報を検証装置1に通知する。具体的には例えばCPU20は、検証装置1より指定されたフォルダに属するコンピュータファイルの属性情報をそれぞれ取得し、これらを検証装置1に通知する。この属性情報の通知は、属性情報を含んだ所定形態の通知情報を通信インタフェース29から検証装置1へ宛ててネットワーク4へと送信することにより行われる。
When notification of attribute information is requested as described above, the
そして要求された属性情報を検証装置1へと通知し終えたならばCPU20は、図6に示す処理を終了する。
When the requested attribute information has been notified to the
上記のようにして属性情報が通知されるとCPU10は、ステップSe2からステップSe3へ進む。ステップSe3においてCPU10は、通知された属性情報を取得する。
When the attribute information is notified as described above, the
ステップSe4においてCPU10は、更新機器2から通知された全ての属性情報を含んだコンピュータファイルとして実行環境ファイルを生成する。
In step Se <b> 4, the
ステップSe5においてCPU10は、実行環境ファイルを記憶するようHDD13を制御することにより、実行環境ファイルを保存する。なお実行環境ファイルは保存せずに、RAM12に一時記憶しても良い。
In step Se5, the
ステップSe6においてCPU10は、予め定められた条件に従って、環境精査を実行するか否かを確認する。CPU10は、例えば、操作者による指示に応じて環境精査を実行するか否かを判定する。そして、環境精査を実行するのであれば、CPU10はステップSe6からステップSe7へ進む。
In step Se <b> 6, the
ステップSe7においてCPU10は、HDD13に保存されているテスト環境ファイルと実行環境ファイルとを比較し、テスト機器3が有するコンピュータファイルと更新機器2が有するコンピュータファイルとに差違があるか否かを検出する。
In step Se7, the
ステップSe8においてCPU10は、ステップSe7における比較の結果を表す情報を含むとともに、差違が検出された場合には差違のあったコンピュータファイルに関する属性情報を含んだ結果情報を生成する。
In step Se8, the
ステップSe9においてCPU10は、結果情報をHDD13に保存する。
In step Se <b> 9, the
ステップSe10においてCPU10は、予め定められた条件に従って、結果情報の送信が必要であるか否かを判断する。CPU10は例えば、検証結果の通報先に関する環境マスタ情報が環境マスタファイルに含まれている場合に、結果情報の送信が必要であると判定する。そして結果情報の送信が必要であると判定した場合にCPU10は、ステップSe10からステップSe11へ進む。
In step Se10, the
ステップSe11においてCPU10は、結果情報を環境マスタファイルに含まれた環境マスタ情報が示す通報先へ通報する。具体的には、環境マスタ情報が示すメールアドレスを送信先アドレスとするとともに、結果情報を本文に記述するか、あるいは結果情報を添付ファイルとする電子メールを生成し、送信する。そして結果情報を送信し終えたならば、CPU10は図6に示す処理を終了する。
In step Se11, the
なお、ステップSe6において環境精査を実行しないと判定した場合にCPU10は、ステップSe7乃至ステップSe11を実行することなくステップSe6から図6に示す処理を終了する。この場合、結果情報は得られないことになるが、実行環境ファイルは生成され、保存されている。そこで、操作者が結果情報は必要としないものの、実行環境ファイルを必要とするような場合に、環境精査を実行しないようにすれば良い。なお、この場合には、実行環境ファイルをメール送信などの任意の方法で検証装置1から出力しても良い。
If it is determined in step Se6 that environmental scrutiny is not to be executed, the
また、ステップSe10において送信が不要であると判定した場合にCPU10は、ステップSe11を実行することなくステップSe10から図6に示す処理を終了する。
Further, when it is determined in step Se10 that transmission is not necessary, the
更新機器2とテスト機器3とは、原則として同機種が使用されるが、別個体であるために更新作業を行う前の更新機器2とテスト機器3との状態が相違する場合もあり得る。そしてこのような場合には、更新機器2とテスト機器3とで同様な更新作業を行ったとしても、更新作業を行った後に更新機器2が有するコンピュータファイルとテスト機器3が有するコンピュータファイルとに相違が生じ、テスト機器3では正常に動作しても更新機器2では正常に動作できない恐れがある。また、機能更新のために作成されたコンピュータファイルが適正であっても、インストールにミスが生じた場合には、更新作業を行った後に更新機器2が有するコンピュータファイルとテスト機器3が有するコンピュータファイルとに相違が生じ、更新機器2が正常に動作できない恐れがある。
Although the same model is used for the
しかしながら検証装置1によって、更新機器2およびテスト機器3がそれぞれ有するコンピュータファイルの比較により、更新作業の成否が検証される。従って結果情報を確認することにより、更新機器2の更新が正しく行えたか否かを容易に確認することができる。
However, the
また検証装置1は、相違のあったコンピュータファイルに関する属性情報を結果情報に含める。従って更新機器2の更新が正しく行えなかった場合には、結果情報を確認することによりその原因を容易に認識することが可能である。
In addition, the
この実施形態は、次のような種々の変形実施が可能である。 This embodiment can be variously modified as follows.
テスト環境ファイルと実行環境ファイルとの比較は、更新機器2において行うようにしても良い。具体的には例えば、検証装置1に代えてサーバ装置を備えてこのサーバ装置において検証装置1と同様にしてテスト環境ファイルを保存する。そして更新機器2において実行環境ファイルを生成し、サーバ装置に保存されたテスト環境ファイルとの比較を行う。この場合、上記実施形態と同様にして結果情報を更新機器2から任意の通知先へと送信しても良いし、更新機器2の表示デバイス24や更新機器2に接続されたプリンタ5などにより結果情報を出力しても良い。表示デバイス24やプリンタ5により結果情報を出力すれば、更新作業を行った作業者が検証結果を速やかに認識することが可能となり、何らかの不具合があった場合にそれに速やかに対処することが可能となる。
The comparison between the test environment file and the execution environment file may be performed in the
更新機器およびテスト機器は、POS端末装置2,3には限定されず、コンピュータファイルのインストールにより機能更新を図ることが可能な任意の電気機器であって良い。
The update device and the test device are not limited to the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]第1の電気機器が保有する複数のコンピュータファイルを更新する作業を検証する検証装置であって、前記第1の電気機器とは異なり、かつ前記作業が正しく行われた第2の電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第1の属性情報群を取得する第1の取得手段と、前記第1の属性情報群を記憶する記憶手段と、前記第1の電気機器が前記作業が行われた後に保有する複数のコンピュータファイルのそれぞれの属性情報を含む第2の属性情報群を取得する第2の取得手段と、前記第2の取得手段により取得された前記第2の属性情報群を前記記憶手段に記憶された第1の属性情報群と比較することにより前記第1の電気機器が保有する複数のコンピュータファイルと前記第2の電気機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、前記検出手段により検出された差違を表す差違情報を生成する生成手段とを具備した検証装置。
[2]前記第1の取得手段は、前記第1の電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記第2の電気機器から収集することによって前記第1の属性情報群を取得し、前記第2の取得手段は、前記第2の電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記第1の電気機器から収集することによって前記第2の属性情報群を取得する[1]に記載の検証装置。
[3]前記属性情報は、前記コンピュータファイルのファイル名および更新日時をそれぞれ表す情報である[1]に記載の検証装置。
[4]前記差違情報を予め定められた宛先に送信する送信手段をさらに備える[1]に記載の検証装置。
[5]記憶デバイスにアクセス可能な第1のコンピュータを、第1の電気機器が保有する複数のコンピュータファイルを更新する作業を検証する検証装置として機能させるために、前記第1のコンピュータを、前記第1の電気機器とは異なり、かつ前記作業が正しく行われた第2の電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第1の属性情報群を取得する第1の取得手段と、前記第1の属性情報群を記憶するように前記記憶デバイスを制御する制御手段と、前記第1の電気機器が前記作業が行われた後に保有する複数のコンピュータファイルのそれぞれの属性情報を含む第2の属性情報群を取得する第2の取得手段と、前記第2の取得手段により取得された前記第2の属性情報群を前記記憶デバイスに記憶された第1の属性情報群と比較することにより前記第1の電気機器が保有する複数のコンピュータファイルと前記第2の電気機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、前記検出手段により検出された差違を表す差違情報を生成する生成手段として機能させるプログラム。
[6]記憶デバイスにアクセス可能なサーバ装置と、複数のコンピュータファイルを保有し、当該複数のコンピュータファイルを更新する作業の対象となる第1の電気機器とを具備し、前記サーバ装置は、前記第1の電気機器とは異なり、かつ前記作業が正しく行われた第2の電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第1の属性情報群を取得する第1の取得手段と、前記第1の属性情報群を記憶するように前記記憶デバイスを制御する制御手段と、前記記憶デバイスに記憶された前記第1の属性情報群を前記第1の電気機器へ送信する送信手段とを具備し、前記第1の電気機器は、前記送信手段により送信された前記第1の属性情報群を受信する受信手段と、前記第1の電気機器が前記作業が行われた後に保有する複数のコンピュータファイルのそれぞれの属性情報を含む第2の属性情報群を取得する第2の取得手段と、前記第2の取得手段により取得された前記第2の属性情報群を前記受信手段により受信された第1の属性情報群と比較することにより前記第1の電気機器が保有する複数のコンピュータファイルと前記第2の電気機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、前記検出手段により検出された差違を表す差違情報を生成する生成手段とを具備する検証システム。
Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
Hereinafter, the invention described in the scope of claims of the present application will be appended.
[1] A verification apparatus for verifying an operation of updating a plurality of computer files held by a first electric device, which is different from the first electric device and is a second electric device in which the operation is correctly performed. First acquisition means for acquiring a first attribute information group including attribute information of each of a plurality of computer files held by the device, storage means for storing the first attribute information group, and the first electric information A second acquisition means for acquiring a second attribute information group including attribute information of each of the plurality of computer files held by the device after the operation is performed; and the second acquisition means acquired by the second acquisition means. By comparing the two attribute information groups with the first attribute information group stored in the storage means, a plurality of computer files held by the first electric device and a plurality of computer files held by the second electric device are stored. Detection means for detecting the difference from the computer file, the verification apparatus including a generating means for generating a difference information representing a difference detected by said detection means.
[2] The first acquisition unit acquires the first attribute information group by collecting attribute information of a plurality of computer files held by the first electric device from the second electric device. The second acquisition unit acquires the second attribute information group by collecting the attribute information of each of the plurality of computer files held by the second electric device from the first electric device. The verification apparatus according to [1].
[3] The verification apparatus according to [1], wherein the attribute information is information representing a file name and an update date / time of the computer file.
[4] The verification apparatus according to [1], further including a transmission unit that transmits the difference information to a predetermined destination.
[5] In order to cause the first computer that can access the storage device to function as a verification device that verifies the operation of updating a plurality of computer files held by the first electrical device, the first computer is A first acquisition unit that acquires a first attribute information group that includes attribute information of each of a plurality of computer files held by a second electric device that is different from the first electric device and that has been correctly performed. Control means for controlling the storage device so as to store the first attribute information group, and attribute information of each of a plurality of computer files held by the first electric device after the work is performed. Second acquisition means for acquiring a second attribute information group including the second attribute information group acquired by the second acquisition means is stored in the storage device. Detecting means for detecting a difference between a plurality of computer files held by the first electric device and a plurality of computer files held by the second electric device by comparing with the first attribute information group; A program that functions as a generation unit that generates difference information representing a difference detected by the detection unit.
[6] A server device capable of accessing a storage device, and a first electric device that holds a plurality of computer files and is an object of work for updating the plurality of computer files, A first acquisition unit that acquires a first attribute information group that includes attribute information of each of a plurality of computer files held by a second electric device that is different from the first electric device and that has been correctly performed. Control means for controlling the storage device so as to store the first attribute information group; and transmission means for transmitting the first attribute information group stored in the storage device to the first electrical device. And the first electrical device receives the first attribute information group transmitted by the transmission unit; and after the first electrical device performs the work. Second acquisition means for acquiring a second attribute information group including attribute information of each of a plurality of computer files held therein, and the second attribute information group acquired by the second acquisition means as the reception means Detecting means for detecting a difference between a plurality of computer files held by the first electric device and a plurality of computer files held by the second electric device by comparing with the first attribute information group received by And a generation unit that generates difference information representing the difference detected by the detection unit.
1…検証装置、2…POS端末装置(更新機器)、3…POS端末装置(テスト機器)、4…ネットワーク、5…プリンタ、6…客面表示装置、10,20…CPU、11,21…ROM、12,22…RAM、13,23…HDD、14,24…表示デバイス、15,25…表示コントローラ、16,26…入力デバイス、17,27…入力コントローラ、18,29…通信インタフェース、19,30…システムバス、28…周辺機器インタフェース。
DESCRIPTION OF
Claims (5)
前記電気機器と同一機種のテスト機器にて前記作業が正しく行われ、前記テスト機器から作業完了の通知を受けると、前記テスト機器に属性情報の通知を要求して前記テスト機器から発生する第1の通知情報を待ち受ける第1の待受け手段と、
前記第1の通知情報に応じて前記テスト機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記テスト機器から収集することによって前記属性情報を含む第1の属性情報群を取得する第1の取得手段と、
前記第1の属性情報群を記憶する記憶手段と、
前記電気機器にて前記作業が行われ、前記電気機器から作業完了の通知を受けると、前記電気機器に属性情報の通知を要求して前記電気機器から発生する第2の通知情報を待ち受ける第2の待受け手段と、
前記第2の通知情報に応じて前記電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記電気機器から収集することによって前記属性情報を含む第2の属性情報群を取得する第2の取得手段と、
前記第2の取得手段により取得された前記第2の属性情報群を前記記憶手段に記憶された第1の属性情報群と比較することにより前記電気機器が保有する複数のコンピュータファイルと前記テスト機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、
前記検出手段により検出された差違を表す差違情報を生成する生成手段とを具備した検証装置。 A verification device for verifying work for updating a plurality of computer files held by an electrical device,
When the work is correctly performed by a test device of the same model as the electrical device and a notification of work completion is received from the test device, the test device requests a notification of attribute information to be generated from the test device. A first standby means for waiting for the notification information;
A first attribute information group including the attribute information is acquired by collecting attribute information of each of a plurality of computer files held by the test device from the test device in accordance with the first notification information. Acquisition means;
Storage means for storing the first attribute information group;
When the work is performed in the electrical device and a notification of work completion is received from the electrical device, a second notification information generated from the electrical device is awaited by requesting the electrical device to notify attribute information . Standby means,
A second attribute information group including the attribute information is acquired by collecting attribute information of each of a plurality of computer files held by the electric device from the electric device according to the second notification information. Acquisition means;
Comparing the second attribute information group acquired by the second acquisition unit with the first attribute information group stored in the storage unit, a plurality of computer files held by the electric device and the test device Detecting means for detecting differences from a plurality of computer files held by
A verification apparatus comprising: generation means for generating difference information representing the difference detected by the detection means.
前記電気機器と同一機種のテスト機器にて前記作業が正しく行われ、前記テスト機器から作業完了の通知を受けると、前記テスト機器に属性情報の通知を要求して前記テスト機器から発生する第1の通知情報を待ち受ける第1の待受け手段と、
前記第1の通知情報に応じて前記テスト機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記テスト機器から収集することによって前記属性情報を含む第1の属性情報群を取得する第1の取得手段と、
前記第1の属性情報群を記憶するように前記記憶デバイスを制御する制御手段と、
前記電気機器にて前記作業が行われ、前記電気機器から作業完了の通知を受けると、前記電気機器に属性情報の通知を要求して前記電気機器から発生する第2の通知情報を待ち受ける第2の待受け手段と、
前記第2の通知情報に応じて前記電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記電気機器から収集することによって前記属性情報を含む第2の属性情報群を取得する第2の取得手段と、
前記第2の取得手段により取得された前記第2の属性情報群を前記記憶デバイスに記憶された第1の属性情報群と比較することにより前記電気機器が保有する複数のコンピュータファイルと前記テスト機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、
前記検出手段により検出された差違を表す差違情報を生成する生成手段として機能させるプログラム。 In order for a computer that can access a storage device to function as a verification device that verifies an operation of updating a plurality of computer files held by an electrical device, the computer is
When the work is correctly performed by a test device of the same model as the electrical device and a notification of work completion is received from the test device, the test device requests a notification of attribute information to be generated from the test device. A first standby means for waiting for the notification information;
A first attribute information group including the attribute information is acquired by collecting attribute information of each of a plurality of computer files held by the test device from the test device in accordance with the first notification information. Acquisition means;
Control means for controlling the storage device to store the first attribute information group;
When the work is performed in the electrical device and a notification of work completion is received from the electrical device, a second notification information generated from the electrical device is awaited by requesting the electrical device to notify attribute information . Standby means,
A second attribute information group including the attribute information is acquired by collecting attribute information of each of a plurality of computer files held by the electric device from the electric device according to the second notification information. Acquisition means;
Comparing the second attribute information group acquired by the second acquisition means with the first attribute information group stored in the storage device, a plurality of computer files held by the electric device and the test device Detecting means for detecting differences from a plurality of computer files held by
A program that functions as a generation unit that generates difference information indicating a difference detected by the detection unit.
前記サーバ装置は、
前記テスト機器にて前記作業が正しく行われ、前記テスト機器から作業完了の通知を受けると、前記テスト機器に属性情報の通知を要求して前記テスト機器から発生する第1の通知情報を待ち受ける待受け手段と、
前記第1の通知情報に応じて前記テスト機器が保有する複数のコンピュータファイルのそれぞれの属性情報を前記テスト機器から収集することによって前記属性情報を含む第1の属性情報群を取得する第1の取得手段と、
前記第1の属性情報群を記憶するように前記記憶デバイスを制御する制御手段と、
前記記憶デバイスに記憶された前記第1の属性情報群を前記電気機器へ送信する送信手段とを具備し、
前記電気機器は、
前記送信手段により送信された前記第1の属性情報群を受信する受信手段と、
前記電気機器にて前記作業が行われた後に前記電気機器が保有する複数のコンピュータファイルのそれぞれの属性情報を含む第2の属性情報群を取得する第2の取得手段と、
前記第2の取得手段により取得された前記第2の属性情報群を前記受信手段により受信された第1の属性情報群と比較することにより前記電気機器が保有する複数のコンピュータファイルと前記テスト機器が保有する複数のコンピュータファイルとの差違を検出する検出手段と、
前記検出手段により検出された差違を表す差違情報を生成する生成手段とを具備する検証システム。 A server device capable of accessing a storage device, an electrical device that holds a plurality of computer files, and that is an object of work for updating the plurality of computer files, and a test device of the same model as the electrical device,
The server device
When the work is correctly performed in the test device and a notification of work completion is received from the test device, the test device waits for the first notification information generated from the test device by requesting the test device to notify the attribute information. Means,
A first attribute information group including the attribute information is acquired by collecting attribute information of each of a plurality of computer files held by the test device from the test device in accordance with the first notification information. Acquisition means;
Control means for controlling the storage device to store the first attribute information group;
Transmission means for transmitting the first attribute information group stored in the storage device to the electrical device,
The electrical equipment is
Receiving means for receiving the first attribute information group transmitted by the transmitting means;
Second acquisition means for acquiring a second attribute information group including attribute information of each of a plurality of computer files held by the electric device after the work is performed in the electric device;
Comparing the second attribute information group acquired by the second acquiring means with the first attribute information group received by the receiving means, a plurality of computer files held by the electric device and the test equipment Detecting means for detecting differences from a plurality of computer files held by
A verification system comprising: generation means for generating difference information representing the difference detected by the detection means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011008760A JP5427800B2 (en) | 2011-01-19 | 2011-01-19 | Verification device, program, and verification system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011008760A JP5427800B2 (en) | 2011-01-19 | 2011-01-19 | Verification device, program, and verification system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012150650A JP2012150650A (en) | 2012-08-09 |
| JP5427800B2 true JP5427800B2 (en) | 2014-02-26 |
Family
ID=46792838
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011008760A Expired - Fee Related JP5427800B2 (en) | 2011-01-19 | 2011-01-19 | Verification device, program, and verification system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5427800B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5984149B2 (en) * | 2014-08-04 | 2016-09-06 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Apparatus and method for updating software |
| CN105302573A (en) * | 2015-11-20 | 2016-02-03 | 浪潮集团有限公司 | Method for building function point matching setting automation platform for function verification platform |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06110700A (en) * | 1992-05-22 | 1994-04-22 | Nec Corp | Software install diagnosis system |
| JP4354314B2 (en) * | 2004-03-16 | 2009-10-28 | 株式会社日立製作所 | Server difference management system and information processing apparatus control method |
| JP5206203B2 (en) * | 2008-07-31 | 2013-06-12 | 富士通株式会社 | Information processing apparatus, apparatus management system, apparatus management method, and program |
-
2011
- 2011-01-19 JP JP2011008760A patent/JP5427800B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012150650A (en) | 2012-08-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6889520B2 (en) | Diagnostic analyzer related information aggregation method and aggregation system | |
| US20130114100A1 (en) | Printing system, image forming apparatus, and method | |
| CN113434464A (en) | Distributed log processing system and method | |
| JP6024126B2 (en) | Failure response support apparatus, failure response support system, failure response support method, and failure response support program | |
| JP2021068216A (en) | Device, method, and program for creating ordering schedule data | |
| JP5427800B2 (en) | Verification device, program, and verification system | |
| JP6036222B2 (en) | Device control apparatus, host apparatus and host apparatus control method | |
| CN111954866A (en) | Data processing device, data processing method and program | |
| JP2009193207A (en) | Information collection procedure management system | |
| US9537715B2 (en) | Management system and monitoring apparatus | |
| JP7301906B2 (en) | Terminals, Programs, Power Management Devices, and Servers | |
| JP7191672B2 (en) | Information processing system, image forming apparatus, and information processing system control method | |
| JP2014056547A (en) | Counter-failure support device, counter-failure support system, counter-failure support method, and counter-failure support program | |
| JP2012173868A (en) | Maintenance work support system | |
| JP6758599B2 (en) | Terminal device | |
| JP6132704B2 (en) | Product management system | |
| JP2013097716A (en) | Information processor, information processing method, and program | |
| JP4894592B2 (en) | Information notification apparatus, information notification method, and program | |
| JP6436889B2 (en) | Terminal device, transmission method, and transmission program | |
| JP5039506B2 (en) | Sequence generation system, sequence generation method, and sequence generation program | |
| JP4720749B2 (en) | System condition diagnosis system, system condition diagnosis method, and system condition diagnosis program | |
| JP2014026368A (en) | Information processing device, control method therefor, and program | |
| JP6785916B1 (en) | Setting execution device, setting execution method and setting execution program | |
| JP4125742B2 (en) | Terminal device, display method and program | |
| JP2024036248A (en) | Information processing program, information processing method, and information processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130227 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130305 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130418 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130611 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130717 |
|
| 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: 20131105 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131202 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5427800 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |