Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3736210B2 - In-vehicle device and card-type storage medium for fee collection system - Google Patents
[go: Go Back, main page]

JP3736210B2 - In-vehicle device and card-type storage medium for fee collection system - Google Patents

In-vehicle device and card-type storage medium for fee collection system Download PDF

Info

Publication number
JP3736210B2
JP3736210B2 JP18472999A JP18472999A JP3736210B2 JP 3736210 B2 JP3736210 B2 JP 3736210B2 JP 18472999 A JP18472999 A JP 18472999A JP 18472999 A JP18472999 A JP 18472999A JP 3736210 B2 JP3736210 B2 JP 3736210B2
Authority
JP
Japan
Prior art keywords
card
vehicle device
data
storage medium
type storage
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
JP18472999A
Other languages
Japanese (ja)
Other versions
JP2001014501A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP18472999A priority Critical patent/JP3736210B2/en
Publication of JP2001014501A publication Critical patent/JP2001014501A/en
Application granted granted Critical
Publication of JP3736210B2 publication Critical patent/JP3736210B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、高度道路交通システム(Intelligent Transport Systems:ITS)の一環である料金徴収システムの車載機及びカード型記憶媒体であって、車載機メーカが車載機の動作テストを行った後、車載機の初期設定情報であるセットアップデータを消去して車載機を初期化状態にするためのシステムに関する。
【0002】
【従来の技術】
渋滞緩和、利用者サービスの向上、運用コスト削減等の目的から、高度道路交通システム(Intelligent Transport Systems:ITS)の実現に向けて開発が行われている。このITSの一環として、路上に設置された路上機と車両に設置された車載機との間で路車間通信を行い、利用料金を徴収する料金徴収システムが検討されている。
これは入口、出口等のゲートに配置された路上機と通行車側に設置された車載機との間で通信を行い利用料金を徴収するというものである。
車載機はICカード処理機能を持っており、利用者は料金徴収システムのアプリケーションを搭載したICカードを用いて、サービスが利用できる。
【0003】
本システムを開発するうえで、開発者が特に注意を払わなければならないのは、不正利用対策である。これまで有人の料金所で行ってきた料金徴収処理は、無人の料金所システムで処理することになる。また、サービス利用に関する情報は、電子的なデータでやりとりされる。そのため、データの盗聴や改ざんによる不正行為には注意して対策しなければならない。
有料道路での通行車両に対する課金は、車両の大きさ(普通乗用車や大型車等)による違いや通行区間等により異なる。また、課金情報は電子的なデータとして処理される。このため通行車両の車載機には、車載機固有の情報、通信データの暗復号のための情報等が予め必要である。サービスを利用するためには、それらセキュリティ性の高い情報(データ)をセットアップデータとして車載機に初期登録しておく必要がある。
【0004】
しかしながら、車載機製造時に予めセットアップデータを登録することは、セキュリティ上問題がある。セットアップデータはセキュリティ性の高いものであるため、利用者自身が車載機へセットアップデータを登録するのが望ましく現実的である。
このセットアップデータの登録方法については、その専用機能を持つICカードが媒体となる。一旦車載機に正常登録したセットアップデータは、利用者自ら再登録は出来ない。
先ず、一度セットアップデータの登録に使用したICカードは、セットアップデータ格納領域が閉塞されるため、利用者自身ではそのセットアップデータを読み出すことができない。
更に、車載機内部には、セットアップデータが登録されているか否かを判別するためのフラグ(以下、セットアップフラグと呼ぶ)がある。もし、セットアップデータを再登録しようとしても、セットアップデータが既に登録されているということをセットアップフラグが示していれば、車載機はセットアップデータの再登録を拒否する仕組みである。
【0005】
【発明が解決しようとする課題】
車載機メーカでは、製造した車載機を出荷前に動作テストする必要がある。車載機メーカにおいて車載機の動作テストを行う際には、テスト用にセットアップデータを車載機に登録してテストを行わなければならない。更に、動作テストを行った車載機を出荷するためには、テスト終了後にテスト用に登録したセットアップデータを消去し、車載機を初期化した状態にしなければならない。
【0006】
しかしながら、この車載機メーカでのセットアップデータの取り扱いについては未だ、公的な規定はない。
単純な考えとしては、セットアップデータを初期化するためには、セットアップデータを初期化データで上書きすればよい。しかし、その場合、セットアップフラグはセットアップデータが登録されていることを示しているため、その状態では上書きは出来ない。
また、セットアップデータを初期化データで上書き出来たとしても、データを書き込むという処理のみに対してセットアップフラグが制御されていれば、セットアップフラグは変化せず、セットアップデータが登録されているということを示したままという可能性がある。
【0007】
本発明での目的は、車載機メーカ内で車載機にセットアップデータを登録して動作テストを行った後に、セットアップデータを消去し、セットアップフラグがセットアップデータが登録されていないことを示すようにすること、即ち車載機を初期化できるようにすることである。
【0008】
【課題を解決するための手段】
上記目的は、
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するための第一の記憶エリアと、
第一の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納する第二の記憶エリアとを設け、
装着されたカード型記憶媒体に格納されている情報の種別を識別するカード内格納情報識別手段と、
第二の記憶エリアの状態、及びカード内格納情報識別手段の結果により、カード型記憶媒体からデータを読み出すかどうかを決定し、第一の記憶エリアへデータを書き込むためのデータ制御手段と、
データ制御手段の結果により、第二の記憶エリアの制御をするフラグ制御手段とを設け、
更に、路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納する第三の記憶エリアと、
初期化データを格納していることを示す情報を格納する第四の記憶エリアとを設け、
また、セットアップデータの初期化を不用意に行わないために、
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するための第八の記憶エリアと、
第八の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納する第九の記憶エリアとを設け、
装着されたカード型記憶媒体に格納されている情報の種別を識別するカード内格納情報識別手段と、
装着されたカード型記憶媒体に格納されたデータに対するアクセスを可能とするか否かを決定するための符号照合を制御する符号照合制御手段と、
第九の記憶エリアの状態、及びカード内格納情報識別手段の結果により、カード型記憶媒体から特定のデータを読み出すかどうかを決定し、符号照合制御手段の結果により、カード型記憶媒体から読み出したデータを第八の記憶エリアへ書き込むためのデータ制御手段と、
データ制御手段の結果により、第九の記憶エリアの制御をするフラグ制御手段とを設け、
更に、路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納する第十の記憶エリアと、
第十の記憶エリアに格納されたデータに対し、車載機からのアクセスが可能か否かを決定するために行う符号照合に用いる初期化符号を格納する第十一の記憶エリアと、
初期化データをカード型記憶媒体に格納していることを示す情報を格納する第十二の記憶エリアとを設けることにより達成される。
【0009】
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
第一の記憶エリアは、車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するように動作し、
第二の記憶エリアは、第一の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納するように動作し、
カード内格納情報識別手段は、装着されたカード型記憶媒体に格納されている情報の種別を識別するように動作し、
データ制御手段は、第二の記憶エリアの状態、及びカード内格納情報識別手段の結果により、カード型記憶媒体からデータを読み出すかどうかを決定し、第一の記憶エリアへデータを書き込むように動作し、
フラグ制御手段は、データ制御手段の結果により、第二の記憶エリアの制御をするように動作し、
更に、路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
第三の記憶エリアは、車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納するように動作し、
第四の記憶エリアは、初期化データを格納していることを示す情報を格納するように動作し、
また、セットアップデータの初期化を不用意に行わないために、
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
第八の記憶エリアは、車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するように動作し、
第九の記憶エリアは、第八の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納するように動作し、
カード内格納情報識別手段は、装着されたカード型記憶媒体に格納されている情報の種別を識別するように動作し、
符号照合制御手段は、装着されたカード型記憶媒体に格納されたデータに対するアクセスを可能とするか否かを決定するための符号照合を制御するように動作し、
データ制御手段は、第九の記憶エリアの状態、及びカード内格納情報識別手段の結果により、カード型記憶媒体から特定のデータを読み出すかどうかを決定し、符号照合制御手段の結果により、カード型記憶媒体から読み出したデータを第八の記憶エリアへ書き込むように動作し、
フラグ制御手段は、データ制御手段の結果により、第九の記憶エリアの制御をするように動作し、
更に、路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
第十の記憶エリアは、車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納するように動作し、
第十一の記憶エリアは、第十の記憶エリアに格納されたデータに対し、車載機からのアクセスが可能か否かを決定するために行う符号照合に用いる初期化符号を格納するように動作し、
第十二の記憶エリアは、初期化データをカード型記憶媒体に格納していることを示す情報を格納するように動作する。
【0010】
【発明の実施の形態】
図1は本発明による料金徴収システムの車載機及びカード型記憶媒体の第一の実施例の構成を示すブロック図である。
1は車載機、2はカード型記憶媒体、3は記憶メモリ、4は車載機セットアップデータ記憶設定領域、5はセットアップフラグ、6は車載機側制御部、10はカード検出部、11は車載機側I/F、12はカード側I/F、13はカード側制御部、14は記憶メモリ、15は車載機初期化データ、16はカード内格納情報、37は全体制御部、38はカード内格納情報識別部、39は書き込み制御部、40はフラグ制御部である。
【0011】
次に各部の動作を説明する。車載機1は料金徴収システムにおいて路車間通信により提供される課金サービスを利用するために自動車に搭載される。また、車載機1は車載機メーカにおいて製造され、出荷する前に動作テストが行われる。そのため予めテスト用に必要な初期設定情報、即ちセットアップデータが車載機セットアップデータ記憶設定領域4に登録されているものとする。
カード型記憶媒体2は車載機1に装着され使用される。また、カード型記憶媒体2は、車載機1に登録されたセットアップデータを書き換えるための車載機初期化データ15、及び、カード型記憶媒体2内に車載機初期化データ15が存在することを示す情報であるカード内格納情報16とを格納している。
記憶メモリ3は車載機セットアップデータ記憶設定領域4及びセットアップフラグ5を含み、電源供給が遮断しても記憶されているデータは消えない構造となっている。
車載機セットアップデータ記憶設定領域4は通常、車載機1を使用するうえで初期設定情報として必要なセットアップデータを格納する領域であり、またカード型記憶媒体2から読み込んだ車載機初期化データ15でセットアップデータを書き換える領域でもある。
【0012】
セットアップフラグ5は車載機セットアップデータ記憶設定領域4にセットアップデータが記憶されている場合に、それを示す状態(例えば"1")となり、セットアップデータが記憶されていない場合に、それを示す状態(例えば"0")となる。
【0013】
車載機側制御部6は少なくとも、全体制御部37、カード内格納情報識別部38、書き込み制御部39、フラグ制御部40を含み、全体制御部37が車載機側制御部6の全体制御を行う。
全体制御部37は、車載機側動作の全体を制御し、例えば全体を制御するためのCPUであってもよい。
【0014】
カード内格納情報識別部38は、全体制御部37がカード型記憶媒体2から読み込んだカード内格納情報16から、カード型記憶媒体2に格納された情報の種別を識別する。
書き込み制御部39は、全体制御部37がセットアップフラグ5の状態及びカード内格納情報識別部38の動作結果から判断して、カード型記憶媒体2から読み出した車載機初期化データ15を、車載機セットアップデータ記憶設定領域4に書き込むように動作する。
フラグ制御部40は、書き込み制御部39の動作結果により、セットアップフラグ5の状態を制御する。
ここで、カード内格納情報識別部38、書き込み制御部39、及びフラグ制御部40は、例えば全体制御部37上で動作するソフトウエアプログラムであってもよい。
【0015】
カード検出部10は、カード型記憶媒体2が車載機1に装着されたことを検出し、全体制御部37に知らせる。
【0016】
車載機側I/F11は装着される様々なカード型記憶媒体やカード型記憶媒体2に対する車載機1側のインターフェイスを構成し、データI/O端子、電源端子、GND端子、リセット端子等を含む。
カード側I/F12は車載機1に対するカード型記憶媒体2側のインターフェイスを構成し、車載機側I/F11に対応してデータI/O端子、電源端子、GND端子、リセット端子等を含む。
カード側制御部13は、車載機1からの命令に従い、カード型記憶媒体2内の制御を行う。
記憶メモリ14は、車載機初期化データ15及びカード内格納情報16を含み、カード型記憶媒体2への電源が遮断されても消えない構造となっている。
【0017】
車載機初期化データ15はセットアップデータを書き換えるデータである。
【0018】
カード内格納情報16はカード型記憶媒体2内にどのようなデータが格納されているかを示す情報である。
【0019】
続いて全体の動作説明をする。車載機メーカにおいて車載機を製造し、出荷前の動作テストを行うためには、通常はユーザが行うべきセットアップデータの登録をテスト用に車載機メーカ側で行わなければならない。また、動作テスト終了後はセットアップデータを消去して初期化状態にする必要がある。本発明による第一の実施例では、動作テスト用にセットアップデータが既に登録してある車載機を初期化状態にする手段を示す。
【0020】
カード型記憶媒体2が車載機1に装着されると、車載機側I/F11とカード側I/F12が接続され、カード検出部10はカード型記憶媒体2が装着されたことを検出して全体制御部37に信号を送る。
全体制御部37は車載機側I/F11を通じてカード型記憶媒体2を活性化し、カード内格納情報16を読み出す。
全体制御部37はセットアップフラグ5の状態から、車載機セットアップデータ記憶設定領域4に既にセットアップデータが登録されていることを認識する。
【0021】
また、全体制御部37は、カード型記憶媒体2から、カード内格納情報16を読み出す。読み出されたカード内格納情報16は、カード内格納情報識別部38により解析され、その結果により、全体制御部37は、カード型記憶媒体2が車載機初期化データ15を含むことを知る。
【0022】
車載機セットアップデータ記憶設定領域4にセットアップデータが登録されていること、及び装着されたカード型記憶媒体2が初期化データを含むこと、という条件がそろったとき、全体制御部37はセットアップデータ記憶設定領域4を初期化するための動作を開始する。
全体制御部37は、カード型記憶媒体2に格納された車載機初期化データ15を読み出し、書き込み制御部39の制御により、車載機セットアップデータ記憶設定領域4に車載機初期化データ15の書き込み動作を行う。この動作により、車載機セットアップデータ記憶設定領域4に記憶されていたセットアップデータは初期化データ15に全て書き換えられる。
【0023】
車載機セットアップデータ記憶設定領域4への車載機初期化データ15の書き込みが全て正常に終了すると、全体制御部37は、フラグ制御部40に対して、車載機初期化データ15の書き込みが正常に終了したことを通知する。
フラグ制御部40は、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すようにする。
以上の動作により、車載機1の初期化は正常に終了する。
【0024】
本実施例によれば、車載機1のセットアップフラグ5の状態、及びカード内格納情報識別部38によるカード型記憶媒体2内のデータ格納情報により、車載機1はカード型記憶媒体2を初期化カードであると認識し、カード型記憶媒体2から車載機初期化データ15を読み出して、車載機セットアップデータ記憶設定領域4に書き込みを行うことができる。さらに、車載機初期化データ15を車載機セットアップデータ記憶設定領域4に書き込んだ場合のみ、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すように変更することができる。
【0025】
図2は本発明による料金徴収システムの車載機及びカード型記憶媒体の第二の実施例の構成を示すブロック図である。
1は車載機、2はカード型記憶媒体、3は記憶メモリ、4は車載機セットアップデータ記憶設定領域、5はセットアップフラグ、6は車載機側制御部、7はカード内格納情報識別部、8はフラグ制御部、9はデータ制御部、10はカード検出部、11は車載機側I/F、12はカード側I/F、13はカード側制御部、14は記憶メモリ、15は車載機初期化データ、16はカード内格納情報である。
【0026】
次に各部の動作を説明する。車載機1は料金徴収システムにおいて路車間通信により提供される課金サービスを利用するために自動車に搭載される。また、車載機1は車載機メーカにおいて製造され、出荷する前に動作テストが行われる。そのため予めテスト用に必要な初期設定情報、即ちセットアップデータが車載機セットアップデータ記憶設定領域4に登録されているものとする。
カード型記憶媒体2は車載機1に装着され使用される。また、カード型記憶媒体2は、車載機1に登録されたセットアップデータを書き換えるための車載機初期化データ15、及び、カード型記憶媒体2内に車載機初期化データ15が存在することを示す情報であるカード内格納情報16とを格納している。
記憶メモリ3は車載機セットアップデータ記憶設定領域4及びセットアップフラグ5を含み、電源供給が遮断しても記憶されているデータは消えない構造となっている。
【0027】
車載機セットアップデータ記憶設定領域4は通常、車載機1を使用するうえで初期設定情報として必要なセットアップデータを格納する領域であり、またカード型記憶媒体2から読み込んだ車載機初期化データ15でセットアップデータを書き換える領域でもある。
セットアップフラグ5は車載機セットアップデータ記憶設定領域4にセットアップデータが記憶されている場合に、それを示す状態(例えば"1")となり、セットアップデータが記憶されていない場合に、それを示す状態(例えば"0")となる。
車載機側制御部6は少なくとも、カード内格納情報識別部7、フラグ制御部8、及びデータ制御部9を含み、車載機1の動作全体の制御を行う。
カード内格納情報識別部7は、カード型記憶媒体2から読み込んだカード内格納情報16から、カード型記憶媒体2に格納された情報の種別を識別する。
フラグ制御部8は、セットアップフラグ5の状態をデータ制御部9に伝達したり、セットアップフラグ5の状態を、データ制御部9からの命令で変化させる。
データ制御部9は、カード型記憶媒体2との間の通信データの制御、及び、車載機セットアップデータ記憶設定領域4を始めとする車載機1内部のメモリに対するデータの制御を行う。
【0028】
カード検出部10は、カード型記憶媒体2が車載機1に装着されたことを検出し、車載機側制御部6に知らせる。
車載機側I/F11は装着される様々なカード型記憶媒体やカード型記憶媒体2に対する車載機1側のインターフェイスを構成し、データI/O端子、電源端子、GND端子、リセット端子等を含む。
カード側I/F12は車載機1に対するカード型記憶媒体2側のインターフェイスを構成し、車載機側I/F11に対応してデータI/O端子、電源端子、GND端子、リセット端子等を含む。
カード側制御部13は、車載機1からの命令に従い、カード型記憶媒体2内の制御を行う。
記憶メモリ14は、車載機初期化データ15及びカード内格納情報16を含み、カード型記憶媒体2への電源が遮断されても消えない構造となっている。
車載機初期化データ15はセットアップデータを書き換えるデータである。
カード内格納情報16はカード型記憶媒体2内にどのようなデータが格納されているかを示す情報である。
【0029】
続いて全体の動作説明をする。車載機メーカにおいて車載機を製造し、出荷前の動作テストを行うためには、通常はユーザが行うべきセットアップデータの登録をテスト用に車載機メーカ側で行わなければならない。また、動作テスト終了後はセットアップデータを消去して初期化状態にする必要がある。本発明による第二の実施例では、動作テスト用にセットアップデータが既に登録してある車載機を初期化状態にする手段を示す。
【0030】
カード型記憶媒体2が車載機1に装着されると、車載機側I/F11とカード側I/F12が接続され、カード検出部10はカード型記憶媒体2が装着されたことを検出して車載機側制御部6に信号を送る。
車載機側制御部6はカード型記憶媒体2を活性化し、カード内格納情報16を読み出す。
データ制御部9はセットアップフラグ5の状態から、車載機セットアップデータ記憶設定領域4に既にセットアップデータが登録されていることを認識する。また、カード内格納情報16により、カード型記憶媒体2が初期化データを含むことを知るのでカード型記憶媒体2を初期化カードと認識する。
【0031】
車載機セットアップデータ記憶設定領域4にセットアップデータが登録されていること、及び装着されたカード型記憶媒体2が初期化データを含むこと、という条件がそろったとき、車載機1はセットアップデータ記憶設定領域4を初期化するための動作を開始する。
データ制御部9は、カード型記憶媒体2に格納された車載機初期化データ15を読み出し、車載機セットアップデータ記憶設定領域4に書き込み動作を行う。この動作により、車載機セットアップデータ記憶設定領域4に記憶されていたセットアップデータは初期化データ15により全て書き換えられる。
車載機セットアップデータ記憶設定領域4への車載機初期化データ15の書き込みが全て正常に終了すると、データ制御部9は、フラグ制御部8に対して、車載機初期化データ15の書き込みが正常に終了したことを通知する。
フラグ制御部8は、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すようにする。
【0032】
以上の動作により、車載機1の初期化は正常に終了する。
本実施例によれば、車載機1のセットアップフラグ5の状態、及びカード内格納情報16の情報により、車載機1はカード型記憶媒体2を初期化カードであると認識し、カード型記憶媒体2から車載機初期化データ15を読み出して、車載機セットアップデータ記憶設定領域4に書き込みを行うことができる。さらに、車載機初期化データ15を車載機セットアップデータ記憶設定領域4に書き込んだ場合のみ、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すように変更することができる。
【0033】
図3は本発明による料金徴収システムの車載機及びカード型記憶媒体の第三の実施例の構成を示すブロック図である。
1は車載機であり、内部の構成要素は図2のものと同じである。
2はカード型記憶媒体であり、図2のものと異なるのは、記憶メモリ14内に車載機初期化データ15、カード内格納情報16の他に車載機セットアップデータ17を含むことである。
車載機セットアップデータ17は車載機セットアップデータ記憶設定領域4に書き込むべきセットアップデータである。
【0034】
続いて全体動作の説明をする。第二の実施例と異なり、最初は車載機1の車載機セットアップデータ記憶設定領域4にはセットアップデータは書き込まれておらず、セットアップフラグ5もそのことを示すよう設定されている。即ち、第三の実施例では、車載機メーカにおいて、車載機に対し、動作テスト用にセットアップデータを登録し、動作テスト終了後に初期化する手段を示すものである。
カード型記憶媒体2が車載機1に装着されると、車載機側I/F11とカード側I/F12が接続され、カード検出部10はカード型記憶媒体2が装着されたことを検出して車載機側制御部6に信号を送る。
車載機側制御部6はカード型記憶媒体2を活性化し、カード内格納情報16を読み出す。
データ制御部9はセットアップフラグ5の状態から、車載機セットアップデータ記憶設定領域4は初期化状態であると認識する。また、カード内格納情報16により、カード型記憶媒体2がセットアップデータを含むことを知るのでカード型記憶媒体2をセットアップカードと認識する。
【0035】
車載機セットアップデータ記憶設定領域4は初期化されていること、及び装着されたカード型記憶媒体2がセットアップデータを含むこと、という条件がそろったとき、車載機1はセットアップデータ記憶設定領域4にセットアップデータを登録するための動作を開始する。
データ制御部9は、カード型記憶媒体2に格納された車載機セットアップデータ17を読み出し、車載機セットアップデータ記憶設定領域4に書き込み動作を行う。
車載機セットアップデータ記憶設定領域4への車載機セットアップデータ17の書き込みが全て正常に終了すると、データ制御部9は、フラグ制御部8に対して、車載機セットアップデータ17の書き込みが正常に終了したことを通知する。
フラグ制御部8は、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4にセットアップデータが登録されていることを示すようにする。
以上の動作により、車載機1へのセットアップデータの登録は正常に終了する。
【0036】
続いて、車載機メーカでの動作テスト終了後、車載機1を初期化する場合の実施例を説明する。
図3において、車載機セットアップデータ記憶設定領域4へのセットアップデータの登録が既に行われている状態で、カード型記憶媒体2が車載機1に装着されると、本発明の第二の実施例と同じ動作により、車載機1の初期化を行うことが出来る。
本実施例によれば、車載機メーカでの車載機の動作テストにおいて、カード型記憶媒体2のように車載機のセットアップカードと初期化カードの機能を併せ持つ媒体を用いて、それぞれのカードの機能を自動的に使い分けることができるため、動作テスト用にセットアップカードと初期化カードを別々に用意せずに済み、コストの節減を図ることができる。
【0037】
図4は、本発明による料金徴収システムの車載機及びカード型記憶媒体の第四の実施例の構成を示すブロック図である。
1は車載機であり、内部の構成要素は、図2或いは図3のものに加え、PIN入力部18及び符号照合制御部19を含む。
2はカード型記憶媒体であり、内部の構成要素は、図2のものに加え、記憶メモリ14内に、車載機初期化データ15、カード内格納情報16の他に初期化符号20を含むことである。
PIN入力部18は、車載機1の外部インタフェースであり、車載機1を操作する者が直接PIN(Personal Identification Number)を入力する。これは、例えば10キーを装備したキーボードや或いはその他の手段であってもよい。
【0038】
符号照合制御部19は、PIN入力部18から入力されたPINと、カード型記憶媒体2に格納された初期化符号20との符号照合を制御する。
初期化符号20は、車載機初期化データ15に対する車載機1からのアクセスを可能とするか否かを決定する符号照合に用いる符号である。
【0039】
続いて全体動作の説明をする。車載機メーカにおいて車載機を製造し、出荷前の動作テストを行うためには、通常はユーザが行うべきセットアップデータの登録をテスト用に車載機メーカ側で行わなければならない。また、動作テスト終了後はセットアップデータを消去して初期化状態にする必要がある。本発明による第四の実施例では、本発明による第一、及び第二の実施例と同じく、動作テスト用にセットアップデータが既に登録してある車載機を初期化状態にする手段を示す。
【0040】
カード型記憶媒体2が車載機1に装着されると、車載機側I/F11とカード側I/F12が接続され、カード検出部10はカード型記憶媒体2が装着されたことを検出して車載機側制御部6に信号を送る。
車載機側制御部6はカード型記憶媒体2を活性化し、カード内格納情報16を読み出す。
データ制御部9はセットアップフラグ5の状態から、車載機セットアップデータ記憶設定領域4に既にセットアップデータが登録されていることを認識する。また、カード内格納情報16により、カード型記憶媒体2が初期化データを含むことを知るのでカード型記憶媒体2を初期化カードと認識する。
【0041】
車載機セットアップデータ記憶設定領域4にセットアップデータが登録されていること、及び装着されたカード型記憶媒体2が初期化データを含むこと、という条件がそろったとき、車載機1はセットアップデータ記憶設定領域4を初期化するための動作を開始する。
PIN入力部18は入力可能な状態となり、操作者はPIN入力部18よりPINを入力する。符号照合制御部19は、入力されたPINを、カード型記憶媒体2に格納された初期化符号20とカード型記憶媒体2内で符号照合するようコマンドを発行し、カード側制御部13は、コマンドと共に入力されたPINと、初期化符号20との符号照合をし、その結果を車載機1に通知する。符号照合の結果が一致であった場合、車載機初期化データ15に対するアクセスは車載機1から可能となり、データ制御部9は、カード型記憶媒体2に格納された車載機初期化データ15を読み出して、車載機セットアップデータ記憶設定領域4に書き込み動作を行う。この動作により、車載機セットアップデータ記憶設定領域4に記憶されていたセットアップデータは初期化データ15により全て書き換えられる。
【0042】
符号照合の結果が、ある一定試行回数以上、全て不一致であった場合、車載機1は処理を中断する。
車載機セットアップデータ記憶設定領域4への車載機初期化データ15の書き込みが全て正常に終了すると、データ制御部9は、フラグ制御部8に対して、車載機初期化データ15の書き込みが正常に終了したことを通知する。
フラグ制御部8は、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すようにする。
以上の動作により、車載機1の初期化は正常に終了する。
【0043】
本実施例によれば、車載機1のセットアップフラグ5の状態、及びカード内格納情報16の情報により、車載機1はカード型記憶媒体2を初期化カードであると認識し、カード型記憶媒体2から車載機初期化データ15を読み出して、車載機セットアップデータ記憶設定領域4に書き込みを行うことができる。さらに、車載機初期化データ15を車載機セットアップデータ記憶設定領域4に書き込んだ場合のみ、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4が初期化されていることを示すように変更することができる。
また、PIN入力手段により、不用意な車載機の初期化を防ぐことが可能である。
【0044】
図5は本発明による料金徴収システムの車載機及びカード型記憶媒体の第五の実施例の構成を示すブロック図である。
1は車載機であり、内部の構成要素は図4のものと同じである。
2はカード型記憶媒体であり、図4のものと異なるのは、記憶メモリ14内に車載機初期化データ15、カード内格納情報16、初期化符号20の他に車載機セットアップデータ17、及びセットアップ符号21を含むことである。
車載機セットアップデータ17は車載機セットアップデータ記憶設定領域4に書き込むべきセットアップデータである。
セットアップ符号21は、車載機セットアップデータ17に対する車載機1からのアクセスを可能とするか否かを決定する符号照合に用いる符号である。
【0045】
続いて全体動作の説明をする。本実施例では、最初、車載機1の車載機セットアップデータ記憶設定領域4にはセットアップデータは書き込まれておらず、セットアップフラグ5もそのことを示すよう設定されている。即ち、第五の実施例では、車載機メーカにおいて、車載機に対し、動作テスト用にセットアップデータを登録し、動作テスト終了後に初期化する手段を示すものである。
カード型記憶媒体2が車載機1に装着されると、車載機側I/F11とカード側I/F12が接続され、カード検出部10はカード型記憶媒体2が装着されたことを検出して車載機側制御部6に信号を送る。
車載機側制御部6はカード型記憶媒体2を活性化し、カード内格納情報16を読み出す。
データ制御部9はセットアップフラグ5の状態から、車載機セットアップデータ記憶設定領域4は初期化状態であると認識する。また、カード内格納情報16により、カード型記憶媒体2がセットアップデータを含むことを知るのでカード型記憶媒体2をセットアップカードと認識する。
【0046】
車載機セットアップデータ記憶設定領域4は初期化されていること、及び装着されたカード型記憶媒体2がセットアップデータを含むこと、という条件がそろったとき、車載機1はセットアップデータ記憶設定領域4にセットアップデータを登録するための動作を開始する。
PIN入力部18は入力可能な状態となり、操作者はPIN入力部18よりPINを入力する。符号照合制御部19は、入力されたPINを、カード型記憶媒体2に格納されたセットアップ符号21とカード型記憶媒体2内で符号照合するようコマンドを発行し、カード側制御部13は、コマンドと共に入力されたPINと、セットアップ符号21との符号照合をし、その結果を車載機1に通知する。符号照合の結果が一致であった場合、車載機セットアップデータ17に対するアクセスは車載機1から可能となり、データ制御部9は、カード型記憶媒体2に格納された車載機セットアップデータ17を読み出して、車載機セットアップデータ記憶設定領域4に書き込み動作を行う。
【0047】
符号照合の結果が、ある一定試行回数以上、全て不一致であった場合、車載機1は処理を中断する。
車載機セットアップデータ記憶設定領域4への車載機セットアップデータ17の書き込みが全て正常に終了すると、データ制御部9は、フラグ制御部8に対して、車載機セットアップデータ17の書き込みが正常に終了したことを通知する。
フラグ制御部8は、セットアップフラグ5を、車載機セットアップデータ記憶設定領域4にセットアップデータが登録されていることを示すようにする。
以上の動作により、車載機1へのセットアップデータの登録は正常に終了する。
【0048】
続いて、車載機メーカでの動作テスト終了後、車載機1を初期化する場合の実施例を説明する。
図5において、車載機セットアップデータ記憶設定領域4へのセットアップデータの登録が既に行われている状態で、カード型記憶媒体2が車載機1に装着されると、本発明の第四の実施例と同じ動作により、車載機1の初期化を行うことが出来る。
【0049】
本実施例によれば、車載機メーカでの車載機の動作テストにおいて、カード型記憶媒体2のように車載機のセットアップカードと初期化カードの機能を併せ持つ媒体を用いて、それぞれのカードの機能を自動的に使い分けることができるため、動作テスト用にセットアップカードと初期化カードを別々に用意せずに済み、コストの節減を図ることができる。
また、PIN入力手段により、不用意な車載機の初期化やセットアップを防ぐことが可能である。
【0050】
図6は本発明の第四の実施例及び第五の実施例に適用されるフローである。22及び23で示されるPIN入力、照合処理を外せば、本発明の第一の実施例、第二の実施例、及び第三の実施例に適用することができる。
また、図7は本発明の第四の実施例に示されるようなカード型記憶媒体、即ち初期化専用のカードにおける格納データのファイル構造の例を示すものである。
なお、初期化符号27を外せば、本発明の第一の実施例、及び第二の実施例にも適用することができる。
24はMF(マスターファイル)、25はカード内格納情報、26は初期化DF、27は初期化符号、28は初期化データである。
MF24は、国際標準規格ISO/IEC7816-4で規定されるように、カード内の全てのファイルの根幹となる。
カード内格納情報25はカード内にどのようなアプリケーションデータがあるのかを示す情報ファイルである。例えば、そのデータ内容は初期化DF26に割り当てられたAID(アプリケーションID)やアプリケーションラベル等のDF(専用ファイル)を車載機が識別できるものであればよい。
【0051】
初期化DF26は、車載機の初期化に関するデータを含むDFであり、初期化符号27及び初期化データ28を含む。
初期化符号27は、初期化データ28に対するアクセス権を獲得するための符号照合に使用される符号である。例えば、車載機から符号照合コマンドと共に送られてきたPINをICカードは初期化符号27と符号照合し、照合結果が一致であれば、車載機からの初期化データ28へのアクセスが可能となる。
初期化データ28はここでは、初期化データAから初期化データEまでの五つのファイルから構成され、これらの初期化データによって、車載機に登録されているセットアップデータは全て書き換えられる。また、初期化データ28は、料金徴収システムに関わる全てに対し、意味を持たないデータ内容とする。
【0052】
図8は本発明の第五の実施例に示されるようなカード型記憶媒体、即ち初期化データとセットアップデータを含むカードにおける格納データのファイル構造の例を示すものである。
なお、セットアップ符号32及び初期化符号35を外せば、本発明の第三の実施例に適用することができる。
29はMF(マスターファイル)、30はカード内格納情報、31はセットアップDF、32はセットアップ符号、33はセットアップデータ、34は初期化DF、35は初期化符号、36は初期化データである。
MF29は、図7の例と同じく、カード内の全てのファイルの根幹となる。
カード内格納情報30は、カード内に存在するDF、即ちセットアップDF 31と初期化DF34が存在することを示す。
【0053】
セットアップDF31は、車載機へのセットアップデータを含むDFである。
セットアップ符号32は、セットアップデータ33に対するアクセス権を獲得するための符号照合に使用される符号である。例えば車載機から符号照合コマンドと共に送られてきたPINをICカードはセットアップ符号32と符号照合し、照合結果が一致であれば、車載機からのセットアップデータ33へのアクセスが可能となる。
セットアップデータ33は、動作テスト用に車載機にセットアップされるデータである。
初期化DF35は、図7の例と同じく車載機の初期化に関するデータを含むDFであり、初期化符号35及び初期化データ36を含む。
初期化符号35は、初期化データ36に対するアクセス権を獲得するための符号照合に使用される符号である。
初期化データ36は、ここでは、初期化データAから初期化データEまでの五つのファイルから構成され、これらの初期化データによって、車載機に登録されているセットアップデータは全て書き換えられる。また、初期化データ36は、料金徴収システムに関わる全てに対し、意味を持たないデータ内容とする。
【0054】
図7及び図8においては、初期化データ或いはセットアップデータはそれぞれ5つのファイルから構成される例を示している。このファイルの数、或いはICカードでのデータの格納方法については、車載機に確実にセットアップデータが登録できるもの、或いは、車載機に登録されているセットアップデータが確実に初期化データにより書換えられるものであれば、他の数のファイルで構成されてもよい。
【0055】
【発明の効果】
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機の動作テストを行う際に、
車載機が、内部にセットアップデータが登録さているかどうかを示すフラグと、装着されたカード型記憶媒体内のデータ格納情報とを参照することにより、
動作テスト用に登録されたセットアップデータを書き換えて初期化するか、或いは、
セットアップデータが登録されていない車載機にセットアップデータを登録するかを決定することができる。
また、セットアップデータと初期化データを一枚のカード型記憶媒体に格納することにより、セットアップカードと初期化カードを別々につくるよりも、カードの製造コストを削減できる。
【図面の簡単な説明】
【図1】本発明による料金徴収システムの車載機及びカード型記憶媒体の第一の実施例の全体構成を示すブロック図。
【図2】本発明による料金徴収システムの車載機及びカード型記憶媒体の第二の実施例の全体構成を示すブロック図。
【図3】本発明による料金徴収システムの車載機及びカード型記憶媒体の第三の実施例の全体構成を示すブロック図。
【図4】本発明による料金徴収システムの車載機及びカード型記憶媒体の第四の実施例の全体構成を示すブロック図。
【図5】本発明による料金徴収システムの車載機及びカード型記憶媒体の第五の実施例の全体構成を示すブロック図。
【図6】本発明による料金徴収システムの車載機及びカード型記憶媒体の第四及び第五の実施例の全体動作のフロー。
【図7】本発明による料金徴収システムの車載機及びカード型記憶媒体の第四の実施例で示されるカード型記憶媒体に格納されるファイル構造例。
【図8】本発明による料金徴収システムの車載機及びカード型記憶媒体の第五の実施例で示されるカード型記憶媒体に格納されるファイル構造例。
【符号の説明】
1・・・車載機、2・・・カード型記憶媒体、3・・・記憶メモリ、4・・・車載機セットアップデータ記憶設定領域(第四或いは第八の記憶エリア)、5・・・セットアップフラグ(第二或いは第九の記憶エリア)、6・・・車載機側制御部、7・・・カード内格納情報識別部、8・・・フラグ制御部、9・・・データ制御部、10・・・カード検出部、11・・・車載機側I/F、12・・・カード側I/F、13・・・カード側制御部、14・・・記憶メモリ、15・・・車載機初期化データ(第三或いは第六或いは第十或いは第十五の記憶エリア)、16・・・カード内格納情報(第四或いは第七或いは第十二或いは第十七の記憶エリア)、17・・・車載機セットアップデータ(第五或いは第十三の記憶エリア)、18・・・PIN入力部、19・・・符号照合制御部、20・・・初期化符号(第十一或いは第十六の記憶エリア)、21・・・セットアップ符号(第十四の記憶エリア)、22・・・セットアップPIN入力、照合、23・・・初期化PIN入力、照合のフロー、24・・・MF(マスターファイル)、25・・・カード内格納情報、26・・・初期化DF(初期化専用ファイル)、27・・・初期化符号、28・・・初期化データ、29・・・MF(マスターファイル)、30・・・カード内格納情報、31・・・セットアップDF(セットアップ専用ファイル)、32・・・セットアップ符号、33・・・セットアップデータ、34・・・初期化DF(初期化専用ファイル)、35・・・初期化符号、36・・・初期化データ、37・・・全体制御部、38・・・カード内格納情報識別部、39・・・書き込み制御部、40・・・フラグ制御部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an in-vehicle device and a card-type storage medium of a toll collection system that is a part of Intelligent Transport Systems (ITS), and after the in-vehicle device manufacturer conducts an operation test of the in-vehicle device, the in-vehicle device The present invention relates to a system for erasing setup data, which is initial setting information, to initialize an in-vehicle device.
[0002]
[Prior art]
Developments are being made to realize Intelligent Transport Systems (ITS) for the purpose of reducing traffic congestion, improving user services, and reducing operating costs. As part of this ITS, a toll collection system that collects usage fees by conducting road-to-vehicle communication between on-road equipment installed on the road and on-vehicle equipment installed on the vehicle is being studied.
This is to collect usage fees by communicating between on-road devices arranged at gates such as entrances and exits and on-vehicle devices installed on the passing vehicle side.
The in-vehicle device has an IC card processing function, and the user can use the service by using an IC card equipped with an application of a fee collection system.
[0003]
In developing this system, the developer must pay particular attention to countermeasures against unauthorized use. The fee collection processing that has been performed at the manned toll gate so far is processed by the unmanned toll gate system. Information on service usage is exchanged with electronic data. For this reason, caution must be taken against fraudulent acts due to data eavesdropping or falsification.
Charges for vehicles traveling on toll roads vary depending on the size of the vehicle (ordinary passenger car, large vehicle, etc.) and the traffic section. The billing information is processed as electronic data. For this reason, the vehicle-mounted device of the passing vehicle needs information unique to the vehicle-mounted device, information for encryption / decryption of communication data, and the like in advance. In order to use the service, it is necessary to initially register such highly secure information (data) in the in-vehicle device as setup data.
[0004]
However, registering the setup data in advance at the time of manufacturing the vehicle-mounted device has a security problem. Since the setup data is highly secure, it is desirable and realistic for the user to register the setup data in the in-vehicle device.
For this setup data registration method, an IC card having a dedicated function is used as a medium. Once setup data has been successfully registered in the in-vehicle device, the user cannot re-register.
First, since the setup data storage area of the IC card once used for registration of setup data is blocked, the user cannot read the setup data himself.
Furthermore, there is a flag (hereinafter referred to as a setup flag) for determining whether setup data is registered in the in-vehicle device. If the setup flag indicates that the setup data has already been registered even if the setup data is to be re-registered, the in-vehicle device rejects the re-registration of the setup data.
[0005]
[Problems to be solved by the invention]
In-vehicle device manufacturers need to test the manufactured in-vehicle device before shipping. When an in-vehicle device manufacturer performs an in-vehicle device operation test, the setup data must be registered in the in-vehicle device for testing. Furthermore, in order to ship an in-vehicle device that has undergone an operation test, it is necessary to delete the setup data registered for the test after the test is finished and to initialize the in-vehicle device.
[0006]
However, there is still no official regulation regarding the handling of setup data at this in-vehicle device manufacturer.
As a simple idea, in order to initialize the setup data, the setup data may be overwritten with the initialization data. However, in that case, the setup flag indicates that setup data is registered, and in this state, overwriting cannot be performed.
Even if setup data can be overwritten with initialization data, if the setup flag is controlled only for the process of writing data, the setup flag does not change and the setup data is registered. There is a possibility that it remains shown.
[0007]
An object of the present invention is to delete setup data after registering setup data in an in-vehicle device within an in-vehicle device manufacturer and performing an operation test so that the setup flag indicates that the setup data is not registered. That is, it is possible to initialize the vehicle-mounted device.
[0008]
[Means for Solving the Problems]
The above purpose is
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
A first storage area for storing setup data which is initial setting information necessary for using the in-vehicle device;
A second storage area for storing a setup flag indicating whether setup data is registered in the first storage area;
In-card stored information identifying means for identifying the type of information stored in the attached card-type storage medium;
Data control means for determining whether to read data from the card-type storage medium according to the state of the second storage area and the result of the stored information identification means in the card, and for writing data to the first storage area;
According to the result of the data control means, a flag control means for controlling the second storage area is provided,
Furthermore, in a card type storage medium to be mounted on an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on the road and an on-vehicle device installed on the vehicle,
A third storage area for storing initialization data for rewriting the setup data registered as the initial setting information in the in-vehicle device;
A fourth storage area for storing information indicating that initialization data is stored;
In addition, in order not to inadvertently initialize the setup data,
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
An eighth storage area for storing setup data which is initial setting information necessary for using the vehicle-mounted device;
A ninth storage area for storing a setup flag indicating whether setup data is registered in the eighth storage area;
In-card stored information identifying means for identifying the type of information stored in the attached card-type storage medium;
Code collation control means for controlling code collation for determining whether or not to enable access to data stored in a mounted card type storage medium;
It is determined whether or not to read specific data from the card type storage medium according to the state of the ninth storage area and the result of the stored information identification means in the card, and read from the card type storage medium according to the result of the code verification control means Data control means for writing data to the eighth storage area;
A flag control means for controlling the ninth storage area according to the result of the data control means;
Furthermore, in a card type storage medium to be mounted on an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on the road and an on-vehicle device installed on the vehicle,
A tenth storage area for storing initialization data for rewriting setup data registered as initial setting information in the in-vehicle device;
An eleventh storage area for storing an initialization code used for code verification to determine whether or not access from the in-vehicle device is possible for the data stored in the tenth storage area;
This is achieved by providing a twelfth storage area for storing information indicating that the initialization data is stored in the card type storage medium.
[0009]
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
The first storage area operates to store setup data, which is initial setting information necessary for using the in-vehicle device,
The second storage area operates to store a setup flag indicating whether setup data is registered in the first storage area,
The in-card stored information identifying means operates to identify the type of information stored in the attached card type storage medium,
The data control means determines whether to read data from the card-type storage medium according to the state of the second storage area and the result of the in-card storage information identification means, and operates to write the data to the first storage area And
The flag control means operates to control the second storage area according to the result of the data control means,
Furthermore, in a card type storage medium to be mounted on an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on the road and an on-vehicle device installed on the vehicle,
The third storage area operates to store initialization data for rewriting the setup data registered as initial setting information in the in-vehicle device,
The fourth storage area operates to store information indicating that initialization data is stored;
In addition, in order not to inadvertently initialize the setup data,
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
The eighth storage area operates to store setup data that is initial setting information necessary for using the vehicle-mounted device,
The ninth storage area operates to store a setup flag indicating whether setup data is registered in the eighth storage area;
The in-card stored information identifying means operates to identify the type of information stored in the attached card type storage medium,
The code verification control means operates to control code verification for determining whether or not to enable access to data stored in the attached card-type storage medium,
The data control means determines whether to read specific data from the card-type storage medium according to the state of the ninth storage area and the result of the in-card storage information identification means, and the card type according to the result of the code verification control means Operates to write the data read from the storage medium to the eighth storage area,
The flag control means operates to control the ninth storage area according to the result of the data control means,
Furthermore, in a card type storage medium to be mounted on an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on the road and an on-vehicle device installed on the vehicle,
The tenth storage area operates to store initialization data for rewriting setup data registered as initial setting information in the in-vehicle device,
The eleventh storage area operates to store an initialization code used for code verification to determine whether or not the data stored in the tenth storage area can be accessed from the in-vehicle device. And
The twelfth storage area operates to store information indicating that the initialization data is stored in the card type storage medium.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing the configuration of a first embodiment of an in-vehicle device and a card-type storage medium of a fee collection system according to the present invention.
1 is an in-vehicle device, 2 is a card-type storage medium, 3 is a storage memory, 4 is an in-vehicle device setup data storage setting area, 5 is a setup flag, 6 is an in-vehicle device side control unit, 10 is a card detection unit, and 11 is an in-vehicle device Side I / F, 12 is card side I / F, 13 is card side control unit, 14 is storage memory, 15 is in-vehicle device initialization data, 16 is stored information in card, 37 is overall control unit, 38 is in card A storage information identification unit, 39 is a write control unit, and 40 is a flag control unit.
[0011]
Next, the operation of each part will be described. The in-vehicle device 1 is mounted on an automobile in order to use a charging service provided by road-to-vehicle communication in a toll collection system. In-vehicle device 1 is manufactured by an on-vehicle device manufacturer, and an operation test is performed before shipping. Therefore, it is assumed that initial setting information necessary for testing, that is, setup data is registered in the in-vehicle device setup data storage setting area 4 in advance.
The card-type storage medium 2 is used by being mounted on the in-vehicle device 1. The card type storage medium 2 indicates that the in-vehicle device initialization data 15 for rewriting the setup data registered in the in-vehicle device 1 and the in-vehicle device initialization data 15 exist in the card-type storage medium 2. Information stored in the card 16 that is information is stored.
The storage memory 3 includes an in-vehicle device setup data storage setting area 4 and a setup flag 5, and has a structure in which stored data is not lost even when the power supply is cut off.
The in-vehicle device setup data storage setting area 4 is usually an area for storing setup data necessary as initial setting information when using the in-vehicle device 1, and the in-vehicle device initialization data 15 read from the card type storage medium 2. It is also an area for rewriting setup data.
[0012]
The setup flag 5 indicates a state (for example, “1”) when setup data is stored in the in-vehicle device setup data storage setting area 4, and indicates a state when setup data is not stored (for example, “1”). For example, “0”).
[0013]
The in-vehicle device side control unit 6 includes at least an overall control unit 37, an in-card storage information identification unit 38, a write control unit 39, and a flag control unit 40, and the overall control unit 37 performs overall control of the in-vehicle device side control unit 6. .
The overall control unit 37 may be a CPU for controlling the entire on-vehicle device side operation, for example, for controlling the whole.
[0014]
The in-card storage information identification unit 38 identifies the type of information stored in the card type storage medium 2 from the in-card storage information 16 read from the card type storage medium 2 by the overall control unit 37.
The write control unit 39 determines the vehicle-mounted device initialization data 15 read from the card-type storage medium 2 by the overall control unit 37 judging from the state of the setup flag 5 and the operation result of the in-card stored information identifying unit 38. It operates to write to the setup data storage setting area 4.
The flag control unit 40 controls the state of the setup flag 5 based on the operation result of the write control unit 39.
Here, the in-card stored information identification unit 38, the write control unit 39, and the flag control unit 40 may be software programs that operate on the overall control unit 37, for example.
[0015]
The card detection unit 10 detects that the card-type storage medium 2 has been installed in the in-vehicle device 1 and notifies the overall control unit 37 of it.
[0016]
The in-vehicle device side I / F 11 forms an interface on the in-vehicle device 1 side to various card-type storage media and card-type storage media 2 to be installed, and includes a data I / O terminal, a power supply terminal, a GND terminal, a reset terminal, and the like. .
The card-side I / F 12 constitutes an interface on the card-type storage medium 2 side with respect to the in-vehicle device 1 and includes a data I / O terminal, a power supply terminal, a GND terminal, a reset terminal, etc. corresponding to the in-vehicle device-side I / F 11.
The card side control unit 13 performs control in the card type storage medium 2 in accordance with a command from the in-vehicle device 1.
The storage memory 14 includes in-vehicle device initialization data 15 and in-card storage information 16, and has a structure that does not disappear even when the power to the card-type storage medium 2 is shut off.
[0017]
The in-vehicle device initialization data 15 is data for rewriting the setup data.
[0018]
The in-card storage information 16 is information indicating what kind of data is stored in the card type storage medium 2.
[0019]
Next, the overall operation will be described. In order to manufacture an in-vehicle device at an in-vehicle device manufacturer and perform an operation test before shipment, registration of setup data to be normally performed by the user must be performed on the in-vehicle device manufacturer side for the test. Also, after the operation test is completed, it is necessary to erase the setup data and make it initialized. In the first embodiment according to the present invention, means for initializing an in-vehicle device in which setup data has already been registered for an operation test is shown.
[0020]
When the card-type storage medium 2 is attached to the in-vehicle device 1, the in-vehicle device side I / F 11 and the card side I / F 12 are connected, and the card detection unit 10 detects that the card type storage medium 2 is attached. A signal is sent to the overall control unit 37.
The overall control unit 37 activates the card type storage medium 2 through the in-vehicle device side I / F 11 and reads the stored information 16 in the card.
From the state of the setup flag 5, the overall control unit 37 recognizes that setup data has already been registered in the in-vehicle device setup data storage setting area 4.
[0021]
Further, the overall control unit 37 reads the in-card storage information 16 from the card type storage medium 2. The read in-card storage information 16 is analyzed by the in-card storage information identification unit 38, and from the result, the overall control unit 37 knows that the card-type storage medium 2 includes the in-vehicle device initialization data 15.
[0022]
When the conditions that the setup data is registered in the in-vehicle device setup data storage setting area 4 and that the installed card-type storage medium 2 includes the initialization data, the overall control unit 37 stores the setup data. The operation for initializing the setting area 4 is started.
The overall control unit 37 reads the in-vehicle device initialization data 15 stored in the card-type storage medium 2, and writes the in-vehicle device initialization data 15 to the in-vehicle device setup data storage setting area 4 under the control of the write control unit 39. I do. By this operation, all the setup data stored in the in-vehicle device setup data storage setting area 4 is rewritten to the initialization data 15.
[0023]
When all the in-vehicle device initialization data 15 has been successfully written to the in-vehicle device setup data storage setting area 4, the overall control unit 37 correctly writes the in-vehicle device initialization data 15 to the flag control unit 40. Notify that it has finished.
The flag control unit 40 causes the setup flag 5 to indicate that the in-vehicle device setup data storage setting area 4 has been initialized.
With the above operation, the initialization of the vehicle-mounted device 1 ends normally.
[0024]
According to this embodiment, the in-vehicle device 1 initializes the card-type storage medium 2 based on the state of the setup flag 5 of the in-vehicle device 1 and the data storage information in the card-type storage medium 2 by the in-card storage information identification unit 38. It can be recognized as a card, and the vehicle-mounted device initialization data 15 can be read from the card-type storage medium 2 and written to the vehicle-mounted device setup data storage setting area 4. Furthermore, only when the in-vehicle device initialization data 15 is written to the in-vehicle device setup data storage setting area 4, the setup flag 5 should be changed to indicate that the in-vehicle device setup data storage setting area 4 has been initialized. Can do.
[0025]
FIG. 2 is a block diagram showing the configuration of the second embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
1 is an in-vehicle device, 2 is a card-type storage medium, 3 is a storage memory, 4 is an in-vehicle device setup data storage setting area, 5 is a setup flag, 6 is an in-vehicle device side control unit, 7 is an in-card stored information identification unit, 8 Is a flag control unit, 9 is a data control unit, 10 is a card detection unit, 11 is an in-vehicle device side I / F, 12 is a card side I / F, 13 is a card side control unit, 14 is a storage memory, 15 is an in-vehicle device Initialization data 16 is information stored in the card.
[0026]
Next, the operation of each part will be described. The in-vehicle device 1 is mounted on an automobile in order to use a charging service provided by road-to-vehicle communication in a toll collection system. In-vehicle device 1 is manufactured by an on-vehicle device manufacturer, and an operation test is performed before shipping. Therefore, it is assumed that initial setting information necessary for testing, that is, setup data is registered in the in-vehicle device setup data storage setting area 4 in advance.
The card-type storage medium 2 is used by being mounted on the in-vehicle device 1. The card type storage medium 2 indicates that the in-vehicle device initialization data 15 for rewriting the setup data registered in the in-vehicle device 1 and the in-vehicle device initialization data 15 exist in the card-type storage medium 2. Information stored in the card 16 that is information is stored.
The storage memory 3 includes an in-vehicle device setup data storage setting area 4 and a setup flag 5, and has a structure in which stored data is not lost even when the power supply is cut off.
[0027]
The in-vehicle device setup data storage setting area 4 is usually an area for storing setup data necessary as initial setting information when using the in-vehicle device 1, and the in-vehicle device initialization data 15 read from the card type storage medium 2. It is also an area for rewriting setup data.
The setup flag 5 indicates a state (for example, “1”) when setup data is stored in the in-vehicle device setup data storage setting area 4, and indicates a state when setup data is not stored (for example, “1”). For example, “0”).
The in-vehicle device side control unit 6 includes at least an in-card stored information identification unit 7, a flag control unit 8, and a data control unit 9, and controls the overall operation of the in-vehicle device 1.
The in-card storage information identification unit 7 identifies the type of information stored in the card type storage medium 2 from the in-card storage information 16 read from the card type storage medium 2.
The flag control unit 8 transmits the state of the setup flag 5 to the data control unit 9, and changes the state of the setup flag 5 by an instruction from the data control unit 9.
The data control unit 9 performs control of communication data with the card-type storage medium 2 and control of data with respect to the memory in the in-vehicle device 1 including the in-vehicle device setup data storage setting area 4.
[0028]
The card detection unit 10 detects that the card-type storage medium 2 is attached to the in-vehicle device 1 and notifies the in-vehicle device side control unit 6.
The in-vehicle device side I / F 11 forms an interface on the in-vehicle device 1 side to various card-type storage media and card-type storage media 2 to be installed, and includes a data I / O terminal, a power supply terminal, a GND terminal, a reset terminal, and the like. .
The card-side I / F 12 constitutes an interface on the card-type storage medium 2 side with respect to the in-vehicle device 1 and includes a data I / O terminal, a power supply terminal, a GND terminal, a reset terminal, etc. corresponding to the in-vehicle device-side I / F 11.
The card side control unit 13 performs control in the card type storage medium 2 in accordance with a command from the in-vehicle device 1.
The storage memory 14 includes in-vehicle device initialization data 15 and in-card storage information 16, and has a structure that does not disappear even when the power to the card-type storage medium 2 is shut off.
The in-vehicle device initialization data 15 is data for rewriting the setup data.
The in-card storage information 16 is information indicating what kind of data is stored in the card type storage medium 2.
[0029]
Next, the overall operation will be described. In order to manufacture an in-vehicle device at an in-vehicle device manufacturer and perform an operation test before shipment, registration of setup data to be normally performed by the user must be performed on the in-vehicle device manufacturer side for the test. Also, after the operation test is completed, it is necessary to erase the setup data and make it initialized. The second embodiment according to the present invention shows a means for initializing an in-vehicle device in which setup data has already been registered for an operation test.
[0030]
When the card-type storage medium 2 is attached to the in-vehicle device 1, the in-vehicle device side I / F 11 and the card side I / F 12 are connected, and the card detection unit 10 detects that the card type storage medium 2 is attached. Send a signal to the in-vehicle device side controller 6.
The in-vehicle device side control unit 6 activates the card-type storage medium 2 and reads the stored information 16 in the card.
From the state of the setup flag 5, the data control unit 9 recognizes that setup data has already been registered in the in-vehicle device setup data storage setting area 4. Further, since the card storage information 16 knows that the card type storage medium 2 includes initialization data, the card type storage medium 2 is recognized as an initialization card.
[0031]
When the conditions that the setup data is registered in the in-vehicle device setup data storage setting area 4 and that the installed card type storage medium 2 includes initialization data, the in-vehicle device 1 sets the setup data storage setting. The operation for initializing area 4 is started.
The data control unit 9 reads the in-vehicle device initialization data 15 stored in the card-type storage medium 2, and performs a write operation in the in-vehicle device setup data storage setting area 4. By this operation, all the setup data stored in the in-vehicle device setup data storage setting area 4 is rewritten by the initialization data 15.
When all the in-vehicle device initialization data 15 is successfully written to the in-vehicle device setup data storage setting area 4, the data control unit 9 correctly writes the in-vehicle device initialization data 15 to the flag control unit 8. Notify that it has finished.
The flag control unit 8 sets the setup flag 5 to indicate that the in-vehicle device setup data storage setting area 4 has been initialized.
[0032]
With the above operation, the initialization of the vehicle-mounted device 1 ends normally.
According to the present embodiment, the vehicle-mounted device 1 recognizes the card-type storage medium 2 as an initialization card based on the state of the setup flag 5 of the vehicle-mounted device 1 and the information stored in the card 16, and the card-type storage medium The in-vehicle device initialization data 15 can be read from 2 and written into the in-vehicle device setup data storage setting area 4. Furthermore, only when the in-vehicle device initialization data 15 is written to the in-vehicle device setup data storage setting area 4, the setup flag 5 should be changed to indicate that the in-vehicle device setup data storage setting area 4 has been initialized. Can do.
[0033]
FIG. 3 is a block diagram showing the configuration of the third embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
Reference numeral 1 denotes an in-vehicle device, and the internal components are the same as those in FIG.
Reference numeral 2 denotes a card-type storage medium, which is different from that shown in FIG. 2 in that the in-vehicle device initialization data 15 is included in the storage memory 14 and the in-vehicle device setup data 17 is included in addition to the in-card storage information 16.
The in-vehicle device setup data 17 is setup data to be written in the in-vehicle device setup data storage setting area 4.
[0034]
Next, the overall operation will be described. Unlike the second embodiment, initially, no setup data is written in the in-vehicle device setup data storage setting area 4 of the in-vehicle device 1, and the setup flag 5 is set to indicate this. In other words, the third embodiment shows a means for an in-vehicle device manufacturer to register setup data for an operation test with respect to the in-vehicle device and initialize it after the operation test is completed.
When the card type storage medium 2 is installed in the vehicle-mounted device 1, the vehicle-mounted device side I / F 11 and the card side I / F 12 are connected, and the card detection unit 10 detects that the card type storage medium 2 is installed. Send a signal to the in-vehicle device side controller 6.
The in-vehicle device side control unit 6 activates the card-type storage medium 2 and reads the stored information 16 in the card.
The data control unit 9 recognizes from the state of the setup flag 5 that the in-vehicle device setup data storage setting area 4 is in the initialized state. Further, since the card storage medium 16 knows that the card type storage medium 2 includes setup data, the card type storage medium 2 is recognized as a setup card.
[0035]
When the conditions that the in-vehicle device setup data storage setting area 4 is initialized and that the installed card-type storage medium 2 includes the setup data are met, the in-vehicle device 1 enters the setup data storage setting area 4 Starts the operation to register setup data.
The data control unit 9 reads the in-vehicle device setup data 17 stored in the card-type storage medium 2, and performs a write operation in the in-vehicle device setup data storage setting area 4.
When all the in-vehicle device setup data 17 has been successfully written to the in-vehicle device setup data storage setting area 4, the data control unit 9 has successfully written the in-vehicle device setup data 17 to the flag control unit 8. Notify that.
The flag control unit 8 causes the setup flag 5 to indicate that setup data is registered in the in-vehicle device setup data storage setting area 4.
With the above operation, registration of the setup data to the in-vehicle device 1 is normally completed.
[0036]
Next, an example in which the vehicle-mounted device 1 is initialized after the operation test at the vehicle-mounted device manufacturer is completed will be described.
In FIG. 3, when the card-type storage medium 2 is mounted on the vehicle-mounted device 1 in a state where the setup data has already been registered in the vehicle-mounted device setup data storage setting area 4, the second embodiment of the present invention. The in-vehicle device 1 can be initialized by the same operation as.
According to the present embodiment, in the operation test of the in-vehicle device at the in-vehicle device manufacturer, the function of each card using a medium having both the in-vehicle device setup card and initialization card functions, such as the card-type storage medium 2. Can be used automatically, so there is no need to prepare a setup card and an initialization card separately for the operation test, thereby reducing costs.
[0037]
FIG. 4 is a block diagram showing the configuration of the fourth embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
Reference numeral 1 denotes an in-vehicle device, and internal components include a PIN input unit 18 and a code matching control unit 19 in addition to those shown in FIG.
Reference numeral 2 denotes a card-type storage medium, and the internal components include an initialization code 20 in addition to the in-vehicle device initialization data 15 and the in-card storage information 16 in the storage memory 14 in addition to those in FIG. It is.
The PIN input unit 18 is an external interface of the in-vehicle device 1, and a person who operates the in-vehicle device 1 directly inputs a PIN (Personal Identification Number). This may be, for example, a keyboard equipped with 10 keys or other means.
[0038]
The code verification control unit 19 controls code verification between the PIN input from the PIN input unit 18 and the initialization code 20 stored in the card type storage medium 2.
The initialization code 20 is a code used for code verification for determining whether or not the in-vehicle device initialization data 15 can be accessed from the in-vehicle device 1.
[0039]
Next, the overall operation will be described. In order to manufacture an in-vehicle device at an in-vehicle device manufacturer and perform an operation test before shipment, registration of setup data to be normally performed by the user must be performed on the in-vehicle device manufacturer side for the test. Also, after the operation test is completed, it is necessary to erase the setup data and make it initialized. In the fourth embodiment of the present invention, as in the first and second embodiments of the present invention, means for initializing an in-vehicle device in which setup data has already been registered for an operation test is shown.
[0040]
When the card-type storage medium 2 is attached to the in-vehicle device 1, the in-vehicle device side I / F 11 and the card side I / F 12 are connected, and the card detection unit 10 detects that the card type storage medium 2 is attached. Send a signal to the in-vehicle device side controller 6.
The in-vehicle device side control unit 6 activates the card-type storage medium 2 and reads the stored information 16 in the card.
From the state of the setup flag 5, the data control unit 9 recognizes that setup data has already been registered in the in-vehicle device setup data storage setting area 4. Further, since the card storage information 16 knows that the card type storage medium 2 includes initialization data, the card type storage medium 2 is recognized as an initialization card.
[0041]
When the conditions that the setup data is registered in the in-vehicle device setup data storage setting area 4 and that the installed card-type storage medium 2 includes initialization data, the in-vehicle device 1 sets the setup data storage setting. The operation for initializing area 4 is started.
The PIN input unit 18 is ready for input, and the operator inputs the PIN from the PIN input unit 18. The code collation control unit 19 issues a command to collate the input PIN in the card type storage medium 2 with the initialization code 20 stored in the card type storage medium 2, and the card side control unit 13 The PIN input together with the command is checked against the initialization code 20, and the result is notified to the in-vehicle device 1. If the result of the code verification is a match, the in-vehicle device initialization data 15 can be accessed from the in-vehicle device 1, and the data control unit 9 reads out the in-vehicle device initialization data 15 stored in the card type storage medium 2. Then, the write operation is performed in the in-vehicle device setup data storage setting area 4. By this operation, all the setup data stored in the in-vehicle device setup data storage setting area 4 is rewritten by the initialization data 15.
[0042]
If the results of the code verification are all inconsistent for a certain number of trials or more, the in-vehicle device 1 interrupts the processing.
When all the in-vehicle device initialization data 15 is successfully written to the in-vehicle device setup data storage setting area 4, the data control unit 9 correctly writes the in-vehicle device initialization data 15 to the flag control unit 8. Notify that it has finished.
The flag control unit 8 sets the setup flag 5 to indicate that the in-vehicle device setup data storage setting area 4 has been initialized.
With the above operation, the initialization of the vehicle-mounted device 1 ends normally.
[0043]
According to the present embodiment, the vehicle-mounted device 1 recognizes the card-type storage medium 2 as an initialization card based on the state of the setup flag 5 of the vehicle-mounted device 1 and the information stored in the card 16, and the card-type storage medium The in-vehicle device initialization data 15 can be read from 2 and written into the in-vehicle device setup data storage setting area 4. Furthermore, only when the in-vehicle device initialization data 15 is written to the in-vehicle device setup data storage setting area 4, the setup flag 5 should be changed to indicate that the in-vehicle device setup data storage setting area 4 has been initialized. Can do.
Moreover, it is possible to prevent inadvertent initialization of the in-vehicle device by the PIN input means.
[0044]
FIG. 5 is a block diagram showing the configuration of the fifth embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
Reference numeral 1 denotes an in-vehicle device, and the internal components are the same as those in FIG.
4 is a card-type storage medium, which differs from that shown in FIG. 4 in that in-vehicle device initialization data 15 in the storage memory 14, in-card storage information 16 and initialization code 20, in-vehicle device setup data 17, and The setup code 21 is included.
The in-vehicle device setup data 17 is setup data to be written in the in-vehicle device setup data storage setting area 4.
The setup code 21 is a code used for code verification for determining whether or not the in-vehicle device setup data 17 can be accessed from the in-vehicle device 1.
[0045]
Next, the overall operation will be described. In this embodiment, initially, no setup data is written in the in-vehicle device setup data storage setting area 4 of the in-vehicle device 1, and the setup flag 5 is set to indicate that. That is, the fifth embodiment shows means for registering setup data for an operation test in an in-vehicle device manufacturer and initializing the operation test after completion of the operation test.
When the card type storage medium 2 is installed in the vehicle-mounted device 1, the vehicle-mounted device side I / F 11 and the card side I / F 12 are connected, and the card detection unit 10 detects that the card type storage medium 2 is installed. Send a signal to the in-vehicle device side controller 6.
The in-vehicle device side control unit 6 activates the card-type storage medium 2 and reads the stored information 16 in the card.
The data control unit 9 recognizes from the state of the setup flag 5 that the in-vehicle device setup data storage setting area 4 is in the initialized state. Further, since the card storage medium 16 knows that the card type storage medium 2 includes setup data, the card type storage medium 2 is recognized as a setup card.
[0046]
When the conditions that the in-vehicle device setup data storage setting area 4 is initialized and that the installed card-type storage medium 2 includes the setup data are met, the in-vehicle device 1 enters the setup data storage setting area 4 Starts the operation to register setup data.
The PIN input unit 18 is ready for input, and the operator inputs the PIN from the PIN input unit 18. The code collation control unit 19 issues a command to collate the input PIN in the card type storage medium 2 with the setup code 21 stored in the card type storage medium 2, and the card side control unit 13 The PIN input together with the setup code 21 is collated, and the result is notified to the in-vehicle device 1. If the result of the code verification is the same, access to the in-vehicle device setup data 17 is possible from the in-vehicle device 1, and the data control unit 9 reads out the in-vehicle device setup data 17 stored in the card type storage medium 2, Write to the in-vehicle device setup data storage setting area 4.
[0047]
If the results of the code verification are all inconsistent for a certain number of trials or more, the in-vehicle device 1 interrupts the processing.
When all the in-vehicle device setup data 17 has been successfully written to the in-vehicle device setup data storage setting area 4, the data control unit 9 has successfully written the in-vehicle device setup data 17 to the flag control unit 8. Notify that.
The flag control unit 8 causes the setup flag 5 to indicate that setup data is registered in the in-vehicle device setup data storage setting area 4.
With the above operation, registration of the setup data to the in-vehicle device 1 is normally completed.
[0048]
Next, an example in which the vehicle-mounted device 1 is initialized after the operation test at the vehicle-mounted device manufacturer is completed will be described.
In FIG. 5, when the card-type storage medium 2 is mounted on the vehicle-mounted device 1 in the state where the setup data is already registered in the vehicle-mounted device setup data storage setting area 4, the fourth embodiment of the present invention. The in-vehicle device 1 can be initialized by the same operation as.
[0049]
According to the present embodiment, in the operation test of the in-vehicle device at the in-vehicle device manufacturer, the function of each card using a medium having both the in-vehicle device setup card and initialization card functions, such as the card-type storage medium 2. Can be used automatically, so there is no need to prepare a setup card and an initialization card separately for operation tests, thereby reducing costs.
Moreover, it is possible to prevent inadvertent initialization and setup of the in-vehicle device by the PIN input means.
[0050]
FIG. 6 is a flow applied to the fourth and fifth embodiments of the present invention. If the PIN input and verification processing indicated by 22 and 23 are removed, the present invention can be applied to the first embodiment, the second embodiment, and the third embodiment of the present invention.
FIG. 7 shows an example of a file structure of stored data in a card-type storage medium as shown in the fourth embodiment of the present invention, that is, a card dedicated to initialization.
If the initialization code 27 is removed, the present invention can also be applied to the first and second embodiments of the present invention.
Reference numeral 24 denotes an MF (master file), 25 denotes information stored in the card, 26 denotes an initialization DF, 27 denotes an initialization code, and 28 denotes initialization data.
MF24 is the basis for all files in the card as defined by the international standard ISO / IEC7816-4.
The in-card storage information 25 is an information file indicating what kind of application data exists in the card. For example, the data content only needs to allow the in-vehicle device to identify the DF (dedicated file) such as the AID (application ID) and application label assigned to the initialization DF26.
[0051]
The initialization DF 26 is a DF including data related to initialization of the in-vehicle device, and includes an initialization code 27 and initialization data 28.
The initialization code 27 is a code used for code verification for acquiring an access right to the initialization data 28. For example, the IC card verifies the PIN sent from the in-vehicle device together with the code verification command with the initialization code 27, and if the verification result matches, the initialization data 28 can be accessed from the in-vehicle device. .
Here, the initialization data 28 is composed of five files from initialization data A to initialization data E, and all of the setup data registered in the in-vehicle device is rewritten by these initialization data. Also, the initialization data 28 has data contents that have no meaning for all of the charge collection systems.
[0052]
FIG. 8 shows an example of a file structure of stored data in a card-type storage medium as shown in the fifth embodiment of the present invention, that is, a card including initialization data and setup data.
If the setup code 32 and the initialization code 35 are removed, the present invention can be applied to the third embodiment of the present invention.
29 is MF (master file), 30 is information stored in the card, 31 is setup DF, 32 is setup code, 33 is setup data, 34 is initialization DF, 35 is initialization code, and 36 is initialization data.
The MF 29 is the basis for all files in the card, as in the example of FIG.
The in-card storage information 30 indicates that a DF existing in the card, that is, a setup DF 31 and an initialization DF 34 exist.
[0053]
The setup DF31 is a DF that includes setup data for the in-vehicle device.
The setup code 32 is a code used for code verification for acquiring an access right to the setup data 33. For example, the IC card collates the PIN sent from the in-vehicle device together with the code collation command with the setup code 32, and if the collation result is the same, the setup data 33 can be accessed from the in-vehicle device.
The setup data 33 is data set up in the in-vehicle device for an operation test.
The initialization DF 35 is a DF including data relating to initialization of the vehicle-mounted device, as in the example of FIG. 7, and includes an initialization code 35 and initialization data 36.
The initialization code 35 is a code used for code verification for acquiring an access right to the initialization data 36.
Here, the initialization data 36 is composed of five files from initialization data A to initialization data E, and all of the setup data registered in the in-vehicle device is rewritten by these initialization data. Further, the initialization data 36 has data contents that have no meaning for all of the charge collection systems.
[0054]
7 and 8 show examples in which the initialization data or the setup data are each composed of five files. Regarding the number of files or the method of storing data on the IC card, the setup data can be reliably registered in the in-vehicle device, or the setup data registered in the in-vehicle device can be rewritten with initialization data. Any other number of files may be used.
[0055]
【The invention's effect】
When performing an operation test of an in-vehicle device used in a charging service provided by road-to-vehicle communication between an on-road device installed on the road and an on-vehicle device installed on the vehicle,
By referring to the flag indicating whether the setup data is registered in the in-vehicle device and the data storage information in the attached card type storage medium,
Rewrite and initialize the setup data registered for the operation test, or
It is possible to determine whether to register setup data in an in-vehicle device in which setup data is not registered.
In addition, by storing the setup data and the initialization data in a single card-type storage medium, it is possible to reduce the card manufacturing cost as compared to making the setup card and the initialization card separately.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of a first embodiment of an in-vehicle device and a card-type storage medium of a fee collection system according to the present invention.
FIG. 2 is a block diagram showing the overall configuration of a second embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
FIG. 3 is a block diagram showing the overall configuration of a third embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
FIG. 4 is a block diagram showing the overall configuration of a fourth embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
FIG. 5 is a block diagram showing the overall configuration of a fifth embodiment of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
FIG. 6 is a flowchart of overall operations of fourth and fifth embodiments of the in-vehicle device and the card type storage medium of the fee collection system according to the present invention.
FIG. 7 shows an example of the structure of a file stored in the card-type storage medium shown in the fourth embodiment of the vehicle-mounted device and the card-type storage medium of the fee collection system according to the present invention.
FIG. 8 shows an example of the structure of a file stored in the card-type storage medium shown in the fifth embodiment of the vehicle-mounted device and the card-type storage medium of the fee collection system according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... In-vehicle device, 2 ... Card type storage medium, 3 ... Storage memory, 4 ... In-vehicle device setup data storage setting area (fourth or eighth storage area), 5 ... Setup Flag (second or ninth storage area), 6... On-vehicle device side control unit, 7... Stored information identification unit in card, 8. ... Card detection unit, 11 ... In-vehicle device side I / F, 12 ... Card side I / F, 13 ... Card side control unit, 14 ... Storage memory, 15 ... In-vehicle device Initialization data (third, sixth, tenth, or fifteenth storage area), 16 ... stored information in card (fourth, seventh, twelfth, or seventeenth storage area), 17. ..In-vehicle device setup data (5th or 13th storage area), 18 ... PIN input unit, 1 ... Code verification control unit, 20 ... Initialization code (11th or 16th storage area), 21 ... Setup code (14th storage area), 22 ... Setup PIN input , Verification, 23 ... initialization PIN input, verification flow, 24 ... MF (master file), 25 ... information stored in the card, 26 ... initialization DF (initialization dedicated file), 27 ... initialization code, 28 ... initialization data, 29 ... MF (master file), 30 ... stored information in card, 31 ... setup DF (setup-only file), 32 ... Setup code 33 ... Setup data 34 ... Initialization DF (initialization dedicated file) 35 ... Initialization code 36 ... Initialization data 37 ... Overall control unit 38 ..Store in card Broadcast identification portion, 39 ... write control unit, 40 ... flag control unit.

