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
JP4716155B2 - Data recording method - Google Patents
[go: Go Back, main page]

JP4716155B2 - Data recording method - Google Patents

Data recording method Download PDF

Info

Publication number
JP4716155B2
JP4716155B2 JP2001213164A JP2001213164A JP4716155B2 JP 4716155 B2 JP4716155 B2 JP 4716155B2 JP 2001213164 A JP2001213164 A JP 2001213164A JP 2001213164 A JP2001213164 A JP 2001213164A JP 4716155 B2 JP4716155 B2 JP 4716155B2
Authority
JP
Japan
Prior art keywords
data
input data
recording
date
recorded
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 - Lifetime
Application number
JP2001213164A
Other languages
Japanese (ja)
Other versions
JP2003030024A (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.)
Lecip Holdings Corp
Original Assignee
Lecip Holdings Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lecip Holdings Corp filed Critical Lecip Holdings Corp
Priority to JP2001213164A priority Critical patent/JP4716155B2/en
Publication of JP2003030024A publication Critical patent/JP2003030024A/en
Application granted granted Critical
Publication of JP4716155B2 publication Critical patent/JP4716155B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えばバスの運賃表示器などとして具体化されるデータ処理機器におけるデータの記録方法に関するものである。
【0002】
【従来の技術】
有効開始時期を含むデータが記録され、現在の日時がそのデータの有効開始時期に達したことを条件として、そのデータに基づいて処理を行うデータ処理機器の具体例としては、バスの運賃表示器などが挙げられる。
【0003】
従来、この種の運賃表示器は、有効開始日を示す日時情報及び運賃情報を含む運賃データを記録可能な記録領域を有する記録部と、その運賃データに基づいて処理を行う制御部とを備えている。そして、記録部は2種類の運賃データを記録可能な2つの記録領域を備え、制御部は現在の日時が有効開始日に達している運賃データに基づいて処理を行うようになっている。なお、現在の日時が両運賃データの有効開始日に達している場合、制御部は、現在の日時から近い有効開始日を含む運賃データに基づいて処理を行うようになっている。このため、例えば現行の運賃データとともに、未来の運賃改正日を有効開始日として設定した運賃データを予め記録させておくことができる。このようにすれば、運賃改正日までは現行の運賃データに基づく運賃体系で表示が行われ、運賃改正日以降は新たな運賃データに基づく運賃体系の表示に自動的に切り換わる。
【0004】
よって、制御部は、新たに運賃データが入力された場合、記録部に空き領域が存在する場合には、その入力データを空き領域に記録する。一方、記録部に空き領域が存在しない場合、既に記録されている既存データの内容を人間が確認し、不要と判断した既存データを手動で入力データに書き換えていた。また、それを自動で行おうとした場合、まず制御部は、入力データの有効開始日と現在の日時との差を算出するとともに、既に記録されている既存データの有効開始日と現在の日時との差を比較する。そして、制御部は、入力データの有効開始日と現在の日時との差が既存データの有効開始日と現在の日時との差よりも小さければ、その既存データを入力データに書き換える。また、制御部は、入力データの有効開始日と現在の日時との差が既存データの有効開始日と現在の日時との差よりも大きければ、入力データの記録を禁止する。すなわち、制御部は、入力データの有効開始日よりも既存データの有効開始日の方が現在の日時に近い場合には、既存データを有効としていた。
【0005】
【発明が解決しようとする課題】
ところで、既存データに誤りがある場合などには正しいデータを入力し直すという運賃データの更新が必要となる。
【0006】
しかし、従来の運賃表示器では、例えば誤った有効開始日を含む運賃データが既存データとして記録されている場合、その誤った有効開始日よりも現在の日時に近い入力データでなければデータの更新を行うことができないという問題が生じる。
【0007】
また、人間が既存データの内容を確認して不要と判断したものを入力データに書き換えることは、手間がかかる上に新たな人為的ミスを発生させるおそれがある。
【0008】
本発明はこうした実情に鑑みてなされたものであり、その目的は、データの更新を確実に行うことができるデータの記録方法を提供することにある。
【0009】
【課題を解決するための手段】
上記の課題を解決するために、請求項1に記載の発明では、
有効開始時期を含むデータをそれぞれ記録可能な2つの記録領域を有する記録手段と、現在の日時が前記データの有効開始時期に達したことを条件として、そのデータに基づくデータ処理を行う制御手段とを備えるデータ処理機器におけるデータの記録方法において、
前記制御手段は、前記データが入力されたとき、前記各記録領域に既に記録された既存データが存在しない場合、該入力データを前記記録領域に記録する記録処理を行い、
前記各記録領域のうちいずれか一方に前記既存データが存在する場合、現在の日時が前記既存データの有効開始時期及び前記入力データの有効開始時期に達しているか否かに基づいて、前記既存データ及び前記入力データのそれぞれを2タイプに分類して、前記入力データのタイプと該既存データのタイプとを比較し、
前記入力データが前記既存データのタイプと同タイプである場合、前記同タイプの既存データを前記入力データに書き換えることを要旨とする。
【0012】
請求項2に記載の発明では、請求項1に記載のデータの記録方法において、前記入力データと同タイプの既存データが前記各記録領域にそれぞれ存在する場合、前記制御手段は、それら既存データを共に削除して該入力データを前記いずれか一方の記録領域に記録することを要旨とする。
【0013】
請求項3に記載の発明では、請求項又は請求項2に記載のデータの記録方法において、前記各記録領域のうちの一方に前記入力データと異なるタイプの既存データが存在し、他方の記録領域が空き領域である場合、前記制御手段は、前記空き領域に前記入力データを記録することを要旨とする。
【0014】
請求項4に記載の発明では、請求項1〜3のいずれか1項に記載のデータの記録方法において、前記入力データと異なるタイプの既存データが前記各記録領域にそれぞれ存在する場合、前記制御手段は、それら既存データの有効開始時期と現在の日時とを比較し、有効開始時期が現在の日時から離れている既存データを前記入力データに書き換えることを要旨とする。
【0015】
以下、本発明の「作用」について説明する。
請求項1に記載の発明によると、データが入力されると、制御手段は、前記各記録領域に既存データが存在しない場合には、その入力データを前記各記録領域のいずれか一方の記憶領域に記録する記録処理を行う。
【0016】
また、制御手段は、前記各記録領域のいずれか一方に既に記録された既存データが存在する場合には、現在の日時が有効開始時期に達しているか否かに基づいて前記データを2タイプに分類する。そして、入力データのタイプと該既存データのタイプとに基づいて入力データを記録すべき記録領域が決定される。つまり、入力データは、既存データの有効開始時期と現在日時との関係を鑑みつつ記録領域に記録される。このため、既存データの有効開始時期と現在日時とを考慮した入力データの記録処理が可能となる。
【0017】
なお、有効開始時期とは、年、月、週、日、時、分、秒など時間の概念を示すものであり、例えば「○月○日」といった日付によって構成された有効開始日や「○月○日○時」といった日時によって構成された有効開始日時などを示すものと定義する。
【0018】
更に、各記録領域のうちのいずれか一方に入力データと同タイプのデータが記録されている場合には、その同タイプの既存データが入力データに書き換えられる。通常、既存データに誤りがあった場合に既存データと同タイプのデータを入力するため、同タイプの既存データを入力データに書き換えることにより、誤ったデータを確実に削除することが可能となる。よって、誤ったデータに基づいて処理が行われてしまうことを防止可能となる。
【0019】
請求項2に記載の発明によると、入力データと同タイプのデータが各記録領域にそれぞれ記録されている場合には、それら記録されているデータが共に削除されて入力データがいずれか一方の記録領域に記録される。このため、記録領域には入力データのみが記録された状態となる。通常、同タイプのデータが2つ記録されていても制御手段はそのうちの一方に基づいて処理を行うため、もう一方のデータは不要である。よって、不要なデータを確実に削除することができ、不要なデータに基づいて処理が行われてしまうことがない。
【0020】
請求項3に記載の発明によると、各記録領域のうちの一方に入力データと異なるタイプのデータが記録され、他方の記録領域が空き領域である場合には、その空き領域に入力データが記録される。通常、記録領域の一方に入力データと異なるタイプのデータが記録されている場合、その既存データは必要なデータである。このため、必要なデータのみが記録領域に記録された状態となる。
【0021】
請求項4に記載の発明によると、入力データと異なるタイプのデータが各記録領域にそれぞれ記録されている場合には、それら記録されているデータの有効開始時期と現在の日時とが比較され、有効開始時期が現在の日時から離れているデータが入力データに書き換えられる。通常、同タイプのデータが2つ記録されている場合、制御手段は、有効開始時期が現在の日時に近いデータのみに基づいて処理を行う。すなわち、有効開始時期が現在の日時から離れているデータは不要である。よって、不要なデータを入力データに書き換えることにより、必要なデータのみを記録領域に記録させることができる。
【0022】
【発明の実施の形態】
以下、本発明をバスの運賃表示器に具体化した一実施形態を図1〜図10に基づき詳細に説明する。
【0023】
図1に示すように、運賃表示器1は、表示盤2と制御装置3とを備えている。
表示盤2は、図示しないバス車内の前方位置において乗客が視認しやすい箇所に配設されている。同図に示すように、本実施形態において表示盤2の表面には、ドットLEDによって構成され、行き先や停留所名等を表示する第1表示部2aが設けられている。また、同表示盤2の表面には、複数の番号(ここでは1〜20)が付されており、それら番号と対応する位置にはそれぞれ複数の7セグメントLEDによって構成された複数(ここでは20個)の第2表示部2bが設けられている。各番号は車両乗車時に車内で発行される整理券に付された番号と対応しており、各第2表示部2bにはそれぞれ運賃が表示されるようになっている。つまり、表示盤2には、整理券に付された番号と対応した運賃が表示されるようになっている。
【0024】
制御装置3は、運転席周辺に配設され、制御手段としてのCPU11、ROM12、記録手段としてのメモリ13、リアルタイムクロック(RTC)14、インターフェイス15及びデータ入力部16を備えている。ROM12、メモリ13、RTC14、インターフェイス15及びデータ入力部16はCPU11に電気的に接続されている。また、インターフェイス15と表示盤2とが電気的に接続されている。
【0025】
メモリ13は、例えばフラッシュメモリ等の不揮発性メモリによって構成され、図2に示すように2つの記録領域A,Bを備えている。これら記録領域A,Bには、日時情報と表示情報とを含むデータをそれぞれ記録できるようになっている。詳しくは、図2に示すように、メモリ13は、日時情報α及び表示情報αを含むデータαと、日時情報αとは異なる日時情報β及び表示情報αとは異なる表示情報βを含むデータβとを記録可能となっている。つまり、メモリ13は、2種類のデータを記録可能となっている。なお、日時情報とはデータの有効開始日を示す情報であり、表示情報とは行き先や停留所名等の表示対象を示す情報である。
【0026】
RTC14は、現在の日時をカウントするICチップであり、現在の日時をCPU11に入力するようになっている。
データ入力部16は、図示しないメモリカードやメモリカセット等の記録媒体を着脱可能に構成されている。そして、データ入力部16は、該記録媒体が装着された際に同記録媒体に記録されたデータを読み取り、そのデータをCPU11に入力するようになっている。なお、本実施形態においてデータ入力部16は、非接触でデータを読み取り可能なICカード等の記録媒体を着脱可能に構成されている。
【0027】
ROM12には表示盤2の表示を制御するための所定の制御プログラムが格納され、CPU11はその制御プログラムに従って表示処理及びデータの記録処理を行うようになっている。そして、表示処理時においてCPU11は、メモリ13に記録されたデータと現在の日時とに基づいて表示信号を出力する。その表示信号はインターフェイス部15を介して表示盤2に入力され、同表示信号に基づいて各表示部2a,2bが表示される。
【0028】
こうしてCPU11は、有効開始日が現在の日時に達し、且つ現在の日時に最も近い有効開始日を示す日時情報を有するデータに基づいて表示処理(データ処理)を行うようになっている。詳しくは、図3(a)に示すように、メモリ13内に2つの既存データD1,D2が存在する場合、CPU11は、まず現在の日時と各既存データD1,D2の有効開始日とを比較する。なお、ここでは既存データD1の有効開始日よりも既存データD2の有効開始日の方が未来に設定されているものとする。そして、CPU11は、現在の日時がデータD1の有効開始日に達するまでの期間T1は、現状において使用可能なデータが存在しないものと判断する。よって、この期間T1においてCPU11は、表示盤2の第1表示部2aに、「有効なデータがありません」等のエラーメッセージを表示させる。また、CPU11は、現在の日時がデータD1の有効開始日からデータD2の有効開始日に達するまでの期間T2は、データD1を使用データとし、データD1に基づいて表示盤2の表示制御を行う。そして、CPU11は、現在の日時がデータD2の有効開始日に達した以降の期間T3は、データD2を使用データとし、データD2に基づいて表示盤2の表示制御を行う。つまり、CPU11は、現在の日時がデータD2の有効開始日に達すると、使用データをデータD1からデータD2に更新する。このため、例えば未来に運賃の改正がある場合、その運賃改正日を日時情報とし、改正後の運賃を表示情報とする運賃データを予めメモリ13に記録しておけば、現在の日時が運賃改正日に達したときに運賃データが自動的に切り換わる。よって、運賃データの更新を改正日に手動で行う必要がなく、操作性が向上するとともに、更新忘れも確実に防止される。
【0029】
また、CPU11は、データ入力部16から新たにデータが入力されると、その入力データをメモリ13の記録領域A,Bに記録するための記録処理を行う。CPU11は、新たにデータが入力されると、まず各記録領域A,Bに既に記録されているデータ(既存データ)が存在するか否かを判断する。そして、既存データが存在する場合、CPU11は、該既存データの日時情報が現在の日時以前であるか現在の日時よりも未来であるかを判断する。これにより、CPU11は、現在の日時以前の日時情報を有する既存データを許可データとし、現在の日時よりも未来の日時情報を有する既存データを待機データとして2種類のタイプに分類する。そして、CPU11は、既存データの有無や、入力データのタイプと既存データのタイプとの関係に応じて、入力データの記録処理をそれぞれ異なる態様で行うようになっている。そこで、CPU11によって行われる入力データの記録処理について、図4〜図9に従って詳細に説明する。この記録処理は、ROM12内に格納されたプログラムに基づいて実行される。また、このプログラムは、ROM12以外のコンピュータ読み出し可能な記録媒体に記録されてもよい。なお、以下の項目<1>〜<3>の場合における入力データD3の記録処理態様を一覧表としてまとめたものを図10に示す。なお、ここでは本発明を判りやすくするために全てのパターンについて説明するものの、中には正常な処理を行っている限り、起こり得ない状況下での記録処理をも含んでいる。それは、万が一CPU11が暴走して誤ったデータが入力されてしまった場合や、RTC14が狂った状態でデータ入力を行った後にRTC14を正常な状態に設定し直した場合などに対応させるためのものである。
【0030】
<1>記録領域A,B共に既存データが存在しない場合。
この場合CPU11は、図4に示すように、入力データD3が、現在の日時よりも過去の日時情報P1、現在の日時と同じ日時情報P2、現在の日時よりも未来の日時情報P3のうちのいずれの日時情報を有していても、入力データD3を記録領域Aに記録する。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bには何も記録されていない状態となる。
【0031】
<2>記録領域A,Bのうちの一方に既存データが存在し、他方には既存データが存在しない場合。
(2−1)記録領域Aに許可データD1が存在する場合。
【0032】
この場合、図5(a)に示すように、初期状態における記録領域Aに許可データである既存データD1が記録され、記録領域Bには何も記録されていない状態となっている。
【0033】
CPU11は、入力データD3が入力されると、その入力データD3が許可データであるか待機データであるかを判断する。すなわち、CPU11は、入力データD3の日時情報と現在の日時とを比較し、入力データD3の日時情報が現在の日時以前である場合、入力データD3を許可データとして分類する。また、入力データD3の日時情報が現在の日時よりも未来である場合、CPU11は入力データD3を待機データとして分類する。
【0034】
そして、CPU11は、入力データD3が許可データである場合、すなわち入力データD3が既存データD1と同タイプのデータである場合、既存データD1を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1〜P4を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD1が削除され、同記録領域Aに入力データD3が記録される。より詳しくは、入力データD3が既存データD1の日時情報よりも過去の日時情報P1を有する場合、入力データD3が既存データD1の日時情報と同じ日時情報P2を有する場合、入力データD3が現在の日時と既存データD1の日時情報との間の日時を示す日時情報P3を有する場合、入力データD3が現在の日時と同じ日時を示す日時情報P4を有する場合のうちのいずれの場合であっても、記録領域Aに入力データD3が記録される。なお、これらの場合、記録領域Bには何も記録されていないままとなる。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0035】
また、入力データD3が待機データである場合、すなわち入力データD3が既存データD1と異なるタイプのデータである場合、CPU11は、空き領域である記録領域Bに入力データD3を記録する処理を行う。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P5を有する入力データD3が入力された場合には、その入力データD3が記録領域Bに記録される。なお、CPU11は、記録領域Aに記録されている既存データD1は、記録した状態のままとする。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに既存データD1が記録され、記録領域Bに入力データD3が記録された状態となる。
【0036】
(2−2)記録領域Bに許可データD1が存在する場合。
この場合、図5(b)に示すように、初期状態における記録領域Aには何も記録されておらず、記録領域Bに許可データである既存データD1が記録された状態となっている。
【0037】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が既存データD1と同タイプのデータである場合、CPU11は、記録領域Bに記録された既存データD1を削除するとともに、入力データD3を記録領域Aに記録する処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1〜P4を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD1が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0038】
また、入力データD3が待機データである場合、すなわち入力データD3が既存データD1と異なるタイプのデータである場合、CPU11は、記録領域Bに記録された既存データD1を記録した状態のまま、空き領域である記録領域Aに入力データD3を記録する処理を行う。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P5を有する入力データD3が入力された場合には、その入力データD3が記録領域Aに記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bに既存データD1が記録された状態となる。
【0039】
(2−3)記録領域Aに待機データD1が存在する場合。
この場合、図6(a)に示すように、初期状態における記録領域Aに待機データである既存データD1が記録され、記録領域Bには何も記録されていない状態となっている。
【0040】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が既存データD1と異なるタイプのデータである場合、CPU11は、記録領域Aに記録された既存データD1を記録した状態のまま、空き領域である記録領域Bに入力データD3を記録する処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1,P2を有する入力データD3が入力された場合には、その入力データD3が記録領域Bに記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに既存データD1が記録され、記録領域Bに入力データD3が記録された状態となる。
【0041】
また、入力データD3が待機データである場合、すなわち入力データD3が既存データD1と同タイプのデータである場合、CPU11は、既存データD1を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P3〜P5を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD1が削除され、記録領域Aに入力データD3が記録される。より詳しくは、入力データD3が既存データD1の日時情報よりも現在の日時に近い日時情報P3を有する場合、入力データD3が既存データD1の日時情報と同じ日時情報P4を有する場合、入力データD3が既存データD1の日時情報よりも未来の日時情報P5を有する場合のうちのいずれの場合であっても、既存データD1が入力データD3に書き換えられ、記録領域Aに入力データD3が記録される。なお、これらの場合、記録領域Bには何も記録されていないままとなる。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0042】
(2−4)記録領域Bに待機データD1が存在する場合。
この場合、図6(b)に示すように、初期状態における記録領域Aには何も記録されておらず、記録領域Bに待機データである既存データD1が記録された状態となっている。
【0043】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が既存データD1と異なるタイプのデータである場合、CPU11は、記録領域Bに記録された既存データD1を記録した状態のまま、空き領域である記録領域Aに入力データD3を記録する処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1,P2を有する入力データD3が入力された場合には、その入力データD3が記録領域Aに記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bに既存データD1が記録された状態となる。
【0044】
また、入力データD3が待機データである場合、すなわち入力データD3が既存データD1と同タイプのデータである場合、CPU11は、記録領域Bに記録された既存データD1を削除するとともに、入力データD3を記録領域Aに記録する処理を行う。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P3〜P5を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD1が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0045】
したがって、上記項目(2−1)〜(2−4)に記載したように、各記録領域A,Bのうちのいずれか一方に入力データD3と同タイプの既存データD1が記録されている場合、CPU11は、その既存データD1を入力データD3に書き換える処理を行う。なお、上記項目(2−2)及び項目(2−4)に記載したように、本実施形態においてCPU11は、入力データD3を記録領域Aに優先的に記録するようになっている。
【0046】
また、各記録領域A,Bのうちの一方に入力データD3と異なるタイプの既存データD1が記録され、他方の記録領域A,Bが空き領域である場合、CPU11は、空き領域に入力データD3を記録する処理を行う。
【0047】
<3>記録領域A,B共に既存データが存在する場合。
(3−1)日時情報の関係が、「記録領域A<記録領域B≦現在」(過去<未来)となっている場合。
【0048】
この場合、図7(a)に示すように、初期状態における記録領域Aに許可データである既存データD1が記録され、その既存データD1の日時情報よりも現在の日時に近い日時情報を有する許可データである既存データD2が記録領域Bに記録された状態となっている。つまりここでは、各記録領域A,Bにそれぞれ同タイプの既存データD1,D2が記録された状態となっている。
【0049】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が各既存データD1,D2と同タイプのデータである場合、CPU11は、各記録領域A,Bに記録された各既存データD1,D2を共に削除して該入力データD3を記録領域Aに記録する処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1〜P6を有する入力データD3が入力された場合には、各既存データD1,D2が削除され、その入力データD3が記録領域Aに記録される。より詳しくは、入力データD3が既存データD1よりも過去の日時情報P1を有する場合、入力データD3が既存データD1と同じ日時情報P2を有する場合、入力データD3が既存データD1の日時情報と既存データD2の日時情報との間の日時を示す日時情報P3を有する場合、入力データD3が既存データD2と同じ日時情報P4を有する場合、入力データD3が既存データD2の日時情報と現在の日時との間の日時を示す日時情報P5を有する場合、入力データD3が現在の日時と同じ日時を示す日時情報P6を有する場合のうちのいずれの場合であっても、各既存データD1,D2が削除されて、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0050】
また、入力データD3が待機データである場合、すなわち入力データD3が各既存データD1,D2と異なるタイプのデータである場合、CPU11は、既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データを入力データD3に書き換える処理を行う。つまり、この場合には既存データD2よりも既存データD1の方が現在の日時から遠い日時情報を有しているため、CPU11は、記録領域Aに記録された既存データD1を削除するとともに、入力データD3を記録領域Aに記録する。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P7を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD1が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3(待機データ)が記録され、記録領域Bに既存データD2(許可データ)が記録された状態となる。
【0051】
(3−2)日時情報の関係が、「記録領域B<記録領域A≦現在」(過去<未来)となっている場合。
この場合、図7(b)に示すように、初期状態における記録領域Bに許可データである既存データD1が記録され、その既存データD1の日時情報よりも現在の日時に近い許可データである既存データD2が記録領域Aに記録された状態となっている。つまりここでは、上記項目(3−1)と同様に、各記録領域A,Bにそれぞれ同タイプの既存データD1,D2が記録された状態となっている。
【0052】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が各既存データD1,D2と同タイプの日時情報を有している場合、CPU11は、上記項目(3−1)と同様の処理を行う。つまり、CPU11は、各既存データD1,D2を削除し、その記録領域Aに入力データD3を記録する処理を行う。このため、同図に示すように、現在の日時以前の日時を示す日時情報P1〜P6を有する入力データD3が入力された場合には、各既存データD1,D2が削除され、その入力データD3が記録領域Aに記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0053】
また、入力データD3が待機データである場合、すなわち入力データD3が各既存データD1,D2と異なるタイプのデータである場合、CPU11は、上記項目(3−1)と同様の処理を行う。つまり、CPU11は、既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データを入力データD3に書き換える処理を行う。この場合においても既存データD2よりも既存データD1の方が現在の日時から遠い日時情報を有しているため、CPU11は、記録領域Bに記録された既存データD1を削除するとともに、入力データD3を記録領域Bに記録する。このため、同図に示すように、現在の日時よりも未来の日時を示す日時情報P7を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD1が削除され、記録領域Bに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに既存データD2(許可データ)が記録され、記録領域Bに入力データD3(待機データ)が記録された状態となる。すなわち、上記項目(3−1)と比較すると、記録領域A,Bに対する既存データD2及び入力データD3の記録状態が逆の関係となる。
【0054】
(3−3)日時情報の関係が、「記録領域A,B=現在」となっている場合。
この場合、図7(c)に示すように、初期状態における現在の日時と同じ日時情報を有する許可データである既存データD1が記録領域Aに記録され、その既存データD1の日時情報と同じ日時情報を有する既存データD2が記録領域Bに記録された状態となっている。
【0055】
こうした場合においても、CPU11は、入力データD3が各既存データD1,D2と同タイプのデータであれば、各既存データD1,D2を削除して入力データD3を記録領域Aに記録する処理を行う。このため、同図に示すように、現在の日時以前の日時情報P1,P2を有する入力データD3が入力された場合には、各記録領域A,Bに記録された既存データD1,D2が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0056】
また、CPU11は、入力データD3が各既存データD1,D2と異なるタイプのデータであれば、記録領域Bに記録された既存データ(ここでは既存データD2)を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時よりも未来の日時情報P3を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD2が削除され、その記録領域Bに入力データD3が記録される。これは、記録領域Aが記録領域Bに優先して記録されるように決めてあるため、記録領域Bのデータの方が重要度が低いとみなされるためである。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに既存データD1(許可データ)が記録され、記録領域Bに入力データD3(待機データ)が記録された状態となる。
【0057】
したがって、上記項目(3−1)〜(3−3)に記載したように、各記録領域A,Bにそれぞれ入力データD3と同タイプの既存データD1,D2が記録されている場合、CPU11は、それら既存データD1,D2を共に削除し、記録領域Aに入力データD3を記録する処理を行う。
【0058】
また、各記録領域A,Bにそれぞれ入力データD3と異なるタイプの既存データD1,D2が記録されている場合、CPU11は、それら既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データD1,D2を入力データD3に書き換える処理を行う。
【0059】
(3−4)日時情報の関係が、「記録領域A≦現在<記録領域B」(過去<未来)となっている場合。
この場合、図8(a)に示すように、初期状態における記録領域Aに許可データである既存データD1が記録され、記録領域Bに待機データである既存データD2が記録された状態となっている。つまりここでは、記録領域A,Bにそれぞれ異なるタイプのデータが記録された状態となっている。
【0060】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が既存データD1と同タイプのデータである場合、CPU11は、既存データD1を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時以前の日時情報P1〜P4を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD1が削除され、その記録領域Aに入力データD3が記録される。より詳しくは、入力データD3が既存データD1よりも過去の日時情報P1を有する場合、入力データD3が既存データD1と同じ日時情報P2を有する場合、入力データD3が既存データD1の日時情報と現在の日時との間の日時を示す日時情報P3を有する場合、入力データD3が現在の日時と同じ日時を示す日時情報P4を有する場合のうちのいずれの場合であっても、既存データD1が削除されて、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理時において、メモリ13は、記録領域Aに入力データD3(許可データ)が記録され、記録領域Bに既存データD2(待機データ)が記録された状態となる。
【0061】
また、CPU11は、入力データD3が待機データである場合、すなわち入力データD3が既存データD2と同タイプのデータである場合、CPU11は、既存データD2を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時よりも未来の日時情報P5〜P7を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD2が削除され、その記録領域Bに入力データD3が記録される。より詳しくは、入力データD3が現在の日時と既存データD2の日時情報との間の日時を示す日時情報P5を有する場合、入力データD3が既存データD2と同じ日時情報P6を有する場合、入力データD3が既存データD2よりも未来の日時情報P7を有する場合のうちのいずれの場合であっても、既存データD2が削除されて、記録領域Bに入力データD3が記録される。よって、入力データD3の記録処理時において、メモリ13は、記録領域Aに既存データD1が記録され、記録領域Bに入力データD3が記録された状態となる。
【0062】
したがって、メモリ13にそれぞれ異なるタイプの既存データが存在する場合、CPU11は、入力データD3と同タイプの既存データD1,D2を入力データD3に書き換える処理を行うようになっている。
【0063】
(3−5)日時情報の関係が、「記録領域B≦現在<記録領域A」(過去<未来)となっている場合。
この場合、図8(b)に示すように、初期状態における記録領域Bに許可データである既存データD1が記録され、記録領域Aに待機データである既存データD2が記録された状態となっている。
【0064】
そして、入力データD3が入力されると、上記項目(3−4)と同様に、この状態においてもCPU11は入力データD3と同じタイプの既存データD1,D2を入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時以前の日時情報P1〜P4を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD1が削除され、その記録領域Bに入力データD3が記録される。よって、入力データD3の記録処理時において、メモリ13は、記録領域Aに既存データD2が記録され、記録領域Bに入力データD3が記録された状態となる。
【0065】
また、現在の日時よりも未来の日時情報P5〜P7を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD2が削除され、その記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bに既存データD1が記録された状態となる。
【0066】
(3−6)日時情報の関係が、「現在<記録領域A<記録領域B」(過去<未来)となっている場合。
この場合、図9(a)に示すように、初期状態における記録領域Aに待機データである既存データD1が記録され、その既存データD1の日時情報よりも未来の日時情報を有する待機データである既存データD2が記録領域Bに記録された状態となっている。
【0067】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が各既存データD1,D2と異なるタイプのデータである場合、CPU11は、既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データを入力データD3に書き換える処理を行う。つまり、この場合には既存データD1よりも既存データD2の方が現在の日時から遠い日時情報を有しているため、CPU11は、記録領域Bに記録された既存データD2を削除するとともに、入力データD3を記録領域Bに記録する。このため、同図に示すように、現在の日時以前の日時情報P1,P2を有する入力データD3が入力された場合には、記録領域Bに記録された既存データD2が削除され、記録領域Bに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに既存データD1(待機データ)が記録され、記録領域Bに入力データD3(許可データ)が記録された状態となる。
【0068】
また、入力データD3が待機データである場合、すなわち入力データD3が各既存データD1,D2と同じタイプのデータである場合、CPU11は、各記録領域A,Bに記録された各既存データD1,D2を共に削除して該入力データD3を記録領域Aに記録する処理を行う。このため、同図に示すように、現在の日時よりも未来の日時情報P3〜P7を有する入力データD3が入力された場合には、各既存データD1,D2が削除され、その入力データD3が記録領域Aに記録される。より詳しくは、入力データD3が現在の日時と既存データD1の日時情報との間の日時を示す日時情報P3を有する場合、入力データD3が既存データD1と同じ日時情報P4を有する場合、入力データD3が既存データD1の日時情報と既存データD2の日時情報との間の日時を示す日時情報P5を有する場合、入力データD3が既存データD2と同じ日時情報P6を有する場合、入力データD3が既存データD2の日時情報よりも未来の日時を示す日時情報P7を有する場合のうちのいずれの場合であっても、各既存データD1,D2が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0069】
(3−7)日時情報の関係が、「現在<記録領域B<記録領域A」(過去<未来)となっている場合。
この場合、図9(b)に示すように、初期状態における記録領域Bに待機データである既存データD1が記録され、その既存データD1の日時情報よりも未来の日時情報を有する待機データである既存データD2が記録領域Aに記録された状態となっている。つまりここでは、上記項目(3−6)と同様に、各記録領域A,Bにそれぞれ同タイプの既存データD1,D2が記録された状態となっている。
【0070】
そして、CPU11は、入力データD3が入力されると、前記入力データD3の分類を行う。これにより、入力データD3が許可データである場合、すなわち入力データD3が各既存データD1,D2と異なるタイプのデータである場合、CPU11は、上記項目(3−6)と同様の処理を行う。つまり、CPU11は、既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データを入力データD3に書き換える処理を行う。このため、同図に示すように、現在の日時以前の日時情報P1,P2を有する入力データD3が入力された場合には、記録領域Aに記録された既存データD2が削除され、記録領域Aに入力データD3が記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3(許可データ)が記録され、記録領域Bに既存データD1(待機データ)が記録された状態となる。すなわち、上記項目(3−6)と比較すると、記録領域A,Bに対する既存データD1及び入力データD3の記録状態が逆の関係となる。
【0071】
また、入力データD3が待機データである場合、すなわち入力データD3が各既存データD1,D2と同じタイプのデータである場合、CPU11は、上記項目(3−6)と同様の処理を行う。このため、同図に示すように、現在の日時よりも未来の日時情報P3〜P7を有する入力データD3が入力された場合には、各既存データD1,D2が削除され、その入力データD3が記録領域Aに記録される。よって、入力データD3の記録処理完了時において、メモリ13は、記録領域Aに入力データD3が記録され、記録領域Bが空き領域となった状態となる。
【0072】
この結果、上記項目(3−6),(3−7)においては、前述した項目(3−1)〜(3−3)と同様に、各記録領域A,Bにそれぞれ入力データD3と同タイプの既存データD1,D2が記録されている場合、CPU11は、それら既存データD1,D2を共に削除し、記録領域Aに入力データD3を記録する処理を行う。
【0073】
また、各記録領域A,Bにそれぞれ入力データD3と異なるタイプの既存データD1,D2が記録されている場合、CPU11は、それら既存データD1,D2のうち、現在の日時から遠い日時情報を有する既存データD1,D2を入力データD3に書き換える処理を行う。
【0074】
したがって、上記各項目<2>〜<3>に記載したように、記録領域A,Bのうちの少なくとも一方に既存データが存在する状態で入力データが入力された場合、CPU11は、現在の日時と既存データ及び入力データの日時情報との関係からそれらデータを2種類のタイプに分類するタイプ分類手順と、既存データのタイプと入力データのタイプとを比較するタイプ比較手順と、その比較結果に基づいて入力データを記録すべき記録領域A,Bを決定する手順とを実行させるためのプログラムに基づいて記録処理を行うようになっている。
【0075】
よって、本実施形態によれば以下のような効果を得ることができる。
(1)前記各項目<1>〜<3>に記載したように、CPU11は、新たなデータD3が入力されると、各記録領域A,Bにその入力データD3を記録可能な空き領域が存在するか否かにかかわらず、該入力データD3を優先的に記録領域A,Bに記録する。すなわち、記録領域A,Bに空き領域が存在する場合はもちろんのこと、該空き領域が存在しない場合であっても、既に記録されている既存データD1,D2のうちの少なくとも一方が削除され、その空き領域に入力データD3が記録される。このため、入力データD3を必ず記録させることができ、データの更新を確実に行うことができる。
【0076】
(2)前記項目<2>及び<3>に記載したように、CPU11は、記録領域A,Bのうちの少なくとも一方に既存データD1,D2が存在する場合には、現在の日時が有効開始日に達しているか否かに基づいて入力データD3及び既存データD1,D2を2タイプに分類する。そして、CPU11は、入力データD3のタイプと該既存データD1,D2のタイプとに基づいて入力データD3を記録すべき記録領域A,Bを決定する。つまり、入力データD3は、既存データD1,D2の有効開始日と現在日時との関係を鑑みつつ記録領域A,Bに記録される。このため、既存データD1,D2の有効開始日と現在日時とを考慮した入力データD3の記録処理を行うことができる。
【0077】
(3)通常、既存データに誤りがあった場合に既存データと同タイプのデータを入力する。しかし、前記従来の運賃表示器では、各記録領域のうちの一方に入力データと同タイプの既存データが存在し、他方が空き領域となっている場合、入力データは空き領域に記録されるようになっている。このため、入力データの記録処理完了時においても記録部には誤ったデータが記録されたままとなる。よって、従来の運賃表示器では、誤ったデータに基づいて表示盤2の表示制御が行われてしまうおそれがある。
【0078】
これに対し、本実施形態では、前記項目<2>及び<3>に記載したように、各記録領域A,Bのうちのいずれか一方に入力データと同タイプの既存データが存在する場合には、その同タイプの既存データが入力データに書き換えられる。このため、誤ったデータを確実に削除することができ、誤ったデータに基づいて表示盤2の表示制御が行われてしまうといった不都合を防止することができる。
【0079】
(4)前記項目(3−1)〜(3−3),(3−6),(3−7)に記載したように、入力データD3と同タイプの既存データD1,D2が各記録領域にそれぞれ記録されている場合には、それら既存データD1,D2が共に削除されて入力データD3が記録領域Aに記録される。このため、メモリ13には入力データD3のみが記録された状態となる。通常、メモリ13に同タイプのデータが2つ記録されていても、CPU11はそのうちの一方のデータに基づいて表示処理を行うため、もう一方のデータは不要である。よって、不要なデータを確実に削除することができ、CPU11が不要なデータに基づいて表示処理を行ってしまうといった不都合を確実に防止することができる。
【0080】
(5)前記項目(2−1)〜(2−4)に記載したように、各記録領域A,Bのうちの一方に入力データD3と異なるタイプの既存データD1が記録され、他方の記録領域が空き領域である場合には、その空き領域に入力データD3が記録される。通常、記録領域A,Bの一方に入力データD3と異なるタイプの既存データD1が記録されている場合、その既存データD1は表示処理に必要なデータである。このため、入力データD3の記録処理完了時において、メモリ13には必要なデータのみが記録された状態となる。よって、CPU11が、不要なデータに基づいて表示処理を行ってしまったり、必要なデータに基づいて表示処理を行うことができなくなったりするといった不都合を確実に防止することができる。
【0081】
(6)前記項目(3−1),(3−2),(3−4),(3−5)に記載したように、入力データD3と異なるタイプの既存データD1,D2が各記録領域A,Bにそれぞれ記録されている場合には、それら既存データD1,D2の有効開始日と現在の日時とが比較され、有効開始日が現在の日時から離れているデータが入力データD3に書き換えられる。通常、メモリ13に同タイプのデータが2つ記録されている場合、CPU11は、有効開始日が現在の日時に近いデータのみに基づいて表示処理を行う。すなわち、有効開始日が現在の日時から離れているデータは不要である。よって、不要なデータを入力データD3に書き換えることにより、必要なデータのみを記録領域A,Bに記録させることができる。したがって、CPU11が不要なデータに基づいて表示処理を行ってしまうといった不都合を確実に防止することができる。
【0082】
なお、本発明の実施形態は以下のように変更してもよい。
・ 前記実施形態では、項目(2−2)及び(2−4)に記載したように、記録領域Aが空き領域、記録領域Bに入力データD3と同タイプの既存データD1が存在する場合、入力データD3は記録領域Aに優先的に記録されるようになっている。しかし、こうした場合、入力データD3は記録領域Bに記録されるようになっていてもよい。つまり、記録領域Aを優先させず、既存データD1が入力データD3に書き換えられるようになっていてもよい。
【0083】
・ 前記実施形態では、前記項目(3−3)に記載したように、各記録領域A,Bに同じ日時情報を有する既存データD1,D2が記録されている場合、それら既存データD1,D2と異なるタイプの入力データD3が入力されると、記録領域Bに記録された既存データD2が入力データD3に書き換えられる。しかし、こうした場合、記録領域Aに記録された既存データD1が入力データD3に書き換えられるようにCPU11の制御態様を変更してもよい。
【0084】
・ 前記実施形態においてCPU11は、前記各項目<1>〜<3>に示した各記録処理態様を全て行うようになっている。しかし、CPU11は、これら記録処理態様の全てに限らず、これらのうちの少なくとも2つを選択的に行うようになっていてもよい。例えば、項目(3−1)においてCPU11は、各既存データD1,D2と同じタイプの入力データD3が入力された場合、両既存データD1,D2を削除して記録領域Aに入力データD3を記録するようになっている。しかし、CPU11は、既存データD1,D2のうちの一方のデータのみが入力データD3よりも優先されてしまうおそれがある場合には、こうした項目(3−1)の処理を行わず、その既存データを入力データD3に書き換えるようになっていてもよい。なお、この場合の「優先されてしまう」とは、入力データD3の有効開始日と現在の日時との差よりも、該既存データの有効開始日と現在の日時との差が小さいことを意味する。つまり、こうした場合での入力データD3の記録処理完了時において、メモリ13は、入力データD3と既存データD1(or既存データD2)とを記録した状態となっていてもよい。
【0085】
・ メモリ13に許可データが2つ存在する場合には、それら許可データのうち、現在の日時から遠い日時を示す日時情報を有する許可データを自動的に削除するようにしてもよい。例えば初期状態においてメモリ13に許可データと待機データとが記録されていても、現在の日時が待機データの日時情報に達すると、メモリ13には2つの許可データが存在する状態となる。そして、この状態では、初期状態における許可データが不要となる。また、同許可データの日時情報の方が初期状態における待機データの日時情報よりも現在の日時から遠くなる。よって、このようにすれば、不要なデータを確実に削除することができ、該不要なデータに基づいて表示処理が行われてしまうといった不都合を確実に防止することができる。
【0086】
・ 前記実施形態では、データ処理機器としてバスの運賃表示器に具体化されている。しかし、データ処理機器は、これに限らず、例えば、鉄道車両用運賃表示器、切符などの券売機、飲料水などの自動販売機、生産管理盤等、使用するデータを有効開始日に基づいて変更して処理を行う機器であれば、何でも適用可能である。
【0087】
次に、特許請求の範囲に記載された技術的思想のほかに、前述した実施形態によって把握される技術的思想を以下に列挙する。
(1) 請求項2〜6のいずれか1項に記載のデータの記録方法において、前記各記録領域に前記入力データと異なるタイプの既存データが存在しない場合、前記制御手段は、前記入力データを前記各記録領域のうちの一方に優先的に記録すること。
【0088】
(2) 有効開始日を含むデータをそれぞれ記録可能な2つの記録領域と、現在の日時が前記データの有効開始日に達したことを条件として、そのデータに基づく処理を行う制御手段とを備えるデータ処理機器におけるデータの記録方法において、前記制御手段は、前記記録領域に記録すべく前記データが入力されたとき、前記記録領域に該入力データを記録可能な空き領域が存在しない場合には、既に記録されている既存データのうちの少なくとも一方を削除して該入力データを記録することを特徴とするデータの記録方法。
【0089】
(3) 有効開始日を含むデータをそれぞれ記録可能な2つの記録領域と、現在の日時が前記データの有効開始日に達したことを条件として、そのデータに基づくデータ処理を行うとともに、前記データが入力されたとき、前記記録領域に該入力データを記録可能な空き領域の存在有無にかかわらず、該入力データを優先的に前記記録領域に記録する記録処理を行うコンピュータに、前記記録領域のうちの少なくとも一方に既に記録された既存データが存在する状態で前記入力データが入力された場合に、現在の日時と既存データ及び入力データの日時情報との関係からそれらデータを2種類のタイプに分類するタイプ分類手順と、既存データのタイプと入力データのタイプとを比較するタイプ比較手順と、その比較結果に基づいて入力データを記録すべき記録領域A,Bを決定する手順とを実行させるための記録処理プログラム。
【0090】
【発明の効果】
以上詳述したように、請求項1〜に記載の発明によれば、データの更新を確実に行うことができる。
【図面の簡単な説明】
【図1】本発明をバスの運賃表示器に具体化した一実施形態の概略構成を示すブロック図。
【図2】同実施形態に用いられる記録部の概略構成を示す説明図。
【図3】(a),(b)は、同実施形態の制御手段のデータ処理態様を示す説明図。
【図4】同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図5】(a),(b)は、同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図6】(a),(b)は、同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図7】(a)〜(c)は、同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図8】(a),(b)は、同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図9】(a),(b)は、同実施形態の制御手段によって行われる入力データの記録処理態様を示す説明図。
【図10】同実施形態の制御手段によって行われる入力データの記録処理態様をまとめた一覧表。
【符号の説明】
1…運賃表示器、2…表示盤、3…制御装置、11…制御手段としてのCPU、13…記録部としてのメモリ、16…データ入力部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data recording method in a data processing device embodied as, for example, a bus fare indicator.
[0002]
[Prior art]
As a specific example of a data processing device that performs processing based on the data that includes the effective start time is recorded and the current date and time has reached the effective start time of the data, a bus fare indicator Etc.
[0003]
Conventionally, this type of fare indicator includes a recording unit having a recording area capable of recording fare data including date information and fare information indicating the effective start date, and a control unit that performs processing based on the fare data. ing. The recording unit includes two recording areas in which two types of fare data can be recorded, and the control unit performs processing based on fare data whose current date and time has reached the effective start date. When the current date / time has reached the effective start date of both fare data, the control unit performs processing based on the fare data including the effective start date close to the current date / time. Therefore, for example, fare data in which a future fare revision date is set as an effective start date can be recorded in advance together with the current fare data. In this way, the display is performed in the fare system based on the current fare data until the fare revision date, and after the fare revision date, the display is automatically switched to the display of the fare system based on the new fare data.
[0004]
Therefore, when the fare data is newly input, and the vacant area exists in the recording unit, the control unit records the input data in the vacant area. On the other hand, when there is no free space in the recording unit, the human confirms the contents of the existing data that has already been recorded, and manually rewrites the existing data that is determined to be unnecessary to input data. In addition, when trying to do this automatically, the control unit first calculates the difference between the valid start date of the input data and the current date and time, and the valid start date and current date and time of the existing data already recorded. Compare the differences. If the difference between the valid start date of the input data and the current date / time is smaller than the difference between the valid start date of the existing data and the current date / time, the control unit rewrites the existing data to the input data. The control unit prohibits recording of the input data if the difference between the valid start date of the input data and the current date and time is larger than the difference between the valid start date of the existing data and the current date and time. That is, the control unit validates existing data when the valid start date of the existing data is closer to the current date and time than the valid start date of the input data.
[0005]
[Problems to be solved by the invention]
By the way, when there is an error in the existing data, it is necessary to update the fare data by inputting the correct data again.
[0006]
However, in the conventional fare indicator, for example, if fare data including an incorrect effective start date is recorded as existing data, the data is updated unless the input date is closer to the current date than the erroneous effective start date. The problem that it is not possible to do.
[0007]
In addition, rewriting the input data that is determined to be unnecessary by checking the contents of the existing data by humans is troublesome and may cause a new human error.
[0008]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a data recording method capable of reliably updating data.
[0009]
[Means for Solving the Problems]
  In order to solve the above-mentioned problem, in the invention according to claim 1,
