JP2010061367A - Reader/writer, program update method, communication system and communication method - Google Patents
Reader/writer, program update method, communication system and communication method Download PDFInfo
- Publication number
- JP2010061367A JP2010061367A JP2008226028A JP2008226028A JP2010061367A JP 2010061367 A JP2010061367 A JP 2010061367A JP 2008226028 A JP2008226028 A JP 2008226028A JP 2008226028 A JP2008226028 A JP 2008226028A JP 2010061367 A JP2010061367 A JP 2010061367A
- Authority
- JP
- Japan
- Prior art keywords
- update
- response
- reader
- writer
- update program
- 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.)
- Withdrawn
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、リーダライタ、プログラム更新方法、通信システムおよび通信方法に関する。詳しくは、リーダライタのプログラムを更新する技術に関する。 The present invention relates to a reader / writer, a program update method, a communication system, and a communication method. Specifically, the present invention relates to a technique for updating a reader / writer program.
ナビゲーション装置の更新用プログラムをICカードに格納しておき、ナビゲーション装置の電源が投入されると、ICカードから更新用プログラムを読み込み、読み込んだプログラムで更新を行う技術が開示されている(例えば、特許文献1参照)。 A technology for storing an update program for a navigation device in an IC card, reading the update program from the IC card when the navigation device is turned on, and updating with the read program is disclosed (for example, Patent Document 1).
従来、リーダライタを管理するコントローラが有線経路を介して更新用プログラムを含むコマンドを送信し、リーダライタが更新用プログラムを受信し、不揮発性メモリ内のプログラムを更新用プログラムで書き換えることによりプログラムの更新を行っていた。 Conventionally, a controller that manages a reader / writer sends a command including an update program via a wired path, the reader / writer receives the update program, and rewrites the program in the nonvolatile memory with the update program. We were updating.
しかしながら、コントローラが更新用プログラムを送信する技術では、リーダライタに更新用プログラムをコマンドとして送信するソフトウェアをコントローラ側に用意する必要があった。そのために、リーダライタを別のものに置き換える度にコントローラ側のソフトウェアをリーダライタのプログラム更新方法に合わせて開発する必要があった。また、更新用プログラムをコントローラ内に格納する必要があるため、コントローラ内で更新用プログラムが改竄される可能性があった。 However, in the technology in which the controller transmits the update program, software for transmitting the update program as a command to the reader / writer needs to be prepared on the controller side. Therefore, every time the reader / writer is replaced with another one, it is necessary to develop the software on the controller side in accordance with the program update method of the reader / writer. Further, since it is necessary to store the update program in the controller, the update program may be tampered with in the controller.
本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、コントローラ側のソフトウェア開発の手間を低減し、更新用プログラムが改竄される可能性を低減することが可能な、新規かつ改良された技術を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to reduce the effort of software development on the controller side and to reduce the possibility of falsification of the update program. It is to provide a new and improved technique.
上記目的を達成するために、本発明のある観点によれば、無線による通信が可能にされたアンテナ部と、コントローラとの有線による通信が可能にされた通信インタフェース部と、情報を記憶することが可能にされた記憶部と、無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、アンテナ部を介して送信し、ポーリングコマンドに対する応答として更新用プログラムを保持する通信装置から無線による通信が可能である旨を示すポーリングレスポンスを、アンテナ部を介して受信すると、アンテナ部を介して更新用プログラムの送信を要求する旨を示す更新コマンドを通信装置に送信し、通信装置からアンテナ部を介して更新コマンドに対する応答として更新用プログラムを含む更新レスポンスを受信すると、更新用プログラムを記憶部に格納する制御部と、を備える、リーダライタが提供される。 In order to achieve the above object, according to an aspect of the present invention, an antenna unit capable of wireless communication, a communication interface unit capable of wired communication with a controller, and information are stored. A polling command indicating that it is inquired whether or not wireless communication is possible with the storage unit that is enabled is transmitted via the antenna unit, and wirelessly from a communication device that holds an update program as a response to the polling command When a polling response indicating that communication is possible is received via the antenna unit, an update command indicating that transmission of the update program is requested is transmitted to the communication device via the antenna unit. When an update response containing an update program is received as a response to an update command via And a control unit for storing a program in a storage unit, the reader-writer is provided.
上記した制御部は、アンテナ部を介して受信したレスポンスに更新用プログラムを保持する通信装置を識別できる情報が含まれる場合に、レスポンスがポーリングレスポンスであると判断することとしてもよい。 The control unit described above may determine that the response is a polling response when the response received via the antenna unit includes information that can identify the communication device that holds the update program.
上記した記憶部は、リーダライタを識別できる番号である機器番号を記憶し、上記した制御部は、ポーリングレスポンスを、アンテナ部を介して受信すると、アンテナ部を介して更新コマンドを通信装置に送信する前に、アンテナ部を介して機器番号を含む機器番号通知コマンドを通信装置に送信することとしてもよい。 The storage unit described above stores a device number that is a number that can identify the reader / writer, and when the control unit receives a polling response via the antenna unit, it transmits an update command to the communication device via the antenna unit. Before doing so, a device number notification command including a device number may be transmitted to the communication device via the antenna unit.
上記した制御部は、更新用プログラムの最後の部分を含む更新レスポンスを受信するまで、1または複数の通信装置との間で、更新コマンドを送信する処理、更新コマンドに対する応答として更新用プログラムの一部を含む更新レスポンスを受信する処理および更新用プログラムの一部を記憶部に格納する処理を、この順序で実行することとしてもよい。 The control unit described above is a process for transmitting an update command to one or a plurality of communication devices until an update response including the last part of the update program is received, and one of the update programs as a response to the update command. The process of receiving the update response including the part and the process of storing a part of the update program in the storage part may be executed in this order.
上記した制御部は、ポーリングレスポンスまたは更新レスポンスに、更新用プログラムが分割された数を示す分割数が含まれている場合に、分割数回目に受信する更新レスポンスを更新用プログラムの最後の部分を含む更新レスポンスであると判断することとしてもよい。 When the polling response or the update response includes the number of divisions indicating the number of divided update programs, the control unit described above receives the update response received for the number of divisions as the last part of the update program. It is good also as judging that it is an update response containing.
上記した制御部は、更新レスポンスに、更新用プログラムの一部の順番を示す値が含まれている場合に、更新用プログラムの一部を記憶部に格納した後、格納した更新用プログラムの順番を示す値を分割数で除算した結果をステータスとして含むステータス通知コマンドを、アンテナ部を介して通信装置に送信することとしてもよい。 When the update response includes a value indicating the order of a part of the update program in the update response, the control part stores the part of the update program in the storage unit and then stores the order of the stored update program. A status notification command including a result obtained by dividing the value indicating the value by the number of divisions as a status may be transmitted to the communication device via the antenna unit.
上記した制御部は、更新レスポンスに、更新用プログラムの最後の部分である旨を示す情報が含まれている場合に、更新用プログラムの最後の部分を含む更新レスポンスであると判断することとしてもよい。 The control unit described above may determine that the update response includes the last part of the update program when the update response includes information indicating that it is the last part of the update program. Good.
上記した記憶部は、揮発性メモリと、不揮発性メモリとを含んで構成され、上記した制御部は、更新用プログラムの一部を含む更新レスポンスを受信すると、更新用プログラムの一部を揮発性メモリに格納し、更新用プログラムの最後の部分を揮発性メモリに格納すると、揮発性メモリに格納された更新用プログラムの全部を不揮発性メモリに格納することとしてもよい。 The storage unit described above includes a volatile memory and a nonvolatile memory. When the control unit receives an update response including a part of the update program, the part of the update program is volatile. If the last part of the update program is stored in the volatile memory and stored in the memory, the entire update program stored in the volatile memory may be stored in the nonvolatile memory.
上記した制御部は、更新レスポンスに、更新用プログラムが分割されている場合における更新用プログラムの順番を示す値が含まれている場合に、順番通りに更新レスポンスを受信しているか否かを判断し、順番通りに更新レスポンスを受信していないと判断した場合には、その旨を出力することとしてもよい。 The control unit described above determines whether or not the update response is received in order when the update response includes a value indicating the order of the update program when the update program is divided. However, when it is determined that the update response has not been received in order, it may be output to that effect.
上記した制御部は、更新用プログラムを含む更新レスポンスを受信すると、更新用プログラムが暗号化されている場合に、更新用プログラムを復号化して記憶部に格納することとしてもよい。 When receiving the update response including the update program, the control unit described above may decrypt the update program and store it in the storage unit when the update program is encrypted.
上記した制御部は、通信装置からポーリングレスポンスを、アンテナ部を介して受信すると、コントローラに対するレスポンス信号の返信を制限することとしてもよい。 The control unit described above may limit the response signal response to the controller when receiving a polling response from the communication device via the antenna unit.
本発明によれば、コントローラ側のソフトウェア開発の手間を低減し、更新用プログラムが改竄される可能性を低減することが可能となる。 According to the present invention, it is possible to reduce time and effort for software development on the controller side and to reduce the possibility of falsification of the update program.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書および図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。なお、説明は以下の順序で行う。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted. The description will be given in the following order.
1. 本実施形態の概要
2. 情報処理システムの構成
3 リーダライタの構成
4. 通信装置の構成
5. データ構成例
6. 運用時の処理の流れ
7. 一般的な情報処理システムにおけるプログラム更新時の処理の流れ
8. 本実施形態に係る情報処理システムにおけるプログラム更新時の処理の流れ
9. 通信装置の表示部に表示される画面例(その1)
10. 通信装置の表示部に表示される画面例(その2)
11. 通信装置の表示部に表示される画面例(その3)
12. 本実施形態による効果
13.本実施形態の変形例
1. 1. Outline of the present embodiment Configuration of information processing system 3 Configuration of reader / writer 4. Configuration of communication device Data configuration example 6. 6. Process flow during operation 7. Process flow when updating a program in a general information processing system 8. Process flow at the time of program update in the information processing system according to the present embodiment Example of a screen displayed on the display unit of the communication device (part 1)
10. Screen example displayed on the display unit of the communication device (part 2)
11. Screen example (part 3) displayed on the display unit of the communication device
12 Effects of the present embodiment 13. Modification of this embodiment
本実施形態の概要]
リーダライタと、通信装置(無線通信機)と、コントローラとを備える情報処理システムを提供する。リーダライタは、アンテナを持ち電子機器との無線通信が可能である。コントローラは、このリーダライタと有線で通信することによりリーダライタを制御可能である。通信装置は、無線を介して送信されてくるコマンドに応じて処理を行う。通信装置は、例えば、IC(Integrated Circuit)カードによって構成され、内部メモリにリーダライタの更新用プログラムを格納している。リーダライタは、この通信装置と無線通信を行うことでプログラムを更新する。
Overview of this embodiment]
An information processing system including a reader / writer, a communication device (wireless communication device), and a controller is provided. The reader / writer has an antenna and can wirelessly communicate with an electronic device. The controller can control the reader / writer by communicating with the reader / writer in a wired manner. The communication device performs processing according to a command transmitted via radio. The communication device is configured by, for example, an IC (Integrated Circuit) card, and stores a reader / writer update program in an internal memory. The reader / writer updates the program by performing wireless communication with the communication device.
また、リーダライタにおいて通常運用時に使用しているカード検出コマンドを実行中に、リーダライタに通信装置をかざすことにより、コントローラからの特別なコマンドで指示することなく、リーダライタ内のプログラムの更新を開始する。 In addition, while executing the card detection command used in normal operation in the reader / writer, by holding the communication device over the reader / writer, it is possible to update the program in the reader / writer without giving a special command from the controller. Start.
情報処理システムの構成]
図1は、本実施形態に係る情報処理システムの構成例を示す図である。図1を参照して、本実施形態に係る情報処理システムについて説明する。
Configuration of information processing system]
FIG. 1 is a diagram illustrating a configuration example of an information processing system according to the present embodiment. With reference to FIG. 1, an information processing system according to the present embodiment will be described.
図1に示すように、本実施形態に係る情報処理システムは、コントローラ10と、リーダライタ20と、通信装置30と、運用カード40とを含んで構成される。本実施形態においては、リーダライタ20と通信装置30とを含んだシステムを通信システム1とする。また、本実施形態においては、コントローラ10と、リーダライタ20とが改札機2に組み込まれている場合について説明するが、これに限定されるものではない。
As shown in FIG. 1, the information processing system according to the present embodiment includes a
コントローラ10は、リーダライタ20を管理または制御するものであり、リーダライタ20と有線による通信が可能にされている。コントローラ10は、例えば、コントローラ10内のCPU(Central Processing Unit)(不図示)がコントローラ10内のメモリ(不図示)に記憶されているプログラムを実行することによってその機能が実現される。
The
リーダライタ20は、アンテナ21を有しており、アンテナ21を介して通信装置30と無線による通信(非接触通信)を行うことが可能にされている。また、リーダライタ20は、アンテナ21を介して運用カード40と無線による通信を行うことが可能にされている。リーダライタ20は、内部にメモリを有し、通信装置30から受信した情報をメモリに保持することができる。リーダライタ20は、内部の不揮発性メモリにプログラムを持ち、プログラムを書き換えることで処理内容を変更することができる。リーダライタ20の詳細については、後述する。
The reader /
通信装置30は、アンテナ31を有しており、アンテナ31を介してリーダライタ20と無線による通信を行うことが可能にされている。また、通信装置30は、管理者からの操作の入力を受け付ける操作入力部32を備えることとしてもよく、表示部33を備えることとしてもよい。図1においては、操作入力部32が3つのボタンとして示されているが、ボタン以外のもの(タッチパネル等)であってもよいし、3つでなく、いくつであってもよい。
The
通信装置30は、内部にメモリを有し、メモリにリーダライタ20の更新用プログラムを格納することができる。通信装置30は、更新用プログラムを格納していることをリーダライタ20に通知する機能を有する。通信装置30は、リーダライタ20と相互認証を行い、セキュアな通信路を確立する機能を有する。通信装置30は、リーダライタ20からの更新用プログラム読出コマンドに対応して、プログラムデータを送信する機能を有する。通信装置30の詳細については、後述する。
The
運用カード40は、改札機2を利用するユーザが保持するものである。運用カード40は、ユーザが改札機2を通過する際にリーダライタ20に読み取られ、運用カード40に記録されている残高の更新等の処理が実行される。
The
リーダライタの構成]
図2は、本実施形態に係るリーダライタの構成例を示す図である。図2を参照して(適宜図1参照)、本実施形態に係るリーダライタについて説明する。
Configuration of Reader / Writer]
FIG. 2 is a diagram illustrating a configuration example of the reader / writer according to the present embodiment. The reader / writer according to the present embodiment will be described with reference to FIG. 2 (see FIG. 1 as appropriate).
図2に示すように、本実施形態に係るリーダライタ20は、アンテナ(アンテナ部)21と、発振回路22と、変調部23と、復調部24と、記憶部25と、制御部26と、通信インタフェース部27とを備える。
As shown in FIG. 2, the reader /
アンテナ21は、無線による通信が可能にされた通信インタフェースである。アンテナ21は、高周波エネルギーを電波として空間に放射し、空間の電波を高周波エネルギーへ変換することによって無線による通信を実現する。アンテナ21は、変調部23から供給された要求信号を、無線通信により送信する。すなわち、例えば、アンテナ21は、変調部23から供給された要求信号を伝送するための電波を輻射(放射)する。また、アンテナ21は、送信されてきた応答信号を受信し、受信した応答信号を復調部24に供給する。
The
発振回路22は、所定の周波数の、基準となるクロック信号を生成し、生成したクロック信号を変調部23に供給する。
The
変調部23は、発振回路22から供給された所定の周波数のクロック信号を基に、搬送波を生成する。変調部23は、搬送波に基づいて、制御部26から供給された要求信号を所定の方式により変調し、変調した要求信号をアンテナ21に供給する。例えば、変調部23は、制御部26から供給された要求信号に基づいて、搬送波の位相、振幅、周波数などを変化させることにより変調した要求信号を生成する。
The
より具体的には、例えば、変調部23は、発振回路22から供給される13.56MHzの周波数のクロック信号を搬送波として、制御部26から供給されるデータをASK(Amplitude Shift Keying)変調する。変調部23は、生成された変調波を、電磁波としてアンテナ21から出力させる。
More specifically, for example, the
復調部24は、アンテナ21から供給された応答信号を、変調部35(図3)の変調方式に対応する復調方式により復調し、復調した応答信号を制御部26に供給する。例えば、復調部24は、アンテナ21を介して取得した変調波(ASK変調波)を復調し、復調した応答信号を制御部26に出力する。
The
記憶部25は、情報を記憶することが可能にされたものである。記憶部25は、例えば、RAM(Random Access Memory)251と、不揮発性メモリ252とを備えるものである。記憶部25は、リーダライタ20を識別できる番号である機器番号を記憶していることとしてもよい。不揮発性メモリ252は、書き換え可能で、電源が遮断されても記録内容を保持できる、いわゆる不揮発性の記憶媒体または記録媒体からなり、例えば、ハードディスクまたはフラッシュメモリなどにより構成される。記憶部25は、記録しているデータを、必要に応じて制御部26に供給する。
The
制御部26は、例えば、CPUによって構成され、不揮発性メモリ252に記憶されたプログラムをRAM251に展開し、実行することで、その機能を実現する。
The
制御部26は、無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、アンテナ21を介して送信する。
The
制御部26は、ポーリングコマンドに対する応答として更新用プログラムを保持する通信装置30から無線による通信が可能である旨を示すポーリングレスポンスを、アンテナ21を介して受信する。制御部26は、ポーリングレスポンスを受信すると、アンテナ21を介して更新用プログラムの送信を要求する旨を示す更新コマンド((FW:Firmware)更新コマンド)(図5(a)参照)を通信装置30に送信する。また、制御部26は、ポーリングレスポンスを受信した際に、コントローラ10(図1参照)に対してレスポンス信号を返信しない(レスポンス信号の返信を制限する)。
The
制御部26は、通信装置30からアンテナ21を介して更新コマンドに対する応答として更新用プログラムを含む更新レスポンス(FW更新レスポンス)(図5(b)参照)を受信すると、更新用プログラムを記憶部25に格納する。
When the
制御部26は、例えば、アンテナ21を介して受信したレスポンスに更新用プログラムを保持する通信装置30を識別できる情報が含まれる場合に、レスポンスが更新用プログラムを保持する通信装置30からのポーリングレスポンスであると判断する。更新用プログラムを保持する通信装置30を識別できる情報は、例えば、更新用プログラムを保持する通信装置30に特有の機器IDがレスポンス内の所定の位置(送信元の機器IDが設定される位置等)に設定される場合が想定される。また、例えば、特定のビット列がレスポンスに付加される場合等が想定される。
For example, when the response received via the
制御部26は、ポーリングレスポンスを、アンテナ21を介して受信すると、アンテナ21を介して更新コマンドを通信装置30に送信する前に、アンテナ21を介して機器番号通知コマンド(図4(a)参照)を通信装置30に送信することとしてもよい。機器番号通知コマンドはリーダライタ20の機器番号を含むものである。これによって、リーダライタ20の管理者は、プログラムの更新を行ったリーダライタ20を、リーダライタ20の機器番号で管理することができる。
When the
また、通信装置30のメモリ容量等の関係により、更新用プログラムが複数に分割されている場合も想定される。この場合、制御部26は、更新コマンドを送信する処理、更新コマンドに対する応答として更新用プログラムの一部を含む更新レスポンスを受信する処理および更新用プログラムの一部を記憶部25に格納する処理を、この順序で繰り返し実行する。これらの処理は、1または複数の通信装置30との間で、更新用プログラムの最後の部分を含む更新レスポンスを受信するまで実行される。
In addition, the update program may be divided into a plurality of programs depending on the memory capacity of the
制御部26は、例えば、ポーリングレスポンスまたは更新レスポンスに、更新用プログラムが分割された数を示す分割数が含まれている場合に、分割数回目に受信する更新レスポンスを更新用プログラムの最後の部分を含む更新レスポンスであると判断することができる。
For example, when the polling response or the update response includes the number of divisions indicating the number of divisions of the update program, the
更新レスポンスには、更新用プログラムの一部の順番を示す値が含まれている場合がある。その場合には、制御部26は、更新用プログラムの一部を記憶部25に格納した後、格納した更新用プログラムの順番を示す値を分割数で除算した結果をステータスとして含むステータス通知コマンドを、アンテナ21を介して通信装置30に送信することとしてもよい。これによれば、管理者は、このステータスを把握することにより、リーダライタ20のプログラムの更新がどの程度まで完了したかについて把握することができるという効果を奏する。
The update response may include a value indicating a partial order of the update program. In that case, after storing a part of the update program in the
また、制御部26は、例えば、更新レスポンスに、更新用プログラムの最後の部分である旨を示す情報が含まれている場合に、更新用プログラムの最後の部分を含む更新レスポンスであると判断することができる。
For example, when the update response includes information indicating that it is the last part of the update program, the
制御部26は、更新用プログラムの一部を含む更新レスポンスを受信すると、更新用プログラムの一部をRAM251に格納していく。その場合には、制御部26は、更新用プログラムの最後の部分をRAM251に格納すると、RAM251に格納された更新用プログラムの全部を不揮発性メモリ252に格納することとしてもよい。これによれば、制御部26は、更新用プログラムの一部を含む更新レスポンスを受信するたびに、不揮発性メモリ252に格納する必要がなくなるので、受信時の処理が速くなるという効果を奏する。
When receiving an update response including a part of the update program, the
制御部26は、更新レスポンスに、更新用プログラムが分割されている場合における更新用プログラムの順番を示す値が含まれている場合も想定される。その場合に、制御部26は、順番通りに更新レスポンスを受信しているか否かを判断し、順番通りに更新レスポンスを受信していないと判断した場合には、その旨を出力することとしてもよい。
It is assumed that the
制御部26は、更新用プログラムを含む更新レスポンスを受信すると、更新用プログラムが暗号化されている場合に、更新用プログラムを復号化して記憶部25に格納することとしてもよい。
When receiving the update response including the update program, the
制御部26は、要求信号を、所定の方式により符号化(暗号化)し、符号化した要求信号を変調部23に供給することとしてもよい。また、制御部26は、復調部24から供給された応答信号を、応答信号の符号化方式に対応する方式により復号することとしてもよい。例えば、制御部26は、要求信号に、例えば、マンチェスターコードへのコーディングなどの符号化処理を施し、これにより得られた信号を変調部23に出力する。また、制御部26は、応答信号が復調部24から供給されてきた場合、そのデータに対して、例えば、マンチェスターコードのデコードなどの復号処理を施す。
The
通信インタフェース部27は、コントローラ10との有線による通信が可能にされたものである。
The
通信装置の構成]
図3は、本実施形態に係る通信装置の構成例を示す図である。図3を参照して(適宜図1参照)、本実施形態に係る通信装置について説明する。
Configuration of communication device]
FIG. 3 is a diagram illustrating a configuration example of the communication apparatus according to the present embodiment. With reference to FIG. 3 (refer to FIG. 1 as appropriate), the communication apparatus according to the present embodiment will be described.
図3に示すように、本実施形態に係る通信装置30は、アンテナ(アンテナ部)31と、操作入力部32と、表示部33と、発振回路34と、変調部35と、電力発生部36と、復調部37と、制御部38と、記憶部39とを備える。
As illustrated in FIG. 3, the
アンテナ31は、無線による通信が可能にされた通信インタフェースである。アンテナ31は、リーダライタ20から送信されてきた要求信号を受信し、受信した要求信号を復調部37に供給する。また、アンテナ31は、変調部35から供給された応答信号を、無線通信により、リーダライタ20あてに送信する。すなわち、例えば、アンテナ31は、変調部35から供給された応答信号を伝送するための電波を放射する。また、アンテナ31においては、リーダライタ20から放射される所定の周波数の電波により、共振が生じ、起電力が発生する。
The
操作入力部32は、管理者からの操作の入力を受け付けるものであり、ボタン等によって構成されるが、上記したように、ボタン以外のもの(タッチパネル等)であってもよい。
The
表示部33は、ディスプレイ等によって構成されるものであり、制御部38から出力された情報(文字、数値等)を表示する。
The
発振回路34は、アンテナ31が受信する要求信号の周波数と同じ周波数のクロック信号を生成し、生成したクロック信号を変調部35に供給する。例えば、発振回路34は、PLL回路を内蔵し、要求信号のクロック周波数と同一の周波数のクロック信号を発生する。
The
変調部35は、発振回路34から供給された所定の周波数のクロック信号を基に、搬送波を生成する。変調部35は、搬送波に基づいて、制御部38から供給された応答信号を、所定の方式によって変調することにより、応答信号を生成し、変調した応答信号をアンテナ31に供給する。例えば、変調部35は、制御部38から供給された、マンチェスター方式により符号化された応答信号を、さらにASK変調し、変調した応答信号を、アンテナ31を介して、リーダライタ20に送信する。
The
また、例えば、変調部35は、制御部38から供給される応答信号に対して、所定のスイッチング素子(不図示)をオン、オフさせ、スイッチング素子がオン状態であるときだけ、所定の負荷をアンテナ31に並列に接続させる。これにより、アンテナ31の負荷を変動させる。ASK変調された応答信号は、アンテナ31の負荷の変動により、アンテナ31を介して、リーダライタ20に送信される(リーダライタ20のアンテナ21の端子電圧を変動させる)。
Further, for example, the
電力発生部36は、アンテナ31に生じた交流の起電力を基に、直流電力を発生させ、発生させた直流電力を通信装置30の各部に供給する。
The
復調部37は、アンテナ31から供給された要求信号を、変調部23(図2参照)の変調方式に対応する復調方式により復調し、復調した要求信号を制御部38に供給する。例えば、復調部37は、アンテナ31を介して受信したASK変調波である要求信号を包絡線検波して復調し、復調した要求信号を制御部38に出力する。
The
制御部38は、例えば、CPUによって構成され、記憶部39に記憶されたプログラムを実行することで、その機能を実現する。
The
制御部38は、復調部37から供給された要求信号が暗号化(符号化)されている場合には、要求信号を所定の方式により復号することとしてもよい。制御部38は、応答信号を、所定の符号化方式により符号化し、符号化した応答信号を変調部35に供給することとしてもよい。復調部37において復調されたデータがマンチェスター方式で符号化されている場合がある。その場合には、制御部38は、PLL(Phase Locked Loop)回路(不図示)から供給されるクロック信号に基づいて、そのデータの復号(マンチェスターコードのデコード)を行う。例えば、制御部38は、応答信号を、マンチェスター方式で符号化し、符号化した応答信号を変調部35に供給する。
When the request signal supplied from the
制御部38は、ポーリングコマンドを、アンテナ31を介して受信すると、ポーリングレスポンスを、アンテナ31を介して送信する。また、制御部38は、アンテナ31を介して更新コマンドをリーダライタ20から受信すると、アンテナ31を介して更新レスポンスをリーダライタ20に送信する。
When receiving the polling command via the
記憶部39は、例えば、フラッシュメモリ、EEPROM、MRAM、FeRAMなどの不揮発性メモリ、RAMなどの揮発性メモリなどにより構成される。不揮発性メモリは、リーダライタ20に送信されるデータ(リーダライタ20の更新用プログラム等)、プログラムの実行に必要なデータなどの各種データを記録している。揮発性メモリは、プログラムの実行に必要なデータなどを適宜記憶する。揮発性メモリは、記憶しているデータを制御部38に供給する。
The
データ構成例]
図4は、本実施形態に係るデータ構成例を示す図であり、図4(a)は、機器番号通知コマンドのデータ構成例、図4(b)は、機器番号通知レスポンスのデータ構成例を示す図である。図4を参照して、本実施形態に係るデータ構成例について説明する。
Data configuration example]
FIG. 4 is a diagram illustrating a data configuration example according to the present embodiment. FIG. 4A is a data configuration example of a device number notification command, and FIG. 4B is a data configuration example of a device number notification response. FIG. A data configuration example according to the present embodiment will be described with reference to FIG.
図4(a)に示すように、機器番号通知コマンドは、機器番号通知コマンドを識別できる要求識別子51aと、通信を識別できる通信ID(IDm)51bと、リーダライタ20を識別できる機器番号51cとを含んで構成されている。
As shown in FIG. 4A, the device number notification command includes a
図4(b)に示すように、機器番号通知レスポンスは、機器番号通知レスポンスを識別できる応答識別子52aと、通信を識別できる通信ID(IDm)52bと、リーダライタ20を識別できる結果コード52cとを含んで構成されている。
As shown in FIG. 4B, the device number notification response includes a
図5は、本実施形態に係るデータ構成例を示す図であり、図5(a)は、FW更新コマンドのデータ構成例、図5(b)は、FW更新レスポンスのデータ構成例を示す図である。図5を参照して、本実施形態に係るデータ構成例について説明する。 FIG. 5 is a diagram illustrating a data configuration example according to the present embodiment. FIG. 5A is a data configuration example of an FW update command, and FIG. 5B is a diagram illustrating a data configuration example of an FW update response. It is. A data configuration example according to the present embodiment will be described with reference to FIG.
図5(a)に示すように、FW更新コマンドは、FW更新コマンドを識別できる要求識別子53aと、通信を識別できる通信ID53bとを含んで構成されている。
As shown in FIG. 5A, the FW update command includes a
図5(b)に示すように、FW更新レスポンスは、FW更新レスポンスを識別できる応答識別子54aと、通信を識別できる通信ID54bと、FW更新コマンドに対する結果コード54cと、リーダライタ20の更新用プログラム54dとを含んで構成されている。
As shown in FIG. 5B, the FW update response includes a
図6は、本実施形態に係るデータ構成例を示す図であり、図6(a)は、ステータス通知コマンドのデータ構成例、図6(b)は、ステータス通知レスポンスのデータ構成例を示す図である。図6を参照して、本実施形態に係るデータ構成例について説明する。 FIG. 6 is a diagram illustrating a data configuration example according to the present embodiment. FIG. 6A illustrates a data configuration example of a status notification command, and FIG. 6B illustrates a data configuration example of a status notification response. It is. A data configuration example according to the present embodiment will be described with reference to FIG.
図6(a)に示すように、ステータス通知コマンドは、ステータス通知コマンドを識別できる要求識別子55aと、通信を識別できる通信ID55bと、ステータス55cを含んで構成されている。
As shown in FIG. 6A, the status notification command includes a
図6(b)に示すように、ステータス通知レスポンスは、ステータス通知レスポンスを識別できる応答識別子56aと、通信を識別できる通信ID56bと、ステータス通知コマンドに対する結果コード56cとを含んで構成されている。
As shown in FIG. 6B, the status notification response includes a
運用時の処理の流れ]
図7は、一般的な情報処理システムにおける運用時の処理の流れを示すシーケンス図である。図7を参照して(適宜他の図も参照)、一般的な情報処理システムにおける運用時の処理について説明する。
Flow of processing during operation]
FIG. 7 is a sequence diagram showing a flow of processing during operation in a general information processing system. With reference to FIG. 7 (refer to other figures as appropriate), processing during operation in a general information processing system will be described.
通常運用時は、コントローラ10からカード補足用コマンド(Pollingコマンド)を定期的に送信する。コントローラ10は、運用カード40の補足待ち受け状態となっており、Pollingレスポンスを受信することで運用カード40の認証処理を開始する。
During normal operation, a card supplement command (Polling command) is periodically transmitted from the
図7に示すように、コントローラ10は、制御コマンドであるPolling(ポーリング)コマンド(RW)をリーダライタ20に送信する(ステップS101)。ここで、(RW)は、リーダライタ20との通信であることを示すものである。リーダライタ20は、コントローラ10からPolling(ポーリング)コマンド(RW)を受信すると、ACKをコントローラ10に送信する(ステップS102)とともに、Pollingコマンド(カード)を発信する(ステップS103)。ここで、(カード)は、運用カード40との通信であることを示すものである。リーダライタ20は、運用カード40からPollingレスポンス(カード)を受信しない間は、所定時間ごとに、Pollingコマンド(カード)を発信する(ステップS104、ステップS105)。
As shown in FIG. 7, the
コントローラ10は、リーダライタ20からPollingレスポンス(RW)を受信しない間は、所定時間ごとに、Pollingコマンド(RW)をリーダライタ20に送信する(ステップS106)。リーダライタ20は、コントローラ10からPolling(ポーリング)コマンド(RW)を受信すると、ACKをコントローラ10に送信する(ステップS107)とともに、Pollingコマンド(カード)を発信する(ステップS108)。
While the
運用カード40がリーダライタ20にかざされると(P101)、リーダライタ20と運用カード40との間で通信が可能となる。リーダライタ20がPollingコマンド(カード)を発信すると(ステップS109)、運用カード40は、Pollingコマンド(カード)を受信し、Pollingレスポンス(カード)をリーダライタ20に送信する(ステップS110)。リーダライタ20は、運用カード40からPollingレスポンス(カード)を受信することで運用カード40を検出すると、Pollingレスポンス(RW)をコントローラ10に送信する(ステップS111)。このように、リーダライタ20は、運用カード40を検出すると、コントローラ10にPollingレスポンス(RW)を返す必要がある。
When the
コントローラ10は、リーダライタ20からPollingレスポンス(RW)を受信すると、リーダライタ20に認証コマンド(RW)を送信する(ステップS112)。リーダライタ20は、コントローラ10から認証コマンド(RW)を受信すると、ACKをコントローラ10に送信する(ステップS113)とともに、運用カード40に認証コマンド(カード)を送信する(ステップS114)。運用カード40は、認証コマンド(カード)を受信すると、リーダライタ20に認証レスポンス(カード)を送信する(ステップS115)。リーダライタ20は、運用カード40から認証レスポンス(カード)を受信すると、コントローラ10に認証レスポンス(RW)を送信する(ステップS116)。
When receiving the polling response (RW) from the reader /
一般的な情報処理システムにおけるプログラム更新時の処理の流れ]
図8は、一般的な情報処理システムにおけるプログラム更新時の処理の流れを示すシーケンス図である。図8を参照して(適宜他の図も参照)、一般的な情報処理システムにおけるプログラム更新時の処理について説明する。
Flow of processing when updating a program in a general information processing system]
FIG. 8 is a sequence diagram showing the flow of processing when updating a program in a general information processing system. With reference to FIG. 8 (refer to other figures as appropriate), processing at the time of program update in a general information processing system will be described.
一般的な情報処理システムにおいて、運用時にファームウェア更新処理を行おうとすると、Pollingコマンドを一時中断してコントローラ10からファームウェア更新用コマンドを送信しなければならない。そのため、コントローラ10の処理が通常運用時と異なるシーケンスとなる。また、リーダライタ20部分を異なる仕様のものに変更した場合、ファームウェア更新処理を新たに作り直す必要がある。
In a general information processing system, if a firmware update process is to be performed during operation, the polling command must be temporarily suspended and a firmware update command transmitted from the
図8に示すように、コントローラ10は、Polling(ポーリング)コマンド(RW)をリーダライタ20に送信する(ステップS101)。リーダライタ20は、コントローラ10からPollingコマンド(RW)を受信すると、ACKをコントローラ10に送信する(ステップS102)とともに、Pollingコマンド(カード)を発信する(ステップS103)。リーダライタ20は、運用カード40からPollingレスポンス(カード)を受信しない間は、所定時間ごとに、Pollingコマンド(カード)を発信する(ステップS104、ステップS105)。
As shown in FIG. 8, the
コントローラ10は、リーダライタ20のプログラムを更新する場合には、リーダライタ20にAttentionコマンド(RW)を送信する(ステップS201)。リーダライタ20は、コントローラ10からAttentionコマンド(RW)を受信すると、コントローラ10にACKを送信する(ステップS202)とともに、Pollingコマンド(カード)の送信を中断する(ステップS203)。そして、コントローラ10にAttentionレスポンス(RW)を送信する(ステップS204)。
When updating the program of the reader /
コントローラ10は、リーダライタ20からAttentionレスポンス(RW)を受信すると、リーダライタ20にFW更新コマンド1(RW)を送信する(ステップS205)。ここで、FW更新コマンドNは、N回目のコマンドであることを意味している。ここでは、FW更新用プログラムが複数に分割されてリーダライタ20に送信される場合を想定している。リーダライタ20は、コントローラ10からFW更新コマンド1(RW)を受信すると、コントローラ10にACKを送信する(ステップS206)。それとともに、FW更新コマンド1(RW)に含まれているFW更新用プログラムでリーダライタ20のFWを更新する(ステップS207)。リーダライタ20は、FW更新が終わると、コントローラ10にFW更新レスポンス1(RW)を送信する(ステップS208)。ここで、FW更新レスポンスNについても、コマンドの場合と同様に、N回目のレスポンスであることを意味している。
When receiving the Attention response (RW) from the reader /
コントローラ10は、リーダライタ20からFW更新レスポンス1(RW)を受信すると、リーダライタ20にFW更新コマンド2(RW)を送信する(ステップS209)。リーダライタ20は、コントローラ10からFW更新コマンド2(RW)を受信すると、コントローラ10にACKを送信する(ステップS210)。それとともに、FW更新コマンド1(RW)に含まれているFW更新用プログラムでリーダライタ20のFWを更新する(ステップS211)。リーダライタ20は、FW更新が終わると、コントローラ10にFW更新レスポンス2(RW)を送信する(ステップS212)。
When receiving the FW update response 1 (RW) from the reader /
コントローラ10は、FW更新用プログラムの最後の部分を含むFW更新レスポンスを受信すると、リーダライタ20にResetコマンド(RW)を送信する(ステップS213)。リーダライタ20は、コントローラ10からResetコマンド(RW)を受信すると、コントローラ10にACKを送信する(ステップS214)。それとともに、リーダライタ20の電源を再投入して更新後のFWを有効にし、コントローラ10にResetレスポンス(RW)を送信する(ステップS215)。コントローラ10とリーダライタ20との間のFW切り替えが完了する(ステップS216)。
When receiving the FW update response including the last part of the FW update program, the
本実施形態に係る情報処理システムにおけるプログラム更新時の処理の流れ]
図9は、本実施形態に係る情報処理システムにおけるプログラム更新時の処理の流れを示すシーケンス図である。図9を参照して(適宜他の図も参照)、本実施形態に係る情報処理システムにおけるプログラム更新時の処理について説明する。
Flow of processing when updating a program in the information processing system according to the present embodiment]
FIG. 9 is a sequence diagram showing the flow of processing when updating a program in the information processing system according to the present embodiment. With reference to FIG. 9 (refer to other figures as appropriate), processing at the time of program update in the information processing system according to the present embodiment will be described.
本実施形態に係る情報処理システムでは、リーダライタ20がFW更新用カード等の通信装置30を補足した際、自発的に通信装置30に対してFW更新用コマンドを送信する。また、FW更新時にコントローラ10からPollingコマンドが送信された場合、リーダライタ20はACKレスポンスを返送することで、Pollingコマンドを実行しているように振舞う。これにより、コントローラ10側に意識させることなく、FWの更新を実施できる。FWの更新処理完了後は、更新前と同様にPolingコマンドを受けて運用時の動作を行うことができる。
In the information processing system according to the present embodiment, when the reader /
また、携帯機器等の通信装置30を通信対象として、機器番号通知コマンド(ステップS301)とステータス通知コマンド(ステップS306)を使用してリーダライタ20のプログラムのバージョンを管理することとしてもよい。この場合、リーダライタ20は、通信装置30を検出すると、自分の機器番号を通信装置30に対して通知するコマンドを発行する。続いて、FWの更新を行う。このとき、FWの更新を行った後に、ステータス通知コマンドを発行することで、通信装置30に対して更新状態を通知することができる。これにより、通信装置30でのプログレスバーの表示や、上記した機器番号通知と組み合わせることにより、どのリーダライタ20のプログラムが更新されたかという情報を管理することができる。
Alternatively, the version of the program of the reader /
図9に示すように、コントローラ10は、Polling(ポーリング)コマンド(RW)をリーダライタ20に送信する(ステップS101)。リーダライタ20は、コントローラ10からPollingコマンド(RW)を受信すると、ACKをコントローラ10に送信する(ステップS102)とともに、Pollingコマンド(通信装置)を発信する(ステップS109)。通信装置30がリーダライタ20にかざされている場合には(P201)、通信装置30は、Pollingコマンド(通信装置)を受信し、リーダライタ20にPollingレスポンス(通信装置)を送信する(ステップS110)。この後、リーダライタ20と通信装置30との間で相互認証を行うこととしてもよい。このように、本実施形態において、リーダライタ20は、通信装置30を検出した場合に、コントローラ10に対してレスポンス信号を返信しない(レスポンス信号の返信を制限する)。したがって、コントローラ10は、リーダライタ20が通信装置30と通信していることを認識しない。
As shown in FIG. 9, the
リーダライタ20は、通信装置30からPollingレスポンス(通信装置)を受信すると、通信装置30に機器番号通知コマンド(通信装置)を送信する(ステップS301)。通信装置30は、リーダライタ20から機器番号通知コマンド(通信装置)を受信すると、リーダライタ20に機器番号通知レスポンス(通信装置)を送信する(ステップS302)。
Upon receiving the Polling response (communication device) from the
リーダライタ20は、通信装置30から機器番号通知レスポンス(通信装置)を受信すると、通信装置30にFW更新コマンド1(通信装置)を送信する(ステップS303)。通信装置30は、リーダライタ20からFW更新コマンド1(RW)を受信すると、リーダライタ20にFW更新レスポンス1(通信装置)を送信する(ステップS304)。リーダライタ20は、通信装置30からFW更新レスポンス1(通信装置)を受信すると、FW更新レスポンス1(通信装置)に含まれているFW更新用プログラムでリーダライタ20のFWを更新する(ステップS305)。
Upon receiving the device number notification response (communication device) from the
リーダライタ20は、FW更新が終わると、通信装置30にステータス通知コマンド1(通信装置)を送信する(ステップS306)。通信装置30は、リーダライタ20からステータス通知コマンド1(通信装置)を受信すると、リーダライタ20にステータス通知レスポンス1(通信装置)を送信する(ステップS307)。
When the FW update is completed, the reader /
リーダライタ20は、通信装置30からステータス通知レスポンス1(通信装置)を受信すると、通信装置30にFW更新コマンド2(通信装置)を送信する(ステップS308)。通信装置30は、リーダライタ20からFW更新コマンド2(RW)を受信すると、リーダライタ20にFW更新レスポンス2(通信装置)を送信する(ステップS309)。リーダライタ20は、通信装置30からFW更新レスポンス2(通信装置)を受信すると、FW更新レスポンス2(通信装置)に含まれているFW更新用プログラムでリーダライタ20のFWを更新する(ステップS310)。
Upon receiving the status notification response 1 (communication device) from the
リーダライタ20は、FW更新が終わると、通信装置30にステータス通知コマンド2(通信装置)を送信する(ステップS311)。通信装置30は、リーダライタ20からステータス通知コマンド2(通信装置)を受信すると、リーダライタ20にステータス通知レスポンス2(通信装置)を送信する(ステップS312)。
When the FW update is completed, the reader /
コントローラ10は、FW更新用プログラムの最後の部分を含むFW更新レスポンスを受信すると、FWの更新処理を完了する(ステップS313)。なお、リーダライタ20は、すべての更新用プログラムが不揮発性メモリ252に書き込まれたら更新用プログラムを有効にすることとしてもよいし、また、リーダライタ20の電源再投入処理の際に受信した更新用プログラムの全てを有効にする処理を実行してもよい。更新用プログラムを有効にする処理の実行により、更新用プログラムの切り替えが完了する。
Upon receiving the FW update response including the last part of the FW update program, the
その後、リーダライタ20は、Pollingコマンド(カード)を発信し(ステップS108)、運用カード40がリーダライタ20にかざされると(P101)、リーダライタ20と運用カード40との間で通信が可能となる。リーダライタ20がPollingコマンド(カード)を発信すると(ステップS109)、運用カード40は、Pollingコマンド(カード)を受信し、Pollingレスポンス(カード)をリーダライタ20に送信する(ステップS110)。リーダライタ20は、運用カード40からPollingレスポンス(カード)を受信することで運用カード40を検出すると、Pollingレスポンス(RW)をコントローラ10に送信する(ステップS111)。このように、リーダライタ20は、運用カード40を検出すると、コントローラ10にPollingレスポンス(RW)を返す必要がある。
Thereafter, the reader /
[9.通信装置の表示部に表示される画面例(その1)]
図10は、通信装置の表示部に表示される画面例(その1)を示す図である。図10を参照して(適宜他の図も参照)、通信装置の表示部に表示される画面例(その1)について説明する。
[9. Screen example displayed on the display unit of the communication device (part 1)]
FIG. 10 is a diagram illustrating a screen example (part 1) displayed on the display unit of the communication apparatus. With reference to FIG. 10 (refer to other figures as appropriate), a screen example (part 1) displayed on the display unit of the communication apparatus will be described.
図10に示すように、表示部33には、通信装置30が保持しているリーダライタ20の更新用プログラムのバージョンを表示することとしてもよい。また、バージョンが複数に分割されている場合には、更新用プログラムの一部の順番を示す値と分割数とを表示することとしてもよい。図10に示した例では、4/4、1/4、2/4等、更新用プログラムの一部の順番を示す値を分子、分割数を分母とする分数で示されている。
As shown in FIG. 10, the
表示部33には、リーダライタ20の管理者が操作入力部32を介して更新用プログラムの一部または全体を選択できるようなチェック欄が表示されていることとしてもよい。更新用プログラムの一部または更新用プログラム全体が選択された状態で、リーダライタ20の管理者が操作入力部32を介して実行を入力し、通信装置30をリーダライタ20にかざすと、通信装置30は、選択されたプログラムを含むFW更新コマンドをリーダライタ20に送信することができる。
The
[10.通信装置の表示部に表示される画面例(その2)]
図11は、通信装置の表示部に表示される画面例(その2)を示す図である。図11を参照して(適宜他の図も参照)、通信装置の表示部に表示される画面例(その2)について説明する。
[10. Screen example displayed on the display unit of the communication device (part 2)]
FIG. 11 is a diagram illustrating a screen example (part 2) displayed on the display unit of the communication apparatus. With reference to FIG. 11 (refer to other figures as appropriate), a screen example (part 2) displayed on the display unit of the communication apparatus will be described.
図11に示すように、リーダライタ20が更新用プログラムの一部の更新を終えると、通信装置30は、リーダライタ20から機器番号通知レスポンスによって通知された機器番号を表示することとしてもよい。図11に示す例では、(機器番号:1)のリーダライタ20のプログラムが更新された旨が表示されている。
As shown in FIG. 11, when the reader /
また、図11に示すように、リーダライタ20が更新用プログラムの一部または全体の更新を終えると、通信装置30は、リーダライタ20からステータス通知レスポンスによって通知されたステータスを表示することとしてもよい。図11に示す例では、更新用プログラム全体の25%だけプログラムが更新された旨がプログレスバーに表示されている。
As shown in FIG. 11, when the reader /
[11.通信装置の表示部に表示される画面例(その3)]
図12は、通信装置の表示部に表示される画面例(その3)を示す図である。図12を参照して(適宜他の図も参照)、通信装置の表示部に表示される画面例(その3)について説明する。
[11. Example of screen displayed on display unit of communication device (part 3)]
FIG. 12 is a diagram illustrating a screen example (part 3) displayed on the display unit of the communication apparatus. With reference to FIG. 12 (refer to other figures as appropriate), a screen example (part 3) displayed on the display unit of the communication apparatus will be described.
図12に示すように、リーダライタ20が更新用プログラムの全体の更新を終えると、更新用プログラム全体が更新された旨がプログレスバーに表示されている。また、リーダライタ20の電源を再投入すると、更新後のプログラムが有効となり、更新後のプログラムに切り替わる旨の表示をしてもよい。
As shown in FIG. 12, when the reader /
[12.本実施形態による効果]
コントローラ10からのコマンドは運用時に常時使用しているコマンドであり、リーダライタ20と更新用ファームウェアを格納した通信装置30のみでファームウェアの更新が可能である。したがって、コントローラ10側にファームウェア更新用のソフトウェアを用意する必要がなく、コントローラ10のソフトウェアを開発するサービス事業者の開発負担が少ない。
[12. Effects of this embodiment]
The command from the
更新用ファームウェアを通信装置30内に格納して受け渡しすることができるため、輸送時のセキュリティリスクが少ない。また、リーダライタ20以外から更新用ファームウェアデータを読み出すことができないため、ファームウェアの改竄が困難である。
Since the update firmware can be stored in the
[13.本実施形態の変形例]
上記では、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。
[13. Modification of this embodiment]
In the above, preferred embodiments of the present invention have been described with reference to the accompanying drawings. However, it goes without saying that the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
1 通信システム
2 改札機
10 コントローラ
20 リーダライタ
21 アンテナ
22 発振回路
23 変調部
24 復調部
25 記憶部
26 制御部
27 通信インタフェース部
30 通信装置
31 アンテナ
32 操作入力部
33 表示部
34 発振回路
35 変調部
36 電力発生部
37 復調部
38 制御部
39 記憶部
40 運用カード
51c 機器番号
54d 更新用プログラム
55c ステータス
251 RAM
252 不揮発性メモリ
DESCRIPTION OF SYMBOLS 1 Communication system 2
252 Nonvolatile memory
Claims (14)
コントローラとの有線による通信が可能にされた通信インタフェース部と、
情報を記憶することが可能にされた記憶部と、
前記無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、前記アンテナ部を介して送信し、当該ポーリングコマンドに対する応答として更新用プログラムを保持する通信装置から前記無線による通信が可能である旨を示すポーリングレスポンスを、前記アンテナ部を介して受信すると、前記アンテナ部を介して前記更新用プログラムの送信を要求する旨を示す更新コマンドを前記通信装置に送信し、前記通信装置から前記アンテナ部を介して当該更新コマンドに対する応答として当該更新用プログラムを含む更新レスポンスを受信すると、当該更新用プログラムを前記記憶部に格納する制御部と、
を備える、リーダライタ。 An antenna unit capable of wireless communication;
A communication interface unit capable of wired communication with the controller;
A storage unit capable of storing information; and
A polling command indicating whether or not the wireless communication is possible is transmitted via the antenna unit, and the wireless communication is possible from a communication device that holds an update program as a response to the polling command. When a polling response indicating that is received via the antenna unit, an update command indicating that transmission of the update program is requested is transmitted to the communication device via the antenna unit, and the antenna is transmitted from the communication device. When an update response including the update program is received as a response to the update command via the unit, the control unit stores the update program in the storage unit;
A reader / writer.
前記アンテナ部を介して受信したレスポンスに前記更新用プログラムを保持する通信装置を識別できる情報が含まれる場合に、当該レスポンスが前記ポーリングレスポンスであると判断する、
請求項1に記載のリーダライタ。 The controller is
When the response received via the antenna unit includes information that can identify the communication device that holds the update program, the response is determined to be the polling response.
The reader / writer according to claim 1.
前記リーダライタを識別できる番号である機器番号を記憶し、
前記制御部は、
前記ポーリングレスポンスを、前記アンテナ部を介して受信すると、前記アンテナ部を介して前記更新コマンドを前記通信装置に送信する前に、前記アンテナ部を介して前記機器番号を含む機器番号通知コマンドを前記通信装置に送信する、
請求項2に記載のリーダライタ。 The storage unit
Storing a device number which is a number for identifying the reader / writer;
The controller is
When the polling response is received via the antenna unit, the device number notification command including the device number is transmitted via the antenna unit before the update command is transmitted to the communication device via the antenna unit. Send to communication device,
The reader / writer according to claim 2.
前記更新用プログラムの最後の部分を含む更新レスポンスを受信するまで、1または複数の前記通信装置との間で、前記更新コマンドを送信する処理、当該更新コマンドに対する応答として当該更新用プログラムの一部を含む更新レスポンスを受信する処理および当該更新用プログラムの一部を前記記憶部に格納する処理を、この順序で実行する、
請求項2に記載のリーダライタ。 The controller is
Until receiving an update response including the last part of the update program, a process of transmitting the update command to one or a plurality of the communication devices, a part of the update program as a response to the update command A process of receiving an update response including the process of storing a part of the update program in the storage unit in this order,
The reader / writer according to claim 2.
前記ポーリングレスポンスまたは更新レスポンスに、前記更新用プログラムが分割された数を示す分割数が含まれている場合に、当該分割数回目に受信する前記更新レスポンスを前記更新用プログラムの最後の部分を含む更新レスポンスであると判断する、
請求項4に記載のリーダライタ。 The controller is
When the polling response or update response includes a division number indicating the number of divisions of the update program, the update response received at the division number of times includes the last part of the update program Judge that it is an update response,
The reader / writer according to claim 4.
前記更新レスポンスに、前記更新用プログラムの一部の順番を示す値が含まれている場合に、前記更新用プログラムの一部を前記記憶部に格納した後、当該格納した更新用プログラムの順番を示す値を前記分割数で除算した結果をステータスとして含むステータス通知コマンドを、前記アンテナ部を介して前記通信装置に送信する、
請求項5に記載のリーダライタ。 The controller is
When the update response includes a value indicating the order of a part of the update program, after storing a part of the update program in the storage unit, the order of the stored update program is changed. A status notification command including a result obtained by dividing the indicated value by the number of divisions as a status is transmitted to the communication device via the antenna unit;
The reader / writer according to claim 5.
前記更新レスポンスに、前記更新用プログラムの最後の部分である旨を示す情報が含まれている場合に、前記更新用プログラムの最後の部分を含む更新レスポンスであると判断する、
請求項4に記載のリーダライタ。 The controller is
When the update response includes information indicating that it is the last part of the update program, it is determined that the update response includes the last part of the update program.
The reader / writer according to claim 4.
揮発性メモリと、不揮発性メモリとを含んで構成され、
前記制御部は、
前記更新用プログラムの一部を含む更新レスポンスを受信すると、当該更新用プログラムの一部を前記揮発性メモリに格納し、前記更新用プログラムの最後の部分を前記揮発性メモリに格納すると、当該揮発性メモリに格納された更新用プログラムの全部を前記不揮発性メモリに格納する、
請求項5乃至請求項7のいずれかに記載のリーダライタ。 The storage unit
A volatile memory and a nonvolatile memory,
The controller is
When an update response including a part of the update program is received, a part of the update program is stored in the volatile memory, and when the last part of the update program is stored in the volatile memory, the volatile Storing all of the update program stored in the non-volatile memory in the non-volatile memory;
The reader / writer according to claim 5.
前記更新レスポンスに、前記更新用プログラムが分割されている場合における当該更新用プログラムの順番を示す値が含まれている場合に、当該順番通りに当該更新レスポンスを受信しているか否かを判断し、当該順番通りに当該更新レスポンスを受信していないと判断した場合には、その旨を出力する、
請求項4に記載のリーダライタ。 The controller is
When the update response includes a value indicating the order of the update program when the update program is divided, it is determined whether the update response is received in the order. If it is determined that the update response has not been received in that order, a message to that effect is output.
The reader / writer according to claim 4.
前記更新用プログラムを含む更新レスポンスを受信すると、当該更新用プログラムが暗号化されている場合に、当該更新用プログラムを復号化して前記記憶部に格納する、
請求項2に記載のリーダライタ。 The controller is
When receiving an update response including the update program, if the update program is encrypted, the update program is decrypted and stored in the storage unit.
The reader / writer according to claim 2.
前記通信装置から前記ポーリングレスポンスを、前記アンテナ部を介して受信すると、前記コントローラに対するレスポンス信号の返信を制限する
請求項1に記載のリーダライタ。 The controller is
The reader / writer according to claim 1, wherein when the polling response is received from the communication device via the antenna unit, response of the response signal to the controller is limited.
前記無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、前記アンテナ部を介して送信するステップと、
当該ポーリングコマンドに対する応答として更新用プログラムを保持する通信装置から前記無線による通信が可能である旨を示すポーリングレスポンスを、前記アンテナ部を介して受信すると、前記アンテナ部を介して前記更新用プログラムの送信を要求する旨を示す更新コマンドを前記通信装置に送信するステップと、
前記通信装置から前記アンテナ部を介して当該更新コマンドに対する応答として当該更新用プログラムを含む更新レスポンスを受信すると、当該更新用プログラムを前記記憶部に格納するステップと、
を含む、プログラム更新方法。 A reader / writer comprising an antenna unit capable of wireless communication, a communication interface unit capable of wired communication with a controller, a storage unit capable of storing information, and a control unit The control section of
Transmitting a polling command indicating that the wireless communication is possible or not through the antenna unit;
When a polling response indicating that wireless communication is possible is received from the communication device that holds the update program as a response to the polling command via the antenna unit, the update program is updated via the antenna unit. Transmitting an update command indicating requesting transmission to the communication device;
When receiving an update response including the update program as a response to the update command from the communication device via the antenna unit, storing the update program in the storage unit;
A program update method including
前記リーダライタは、
無線による通信が可能にされたアンテナ部と、
コントローラとの有線による通信が可能にされた通信インタフェース部と、
情報を記憶することが可能にされた記憶部と、
前記無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、前記アンテナ部を介して送信し、当該ポーリングコマンドに対する応答として更新用プログラムを保持する前記通信装置から前記無線による通信が可能である旨を示すポーリングレスポンスを、前記アンテナ部を介して受信すると、前記アンテナ部を介して前記更新用プログラムの送信を要求する旨を示す更新コマンドを前記通信装置に送信し、前記通信装置から前記アンテナ部を介して当該更新コマンドに対する応答として当該更新用プログラムを含む更新レスポンスを受信すると、当該更新用プログラムを前記記憶部に格納する制御部と、
を有し、
前記通信装置は、
前記無線による通信が可能にされたアンテナ部と、
前記更新用プログラムを記憶する記憶部と、
前記ポーリングコマンドを、前記アンテナ部を介して受信すると、前記ポーリングレスポンスを、前記アンテナ部を介して送信し、前記アンテナ部を介して前記更新コマンドを前記リーダライタから受信すると、前記アンテナ部を介して前記更新レスポンスを前記リーダライタに送信する制御部と、
を有する、通信システム。 A communication system comprising a reader / writer and a communication device,
The reader / writer is
An antenna unit capable of wireless communication;
A communication interface unit capable of wired communication with the controller;
A storage unit capable of storing information; and
The wireless communication is possible from the communication device that transmits a polling command indicating whether or not the wireless communication is possible through the antenna unit and holds the update program as a response to the polling command. When a polling response indicating that there is received via the antenna unit, an update command indicating that transmission of the update program is requested via the antenna unit is transmitted to the communication device, and the communication device transmits the update command. Upon receiving an update response including the update program as a response to the update command via the antenna unit, a control unit that stores the update program in the storage unit;
Have
The communication device
An antenna unit capable of wireless communication;
A storage unit for storing the update program;
When the polling command is received via the antenna unit, the polling response is transmitted via the antenna unit. When the update command is received from the reader / writer via the antenna unit, the polling response is transmitted via the antenna unit. A control unit for transmitting the update response to the reader / writer,
A communication system.
前記リーダライタの前記制御部が、
前記無線による通信が可能か否かを問い合わせる旨を示すポーリングコマンドを、前記アンテナ部を介して送信するステップと、
前記通信装置の前記制御部が、
前記ポーリングコマンドを、前記アンテナ部を介して受信すると、当該ポーリングコマンドに対する応答として前記無線による通信が可能である旨を示すポーリングレスポンスを、前記アンテナ部を介して送信するステップと、
前記リーダライタの前記制御部が、
前記ポーリングレスポンスを、前記アンテナ部を介して受信すると、前記アンテナ部を介して前記更新用プログラムの送信を要求する旨を示す更新コマンドを前記通信装置に送信するステップと、
前記通信装置の前記制御部が、
前記アンテナ部を介して前記更新コマンドを前記リーダライタから受信すると、前記アンテナ部を介して当該更新コマンドに対する応答として当該更新用プログラムを含む更新レスポンスを前記リーダライタに送信するステップと、
前記リーダライタの前記制御部が、
前記通信装置から前記アンテナ部を介して前記更新レスポンスを受信すると、当該更新用プログラムを前記記憶部に格納するステップと、
を含む、通信方法。 A reader / writer having an antenna unit capable of wireless communication, a communication interface unit capable of wired communication with a controller, a storage unit capable of storing information, and a control unit A communication method using a communication system comprising a communication device having an antenna unit capable of wireless communication, a storage unit storing an update program, and a control unit,
The control unit of the reader / writer is
Transmitting a polling command indicating that the wireless communication is possible or not through the antenna unit;
The control unit of the communication device,
When the polling command is received via the antenna unit, a polling response indicating that wireless communication is possible as a response to the polling command is transmitted via the antenna unit;
The control unit of the reader / writer is
When the polling response is received via the antenna unit, an update command indicating that transmission of the update program is requested via the antenna unit is transmitted to the communication device;
The control unit of the communication device,
When the update command is received from the reader / writer via the antenna unit, an update response including the update program is transmitted to the reader / writer as a response to the update command via the antenna unit;
The control unit of the reader / writer is
When receiving the update response from the communication device via the antenna unit, storing the update program in the storage unit;
Including a communication method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008226028A JP2010061367A (en) | 2008-09-03 | 2008-09-03 | Reader/writer, program update method, communication system and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008226028A JP2010061367A (en) | 2008-09-03 | 2008-09-03 | Reader/writer, program update method, communication system and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010061367A true JP2010061367A (en) | 2010-03-18 |
Family
ID=42188105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008226028A Withdrawn JP2010061367A (en) | 2008-09-03 | 2008-09-03 | Reader/writer, program update method, communication system and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010061367A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012185563A (en) * | 2011-03-03 | 2012-09-27 | Jr East Mechatronics Co Ltd | Reader-writer management system, reader-writer management method, and program |
JP2012216894A (en) * | 2011-03-31 | 2012-11-08 | Miharu Communications Co Ltd | Method of updating software for catv transmission line apparatus and catv transmission line apparatus usable for the same |
JP2016524771A (en) * | 2014-06-27 | 2016-08-18 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Method and device for updating program data |
-
2008
- 2008-09-03 JP JP2008226028A patent/JP2010061367A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012185563A (en) * | 2011-03-03 | 2012-09-27 | Jr East Mechatronics Co Ltd | Reader-writer management system, reader-writer management method, and program |
JP2012216894A (en) * | 2011-03-31 | 2012-11-08 | Miharu Communications Co Ltd | Method of updating software for catv transmission line apparatus and catv transmission line apparatus usable for the same |
JP2016524771A (en) * | 2014-06-27 | 2016-08-18 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Method and device for updating program data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI474645B (en) | Systems and methods for providing nfc secure application support in battery-off mode when no nonvolatile memory write access is available | |
CN101965597B (en) | Method and devices for installing and retrieving linked MIFARE applications | |
US10769284B2 (en) | Information processing apparatus and method, recording medium, and program | |
US10291398B2 (en) | Communication device, communication method, reader/writer, and communication system | |
JP2008262513A (en) | Information processing system, management information processor, and program | |
JP2007034764A (en) | Ic tag, ic tag control method and ic tag system | |
JP2010061367A (en) | Reader/writer, program update method, communication system and communication method | |
JP5467315B2 (en) | Information processing apparatus, information processing method, and program | |
JP5101378B2 (en) | Reader / Writer, Communication Processing Device, Communication Processing Method, Data Management System, and Communication System | |
JP2009059124A (en) | Reader/writer system and reader/writer | |
JP2009070158A (en) | Information processor, software update control method, program, and information processing system | |
KR20080004804A (en) | System and method for authenticating rfid reader(or terminal), secure rfid tag for authenticating rfid reader(or terminal) and recording medium | |
CN109643238A (en) | It is installed via the operating system of RF identification chip | |
JP2006157392A (en) | Information processing apparatus and method, recording medium and communication control program | |
JP4234035B2 (en) | IC tag management system | |
JP4457241B2 (en) | Information processing system, reader / writer, information processing apparatus, access restriction management method, and program | |
CN102043972B (en) | Information processing apparatus, communication apparatus, and program | |
JP2006155189A (en) | Information processing system, device and method for processing information, recording medium, and program | |
JP6947166B2 (en) | Information processing device and information processing method | |
JP4792868B2 (en) | Execution authority delegation system, execution authority delegation method | |
JP2016081117A (en) | Ic card, portable electronic device, and manufacturing method for ic card | |
JP2013225335A (en) | Information processing apparatus, method and program | |
JP5875772B2 (en) | Portable electronic device, control method for portable electronic device, and processing system for portable electronic device | |
JP2008040971A (en) | Information processor, method, and program | |
JP5787692B2 (en) | IC card, portable electronic device, and IC card control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20111206 |