Claims (14)

路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するための第一の記憶エリアと、
第一の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納する第二の記憶エリアとを備え、
装着されたカード型記憶媒体に格納されている情報の種別を識別するカード内格納情報識別手段と、
第二の記憶エリアの状態、及びカード内格納情報識別手段の結果に従って、カード型記憶媒体から特定のデータを読み出すかどうかを決定し、カード型記憶媒体から読み出したデータを第一の記憶エリアへ書き込むためのデータ制御手段と、
データ制御手段の結果により、第二の記憶エリアの制御をするフラグ制御手段とを備えることを特徴とする料金徴収システムの車載機。
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
A first storage area for storing setup data which is initial setting information necessary for using the in-vehicle device;
A second storage area for storing a setup flag indicating whether setup data is registered in the first storage area;
In-card stored information identifying means for identifying the type of information stored in the attached card-type storage medium;
According to the state of the second storage area and the result of the in-card storage information identification means, it is determined whether or not to read specific data from the card type storage medium, and the data read from the card type storage medium is transferred to the first storage area. Data control means for writing; and
An on-vehicle device for a fee collection system, comprising: a flag control unit that controls the second storage area based on a result of the data control unit.
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納する第三の記憶エリアと、
初期化データをカード型記憶媒体に格納していることを示す情報を格納する第四の記憶エリアとを少なくとも備えたカード型記憶媒体。
In a card-type storage medium attached to an in-vehicle device used in a billing service provided by road-to-vehicle communication between a road device installed on the road and an in-vehicle device installed in the vehicle,
A third storage area for storing initialization data for rewriting the setup data registered as the initial setting information in the in-vehicle device;
A card type storage medium comprising at least a fourth storage area for storing information indicating that initialization data is stored in the card type storage medium.
請求項2のカード型記憶媒体は、接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of a fee collection system, wherein the card-type storage medium according to claim 2 comprises a contact IC card. 請求項2のカード型記憶媒体は、非接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of a fee collection system, wherein the card-type storage medium according to claim 2 comprises a non-contact type IC card. 路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録すべきセットアップデータを記憶する第五の記憶エリアと、
車載機に登録されたセットアップデータを全て書き換えるための初期化データを格納する第六の記憶エリアと、
セットアップデータ及び初期化データをカード型記憶媒体に格納していることを示す情報を格納する第七の記憶エリアとを少なくとも備えたカード型記憶媒体。
In a card-type storage medium attached to an in-vehicle device used in a billing service provided by road-to-vehicle communication between a road device installed on the road and an in-vehicle device installed in the vehicle,
A fifth storage area for storing setup data to be registered as initial setting information in the in-vehicle device;
A sixth storage area for storing initialization data for rewriting all setup data registered in the in-vehicle device;
A card type storage medium comprising at least a seventh storage area for storing information indicating that setup data and initialization data are stored in the card type storage medium.
請求項5のカード型記憶媒体は、接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。6. The card type storage medium of a fee collection system, wherein the card type storage medium according to claim 5 comprises a contact type IC card. 請求項5のカード型記憶媒体は、非接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。6. The card type storage medium of a fee collection system, wherein the card type storage medium according to claim 5 is composed of a non-contact type IC card. 路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機において、
車載機を利用するために必要な初期設定情報であるセットアップデータを記憶するための第八の記憶エリアと、
第八の記憶エリアにセットアップデータが登録されているかどうかを示すセットアップフラグを格納する第九の記憶エリアとを備え、
装着されたカード型記憶媒体に格納されている情報の種別を識別するカード内格納情報識別手段と、
装着されたカード型記憶媒体に格納された特定のデータに対するアクセスを可能とするか否かを決定するための符号照合を制御する符号照合制御手段と、
第九の記憶エリアの状態、及びカード内格納情報識別手段の結果に従って、カード型記憶媒体から特定のデータを読み出すかどうかを決定し、符号照合制御手段の結果に従ってカード型記憶媒体からデータを読み出して、読み出したデータを第八の記憶エリアへ書き込むためのデータ制御手段と、
データ制御手段の結果により、第九の記憶エリアの制御をするフラグ制御手段とを備えることを特徴とする料金徴収システムの車載機。
In an in-vehicle device used in a billing service provided by road-to-vehicle communication between an on-road device installed on a road and an on-vehicle device installed on a vehicle,
An eighth storage area for storing setup data which is initial setting information necessary for using the vehicle-mounted device;
A ninth storage area for storing a setup flag indicating whether setup data is registered in the eighth storage area;
In-card stored information identifying means for identifying the type of information stored in the attached card-type storage medium;
Code collation control means for controlling code collation for determining whether or not to allow access to specific data stored in a mounted card type storage medium;
Decide whether to read specific data from the card-type storage medium according to the state of the ninth storage area and the result of the stored information identification means in the card, and read the data from the card-type storage medium according to the result of the code verification control means Data control means for writing the read data to the eighth storage area;
An on-vehicle apparatus for a toll collection system, comprising: a flag control unit that controls the ninth storage area according to a result of the data control unit.
路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録されたセットアップデータを書き換えるための初期化データを格納する第十の記憶エリアと、
第十の記憶エリアに格納されたデータに対し、車載機からのアクセスが可能か否かを決定するために行う符号照合に用いる初期化符号を格納する第十一の記憶エリアと、
初期化データをカード型記憶媒体に格納していることを示す情報を格納する第十二の記憶エリアとを少なくとも備えたカード型記憶媒体。
In a card-type storage medium attached to an in-vehicle device used in a billing service provided by road-to-vehicle communication between a road device installed on the road and an in-vehicle device installed in the vehicle,
A tenth storage area for storing initialization data for rewriting setup data registered as initial setting information in the in-vehicle device;
An eleventh storage area for storing an initialization code used for code verification to determine whether or not access from the in-vehicle device is possible for the data stored in the tenth storage area;
A card-type storage medium comprising at least a twelfth storage area for storing information indicating that initialization data is stored in the card-type storage medium.
請求項9のカード型記憶媒体は、接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of a fee collection system, wherein the card-type storage medium according to claim 9 is constituted by a contact IC card. 請求項9のカード型記憶媒体は、非接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of the fee collection system according to claim 9, wherein the card-type storage medium comprises a non-contact type IC card. 路上に設置された路上機と車両に設置された車載機との間の路車間通信により提供される課金サービスで使用する車載機に装着するカード型記憶媒体において、
車載機に初期設定情報として登録すべきセットアップデータを記憶する第十三の記憶エリアと、
第十三の記憶エリアに格納されたデータへのアクセスが可能か否かを決定するために行う符号照合に用いるセットアップ符号を記憶する第十四の記憶エリアと、
車載機に登録されたセットアップデータを全て書き換えるための初期化データを格納する第十五の記憶エリアと、
第十五の記憶エリアに格納されたデータへのアクセスが可能か否かを決定するために行う符号照合に用いる初期化符号を格納する第十六の記憶エリアと、
セットアップデータ及び初期化データをカード型記憶媒体に格納していることを示す情報を格納する第十七の記憶エリアとを少なくとも備えたカード型記憶媒体。
In a card-type storage medium attached to an in-vehicle device used in a billing service provided by road-to-vehicle communication between a road device installed on the road and an in-vehicle device installed in the vehicle,
A thirteenth storage area for storing setup data to be registered as initial setting information in the in-vehicle device;
A fourteenth storage area for storing a setup code used for code verification to determine whether or not access to data stored in the thirteenth storage area is possible;
A fifteenth storage area for storing initialization data for rewriting all setup data registered in the in-vehicle device;
A sixteenth storage area for storing an initialization code used for code verification performed to determine whether or not access to data stored in the fifteenth storage area is possible;
A card-type storage medium comprising at least a seventeenth storage area for storing information indicating that setup data and initialization data are stored in the card-type storage medium.
請求項12のカード型記憶媒体は、接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of a fee collection system, wherein the card-type storage medium according to claim 12 comprises a contact IC card. 請求項12のカード型記憶媒体は、非接触式ICカードで構成されていることを特徴とする料金徴収システムのカード型記憶媒体。The card-type storage medium of a fee collection system, wherein the card-type storage medium according to claim 12 is composed of a non-contact type IC card.
JP18472999A 1999-06-30 1999-06-30 In-vehicle device and card-type storage medium for fee collection system Expired - Fee Related JP3736210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18472999A JP3736210B2 (en) 1999-06-30 1999-06-30 In-vehicle device and card-type storage medium for fee collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18472999A JP3736210B2 (en) 1999-06-30 1999-06-30 In-vehicle device and card-type storage medium for fee collection system

