JP2003030024A - Method for recording data - Google Patents

Method for recording data

Info

Publication number
JP2003030024A
JP2003030024A JP2001213164A JP2001213164A JP2003030024A JP 2003030024 A JP2003030024 A JP 2003030024A JP 2001213164 A JP2001213164 A JP 2001213164A JP 2001213164 A JP2001213164 A JP 2001213164A JP 2003030024 A JP2003030024 A JP 2003030024A
Authority
JP
Japan
Prior art keywords
data
recording
input data
recorded
date
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.)
Granted
Application number
JP2001213164A
Other languages
Japanese (ja)
Other versions
JP4716155B2 (en
Inventor
Masaomi Komura
正臣 香村
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 Corp
Original Assignee
Lecip 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 Corp filed Critical Lecip 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

Abstract

PROBLEM TO BE SOLVED: To provide a method for recording data by which data update is surely performed. SOLUTION: When the data is newly inputted from a data input part 16, a CPU 11 performs a recording processing to record the inputted data in a recording area of a memory 13. The memory 13 has two recording areas capable of recording two kinds of data. And in the case of the recording processing, the CPU 11 preferentially records the inputted data irrespective of presence/ absence of a free area in which the inputted data can be recorded in the recording area. In addition, when the existing data exists in the recording area, the CPU 11 sorts the existing data and the inputted data into two kinds of types from relation between the current date and time and date and time information of the existing data and the inputted data. And the CPU 11 determines the recording area in which the inputted data should be recorded according to presence/absence of the existing data and the relation between the types of the inputted data and the existing data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えばバスの運賃
表示器などとして具体化されるデータ処理機器における
データの記録方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording method in a data processing device embodied as, for example, a fare indicator for a bus.

【0002】[0002]

【従来の技術】有効開始時期を含むデータが記録され、
現在の日時がそのデータの有効開始時期に達したことを
条件として、そのデータに基づいて処理を行うデータ処
理機器の具体例としては、バスの運賃表示器などが挙げ
られる。
2. Description of the Related Art Data including effective start time is recorded,
As a specific example of the data processing device that performs processing based on the data on the condition that the current date and time has reached the valid start time of the data, there is a bus fare indicator or the like.

【0003】従来、この種の運賃表示器は、有効開始日
を示す日時情報及び運賃情報を含む運賃データを記録可
能な記録領域を有する記録部と、その運賃データに基づ
いて処理を行う制御部とを備えている。そして、記録部
は2種類の運賃データを記録可能な2つの記録領域を備
え、制御部は現在の日時が有効開始日に達している運賃
データに基づいて処理を行うようになっている。なお、
現在の日時が両運賃データの有効開始日に達している場
合、制御部は、現在の日時から近い有効開始日を含む運
賃データに基づいて処理を行うようになっている。この
ため、例えば現行の運賃データとともに、未来の運賃改
正日を有効開始日として設定した運賃データを予め記録
させておくことができる。このようにすれば、運賃改正
日までは現行の運賃データに基づく運賃体系で表示が行
われ、運賃改正日以降は新たな運賃データに基づく運賃
体系の表示に自動的に切り換わる。
Conventionally, this type of fare indicator has a recording section having a recording area capable of recording fare data including date and time information indicating an effective start date and fare information, and a control section for performing processing based on the fare data. It has and. The recording unit is provided with two recording areas capable of recording two types of fare data, and the control unit performs processing based on the fare data whose current date and time has reached the effective start date. In addition,
When the current date and 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 and time. Therefore, for example, it is possible to previously record the fare data in which the future fare revision date is set as the effective start date together with the current fare data. In this way, the fare system based on the current fare data is displayed until the fare revision date, and after the fare revision date, the display automatically switches to the fare system based on the new fare data.

【0004】よって、制御部は、新たに運賃データが入
力された場合、記録部に空き領域が存在する場合には、
その入力データを空き領域に記録する。一方、記録部に
空き領域が存在しない場合、既に記録されている既存デ
ータの内容を人間が確認し、不要と判断した既存データ
を手動で入力データに書き換えていた。また、それを自
動で行おうとした場合、まず制御部は、入力データの有
効開始日と現在の日時との差を算出するとともに、既に
記録されている既存データの有効開始日と現在の日時と
の差を比較する。そして、制御部は、入力データの有効
開始日と現在の日時との差が既存データの有効開始日と
現在の日時との差よりも小さければ、その既存データを
入力データに書き換える。また、制御部は、入力データ
の有効開始日と現在の日時との差が既存データの有効開
始日と現在の日時との差よりも大きければ、入力データ
の記録を禁止する。すなわち、制御部は、入力データの
有効開始日よりも既存データの有効開始日の方が現在の
日時に近い場合には、既存データを有効としていた。
Therefore, the control unit, when new fare data is input, when there is an empty area in the recording unit,
The input data is recorded in the empty area. On the other hand, when there is no free area in the recording unit, a person checks the contents of already recorded existing data, and manually rewrites the existing data determined to be unnecessary to the input data. When attempting 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 at the same time calculates the valid start date of the existing data already recorded and the current date and time. Compare the differences between. Then, if the difference between the valid start date of the input data and the current date and time is smaller than the difference between the valid start date of the existing data and the current date and time, the control unit rewrites the existing data into the input data. Further, 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 the 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】[0005]

【発明が解決しようとする課題】ところで、既存データ
に誤りがある場合などには正しいデータを入力し直すと
いう運賃データの更新が必要となる。
By the way, if there is an error in the existing data, it is necessary to update the fare data by re-inputting the correct data.

【0006】しかし、従来の運賃表示器では、例えば誤
った有効開始日を含む運賃データが既存データとして記
録されている場合、その誤った有効開始日よりも現在の
日時に近い入力データでなければデータの更新を行うこ
とができないという問題が生じる。
However, in the conventional fare display, if fare data including an erroneous effective start date is recorded as existing data, the input data must be closer to the current date and time than the erroneous effective start date. There arises a problem that the data cannot be updated.

【0007】また、人間が既存データの内容を確認して
不要と判断したものを入力データに書き換えることは、
手間がかかる上に新たな人為的ミスを発生させるおそれ
がある。
Further, it is possible for a human to rewrite the input data by checking the contents of the existing data and judging that they are unnecessary.
It is time-consuming and may cause a new human error.

【0008】本発明はこうした実情に鑑みてなされたも
のであり、その目的は、データの更新を確実に行うこと
ができるデータの記録方法を提供することにある。
The present invention has been made in view of such circumstances, and an object thereof is to provide a data recording method capable of surely updating data.

【0009】[0009]

【課題を解決するための手段】上記の課題を解決するた
めに、請求項1に記載の発明では、有効開始時期を含む
データをそれぞれ記録可能な2つの記録領域を有する記
録手段と、現在の日時が前記データの有効開始時期に達
したことを条件として、そのデータに基づくデータ処理
を行う制御手段とを備えるデータ処理機器におけるデー
タの記録方法において、前記制御手段は、前記データが
入力されたとき、前記記録領域に該入力データを記録可
能な空き領域の存在有無にかかわらず、該入力データを
優先的に前記記録領域に記録する記録処理を行うことを
要旨とする。
In order to solve the above-mentioned problems, in the invention described in claim 1, the recording means having two recording areas each capable of recording the data including the effective start time, and the present invention In a method of recording data in a data processing device, which comprises a control means for performing data processing based on the data on the condition that the date and time has reached the valid start time of the data, the control means receives the data. At this time, regardless of whether or not there is a vacant area in which the input data can be recorded in the recording area, a recording process of preferentially recording the input data in the recording area is performed.

【0010】請求項2に記載の発明では、請求項1に記
載のデータの記録方法において、前記記録領域に既に記
録された既存データが存在する場合、前記制御手段は、
現在の日時が有効開始時期に達しているか否かに基づい
て前記データを2タイプに分類して前記入力データのタ
イプと該既存データのタイプとを比較し、その比較結果
に基づいて前記入力データを記録すべき前記記録領域を
決定することを要旨とする。
According to a second aspect of the present invention, in the data recording method according to the first aspect, when there is existing data already recorded in the recording area, the control means is
The data is classified into two types based on whether the current date and time has reached the effective start time, the type of the input data is compared with the type of the existing data, and the input data is based on the comparison result. The gist is to determine the recording area in which is recorded.

【0011】請求項3に記載の発明では、請求項2に記
載のデータの記録方法において、前記各記録領域のうち
のいずれか一方に前記入力データと同タイプの既存デー
タが存在する場合、前記制御手段は、前記同タイプの既
存データを入力データに書き換えることを要旨とする。
According to a third aspect of the present invention, in the data recording method according to the second aspect, when existing data of the same type as the input data exists in any one of the recording areas, The gist of the control means is to rewrite the existing data of the same type into the input data.

【0012】請求項4に記載の発明では、請求項2また
は請求項3に記載のデータの記録方法において、前記入
力データと同タイプの既存データが前記各記録領域にそ
れぞれ存在する場合、前記制御手段は、それら既存デー
タを共に削除して該入力データを前記いずれか一方の記
録領域に記録することを要旨とする。
According to a fourth aspect of the invention, in the data recording method according to the second or third aspect, when the existing data of the same type as the input data exists in each of the recording areas, the control is performed. Means is to delete the existing data together and record the input data in one of the recording areas.

【0013】請求項5に記載の発明では、請求項2〜4
のいずれか1項に記載のデータの記録方法において、前
記各記録領域のうちの一方に前記入力データと異なるタ
イプの既存データが存在し、他方の記録領域が空き領域
である場合、前記制御手段は、前記空き領域に前記入力
データを記録することを要旨とする。
According to the invention described in claim 5, claims 2 to 4 are provided.
In the method of recording data according to any one of 1 to 3, when the existing data of a type different from the input data exists in one of the recording areas and the other recording area is an empty area, the control means The main point is to record the input data in the empty area.

【0014】請求項6に記載の発明では、請求項2〜5
のいずれか1項に記載のデータの記録方法において、前
記入力データと異なるタイプの既存データが前記各記録
領域にそれぞれ存在する場合、前記制御手段は、それら
既存データの有効開始時期と現在の日時とを比較し、有
効開始時期が現在の日時から離れている既存データを前
記入力データに書き換えることを要旨とする。
According to the invention of claim 6, the inventions of claims 2 to 5
In the method of recording data according to any one of 1 above, when existing data of a type different from the input data exists in each of the recording areas, the control means controls the effective start time of the existing data and the current date and time. The point is to compare existing data whose effective start time is far from the current date and time with the input data.

【0015】以下、本発明の「作用」について説明す
る。請求項1に記載の発明によると、データが入力され
ると、記録領域にそのデータを記録可能な空き領域が存
在するか否かにかかわらず、該入力データは優先的に記
録領域に記録される。すなわち、記録領域に空き領域が
存在する場合はもちろんのこと、該空き領域が存在しな
い場合であっても、既に記録されている既存データのう
ちの少なくとも一方が削除され、その空き領域に入力デ
ータが記録される。このため、データの更新を確実に行
うことが可能となる。
The "action" of the present invention will be described below. According to the invention of claim 1, when data is input, the input data is preferentially recorded in the recording area regardless of whether or not there is a free area in which the data can be recorded. It That is, not only when there is a free area in the recording area but also when there is no free area, at least one of the already recorded existing data is deleted and the input data is written in that free area. Is recorded. Therefore, it is possible to reliably update the data.

【0016】請求項2に記載の発明によると、制御手段
は、前記記録領域に既に記録された既存データが存在す
る場合には、現在の日時が有効開始時期に達しているか
否かに基づいて前記データを2タイプに分類する。そし
て、入力データのタイプと該既存データのタイプとに基
づいて入力データを記録すべき記録領域が決定される。
つまり、入力データは、既存データの有効開始時期と現
在日時との関係を鑑みつつ記録領域に記録される。この
ため、既存データの有効開始時期と現在日時とを考慮し
た入力データの記録処理が可能となる。
According to the second aspect of the invention, the control means, based on whether or not the current date and time has reached the valid start time, when the existing data already recorded in the recording area exists. The data are classified into two types. Then, the 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. Therefore, 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】なお、有効開始時期とは、年、月、週、
日、時、分、秒など時間の概念を示すものであり、例え
ば「○月○日」といった日付によって構成された有効開
始日や「○月○日○時」といった日時によって構成され
た有効開始日時などを示すものと定義する。
The effective start time is year, month, week,
It shows the concept of time such as day, hour, minute, second, etc. For example, the effective start date composed of a date such as "○ month ○ day" or the effective start date composed of a date and time such as "○ month ○ day ○ hour" Defined as indicating the date and time.

【0018】請求項3に記載の発明によると、各記録領
域のうちのいずれか一方に入力データと同タイプのデー
タが記録されている場合には、その同タイプの既存デー
タが入力データに書き換えられる。通常、既存データに
誤りがあった場合に既存データと同タイプのデータを入
力するため、同タイプの既存データを入力データに書き
換えることにより、誤ったデータを確実に削除すること
が可能となる。よって、誤ったデータに基づいて処理が
行われてしまうことを防止可能となる。
According to the third aspect of the present invention, when the 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 into the input data. To be Normally, when the existing data has an error, the same type of data as the existing data is input. Therefore, by rewriting the existing data of the same type as the input data, it is possible to surely delete the incorrect data. Therefore, it is possible to prevent processing from being performed based on incorrect data.

【0019】請求項4に記載の発明によると、入力デー
タと同タイプのデータが各記録領域にそれぞれ記録され
ている場合には、それら記録されているデータが共に削
除されて入力データがいずれか一方の記録領域に記録さ
れる。このため、記録領域には入力データのみが記録さ
れた状態となる。通常、同タイプのデータが2つ記録さ
れていても制御手段はそのうちの一方に基づいて処理を
行うため、もう一方のデータは不要である。よって、不
要なデータを確実に削除することができ、不要なデータ
に基づいて処理が行われてしまうことがない。
According to the fourth aspect of the present invention, when data of the same type as the input data is recorded in each recording area, the recorded data is deleted together and any of the input data is deleted. It is recorded in one recording area. Therefore, only the input data is recorded in the recording area. Normally, 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】請求項5に記載の発明によると、各記録領
域のうちの一方に入力データと異なるタイプのデータが
記録され、他方の記録領域が空き領域である場合には、
その空き領域に入力データが記録される。通常、記録領
域の一方に入力データと異なるタイプのデータが記録さ
れている場合、その既存データは必要なデータである。
このため、必要なデータのみが記録領域に記録された状
態となる。
According to the fifth aspect of the present invention, when data of a type different from the input data is recorded in one of the recording areas and the other recording area is an empty area,
Input data is recorded in the empty area. Usually, when data of a type different from the input data is recorded in one of the recording areas, the existing data is necessary data.
Therefore, only the necessary data is recorded in the recording area.

【0021】請求項6に記載の発明によると、入力デー
タと異なるタイプのデータが各記録領域にそれぞれ記録
されている場合には、それら記録されているデータの有
効開始時期と現在の日時とが比較され、有効開始時期が
現在の日時から離れているデータが入力データに書き換
えられる。通常、同タイプのデータが2つ記録されてい
る場合、制御手段は、有効開始時期が現在の日時に近い
データのみに基づいて処理を行う。すなわち、有効開始
時期が現在の日時から離れているデータは不要である。
よって、不要なデータを入力データに書き換えることに
より、必要なデータのみを記録領域に記録させることが
できる。
According to the sixth aspect of the invention, when data of a type different from the input data is recorded in each recording area, the effective start time of the recorded data and the current date and time are The data that is compared and the valid start time of which is different from the current date and time is rewritten to the input data. Normally, 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 far from the current date and time is unnecessary.
Therefore, by rewriting unnecessary data into input data, only necessary data can be recorded in the recording area.

【0022】[0022]

【発明の実施の形態】以下、本発明をバスの運賃表示器
に具体化した一実施形態を図1〜図10に基づき詳細に
説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment in which the present invention is embodied in a fare indicator for a bus will be described in detail below with reference to FIGS.

【0023】図1に示すように、運賃表示器1は、表示
盤2と制御装置3とを備えている。表示盤2は、図示し
ないバス車内の前方位置において乗客が視認しやすい箇
所に配設されている。同図に示すように、本実施形態に
おいて表示盤2の表面には、ドットLEDによって構成
され、行き先や停留所名等を表示する第1表示部2aが
設けられている。また、同表示盤2の表面には、複数の
番号(ここでは1〜20)が付されており、それら番号
と対応する位置にはそれぞれ複数の7セグメントLED
によって構成された複数(ここでは20個)の第2表示
部2bが設けられている。各番号は車両乗車時に車内で
発行される整理券に付された番号と対応しており、各第
2表示部2bにはそれぞれ運賃が表示されるようになっ
ている。つまり、表示盤2には、整理券に付された番号
と対応した運賃が表示されるようになっている。
As shown in FIG. 1, the fare indicator 1 comprises a display panel 2 and a control device 3. The display panel 2 is arranged at a front position in a bus car (not shown) at a location where passengers can easily see it. As shown in the figure, in the present embodiment, on the surface of the display panel 2, there is provided a first display portion 2a which is composed of dot LEDs and which displays a destination, a stop name and the like. Further, a plurality of numbers (here, 1 to 20) are attached to the surface of the display board 2, and a plurality of 7-segment LEDs are provided at positions corresponding to the numbers.
A plurality of (here, 20) second display portions 2b configured by are provided. Each number corresponds to the number attached to the numbered ticket issued inside the vehicle when the vehicle is boarded, and the fare is displayed on each second display portion 2b. That is, the display panel 2 displays the fare corresponding to the number attached to the numbered ticket.

【0024】制御装置3は、運転席周辺に配設され、制
御手段としてのCPU11、ROM12、記録手段とし
てのメモリ13、リアルタイムクロック(RTC)1
4、インターフェイス15及びデータ入力部16を備え
ている。ROM12、メモリ13、RTC14、インタ
ーフェイス15及びデータ入力部16はCPU11に電
気的に接続されている。また、インターフェイス15と
表示盤2とが電気的に接続されている。
The control device 3 is arranged around the driver's seat and has a CPU 11 as a control means, a ROM 12, a memory 13 as a recording means, and a real time clock (RTC) 1.
4, 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】メモリ13は、例えばフラッシュメモリ等
の不揮発性メモリによって構成され、図2に示すように
2つの記録領域A,Bを備えている。これら記録領域
A,Bには、日時情報と表示情報とを含むデータをそれ
ぞれ記録できるようになっている。詳しくは、図2に示
すように、メモリ13は、日時情報α及び表示情報αを
含むデータαと、日時情報αとは異なる日時情報β及び
表示情報αとは異なる表示情報βを含むデータβとを記
録可能となっている。つまり、メモリ13は、2種類の
データを記録可能となっている。なお、日時情報とはデ
ータの有効開始日を示す情報であり、表示情報とは行き
先や停留所名等の表示対象を示す情報である。
The memory 13 is composed of a non-volatile memory such as a flash memory, and has two recording areas A and B as shown in FIG. Data including date and time information and display information can be recorded in these recording areas A and B, respectively. More specifically, as shown in FIG. 2, the memory 13 stores data α including date / time information α and display information α, date / time information β different from the date / time information α and data β including display information β different from the display information α. And can be recorded. That is, the memory 13 can record two types of data. The date and 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 and a stop name.

【0026】RTC14は、現在の日時をカウントする
ICチップであり、現在の日時をCPU11に入力する
ようになっている。データ入力部16は、図示しないメ
モリカードやメモリカセット等の記録媒体を着脱可能に
構成されている。そして、データ入力部16は、該記録
媒体が装着された際に同記録媒体に記録されたデータを
読み取り、そのデータをCPU11に入力するようにな
っている。なお、本実施形態においてデータ入力部16
は、非接触でデータを読み取り可能なICカード等の記
録媒体を着脱可能に構成されている。
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 such that a recording medium such as a memory card or a memory cassette (not shown) can be attached and detached. Then, the data input unit 16 reads the data recorded on the recording medium when the recording medium is mounted, and inputs the data to the CPU 11. In the present embodiment, the data input unit 16
Is configured so that a recording medium such as an IC card that can read data in a contactless manner can be attached and detached.

【0027】ROM12には表示盤2の表示を制御する
ための所定の制御プログラムが格納され、CPU11は
その制御プログラムに従って表示処理及びデータの記録
処理を行うようになっている。そして、表示処理時にお
いてCPU11は、メモリ13に記録されたデータと現
在の日時とに基づいて表示信号を出力する。その表示信
号はインターフェイス部15を介して表示盤2に入力さ
れ、同表示信号に基づいて各表示部2a,2bが表示さ
れる。
A predetermined control program for controlling the display on the display panel 2 is stored in the ROM 12, and the CPU 11 carries out a display process and a data recording process 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 via the interface unit 15, and the display units 2a and 2b are displayed based on the display signal.

【0028】こうしてCPU11は、有効開始日が現在
の日時に達し、且つ現在の日時に最も近い有効開始日を
示す日時情報を有するデータに基づいて表示処理(デー
タ処理)を行うようになっている。詳しくは、図3
(a)に示すように、メモリ13内に2つの既存データ
D1,D2が存在する場合、CPU11は、まず現在の
日時と各既存データD1,D2の有効開始日とを比較す
る。なお、ここでは既存データD1の有効開始日よりも
既存データD2の有効開始日の方が未来に設定されてい
るものとする。そして、CPU11は、現在の日時がデ
ータD1の有効開始日に達するまでの期間T1は、現状
において使用可能なデータが存在しないものと判断す
る。よって、この期間T1においてCPU11は、表示
盤2の第1表示部2aに、「有効なデータがありません」
等のエラーメッセージを表示させる。また、CPU11
は、現在の日時がデータD1の有効開始日からデータD
2の有効開始日に達するまでの期間T2は、データD1
を使用データとし、データD1に基づいて表示盤2の表
示制御を行う。そして、CPU11は、現在の日時がデ
ータD2の有効開始日に達した以降の期間T3は、デー
タD2を使用データとし、データD2に基づいて表示盤
2の表示制御を行う。つまり、CPU11は、現在の日
時がデータD2の有効開始日に達すると、使用データを
データD1からデータD2に更新する。このため、例え
ば未来に運賃の改正がある場合、その運賃改正日を日時
情報とし、改正後の運賃を表示情報とする運賃データを
予めメモリ13に記録しておけば、現在の日時が運賃改
正日に達したときに運賃データが自動的に切り換わる。
よって、運賃データの更新を改正日に手動で行う必要が
なく、操作性が向上するとともに、更新忘れも確実に防
止される。
In this way, the CPU 11 performs the display processing (data processing) based on the data having the effective start date reaching the current date and time and having the date and time information indicating the effective start date closest to the current date and time. . For details, see Figure 3.
As shown in (a), when two existing data D1 and D2 exist in the memory 13, the CPU 11 first compares the current date and time with the valid start date of each existing data D1 and D2. Note that, 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 usable data at present under the period T1 until the current date and time reaches the valid start date of the data D1. Therefore, during this period T1, the CPU 11 "displays no valid data" on the first display portion 2a of the display panel 2.
Display an error message such as. Also, the CPU 11
Is the current date and time from the effective start date of data D1 to data D
The period T2 until reaching the effective start date of 2 is the data D1.
Is used as the use data, and the display control of the display panel 2 is performed based on the data D1. Then, the CPU 11 controls the display of the display panel 2 based on the data D2 by using the data D2 as the usage data for the period T3 after the current date and time reaches the valid start date of the data D2. That is, when the current date and time reaches the valid start date of the data D2, the CPU 11 updates the usage data from the data D1 to the data D2. For this reason, for example, when there is a revision of the fare in the future, if the fare revision date is used as date and time information and the fare data after the revision is used as display information is recorded in the memory 13 in advance, the current date and time is revised. When the date is reached, the fare data will switch automatically.
Therefore, it is not necessary to manually update the fare data on the date of revision, operability is improved, and forgetting to update is surely prevented.

【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を正常な状態に設定し
直した場合などに対応させるためのものである。
Further, when new data is input from the data input section 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 there is already recorded data (existing data) in each of the recording areas A and B. Then, when the existing data exists, the CPU 11 determines whether the date and time information of the existing data is before the current date and time or is future than the current date and time. As a result, the CPU 11 classifies existing data having date and time information before the current date and time as permission data, and existing data having date and time information future than the current date and time as standby data, into two types. Then, the CPU 11 performs the recording process of the input data in different modes according to the presence or absence of the existing data and the relationship between the type of the input data and the type of the existing data. Therefore, the recording process of the input data performed by the CPU 11 will be described in detail with reference to FIGS. This recording process is executed based on the program stored in the ROM 12. Further, this program may be recorded in a computer-readable recording medium other than the ROM 12. The following items <1> to <
FIG. 10 shows a list of recording processing modes of the input data D3 in the case of 3>. It should be noted that although all patterns are described here for the sake of easy understanding of the present invention, some of the patterns include recording processing under a situation that cannot occur as long as normal processing is performed.
This is for handling the case where the CPU 11 runs out of control and incorrect data is input, or the RTC 14 is reset to a normal state after data is input in a wrong state. Is.

【0030】<1>記録領域A,B共に既存データが存
在しない場合。この場合CPU11は、図4に示すよう
に、入力データD3が、現在の日時よりも過去の日時情
報P1、現在の日時と同じ日時情報P2、現在の日時よ
りも未来の日時情報P3のうちのいずれの日時情報を有
していても、入力データD3を記録領域Aに記録する。
よって、入力データD3の記録処理完了時において、メ
モリ13は、記録領域Aに入力データD3が記録され、
記録領域Bには何も記録されていない状態となる。
<1> When existing data does not exist in the recording areas A and B. In this case, as shown in FIG. 4, the CPU 11 selects one of the date / time information P1 past the current date / time, the date / time information P2 same as the current date / time, and the date / time information P3 future from the current date / time as shown in FIG. The input data D3 is recorded in the recording area A regardless of the date and time information.
Therefore, when the recording process of the input data D3 is completed, the input data D3 is recorded in the recording area A of the memory 13.
Nothing is recorded in the recording area B.

【0031】<2>記録領域A,Bのうちの一方に既存
データが存在し、他方には既存データが存在しない場
合。 (2−1)記録領域Aに許可データD1が存在する場
合。
<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】この場合、図5(a)に示すように、初期
状態における記録領域Aに許可データである既存データ
D1が記録され、記録領域Bには何も記録されていない
状態となっている。
In this case, as shown in FIG. 5 (a), the existing data D1 which is the permission data is recorded in the recording area A in the initial state, and nothing is recorded in the recording area B. .

【0033】CPU11は、入力データD3が入力され
ると、その入力データD3が許可データであるか待機デ
ータであるかを判断する。すなわち、CPU11は、入
力データD3の日時情報と現在の日時とを比較し、入力
データD3の日時情報が現在の日時以前である場合、入
力データD3を許可データとして分類する。また、入力
データD3の日時情報が現在の日時よりも未来である場
合、CPU11は入力データD3を待機データとして分
類する。
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. If the date and time information of the input data D3 is in the future than the current date and time, the CPU 11 classifies the input data D3 as standby data.

【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に入力データD
3が記録され、記録領域Bが空き領域となった状態とな
る。
When the input data D3 is permission data, that is, when the input data D3 is of the same type as the existing data D1, the CPU 11 rewrites the existing data D1 into the input data D3. Therefore, as shown in the figure, when the input data D3 having the date and time information P1 to P4 indicating the date and time before 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.
More specifically, when the input data D3 has date / time information P1 that is earlier than the date / time information of the existing data D1, the input data D3 is the same date / time information P2 as the date / time information of the existing data D1.
If 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 date / time information P4 indicating the same date / time as the current date / time. In any of the above cases, 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 stores the input data D in the recording area A.
3 is recorded, and the recording area B becomes a free area.

【0035】また、入力データD3が待機データである
場合、すなわち入力データD3が既存データD1と異な
るタイプのデータである場合、CPU11は、空き領域
である記録領域Bに入力データD3を記録する処理を行
う。このため、同図に示すように、現在の日時よりも未
来の日時を示す日時情報P5を有する入力データD3が
入力された場合には、その入力データD3が記録領域B
に記録される。なお、CPU11は、記録領域Aに記録
されている既存データD1は、記録した状態のままとす
る。よって、入力データD3の記録処理完了時におい
て、メモリ13は、記録領域Aに既存データD1が記録
され、記録領域Bに入力データD3が記録された状態と
なる。
If the input data D3 is standby data, that is, if the input data D3 is of a type different from the existing data D1, the CPU 11 records the input data D3 in the recording area B which is a free area. I do. Therefore, as shown in the figure, when the input data D3 having the date and time information P5 indicating the date and time that is later than the current date and time is input, the input data D3 is recorded in the recording area B.
Recorded in. 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 existing data D1 is recorded in the recording area A and the input data D3 is recorded in the recording area B of the memory 13.

【0036】(2−2)記録領域Bに許可データD1が
存在する場合。この場合、図5(b)に示すように、初
期状態における記録領域Aには何も記録されておらず、
記録領域Bに許可データである既存データD1が記録さ
れた状態となっている。
(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,
The existing data D1 which is the permission data is recorded in the recording area B.

【0037】そして、CPU11は、入力データD3が
入力されると、前記入力データD3の分類を行う。これ
により、入力データD3が許可データである場合、すな
わち入力データD3が既存データD1と同タイプのデー
タである場合、CPU11は、記録領域Bに記録された
既存データD1を削除するとともに、入力データD3を
記録領域Aに記録する処理を行う。このため、同図に示
すように、現在の日時以前の日時を示す日時情報P1〜
P4を有する入力データD3が入力された場合には、記
録領域Bに記録された既存データD1が削除され、記録
領域Aに入力データD3が記録される。よって、入力デ
ータD3の記録処理完了時において、メモリ13は、記
録領域Aに入力データD3が記録され、記録領域Bが空
き領域となった状態となる。
When the input data D3 is input, the CPU 11 classifies the input data D3. Thus, when the input data D3 is permission data, that is, when the input data D3 is the same type of data as the existing data D1, the CPU 11 deletes the existing data D1 recorded in the recording area B and The process of recording D3 in the recording area A is performed. Therefore, as shown in the figure, the date and time information P1 to 1 indicating the date and time before the current date and time.
When the input data D3 having P4 is input, the existing data D1 recorded in the recording area B is deleted, and the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the input data D3 is recorded in the recording area A of the memory 13, and the recording area B becomes a free area.

【0038】また、入力データD3が待機データである
場合、すなわち入力データD3が既存データD1と異な
るタイプのデータである場合、CPU11は、記録領域
Bに記録された既存データD1を記録した状態のまま、
空き領域である記録領域Aに入力データD3を記録する
処理を行う。このため、同図に示すように、現在の日時
よりも未来の日時を示す日時情報P5を有する入力デー
タD3が入力された場合には、その入力データD3が記
録領域Aに記録される。よって、入力データD3の記録
処理完了時において、メモリ13は、記録領域Aに入力
データD3が記録され、記録領域Bに既存データD1が
記録された状態となる。
If the input data D3 is the standby data, that is, if the input data D3 is of a different type from the existing data D1, the CPU 11 records the existing data D1 recorded in the recording area B. As it is,
A process of recording the input data D3 in the recording area A which is a free area is performed. Therefore, as shown in the figure, when the input data D3 having the date / time information P5 indicating the date / time which is in the future than 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 in which 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)記録領域Aに待機データD1が
存在する場合。この場合、図6(a)に示すように、初
期状態における記録領域Aに待機データである既存デー
タD1が記録され、記録領域Bには何も記録されていな
い状態となっている。
(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 the standby data is recorded in the recording area A in the initial state, and nothing is recorded in the recording area B.

【0040】そして、CPU11は、入力データD3が
入力されると、前記入力データD3の分類を行う。これ
により、入力データD3が許可データである場合、すな
わち入力データD3が既存データD1と異なるタイプの
データである場合、CPU11は、記録領域Aに記録さ
れた既存データD1を記録した状態のまま、空き領域で
ある記録領域Bに入力データD3を記録する処理を行
う。このため、同図に示すように、現在の日時以前の日
時を示す日時情報P1,P2を有する入力データD3が
入力された場合には、その入力データD3が記録領域B
に記録される。よって、入力データD3の記録処理完了
時において、メモリ13は、記録領域Aに既存データD
1が記録され、記録領域Bに入力データD3が記録され
た状態となる。
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 leaves the existing data D1 recorded in the recording area A in a recorded state. A process of recording the input data D3 in the recording area B, which is a free area, is performed. Therefore, as shown in the figure, when the input data D3 having the 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 B.
Recorded in. Therefore, when the recording process of the input data D3 is completed, the memory 13 stores the existing data D in the recording area A.
1 is recorded, and the input data D3 is recorded in the recording area B.

【0041】また、入力データD3が待機データである
場合、すなわち入力データD3が既存データD1と同タ
イプのデータである場合、CPU11は、既存データD
1を入力データD3に書き換える処理を行う。このた
め、同図に示すように、現在の日時よりも未来の日時を
示す日時情報P3〜P5を有する入力データD3が入力
された場合には、記録領域Aに記録された既存データD
1が削除され、記録領域Aに入力データD3が記録され
る。より詳しくは、入力データD3が既存データD1の
日時情報よりも現在の日時に近い日時情報P3を有する
場合、入力データD3が既存データD1の日時情報と同
じ日時情報P4を有する場合、入力データD3が既存デ
ータD1の日時情報よりも未来の日時情報P5を有する
場合のうちのいずれの場合であっても、既存データD1
が入力データD3に書き換えられ、記録領域Aに入力デ
ータD3が記録される。なお、これらの場合、記録領域
Bには何も記録されていないままとなる。よって、入力
データD3の記録処理完了時において、メモリ13は、
記録領域Aに入力データD3が記録され、記録領域Bが
空き領域となった状態となる。
When the input data D3 is the standby data, that is, when the input data D3 is the same type of data as the existing data D1, the CPU 11 determines that the existing data D3 is the same as the existing data D1.
The process of rewriting 1 into the input data D3 is performed. Therefore, as shown in the figure, when the input data D3 having the date and time information P3 to P5 indicating the date and time that is later than the current date and time is input, the existing data D recorded in the recording area A is input.
1 is deleted, and the input data D3 is recorded in the recording area A. More specifically, if the input data D3 has date and time information P3 closer to the current date and time than the date and time information of the existing data D1, and if the input data D3 has the same date and time information P4 as the date and time information of the existing data D1, the input data D3. , Whichever is later than the date / time information of the existing data D1, the existing data D1
Is rewritten with 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
The input data D3 is recorded in the recording area A, and the recording area B becomes a free area.

【0042】(2−4)記録領域Bに待機データD1が
存在する場合。この場合、図6(b)に示すように、初
期状態における記録領域Aには何も記録されておらず、
記録領域Bに待機データである既存データD1が記録さ
れた状態となっている。
(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,
The existing data D1 that is the standby data is recorded in the recording area B.

【0043】そして、CPU11は、入力データD3が
入力されると、前記入力データD3の分類を行う。これ
により、入力データD3が許可データである場合、すな
わち入力データD3が既存データD1と異なるタイプの
データである場合、CPU11は、記録領域Bに記録さ
れた既存データD1を記録した状態のまま、空き領域で
ある記録領域Aに入力データD3を記録する処理を行
う。このため、同図に示すように、現在の日時以前の日
時を示す日時情報P1,P2を有する入力データD3が
入力された場合には、その入力データD3が記録領域A
に記録される。よって、入力データD3の記録処理完了
時において、メモリ13は、記録領域Aに入力データD
3が記録され、記録領域Bに既存データD1が記録され
た状態となる。
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 data of a type different from the existing data D1, the CPU 11 leaves the existing data D1 recorded in the recording area B in a recorded state. A process of recording the input data D3 in the recording area A which is a free area is performed. Therefore, as shown in the figure, when the input data D3 having the 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.
Recorded in. Therefore, when the recording process of the input data D3 is completed, the memory 13 stores the input data D in the recording area A.
3 is recorded, and the existing data D1 is recorded in the recording area B.

【0044】また、入力データD3が待機データである
場合、すなわち入力データD3が既存データD1と同タ
イプのデータである場合、CPU11は、記録領域Bに
記録された既存データD1を削除するとともに、入力デ
ータD3を記録領域Aに記録する処理を行う。このた
め、同図に示すように、現在の日時よりも未来の日時を
示す日時情報P3〜P5を有する入力データD3が入力
された場合には、記録領域Bに記録された既存データD
1が削除され、記録領域Aに入力データD3が記録され
る。よって、入力データD3の記録処理完了時におい
て、メモリ13は、記録領域Aに入力データD3が記録
され、記録領域Bが空き領域となった状態となる。
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, the CPU 11 deletes the existing data D1 recorded in the recording area B and A process of recording the input data D3 in the recording area A is performed. Therefore, as shown in the figure, when the input data D3 having the date and time information P3 to P5 indicating the date and time that is later than the current date and time is input, the existing data D recorded in the recording area B is input.
1 is deleted, and the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the input data D3 is recorded in the recording area A of the memory 13, and the recording area B becomes a free area.

【0045】したがって、上記項目(2−1)〜(2−
4)に記載したように、各記録領域A,Bのうちのいず
れか一方に入力データD3と同タイプの既存データD1
が記録されている場合、CPU11は、その既存データ
D1を入力データD3に書き換える処理を行う。なお、
上記項目(2−2)及び項目(2−4)に記載したよう
に、本実施形態においてCPU11は、入力データD3
を記録領域Aに優先的に記録するようになっている。
Therefore, the above items (2-1) to (2-
As described in 4), the existing data D1 of the same type as the input data D3 is stored in one of the recording areas A and B.
Is recorded, the CPU 11 performs a process of rewriting the existing data D1 into the input data D3. In addition,
As described in the item (2-2) and the item (2-4), the CPU 11 in the present embodiment, the input data D3.
Is preferentially recorded in the recording area A.

【0046】また、各記録領域A,Bのうちの一方に入
力データD3と異なるタイプの既存データD1が記録さ
れ、他方の記録領域A,Bが空き領域である場合、CP
U11は、空き領域に入力データD3を記録する処理を
行う。
When 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 area A or B is an empty area, CP
U11 performs a process of recording the input data D3 in the empty area.

【0047】<3>記録領域A,B共に既存データが存
在する場合。 (3−1)日時情報の関係が、「記録領域A<記録領域
B≦現在」(過去<未来)となっている場合。
<3> When existing data exists in both recording areas A and B. (3-1) When the relationship of date and time information is “recording area A <recording area B ≦ present” (past <future).

【0048】この場合、図7(a)に示すように、初期
状態における記録領域Aに許可データである既存データ
D1が記録され、その既存データD1の日時情報よりも
現在の日時に近い日時情報を有する許可データである既
存データD2が記録領域Bに記録された状態となってい
る。つまりここでは、各記録領域A,Bにそれぞれ同タ
イプの既存データD1,D2が記録された状態となって
いる。
In this case, as shown in FIG. 7A, the existing data D1 which is the permission data is recorded in the recording area A in the initial state, and the date and time information closer to the current date and time than the date and time information of the existing data D1 is recorded. The existing data D2, which is the permission data including the above, is recorded in the recording area B. That is, here, the existing data D1 and D2 of the same type are recorded in the recording areas A and B, respectively.

【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を有する場合、入力データD
3が既存データD1の日時情報と既存データD2の日時
情報との間の日時を示す日時情報P3を有する場合、入
力データD3が既存データD2と同じ日時情報P4を有
する場合、入力データD3が既存データD2の日時情報
と現在の日時との間の日時を示す日時情報P5を有する
場合、入力データD3が現在の日時と同じ日時を示す日
時情報P6を有する場合のうちのいずれの場合であって
も、各既存データD1,D2が削除されて、記録領域A
に入力データD3が記録される。よって、入力データD
3の記録処理完了時において、メモリ13は、記録領域
Aに入力データD3が記録され、記録領域Bが空き領域
となった状態となる。
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 the same type of data as the existing data D1 and D2, the CPU 11 causes the recording areas A,
The existing data D1 and D2 recorded in B are both deleted and the input data D3 is recorded in the recording area A.
Therefore, as shown in the figure, when the input data D3 having the date and time information P1 to P6 indicating the date and time before the current date and time is input, the existing data D1 and D2 are deleted,
The input data D3 is recorded in the recording area A. More specifically, when the input data D3 has date and time information P1 that is earlier than the existing data D1, and when the input data D3 has the same date and time information P2 as the existing data D1, the input data D3
If the input data D3 has the same date / time information P4 as the existing data D2, the input data D3 has the same date / time information P3 as the date / time information between the existing data D1 and the existing data D2. In any of the case where the date and time information P5 indicating the date and time between the date and time information of the data D2 and the current date and time is included, and the case where the input data D3 includes the date and time information P6 indicating the same date and time as the current date and time. Also, the existing data D1 and D2 are deleted, and the recording area A
Input data D3 is recorded in. Therefore, the input data D
Upon completion of the recording process of No. 3, in the memory 13, the input data D3 is recorded in the recording area A, and the recording area B becomes a free area.

【0050】また、入力データD3が待機データである
場合、すなわち入力データD3が各既存データD1,D
2と異なるタイプのデータである場合、CPU11は、
既存データD1,D2のうち、現在の日時から遠い日時
情報を有する既存データを入力データD3に書き換える
処理を行う。つまり、この場合には既存データD2より
も既存データD1の方が現在の日時から遠い日時情報を
有しているため、CPU11は、記録領域Aに記録され
た既存データD1を削除するとともに、入力データD3
を記録領域Aに記録する。このため、同図に示すよう
に、現在の日時よりも未来の日時を示す日時情報P7を
有する入力データD3が入力された場合には、記録領域
Aに記録された既存データD1が削除され、記録領域A
に入力データD3が記録される。よって、入力データD
3の記録処理完了時において、メモリ13は、記録領域
Aに入力データD3(待機データ)が記録され、記録領
域Bに既存データD2(許可データ)が記録された状態
となる。
When the input data D3 is standby data, that is, the input data D3 is the existing data D1, D
If the data is of a type different from 2, the CPU 11
Of the existing data D1 and D2, the existing data having date and time information far from the current date and time is rewritten to the input data D3. In other words, 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 A and inputs it. Data D3
Is recorded in the 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 date and time later than the current date and time is input, the existing data D1 recorded in the recording area A is deleted, Recording area A
Input data D3 is recorded in. Therefore, the input data D
When the recording process of No. 3 is completed, the memory 13 is in a state in which 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)日時情報の関係が、「記録領域
B<記録領域A≦現在」(過去<未来)となっている場
合。この場合、図7(b)に示すように、初期状態にお
ける記録領域Bに許可データである既存データD1が記
録され、その既存データD1の日時情報よりも現在の日
時に近い許可データである既存データD2が記録領域A
に記録された状態となっている。つまりここでは、上記
項目(3−1)と同様に、各記録領域A,Bにそれぞれ
同タイプの既存データD1,D2が記録された状態とな
っている。
(3-2) When the relationship of date and time information is "recording area B <recording area A≤present" (past <future). In this case, as shown in FIG. 7B, the existing data D1 that is the permission data is recorded in the recording area B in the initial state, and the existing data that is the permission data closer to the current date and time than the date and time information of the existing data D1. Data D2 is recording area A
It has been recorded in. That is, here, similar to the above item (3-1), the existing data D1 and D2 of the same type are recorded in the recording areas A and B, respectively.

【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が空き領
域となった状態となる。
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 has date and time information of the same type as the existing data D1 and D2, the CPU 11 performs the same as the above item (3-1). Perform processing. That is, the CPU 11
Deletes each existing data D1 and D2,
A process of recording the input data D3 is performed. Therefore, as shown in the figure, when the input data D3 having the date and time information P1 to P6 indicating the date and time before the current date and time 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 input data D3 is recorded in the recording area A of the memory 13, and the recording area B becomes a free area.

【0053】また、入力データD3が待機データである
場合、すなわち入力データD3が各既存データD1,D
2と異なるタイプのデータである場合、CPU11は、
上記項目(3−1)と同様の処理を行う。つまり、CP
U11は、既存データ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の記録状態が逆の関係となる。
When the input data D3 is standby data, that is, the input data D3 is the existing data D1, D
If the data is of a type different from 2, the CPU 11
The same processing as the above item (3-1) is performed. That is, CP
The U11 performs a process of rewriting the existing data having date / time information far from the current date / time among the existing data D1 and D2 into the input data D3. 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 also inputs the data D3. Is recorded in the recording area B. Therefore, as shown in the figure, when the input data D3 having date and time information P7 indicating a date and time that is later 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 B. Therefore, when the recording process of the input data D3 is completed, the existing data D2 (permission data) is recorded in the recording area A of the memory 13.
The input data D3 (standby data) is recorded in the recording area B. That is, compared with the above item (3-1), the recording states of the existing data D2 and the input data D3 in the recording areas A and B have an opposite relationship.

【0054】(3−3)日時情報の関係が、「記録領域
A,B=現在」となっている場合。この場合、図7
(c)に示すように、初期状態における現在の日時と同
じ日時情報を有する許可データである既存データD1が
記録領域Aに記録され、その既存データD1の日時情報
と同じ日時情報を有する既存データD2が記録領域Bに
記録された状態となっている。
(3-3) When the relationship of date and time information is "recording area A, B = present". In this case,
As shown in (c), existing data D1 that 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 existing data having the same date and time information as the date and time information of the existing data D1. D2 is recorded in the recording area B.

【0055】こうした場合においても、CPU11は、
入力データD3が各既存データD1,D2と同タイプの
データであれば、各既存データD1,D2を削除して入
力データD3を記録領域Aに記録する処理を行う。この
ため、同図に示すように、現在の日時以前の日時情報P
1,P2を有する入力データD3が入力された場合に
は、各記録領域A,Bに記録された既存データD1,D
2が削除され、記録領域Aに入力データD3が記録され
る。よって、入力データD3の記録処理完了時におい
て、メモリ13は、記録領域Aに入力データD3が記録
され、記録領域Bが空き領域となった状態となる。
Even in such a case, the CPU 11
If the input data D3 is the same type of data as the existing data D1 and D2, a process of deleting the existing data D1 and D2 and recording the input data D3 in the recording area A is performed. Therefore, as shown in the figure, the date and time information P before the current date and time
When the input data D3 having 1 and P2 is input, the existing data D1 and D recorded in the recording areas A and B are input.
2 is deleted, and the input data D3 is recorded in the recording area A. Therefore, when the recording process of the input data D3 is completed, the input data D3 is recorded in the recording area A of the memory 13, and the recording area B becomes a free area.

【0056】また、CPU11は、入力データD3が各
既存データD1,D2と異なるタイプのデータであれ
ば、記録領域Bに記録された既存データ(ここでは既存
データD2)を入力データD3に書き換える処理を行
う。このため、同図に示すように、現在の日時よりも未
来の日時情報P3を有する入力データD3が入力された
場合には、記録領域Bに記録された既存データD2が削
除され、その記録領域Bに入力データD3が記録され
る。これは、記録領域Aが記録領域Bに優先して記録さ
れるように決めてあるため、記録領域Bのデータの方が
重要度が低いとみなされるためである。よって、入力デ
ータD3の記録処理完了時において、メモリ13は、記
録領域Aに既存データD1(許可データ)が記録され、
記録領域Bに入力データD3(待機データ)が記録され
た状態となる。
If the input data D3 is of a type different from the existing data D1 and D2, the CPU 11 rewrites the existing data recorded in the recording area B (here, the existing data D2) into the input data D3. I do. Therefore, as shown in the figure, when the input data D3 having date and time information P3 that is later than the current date and time is input, the existing data D2 recorded in the recording area B is deleted and the recording area is deleted. 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, and thus 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 existing data D1 (permission data) is recorded in the recording area A of the memory 13.
The input data D3 (standby data) is recorded in the recording area B.

【0057】したがって、上記項目(3−1)〜(3−
3)に記載したように、各記録領域A,Bにそれぞれ入
力データD3と同タイプの既存データD1,D2が記録
されている場合、CPU11は、それら既存データD
1,D2を共に削除し、記録領域Aに入力データD3を
記録する処理を行う。
Therefore, the above items (3-1) to (3-)
As described in 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, respectively, the CPU 11 causes the existing data D to be recorded.
The processing of deleting both 1 and D2 and recording the input data D3 in the recording area A is performed.

【0058】また、各記録領域A,Bにそれぞれ入力デ
ータD3と異なるタイプの既存データD1,D2が記録
されている場合、CPU11は、それら既存データD
1,D2のうち、現在の日時から遠い日時情報を有する
既存データD1,D2を入力データD3に書き換える処
理を行う。
When existing data D1 and D2 of different types from the input data D3 are recorded in the respective recording areas A and B, the CPU 11 causes the existing data D3 to be recorded.
Among the data D1 and D2, the existing data D1 and D2 having date and time information far from the current date and time is rewritten to the input data D3.

【0059】(3−4)日時情報の関係が、「記録領域
A≦現在<記録領域B」(過去<未来)となっている場
合。この場合、図8(a)に示すように、初期状態にお
ける記録領域Aに許可データである既存データD1が記
録され、記録領域Bに待機データである既存データD2
が記録された状態となっている。つまりここでは、記録
領域A,Bにそれぞれ異なるタイプのデータが記録され
た状態となっている。
(3-4) The relationship of the date and time information is "recording area A≤present <recording area B" (past <future). In this case, as shown in FIG. 8A, the existing data D1 which is the permission data is recorded in the recording area A in the initial state, and the existing data D2 which is the standby data is recorded in the recording area B.
Has been recorded. That is, here, different types of data are recorded in the recording areas A and B, respectively.

【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(待機データ)が記録された状
態となる。
When the input data D3 is input, the CPU 11 classifies the input data D3. Accordingly, when the input data D3 is permission data, that is, when the input data D3 is the same type of data as the existing data D1, the CPU 11 rewrites the existing data D1 into the input data D3. Therefore, as shown in the figure, when the input data D3 having the date and time information P1 to P4 before the current date and time is input, the existing data D1 recorded in the recording area A is deleted and the recording area is deleted. A
Input data D3 is recorded in. More specifically, when the input data D3 has date and time information P1 that is earlier than the existing data D1, and when the input data D3 has the same date and time information P2 as the existing data D1, the input data D3 is the same as the date and time information of the existing data D1. The existing data D1 is deleted regardless of whether the input data D3 has the date and time information P4 indicating the same date and time as the current date and time. Then, 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 in which 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】また、CPU11は、入力データD3が待
機データである場合、すなわち入力データD3が既存デ
ータD2と同タイプのデータである場合、CPU11
は、既存データD2を入力データD3に書き換える処理
を行う。このため、同図に示すように、現在の日時より
も未来の日時情報P5〜P7を有する入力データD3が
入力された場合には、記録領域Bに記録された既存デー
タD2が削除され、その記録領域Bに入力データD3が
記録される。より詳しくは、入力データD3が現在の日
時と既存データD2の日時情報との間の日時を示す日時
情報P5を有する場合、入力データD3が既存データD
2と同じ日時情報P6を有する場合、入力データD3が
既存データD2よりも未来の日時情報P7を有する場合
のうちのいずれの場合であっても、既存データD2が削
除されて、記録領域Bに入力データD3が記録される。
よって、入力データD3の記録処理時において、メモリ
13は、記録領域Aに既存データD1が記録され、記録
領域Bに入力データD3が記録された状態となる。
If the input data D3 is standby data, that is, if the input data D3 is of the same type as the existing data D2, the CPU 11 determines that 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 date and time information P5 to P7 that is later than the current date and time is input, the existing data D2 recorded in the recording area B is deleted, and The 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 is the existing data D3.
In the case where the input data D3 has the same date and time information P6 as that of the input data D3 and the input data D3 has date and time information P7 which is in the future than the existing data D2, the existing data D2 is deleted and the recording area B is deleted. Input data D3 is recorded.
Therefore, during the recording process of the input data D3, the memory 13 is in a state in which the existing data D1 is recorded in the recording area A and the input data D3 is recorded in the recording area B.

【0062】したがって、メモリ13にそれぞれ異なる
タイプの既存データが存在する場合、CPU11は、入
力データD3と同タイプの既存データD1,D2を入力
データD3に書き換える処理を行うようになっている。
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 into the input data D3.

【0063】(3−5)日時情報の関係が、「記録領域
B≦現在<記録領域A」(過去<未来)となっている場
合。この場合、図8(b)に示すように、初期状態にお
ける記録領域Bに許可データである既存データD1が記
録され、記録領域Aに待機データである既存データD2
が記録された状態となっている。
(3-5) When the relationship of the date and time information is “recording area B ≦ present <recording area A” (past <future). In this case, as shown in FIG. 8B, existing data D1 that is permission data is recorded in the recording area B in the initial state, and existing data D2 that is standby data is recorded in the recording area A.
Has been recorded.

【0064】そして、入力データD3が入力されると、
上記項目(3−4)と同様に、この状態においてもCP
U11は入力データD3と同じタイプの既存データD
1,D2を入力データD3に書き換える処理を行う。こ
のため、同図に示すように、現在の日時以前の日時情報
P1〜P4を有する入力データD3が入力された場合に
は、記録領域Bに記録された既存データD1が削除さ
れ、その記録領域Bに入力データD3が記録される。よ
って、入力データD3の記録処理時において、メモリ1
3は、記録領域Aに既存データD2が記録され、記録領
域Bに入力データD3が記録された状態となる。
When the input data D3 is input,
As in the item (3-4) above, the CP also remains in this state.
U11 is the existing data D of the same type as the input data D3
A process of rewriting 1, D2 into the input data D3 is performed. Therefore, as shown in the figure, when the input data D3 having the date and time information P1 to P4 before the current date and time is input, the existing data D1 recorded in the recording area B is deleted, and the recording area is deleted. Input data D3 is recorded in B. Therefore, during the recording process of the input data D3, the memory 1
In No. 3, the existing data D2 is recorded in the recording area A and the input data D3 is recorded in the recording area B.

【0065】また、現在の日時よりも未来の日時情報P
5〜P7を有する入力データD3が入力された場合に
は、記録領域Aに記録された既存データD2が削除さ
れ、その記録領域Aに入力データD3が記録される。よ
って、入力データD3の記録処理時において、メモリ1
3は、記録領域Aに入力データD3が記録され、記録領
域Bに既存データD1が記録された状態となる。
Further, the date and time information P that is future than the current date and time
When the input data D3 having 5 to P7 is input, the existing data D2 recorded in the recording area A is deleted and the input data D3 is recorded in the recording area A. Therefore, during the recording process of the input data D3, the memory 1
In No. 3, 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)日時情報の関係が、「現在<記
録領域A<記録領域B」(過去<未来)となっている場
合。この場合、図9(a)に示すように、初期状態にお
ける記録領域Aに待機データである既存データD1が記
録され、その既存データD1の日時情報よりも未来の日
時情報を有する待機データである既存データD2が記録
領域Bに記録された状態となっている。
(3-6) The relationship of 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 that is standby data is recorded in the recording area A in the initial state, and the standby data has date and time information that is in the future than the date and time information of the existing data D1. The existing data D2 is recorded in the recording area 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に入力データD
3(許可データ)が記録された状態となる。
When the input data D3 is input, the CPU 11 classifies the input data D3. Accordingly, when the input data D3 is permission data, that is, when the input data D3 is a data of a type different from the existing data D1 and D2, the CPU 11 causes the date and time far from the current date and time among the existing data D1 and D2. Processing for rewriting existing data having information to the input data D3 is performed. That is, in this case, since the existing data D2 has date and time information that is farther from the current date and time than the existing data D1, the CPU 11 deletes the existing data D2 recorded in the recording area B and inputs it. The data D3 is recorded in the recording area B. Therefore, as shown in the figure, the input data D3 having date and time information P1 and P2 before the current date and time
When is input, the existing data D2 recorded in the recording area B is deleted, and 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 stores the existing data D1 in the recording area A.
(Standby data) is recorded, and the input data D is recorded in the recording area B.
3 (permission data) is recorded.

【0068】また、入力データD3が待機データである
場合、すなわち入力データD3が各既存データD1,D
2と同じタイプのデータである場合、CPU11は、各
記録領域A,Bに記録された各既存データD1,D2を
共に削除して該入力データD3を記録領域Aに記録する
処理を行う。このため、同図に示すように、現在の日時
よりも未来の日時情報P3〜P7を有する入力データD
3が入力された場合には、各既存データ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が空き領域となった状態となる。
When the input data D3 is standby data, that is, the input data D3 is the existing data D1, D
If the data is of the same type as 2, the CPU 11 performs a process of deleting both the existing data D1 and D2 recorded in the recording areas A and B and recording the input data D3 in the recording area A. Therefore, as shown in the figure, the input data D having date and time information P3 to P7 that is future than the current date and time.
When 3 is input, the existing data D1 and D2 are deleted and the input data D3 is recorded in the recording area A. More specifically, the date / time information P3 indicating the date / time between the current date / time of the input data D3 and the date / time information of the existing data D1.
If the input data D3 has the same date / time information P4 as the existing data D1, the input data D3 has the 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. , Input data D3
If the input data D3 has the same date and time information P6 as the existing data D2 and the input data D3 has date and time information P7 indicating a date and time later than the date and time information of the existing data D2, each existing data D1 and D2 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 in which the input data D3 is recorded in the recording area A and the recording area B becomes an empty area.

【0069】(3−7)日時情報の関係が、「現在<記
録領域B<記録領域A」(過去<未来)となっている場
合。この場合、図9(b)に示すように、初期状態にお
ける記録領域Bに待機データである既存データD1が記
録され、その既存データD1の日時情報よりも未来の日
時情報を有する待機データである既存データD2が記録
領域Aに記録された状態となっている。つまりここで
は、上記項目(3−6)と同様に、各記録領域A,Bに
それぞれ同タイプの既存データD1,D2が記録された
状態となっている。
(3-7) When the relationship of date and time information is "present <recording area B <recording area A" (past <future). In this case, as shown in FIG. 9B, the existing data D1 that is the standby data is recorded in the recording area B in the initial state, and the standby data has date and time information that is later than the date and time information of the existing data D1. The existing data D2 is recorded in the recording area A. That is, here, similar to the item (3-6), the existing data D1 and D2 of the same type are recorded in the recording areas A and B, respectively.

【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に既存データD
1(待機データ)が記録された状態となる。すなわち、
上記項目(3−6)と比較すると、記録領域A,Bに対
する既存データD1及び入力データD3の記録状態が逆
の関係となる。
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 of a type different from the existing data D1 and D2, the CPU 11 performs the same processing as the above item (3-6). That is, the CPU 11
Performs a process of rewriting the existing data having date / time information far from the current date / time among the existing data D1 and D2 into the input data D3. Therefore, as shown in the figure, the input data D3 having date and time information P1 and P2 before the current date and time
When is input, the existing data D2 recorded in the recording area A is deleted, and 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 stores the input data D3 in the recording area A.
(Permission data) is recorded, and the existing data D is recorded in the recording area B.
1 (standby data) is recorded. That is,
Compared with the above item (3-6), the recording states of the existing data D1 and the input data D3 in the recording areas A and B have an opposite relationship.

【0071】また、入力データD3が待機データである
場合、すなわち入力データD3が各既存データD1,D
2と同じタイプのデータである場合、CPU11は、上
記項目(3−6)と同様の処理を行う。このため、同図
に示すように、現在の日時よりも未来の日時情報P3〜
P7を有する入力データD3が入力された場合には、各
既存データD1,D2が削除され、その入力データD3
が記録領域Aに記録される。よって、入力データD3の
記録処理完了時において、メモリ13は、記録領域Aに
入力データD3が記録され、記録領域Bが空き領域とな
った状態となる。
When the input data D3 is standby data, that is, the input data D3 is the existing data D1, D
When the data is of the same type as 2, the CPU 11 performs the same processing as the above item (3-6). For this reason, as shown in FIG.
When the input data D3 having P7 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 input data D3 is recorded in the recording area A of the memory 13, and the recording area B becomes a free area.

【0072】この結果、上記項目(3−6),(3−
7)においては、前述した項目(3−1)〜(3−3)
と同様に、各記録領域A,Bにそれぞれ入力データD3
と同タイプの既存データD1,D2が記録されている場
合、CPU11は、それら既存データD1,D2を共に
削除し、記録領域Aに入力データD3を記録する処理を
行う。
As a result, the above items (3-6) and (3-
In 7), the above items (3-1) to (3-3)
Similarly to the above, the input data D3 is recorded in each of the recording areas A and B.
When the existing data D1 and D2 of the same type are recorded, the CPU 11 deletes both the existing data D1 and D2 and records the input data D3 in the recording area A.

【0073】また、各記録領域A,Bにそれぞれ入力デ
ータD3と異なるタイプの既存データD1,D2が記録
されている場合、CPU11は、それら既存データD
1,D2のうち、現在の日時から遠い日時情報を有する
既存データD1,D2を入力データD3に書き換える処
理を行う。
When existing data D1 and D2 of different types from the input data D3 are recorded in the respective recording areas A and B, the CPU 11 causes the existing data D3 to be recorded.
Among the data D1 and D2, the existing data D1 and D2 having date and time information far from the current date and time is rewritten to the input data D3.

【0074】したがって、上記各項目<2>〜<3>に
記載したように、記録領域A,Bのうちの少なくとも一
方に既存データが存在する状態で入力データが入力され
た場合、CPU11は、現在の日時と既存データ及び入
力データの日時情報との関係からそれらデータを2種類
のタイプに分類するタイプ分類手順と、既存データのタ
イプと入力データのタイプとを比較するタイプ比較手順
と、その比較結果に基づいて入力データを記録すべき記
録領域A,Bを決定する手順とを実行させるためのプロ
グラムに基づいて記録処理を行うようになっている。
Therefore, as described in the above items <2> to <3>, when the input data is input in a state where the existing data exists in at least one of the recording areas A and B, the CPU 11 A type classification procedure that classifies the data into two types based on the relationship between the current date and time and date and time information of existing data and input data, and a type comparison procedure that compares the type of existing data with the type of input data, and The recording process is performed based on a program for executing the procedure for determining the recording areas A and B in which the input data should be recorded based on the comparison result.

【0075】よって、本実施形態によれば以下のような
効果を得ることができる。 (1)前記各項目<1>〜<3>に記載したように、C
PU11は、新たなデータD3が入力されると、各記録
領域A,Bにその入力データD3を記録可能な空き領域
が存在するか否かにかかわらず、該入力データD3を優
先的に記録領域A,Bに記録する。すなわち、記録領域
A,Bに空き領域が存在する場合はもちろんのこと、該
空き領域が存在しない場合であっても、既に記録されて
いる既存データD1,D2のうちの少なくとも一方が削
除され、その空き領域に入力データD3が記録される。
このため、入力データD3を必ず記録させることがで
き、データの更新を確実に行うことができる。
Therefore, according to this embodiment, the following effects can be obtained. (1) As described in the above items <1> to <3>, C
When the new data D3 is input, the PU 11 preferentially records the input data D3 regardless of whether or not there is a free area in which the input data D3 can be recorded in each of the recording areas A and B. Record in 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, The input data D3 is recorded in the empty area.
Therefore, the input data D3 can be recorded without fail, and the data can be surely updated.

【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の
記録処理を行うことができる。
(2) As described in the above items <2> and <3>, the CPU 11 determines the current date and time when the existing data D1 and D2 are present in at least one of the recording areas A and B. The input data D3 and the existing data D1 and D2 are classified into two types based on whether or not has reached the effective start date. Then, the CPU 11 causes the input data D3
The recording areas A and B in which the input data D3 is to be recorded are determined on the basis of the type and the types of the existing data D1 and D2. That is, the input data D3 is the existing data D1, D2.
Is recorded in the recording areas A and B in consideration of the relationship between the effective start date and the current date and time. Therefore, the existing data D1, D2
The input data D3 can be recorded in consideration of the effective start date and the current date and time.

【0077】(3)通常、既存データに誤りがあった場
合に既存データと同タイプのデータを入力する。しか
し、前記従来の運賃表示器では、各記録領域のうちの一
方に入力データと同タイプの既存データが存在し、他方
が空き領域となっている場合、入力データは空き領域に
記録されるようになっている。このため、入力データの
記録処理完了時においても記録部には誤ったデータが記
録されたままとなる。よって、従来の運賃表示器では、
誤ったデータに基づいて表示盤2の表示制御が行われて
しまうおそれがある。
(3) Normally, when the existing data has an error, the same type of data as the existing data is input. However, in the conventional fare display, if the existing data of the same type as the input data exists in one of the recording areas and the other has an empty area, the input data is recorded in the empty area. It has become. Therefore, erroneous data remains recorded in the recording unit even when the recording process of the input data is completed. Therefore, in the conventional fare display,
There is a possibility that the display control of the display panel 2 will be performed based on incorrect data.

【0078】これに対し、本実施形態では、前記項目<
2>及び<3>に記載したように、各記録領域A,Bの
うちのいずれか一方に入力データと同タイプの既存デー
タが存在する場合には、その同タイプの既存データが入
力データに書き換えられる。このため、誤ったデータを
確実に削除することができ、誤ったデータに基づいて表
示盤2の表示制御が行われてしまうといった不都合を防
止することができる。
On the other hand, in this embodiment, the item <
As described in 2> and <3>, when existing data of the same type as the input data exists in either of the recording areas A and B, the existing data of the same type is used as the input data. Can be rewritten. Therefore, erroneous data can be surely deleted, and the inconvenience that the display control of the display panel 2 is performed based on the erroneous data can be prevented.

【0079】(4)前記項目(3−1)〜(3−3),
(3−6),(3−7)に記載したように、入力データ
D3と同タイプの既存データD1,D2が各記録領域に
それぞれ記録されている場合には、それら既存データD
1,D2が共に削除されて入力データD3が記録領域A
に記録される。このため、メモリ13には入力データD
3のみが記録された状態となる。通常、メモリ13に同
タイプのデータが2つ記録されていても、CPU11は
そのうちの一方のデータに基づいて表示処理を行うた
め、もう一方のデータは不要である。よって、不要なデ
ータを確実に削除することができ、CPU11が不要な
データに基づいて表示処理を行ってしまうといった不都
合を確実に防止することができる。
(4) The above items (3-1) to (3-3),
As described in (3-6) and (3-7), when existing data D1 and D2 of the same type as the input data D3 are recorded in the respective recording areas, the existing data D3
Both 1 and D2 are deleted and the input data D3 is recorded area A.
Recorded in. For this reason, the input data D is stored in the memory 13.
Only 3 is recorded. Normally, even if two data of the same type are recorded in the memory 13, the CPU 11 performs the display process based on one of the data, so the other data is unnecessary. Therefore, unnecessary data can be surely deleted, and the inconvenience that the CPU 11 performs the display process based on the unnecessary data can be surely prevented.

【0080】(5)前記項目(2−1)〜(2−4)に
記載したように、各記録領域A,Bのうちの一方に入力
データD3と異なるタイプの既存データD1が記録さ
れ、他方の記録領域が空き領域である場合には、その空
き領域に入力データD3が記録される。通常、記録領域
A,Bの一方に入力データD3と異なるタイプの既存デ
ータD1が記録されている場合、その既存データD1は
表示処理に必要なデータである。このため、入力データ
D3の記録処理完了時において、メモリ13には必要な
データのみが記録された状態となる。よって、CPU1
1が、不要なデータに基づいて表示処理を行ってしまっ
たり、必要なデータに基づいて表示処理を行うことがで
きなくなったりするといった不都合を確実に防止するこ
とができる。
(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, If the other recording area is a free area, the input data D3 is recorded in the free area. Usually, when the existing data D1 of a type different from the input data D3 is recorded in one of the recording areas A and B, the existing data D1 is data necessary for the display process. Therefore, when the recording process of the input data D3 is completed, only the necessary data is recorded in the memory 13. Therefore, CPU1
It is possible to reliably prevent inconveniences such as 1 performing display processing based on unnecessary data or being unable to perform display processing based on necessary data.

【0081】(6)前記項目(3−1),(3−2),
(3−4),(3−5)に記載したように、入力データ
D3と異なるタイプの既存データD1,D2が各記録領
域A,Bにそれぞれ記録されている場合には、それら既
存データD1,D2の有効開始日と現在の日時とが比較
され、有効開始日が現在の日時から離れているデータが
入力データD3に書き換えられる。通常、メモリ13に
同タイプのデータが2つ記録されている場合、CPU1
1は、有効開始日が現在の日時に近いデータのみに基づ
いて表示処理を行う。すなわち、有効開始日が現在の日
時から離れているデータは不要である。よって、不要な
データを入力データD3に書き換えることにより、必要
なデータのみを記録領域A,Bに記録させることができ
る。したがって、CPU11が不要なデータに基づいて
表示処理を行ってしまうといった不都合を確実に防止す
ることができる。
(6) The above items (3-1), (3-2),
As described in (3-4) and (3-5), when existing data D1 and D2 of different types from the input data D3 are recorded in the recording areas A and B, respectively, the existing data D1 is recorded. , D2 are compared with the current date and time, and the data whose effective start date is different from the current date and time are rewritten to the input data D3. Normally, when two data of the same type are recorded in the memory 13, the CPU 1
In No. 1, the display process is performed based on only the data whose effective start date is close to the current date and time. That is, data whose effective start date is different from the current date and time is unnecessary. Therefore, by rewriting the unnecessary data into the input data D3, only the necessary data can be recorded in the recording areas A and B. Therefore, it is possible to reliably prevent the inconvenience that the CPU 11 performs the display process based on unnecessary data.

【0082】なお、本発明の実施形態は以下のように変
更してもよい。 ・ 前記実施形態では、項目(2−2)及び(2−4)
に記載したように、記録領域Aが空き領域、記録領域B
に入力データD3と同タイプの既存データD1が存在す
る場合、入力データD3は記録領域Aに優先的に記録さ
れるようになっている。しかし、こうした場合、入力デ
ータD3は記録領域Bに記録されるようになっていても
よい。つまり、記録領域Aを優先させず、既存データD
1が入力データD3に書き換えられるようになっていて
もよい。
The embodiment of the present invention may be modified as follows. -In the said embodiment, item (2-2) and (2-4).
As described above, the recording area A is a free area and the recording area B is
When the existing data D1 of the same type as the input data D3 exists in 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. In other words, the recording area A is not prioritized, and the existing data D
1 may be rewritten to the input data D3.

【0083】・ 前記実施形態では、前記項目(3−
3)に記載したように、各記録領域A,Bに同じ日時情
報を有する既存データD1,D2が記録されている場
合、それら既存データD1,D2と異なるタイプの入力
データD3が入力されると、記録領域Bに記録された既
存データD2が入力データD3に書き換えられる。しか
し、こうした場合、記録領域Aに記録された既存データ
D1が入力データD3に書き換えられるようにCPU1
1の制御態様を変更してもよい。
In the embodiment, the item (3-
As described in 3), when the existing data D1 and D2 having the same date and time information are recorded in the recording areas A and B, if the input data D3 of a different type from the existing data D1 and D2 is input. The existing data D2 recorded in the recording area B is rewritten to the input data D3. However, in such a case, the CPU 1 is configured so that the existing data D1 recorded in the recording area A is rewritten to the input data D3.
The control mode of No. 1 may be changed.

【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)とを記録した状態となっていてもよい。
In the above embodiment, the CPU 11 is
All the recording processing modes shown in the above items <1> to <3> are performed. However, the CPU 11 is not limited to all of these recording processing modes, and may be configured to selectively perform at least two of them. For example, in the item (3-1), when the input data D3 of the same type as the existing data D1 and D2 is input, the CPU 11 deletes the existing data D1 and D2 and deletes the recording area A.
The input data D3 is recorded in. However, when only one of the existing data D1 and D2 may be given priority over the input data D3, the CPU 11 does not perform the process of the item (3-1), and the existing data is not processed. May be rewritten to the input data D3. In this case, “being given priority” means that the difference between the valid start date of the existing data and the current date and time is smaller than the difference between the valid start date of the input data D3 and the current date and time. To do. That is, at the completion of the recording process of the input data D3 in such a case,
The memory 13 may be in a state of recording the input data D3 and the existing data D1 (or the existing data D2).

【0085】・ メモリ13に許可データが2つ存在す
る場合には、それら許可データのうち、現在の日時から
遠い日時を示す日時情報を有する許可データを自動的に
削除するようにしてもよい。例えば初期状態においてメ
モリ13に許可データと待機データとが記録されていて
も、現在の日時が待機データの日時情報に達すると、メ
モリ13には2つの許可データが存在する状態となる。
そして、この状態では、初期状態における許可データが
不要となる。また、同許可データの日時情報の方が初期
状態における待機データの日時情報よりも現在の日時か
ら遠くなる。よって、このようにすれば、不要なデータ
を確実に削除することができ、該不要なデータに基づい
て表示処理が行われてしまうといった不都合を確実に防
止することができる。
When two pieces of permission data exist in the memory 13, the permission data having date and time information indicating a date and time far from the current date and time may be automatically deleted from the permission data. For example, even if the permission data and the 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 enters a state in which two permission data exist.
Then, 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 the display process is performed based on the unnecessary data can be surely prevented.

【0086】・ 前記実施形態では、データ処理機器と
してバスの運賃表示器に具体化されている。しかし、デ
ータ処理機器は、これに限らず、例えば、鉄道車両用運
賃表示器、切符などの券売機、飲料水などの自動販売
機、生産管理盤等、使用するデータを有効開始日に基づ
いて変更して処理を行う機器であれば、何でも適用可能
である。
In the above embodiment, the fare indicator of the bus is embodied as the data processing device. However, the data processing device is not limited to this, for example, a fare display for railway vehicles, ticket vending machines such as tickets, vending machines such as drinking water, production control boards, etc. Any device that changes and performs processing can be applied.

【0087】次に、特許請求の範囲に記載された技術的
思想のほかに、前述した実施形態によって把握される技
術的思想を以下に列挙する。 (1) 請求項2〜6のいずれか1項に記載のデータの
記録方法において、前記各記録領域に前記入力データと
異なるタイプの既存データが存在しない場合、前記制御
手段は、前記入力データを前記各記録領域のうちの一方
に優先的に記録すること。
Next, in addition to the technical ideas described in the claims, the technical ideas grasped by the above-described embodiment will be 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 of the recording areas, the control unit stores the input data. Recording preferentially in one of the recording areas.

【0088】(2) 有効開始日を含むデータをそれぞ
れ記録可能な2つの記録領域と、現在の日時が前記デー
タの有効開始日に達したことを条件として、そのデータ
に基づく処理を行う制御手段とを備えるデータ処理機器
におけるデータの記録方法において、前記制御手段は、
前記記録領域に記録すべく前記データが入力されたと
き、前記記録領域に該入力データを記録可能な空き領域
が存在しない場合には、既に記録されている既存データ
のうちの少なくとも一方を削除して該入力データを記録
することを特徴とするデータの記録方法。
(2) Two recording areas each capable of recording data including the effective start date, and control means for performing processing based on the data provided that the current date and time has reached the effective start date of the data. In a method of recording data in a data processing device comprising:
When the data is input to be recorded in the recording area and at least one free area in which the input data can be recorded does not exist in the recording area, at least one of already recorded existing data is deleted. A method of recording data, characterized in that the input data is recorded.

【0089】(3) 有効開始日を含むデータをそれぞ
れ記録可能な2つの記録領域と、現在の日時が前記デー
タの有効開始日に達したことを条件として、そのデータ
に基づくデータ処理を行うとともに、前記データが入力
されたとき、前記記録領域に該入力データを記録可能な
空き領域の存在有無にかかわらず、該入力データを優先
的に前記記録領域に記録する記録処理を行うコンピュー
タに、前記記録領域のうちの少なくとも一方に既に記録
された既存データが存在する状態で前記入力データが入
力された場合に、現在の日時と既存データ及び入力デー
タの日時情報との関係からそれらデータを2種類のタイ
プに分類するタイプ分類手順と、既存データのタイプと
入力データのタイプとを比較するタイプ比較手順と、そ
の比較結果に基づいて入力データを記録すべき記録領域
A,Bを決定する手順とを実行させるための記録処理プ
ログラム。
(3) Two recording areas each capable of recording data including the effective start date and data processing based on the data, provided that the current date and time has reached the effective start date of the data When the data is input, regardless of whether or not there is a free area in which the input data can be recorded in the recording area, the computer which performs a recording process of preferentially recording the input data in the recording area, When the input data is input in a state where existing data already recorded is present in at least one of the recording areas, two types of data are available from the relationship between the current date and time and the date and time information of the existing data and the input data. Based on the comparison result of the type classification procedure that classifies the types of existing data and the type comparison procedure that compares the type of existing data with the type of input data. And a recording processing program for executing a procedure for determining recording areas A and B in which input data is to be recorded.

【0090】[0090]

【発明の効果】以上詳述したように、請求項1〜6に記
載の発明によれば、データの更新を確実に行うことがで
きる。
As described in detail above, according to the invention described in claims 1 to 6, it is possible to surely update the data.

【0091】請求項2に記載の発明によれば、既存デー
タの有効開始日と現在日時とを考慮した入力データの記
録処理を行うことができる。請求項3に記載の発明によ
れば、制御手段が誤ったデータに基づいてデータ処理を
行ってしまうといった不都合を防止することができる。
According to the second aspect of the invention, the input data recording process can be performed in consideration of the effective start date and the current date and time of the existing data. According to the invention described in claim 3, it is possible to prevent the inconvenience that the control means performs data processing based on erroneous data.

【0092】請求項4,6に記載の発明によれば、制御
手段が不要なデータに基づいてデータ処理を行ってしま
うといった不都合を防止することができる。請求項5に
記載の発明によれば、制御手段は必要なデータを確実に
記録処理できるので、必要なデータに基づいて確実にデ
ータ処理を行うことができる。
According to the invention described in claims 4 and 6, it is possible to prevent the inconvenience that the control means performs data processing based on unnecessary data. According to the fifth aspect of the invention, the control means can surely record the necessary data, so that the data processing can be surely performed based on the necessary data.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明をバスの運賃表示器に具体化した一実施
形態の概略構成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment in which the present invention is embodied in a fare display for a bus.

【図2】同実施形態に用いられる記録部の概略構成を示
す説明図。
FIG. 2 is an explanatory diagram showing a schematic configuration of a recording unit used in the embodiment.

【図3】(a),(b)は、同実施形態の制御手段のデ
ータ処理態様を示す説明図。
3A and 3B are explanatory views showing a data processing mode of a control unit of the same embodiment.

【図4】同実施形態の制御手段によって行われる入力デ
ータの記録処理態様を示す説明図。
FIG. 4 is an explanatory diagram showing an input data recording processing mode performed by the control unit of the embodiment.

【図5】(a),(b)は、同実施形態の制御手段によ
って行われる入力データの記録処理態様を示す説明図。
5A and 5B are explanatory views showing a recording processing mode of input data performed by the control means of the embodiment.

【図6】(a),(b)は、同実施形態の制御手段によ
って行われる入力データの記録処理態様を示す説明図。
6A and 6B are explanatory views showing a recording processing mode of input data which is performed by the control means of the embodiment.

【図7】(a)〜(c)は、同実施形態の制御手段によ
って行われる入力データの記録処理態様を示す説明図。
7A to 7C are explanatory views showing a recording processing mode of input data performed by the control means of the embodiment.

【図8】(a),(b)は、同実施形態の制御手段によ
って行われる入力データの記録処理態様を示す説明図。
8A and 8B are explanatory views showing a recording processing mode of the input data performed by the control means of the embodiment.

【図9】(a),(b)は、同実施形態の制御手段によ
って行われる入力データの記録処理態様を示す説明図。
9A and 9B are explanatory views showing an input data recording processing mode performed by the control unit of the embodiment.

【図10】同実施形態の制御手段によって行われる入力
データの記録処理態様をまとめた一覧表。
FIG. 10 is a table summarizing modes of recording processing of input data performed by the control means of the embodiment.

【符号の説明】[Explanation of symbols]

1…運賃表示器、2…表示盤、3…制御装置、11…制
御手段としてのCPU、13…記録部としてのメモリ、
16…データ入力部。
DESCRIPTION OF SYMBOLS 1 ... Fare indicator, 2 ... Display panel, 3 ... Control device, 11 ... CPU as control means, 13 ... Memory as recording part,
16 ... Data input section.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 有効開始時期を含むデータをそれぞれ記
録可能な2つの記録領域を有する記録手段と、現在の日
時が前記データの有効開始時期に達したことを条件とし
て、そのデータに基づくデータ処理を行う制御手段とを
備えるデータ処理機器におけるデータの記録方法におい
て、 前記制御手段は、前記データが入力されたとき、前記記
録領域に該入力データを記録可能な空き領域の存在有無
にかかわらず、該入力データを優先的に前記記録領域に
記録する記録処理を行うことを特徴とするデータの記録
方法。
1. A recording means having two recording areas each capable of recording data including a valid start time, and data processing based on the data provided that the current date and time has reached the valid start time of the data. In the method of recording data in a data processing device comprising a control means for performing, the control means, when the data is input, regardless of whether or not there is a free area in which the input data can be recorded in the recording area, A data recording method, characterized by performing a recording process of preferentially recording the input data in the recording area.
【請求項2】 前記記録領域に既に記録された既存デー
タが存在する場合、前記制御手段は、現在の日時が有効
開始時期に達しているか否かに基づいて前記データを2
タイプに分類して前記入力データのタイプと該既存デー
タのタイプとを比較し、その比較結果に基づいて前記入
力データを記録すべき前記記録領域を決定することを特
徴とする請求項1に記載のデータの記録方法。
2. If there is existing data already recorded in the recording area, the control means determines the data to be 2 based on whether or not the current date and time has reached the valid start time.
The method according to claim 1, wherein the type of the input data is classified into types and the type of the existing data is compared, and the recording area in which the input data is to be recorded is determined based on the comparison result. Data recording method.
【請求項3】 前記各記録領域のうちのいずれか一方に
前記入力データと同タイプの既存データが存在する場
合、前記制御手段は、前記同タイプの既存データを入力
データに書き換えることを特徴とする請求項2に記載の
データの記録方法。
3. When the existing data of the same type as the input data exists in one of the recording areas, the control means rewrites the existing data of the same type into the input data. The method for recording data according to claim 2.
【請求項4】 前記入力データと同タイプの既存データ
が前記各記録領域にそれぞれ存在する場合、前記制御手
段は、それら既存データを共に削除して該入力データを
前記いずれか一方の記録領域に記録することを特徴とす
る請求項2または請求項3に記載のデータの記録方法。
4. When the existing data of the same type as the input data exists in each of the recording areas, the control means deletes the existing data together and stores the input data in the one of the recording areas. The data recording method according to claim 2, wherein the data is recorded.
【請求項5】 前記各記録領域のうちの一方に前記入力
データと異なるタイプの既存データが存在し、他方の記
録領域が空き領域である場合、前記制御手段は、前記空
き領域に前記入力データを記録することを特徴とする請
求項2〜4のいずれか1項に記載のデータの記録方法。
5. When the existing data of a type different from the input data exists in one of the recording areas and the other recording area is a free area, the control means sets the input data in the empty area. The method for recording data according to claim 2, wherein the data is recorded.
【請求項6】 前記入力データと異なるタイプの既存デ
ータが前記各記録領域にそれぞれ存在する場合、前記制
御手段は、それら既存データの有効開始時期と現在の日
時とを比較し、有効開始時期が現在の日時から離れてい
る既存データを前記入力データに書き換えることを特徴
とする請求項2〜5のいずれか1項に記載のデータの記
録方法。
6. When the existing data of a type different from the input data exists in each of the recording areas, the control means compares the valid start time of the existing data with the current date and time, and the valid start time is 6. The data recording method according to claim 2, wherein existing data distant from the current date and time is rewritten with 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 true JP2003030024A (en) 2003-01-31
JP4716155B2 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)