Two records that can record data including the effective start timeeachIn a data recording method in a data processing device comprising a recording means having a recording area, and a control means for performing data processing based on the data on the condition that the current date and time has reached the effective start time of the data,
  The control means, when the data is input, if there is no existing data already recorded in each recording area, performs a recording process to record the input data in the recording area,
  When the existing data exists in any one of the recording areas, the existing data is based on whether the current date and time has reached the valid start time of the existing data and the valid start time of the input data. And classifying each of the input data into two types, comparing the type of the input data with the type of the existing data,
  When the input data is the same type as the existing data, the existing data of the same type is rewritten to the input data.This is the gist.
[0012]
  Claim 2In the invention described inClaim 1When the existing data of the same type as the input data is present in each of the recording areas, the control means deletes both the existing data and deletes the input data as one of the input data. The gist is to record in the recording area.
[0013]
  Claim 3In the invention described inClaim or claim 2In the data recording method described in the above, when the existing data of a different type from the input data exists in one of the recording areas and the other recording area is a free area, the control means includes the free area. The gist is to record the input data.
[0014]
  Claim 4In the described invention,Claims 1-3In the data recording method described in any one of the above items, when existing data of a different type from the input data exists in each of the recording areas, the control means includes the effective start time and the current date and time of the existing data. The gist is to rewrite existing data whose effective start time is far from the current date and time to the input data.
[0015]
  The “action” of the present invention will be described below.
  According to the first aspect of the present invention, when data is input, if there is no existing data in each recording area, the control means stores the input data in any one of the recording areas. The recording process to record is performed.
[0016]
  Also,The control means is configured toEither oneIf there is already recorded existing data, the data is classified into two types based on whether the current date and time has reached the valid start time. A recording area in which the input data is to be recorded is determined based on the type of the input data and the type of the existing data. That is, the input data is recorded in the recording area in consideration of the relationship between the valid start time of the existing data and the current date and time. For this reason, it is possible to record the input data in consideration of the valid start time of the existing data and the current date and time.
[0017]
Note that the effective start time indicates the concept of time such as year, month, week, day, hour, minute, second, and for example, an effective start date constituted by a date such as “○ month ○ day” or “○ It is defined as indicating the effective start date and time composed of the date and time such as “month, day, and hour”.
[0018]
  Furthermore,When data of the same type as the input data is recorded in any one of the recording areas, the existing data of the same type is rewritten to the input data. Usually, when there is an error in the existing data, the same type of data as the existing data is input. Therefore, by replacing the existing data of the same type with the input data, the erroneous data can be surely deleted. Therefore, it is possible to prevent processing from being performed based on erroneous data.
[0019]
  Claim 2According to the invention described in the above, when data of the same type as the input data is recorded in each recording area, the recorded data is deleted together and the input data is recorded in one of the recording areas. Is done. For this reason, only the input data is recorded in the recording area. Usually, even if two data of the same type are recorded, the control means performs processing based on one of them, so the other data is unnecessary. Therefore, unnecessary data can be surely deleted, and processing is not performed based on unnecessary data.