Publications (2)

Publication Number Publication Date
JP2001014501A JP2001014501A (en) 2001-01-19
JP3736210B2 true JP3736210B2 (en) 2006-01-18

Family

ID=16158353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18472999A Expired - Fee Related JP3736210B2 (en) 1999-06-30 1999-06-30 In-vehicle device and card-type storage medium for fee collection system

Country Status (1)

Country Link
JP (1) JP3736210B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4735199B2 (en) * 2005-11-09 2011-07-27 パナソニック電工株式会社 Card reader setting method, card authentication system

Also Published As

Publication number Publication date
JP2001014501A (en) 2001-01-19

Similar Documents

Publication Publication Date Title
JP3768939B2 (en) Card processing system and card processing method
US5955970A (en) On-board electronic device for use in electronic toll collection system
JP4282534B2 (en) In-vehicle terminal for DSRC communication system
JP4214653B2 (en) Card information processing method
JPH06180775A (en) Electronic mark for vehicle
JP3736210B2 (en) In-vehicle device and card-type storage medium for fee collection system
JP2004199604A (en) Parking system
CN110659714A (en) A front-mounted electronic label device that can charge without parking
CN112802213B (en) Activation method and activation system for vehicle-mounted controller in electronic toll collection without stopping vehicle
JP2019008657A (en) Vehicle authentication device
JP3958514B2 (en) In-vehicle device setup method and system
JP4812797B2 (en) On-board device for narrow area communication
JP4493837B2 (en) Automatic fee collection method and automatic fee collection vehicle-mounted device
KR20230161653A (en) Apparatus for paying toll for vehicle and method thereof
JP2002024887A (en) Entrance / exit processing system, in-vehicle unit, entrance / exit processing method, on-board unit desorption detection method
JP3760803B2 (en) Data processing device
CN113064725A (en) Virtual resource transfer method, vehicle-mounted unit, storage medium, and electronic apparatus
JP6230046B2 (en) Charge billing system and charge billing method
JP2005339177A (en) OBE and its control method
JP2004102582A (en) Automatic toll collection device
JP2003141588A (en) Automatic toll collection system, automatic toll collection method, on-board unit and automatic toll collection program
JP3409649B2 (en) Automatic toll collection system and in-vehicle device used for it
JP2002208047A (en) Fraud prevention system for transponders for vehicles
JP2025069490A (en) Fee payment device, fee payment system, fee payment method, and program
JP3555383B2 (en) In-vehicle device used in automatic toll collection system and information storage method for in-vehicle device used in automatic toll collection system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050909

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: 20051004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051017

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091104

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101104

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111104

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121104

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121104

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131104

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees