JPH08315021A - Terminal device - Google Patents
Terminal deviceInfo
- Publication number
- JPH08315021A JPH08315021A JP11836095A JP11836095A JPH08315021A JP H08315021 A JPH08315021 A JP H08315021A JP 11836095 A JP11836095 A JP 11836095A JP 11836095 A JP11836095 A JP 11836095A JP H08315021 A JPH08315021 A JP H08315021A
- Authority
- JP
- Japan
- Prior art keywords
- time
- terminal device
- data
- abnormality
- server computer
- 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.)
- Pending
Links
- 230000006854 communication Effects 0.000 claims abstract description 55
- 230000005856 abnormality Effects 0.000 claims abstract description 50
- 238000004891 communication Methods 0.000 claims abstract description 48
- 238000000034 method Methods 0.000 claims description 63
- 238000001514 detection method Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 abstract description 39
- 230000004044 response Effects 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 55
- 238000003780 insertion Methods 0.000 description 18
- 230000037431 insertion Effects 0.000 description 18
- 238000012937 correction Methods 0.000 description 14
- 230000015654 memory Effects 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 4
- 239000000470 constituent Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000004397 blinking Effects 0.000 description 2
- RRLHMJHRFMHVNM-BQVXCWBNSA-N [(2s,3r,6r)-6-[5-[5-hydroxy-3-(4-hydroxyphenyl)-4-oxochromen-7-yl]oxypentoxy]-2-methyl-3,6-dihydro-2h-pyran-3-yl] acetate Chemical compound C1=C[C@@H](OC(C)=O)[C@H](C)O[C@H]1OCCCCCOC1=CC(O)=C2C(=O)C(C=3C=CC(O)=CC=3)=COC2=C1 RRLHMJHRFMHVNM-BQVXCWBNSA-N 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
(57)【要約】
【目的】 各種の情報と印刷日時を正確に印刷可能な証
明書自動発行機を提供する。
【構成】 CPU50は、タッチパネル10により証明
書発行の要求を受けると、リアルタイムクロック60が
正常に動作しているか否かをチェックし、異常がなけれ
ば発行処理を続行し、異常がある場合には、モデム40
によって通信回線90を介して、サーバコンピュータ8
0に現在時刻を送信するように、要求を出し、その応答
として送られてくるサーバコンピュータ80からの現在
時刻データを基づいてリアルタイムクロック60を補正
する。
(57) [Summary] [Purpose] To provide an automatic certificate issuing machine that can accurately print various information and printing date and time. [Configuration] Upon receipt of a certificate issuance request from the touch panel 10, the CPU 50 checks whether or not the real-time clock 60 is operating normally. If there is no abnormality, the issuance processing is continued. , Modem 40
Via the communication line 90 by the server computer 8
The real time clock 60 is corrected based on the current time data from the server computer 80 which is issued as a response to the request so that the current time is transmitted to 0.
Description
【0001】[0001]
【産業上の利用分野】本発明は、通信回線を介して接続
されたサーバコンピュータとの間でデータの授受を行う
端末装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal device for exchanging data with a server computer connected via a communication line.
【0002】[0002]
【従来の技術】従来より、通信回線を介して接続された
サーバコンピュータとの間でデータの授受を行う端末装
置の一つとして、住民票等の証明書を発行するための証
明書自動発行機が考案されている。2. Description of the Related Art Conventionally, a certificate automatic issuing machine for issuing a certificate such as a resident's card as one of terminal devices for exchanging data with a server computer connected through a communication line. Has been devised.
【0003】この種の証明書自動発行端末装置は、証明
書等の交付を求める利用者あるいは係員が必要事項を入
力したり、あるいはすでに必要事項が記憶保持されてい
るICカード等を装置に挿入したりすると、その端末装
置は証明するデータを管理するサーバコンピュータと交
信し、証明する内容とともに日付データを受け取り、そ
のデータを基づいて証明する内容、証明印及び発行日を
記録用紙上に可視化して利用者に提供するものである。In this type of automatic certificate issuing terminal device, a user or a staff member who requests the issuance of a certificate or the like inputs necessary items, or inserts an IC card or the like in which the necessary items are already stored and held into the device. Then, the terminal device communicates with the server computer that manages the certifying data, receives the date data together with the certifying content, and visualizes the certifying content, the certification stamp, and the issue date on the recording sheet based on the data. It is provided to users.
【0004】ところが、証明書等の交付を求めるサービ
ス要求のたびにサーバコンピュータと交信して証明する
内容や日付データを得る端末装置では、通信回線上のト
ラフィックの増大を引き起こしたり、サーバコンピュー
タの処理能力を低下させたりすることになってしまう。
また、そのような場合には、利用者は証明書等の交付処
理の完了までかなり長い時間待たされることもある。更
に、サービス要求数が多くなれば、たとえ1回の無駄時
間が短くても、トータル時間はかなり長時間となり、証
明書の交付件数が少なくなるという問題がある。However, in the terminal device which obtains the contents and date data to be proved by communicating with the server computer every time a service request for the issuance of a certificate or the like is caused, the traffic on the communication line is increased and the processing of the server computer is performed. It will reduce the ability.
Further, in such a case, the user may be required to wait for a considerably long time until the completion of the delivery process of the certificate or the like. Further, if the number of service requests increases, the total time will be considerably long even if the dead time of one time is short, and the number of issued certificates will decrease.
【0005】これを解決するために、端末装置内に日時
を計時する時計を備えるとともに、証明する内容をIC
カード等に予め記憶しておき、そのICカード等を端末
装置に挿入することにより、ICカード等に記憶された
証明用の内容を読み出して端末装置にて記録用紙に記録
するとともに、端末装置内の時計に基づいて日時を記録
することが考えられる。In order to solve this, a terminal device is equipped with a clock for clocking the date and time, and the contents to be proved are IC.
By storing in advance in a card or the like and inserting the IC card or the like into the terminal device, the contents of the certification stored in the IC card or the like are read out and recorded on a recording sheet in the terminal device. It is possible to record the date and time based on the clock.
【0006】この場合、端末装置内の時計の時刻を設定
する方法としては、端末装置を稼働させる時に、係員が
端末装置に取り付けられたキーボード等により時刻を入
力してその時計を調整する方法か、あるいは端末装置を
稼働させる時、端末装置がサーバコンピュータと交信
し、サーバコンピュータから正確な日付データを得て、
それに基づいて端末装置内の時計を起動させ、かつサー
バコンピュータと常に接続しておき、サーバコンピュー
タから一定時間毎に送られてくる基準時刻に基づいて補
正する方法がある。In this case, as a method of setting the time of the clock in the terminal device, when the terminal device is operated, a staff member inputs the time using a keyboard or the like attached to the terminal device and adjusts the clock. , Or when operating the terminal device, the terminal device communicates with the server computer and obtains accurate date data from the server computer,
Based on this, there is a method of starting the clock in the terminal device, always connecting to the server computer, and correcting based on the reference time sent from the server computer at regular intervals.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、係員が
キーボード等により時刻を入力して時計を調整する方法
においては、係員の単なる入力ミスにより、証明書の信
用性がなくなってしまうような危険を無視することがで
きないし、キーボードを操作することにより、自由に日
付データを書き換えて不正利用される危険も無視できな
くなる。However, in the method in which the clerk inputs the time using the keyboard or the like to adjust the clock, the risk that the credibility of the certificate is lost due to a mere input error by the clerk is ignored. It is not possible to do so, and the risk of being illegally used by rewriting the date data by operating the keyboard cannot be ignored.
【0008】一方、端末装置がサーバコンピュータと交
信し、正確な日付データを得て、端末装置内の時計を起
動させ、更にサーバコンピュータから一定時間毎に送ら
れてくる基準時刻に基づいて補正する方法においては、
この時刻補正を行うタイミング外、即ち一定時間中に端
末装置の時計に異常が発生する可能性もあり、そのよう
な場合には証明書に誤った時刻が記録される危険があ
る。On the other hand, the terminal device communicates with the server computer, obtains accurate date data, activates the clock in the terminal device, and further corrects it based on the reference time sent from the server computer at regular intervals. In the method,
There is a possibility that an abnormality may occur in the clock of the terminal device outside the timing for performing this time correction, that is, within a certain period of time, and in such a case, there is a risk that an incorrect time is recorded in the certificate.
【0009】また、ローカルネットワーク上に物理的に
接続された状態であれば、時刻の正確さを得るために短
時間毎にサーバコンピュータに対して、現在時刻を問い
合わせても、その問い合わせ処理にそれほど時間がかか
ることはないが、モデム等により、公衆回線を経由し
て、サーバコンピュータと接続されている場合には、そ
のような処理を行うと、問い合わせ処理だけでもかなり
時間がかかり、サービス上問題となる。Further, if the server is physically connected to the local network, even if the current time is inquired to the server computer every short time in order to obtain the accuracy of the time, the inquiry processing is not so much. Although it does not take time, if it is connected to the server computer via a public line by a modem etc., if such a process is performed, it will take a considerable amount of time just for the inquiry process, which is a service problem. Becomes
【0010】本発明は、上述した問題点を解決するため
になされたものであり、通信回線の混み具合に影響され
ずに、スムーズに正確な日時を記録することができる端
末装置を提供することにある。The present invention has been made to solve the above-mentioned problems, and provides a terminal device which can smoothly and accurately record the date and time without being affected by the congestion of the communication line. It is in.
【0011】[0011]
【課題を解決するための手段】この目的を達成するため
に請求項1記載の端末装置は、外部機器と交信するため
の交信手段と、データを記録する記録手段とを有する端
末装置であって、時刻を計時する計時手段と、交信手段
にて外部機器から基準時刻を取得する時刻取得手段と、
計時手段の異常の有無を検出する検出手段と、検出手段
が計時手段の異常を検出した時、時刻取得手段が外部機
器から取得した基準時刻に基づいて計時手段を補正する
補正手段とを備えている。In order to achieve this object, a terminal device according to claim 1 is a terminal device having a communication means for communicating with an external device and a recording means for recording data. , A time measuring means for measuring the time, and a time acquiring means for acquiring the reference time from the external device by the communication means,
The detecting means detects whether there is an abnormality in the time measuring means, and when the detecting means detects an abnormality in the time measuring means, the time acquiring means includes a correcting means for correcting the time measuring means based on the reference time acquired from the external device. There is.
【0012】また、請求項2記載の端末装置は、請求項
1記載の端末装置の構成に加え、時刻取得手段により外
部機器から基準時刻を取得したか否かを判断する判断手
段と、判断手段が時刻取得手段により外部機器から基準
時刻を取得していないと判断した場合は、記録手段によ
る記録を禁止する禁止手段とを備えている。In addition to the configuration of the terminal device according to claim 1, the terminal device according to claim 2 further comprises a judging means for judging whether or not the reference time is acquired from the external device by the time acquiring means, and a judging means. If the time acquisition means determines that the reference time is not acquired from the external device, the time acquisition means includes a prohibition means for prohibiting recording by the recording means.
【0013】更に、請求項3記載の端末装置は、請求項
1或いは請求項2記載の端末装置の構成に加え、記録手
段にてデータを記録させることを指示する指示手段を更
に備え、前記検出手段は、指示手段によってデータの記
録を指示された時、検出手段にて計時手段の異常の有無
を検出するものである。Further, in addition to the configuration of the terminal device according to claim 1 or 2, the terminal device according to claim 3 further comprises an instruction means for instructing recording of data by the recording means, and the detection means. The means detects the presence / absence of abnormality of the time measuring means by the detecting means when the data recording is instructed by the instructing means.
【0014】また更に、請求項4記載の端末装置は、請
求項1或いは請求項2或いは請求項3記載の端末装置の
構成に加え、所定時間毎に信号を発生させるタイミング
発生手段を備え、検出手段は、タイミング発生手段から
の信号に基づいて起動され、検出手段が計時手段に異常
が有ることを検出した時、時刻取得手段を起動させるも
のである。Still further, in addition to the configuration of the terminal device according to claim 1, claim 2 or claim 3, the terminal device according to claim 4 is provided with timing generation means for generating a signal at predetermined time intervals, and detection is performed. The means is activated based on a signal from the timing generation means, and activates the time acquisition means when the detection means detects that the timing means has an abnormality.
【0015】また、請求項5記載の端末装置は、請求項
1乃至請求項4のいずれか記載の端末装置の構成に加
え、前記検出手段が計時手段の電源の異常を検出するも
のである。According to a fifth aspect of the terminal device, in addition to the configuration of the terminal device according to any one of the first to fourth aspects, the detecting means detects an abnormality in the power supply of the clocking means.
【0016】[0016]
【作用】上記の構成を有する請求項1記載の端末装置に
おいては、計時手段により時刻が計時されており、検出
手段が計時手段の異常を検出した場合には、補正手段
は、時刻取得手段が交信手段にて外部機器から取得した
基準時刻に基づいて異常の発生した計時手段を補正す
る。これにより、補正された計時手段の時刻、すなわち
常に正しい時刻を記録手段により記録することが可能に
なる。In the terminal device according to claim 1 having the above-mentioned structure, the time is clocked by the clocking means, and when the detecting means detects an abnormality of the clocking means, the correcting means is the time acquiring means. The communication means corrects the timekeeping means in which an abnormality has occurred based on the reference time acquired from the external device. As a result, it becomes possible to record the corrected time of the time measuring means, that is, the always correct time by the recording means.
【0017】また、請求項2記載の端末装置において
は、請求項1記載の端末装置の作用の他に、判断手段が
時刻取得手段により外部機器から基準時刻を取得してい
ないと判断した場合は、禁止手段により記録手段による
記録を禁止する。これにより、正しくない計時手段の時
刻を記録手段により記録することがない。Further, in the terminal device according to the second aspect, in addition to the operation of the terminal device according to the first aspect, when the determination means determines that the reference time is not acquired from the external device by the time acquisition means. The prohibition means prohibits recording by the recording means. As a result, the time of the incorrect time measuring means is not recorded by the recording means.
【0018】更に、請求項3記載の端末装置において
は、請求項1或いは請求項2記載の端末装置の作用の他
に、検出手段が、指示手段によって記録手段にデータの
記録を指示された時、計時手段の異常の有無を検出す
る。これにより、常に計時手段の異常の有無を検出する
のではなく、日付データが必要となる時のみに検出を行
うため、不要な処理を行うことがない。Further, in the terminal device according to claim 3, in addition to the operation of the terminal device according to claim 1 or 2, when the detecting means is instructed by the instructing means to record the data in the recording means. , The presence or absence of abnormality in the timekeeping means is detected. As a result, the presence or absence of abnormality of the timekeeping means is not always detected, but the detection is performed only when the date data is needed, so that unnecessary processing is not performed.
【0019】更に、請求項4記載の端末装置において
は、請求項1或いは請求項2或いは請求項3記載の端末
装置の作用の他に、検出手段は、タイミング発生手段か
らの信号に基づいて起動され、検出手段が計時手段に異
常が有ることを検出した時、時刻取得手段を起動させ
る。これにより、サービスが行われていない時にも、一
定期間毎に計時手段の異常の有無を検出し、異常があっ
た場合にサーバコンピュータから基準時刻を予め取得
し、計時手段を補正することが可能になり、利用者がサ
ービスを受ける前に計時手段の補正を終えておくことが
可能になる。Further, in the terminal device according to claim 4, in addition to the operation of the terminal device according to claim 1, claim 2 or claim 3, the detecting means is activated based on a signal from the timing generating means. When the detection means detects that the timekeeping means has an abnormality, the time acquisition means is activated. With this, even when the service is not provided, it is possible to detect whether or not there is an abnormality in the timekeeping means at regular intervals, and if there is an abnormality, obtain the reference time in advance from the server computer and correct the timekeeping means. Thus, it becomes possible for the user to finish the correction of the time measuring means before receiving the service.
【0020】また、請求項5記載の端末装置において
は、請求項1乃至請求項3のいずれか記載の端末装置の
作用の他に、検出手段は、前記計時手段の電源の異常を
検出し、計時手段の異常の有無の検出が可能になる。Further, in the terminal device according to claim 5, in addition to the operation of the terminal device according to any one of claims 1 to 3, the detecting means detects an abnormality in the power supply of the time measuring means, It becomes possible to detect the presence or absence of abnormality in the timekeeping means.
【0021】[0021]
【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.
【0022】図1に示すように、本実施例の証明書自動
発行機1の筺体3の前面パネルには、利用者個人の暗証
番号を含むユーザID識別コード、同一戸籍の人々のデ
ータ(以下、個人データと称す)及び個人データの更新
日時等の情報が記録されている個人データを備える磁気
IDカード(以下、個人カードと称す)を挿入する為の
カード挿入口5が設けられており、このカード挿入口5
の奥には周知の磁気カードリーダ7(図2参照)が設け
られている。また、カード挿入口5の上方には、発行さ
れる証明書や提供される情報の内容が表示されるCRT
表示装置9と、そのCRT表示装置9の表面に近接して
設けられ、CRT表示装置9上の表示されている部分に
直接触れられることにより、利用者が所望の情報を入力
することができる周知のタッチパネル10が設けられて
いる。カード挿入口5の近傍には、トラブルが生じたと
きなどに係員を呼び出すための呼出ボタン11が設けら
れている。As shown in FIG. 1, on the front panel of the housing 3 of the automatic certificate issuing machine 1 of this embodiment, a user ID identification code including the personal identification number of the user, data of people with the same family register (hereinafter , Personal data), and a card insertion slot 5 for inserting a magnetic ID card (hereinafter referred to as a personal card) having personal data in which information such as date and time of update of the personal data is recorded. This card slot 5
A well-known magnetic card reader 7 (see FIG. 2) is provided in the back. In addition, above the card insertion slot 5, a CRT that displays the content of the issued certificate and the provided information is displayed.
It is well known that the user can input desired information by directly touching the display device 9 and the surface of the CRT display device 9 provided on the surface of the CRT display device 9. The touch panel 10 is provided. In the vicinity of the card insertion slot 5, a call button 11 is provided for calling an attendant when a trouble occurs.
【0023】そして、CRT表示装置9の上方には、こ
の証明書自動発行機1が使用可能状態にあるか使用不能
状態にあるか否かを表示する操作表示器12が配置され
ている。更に、カード挿入口5の下方には、筐体3と一
体に凹部13が形成されており、この凹部13内には暗
証番号を入力するためのキーボード14が、証明書自動
発行機1の利用者以外からは見えないように、筐体3の
前面より奥まった位置に配置されている。Above the CRT display device 9, there is arranged an operation display device 12 for displaying whether the automatic certificate issuing machine 1 is in the usable state or the unusable state. Further, below the card insertion slot 5, a recess 13 is formed integrally with the housing 3, and a keyboard 14 for inputting a personal identification number is used in the recess 13 to use the automatic certificate issuing machine 1. It is arranged at a position deeper than the front surface of the housing 3 so that it cannot be seen by anyone other than the person.
【0024】また、前面パネル上において、タッチパネ
ル10の右方には、手数料を支払うためのコイン投入口
16及び紙幣挿入口17が形成されており、これらはそ
れぞれ周知のコインメック18及びビルバリ19(図2
参照)と連通している。これらのコイン投入口16及び
紙幣挿入口17の下方には、つり銭及びレシートを取り
出す取り出し口22とレーザプリンタ30にて印刷され
た住民票等の証明書の印刷物を排出する排出口23とが
形成されている。On the right side of the touch panel 10 on the front panel, there are formed a coin insertion slot 16 and a bill insertion slot 17 for paying a fee, which are well known coin mech 18 and bill bill 19 ( Figure 2
Refer to)). Below the coin insertion opening 16 and the bill insertion opening 17, an ejection opening 22 for taking out change and receipts and an ejection opening 23 for ejecting a printed matter such as a resident's card printed by a laser printer 30 are formed. Has been done.
【0025】次に、図2に示すブロック図を参照して、
本実施例の証明書自動発行機1の電気的構成について説
明する。Next, referring to the block diagram shown in FIG.
The electrical configuration of the automatic certificate issuing machine 1 of this embodiment will be described.
【0026】本証明書自動発行機1は、モデム40によ
って必要に応じてその都度通信回線90を介して外部の
サーバコンピュータ80と通信するように接続され、C
PU50の指令によって動作する。このCPU50に
は、上述した磁気カードリーダ7と、CRT表示装置9
と、タッチパネル10と、コインメック18と、ビルバ
リ19と、キーボード14と、レーザプリンタ30と、
呼出ボタン11とが接続されているとともに、レシート
を印刷するためのジャーナルプリンタ25と、それらの
書類に割り印を付すための割印機26と、操作方法を音
声にて説明するための発声装置27と、サーバコンピュ
ータ80から受信した種々のデータ等を保持するハード
ディスクドライブ(HDD)56と、CPU50を制御
するための動作プログラム等を格納するROM52と、
個人カードから取得した情報を一時記憶したり、種々の
データを一時的に保持するRAM54と、リアルタイム
クロック60が接続されている。The automatic certificate issuing machine 1 is connected by a modem 40 so as to communicate with an external server computer 80 via a communication line 90 whenever necessary, and a C
It operates according to a command from the PU 50. The CPU 50 includes the magnetic card reader 7 and the CRT display device 9 described above.
A touch panel 10, a coin mech 18, a bill burr 19, a keyboard 14, a laser printer 30,
A call button 11 is connected, a journal printer 25 for printing receipts, a tally machine 26 for tallying those documents, and a voicing device 27 for audibly explaining the operation method. A hard disk drive (HDD) 56 that holds various data and the like received from the server computer 80, and a ROM 52 that stores an operation program and the like for controlling the CPU 50,
A RAM 54 for temporarily storing information acquired from a personal card and temporarily holding various data is connected to a real-time clock 60.
【0027】リアルタイムクロック60は、基準クロッ
クを発生し、それを分周することにより時間情報を得、
時間情報より、月、日を算出する機能を持っている。そ
れらの算出された情報は、それぞれ時間レジスタ61、
月日レジスタ62及び年レジスタ63に格納され、内容
が変わると逐次更新されていく。また、各レジスタ6
1,62,63はCPU50によってバス51を介して
任意の時に読み出すことができ、設定することもでき
る。また、リアルタイムクロック60の電源にはバッテ
リ66が接続され、証明書自動発行機1本体の電源が入
っている時は、バッテリ66は充電され、証明書自動発
行機1本体の電源が切れている時は、バッテリ66から
リアルタイムクロック60に電源を供給する。また、リ
アルタイムクロック60の電源に異常が発生すると、周
知な回路構成により、上記レジスタ61,62,63の
構成ビットがそれそれ「1(ハイレベル)」にプリセッ
トされるようになっている。CPU50は、この異常ビ
ット列を検出して、リアルタイムクロック60の電源に
異常が発生していたと判断する。The real time clock 60 generates a reference clock and divides it to obtain time information.
It has a function to calculate the month and day from time information. The calculated information is stored in the time register 61,
It is stored in the month / day register 62 and the year register 63, and is updated sequentially as the contents change. In addition, each register 6
1, 62, and 63 can be read by the CPU 50 via the bus 51 at any time and can be set. A battery 66 is connected to the power supply of the real-time clock 60. When the main body of the automatic certificate issuing machine 1 is turned on, the battery 66 is charged and the main body of the automatic certificate issuing machine 1 is turned off. At this time, the battery 66 supplies power to the real-time clock 60. Further, when an abnormality occurs in the power supply of the real-time clock 60, the constituent bits of the registers 61, 62, 63 are preset to "1 (high level)" by the well-known circuit configuration. The CPU 50 detects this abnormal bit string and determines that an abnormality has occurred in the power supply of the real-time clock 60.
【0028】また、前記RAM54には、リアルタイム
クロック60が正常に動作していないことを示すRTC
エラーフラグ68、サーバコンピュータ80から取得し
た基準時刻を格納する基準時刻一時記憶エリア69、通
信処理の種類を示す通信ジョブコードを格納する通信ジ
ョブコードエリア70、サーバコンピュータ80と接続
できず通信処理ができなかったことを示す通信エラーフ
ラグ72、個人カードのデータを更新するためのデータ
をサーバコンピュータ80から取得したことを示すデー
タ更新フラグ73、証明書の発行等のサービスをするこ
とができないことを示すサービス禁止フラグ74、リア
ルタイムクロック60の動作チェック処理の結果を一時
的に記憶するための動作エラーフラグ75、個人カード
から読み取ったユーザID識別コードを格納するIDコ
ード記憶エリア76、個人カードから読み出した個人デ
ータまたはサーバコンピュータ80から取得した個人デ
ータを格納する個人データ記憶エリア77、レーザプリ
ンタ30で印刷できるフォーマットに変換されたデータ
を格納するプリントデータエリア78の他、周知の各種
ワークメモリ、各種カウンタやタイマ等が設けられてい
る。The RAM 54 also has an RTC indicating that the real-time clock 60 is not operating normally.
The error flag 68, the reference time temporary storage area 69 for storing the reference time acquired from the server computer 80, the communication job code area 70 for storing the communication job code indicating the type of communication processing, and the communication processing that cannot be connected to the server computer 80 A communication error flag 72 indicating that it could not be performed, a data update flag 73 indicating that the data for updating the data of the personal card has been acquired from the server computer 80, and a service such as issuing a certificate cannot be performed. A service prohibition flag 74 shown, an operation error flag 75 for temporarily storing the result of the operation check process of the real-time clock 60, an ID code storage area 76 for storing the user ID identification code read from the personal card, and a read from the personal card Personal data or server In addition to a personal data storage area 77 for storing personal data acquired from the computer 80, a print data area 78 for storing data converted into a format printable by the laser printer 30, various well-known work memories, various counters, timers and the like are provided. It is provided.
【0029】更に、前記サーバコンピュータ80には、
証明書を作成する為に必要な各住民の戸籍や住所等のデ
ータを蓄積し、必要に応じて選び出したり、更新したり
できるデータベース82が接続され、証明書を発行する
に当たり必要となる日付等の基準時刻を管理する基準時
計84と、端末装置との間で交信するためのモデム86
及び通信回線に接続されている端末装置の稼働状況や異
常の有無を示したりするための管理データ記録部88も
備えている。Further, in the server computer 80,
A database 82 that stores data such as the family register and address of each inhabitant necessary to create a certificate, and can select and update as necessary is connected, and the date required for issuing a certificate, etc. A reference clock 84 for managing the reference time of the computer and a modem 86 for communicating between the terminal device.
Also, a management data recording unit 88 for indicating the operating status of the terminal device connected to the communication line and the presence / absence of abnormality is provided.
【0030】次に、このように構成された証明書自動発
行機1の動作について説明する。Next, the operation of the certificate automatic issuing machine 1 configured as described above will be described.
【0031】先ず、図3に示すフローチャートを参照し
て、電源投入直後からの処理を説明する。First, the processing immediately after the power is turned on will be described with reference to the flowchart shown in FIG.
【0032】本実施例の証明書自動発行機1において、
電源が投入されると、制御が開始され、CPU50は、
先ず接続されている各種装置の初期化を行い(S1)、
次いで、市長名、公印イメージデータ等の基本データ、
個人カードの個人データを更新する必要があるユーザI
D識別コードだけをリストしたデータ更新IDリスト及
び現在時刻をサーバコンピュータ80から受信し(S
2)、それら受信したデータをHDD56及びRAM5
4内の基準時刻一時記憶エリア69に格納保持させる
(S3)。そして、受信してRAM54内の基準時刻一
時記憶エリア69に格納されている現在時刻に基づいて
リアルタイムクロック60を補正するRTC補正処理を
行う(S4)。In the certificate automatic issuing machine 1 of this embodiment,
When the power is turned on, control is started and the CPU 50
First, various connected devices are initialized (S1),
Next, basic data such as the mayor's name and official seal image data,
User I who needs to update the personal data of the personal card
The data update ID list listing only the D identification code and the current time are received from the server computer 80 (S
2), the received data is stored in the HDD 56 and the RAM 5
It is stored and held in the reference time temporary storage area 69 in 4 (S3). Then, the RTC correction process for correcting the real-time clock 60 based on the current time received and stored in the reference time temporary storage area 69 in the RAM 54 is performed (S4).
【0033】ここで、このRTC補正処理について図4
を参照しながら詳細に説明すると、まず、CPU50
は、S2にてサーバコンピュータ80から取得した基準
時刻が記憶されているRAM54内の基準時刻一時記憶
エリア69から時刻データを読み出し(S401)、次
いで、その時刻データをリアルタイムクロック60の各
レジスタ61,62,63に合ったフォーマットに変換
する(S402)。続いて、それら変換したデータを時
間レジスタ61、月日レジスタ62及び年レジスタ63
にそれぞれ書き込み(S403),補正処理を終了す
る。Here, the RTC correction process will be described with reference to FIG.
To explain in detail with reference to FIG.
Reads the time data from the reference time temporary storage area 69 in the RAM 54 in which the reference time acquired from the server computer 80 in S2 is stored (S401), and then the time data is stored in each register 61 of the real time clock 60. It is converted into a format suitable for 62, 63 (S402). Then, the converted data is converted into time register 61, month / day register 62 and year register 63.
Writing to each (S403), and the correction process ends.
【0034】そして、このRTC補正処理が終了する
と、図5に示すサービスの種類を示す画面100をCR
T表示装置9に表示し(S5)、周知の方法でインター
バルタイマをセットし(S6),利用者の入力を待つ
(S7)。ここで、入力がない場合は(S7でNO)、
前記のインターバルタイマをチェックし(S8)、所定
時間経過が確認できた場合(S8でYES)、後述する
リアルタイムクロック60のチェック処理(RTCチェ
ック処理)を実行し(S9)、前記S6に戻って、再度
インターバルタイマをセットし、同様な処理を繰り返
す。When the RTC correction process is completed, the screen 100 showing the type of service shown in FIG.
It is displayed on the T display device 9 (S5), the interval timer is set by a known method (S6), and the input by the user is waited (S7). If there is no input (NO in S7),
When the interval timer is checked (S8) and the elapse of a predetermined time can be confirmed (YES in S8), a check process (RTC check process) of the real-time clock 60 described later is executed (S9), and the process returns to S6. , Set the interval timer again, and repeat the same processing.
【0035】一方、利用者が、図5のサービスの種類を
示す画面100に表示されている「住民票の写し交付」
101、「住民票記載事項証明交付」102、「外国人
登録済証明書交付」103、「印鑑登録証明書交付」1
04或いは「催し物のご案内」105を選択し、タッチ
パネル10よりサービス内容を入力すると(S7でYE
S)、CPU50は、サービスの種類を特定し(S1
0)、特定された各サービス処理を実行する(S1
1)。On the other hand, the user "issues a copy of the resident card" displayed on the screen 100 showing the type of service in FIG.
101, "Certificate of Certificate of Resident Registration" 102, "Certificate of Alien Registration" 103, "Certificate of Seal Registration Certificate" 1
04 or “Information about entertainment” 105 is selected, and the service content is input from the touch panel 10 (YE in S7).
S), the CPU 50 identifies the type of service (S1
0), each specified service process is executed (S1)
1).
【0036】次に、S7において、利用者が図5に示す
サービスの種類を示す画面100の中から「住民票の写
し交付」101を選択したものとして、図6〜図8のフ
ローチャートを用いて更に説明する。Next, in S7, assuming that the user has selected "issue copy of resident's card" 101 from the screen 100 showing the type of service shown in FIG. 5, using the flowcharts of FIGS. Further description will be made.
【0037】先ず、CPU50は、後述する内蔵のリア
ルタイムクロック60が正常に動作しているか否かをチ
ェックする処理(RTCチェック処理)を実行した後
(S21)、個人カードの挿入を促す画面(図示せず)
をCRT表示装置9に表示し(S22)、予め定められ
た挿入の期限を示すタイマ(30秒タイマ)をセットし
(S23),利用者の個人カードの挿入を待つ(S2
4)。30秒以内に個人カードが挿入されない場合には
(S24でNO,S25でYES)、処理は図3のS5
へ戻り、図5に示すサービスの種類を示す画面100を
CRT表示装置9に表示する。First, the CPU 50 executes a process (RTC check process) for checking whether the built-in real-time clock 60 described later is operating normally (S21), and then a screen prompting the insertion of a personal card (Fig. (Not shown)
Is displayed on the CRT display device 9 (S22), a timer (30 second timer) indicating a predetermined insertion time limit is set (S23), and the user's personal card is inserted (S2).
4). If the personal card is not inserted within 30 seconds (NO in S24, YES in S25), the process is S5 in FIG.
Returning to FIG. 5, the screen 100 showing the type of service shown in FIG. 5 is displayed on the CRT display device 9.
【0038】そして、利用者が個人カードをカード挿入
口5から挿入すると、CPU50は個人カードの挿入を
検知し(S24でYES)、磁気カードリーダ7により
個人カード内のユーザID識別コードと暗証番号のデー
タを読み取り、RAM54内のIDコード記憶エリア7
6に格納保持する(S26)。続いて、利用者に暗証番
号を入力するように促す画面(図示せず)をCRT表示
装置9に表示し(S27)、予め定められた暗証番号入
力ミス許容回数をRAM54内のカウンタにセットする
とともに(S28)、予め定められた挿入の期限を示す
RAM54内のタイマ(30秒タイマ)をセットし(S
29),利用者が暗証番号を入力するのを待つ(S3
0)。When the user inserts the personal card from the card insertion slot 5, the CPU 50 detects the insertion of the personal card (YES in S24), and the magnetic card reader 7 causes the user ID identification code and the personal identification number in the personal card. Data of the ID code storage area 7 in the RAM 54
It is stored and held in 6 (S26). Subsequently, a screen (not shown) prompting the user to input a personal identification number is displayed on the CRT display device 9 (S27), and a predetermined personal identification number input error allowable number of times is set in a counter in the RAM 54. At the same time (S28), a timer (30-second timer) in the RAM 54 indicating a predetermined insertion deadline is set (S28).
29), wait for the user to input the personal identification number (S3)
0).
【0039】そして、利用者によるキーボード14から
の暗証番号の入力を設定時間、例えば30秒間待って、
暗証番号の入力がない場合(S30,S31でともにN
O,S32でYES)、或いは「中止」キーがタッチパ
ネル10上で入力された場合には(S30でNO,S3
1でYES)、処理は図3のS5へ戻り、図5に示すサ
ービスの種類を示す画面100をCRT表示装置9に表
示する。Then, after waiting for a set time, for example, 30 seconds, for the user to input the personal identification number from the keyboard 14,
If no PIN is entered (N for both S30 and S31)
(YES in S, S32), or when the "stop" key is input on the touch panel 10 (NO in S30, S3)
If YES in 1), the process returns to S5 of FIG. 3, and the screen 100 showing the type of service shown in FIG. 5 is displayed on the CRT display device 9.
【0040】一方、利用者がキーボード14により暗証
番号を入力すると(S30でYES)、先ずその暗証番
号が個人カードから読み取った暗証番号と一致するか否
かをチェックし(S33),入力した暗証番号と個人カ
ードから読み取った暗証番号とが一致しない場合、即ち
入力した暗証番号が正しくない場合には(S33でN
O)、RAM54内のカウンタの値に基づいて暗証番号
入力ミスが所定回数に達したか否かチェックし(S3
4)、その数が所定回数に達していない場合には(S3
4でNO)、再度、暗証番号を入力するように促す画面
(図示せず)を表示し(S35)、S29に戻り、再入
力に備える。また、暗証番号の入力ミスが所定回数に達
した場合には(S34でYES)、図3のS5に戻り、
再度、サービスの受け付けを行う。On the other hand, when the user inputs the personal identification number using the keyboard 14 (YES in S30), it is first checked whether the personal identification number matches the personal identification number read from the personal card (S33), and the personal identification number entered. If the number does not match the personal identification number read from the personal card, that is, if the entered personal identification number is incorrect (S33: N
O), and it is checked based on the value of the counter in the RAM 54 whether or not the number of inputting the personal identification number has reached a predetermined number (S3).
4) If the number does not reach the predetermined number (S3
(NO in step 4), a screen (not shown) prompting the user to input the personal identification number is displayed again (S35), and the process returns to step S29 to prepare for re-input. If the number of mistakes in inputting the personal identification number reaches the predetermined number (YES in S34), the process returns to S5 in FIG.
Re-accept the service.
【0041】S33において、入力された暗証番号と個
人カードから読み取った暗証番号とが一致する場合、つ
まり入力された暗証番号が正しい場合には(S33でY
ES)、図7に示すS36の処理に移る。S36におい
ては、挿入された個人カードから読み取ったユーザID
識別コードが、HDD56に保持している個人カードの
個人データの更新する必要があるユーザID識別コード
のデータ更新IDリストに登録されているか否かを確認
し、読み取ったユーザID識別コードが、データ更新I
Dリストに登録されていない場合には(S37でN
O)、挿入された個人カードに記憶されている個人デー
タを読み出し、RAM54内の個人データ記憶エリア7
7に格納保持する(S38)。In S33, if the input personal identification number and the personal identification number read from the personal card match, that is, if the input personal identification number is correct (Y in S33).
ES), and proceeds to the processing of S36 shown in FIG. In S36, the user ID read from the inserted personal card
It is confirmed whether or not the identification code is registered in the data update ID list of the user ID identification code that needs to be updated in the personal data of the personal card held in the HDD 56, and the read user ID identification code is the data. Update I
If it is not registered in the D list (N in S37
O), the personal data stored in the inserted personal card is read out, and the personal data storage area 7 in the RAM 54 is read.
It is stored and held in 7 (S38).
【0042】一方、読み取ったユーザID識別コードが
上記データ更新IDリストに登録されている場合、即ち
個人カードの個人データを更新する必要がある場合には
(S37でYES)、CPU50は、データベース82
に記録されている挿入されている個人カードに記憶させ
るべき全個人データ、例えば本籍や現住所など住民票の
写しに記載する個人データ等を送信するように要求する
ための通信ジョブコードをRAM54の通信ジョブコー
ドエリア70に設定し(S39)、図9に示す通信処理
の個人データ取得処理を行う(S40)。そして、デー
タ更新フラグ73をセットして(S41)、S42に移
行する。On the other hand, when the read user ID identification code is registered in the data update ID list, that is, when the personal data of the personal card needs to be updated (YES in S37), the CPU 50 causes the database 82 to be updated.
The communication job code for requesting the transmission of all personal data to be stored in the inserted personal card recorded in, such as personal data to be recorded on a copy of the resident's card such as permanent domicile or current address, in the communication of the RAM 54. The job code area 70 is set (S39), and the personal data acquisition process of the communication process shown in FIG. 9 is performed (S40). Then, the data update flag 73 is set (S41), and the process proceeds to S42.
【0043】この個人データ取得処理について、図9に
示す通信処理のフローチャートを参照しながら詳細に説
明する。This personal data acquisition process will be described in detail with reference to the flowchart of the communication process shown in FIG.
【0044】先ず、CPU50は、モデム40により、
通信回線90を介してサーバコンピュータ80に接続す
る(S101)。もしも接続できない場合には(S10
1でYES)、通信エラーフラグ72をセットして(S
103)この通信処理を終了する。また、サーバコンピ
ュータ80と接続できた場合には(S102でNO)、
RAM54の通信ジョブコードエリア70に設定されて
いる通信ジョブコードに基づいて、種々の通信処理に分
岐する(S104)。First, the CPU 50 causes the modem 40 to
The server computer 80 is connected via the communication line 90 (S101). If you cannot connect (S10
1 is YES), and the communication error flag 72 is set (S
103) This communication process ends. If the server computer 80 can be connected (NO in S102),
Based on the communication job code set in the communication job code area 70 of the RAM 54, the process branches to various communication processes (S104).
【0045】この場合、個人データ取得処理なので、前
記S39にて設定された通信ジョブコードエリア70の
個人データ送信要求の通信ジョブコードに基づいて、R
OM52内に格納されているサーバコンピュータ80に
対して個人データの送信を要求するプログラムを実行す
るように分岐し(S104),サーバコンピュータ80
に個人データ送信要求コードを送信するとともに(S1
05)、利用者のユーザID識別コードを送信し(S1
06)、サーバコンピュータ80からの応答を待つ(S
107)。ここで、サーバコンピュータ80から個人デ
ータを受信すると(S107でYES)、CPU50
は、その個人データをRAM54内の個人データ記憶エ
リア77に記憶し(S108)、サーバコンピュータ8
0との接続を切り(S109)、処理を終了する。In this case, since it is the personal data acquisition process, R is determined based on the communication job code of the personal data transmission request in the communication job code area 70 set in S39.
The server computer 80 is branched so as to execute a program requesting the server computer 80 stored in the OM 52 to transmit personal data (S104).
The personal data transmission request code to (S1
05), and transmits the user's user ID identification code (S1
06), wait for a response from the server computer 80 (S
107). Here, when the personal data is received from the server computer 80 (YES in S107), the CPU 50
Stores the personal data in the personal data storage area 77 in the RAM 54 (S108), and the server computer 8
The connection with 0 is cut off (S109), and the process ends.
【0046】そして、S42においては、サーバコンピ
ュータ80と交信することができず、証明書を発行する
ことができないことを示すサービス禁止フラグ74をチ
ェックする。そして、サービス禁止フラグ74がセット
されている場合、すなわち、リアルタイムクロック60
を補正する現在時刻データが得られていない場合、或い
は更新されている個人データが得られていない場合には
(S42でYES)、証明書発行サービスが行えないこ
とをCRT表示装置9に表示し(S43)、個人カード
をカード挿入口5より排出して利用者に返却し(S4
4)、証明書発行処理を停止する。Then, in S42, the service prohibition flag 74 indicating that the server computer 80 cannot be contacted and the certificate cannot be issued is checked. When the service prohibition flag 74 is set, that is, the real time clock 60
If the current time data for correcting is not obtained, or if the updated personal data is not obtained (YES in S42), the fact that the certificate issuing service cannot be performed is displayed on the CRT display device 9. (S43), the personal card is ejected from the card insertion slot 5 and returned to the user (S4).
4) Stop the certificate issuing process.
【0047】ここで、サービス禁止フラグ74がセット
されていない場合には(S42でNO)、個人データを
CRT表示装置9に表示し、利用者が表示内容に誤りが
ないことを確認できるようにする(S45)。利用者が
タッチパネル10により、内容を確認したことを示す
「確認」を入力せずに「中止」を入力した場合には(S
46でNO,S47でYES)、個人カードをカード挿
入口5より排出して利用者に返却し(S48)、図3の
S5の処理に戻り、再度、サービスの受け付けを行う。Here, if the service prohibition flag 74 is not set (NO in S42), the personal data is displayed on the CRT display device 9 so that the user can confirm that the displayed contents are correct. (S45). When the user inputs “Cancel” without inputting “Confirm” indicating that the content has been confirmed on the touch panel 10 (S
(NO in 46, YES in S47), the personal card is ejected from the card insertion slot 5 and returned to the user (S48), the process returns to S5 of FIG. 3, and the service is accepted again.
【0048】一方、S46において、タッチパネル10
により「確認」が入力されると(S46でYES)、図
8に示すS49の処理に移る。S49においては、デー
タ更新フラグ73がセットされているか否かを判別し、
データ更新フラグ73がセットされている場合、即ち更
新する個人データがサーバコンピュータ80から得られ
ている場合には(S49でYES)、それらの個人デー
タを挿入されている個人カードに書き込み、かつリアル
タイムクロック60に基づいて個人カード内の更新日時
を更新するとともに、サーバコンピュータ80にデータ
が更新された個人カードのユーザID識別コードを送る
ことにより、このユーザID識別コードを持つ個人カー
ドが更新されたことを通知し、かつHDD56中のデー
タ更新IDリストから該当するユーザID識別コードを
消去する(S50)。On the other hand, in S46, the touch panel 10
When “confirmation” is input by (YES in S46), the process proceeds to S49 shown in FIG. In S49, it is determined whether or not the data update flag 73 is set,
When the data update flag 73 is set, that is, when the personal data to be updated is obtained from the server computer 80 (YES in S49), those personal data are written to the inserted personal card and the real time data is written. By updating the update date and time in the personal card based on the clock 60 and sending the user ID identification code of the personal card with the updated data to the server computer 80, the personal card having this user ID identification code is updated. This is notified and the corresponding user ID identification code is deleted from the data update ID list in the HDD 56 (S50).
【0049】尚、サーバコンピュータ80においては、
証明書自動発行機1から個人カードが内容が更新された
ことが通知されると、その個人カードのユーザID識別
コードとカード内容更新の日時を対応づけて記憶してお
き、また、個人データの変更が届けられ、サーバコンピ
ュータ80にそれを登録するときにも、個人データが変
更された日時を記憶し、両者の日時を比較する。そし
て、日時が異なっている場合には、前記データ更新ID
リストにその個人カードのユーザID識別コードを記憶
するものである。In the server computer 80,
When the automatic certificate issuing machine 1 notifies that the content of the personal card has been updated, the user ID identification code of the personal card and the date and time of the card content update are stored in association with each other. Even when the change is delivered and registered in the server computer 80, the date and time when the personal data is changed is stored, and both dates and times are compared. If the date and time are different, the data update ID
The user ID identification code of the personal card is stored in the list.
【0050】次いで、住民票の写しの必要部数及び証明
の必要な事項を特定させる画面(図示せず)をCRT表
示装置9に表示し(S51)、これに基づき利用者がタ
ッチパネル10により申請内容を入力すると(S52で
YES)、申請内容を特定してそれに基づいて、利用者
が選択した証明書の料金を計算して、料金請求の画面を
CRT表示装置9に表示し(S53)、利用者がコイン
投入口16又は紙幣挿入口17から料金を支払うのを待
つ(S54)。ここで、料金が支払われると(S54で
YES)、支払い額の確認を行い、必要に応じて釣銭を
返却するとともにジャーナルプリンタ25でレシートを
印刷し、取り出し口22に排出する(S55)。Next, a screen (not shown) for specifying the required number of copies of the resident's card and the items required for certification is displayed on the CRT display device 9 (S51), and the user uses the touch panel 10 to apply the contents of the application. When (YES in S52) is specified, the content of the application is specified, the fee of the certificate selected by the user is calculated based on it, and the fee billing screen is displayed on the CRT display device 9 (S53). The person waits for payment from the coin insertion slot 16 or the bill insertion slot 17 (S54). Here, when the fee is paid (YES in S54), the amount of payment is confirmed, the change is returned if necessary, the receipt is printed by the journal printer 25, and the receipt is discharged to the outlet 22 (S55).
【0051】その後、個人カードをカード挿入口5より
排出して利用者に返却し(S56)、後述する証明書印
刷処理を行い(S57)、印刷がなされた証明書は、排
出口23より排出され(S58)、利用者に住民票の写
しとして交付される。Thereafter, the personal card is ejected from the card insertion slot 5 and returned to the user (S56), the certificate printing process described later is performed (S57), and the printed certificate is ejected from the ejection slot 23. (S58), and is issued to the user as a copy of the resident card.
【0052】これにより、住民票の写し交付の全ての処
理が終了して図3のS5へ戻り、再び図5のサービスの
種類を示す画面100をCRT表示装置9に表示し、次
の利用者による入力まで待機する(S6)。As a result, all the processing for issuing the resident's card is completed, and the process returns to S5 in FIG. 3, and again the screen 100 showing the type of service in FIG. 5 is displayed on the CRT display device 9, and the next user It waits until the input by (S6).
【0053】次に、上述のメインのフローチャートの説
明の中で出てきた種々の処理について、図9〜図12を
参照して順次説明する。Next, various kinds of processing that appear in the description of the above-mentioned main flow chart will be sequentially described with reference to FIGS.
【0054】最初に、リアルタイムクロック60のチェ
ック処理(RTCチェック処理)について、図10のフ
ローチャートを参照して説明する。First, the check processing (RTC check processing) of the real-time clock 60 will be described with reference to the flowchart of FIG.
【0055】CPU50は、先ず、RAM54内のRT
Cエラーフラグ68をOFFする(S61)。そして、
前述した方法、即ちリアルタイムクロック60の年レジ
スタ63の構成ビットが異常ビット列「1(ハイレベ
ル)」にプリセットされているか否かを判断することに
より(他のレジスタ61,62でもよいが、本実施例で
は値の変化しにくい年レジスタ63をチェックする)、
バッテリ66に異常が発生しているかどうかを検出する
(S62)。The CPU 50 firstly detects the RT in the RAM 54.
The C error flag 68 is turned off (S61). And
By the method described above, that is, by judging whether or not the constituent bits of the year register 63 of the real-time clock 60 are preset to the abnormal bit string "1 (high level)" (other registers 61 and 62 may be used, but this embodiment In the example, check the year register 63 whose value does not change easily),
It is detected whether or not an abnormality has occurred in the battery 66 (S62).
【0056】ここで、バッテリ66の異常が確認される
と(S62でYES)、CPU50は、CRT表示装置
9上で、図5に示すサービスの種類を示す画面100の
日付表示106を点滅させて、リアルタイムクロック6
0がエラー状態にあることを示す(S63)。次いで、
サーバコンピュータ80に対して現在時刻を送付するよ
うに要求するための通信ジョブコードをRAM54の通
信ジョブコードエリア70に設定し(S64)、図9に
示す通信処理の現在時刻取得処理を行う(S65)。Here, when the abnormality of the battery 66 is confirmed (YES in S62), the CPU 50 causes the date display 106 of the screen 100 showing the type of service shown in FIG. 5 to blink on the CRT display device 9. , Real-time clock 6
0 indicates that it is in an error state (S63). Then
A communication job code for requesting the server computer 80 to send the current time is set in the communication job code area 70 of the RAM 54 (S64), and the current time acquisition process of the communication process shown in FIG. 9 is performed (S65). ).
【0057】この現在時刻取得処理について、図9のフ
ローチャートを参照しながら詳細に説明する。The present time acquisition process will be described in detail with reference to the flowchart of FIG.
【0058】先ず、CPU50は、モデム40により、
通信回線90を介してサーバコンピュータ80に接続す
る(S101)。サーバコンピュータ80と接続できた
場合には(S102でNO)、前記S64にて設定され
たRAM54の通信ジョブコードエリア70の通信ジョ
ブコードに基づいて、ROM52内に格納されているサ
ーバコンピュータ80に対して現在時刻の送信を要求す
るプログラムを実行するように分岐し(S104),サ
ーバコンピュータ80に現在時刻(基準時刻)を送信す
るように要求コードを送り(S110)、サーバコンピ
ュータ80からの応答を待つ(S111)。ここで、サ
ーバコンピュータ80から現在時刻を受信すると(S1
11でYES)、CPU50は、その現在時刻データを
RAM54内の基準時刻一時記憶エリア69に記憶した
後(S112)、サーバコンピュータ80との接続を切
り(S109)、処理を終了する。First, the CPU 50 causes the modem 40 to
The server computer 80 is connected via the communication line 90 (S101). If the server computer 80 can be connected (NO in S102), the server computer 80 stored in the ROM 52 is sent to the server computer 80 based on the communication job code in the communication job code area 70 of the RAM 54 set in S64. Branch to execute a program that requests transmission of the current time (S104), send a request code to the server computer 80 to transmit the current time (reference time) (S110), and send a response from the server computer 80. Wait (S111). Here, when the current time is received from the server computer 80 (S1
(YES in 11), the CPU 50 stores the current time data in the reference time temporary storage area 69 in the RAM 54 (S112), disconnects from the server computer 80 (S109), and ends the process.
【0059】なお、もしも接続できない場合には(S1
01でYES)、通信エラーフラグ72をセットして
(S103)この通信処理を終了する。If the connection cannot be established (S1
If YES at 01), the communication error flag 72 is set (S103), and this communication process ends.
【0060】そして、現在時刻取得処理が終了すると、
CPU50は、前記S65における通信処理において通
信エラーがあったか否かを通信エラーフラグ72をチェ
ックすることで確認し(S66)、もし通信エラーがあ
った場合には(S66でYES)、サービス禁止フラグ
74をセットして(S67)、チェック処理を終了す
る。When the current time acquisition process ends,
The CPU 50 confirms whether or not there is a communication error in the communication processing in S65 by checking the communication error flag 72 (S66), and if there is a communication error (YES in S66), the service prohibition flag 74. Is set (S67), and the check process ends.
【0061】また、通信エラーがなかった場合には(S
66でNO)、前記S65(S112)にて取得した基
準時刻一時記憶エリア69に記憶されている基準時刻に
基づいてリアルタイムクロック60を前記S4と同じよ
うに補正し(図4参照)(S68)、補正後、RTC動
作チェック処理、即ちリアルタイムクロック60の動作
をチェックする(S69)。If there is no communication error (S
66), the real time clock 60 is corrected in the same manner as in S4 based on the reference time stored in the reference time temporary storage area 69 acquired in S65 (S112) (see FIG. 4) (S68). After the correction, the RTC operation check process, that is, the operation of the real-time clock 60 is checked (S69).
【0062】ここで、リアルタイムクロック60の動作
チェックの処理(RTC動作チェック処理)について、
図11に示すフローチャートを参照して詳細に説明す
る。Here, regarding the operation check processing (RTC operation check processing) of the real-time clock 60,
This will be described in detail with reference to the flowchart shown in FIG.
【0063】前述したように、リアルタイムクロック6
0の電源に異常が発生すると、各レジスタ61,62,
63の構成ビットが所定の値に(例えば、すべてのビッ
トがハイレベルに)プリセットされるようになっている
ので、CPU50は、この異常ビット列を検出すること
により、リアルタイムクロック60の電源に、このチェ
ック処理を行う以前のある時期に、あるいは、それ以後
継続して、異常が発生していたと判断することができ
る。それに加えて、以下の処理により、リアルタイムク
ロック60が正常に動作していないことも検出できる。As described above, the real time clock 6
When an abnormality occurs in the power supply of 0, each register 61, 62,
Since the 63 constituent bits are preset to a predetermined value (for example, all the bits are set to the high level), the CPU 50 detects the abnormal bit string to supply the real time clock 60 with the power. It is possible to determine that the abnormality has occurred at a certain time before the check processing is performed or continuously thereafter. In addition, it is possible to detect that the real-time clock 60 is not operating normally by the following processing.
【0064】先ず、CPU50は、各レジスタ61,6
2,63の値を読み出して、RAM54のワークメモリ
Aに一時記憶する(S201)。その後、CPU50が
一定のプログラムを実行するときにはほぼ一定の時間が
かかることを利用した周知のソフトウェアタイマ処理に
より所定時間待つ(S202)。そして、再度、各レジ
スタ61,62,63の値を読み出して、RAM54の
ワークメモリBに一時記憶する(S203)。次いで、
S201で一時記憶したワークメモリAの値とS203
で一時記憶したワークメモリBの値とを比較し(S20
4)、両ワークメモリの値が一致していれば(S204
でYES)、リアルタイムクロック60が停止している
と判断し、動作エラーフラグ75をセットして(S20
5)このチェック処理を終了する。First, the CPU 50 has the registers 61 and 6
The values of 2, 63 are read out and temporarily stored in the work memory A of the RAM 54 (S201). After that, the CPU 50 waits for a predetermined time by a well-known software timer process, which takes advantage of the fact that it takes a substantially constant time when the CPU 50 executes a constant program (S202). Then, the values of the registers 61, 62, 63 are read again and temporarily stored in the work memory B of the RAM 54 (S203). Then
The value of the work memory A temporarily stored in S201 and S203
The value of the work memory B temporarily stored in is compared (S20
4) If the values of both work memories match (S204)
YES), it is determined that the real-time clock 60 is stopped, and the operation error flag 75 is set (S20).
5) This check process ends.
【0065】一方、S201で一時記憶したワークメモ
リAの値とS203で一時記憶したワークメモリBの値
との差が予め定めた所定値tよりも大きい場合には(S
204でNO,S206でYES)、リアルタイムクロ
ック60が暴走していると判断し、動作エラーフラグ7
5をセットして(S205)このチェック処理を終了す
る。また、S201で一時記憶したワークメモリAの値
とS203で一時記憶したワークメモリBの値との差が
予め定めた所定値tに満たない場合には(S206でN
O)、リアルタイムクロック60は正常に動作している
として動作エラーフラグ75をセットすることなく、こ
の処理を終了する。On the other hand, if the difference between the value of the work memory A temporarily stored in S201 and the value of the work memory B temporarily stored in S203 is larger than a predetermined value t (S
(NO in 204, YES in S206), it is determined that the real-time clock 60 is out of control, and the operation error flag 7
5 is set (S205), and this check processing is terminated. If the difference between the value of the work memory A temporarily stored in S201 and the value of the work memory B temporarily stored in S203 is less than the predetermined value t (S206: N
O), it is determined that the real-time clock 60 is operating normally, and this processing ends without setting the operation error flag 75.
【0066】そして、S69におけるRTC動作チェッ
ク処理が終了すると、動作エラーフラグ75に基づいて
リアルタイムクロック60が動作エラーを起こしている
か否かを判断する(S70)。動作エラーフラグ75が
セットされていない場合、即ちリアルタイムクロック6
0が動作エラーを起こしていない場合には(S70でN
O)、前記S63で点滅させた日付表示106を前記S
68にて補正されたリアルタイムクロック60に基づい
て現在時刻に設定し直すとともに点滅表示を停止し(S
71)、チェック処理を終了する。When the RTC operation check process in S69 is completed, it is determined based on the operation error flag 75 whether the real-time clock 60 has an operation error (S70). When the operation error flag 75 is not set, that is, the real time clock 6
If 0 does not cause an operation error (S70 returns N
O), the date display 106 blinked in S63 is displayed in S
Based on the real time clock 60 corrected in 68, the current time is reset and the blinking display is stopped (S
71) and the check process ends.
【0067】一方、動作エラーフラグ75がセットされ
ている場合、即ちリアルタイムクロック60が動作エラ
ーを起こしている場合には(S70でYES)、サーバ
コンピュータ80に対して、端末装置に異常があること
を通知するための通信ジョブコードをRAM54の通信
ジョブコードエリア70に設定し(S72),図9に示
す通信処理の端末装置の異常通知処理を行い(S7
3)、RAM54内のRTCエラーフラグ68をONに
して(S74)、チェック処理を終了する。On the other hand, when the operation error flag 75 is set, that is, when the real-time clock 60 causes an operation error (YES in S70), the server computer 80 has an abnormality in the terminal device. Is set in the communication job code area 70 of the RAM 54 (S72), and the terminal device abnormality notification process of the communication process shown in FIG. 9 is performed (S7).
3), the RTC error flag 68 in the RAM 54 is turned on (S74), and the check process is terminated.
【0068】ここで、端末装置の異常通知処理について
図9を参照して説明すると、前記S72にて設定された
通信ジョブコードエリア70の異常通知の通信ジョブコ
ードに基づいて、ROM52内に格納されているサーバ
コンピュータ80に対して端末装置に異常があることを
通知するプログラムを実行するように分岐し(S10
4)、サーバコンピュータ80に端末装置のエラー通知
コードと、エラーの種類を示すコード及び端末装置を特
定させる端末装置識別コードとをサーバコンピュータ8
0に送信し(S113,S114)、サーバコンピュー
タ80との接続を切り(S109),処理を終了する。The abnormality notification processing of the terminal device will now be described with reference to FIG. 9. The abnormality notification processing of the terminal device is stored in the ROM 52 based on the communication job code of the abnormality notification in the communication job code area 70 set in S72. The server computer 80 is branched so as to execute a program for notifying the server computer 80 that the terminal device is abnormal (S10).
4) The server computer 8 receives the error notification code of the terminal device, the code indicating the type of error, and the terminal device identification code for identifying the terminal device.
0 (S113, S114), disconnects from the server computer 80 (S109), and ends the process.
【0069】なお、この他に、利用者の個人カードのデ
ータ更新を確認する処理等の複数の処理についても前記
S104において分岐するが、上述のものと同様な処理
なので、図示しないとともにその詳細な説明も省略す
る。In addition to this, a plurality of processes such as a process for confirming the data update of the user's personal card are also branched in S104, but since they are the same as those described above, detailed description thereof will be omitted. The description is also omitted.
【0070】また、前記S62でリアルタイムクロック
60の年レジスタ63に異常が検出されなかった場合に
は(S62でNO)、前記S69と同様なリアルタイム
クロック60の動作チェックを行い(S75),動作エ
ラーフラグ75がセットされている場合、即ちリアルタ
イムクロック60が動作エラーを起こしている場合には
(S76でYES)、前記S63に移行する。そして、
動作エラーフラグ75がセットされていない場合、即ち
リアルタイムクロック60が動作エラーを起こしていな
い場合には(S76でNO)、そのままチェック処理を
終了する。When no abnormality is detected in the year register 63 of the real-time clock 60 in S62 (NO in S62), the same operation check of the real-time clock 60 as in S69 is performed (S75), and the operation error is detected. When the flag 75 is set, that is, when the real-time clock 60 causes an operation error (YES in S76), the process proceeds to S63. And
When the operation error flag 75 is not set, that is, when the real-time clock 60 does not cause an operation error (NO in S76), the check process is ended as it is.
【0071】このようなリアルタイムクロック60のチ
ェックを行うと、バッテリ66の異常だけでなく、リア
ルタイムクロック60の動作異常も検出できるととも
に、現在時刻をサーバコンピュータ80から得られる
為、信頼性の高い日付を証明書に記録することができ
る。By checking the real time clock 60 as described above, not only the abnormality of the battery 66 but also the operation abnormality of the real time clock 60 can be detected, and the current time can be obtained from the server computer 80. Can be recorded on the certificate.
【0072】また、このように、リアルタイムクロック
60が動作エラーを起こしている場合、後述する証明書
印刷処理の中でリアルタイムクロック60は使用できな
いため、現在時刻取得処理で得られた基準時刻一時記憶
エリア69に記憶されている現在時刻データを、証明書
発行の時刻データとして使用することにより、証明書を
発行することができる。When the real-time clock 60 has an operation error as described above, the real-time clock 60 cannot be used in the certificate printing process to be described later, so the reference time temporary storage obtained in the current time acquisition process is performed. The certificate can be issued by using the current time data stored in the area 69 as the time data for issuing the certificate.
【0073】更に、リアルタイムクロック60に異常が
あった場合、CRT表示装置9に表示された日付が点滅
するので、利用者は証明書自動発行機1が何らかの処理
を行っていること(この場合は、サーバコンピュータ8
0との間で交信を行って、リアルタイムクロック60を
補正する処理を行っていること)を知ることができる
し、もし、その点滅が長く続いているならば、サーバコ
ンピュータ80と接続ができずにいることを察知でき、
利用者は係員に問い合わせる等の対処が可能となる。Further, when the real-time clock 60 is abnormal, the date displayed on the CRT display device 9 blinks, so that the user is performing some processing by the automatic certificate issuing machine 1 (in this case, , Server computer 8
It is possible to know that the process of correcting the real-time clock 60 is being performed by communicating with 0), and if the blinking continues for a long time, the server computer 80 cannot be connected. I can see that
The user can take measures such as inquiring the staff.
【0074】次に、前記S57の証明書印刷処理(図8
参照)について、図12を参照しながら説明する。Next, the certificate printing process of S57 (see FIG. 8).
Reference) will be described with reference to FIG.
【0075】先ず、CPU50は、証明書に印刷する日
付を得るために、RTCエラーフラグ68がセットされ
ているか否かをチェックし(S501)、RTCエラー
フラグ68がセットされていなければ(S501でN
O)、リアルタイムクロック60の各レジスタ61,6
2,63よりデータを読み出し(S502)、S504
に進む。First, the CPU 50 checks whether or not the RTC error flag 68 is set to obtain the date to be printed on the certificate (S501). If the RTC error flag 68 is not set (S501). N
O), each register 61, 6 of the real-time clock 60
The data is read from S. 2, 63 (S502), S504
Proceed to.
【0076】一方、RTCエラーフラグ68がセットさ
れている場合には(S501でYES)、リアルタイム
クロック60が故障していることを示しているので、サ
ービスが選択された時点に、サーバコンピュータ80か
ら受信して、RAM54内の基準時刻一時記憶エリア6
9に保持されている現在時刻(基準時刻)を読み出すと
ともに、リアルタイムクロック60の各レジスタのフォ
ーマットに変換し(S503)、S504に進む。On the other hand, when the RTC error flag 68 is set (YES in S501), it means that the real-time clock 60 is out of order, and therefore, when the service is selected, from the server computer 80. Receiving and temporarily storing the reference time in the RAM 54
The current time (reference time) held in No. 9 is read and converted into the format of each register of the real-time clock 60 (S503), and the process proceeds to S504.
【0077】S504においては、CPU50は、前述
した図7のS38及びS40により特定された証明デー
タ(個人データ)をRAM54の個人データ記憶エリア
77から読み出すとともに、図3のS3にてHDD56
に記憶した市長名、公印イメージ等のデータを読み出
し、かつ上記の日時のデータも付加して印刷用データを
形成する。そして、印刷するフォント等を選択してレー
ザプリンタ30で印刷できるフォーマットに変換してプ
リントデータエリア78に格納し(S505)、レーザ
プリンタ30に対して証明書用のカートリッジを選択し
て印刷を行うように指示し(S506)、それらのデー
タをレーザプリンタ30に送信する(S507)。レー
ザプリンタ30は、そのデータを受けて、指定された証
明書用のカートリッジに収容されている証明書用の記録
用紙に印刷し(S508)、証明書印刷処理を終了す
る。In S504, the CPU 50 reads the certification data (personal data) specified in S38 and S40 of FIG. 7 from the personal data storage area 77 of the RAM 54, and the HDD 56 in S3 of FIG.
The data such as the mayor's name and the official seal image stored in is read out, and the data of the above date and time is also added to form the print data. Then, a font or the like to be printed is selected, converted into a format printable by the laser printer 30 and stored in the print data area 78 (S505), and a certificate cartridge is selected for the laser printer 30 to perform printing. (S506), and the data is transmitted to the laser printer 30 (S507). Upon receiving the data, the laser printer 30 prints on the certificate recording paper contained in the designated certificate cartridge (S508), and ends the certificate printing process.
【0078】このように、本実施例の証明書自動発行機
1によれば、利用者が証明書の交付を受ける時、リアル
タイムクロック60に異常がある場合にだけ、サーバコ
ンピュータ80からの正確な現在時刻(基準時刻)によ
りリアルタイムクロック60の補正を行うので、余分な
交信をサーバコンピュータ80との間で行うことがな
く、サービスの要求が集中したり、通信回線90が混雑
しているような状況の時でも、正確な発行日が印刷さ
れ、すばやいサービスを提供することができる。特に、
本実施例の証明書自動発行機1のように、初期化直後に
サーバコンピュータ80から送られて、HDD56に格
納されているサービスデータと利用者の個人カード内の
個人データが主として使用されるサービスにおいては、
その効果はきわめて大きい。As described above, according to the certificate automatic issuing machine 1 of the present embodiment, when the user receives the certificate, only when the real-time clock 60 has an abnormality, the server computer 80 can obtain the correct certificate. Since the real-time clock 60 is corrected according to the current time (reference time), unnecessary communication is not performed with the server computer 80, service requests are concentrated, and the communication line 90 is congested. The exact issue date will be printed and the service can be provided promptly even in situations. In particular,
A service in which the service data sent from the server computer 80 immediately after initialization and stored in the HDD 56 and the personal data in the user's personal card are mainly used, like the automatic certificate issuing machine 1 of this embodiment. In
The effect is extremely large.
【0079】また、リアルタイムクロック60が継続的
に異常となり、係員がエラー解除するまでに時間がかか
る場合でも、サーバコンピュータ80から得られた現在
時刻を使用するので、サービスを停止しなくてもよく、
利用者に対するサービス向上につながる。Even if the real-time clock 60 is continuously abnormal and it takes a long time for the clerk to release the error, the current time obtained from the server computer 80 is used, so that the service does not have to be stopped. ,
It leads to improvement of services for users.
【0080】更に、利用者からのサービス要求がない場
合でも所定時間経過毎に、リアルタイムクロック60の
チェックを行い、異常があった場合、サーバコンピュー
タ80に現在時刻を問い合わせ、リアルタイムクロック
60を補正しておくようにしているため、利用者からサ
ービス要求があったとき、すでにリアルタイムクロック
60のチェックが行われており、万一リアルタイムクロ
ック60に異常があった場合でも、利用者が使用する前
に殆どの場合補正されているので、利用者の使用時のレ
スポンスの遅れを回避することができ、速やかなサービ
スを提供することができる。Further, even if there is no service request from the user, the real-time clock 60 is checked every predetermined time, and if there is an abnormality, the server computer 80 is inquired about the current time and the real-time clock 60 is corrected. Since the real-time clock 60 is already checked when the user makes a service request, even if there is an abnormality in the real-time clock 60, before the user uses it. Since the correction is made in most cases, it is possible to avoid a delay in the response when the user uses it, and it is possible to provide a prompt service.
【0081】尚、本発明の交信手段は、モデム40に相
当し、また、記録手段はレーザープリンタ30あるいは
ジャーナルプリンタ25に相当する。更に、計時手段は
リアルタイムクロック60に相当し、検出手段の処理は
図10のRTC動作チェック処理に相当し、補正手段の
処理は図4のRTC補正処理に相当する。The communication means of the present invention corresponds to the modem 40, and the recording means corresponds to the laser printer 30 or the journal printer 25. Further, the time counting means corresponds to the real time clock 60, the processing of the detecting means corresponds to the RTC operation check processing of FIG. 10, and the processing of the correcting means corresponds to the RTC correction processing of FIG.
【0082】また、判断手段の処理はS42の処理に相
当し、禁止手段の処理はS43とS44の処理に相当す
る。そして、指示手段はタッチパネル10に相当し、タ
イミング発生手段の処理は、S6とS8の処理に相当す
る。The processing of the judging means corresponds to the processing of S42, and the processing of the prohibiting means corresponds to the processing of S43 and S44. The instruction means corresponds to the touch panel 10, and the processing of the timing generation means corresponds to the processing of S6 and S8.
【0083】また、上述のようにサーバコンピュータ8
0と交信できなくて、リアルタイムクロック60を補正
するための現在時刻が得られない場合には、証明書の発
行を停止するので、発行日の間違った証明書を発行する
ことがなく、証明書の信頼性をなくすことがない。前記
実施例では、証明書自動発行のサービス全体を停止する
ような処理を説明したが、必ずしもサービス全体を停止
する必要はなく、証明書の印刷だけを禁止するようにし
てもよい。Further, as described above, the server computer 8
If the current time for correcting the real-time clock 60 cannot be obtained because communication with 0 is not possible, the certificate issuance will be stopped, so the certificate with the incorrect issue date will not be issued. Never lose the credibility of. In the above-described embodiment, the processing for stopping the entire service for automatically issuing a certificate has been described, but it is not always necessary to stop the entire service, and only the printing of the certificate may be prohibited.
【0084】また更に、前記実施例では、リアルタイム
クロック60が補正後も正常に動作しない場合(この
時、RTCエラーフラグ68がONとなっている)、証
明書印刷処理(図12参照)の中で、サーバコンピュー
タ80と交信して得られた基準時刻一時記憶エリア69
に保持されている現在時刻をリアルタイムクロック60
から得られる現在時刻の代わりとして用いて証明書印刷
を行ったが、リアルタイムクロック60が補正後も正常
に動作しない場合は、サーバコンピュータ80から基準
時刻が正常に得られないとみなして、証明書の発行を行
わないとしてもよい。その場合、例えば、図7のS42
において、サービス禁止フラグ74の代わりにRTCエ
ラーフラグ68をチェックするように変更すればよい。Furthermore, in the above-described embodiment, when the real-time clock 60 does not operate normally after correction (at this time, the RTC error flag 68 is ON), the certificate printing process (see FIG. 12) is performed. Then, the reference time temporary storage area 69 obtained by communicating with the server computer 80
The current time stored in the real time clock 60
The certificate was printed by using it instead of the current time obtained from the above, but if the real-time clock 60 does not operate normally even after correction, it is considered that the reference time cannot be normally obtained from the server computer 80, and the certificate is printed. May not be issued. In that case, for example, S42 of FIG.
In, the RTC error flag 68 may be checked instead of the service prohibition flag 74.
【0085】また、図3のフローチャートでは、インタ
ーバルタイマを起動して、利用者による使用がない場
合、リアルタイムクロック60をチェックして、異常が
あった場合にだけ、サーバコンピュータ80に現在時刻
を問い合わせていたが、利用者が利用していない場合に
は、通信に時間がかかっても問題は少く、毎回、サーバ
コンピュータ80より現在時刻を取得する処理を行うこ
とも可能である。In the flowchart of FIG. 3, the interval timer is activated, the real time clock 60 is checked when the user does not use the interval timer, and the server computer 80 is inquired about the current time only when there is an abnormality. However, if the user is not using it, there is little problem even if the communication takes time, and it is possible to perform the process of acquiring the current time from the server computer 80 every time.
【0086】更にまた、前記実施例においては、利用者
がサービスを選択した後、リアルタイムクロック60を
チェックするようにしているが、筺体3の一部に光学セ
ンサ等の利用者センサを設け、CPU50はその検出信
号が一定期間ONならば、利用者がサービスを受けよう
としていると判断し、利用者が実際にサービスをが利用
される直前にリアルタイムクロック60のチェックの処
理を行うようにしてもよい。これにより、もし、リアル
タイムクロック60に異常があった場合にも、利用者が
サービスを受けようとする時には、すでに異常は解消さ
れ、すばやいサービス提供を行うことができる。Furthermore, in the above-described embodiment, after the user selects the service, the real time clock 60 is checked. However, a user sensor such as an optical sensor is provided in a part of the housing 3, and the CPU 50 is provided. If the detection signal is ON for a certain period of time, it is determined that the user is about to receive the service, and the user may check the real-time clock 60 immediately before the service is actually used. Good. As a result, even if the real-time clock 60 has an abnormality, when the user tries to receive the service, the abnormality is already resolved and a quick service can be provided.
【0087】以上のように、本発明の端末装置を証明書
自動発行機を例にして詳しく説明したが、本発明は、証
明書自動発行機に限らず、正確な日時等を必要とする端
末装置にて実施することができる。たとえば、切符の自
動発行端末機や郵便物への日付押印端末機、あるいは各
種の有効期限の有るようなカードを発行する端末装置等
においても同様に実施できる。As described above, the terminal device of the present invention has been described in detail by taking the automatic certificate issuing machine as an example. However, the present invention is not limited to the automatic certificate issuing machine, but a terminal requiring an accurate date and time and the like. It can be implemented in a device. For example, the same can be applied to an automatic ticket issuing terminal, a date stamping terminal for mail, or a terminal device that issues cards with various expiration dates.
【0088】[0088]
【発明の効果】以上説明したことから明かなように、請
求項1記載の端末装置によれば、時刻を計時する計時手
段と、交信手段にて外部機器から基準時刻を取得する時
刻取得手段と、計時手段の異常の有無を検出する検出手
段と、検出手段が計時手段の異常を検出した時、時刻取
得手段が外部機器から取得した基準時刻に基づいて計時
手段を補正する補正手段とを備えているので、正確な日
時を記録することができ、通信回線の混み具合に影響さ
れずに、スムーズに日時を記録できる。As is apparent from the above description, according to the terminal device of the first aspect, the time measuring means for measuring the time and the time acquiring means for acquiring the reference time from the external device by the communication means. A detection means for detecting the presence or absence of an abnormality in the timekeeping means, and a correction means for correcting the timekeeping means based on the reference time obtained from the external device by the time acquisition means when the detection means detects an abnormality in the timekeeping means Therefore, the accurate date and time can be recorded, and the date and time can be recorded smoothly without being affected by the congestion of the communication line.
【0089】また、請求項2記載の端末装置では、サー
バコンピュータから基準時刻が得られない場合は、端末
装置での記録自体を禁止するため、間違った日付を記録
することがない。Further, in the terminal device according to the second aspect, when the reference time cannot be obtained from the server computer, the recording itself in the terminal device is prohibited, so that an incorrect date is not recorded.
【0090】更に、請求項3記載の端末装置では、常に
計時手段の異常の有無を検出するのではなく、日付デー
タが必要となる時のみに検出を行うため、不要な処理を
行うことがなく、サーバコンピュータとの間の交信を最
小限に抑えることができる。Further, in the terminal device according to the third aspect, the presence or absence of abnormality of the timekeeping means is not always detected, but the detection is performed only when the date data is needed, so that unnecessary processing is not performed. , It is possible to minimize the communication with the server computer.
【0091】また更に、請求項4記載の端末装置では、
サービスが行われていない時にも、所定期間毎に計時手
段の異常の有無を検出し、異常があった場合にサーバコ
ンピュータから基準時刻を予め取得し、計時手段を補正
しておくため、利用者がサービスを受ける前に計時手段
の補正を終えておくことが可能になり、利用者がサービ
スを受けようとした時に、計時手段を補正する必要が少
なくなり、すばやいサービスの提供が行える。Furthermore, in the terminal device according to claim 4,
Even when the service is not provided, the presence or absence of abnormality in the timekeeping means is detected every predetermined period, and if there is an abnormality, the reference time is acquired in advance from the server computer and the timekeeping means is corrected, so the user It becomes possible to finish the correction of the time measuring means before the user receives the service, and when the user tries to receive the service, it becomes less necessary to correct the time measuring means, and the quick service can be provided.
【0092】また、請求項5記載の端末装置では、検出
手段が計時手段の電源の異常を検出するので、電源異常
による計時手段の異常の有無の検出が可能となる。Further, in the terminal device according to the fifth aspect, since the detecting means detects the abnormality of the power supply of the time measuring means, it is possible to detect the presence or absence of the abnormality of the time measuring means due to the power supply abnormality.
【図1】本実施例の証明書自動発行機の外観図である。FIG. 1 is an external view of a certificate automatic issuing machine according to the present embodiment.
【図2】本発明の実施例に係わる証明書自動発行機を含
む証明書自動発行システム全体のブロック図である。FIG. 2 is a block diagram of the entire certificate automatic issuing system including the certificate automatic issuing machine according to the exemplary embodiment of the present invention.
【図3】本実施例の証明書自動発行機の動作の流れを示
すフローチャートである。FIG. 3 is a flowchart showing an operation flow of the certificate automatic issuing machine according to the present embodiment.
【図4】本実施例のリアルタイムクロックの補正処理の
流れを示すフローチャートである。FIG. 4 is a flowchart showing a flow of correction processing of a real-time clock according to the present embodiment.
【図5】本実施例の証明書自動発行機のCRTに表示さ
れるサービスメニュー画面を示す説明図である。FIG. 5 is an explanatory diagram showing a service menu screen displayed on the CRT of the automatic certificate issuing machine according to the present embodiment.
【図6】本実施例の証明書自動発行機の住民票発行の動
作の流れを示すフローチャートである。FIG. 6 is a flowchart showing a flow of operations for issuing a resident's card of the automatic certificate issuing machine according to the present embodiment.
【図7】本実施例の証明書自動発行機の住民票発行の動
作の流れを示すフローチャートである。FIG. 7 is a flowchart showing a flow of operations for issuing a resident's card of the certificate automatic issuing machine according to the present embodiment.
【図8】本実施例の証明書自動発行機の住民票発行の動
作の流れを示すフローチャートである。FIG. 8 is a flowchart showing a flow of operations for issuing a resident's card of the automatic certificate issuing machine according to the present embodiment.
【図9】本実施例の通信処理の流れを示すフローチャー
トである。FIG. 9 is a flowchart showing a flow of communication processing of the present embodiment.
【図10】本実施例のリアルタイムクロックのチェック
処理の流れを示すフローチャートである。FIG. 10 is a flowchart showing the flow of a check process of the real-time clock of this embodiment.
【図11】本実施例のリアルタイムクロックの動作チェ
ック処理の流れを示すフローチャートである。FIG. 11 is a flowchart showing a flow of operation check processing of a real-time clock according to the present embodiment.
【図12】本実施例の証明書印刷処理の流れを示すフロ
ーチャートである。FIG. 12 is a flowchart showing a flow of certificate printing processing according to the present embodiment.
1 証明書自動発行機 10 タッチパネル 25 ジャーナルプリンタ 30 レーザプリンタ 40 モデム 50 CPU 52 ROM 54 RAM 60 リアルタイムクロック 69 基準時刻一時記憶エリア 80 サーバコンピュータ 84 時計 1 Certificate Automatic Issuing Machine 10 Touch Panel 25 Journal Printer 30 Laser Printer 40 Modem 50 CPU 52 ROM 54 RAM 60 Real Time Clock 69 Reference Time Temporary Storage Area 80 Server Computer 84 Clock
Claims (5)
データを記録する記録手段とを有する端末装置におい
て、 時刻を計時する計時手段と、 前記交信手段にて前記外部機器から基準時刻を取得する
時刻取得手段と、 前記計時手段の異常の有無を検出する検出手段と、 前記検出手段が前記計時手段の異常を検出した時、前記
時刻取得手段が外部機器から取得した基準時刻に基づい
て計時手段を補正する補正手段とを備えたことを特徴と
する端末装置。1. A communication means for communicating with an external device,
In a terminal device having a recording means for recording data, a time measuring means for measuring a time, a time acquiring means for acquiring a reference time from the external device by the communication means, and the presence or absence of abnormality of the time measuring means is detected. A terminal comprising: a detecting unit; and a correcting unit that corrects the time measuring unit based on a reference time acquired by the time acquiring unit from an external device when the detecting unit detects an abnormality in the time measuring unit. apparatus.
ら基準時刻を取得したか否かを判断する判断手段と、 前記判断手段が前記時刻取得手段により外部機器から基
準時刻を取得していないと判断した場合は、前記記録手
段による記録を禁止する禁止手段とを備えたことを特徴
とする請求項1記載の端末装置。2. A judging means for judging whether or not the reference time is acquired from the external device by the time acquiring means, and the judging means judges that the reference time is not acquired from the external device by the time acquiring means. The terminal device according to claim 1, further comprising a prohibition unit that prohibits recording by the recording unit.
とを指示する指示手段を更に備え、前記検出手段は、前
記指示手段によってデータの記録を指示された時、前記
検出手段にて計時手段の異常の有無を検出することを特
徴とする請求項1或いは請求項2記載の端末装置。3. The recording means further comprises an instruction means for instructing to record the data, and the detection means, when the data recording is instructed by the instruction means, the detection means operates as a timing means. The terminal device according to claim 1 or 2, wherein the presence or absence of abnormality is detected.
グ発生手段を更に備え、前記検出手段は、前記タイミン
グ発生手段からの信号に基づいて起動され、検出手段が
前記計時手段に異常が有ることを検出した時、前記時刻
取得手段を起動させることを特徴とする請求項1或いは
請求項2或いは請求項3記載の端末装置。4. A timing generating means for generating a signal at predetermined time intervals is further provided, wherein the detecting means is activated based on a signal from the timing generating means, and the detecting means detects that the timing means has an abnormality. The terminal device according to claim 1, 2 or 3, wherein the time acquisition means is activated when the time is detected.
異常を検出することを特徴とする請求項1乃至請求項4
のいずれか記載の端末装置。5. The method according to claim 1, wherein the detecting means detects an abnormality in the power source of the time measuring means.
The terminal device according to any one of 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11836095A JPH08315021A (en) | 1995-05-17 | 1995-05-17 | Terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11836095A JPH08315021A (en) | 1995-05-17 | 1995-05-17 | Terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08315021A true JPH08315021A (en) | 1996-11-29 |
Family
ID=14734786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11836095A Pending JPH08315021A (en) | 1995-05-17 | 1995-05-17 | Terminal device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08315021A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2004226985B2 (en) * | 2000-12-12 | 2006-09-07 | Ntt Docomo, Inc. | Certification method, communication device and relay device |
US7707403B2 (en) | 2000-12-12 | 2010-04-27 | Ntt Docomo, Inc. | Authentication method, communication apparatus, and relay apparatus |
JP2014147448A (en) * | 2013-01-31 | 2014-08-21 | Universal Entertainment Corp | Game machine, management method for game machine |
-
1995
- 1995-05-17 JP JP11836095A patent/JPH08315021A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2004226985B2 (en) * | 2000-12-12 | 2006-09-07 | Ntt Docomo, Inc. | Certification method, communication device and relay device |
US7707403B2 (en) | 2000-12-12 | 2010-04-27 | Ntt Docomo, Inc. | Authentication method, communication apparatus, and relay apparatus |
JP2014147448A (en) * | 2013-01-31 | 2014-08-21 | Universal Entertainment Corp | Game machine, management method for game machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10374909B2 (en) | Server for managing status of service agreement with image-recording device | |
EP1259911B1 (en) | Automatic consumables ordering | |
US20030200160A1 (en) | Method for replenishing consumables and system for managing the replenishment of consumables | |
US20080180737A1 (en) | Image Forming System, Image Forming Apparatus, and Terminal | |
CA2058408C (en) | Remote postage meter resetting by facsimile communication | |
US8370257B2 (en) | Print system for outputting transaction statement | |
US5946672A (en) | Electronic postage meter system having enhanced clock security | |
JP5141158B2 (en) | Electronic money issue relay device and account management device | |
JPH08315021A (en) | Terminal device | |
EP0848353B1 (en) | Method and apparatus for automatically disabling a removable, portable vault of a postage metering system | |
JP2024031248A (en) | Printing consumables management system, printing consumables remaining amount identification device, and printing consumables liquid level detection program | |
JP2002137501A (en) | Printer and print system | |
JP3261900B2 (en) | Facsimile machine | |
JP4034055B2 (en) | Consumable management system | |
CN108305410A (en) | Self-service copy controlling method and self-service duplicating terminal | |
JP4303089B2 (en) | Voting ticket refund method in cashless voting system, cashless voting system, totalizer system, voting ticket refund program of cashless voting server, and recording medium recording the program | |
JP3283747B2 (en) | Prize management system | |
JP3283748B2 (en) | Prize exchange system | |
JP2003016259A (en) | Voucher print result confirmation method, voucher print result confirmation system and printer system | |
JP2005108059A (en) | Image forming money management device and image forming system | |
JP2022170008A (en) | PRINTING APPARATUS, PRINTING PROCESSING SYSTEM AND PRINTING PROCESSING METHOD | |
JP4865645B2 (en) | Printing device | |
JP2605670B2 (en) | Card processing equipment | |
JPH1079057A (en) | Certificate issuing machine | |
JP2009043127A (en) | Print controller and print control program |