[0020]
  Claim 3According to the invention described in (1), data of a type different from the input data is recorded in one of the recording areas, and when the other recording area is an empty area, the input data is recorded in the empty area. Usually, when data of a different type from the input data is recorded in one of the recording areas, the existing data is necessary data. Therefore, only necessary data is recorded in the recording area.
[0021]
  Claim 4According to the invention described in the above, when data of a different type from the input data is recorded in each recording area, the effective start time of the recorded data is compared with the current date and time, and the effective start time is compared. Is rewritten as input data. Usually, when two pieces of data of the same type are recorded, the control means performs processing based only on data whose effective start time is close to the current date and time. That is, data whose effective start time is away from the current date and time is unnecessary. Therefore, only necessary data can be recorded in the recording area by rewriting unnecessary data to input data.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is embodied in a bus fare indicator will be described in detail with reference to FIGS.
[0023]
As shown in FIG. 1, the fare indicator 1 includes a display panel 2 and a control device 3.
The display panel 2 is disposed at a position where passengers can easily see at a front position in a bus car (not shown). As shown in the figure, in the present embodiment, the surface of the display panel 2 is provided with a first display portion 2a that is configured by dot LEDs and displays a destination, a stop name, and the like. In addition, a plurality of numbers (here, 1 to 20) are assigned to the surface of the display panel 2, and a plurality of (here, 20) configured by a plurality of 7-segment LEDs are provided at positions corresponding to the numbers. Number of second display portions 2b. Each number corresponds to the number attached to the numbered ticket issued in the vehicle when the vehicle is boarded, and the fare is displayed on each second display portion 2b. That is, the fare corresponding to the number assigned to the numbered ticket is displayed on the display panel 2.
[0024]
The control device 3 is arranged around the driver's seat and includes a CPU 11 as a control means, a ROM 12, a memory 13 as a recording means, a real time clock (RTC) 14, an interface 15, and a data input unit 16. The ROM 12, the memory 13, the RTC 14, the interface 15 and the data input unit 16 are electrically connected to the CPU 11. Further, the interface 15 and the display panel 2 are electrically connected.
[0025]
The memory 13 is composed of a nonvolatile memory such as a flash memory, for example, and includes two recording areas A and B as shown in FIG. In these recording areas A and B, data including date and time information and display information can be recorded. Specifically, as illustrated in FIG. 2, the memory 13 includes data α including date information α and display information α, date information β different from date information α, and data β including display information β different from display information α. Can be recorded. That is, the memory 13 can record two types of data. The date / time information is information indicating the effective start date of the data, and the display information is information indicating a display target such as a destination or a stop name.
[0026]
The RTC 14 is an IC chip that counts the current date and time, and inputs the current date and time to the CPU 11.
The data input unit 16 is configured to be detachable from a recording medium such as a memory card or a memory cassette (not shown). The data input unit 16 reads data recorded on the recording medium when the recording medium is loaded, and inputs the data to the CPU 11. In the present embodiment, the data input unit 16 is configured to be detachable from a recording medium such as an IC card that can read data without contact.
[0027]
The ROM 12 stores a predetermined control program for controlling the display on the display panel 2, and the CPU 11 performs display processing and data recording processing according to the control program. Then, during the display process, the CPU 11 outputs a display signal based on the data recorded in the memory 13 and the current date and time. The display signal is input to the display panel 2 through the interface unit 15, and the display units 2a and 2b are displayed based on the display signal.
[0028]
In this way, the CPU 11 performs display processing (data processing) based on data having date / time information indicating the effective start date closest to the current date / time when the valid start date has reached the current date / time. Specifically, as shown in FIG. 3A, when two existing data D1 and D2 exist in the memory 13, the CPU 11 first compares the current date and the effective start date of each existing data D1 and D2. To do. Here, it is assumed that the valid start date of the existing data D2 is set in the future rather than the valid start date of the existing data D1. Then, the CPU 11 determines that there is no data that can be currently used during the period T1 until the current date and time reaches the effective start date of the data D1. Therefore, in this period T1, the CPU 11 displays an error message such as “no valid data” on the first display unit 2a of the display panel 2. Further, the CPU 11 controls the display panel 2 based on the data D1, using the data D1 as the use data during a period T2 from when the current date and time reaches the valid start date of the data D2. . Then, the CPU 11 controls the display panel 2 based on the data D2 during the period T3 after the current date and time reaches the effective start date of the data D2, using the data D2 as usage data. That is, when the current date and time reaches the effective start date of the data D2, the CPU 11 updates the usage data from the data D1 to the data D2. Therefore, for example, if there is a fare revision in the future, if the fare data with the fare revision date as date / time information and the revised fare as display information is recorded in the memory 13 in advance, the current date / time is revised. Fare data switches automatically when the day is reached. Therefore, it is not necessary to manually update the fare data on the revised date, which improves operability and reliably prevents forgetting to update.
[0029]
In addition, when new data is input from the data input unit 16, the CPU 11 performs a recording process for recording the input data in the recording areas A and B of the memory 13. When new data is input, the CPU 11 first determines whether or not data (existing data) already recorded in the recording areas A and B exists. When the existing data exists, the CPU 11 determines whether the date / time information of the existing data is before the current date / time or in the future than the current date / time. As a result, the CPU 11 classifies the existing data having date / time information before the current date / time as permission data, and classifies the existing data having date / time information in the future as the standby data into two types. The CPU 11 is configured to perform input data recording processing in different manners depending on the presence or absence of existing data and the relationship between the type of input data and the type of existing data. The input data recording process performed by the CPU 11 will be described in detail with reference to FIGS. This recording process is executed based on a program stored in the ROM 12. Further, this program may be recorded on a computer-readable recording medium other than the ROM 12. FIG. 10 shows a summary of the recording processing mode of the input data D3 in the case of the following items <1> to <3>. Although all patterns will be described here to make the present invention easier to understand, this includes recording processing under a situation that cannot occur as long as normal processing is performed. This is to cope with the case where the CPU 11 runs out of control and wrong data is input, or when the RTC 14 is re-set to the normal state after the data is input with the RTC 14 crazy. It is.
[0030]
<1> When there is no existing data in the recording areas A and B.
In this case, as shown in FIG. 4, the CPU 11 has the input data D3 among the date and time information P1 past the current date and time, the date and time information P2 the same as the current date and the date and time information P3 future than the current date and time Regardless of the date and time information, the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and nothing is recorded in the recording area B.
[0031]
<2> When existing data exists in one of the recording areas A and B, and no existing data exists in the other.
(2-1) When the permission data D1 exists in the recording area A.
[0032]
In this case, as shown in FIG. 5A, existing data D1, which is permission data, is recorded in the recording area A in the initial state, and nothing is recorded in the recording area B.
[0033]
When the input data D3 is input, the CPU 11 determines whether the input data D3 is permission data or standby data. That is, the CPU 11 compares the date and time information of the input data D3 with the current date and time, and if the date and time information of the input data D3 is before the current date and time, classifies the input data D3 as permission data. When the date / time information of the input data D3 is in the future than the current date / time, the CPU 11 classifies the input data D3 as standby data.
[0034]
Then, when the input data D3 is permission data, that is, when the input data D3 is data of the same type as the existing data D1, the CPU 11 performs a process of rewriting the existing data D1 to the input data D3. For this reason, as shown in the figure, when input data D3 having date information P1 to P4 indicating dates before the current date is input, the existing data D1 recorded in the recording area A is deleted, Input data D3 is recorded in the recording area A. More specifically, if the input data D3 has date information P1 that is past the date information of the existing data D1, or if the input data D3 has date information P2 that is the same as the date information of the existing data D1, the input data D3 is current In the case of having date / time information P3 indicating the date / time between the date / time and the date / time information of the existing data D1, the input data D3 has any date / time information P4 indicating the same date / time as the current date / time. The input data D3 is recorded in the recording area A. In these cases, nothing is recorded in the recording area B. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0035]
Further, when the input data D3 is standby data, that is, when the input data D3 is a different type of data from the existing data D1, the CPU 11 performs a process of recording the input data D3 in the recording area B which is an empty area. For this reason, as shown in the figure, when input data D3 having date / time information P5 indicating a date and time in the future from the current date / time is input, the input data D3 is recorded in the recording area B. The CPU 11 keeps the existing data D1 recorded in the recording area A in the recorded state. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the existing data D1 is recorded in the recording area A and the input data D3 is recorded in the recording area B.
[0036]
(2-2) When the permission data D1 exists in the recording area B.
In this case, as shown in FIG. 5B, nothing is recorded in the recording area A in the initial state, and the existing data D1, which is permission data, is recorded in the recording area B.
[0037]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 is data of the same type as the existing data D1, the CPU 11 deletes the existing data D1 recorded in the recording area B and A process of recording D3 in the recording area A is performed. For this reason, as shown in the figure, when the input data D3 having the date information P1 to P4 indicating the date before the current date is input, the existing data D1 recorded in the recording area B is deleted, Input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0038]
Further, when the input data D3 is standby data, that is, when the input data D3 is a different type of data from the existing data D1, the CPU 11 remains in a state where the existing data D1 recorded in the recording area B is recorded. Processing for recording the input data D3 in the recording area A, which is an area, is performed. For this reason, as shown in the figure, when input data D3 having date / time information P5 indicating a date and time in the future from the current date / time is input, the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the existing data D1 is recorded in the recording area B.
[0039]
(2-3) When the standby data D1 exists in the recording area A.
In this case, as shown in FIG. 6A, the existing data D1, which is standby data, is recorded in the recording area A in the initial state, and nothing is recorded in the recording area B.
[0040]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 is data of a different type from the existing data D1, the CPU 11 remains in a state where the existing data D1 recorded in the recording area A is recorded. A process of recording the input data D3 in the recording area B which is an empty area is performed. Therefore, as shown in the figure, when input data D3 having date information P1 and P2 indicating dates before the current date is input, the input data D3 is recorded in the recording area B. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the existing data D1 is recorded in the recording area A and the input data D3 is recorded in the recording area B.
[0041]
When the input data D3 is standby data, that is, when the input data D3 is the same type as the existing data D1, the CPU 11 performs a process of rewriting the existing data D1 to the input data D3. For this reason, as shown in the figure, when the input data D3 having date information P3 to P5 indicating the future date and time than the current date and time is input, the existing data D1 recorded in the recording area A is deleted. The input data D3 is recorded in the recording area A. More specifically, when the input data D3 has date / time information P3 closer to the current date / time than the date / time information of the existing data D1, the input data D3 has the same date / time information P4 as the date / time information of the existing data D1. In any case, the existing data D1 is rewritten to the input data D3, and the input data D3 is recorded in the recording area A. . In these cases, nothing is recorded in the recording area B. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0042]
(2-4) When the standby data D1 exists in the recording area B.
In this case, as shown in FIG. 6B, nothing is recorded in the recording area A in the initial state, and the existing data D1, which is standby data, is recorded in the recording area B.
[0043]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. As a result, when the input data D3 is permission data, that is, when the input data D3 is a different type of data from the existing data D1, the CPU 11 keeps recording the existing data D1 recorded in the recording area B. Processing for recording the input data D3 in the recording area A, which is an empty area, is performed. Therefore, as shown in the figure, when input data D3 having date and time information P1 and P2 indicating the date and time before the current date and time is input, the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the existing data D1 is recorded in the recording area B.
[0044]
In addition, when the input data D3 is standby data, that is, when the input data D3 is the same type as the existing data D1, the CPU 11 deletes the existing data D1 recorded in the recording area B and inputs the input data D3. Is recorded in the recording area A. For this reason, as shown in the figure, when the input data D3 having date information P3 to P5 indicating the future date and time than the current date and time is input, the existing data D1 recorded in the recording area B is deleted. The input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0045]
Therefore, as described in the items (2-1) to (2-4) above, when the existing data D1 of the same type as the input data D3 is recorded in one of the recording areas A and B The CPU 11 performs a process of rewriting the existing data D1 to the input data D3. Note that, as described in the items (2-2) and (2-4), the CPU 11 preferentially records the input data D3 in the recording area A in the present embodiment.
[0046]
Further, when existing data D1 of a different type from the input data D3 is recorded in one of the recording areas A and B, and the other recording area A and B is an empty area, the CPU 11 stores the input data D3 in the empty area. The process of recording is performed.
[0047]
<3> When existing data exists in both recording areas A and B.
(3-1) When the relationship between the date and time information is “recording area A <recording area B ≦ current” (past <future).
[0048]
In this case, as shown in FIG. 7A, the existing data D1, which is permission data, is recorded in the recording area A in the initial state, and permission having date information closer to the current date than the date information of the existing data D1. The existing data D2, which is data, is recorded in the recording area B. In other words, here, the existing data D1 and D2 of the same type are recorded in the recording areas A and B, respectively.
[0049]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 is data of the same type as each of the existing data D1 and D2, the CPU 11 stores each of the existing data D1 recorded in each of the recording areas A and B. , D2 are deleted and the input data D3 is recorded in the recording area A. For this reason, as shown in the figure, when input data D3 having date information P1 to P6 indicating dates before the current date is input, the existing data D1 and D2 are deleted, and the input data D3 is deleted. Is recorded in the recording area A. More specifically, when the input data D3 has the date and time information P1 that is past than the existing data D1, or when the input data D3 has the same date and time information P2 as the existing data D1, the input data D3 and the date and time information of the existing data D1 exist. When the date / time information P3 indicating the date / time between the date / time information of the data D2 and the input data D3 has the same date / time information P4 as the existing data D2, the input data D3 includes the date / time information of the existing data D2 and the current date / time. Each of the existing data D1 and D2 is deleted regardless of the case where the input data D3 has the date and time information P6 indicating the same date and time as the current date and time. Thus, the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0050]
In addition, when the input data D3 is standby data, that is, when the input data D3 is a different type of data from the existing data D1 and D2, the CPU 11 stores date and time information far from the current date and time among the existing data D1 and D2. Is performed to rewrite the existing data having the input data D3. That is, in this case, since the existing data D1 has date information farther from the current date than the existing data D2, the CPU 11 deletes the existing data D1 recorded in the recording area A and inputs it. Data D3 is recorded in recording area A. For this reason, as shown in the figure, when the input data D3 having the date and time information P7 indicating the future date and time than the current date and time is input, the existing data D1 recorded in the recording area A is deleted, Input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 (standby data) is recorded in the recording area A and the existing data D2 (permission data) is recorded in the recording area B.
[0051]
(3-2) When the relationship between the date and time information is “recording area B <recording area A ≦ current” (past <future).
In this case, as shown in FIG. 7B, existing data D1 that is permission data is recorded in the recording area B in the initial state, and existing data that is closer to the current date and time than the date and time information of the existing data D1. Data D2 is recorded in the recording area A. That is, here, as in the item (3-1), the same type of existing data D1 and D2 are recorded in the recording areas A and B, respectively.
[0052]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 has date and time information of the same type as each of the existing data D1 and D2, the CPU 11 is the same as the item (3-1). Process. That is, the CPU 11 performs a process of deleting the existing data D1 and D2 and recording the input data D3 in the recording area A. For this reason, as shown in the figure, when input data D3 having date information P1 to P6 indicating dates before the current date is input, the existing data D1 and D2 are deleted, and the input data D3 is deleted. Is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0053]
When the input data D3 is standby data, that is, when the input data D3 is a different type of data from the existing data D1 and D2, the CPU 11 performs the same process as the item (3-1). That is, the CPU 11 performs a process of rewriting existing data having date and time information far from the current date and time to the input data D3 among the existing data D1 and D2. Even in this case, since the existing data D1 has date and time information farther from the current date and time than the existing data D2, the CPU 11 deletes the existing data D1 recorded in the recording area B and inputs data D3. Is recorded in the recording area B. For this reason, as shown in the figure, when the input data D3 having the date and time information P7 indicating the future date and time than the current date and time is input, the existing data D1 recorded in the recording area B is deleted, Input data D3 is recorded in the recording area B. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the existing data D2 (permission data) is recorded in the recording area A and the input data D3 (standby data) is recorded in the recording area B. That is, compared with the item (3-1), the recording state of the existing data D2 and the input data D3 with respect to the recording areas A and B has an inverse relationship.
[0054]
(3-3) When the relationship between the date and time information is “recording area A, B = current”.
In this case, as shown in FIG. 7C, existing data D1, which is permission data having the same date and time information as the current date and time in the initial state, is recorded in the recording area A, and the same date and time as the date and time information of the existing data D1. The existing data D2 having information is recorded in the recording area B.
[0055]
Even in such a case, if the input data D3 is the same type of data as the existing data D1 and D2, the CPU 11 deletes the existing data D1 and D2 and records the input data D3 in the recording area A. . For this reason, as shown in the figure, when input data D3 having date and time information P1 and P2 before the current date and time is input, the existing data D1 and D2 recorded in the recording areas A and B are deleted. The input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0056]
In addition, if the input data D3 is a different type of data from the existing data D1 and D2, the CPU 11 performs a process of rewriting the existing data recorded in the recording area B (here, existing data D2) to the input data D3. For this reason, as shown in the figure, when input data D3 having date information P3 of the future than the current date is input, the existing data D2 recorded in the recording area B is deleted, and the recording area Input data D3 is recorded in B. This is because the recording area A is determined to be recorded with priority over the recording area B, so the data in the recording area B is considered to be less important. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the existing data D1 (permission data) is recorded in the recording area A and the input data D3 (standby data) is recorded in the recording area B.
[0057]
Therefore, as described in the items (3-1) to (3-3), when the existing data D1 and D2 of the same type as the input data D3 are recorded in the recording areas A and B, the CPU 11 The existing data D1, D2 are deleted together, and the process of recording the input data D3 in the recording area A is performed.
[0058]
When existing data D1 and D2 of a different type from the input data D3 are recorded in the recording areas A and B, the CPU 11 has date information far from the current date and time among the existing data D1 and D2. A process of rewriting the existing data D1 and D2 to the input data D3 is performed.
[0059]
(3-4) The relationship of the date and time information is “recording area A ≦ current <recording area B” (past <future).
In this case, as shown in FIG. 8A, the existing data D1 that is permission data is recorded in the recording area A in the initial state, and the existing data D2 that is standby data is recorded in the recording area B. Yes. That is, here, different types of data are recorded in the recording areas A and B, respectively.
[0060]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 is data of the same type as the existing data D1, the CPU 11 performs a process of rewriting the existing data D1 to the input data D3. Therefore, as shown in the figure, when the input data D3 having date information P1 to P4 before the current date is input, the existing data D1 recorded in the recording area A is deleted, and the recording area Input data D3 is recorded in A. More specifically, when the input data D3 has date / time information P1 that is earlier than the existing data D1, or when the input data D3 has the same date / time information P2 as the existing data D1, the input data D3 includes the date / time information of the existing data D1 and the current data The existing data D1 is deleted regardless of whether the input data D3 has date / time information P4 indicating the same date / time as the current date / time. Thus, the input data D3 is recorded in the recording area A. Therefore, during the recording process of the input data D3, the memory 13 is in a state where the input data D3 (permission data) is recorded in the recording area A and the existing data D2 (standby data) is recorded in the recording area B.
[0061]
Further, when the input data D3 is standby data, that is, when the input data D3 is data of the same type as the existing data D2, the CPU 11 performs a process of rewriting the existing data D2 to the input data D3. For this reason, as shown in the figure, when the input data D3 having the date information P5 to P7 of the future than the current date is input, the existing data D2 recorded in the recording area B is deleted, Input data D3 is recorded in the recording area B. More specifically, when the input data D3 has date / time information P5 indicating the date / time between the current date / time and the date / time information of the existing data D2, the input data D3 has the same date / time information P6 as the existing data D2. Regardless of the case where D3 has date and time information P7 that is later than the existing data D2, the existing data D2 is deleted and the input data D3 is recorded in the recording area B. Therefore, during the recording process of the input data D3, the memory 13 is in a state where the existing data D1 is recorded in the recording area A and the input data D3 is recorded in the recording area B.
[0062]
Therefore, when different types of existing data exist in the memory 13, the CPU 11 performs a process of rewriting the existing data D1 and D2 of the same type as the input data D3 to the input data D3.
[0063]
(3-5) The relationship of the date and time information is “recording area B ≦ current <recording area A” (past <future).
In this case, as shown in FIG. 8B, the existing data D1 that is permission data is recorded in the recording area B in the initial state, and the existing data D2 that is standby data is recorded in the recording area A. Yes.
[0064]
When the input data D3 is input, the CPU 11 performs processing for rewriting the existing data D1 and D2 of the same type as the input data D3 to the input data D3 in this state as in the item (3-4). For this reason, as shown in the figure, when input data D3 having date information P1 to P4 before the current date is input, the existing data D1 recorded in the recording area B is deleted, and the recording area Input data D3 is recorded in B. Therefore, during the recording process of the input data D3, the memory 13 is in a state where the existing data D2 is recorded in the recording area A and the input data D3 is recorded in the recording area B.
[0065]
In addition, when input data D3 having date information P5 to P7 that is later than the current date and time is input, the existing data D2 recorded in the recording area A is deleted, and the input data D3 is stored in the recording area A. To be recorded. Therefore, in the recording process of the input data D3, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the existing data D1 is recorded in the recording area B.
[0066]
(3-6) The relationship between the date and time information is “present <recording area A <recording area B” (past <future).
In this case, as shown in FIG. 9A, the existing data D1, which is standby data, is recorded in the recording area A in the initial state, and the standby data has future date information than the date information of the existing data D1. The existing data D2 is recorded in the recording area B.
[0067]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. As a result, when the input data D3 is permission data, that is, when the input data D3 is a different type of data from the existing data D1 and D2, the CPU 11 has a date and time far from the current date and time among the existing data D1 and D2. A process of rewriting the existing data having information to the input data D3 is performed. That is, in this case, since the existing data D2 has date information farther from the current date than the existing data D1, the CPU 11 deletes the existing data D2 recorded in the recording area B and inputs Data D3 is recorded in recording area B. For this reason, as shown in the figure, when input data D3 having date and time information P1 and P2 before the current date and time is input, the existing data D2 recorded in the recording area B is deleted, and the recording area B Is recorded with the input data D3. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the existing data D1 (standby data) is recorded in the recording area A and the input data D3 (permission data) is recorded in the recording area B.
[0068]
Further, when the input data D3 is standby data, that is, when the input data D3 is the same type of data as the existing data D1 and D2, the CPU 11 stores the existing data D1 recorded in the recording areas A and B. The process of deleting both D2 and recording the input data D3 in the recording area A is performed. For this reason, as shown in the figure, when the input data D3 having the date information P3 to P7 of the future than the current date is input, the existing data D1 and D2 are deleted, and the input data D3 is It is recorded in the recording area A. More specifically, when the input data D3 has date / time information P3 indicating the date / time between the current date / time and the date / time information of the existing data D1, the input data D3 has the same date / time information P4 as the existing data D1. When D3 has date / time information P5 indicating the date / time between the date / time information of the existing data D1 and the date / time information of the existing data D2, when the input data D3 has the same date / time information P6 as the existing data D2, the input data D3 is existing. Regardless of the case of having date / time information P7 indicating a future date / time than the date / time information of data D2, each existing data D1, D2 is deleted, and input data D3 is recorded in recording area A. . Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0069]
(3-7) The relationship between the date and time information is “current <recording area B <recording area A” (past <future).
In this case, as shown in FIG. 9B, the existing data D1, which is standby data, is recorded in the recording area B in the initial state, and the standby data has future date information than the date information of the existing data D1. The existing data D2 is recorded in the recording area A. That is, here, as in the item (3-6), the same type of existing data D1 and D2 are recorded in the recording areas A and B, respectively.
[0070]
Then, when the input data D3 is input, the CPU 11 classifies the input data D3. Thereby, when the input data D3 is permission data, that is, when the input data D3 is data of a different type from the existing data D1 and D2, the CPU 11 performs the same processing as the item (3-6). That is, the CPU 11 performs a process of rewriting existing data having date and time information far from the current date and time to the input data D3 among the existing data D1 and D2. For this reason, as shown in the figure, when input data D3 having date and time information P1 and P2 before the current date and time is input, the existing data D2 recorded in the recording area A is deleted, and the recording area A Is recorded with the input data D3. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 (permission data) is recorded in the recording area A and the existing data D1 (standby data) is recorded in the recording area B. That is, as compared with the item (3-6), the recording state of the existing data D1 and the input data D3 with respect to the recording areas A and B is opposite.
[0071]
Further, when the input data D3 is standby data, that is, when the input data D3 is the same type of data as the existing data D1 and D2, the CPU 11 performs the same processing as the item (3-6). For this reason, as shown in the figure, when the input data D3 having the date information P3 to P7 of the future than the current date is input, the existing data D1 and D2 are deleted, and the input data D3 is It is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the memory 13 is in a state where the input data D3 is recorded in the recording area A and the recording area B becomes a free area.
[0072]
As a result, in the items (3-6) and (3-7), as in the items (3-1) to (3-3) described above, the recording areas A and B are the same as the input data D3. When the type of existing data D1 and D2 is recorded, the CPU 11 deletes both of the existing data D1 and D2 and records the input data D3 in the recording area A.
[0073]
When existing data D1 and D2 of a different type from the input data D3 are recorded in the recording areas A and B, the CPU 11 has date information far from the current date and time among the existing data D1 and D2. A process of rewriting the existing data D1 and D2 to the input data D3 is performed.
[0074]
Therefore, as described in the above items <2> to <3>, when input data is input in a state where existing data exists in at least one of the recording areas A and B, the CPU 11 Classification procedure for classifying the data into two types from the relationship between the existing data and the date / time information of the input data, the type comparison procedure for comparing the existing data type and the input data type, and the comparison result The recording process is performed based on a program for executing a procedure for determining recording areas A and B in which input data is to be recorded based on the program.
[0075]
Therefore, according to the present embodiment, the following effects can be obtained.
(1) As described in the above items <1> to <3>, when new data D3 is input, the CPU 11 has free areas in which the input data D3 can be recorded in the recording areas A and B. Regardless of whether or not it exists, the input data D3 is preferentially recorded in the recording areas A and B. That is, not only when there is a free area in the recording areas A and B, but also when there is no free area, at least one of the already recorded existing data D1 and D2 is deleted, Input data D3 is recorded in the empty area. Therefore, the input data D3 can always be recorded, and the data can be updated reliably.
[0076]
(2) As described in the items <2> and <3>, the CPU 11 starts the current date and time when the existing data D1 and D2 exist in at least one of the recording areas A and B. The input data D3 and the existing data D1, D2 are classified into two types based on whether or not the date has been reached. Then, the CPU 11 determines recording areas A and B in which the input data D3 is to be recorded based on the type of the input data D3 and the types of the existing data D1 and D2. That is, the input data D3 is recorded in the recording areas A and B in consideration of the relationship between the effective start date of the existing data D1 and D2 and the current date and time. Therefore, it is possible to perform the recording process of the input data D3 in consideration of the effective start date and the current date and time of the existing data D1 and D2.
[0077]
(3) Normally, when there is an error in the existing data, the same type of data as the existing data is input. However, in the conventional fare indicator, if there is existing data of the same type as the input data in one of the recording areas and the other is an empty area, the input data is recorded in the empty area. It has become. For this reason, even when the recording process of input data is completed, erroneous data remains recorded in the recording unit. Therefore, in the conventional fare indicator, display control of the display panel 2 may be performed based on erroneous data.
[0078]
In contrast, in the present embodiment, as described in the items <2> and <3>, when existing data of the same type as the input data exists in one of the recording areas A and B, The existing data of the same type is rewritten to input data. For this reason, erroneous data can be surely deleted, and the inconvenience that display control of the display panel 2 is performed based on the erroneous data can be prevented.
[0079]
(4) As described in the items (3-1) to (3-3), (3-6), and (3-7), the existing data D1 and D2 of the same type as the input data D3 are recorded in each recording area. Are already recorded, the existing data D1 and D2 are both deleted, and the input data D3 is recorded in the recording area A. Therefore, only the input data D3 is recorded in the memory 13. Normally, even if two pieces of the same type of data are recorded in the memory 13, the CPU 11 performs display processing based on one of the data, and therefore the other data is not necessary. Therefore, unnecessary data can be surely deleted, and the inconvenience that the CPU 11 performs display processing based on unnecessary data can be reliably prevented.
[0080]
(5) As described in the items (2-1) to (2-4), the existing data D1 of a type different from the input data D3 is recorded in one of the recording areas A and B, and the other recording If the area is an empty area, the input data D3 is recorded in the empty area. Normally, when existing data D1 of a different type from the input data D3 is recorded in one of the recording areas A and B, the existing data D1 is data necessary for display processing. For this reason, when the recording process of the input data D3 is completed, only necessary data is recorded in the memory 13. Therefore, the inconvenience that the CPU 11 performs display processing based on unnecessary data or cannot perform display processing based on necessary data can be surely prevented.
[0081]
(6) As described in the items (3-1), (3-2), (3-4), and (3-5), existing data D1 and D2 of a different type from the input data D3 are recorded in each recording area. When recorded in A and B respectively, the valid start date of the existing data D1 and D2 is compared with the current date and time, and the data whose valid start date is far from the current date and time is rewritten as the input data D3. It is done. Normally, when two pieces of the same type of data are recorded in the memory 13, the CPU 11 performs display processing based only on data whose effective start date is close to the current date and time. That is, data whose effective start date is far from the current date and time is unnecessary. Therefore, only necessary data can be recorded in the recording areas A and B by rewriting unnecessary data to the input data D3. Therefore, the inconvenience that the CPU 11 performs the display process based on unnecessary data can be surely prevented.
[0082]
In addition, you may change embodiment of this invention as follows.
In the embodiment, as described in items (2-2) and (2-4), when the recording area A is an empty area and the recording area B has existing data D1 of the same type as the input data D3, The input data D3 is preferentially recorded in the recording area A. However, in such a case, the input data D3 may be recorded in the recording area B. That is, the existing data D1 may be rewritten to the input data D3 without giving priority to the recording area A.
[0083]
In the embodiment, as described in the item (3-3), when the existing data D1 and D2 having the same date and time information are recorded in the recording areas A and B, the existing data D1 and D2 When different types of input data D3 are input, the existing data D2 recorded in the recording area B is rewritten to the input data D3. However, in such a case, the control mode of the CPU 11 may be changed so that the existing data D1 recorded in the recording area A is rewritten to the input data D3.
[0084]
In the embodiment, the CPU 11 performs all the recording processing modes shown in the items <1> to <3>. However, the CPU 11 is not limited to all of these recording processing modes, and may selectively perform at least two of these. For example, in the item (3-1), when the same type of input data D3 as the existing data D1 and D2 is input, the CPU 11 deletes both the existing data D1 and D2 and records the input data D3 in the recording area A. It is supposed to be. However, when only one of the existing data D1 and D2 may be prioritized over the input data D3, the CPU 11 does not perform the processing of the item (3-1) and does not perform the existing data. May be rewritten to the input data D3. Note that “priority” in this case means that the difference between the valid start date of the existing data and the current date is smaller than the difference between the valid start date of the input data D3 and the current date. To do. That is, when the recording process of the input data D3 in such a case is completed, the memory 13 may be in a state where the input data D3 and the existing data D1 (or existing data D2) are recorded.
[0085]
When there are two pieces of permission data in the memory 13, among the permission data, permission data having date / time information indicating a date / time far from the current date / time may be automatically deleted. For example, even if permission data and standby data are recorded in the memory 13 in the initial state, when the current date and time reaches the date and time information of the standby data, the memory 13 has two permission data. In this state, the permission data in the initial state becomes unnecessary. Further, the date / time information of the permission data is farther from the current date / time than the date / time information of the standby data in the initial state. Therefore, in this way, unnecessary data can be surely deleted, and the inconvenience that display processing is performed based on the unnecessary data can be reliably prevented.
[0086]
In the embodiment, the data processing device is embodied in a bus fare indicator. However, the data processing device is not limited to this, for example, a railcar fare indicator, a ticket machine such as a ticket, a vending machine such as drinking water, a production management panel, etc. Any device can be applied as long as it changes and performs processing.
[0087]
Next, in addition to the technical ideas described in the claims, the technical ideas grasped by the embodiment described above are listed below.
(1) In the data recording method according to any one of claims 2 to 6, when there is no existing data of a type different from the input data in each recording area, the control means stores the input data. Recording preferentially in one of the recording areas.
[0088]
(2) Two recording areas each capable of recording data including a valid start date, and a control means for performing processing based on the data on the condition that the current date and time has reached the valid start date of the data In the data recording method in the data processing device, when the data is input to be recorded in the recording area, when there is no free area in the recording area where the input data can be recorded, A data recording method comprising: deleting at least one of already recorded existing data and recording the input data.
[0089]
(3) Two recording areas each capable of recording data including an effective start date, and data processing based on the data on the condition that the current date and time has reached the effective start date of the data, and the data Is input to the computer that performs a recording process for preferentially recording the input data in the recording area regardless of the presence or absence of a free area in which the input data can be recorded in the recording area. When the input data is input in a state where there is existing data already recorded in at least one of them, the data is divided into two types based on the relationship between the current date and time and the date and time information of the existing data and the input data. Type classification procedure to classify, type comparison procedure to compare the type of existing data with the type of input data, and input data based on the comparison result Recording region for recording the A, recording processing program for executing a procedure for determining the B.
[0090]
【The invention's effect】
  As detailed above, claims 1 to4According to the invention described in (1), it is possible to reliably update the data.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an embodiment in which the present invention is embodied in a bus fare indicator.