Citations (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
JPH02226462A (en) * 1989-02-28 1990-09-10 Teraoka Seiko Co Ltd Freight charge processor for transporting material
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
JP2000048077A (en) * 1998-07-29 2000-02-18 Toshiba Tec Corp Commodity information management device

Patent Citations (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
JPH02226462A (en) * 1989-02-28 1990-09-10 Teraoka Seiko Co Ltd Freight charge processor for transporting material
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
JP2000048077A (en) * 1998-07-29 2000-02-18 Toshiba Tec Corp Commodity information management device

Also Published As

Publication number Publication date
JP4716155B2 (en) 2011-07-06

Similar Documents

Publication Publication Date Title
JP2019067428A (en) Labor state management device, labor state management system, and computer program
EP0286094A2 (en) IC Card system
JP2003030024A (en) Method for recording data
JPH10305680A (en) Electronic commuter pass, ticket inspecting terminal equipment, electronic commuter pass system, electronic commuter pass controlling method, and recording medium having control program recorded therein
JP5281778B2 (en) Taxi meter and taxi system
JPS6341993A (en) Taxi meter information processor
JPH06103686A (en) Reader-writer
JPH029407Y2 (en)
JP2007264900A (en) On-train ticket gate system
JP2934304B2 (en) Fare settlement device with card type ticket
JP4410494B2 (en) Ticket valid use section judgment device
JPH03105358A (en) Copying device control system
JPH0510260B2 (en)
JP4605627B2 (en) Card type ticket settlement device and card type ticket settlement method
JP4891642B2 (en) IC card processing machine and IC card processing method
JPH08171677A (en) Commodity sale registration data processor
JPH07105415A (en) Method and device for processing commutation ticket
JP2007272790A (en) Card processing machine and card processing method
JP2007131426A (en) Warehouse and carrying-in-and-out method for load
JPS64722B2 (en)
JPH0785319A (en) Sales system for facility use ticket
JP2004046563A (en) Taximeter
JP2018041393A (en) Traffic management device, traffic management system and traffic management program
JPH02245969A (en) Betting ticket issuing machine
JP2005157987A (en) Card type ticket adjustment processor and card type ticket adjustment processing method

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