FIG. 2 is an explanatory diagram showing a schematic configuration of a recording unit used in the embodiment.
FIGS. 3A and 3B are explanatory diagrams showing a data processing mode of the control unit of the embodiment; FIGS.
FIG. 4 is an explanatory diagram showing a recording processing mode of input data performed by the control unit of the embodiment.
FIGS. 5A and 5B are explanatory diagrams showing input data recording processing performed by the control unit of the embodiment; FIGS.
6A and 6B are explanatory diagrams showing input data recording processing performed by the control unit of the embodiment; FIG.
7A to 7C are explanatory diagrams showing input data recording processing performed by the control unit of the embodiment; FIG.
FIGS. 8A and 8B are explanatory diagrams showing input data recording processing performed by the control unit of the embodiment; FIGS.
FIGS. 9A and 9B are explanatory diagrams showing input data recording processing performed by the control unit of the embodiment; FIGS.
FIG. 10 is a list summarizing input data recording processing modes performed by the control unit of the embodiment;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Fare display device, 2 ... Display board, 3 ... Control apparatus, 11 ... CPU as control means, 13 ... Memory as recording part, 16 ... Data input part.

Claims (4)

有効開始時期を含むデータをそれぞれ記録可能な2つの記録領域を有する記録手段と、現在の日時が前記データの有効開始時期に達したことを条件として、そのデータに基づくデータ処理を行う制御手段とを備えるデータ処理機器におけるデータの記録方法において、
前記制御手段は、前記データが入力されたとき、前記各記録領域に既に記録された既存データが存在しない場合、該入力データを前記各記録領域のいずれか一方の記憶領域に記録する記録処理を行い、
前記記録領域のうちいずれか一方に前記既存データが存在する場合、現在の日時が前記既存データの有効開始時期及び前記入力データの有効開始時期に達しているか否かに基づいて、前記既存データ及び前記入力データのそれぞれを2タイプに分類して、前記入力データのタイプと該既存データのタイプとを比較し、
前記入力データが前記既存データのタイプと同タイプである場合、前記同タイプの既存データを前記入力データに書き換えることを特徴とするデータの記録方法。
Recording means having two recording areas each capable of recording data including effective start time, and control means for performing data processing based on the data on condition that the current date and time has reached the effective start time of the data In a data recording method in a data processing device comprising:
When the data is input , the control means performs a recording process for recording the input data in any one of the recording areas when there is no existing data already recorded in the recording areas. Done
If the existing data in either one of said recording areas are present, based on whether the current date and time has reached the effective start time of the valid start time and the input data of the existing data, the existing data And classifying each of the input data into two types, comparing the type of the input data with the type of the existing data,
When the input data is the same type as the type of the existing data, the existing data of the same type is rewritten to the input data.
前記入力データと同タイプの既存データが前記各記録領域にそれぞれ存在する場合、前記制御手段は、それら既存データを共に削除して該入力データを前記いずれか一方の記録領域に記録することを特徴とする請求項1に記載のデータの記録方法。When existing data of the same type as the input data exists in each recording area, the control unit deletes both the existing data and records the input data in one of the recording areas. The data recording method according to claim 1 . 前記各記録領域のうちの一方に前記入力データと異なるタイプの既存データが存在し、他方の記録領域が空き領域である場合、前記制御手段は、前記空き領域に前記入力データを記録することを特徴とする請求項1又は請求項2に記載のデータの記録方法。When existing data of a different type from the input data exists in one of the recording areas and the other recording area is a free area, the control means records the input data in the free area. 3. The data recording method according to claim 1, wherein the data is recorded. 前記入力データと異なるタイプの既存データが前記各記録領域にそれぞれ存在する場合、前記制御手段は、それら既存データの有効開始時期と現在の日時とを比較し、有効開始時期が現在の日時から離れている既存データを前記入力データに書き換えることを特徴とする請求項1〜3のいずれか1項に記載のデータの記録方法。When existing data of a different type from the input data exists in each recording area, the control means compares the effective start time of the existing data with the current date and time, and the effective start time is separated from the current date and time. 4. The data recording method according to claim 1 , wherein the existing data is rewritten to the input data.
JP2001213164A 2001-07-13 2001-07-13 Data recording method Expired - Lifetime JP4716155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001213164A JP4716155B2 (en) 2001-07-13 2001-07-13 Data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001213164A JP4716155B2 (en) 2001-07-13 2001-07-13 Data recording method

Publications (2)

Publication Number Publication Date
JP2003030024A JP2003030024A (en) 2003-01-31
JP4716155B2 true JP4716155B2 (en) 2011-07-06

Family

ID=19048198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001213164A Expired - Lifetime JP4716155B2 (en) 2001-07-13 2001-07-13 Data recording method

Country Status (1)

Country Link
JP (1) JP4716155B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5469347A (en) * 1977-11-15 1979-06-04 Fujitsu Ltd Data circular retention controlling procedure
JPH0748226B2 (en) * 1989-02-28 1995-05-24 株式会社寺岡精工 Charge processing equipment for packages
JPH03257524A (en) * 1990-03-08 1991-11-18 Oki Electric Ind Co Ltd Data control method for data processor
JPH05342072A (en) * 1992-06-10 1993-12-24 Nippon Denki Joho Service Kk Generation managing method for file
JPH10301824A (en) * 1997-04-25 1998-11-13 Nippon Telegr & Teleph Corp <Ntt> Computer-readable recording medium recording information management data and information management system
JP3955684B2 (en) * 1998-07-29 2007-08-08 東芝テック株式会社 Product information management device

Also Published As

Publication number Publication date
JP2003030024A (en) 2003-01-31

Similar Documents

Publication Publication Date Title
KR920007712B1 (en) Recorder
JP4716155B2 (en) Data recording method
JP2006099459A (en) Ticket gate and commuter pass processing system
JP3937875B2 (en) Processing device and method of inheriting stored information in the device
JP3087975B2 (en) Automatic ticket inspection method, automatic ticket sales ticket inspection machine, automatic ticket inspection system and automatic ticket sales ticket inspection system
JP4066667B2 (en) Vehicle process management system and method
JP7466481B2 (en) Billing processing device, fee collection system, billing processing method and program
JPS6341993A (en) Taxi meter information processor
JP2001051710A (en) production management system
JP4892709B2 (en) Ride medium processing device
KR100241551B1 (en) Data shift system and data shift memory of ecr
JP2007272790A (en) Card processing machine and card processing method
JP4891642B2 (en) IC card processing machine and IC card processing method
JP3326265B2 (en) Unified management method of clock and time in operation management system
JP2729265B2 (en) Card type ticket checker device
JPH0510260B2 (en)
JPH08241381A (en) Rewrite type card and quality control method of rewrite type card
JP4639587B2 (en) Card type ticket settlement device
JP6880840B2 (en) Fare settlement device, fare settlement method and program
JPH05266288A (en) How to prevent illegal ticket refunds
JP6773491B2 (en) Traffic management equipment, traffic management systems, and traffic management programs
JP2005078439A (en) Recording medium system for members
JP2004046563A (en) Taxi meter
JP2934304B2 (en) Fare settlement device with card type ticket
JPH0718928A (en) Resistance matching mechanism for vehicle computer management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080307

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20100818

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110317

R150 Certificate of patent or registration of utility model

Ref document number: 4716155

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250