JPH08299580A - Terminal equipment for gift exchange job, terminal equipment and data processing system - Google Patents

Terminal equipment for gift exchange job, terminal equipment and data processing system

Info

Publication number
JPH08299580A
JPH08299580A JP11139295A JP11139295A JPH08299580A JP H08299580 A JPH08299580 A JP H08299580A JP 11139295 A JP11139295 A JP 11139295A JP 11139295 A JP11139295 A JP 11139295A JP H08299580 A JPH08299580 A JP H08299580A
Authority
JP
Japan
Prior art keywords
processing
host device
information
terminal device
exchange
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
JP11139295A
Other languages
Japanese (ja)
Other versions
JP3115789B2 (en
Inventor
Jun Tsuchida
潤 土田
Hideo Hiramatsu
秀夫 平松
Toshiro Kawabata
利郎 川端
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.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP07111392A priority Critical patent/JP3115789B2/en
Publication of JPH08299580A publication Critical patent/JPH08299580A/en
Application granted granted Critical
Publication of JP3115789B2 publication Critical patent/JP3115789B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To continue data processing even at the time of system fault by fetching processing information collected by a host device, substitutively performing the data processing of the host device while using the processing information, and reporting the processing information, to which processing is completed, to the host device. CONSTITUTION: A fetching means 21 of terminal equipment 2 fetches an information from a host device 1 and holds it in a holding means 22. Then, a requesting means 20 detects the generation of any system fault when there is no response to a data processing request from the host device 1. On the other head, a retrieving means 23 retrieves a processing information to be used for data processing out of the processing informations held in the holding means 22. Besides, a substituting means 24 substitutes the data processing of the host device 1 on the condition that the retrieved processing information is not completely processed. Further, a storage means 25 stores the processing information completed the processing in response to substitutive processing and, at the time of system recovery, a reporting means 26 reports the processing information stored in the storage means 25 to the host device 1 as the completely processed information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、景品交換システムで用
いられる景品交換業務用端末装置と、ホスト装置に接続
される端末装置と、ホスト装置と端末装置とから構成さ
れるデータ処理システムとに関し、特に、システム障害
に適切に対処できるようにする景品交換業務用端末装
置、端末装置及びデータ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a premium exchange business terminal device used in a premium exchange system, a terminal device connected to a host device, and a data processing system composed of the host device and the terminal device. In particular, the present invention relates to a gift exchange business terminal device, a terminal device, and a data processing system capable of appropriately dealing with a system failure.

【0002】様々な分野で、ホスト装置と端末装置とか
ら構成されるデータ処理システムを使って業務を遂行す
るようになってきた。このようなデータ処理システムで
は、ホスト装置や、ホスト装置と端末装置との間を接続
するネットワーク等に障害が発生すると業務を遂行でき
なくなる。これから、このような障害発生時に、適切に
対処できるようにする構成の構築が叫ばれている。
In various fields, business has come to be performed by using a data processing system including a host device and a terminal device. In such a data processing system, when a failure occurs in the host device or the network connecting the host device and the terminal device, it becomes impossible to perform the work. From now on, there is a demand for the construction of a configuration that can appropriately deal with such a failure.

【0003】[0003]

【従来の技術】景品交換システム等のようなシステムで
は、オペレータの操作する端末装置を複数用意するとと
もに、それらの端末装置の要求する業務処理を集中して
実行するホスト装置を用意することで業務処理を実行す
る構成を採っている。
2. Description of the Related Art In a system such as a prize exchange system, a plurality of terminal devices operated by an operator are prepared, and a host device for centrally executing the business processing required by those terminal devices is prepared. It has a configuration to execute processing.

【0004】例えば、最近のパチンコ店では、店内各所
に設けられる発券機が、景品交換のパチンコ玉数を計数
し、それをカード(レシートのこともある)に記録して
お客に渡し、ホスト装置が、その発行されたパチンコ玉
数をカードIDとともに収集する構成を採って、そのカ
ードが景品交換を行う端末装置の所に持参されるとき
に、端末装置は、ホスト装置に対して、そのカードの記
録するパチンコ玉数の正当性と、景品交換済でないかを
問い合わせることで、景品交換してよいものなのか否か
を判断して景品交換業務を実行していくという構成を採
っている。
For example, in recent pachinko parlors, ticket issuing machines provided at various places inside the store count the number of pachinko balls for prize exchange, record the number on a card (sometimes a receipt), and hand it to the customer. However, when the card is brought to a terminal device for exchanging prizes by adopting a configuration in which the number of issued pachinko balls is collected together with the card ID, the terminal device notifies the host device of the card. By inquiring about the legitimacy of the number of pachinko balls recorded by and whether or not the prize has been exchanged, it is judged whether or not the prize can be exchanged, and the prize exchange operation is executed.

【0005】このようなホスト装置と端末装置とから構
成されるデータ処理システム(サーバ・クライアント型
のデータ処理システム)では、ホスト装置や、ホスト装
置と端末装置との間を接続するネットワークに障害が発
生すると、業務を遂行できなくなって、端末装置も動作
不可能になるという問題点がある。
In a data processing system (server / client type data processing system) composed of such a host device and a terminal device, there is a failure in the host device or in the network connecting the host device and the terminal device. If it occurs, there is a problem that the business cannot be performed and the terminal device also becomes inoperable.

【0006】この問題点の解決を図るために、従来のサ
ーバ・クライアント型のデータ処理システムでは、バッ
クアップ用のホスト装置を用意するとともに、ネットワ
ークを多重化するという方法を採っていた。
In order to solve this problem, the conventional server / client type data processing system employs a method of preparing a backup host device and multiplexing the network.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな解決方法は、コストが高くなっても許されるデータ
処理システムに対しては適用できるものの、景品交換シ
ステムのようなローコストの要求されるデータ処理シス
テムに対しては、コスト的に見てとても適用できるもの
ではない。また、パソコンとプリンタというような端末
装置が入出力機器であるようなサーバ・クライアント型
のデータ処理システムに対しても、その性質上適用でき
るものでもない。
However, although such a solution can be applied to a data processing system which is allowed even if the cost becomes high, the data processing requiring a low cost such as a prize exchange system. It is not very applicable to the system in terms of cost. Further, it is not applicable in nature to a server / client type data processing system in which terminal devices such as a personal computer and a printer are input / output devices.

【0008】本発明はかかる事情に鑑みてなされたもの
であって、サーバ・クライアント型の景品交換システム
で用いられる景品交換業務用端末装置に新たな機能を付
加することで、システム障害に適切に対処できるように
することを目的とし、更に、サーバ・クライアント型の
データ処理システムで用いられる端末装置に新たな機能
を付加することで、システム障害に適切に対処できるよ
うにすることを目的とし、更に、サーバ・クライアント
型のデータ処理システムに新たな機能を付加すること
で、システム障害に適切に対処できるようにすることを
目的とする。
The present invention has been made in view of the above circumstances, and is suitable for system failure by adding a new function to a gift exchange business terminal device used in a server / client type gift exchange system. The purpose is to be able to cope with it, and further to add a new function to the terminal device used in the server / client type data processing system so that the system fault can be appropriately dealt with, Another object is to add a new function to the server / client type data processing system so that a system failure can be appropriately dealt with.

【0009】[0009]

【課題を解決するための手段】図1に、景品交換システ
ムで使用するのに好適な本発明の端末装置の原理構成、
図2に、本発明のデータ処理システムの原理構成を図示
する。
FIG. 1 shows the principle configuration of a terminal device of the present invention, which is suitable for use in a prize exchange system.
FIG. 2 illustrates the basic configuration of the data processing system of the present invention.

【0010】図1中、1はホスト装置、2はホスト装置
1に接続される本発明の端末装置である。端末装置2
は、複数用意されることもある。このホスト装置1は、
データ処理の実行に必要となる処理情報を収集する収集
手段10と、収集手段10の収集する処理情報を格納す
る格納手段11と、端末装置2からデータ処理の依頼を
受け取るときに、処理済でない処理情報(処理済となる
か否かは端末装置2が決める)であることを条件にし
て、格納手段11に格納される処理情報を使ってデータ
処理を実行して、その結果を依頼元の端末装置2に送出
する実行手段12とを備える。
In FIG. 1, 1 is a host device and 2 is a terminal device of the present invention connected to the host device 1. Terminal device 2
May be prepared in plural. This host device 1
When a data processing request is received from the collecting unit 10 that collects the processing information necessary for executing the data processing, the storage unit 11 that stores the processing information collected by the collecting unit 10, and the data processing request is received from the terminal device 2. Data processing is executed by using the processing information stored in the storage means 11 on condition that the processing information (whether or not the processing has been completed is determined by the terminal device 2), and the result is processed by the requester. The execution means 12 for sending to the terminal device 2 is provided.

【0011】一方、端末装置2は、ホスト装置1にデー
タ処理を依頼する依頼手段20と、ホスト装置1から周
期的に処理情報及び処理済情報を取り込む取込手段21
と、取込手段21の取り込む処理情報及び処理済情報を
保持する保持手段22と、保持手段22の保持する処理
情報を検索する検索手段23と、ホスト装置1のデータ
処理を代行する代行手段24と、代行手段24の代行処
理に応答して処理済となる処理情報を記憶する記憶手段
25と、記憶手段25の記憶する処理情報をホスト装置
1に通知する通知手段26とを備える。
On the other hand, the terminal device 2 has a requesting means 20 for requesting data processing to the host device 1, and a fetching means 21 for periodically fetching process information and processed information from the host device 1.
A holding means 22 for holding the processing information and processed information taken in by the taking means 21; a searching means 23 for searching the processing information held by the holding means 22; and a proxy means 24 for acting the data processing of the host device 1. And a storage unit 25 for storing processing information that has been processed in response to the proxy processing of the proxy unit 24, and a notification unit 26 for notifying the host device 1 of the processing information stored by the storage unit 25.

【0012】図2中、3は本発明のデータ処理システム
を構成するホスト装置、4は本発明のデータ処理システ
ムを構成する端末装置、5はホスト装置3と端末装置4
とを接続する制御線である。
In FIG. 2, 3 is a host device that constitutes the data processing system of the present invention, 4 is a terminal device that constitutes the data processing system of the present invention, and 5 is a host device 3 and a terminal device 4.
It is a control line that connects with.

【0013】このホスト装置3は、端末装置4に対して
処理コマンドを発行する処理コマンド発行手段30と、
処理コマンドが発行されない間、規定の時間間隔に従っ
て、端末装置4に対して処理依頼を指示しないポーリン
グコマンドを発行するポーリングコマンド発行手段31
とを備える。
The host device 3 includes processing command issuing means 30 for issuing a processing command to the terminal device 4,
While the processing command is not issued, the polling command issuing means 31 issues a polling command that does not instruct the terminal device 4 to perform a processing request at a prescribed time interval.
With.

【0014】一方、端末装置4は、ホスト装置3の指示
に従う動作を実行するオンラインモード実行手段40
と、ホスト装置3と切り離された動作を実行するオフラ
インモード実行手段41と、システム障害の発生を検出
するとともに、システム復旧を検出する検出手段42
と、検出手段42がシステム障害を検出するときに、オ
フラインモード実行手段41を起動するとともに、検出
手段42がシステム復旧を検出するときに、オンライン
モード実行手段40を起動する指示手段43と、オフラ
インモード実行手段41の実行する処理情報を記憶する
記憶手段44と、記憶手段44の記憶する処理情報をホ
スト装置3に通知する通知手段45とを備える。
On the other hand, the terminal device 4 executes the online mode executing means 40 for executing the operation according to the instruction from the host device 3.
An offline mode executing means 41 for executing an operation separated from the host device 3, and a detecting means 42 for detecting occurrence of a system failure and detecting system recovery.
When the detection means 42 detects a system failure, the offline mode execution means 41 is activated, and when the detection means 42 detects the system recovery, the instruction means 43 for activating the online mode execution means 40 and the offline mode. The storage unit 44 stores the processing information executed by the mode execution unit 41, and the notification unit 45 that notifies the host device 3 of the processing information stored in the storage unit 44.

【0015】[0015]

【作用】図1に原理構成を図示する本発明の端末装置2
では、取込手段21は、ホスト装置1から周期的に処理
情報及び処理済情報を取り込んで保持手段22に保持し
ておく。そして、依頼手段20が、ホスト装置1からデ
ータ処理依頼に対しての応答がないことでシステム障害
(ホスト装置1の障害や、ホスト装置1と端末装置2と
を接続するネットワークの障害)の発生を検出すると、
検索手段23は、保持手段22の保持する処理情報の中
から、そのデータ処理で用いられる処理情報を検索し、
この検索結果を受けて、代行手段24は、その検索され
た処理情報が処理済でないことを条件にして、その検索
された処理情報を使って、ホスト装置1のデータ処理を
代行する。
The terminal device 2 of the present invention whose principle configuration is shown in FIG.
Then, the fetching means 21 periodically fetches the processing information and the processed information from the host device 1 and holds them in the holding means 22. Then, the requesting means 20 causes a system failure (a failure of the host apparatus 1 or a failure of the network connecting the host apparatus 1 and the terminal apparatus 2) due to no response to the data processing request from the host apparatus 1. Is detected,
The search means 23 searches the processing information held by the holding means 22 for the processing information used in the data processing,
In response to the search result, the proxy unit 24 performs the data processing of the host device 1 by using the searched processing information on condition that the searched processing information has not been processed.

【0016】そして、記憶手段25は、代行手段24の
代行処理に応答して処理済となる処理情報を記憶し、通
知手段26は、システム復旧時に、記憶手段25の記憶
する処理情報を処理済になったものとしてホスト装置1
に通知する。
The storage means 25 stores the processing information which has been processed in response to the proxy processing of the proxy means 24, and the notification means 26 has processed the processing information stored in the storage means 25 at the time of system restoration. Host device 1
To notify.

【0017】このように、図1に原理構成を図示する本
発明の端末装置2では、ホスト装置1の収集する処理情
報を取り込んでおき、システム障害時に、未処理である
ことを条件にして、その処理情報を使ってホスト装置1
のデータ処理を代行するとともに、システム復旧時に、
代行処理により処理済となった処理情報をホスト装置1
に通知していくことで、システム復旧後に、その代行処
理により処理済となった処理情報を使ってデータ処理が
再度実行されないようにする構成を採ることから、シス
テム障害時にもデータ処理を続行できるとともに、その
ときに実行するデータ処理の再実行を防止できるように
なる。
As described above, in the terminal device 2 of the present invention whose principle configuration is shown in FIG. 1, the processing information collected by the host device 1 is fetched, and it is unprocessed at the time of system failure. Host device 1 using the processing information
On behalf of the data processing of the
The processing information that has been processed by the proxy processing is sent to the host device 1
By sending a notification to the system, after the system is restored, the data processing will not be executed again by using the processing information that has been processed by the proxy processing, so that the data processing can be continued even when the system fails. At the same time, it becomes possible to prevent re-execution of the data processing executed at that time.

【0018】図2に原理構成を図示する本発明のデータ
処理システムでは、ホスト装置3のポーリングコマンド
発行手段31は、処理コマンド発行手段30により処理
コマンドが発行されない間、規定の時間間隔に従って、
端末装置4に対して処理依頼を指示しないポーリングコ
マンドを発行する。
In the data processing system of the present invention whose principle configuration is shown in FIG. 2, the polling command issuing means 31 of the host device 3 operates according to a prescribed time interval while the processing command issuing means 30 issues no processing command.
A polling command that does not instruct the terminal device 4 to issue a processing request is issued.

【0019】一方、端末装置4の検出手段42は、制御
線5の制御信号により知ることのできるホスト装置1の
状態情報を監視することで、システム障害(ホスト装置
3や制御線5の障害)の発生とその復旧を検出するとと
もに、ホスト装置3から送られてくるコマンドの有無を
監視することで、システム障害の発生とその復旧を検出
する。
On the other hand, the detection means 42 of the terminal device 4 monitors the status information of the host device 1 which can be known by the control signal of the control line 5, thereby causing a system failure (failure of the host device 3 or the control line 5). The occurrence of a system failure and its recovery are detected by monitoring the presence or absence of a command sent from the host device 3 and detecting the occurrence and recovery thereof.

【0020】この検出結果を受けて、指示手段43は、
システム障害の発生が検出されると、オフラインモード
実行手段41を起動することでホスト装置3と切り離さ
れて動作するオフラインモードへの移行を指示するとと
もに、システム復旧が検出されると、オンラインモード
実行手段40を起動することでホスト装置3の指示に従
って動作するオンラインモードへの移行を指示する。そ
して、記憶手段44は、オフラインモード実行手段41
の実行する処理情報を記憶し、通知手段45は、システ
ム復旧時に、記憶手段44の記憶する処理情報をホスト
装置3に通知する。
In response to this detection result, the instruction means 43 is
When the occurrence of a system failure is detected, the offline mode execution means 41 is activated to instruct the shift to the offline mode that operates separately from the host device 3, and when the system recovery is detected, the online mode execution is performed. By activating the means 40, a transition to an online mode that operates according to the instruction of the host device 3 is instructed. The storage means 44 stores the offline mode execution means 41.
Processing information to be executed by the storage unit 44, and the notification unit 45 notifies the host device 3 of the processing information stored in the storage unit 44 when the system is restored.

【0021】このように、図2に原理構成を図示する本
発明のデータ処理システムの端末装置4では、システム
に障害が発生すると、自動的にオフラインモードに入っ
て可能な限りの処理を実行するとともに、システムが復
旧すると、自動的にオンラインモードに入って正規の処
理を実行し、更にこのとき、オフラインモードで実行し
た処理情報をホスト装置3に通知することで処理の整合
性を保つようにする構成を採ることから、システム障害
時にも可能な限りの処理を続行できるとともに、そのと
きに実行する処理の整合性を保てるようになる。
As described above, in the terminal device 4 of the data processing system of the present invention, the principle configuration of which is shown in FIG. 2, when a failure occurs in the system, the system automatically enters the off-line mode and executes as much processing as possible. At the same time, when the system is restored, the online mode is automatically entered to execute regular processing, and at this time, the processing information executed in the offline mode is notified to the host device 3 so that the processing consistency is maintained. By adopting the configuration described above, it is possible to continue the processing as much as possible even when the system fails, and to maintain the consistency of the processing executed at that time.

【0022】[0022]

【実施例】以下、パチンコ店の景品交換システムに適用
した実施例に従って本発明を詳細に説明する。
EXAMPLES The present invention will be described in detail below with reference to examples applied to a prize exchange system of a pachinko parlor.

【0023】図3に、パチンコ店の景品交換システムの
システム構成を図示する。この図に示すように、パチン
コ店の景品交換システムは、店内各所に設けられ、景品
交換のパチンコ玉数を計数し、それをPETカード51
に記録して出力する景品発券機50と、景品発券機50
の発行したPETカード51の記録データを通信回線を
通して収集して、店の営業管理を実行するとともに、景
品交換の正当性のチェック処理を実行する管理サーバ5
2と、店内のカウンタに1つ又は複数設けられ、お客の
持参したPETカード51の記録データを読み取るPE
Tカードリーダライタ装置53と、PETカードリーダ
ライタ装置53に対応付けて設けられ、管理サーバ52
と接続されて景品交換業務を行う景品交換業務用端末装
置54とから構成される。
FIG. 3 shows a system configuration of a prize exchange system of a pachinko parlor. As shown in this figure, the prize exchange system of a pachinko parlor is installed in various places in the store, counts the number of pachinko balls for the prize exchange, and uses it for the PET card 51.
And ticket issuing machine 50 for recording and outputting the
The management server 5 that collects the recorded data of the PET card 51 issued by the company through the communication line to manage the business of the store and to check the validity of the gift exchange.
2 and one or a plurality of counters in the store to read the recorded data of the PET card 51 brought by the customer
The management server 52 is provided in association with the T card reader / writer device 53 and the PET card reader / writer device 53.
And a gift exchange business terminal device 54 that is connected to the terminal to perform the prize exchange business.

【0024】この景品発券機50の発行するPETカー
ド51は、図4(a)に示すように、その表面に熱記録
形式の表示部を備えて、そこに景品交換のパチンコ玉数
や発行日を記録することで、お客に景品交換のパチンコ
玉数を知らせるとともに、図4(b)に示すように、そ
の裏面に磁気記録部を備えて、そこにカードIDや景品
交換のパチンコ玉数や発行日を記録することで、景品交
換の正当性のチェック処理を実現する構成を採るもので
ある。
As shown in FIG. 4 (a), the PET card 51 issued by the prize ticket issuing machine 50 is provided with a heat recording type display portion on the surface thereof, and the number of pachinko balls for the exchange of prizes and the issue date. By recording, the customer is informed of the number of pachinko balls for prize exchange, and as shown in FIG. 4 (b), a magnetic recording unit is provided on the back side thereof, where the card ID and the number of pachinko balls for prize exchange are provided. By recording the date of issue, the configuration for implementing the process of checking the validity of the prize exchange is adopted.

【0025】最初に、図1に原理構成を図示した本発明
について実施例に従って詳細に説明する。図5に、この
本発明を実現すべく景品発券機50が実行する処理フロ
ーの一実施例、図6ないし図8に、この本発明を実現す
べく景品交換業務用端末装置54が実行する処理フロー
の一実施例、図9に、この本発明を実現すべく管理サー
バ52が実行する処理フローの一実施例を図示する。
First, the present invention whose principle configuration is shown in FIG. 1 will be described in detail according to an embodiment. FIG. 5 shows an embodiment of a processing flow executed by the prize ticket issuing machine 50 to realize the present invention, and FIGS. 6 to 8 show processing executed by the prize exchange business terminal device 54 to realize the present invention. An example of a flow, FIG. 9 illustrates an example of a processing flow executed by the management server 52 in order to realize the present invention.

【0026】景品発券機50は、お客が景品交換のパチ
ンコ玉を持参すると、図5の処理フローに示すように、
先ず最初に、ステップ1で、そのパチンコ玉数を計数
し、続いて、ステップ2で、その計数値と発行日と発行
するカードIDを管理サーバ52に通知し、最後に、ス
テップ3で、それらのデータを記録するPETカード5
1を発行して処理を終了する。
When the customer brings a pachinko ball for gift exchange, the ticket issuing machine 50, as shown in the processing flow of FIG.
First, in step 1, the number of pachinko balls is counted, then in step 2, the count value, the issue date, and the card ID to be issued are notified to the management server 52, and finally, in step 3, Card 5 for recording data
1 is issued and the process ends.

【0027】一方、景品交換業務用端末装置54は、規
定の周期に達すると、図6の処理フローに示すように、
先ず最初に、ステップ1で、管理サーバ52に対して、
前回の周期から今回の周期までの間に管理サーバ52の
収集したPETカード51の記録データと、その間に景
品交換済となったPETカード51のカードID情報の
取得要求を発行し、続いて、ステップ2で、その発行に
応答して送られてくるカードデータ(新たに収集された
PETカード51の記録データと、新たに景品交換済と
なったPETカード51のカードID)を受信し、続い
て、ステップ3で、その受信したカードデータを保持す
る。
On the other hand, when the prize exchanging business terminal device 54 reaches the prescribed period, as shown in the processing flow of FIG.
First, in step 1, with respect to the management server 52,
From the previous cycle to the current cycle, the record data of the PET card 51 collected by the management server 52 and the request to acquire the card ID information of the PET card 51 whose prize has been exchanged during that period are issued. In step 2, the card data (the record data of the newly collected PET card 51 and the card ID of the newly exchanged PET card 51) sent in response to the issuance is received. Then, in step 3, the received card data is held.

【0028】このように、本発明を実装する場合、景品
交換業務用端末装置54は、管理サーバ52の収集する
PETカード51の記録データと、そのPETカード5
1が景品交換済となったのか否かを取得していくように
処理するのである。
As described above, when the present invention is implemented, the gift exchange business terminal device 54 records the recorded data of the PET card 51 collected by the management server 52 and the PET card 5 thereof.
It is processed so as to acquire whether or not 1 has been exchanged for the free gift.

【0029】そして、景品交換業務用端末装置54は、
お客がPETカード51を持参すると、図7の処理フロ
ーに示すように、先ず最初に、ステップ1で、PETカ
ードリーダライタ装置53を制御することでそのPET
カード51の磁気記録部に記録される記録データを読み
取ってディスプレイに表示することで、オペレータに景
品交換のパチンコ玉数を通知し、続いて、ステップ2
で、管理サーバ52に対して、読み取った記録データの
正当性のチェック処理を発行する。すなわち、管理サー
バ52に対して、持参されたPETカード51が正当な
カードであるのか否かのチェック処理を要求するのであ
る。
The prize exchange business terminal device 54 is
When the customer brings the PET card 51, as shown in the processing flow of FIG. 7, first, in step 1, by controlling the PET card reader / writer device 53, the PET card 51
By reading the record data recorded in the magnetic recording unit of the card 51 and displaying the record data on the display, the operator is notified of the number of pachinko balls for prize exchange, and then step 2
Then, the processing for checking the validity of the read recording data is issued to the management server 52. That is, the management server 52 is requested to check whether or not the brought PET card 51 is a valid card.

【0030】続いて、ステップ3で、発行したチェック
要求に対しての応答があるのか否かを判断して、応答が
あることを判断するときには、ステップ4に進んで、そ
の応答が景品交換済応答/未発行カード応答であるの
か、カードの正当不当を示すチェック応答であるのかを
判断する。この判断処理により、景品交換済応答である
ことを判断するときには、お客の持参したPETカード
51が景品交換済であるので、ディスプレイにその旨を
表示してそのまま処理を終了し、また、未発行カード応
答であることを判断するときには、お客の持参したPE
Tカード51が自店のものでないので、ディスプレイに
その旨を表示してそのまま処理を終了する。
Subsequently, in step 3, it is determined whether or not there is a response to the issued check request. When it is determined that there is a response, the process proceeds to step 4, and the response is that the prize has been exchanged. It is determined whether it is a response / unissued card response or a check response indicating the validity of the card. When it is determined by this determination process that the response is a free gift exchange, since the PET card 51 brought by the customer has been free gift exchange, the fact is displayed on the display, and the process is terminated as it is. When you judge that it is a card response, PE brought by the customer
Since the T card 51 is not for the own store, the fact is displayed on the display, and the process is terminated.

【0031】一方、チェック応答であることを判断する
ときには、ステップ5に進んで、そのチェック応答が不
正なPETカード51(景品交換のパチンコ玉数が管理
サーバ52に登録されているものと異なるカード)を示
しているのか否かを判断して、不正なPETカード51
を示していることを判断するときには、ディスプレイに
その旨を表示してそのまま処理を終了し、正当なPET
カード51を示していることを判断するときには、ステ
ップ6に進んで、オペレータと対話することで景品交換
の精算処理を実行し、続くステップ7で、管理サーバ5
2に対して、そのPETカード51については精算処理
が終了したこと(景品交換済となったこと)を通知して
処理を終了する。
On the other hand, when it is determined that the check response is received, the process proceeds to step 5 and the check response is incorrect and the PET card 51 (the number of pachinko balls for prize exchange is different from the one registered in the management server 52). ) Is indicated, and the unauthorized PET card 51
When it is determined that the valid PET is displayed,
When it is determined that the card 51 is shown, the process proceeds to step 6 and the settlement process of the prize exchange is executed by interacting with the operator, and in the subsequent step 7, the management server 5
2 is notified that the settlement processing has been completed for the PET card 51 (the prize has been exchanged), and the processing is completed.

【0032】一方、ステップ3でチェック要求に対して
の応答がないことを判断するときには、ステップ8に進
んで、図6の処理フローの実行により取り込んだPET
カード51の記録データの中に、ステップ1で読み取っ
たPETカード51の記録データが含まれているのか否
かを判断するとともに、含まれているときには、景品交
換済であるのか否かということと、景品交換済でないと
きには、その検索したPETカード51の記録データの
パチンコ玉数と、ステップ1で読み取った記録データの
パチンコ玉数とが一致するのか否かということを判断す
る。すなわち、管理サーバ52に代わって、持参された
PETカード51の正当性のチェック処理を実行するの
である。
On the other hand, when it is determined in step 3 that there is no response to the check request, the process proceeds to step 8 and the PET captured by executing the processing flow of FIG. 6 is executed.
It is determined whether or not the recorded data of the PET card 51 read in step 1 is included in the recorded data of the card 51, and when the recorded data of the PET card 51 is included, it is determined whether or not the prize has been exchanged. When the prize exchange has not been completed, it is determined whether or not the number of pachinko balls in the retrieved recording data of the PET card 51 matches the number of pachinko balls in the recording data read in step 1. That is, instead of the management server 52, the processing for checking the validity of the brought PET card 51 is executed.

【0033】続いて、ステップ9で、ステップ8での判
断処理により景品交換済/未発行カードの結果が得られ
たのか否かを判断して、景品交換済/未発行カードであ
ることを判断するときには、ディスプレイにその旨を表
示してそのまま処理を終了する。続いて、ステップ10
で、ステップ8でのチェック処理により不正なしのチェ
ック結果が得られたのか否かを判断して、不正なPET
カード51であることを判断するときには、ディスプレ
イにその旨を表示してそのまま処理を終了し、正当なP
ETカード51であることを判断するときには、ステッ
プ11に進んで、オペレータと対話することで景品交換
の精算処理を実行し、続くステップ12で、その精算処
理の終了したPETカード51のカードIDを記録保持
して処理を終了する。
Subsequently, in step 9, it is judged whether or not the result of the gift exchanged / unissued card is obtained by the judgment processing in step 8, and it is judged that the gift exchanged / unissued card is obtained. When doing so, a message to that effect is displayed on the display, and the processing ends. Then, step 10
Then, it is judged whether or not a check result without any injustice has been obtained by the check processing in step 8, and an invalid PET is obtained.
When determining that it is the card 51, a message to that effect is displayed on the display, the processing is terminated, and a valid P
When it is determined that it is the ET card 51, the process proceeds to step 11 to execute the payment process of the prize exchange by interacting with the operator, and in the following step 12, the card ID of the PET card 51 for which the payment process is completed is set. The record is retained, and the process ends.

【0034】このように、本発明を実装する場合、景品
交換業務用端末装置54は、システム障害が発生してい
るときには、管理サーバ52から取得した未景品交換の
PETカード51の記録データを使い、管理サーバ52
に代わって、持参されたPETカード51が正当なもの
であるのか否かをチェックしていくように処理するので
ある。
As described above, when the present invention is implemented, the gift exchange business terminal device 54 uses the recorded data of the PET card 51 for which the gift is not exchanged, which is acquired from the management server 52, when a system failure occurs. , Management server 52
Instead of, the processing is performed so as to check whether or not the brought PET card 51 is valid.

【0035】そして、景品交換業務用端末装置54は、
システムが復旧すると、図8の処理フローに示すよう
に、先ず最初に、ステップ1で、精算処理の終了したP
ETカード51のカードIDを記録保持しているのか否
かを判断して、保持していないことを判断するときに
は、そのまま処理を終了し、保持していることを判断す
るときには、ステップ2に進んで、管理サーバ52に対
して、そのPETカード51については景品交換が終了
したことを通知して処理を終了する。
The prize exchange business terminal device 54 is
When the system is restored, as shown in the processing flow of FIG. 8, first, in step 1, the payment processing P is completed.
When it is judged whether or not the card ID of the ET card 51 is recorded and held, and when it is judged that the card ID is not held, the processing is ended as it is, and when it is judged that the card ID is held, the routine proceeds to step 2. Then, the management server 52 is notified that the prize exchange has been completed for the PET card 51, and the processing ends.

【0036】このように、本発明を実装する場合、景品
交換業務用端末装置54は、システムが復旧するとき
に、自分がチェック処理を代行することで景品交換済と
なったPETカード51があるときには、管理サーバ5
2に対してその旨を通知していくことで、システム復旧
後に発生する不当な景品交換要求を排除していくように
処理するのである。
As described above, in the case of implementing the present invention, the prize exchange business terminal device 54 has the PET card 51 which has been exchanged for the prize by itself performing the check process when the system is restored. Sometimes the management server 5
By notifying 2 to that effect, processing is performed so as to eliminate an unjust prize exchange request that occurs after the system is restored.

【0037】一方、管理サーバ52は、景品発券機50
や景品交換業務用端末装置54からのデータを受信する
と、図9の処理フローに示すように、先ず最初に、ステ
ップ1で、その受信データが景品交換業務用端末装置5
4からのものであるのか否かを判断して、景品交換業務
用端末装置54からのものでないことを判断するとき、
すなわち、景品発券機50から送られてくるPETカー
ド51の記録データであることを判断するときには、ス
テップ2に進んで、それをファイルに格納していく。
On the other hand, the management server 52 uses the premium ticket issuing machine 50.
When receiving data from the terminal device 54 for gift exchange business, as shown in the processing flow of FIG. 9, first, in step 1, the received data is the terminal device 5 for premium exchange business.
4 to determine whether it is not from the prize exchange business terminal device 54,
That is, when it is determined that the data is the recorded data of the PET card 51 sent from the premium ticket issuing machine 50, the process proceeds to step 2 to store it in a file.

【0038】これとは反対に、ステップ1で景品交換業
務用端末装置54からのものであることを判断すると
き、すなわち、景品交換業務用端末装置54から送られ
てくるチェック要求か精算通知かカードデータ要求のい
ずれかであることを判断するときには、ステップ3に進
んで、それがチェック要求であるのか否かを判断する。
この判断処理によりチェック要求であることを判断する
ときには、ステップ4に進んで、チェック要求のあるP
ETカード51の記録データがファイルに登録されてい
るか否かを検索して、登録されていることを判断すると
きには、その検索したPETカード51が景品交換済で
なく、しかも、その検索した記録データのパチンコ玉数
がチェック要求のあるPETカード51の記録するもの
と一致するのか否かということを判断することで、チェ
ック要求のあるPETカード51の正当性のチェック処
理を実行し、続くステップ5で、そのチェック結果をチ
ェック要求元の景品交換業務用端末装置54に返答して
処理を終了する。
On the contrary, when it is judged in step 1 that it is from the premium exchange business terminal device 54, that is, whether it is a check request or a settlement notification sent from the premium exchange business terminal device 54. When it is determined that the request is a card data request, the process proceeds to step 3 to determine whether the request is a check request.
When it is determined by this determination process that the request is a check request, the process proceeds to step 4 and P
When it is determined whether or not the recorded data of the ET card 51 is registered in the file and it is determined that it is registered, the searched PET card 51 has not been exchanged for a free gift, and the searched recorded data is not recorded. By checking whether or not the number of pachinko balls of No. 1 matches the number recorded in the PET card 51 having the check request, the validity checking process of the PET card 51 having the check request is executed, and the following step 5 Then, the result of the check is returned to the free gift exchange business terminal device 54 which is the source of the check request, and the process is terminated.

【0039】一方、ステップ3で景品交換業務用端末装
置54から送られてくるものがチェック要求でないこと
を判断するとき、すなわち、精算通知かカードデータ要
求のいずれかであることを判断するときには、ステップ
6に進んで、それが精算通知であるのか否かを判断し
て、精算通知であることを判断するときには、ステップ
7に進んで、その精算通知で通知されるPETカード5
1を今後のチェック処理の対象から除外してから処理を
終了する。一方、精算通知でないことを判断するとき、
すなわち、図6の処理フローに従って発行されるカード
データ要求であることを判断するときには、ステップ8
に進んで、前回の返答から今回の返答までの間に景品発
券機50から収集したPETカード51の記録データ
と、その間に景品交換済となったPETカード51のカ
ードIDを要求元の景品交換業務用端末装置54に返答
して処理を終了する。
On the other hand, when it is determined in step 3 that the item sent from the prize exchange terminal device 54 is not a check request, that is, when it is determined that it is either a settlement notification or a card data request, When it is judged in step 6 whether or not it is a settlement notification, and when it is judged that it is a settlement notification, it proceeds to step 7 and the PET card 5 notified by the settlement notification.
The process is ended after 1 is excluded from the target of the future check process. On the other hand, when determining that it is not a settlement notification,
That is, when it is determined that the card data request is issued according to the processing flow of FIG.
Proceeding to step 2, the record data of the PET card 51 collected from the premium ticket issuing machine 50 between the previous response and the current response, and the card ID of the PET card 51 that has been exchanged for the premium in the meantime are exchanged for the requesting premium. The process is ended by replying to the business terminal device 54.

【0040】このようにして、図1に原理構成を図示す
る本発明を実装する景品交換業務用端末装置54では、
管理サーバ52の収集するPETカード51の記録デー
タを取り込んでおき、システム障害時に、景品交換済で
ないことを条件にして、その記録データを使って管理サ
ーバ52の実行するチェック処理を代行するとともに、
システム復旧時に、代行処理により景品交換済となった
PETカード51を管理サーバ52に通知していくこと
で、システム復旧後に、景品交換の終了したPETカー
ド51の記録データを使って再度の精算処理が実行され
ないようにする構成を採ることから、システム障害時に
もPETカード51のチェック処理を続行できるととも
に、そのときに終了する景品交換の再実行を防止できる
ようになる。
In this way, the prize exchange business terminal device 54 for implementing the present invention whose principle configuration is shown in FIG.
Recorded data of the PET card 51 collected by the management server 52 is taken in, and when the system fails, the check process executed by the management server 52 is performed on the condition that the prize has not been exchanged.
By notifying the management server 52 of the PET card 51 whose prize has been exchanged by the substitute process at the time of system restoration, after the system restoration, the settlement data is re-executed using the recorded data of the PET card 51 whose prize exchange has been completed. By adopting a configuration in which the check is not executed, it is possible to continue the check processing of the PET card 51 even in the case of a system failure and prevent the re-execution of the free gift exchange that ends at that time.

【0041】次に、図2に原理構成を図示した本発明に
ついて実施例に従って詳細に説明する。図10に、この
本発明を実現すべく景品交換業務用端末装置54が実行
する処理フローの一実施例、図11に、この本発明を実
現すべくPETカードリーダライタ装置53が実行する
処理フローの一実施例を図示する。
Next, the present invention whose principle configuration is shown in FIG. 2 will be described in detail according to an embodiment. FIG. 10 shows an example of a processing flow executed by the gift exchange business terminal device 54 to realize the present invention, and FIG. 11 shows a processing flow executed by the PET card reader / writer device 53 to realize the present invention. 1 illustrates an example.

【0042】景品交換業務用端末装置54は、処理に入
ると、図10の処理フローに示すように、先ず最初に、
ステップ1で、オペレータから処理終了指示が発行され
たの否かを判断して、処理終了指示が発行されたことを
判断するときには処理を終了し、発行されないことを判
断するときには、ステップ2に進んで、PETカードリ
ーダライタ装置53に対しての処理コマンドの発行指示
があるのか否かを判断する。景品交換業務用端末装置5
4は、オペレータの指示に従って、PETカードリーダ
ライタ装置53に対して、PETカード51の記録デー
タの読み取りを指示したり、そのPETカード51の再
生利用を図るべく記録データの消去を指示したり、その
PETカード51に必要なサービス情報の記録を指示し
たりするので、その指示に対応する処理コマンドの発行
指示があるのか否かを判断するのである。
When the free gift exchange terminal device 54 enters the process, as shown in the process flow of FIG.
In step 1, it is judged whether or not the processing end instruction is issued by the operator, and when it is judged that the processing end instruction is issued, the processing is ended, and when it is judged that it is not issued, the processing proceeds to step 2. Then, it is determined whether or not there is an instruction to issue a processing command to the PET card reader / writer device 53. Terminal device 5 for gift exchange business
4 instructs the PET card reader / writer device 53 to read the recorded data of the PET card 51, or instructs the PET card reader / writer device 53 to erase the recorded data in order to reproduce and use the PET card 51, in accordance with the instruction of the operator. Since the PET card 51 is instructed to record necessary service information, it is determined whether or not there is an instruction to issue a processing command corresponding to the instruction.

【0043】このステップ2で処理コマンドの発行指示
があることを判断するときには、ステップ3に進んで、
その処理コマンドをPETカードリーダライタ装置53
に対して発行してから、ステップ4に進んで、前回のコ
マンド発行から規定時間経過したのか否かを判断し、一
方、ステップ2で処理コマンドの発行指示がないことを
判断するときには、直ちにステップ4に進んで、前回の
コマンド発行から規定時間経過したのか否かを判断す
る。
When it is determined in step 2 that there is an instruction to issue a processing command, the process proceeds to step 3,
The processing command is sent to the PET card reader / writer device 53.
After issuing the command, the process proceeds to step 4, and it is determined whether or not a prescribed time has elapsed since the previous command was issued. On the other hand, when it is determined in step 2 that the processing command is not issued, the step is immediately executed. In step 4, it is determined whether the specified time has passed since the last command was issued.

【0044】そして、このステップ4で規定時間が経過
していないことを判断するときには、そのままステップ
1に戻り、規定時間が経過したことを判断するときに
は、ステップ5に進んで、PETカードリーダライタ装
置53に対して、処理を要求しない短いデータ長のポー
リングコマンドを発行し、続くステップ6で、そのポー
リングコマンドに対しての応答を受け取ることで、PE
Tカードリーダライタ装置53の正常・異常を判断する
と、その旨をディスプレイに表示してからステップ1に
戻っていく。
When it is determined in step 4 that the specified time has not elapsed, the process directly returns to step 1. When it is determined that the specified time has elapsed, the process proceeds to step 5 and the PET card reader / writer device A polling command having a short data length that does not require processing is issued to 53, and in step 6 that follows, a response to the polling command is received.
If the T-card reader / writer device 53 is judged to be normal or abnormal, the fact is displayed on the display, and the process returns to step 1.

【0045】このように、本発明を実装する場合、景品
交換業務用端末装置54は、正常状態にあるときには、
図12に示すように、前回のコマンド発行から規定の時
間内に、処理コマンドかポリーングコマンドを発行して
いくように処理するのである。
As described above, when the present invention is implemented, when the prize exchange business terminal device 54 is in the normal state,
As shown in FIG. 12, processing is performed such that a processing command or a polling command is issued within a prescribed time from the previous command issuance.

【0046】一方、PETカードリーダライタ装置53
は、処理に入ると、図11の処理フローに示すように、
先ず最初に、ステップ1で、景品交換業務用端末装置5
4から処理終了指示が発行されたのか否かを判断して、
処理終了指示が発行されたことを判断するときには処理
を終了し、発行されないことを判断するときには、ステ
ップ2に進んで、景品交換業務用端末装置54からのコ
マンドを受信したのか否かを判断する。
On the other hand, a PET card reader / writer device 53
Enters the process, as shown in the process flow of FIG.
First, in step 1, the terminal device 5 for the prize exchange business
Judging whether or not the processing end instruction is issued from 4,
When it is determined that the processing end instruction has been issued, the processing is terminated, and when it is determined that the instruction has not been issued, the process proceeds to step 2 to determine whether or not a command from the premium exchange business terminal device 54 has been received. .

【0047】このステップ2でコマンド受信を判断する
ときには、ステップ3に進んで、受信したコマンドの指
す処理を実行してからステップ1に戻る。すなわち、景
品交換業務用端末装置54からの指示に従って動作する
オンラインモードに従って、受信したコマンドの指す処
理を実行するのである。一方、ステップ2でコマンド受
信を判断しないときには、ステップ4に進んで、景品交
換業務用端末装置54との接続に用いられるRSー23
2Cの持つDR信号を参照することで、景品交換業務用
端末装置54が異常であるのか否かを判断する。すなわ
ち、図13に示すように、景品交換業務用端末装置54
とPETカードリーダライタ装置53とは、RSー23
2Cのインタフェースで接続されていることから、それ
が持つDR信号を参照することで、景品交換業務用端末
装置54が異常であるのか否かを判断するのである。
When it is determined in step 2 that the command is received, the process proceeds to step 3, the process indicated by the received command is executed, and then the process returns to step 1. That is, the processing indicated by the received command is executed according to the online mode that operates according to the instruction from the prize exchange business terminal device 54. On the other hand, when the command reception is not determined in step 2, the process proceeds to step 4 and the RS-23 used for connection with the premium exchange business terminal device 54.
By referring to the DR signal of 2C, it is determined whether or not the prize exchange business terminal device 54 is abnormal. That is, as shown in FIG.
RS-23 and the PET card reader / writer device 53
Since the 2C interface is used for the connection, it is determined whether or not the prize exchange business terminal device 54 is abnormal by referring to the DR signal of the interface.

【0048】このステップ4でDR信号が正常状態を表
示していることを判断するときには、ステップ5に進ん
で、景品交換業務用端末装置54のプログラムが暴走し
ているのか否かを調べるべく、前回のコマンド受信から
規定時間経過したのか否かを判断して、規定時間が経過
していないことを判断するときには、景品交換業務用端
末装置54が正常であることを判断してステップ1に戻
る。一方、規定時間が経過したことを判断するときと、
ステップ4でDR信号が異常状態を表示していることを
判断するときには、景品交換業務用端末装置54が異常
であることを判断して、ステップ6に進んで、景品交換
業務用端末装置54から切り離されて動作するオフライ
ン動作に入って、オペレータの指示する処理を行う。例
えば、PETカード51の記録データを読み取って、そ
れを自装置の持つ表示部に表示することで景品交換業務
を遂行可能とする処理を行うのである。
When it is determined in step 4 that the DR signal indicates a normal state, the process proceeds to step 5 to check whether or not the program of the premium exchange business terminal device 54 is out of control. When it is determined whether or not the specified time has elapsed since the last command reception, and when it is determined that the specified time has not elapsed, it is determined that the premium exchange business terminal device 54 is normal and the process returns to step 1. . On the other hand, when judging that the specified time has passed,
When it is determined in step 4 that the DR signal indicates an abnormal state, it is determined that the premium exchange business terminal device 54 is abnormal, and the process proceeds to step 6, where the premium exchange business terminal device 54 The operator enters the offline operation, which is disconnected and operates, and performs the processing instructed by the operator. For example, by reading the recorded data of the PET card 51 and displaying it on the display section of the device itself, processing for enabling the prize exchange work can be performed.

【0049】そして、このステップ6でのオフライン動
作中に、ステップ7で、景品交換業務用端末装置54か
らコマンドが送られてくるか否かを監視するとともに、
RR信号が正常状態を表示するようになったのか否かを
監視することで、景品交換業務用端末装置54が正常状
態に復帰したのか否かを監視して、正常状態に復帰した
ことを判断するときには、ステップ8に進んで、景品交
換業務用端末装置54からの指示で動作するオンライン
動作に戻し、続くステップ9で、障害の間に実行した処
理内容を景品交換業務用端末装置54に通知してからス
テップ1に戻る。
During the off-line operation in step 6, it is monitored in step 7 whether or not a command is sent from the prize exchange business terminal device 54.
By monitoring whether or not the RR signal has come to display a normal state, it is monitored whether or not the premium exchange business terminal device 54 has returned to the normal state, and it is determined that the state has returned to the normal state. When doing so, the process proceeds to step 8 to return to the online operation that operates according to the instruction from the premium exchange business terminal device 54, and in the following step 9, the content of the processing executed during the failure is notified to the premium exchange business terminal device 54. Then return to step 1.

【0050】例えば、PETカード51の記録データを
読み取って、それに基づいて景品交換の精算処理を行っ
たときには、景品交換業務用端末装置54に対して、精
算処理の終了したPETカード51を通知していくので
ある。この通知を受け取ると、景品交換業務用端末装置
54は、管理サーバ52に対して、そのPETカード5
1については精算処理が終了したことを通知していくこ
とで、そのPETカード51を使う再度の精算処理が実
行されないようにと制御することになる。
For example, when the recorded data of the PET card 51 is read and the payment process for the prize exchange is performed based on the read data, the terminal device 54 for the prize exchange business is notified of the PET card 51 for which the payment process is completed. It goes. Upon receiving this notification, the free gift exchange business terminal device 54 notifies the management server 52 of the PET card 5
With respect to No. 1, by notifying that the settlement process has been completed, it is controlled so that the settlement process again using the PET card 51 is not executed.

【0051】このようにして、図2に原理構成を図示す
る本発明のデータ処理システムにより構成されるPET
カードリーダライタ装置53は、図14に示すように、
景品交換業務用端末装置54や、景品交換業務用端末装
置54との間の制御線に障害が発生すると、自動的にオ
フラインモードに入って可能な限りの処理を実行すると
ともに、それが復旧すると、自動的にオンラインモード
に戻って正規の処理を実行し、更にこのとき、オフライ
ンモードで実行した処理内容を景品交換業務用端末装置
54に通知することで処理の整合性を保つように処理す
るのである。
In this way, the PET constructed by the data processing system of the present invention whose principle configuration is shown in FIG.
The card reader / writer device 53, as shown in FIG.
When a failure occurs in the free gift exchange business terminal device 54 or the control line between the free gift exchange business terminal device 54 and the free gift exchange business terminal device 54, the system automatically enters the offline mode and executes as much processing as possible, and restores it. , And automatically returns to the online mode to execute the regular process, and at this time, the process contents executed in the offline mode are notified to the prize exchange business terminal device 54 so that the process consistency is maintained. Of.

【0052】そして、自動的にオンラインモードとオフ
ラインモードとの切り換えを実行することから、従来技
術で備えていた切換スイッチを省略できるようになる。
また、景品交換業務用端末装置54の異常を迅速に検出
できるDR信号に従って景品交換業務用端末装置54の
異常を検出するとともに、それでは検出できない異常を
短いデータ長のノーオペレーションのポーリングコマン
ドを使って検出することから、景品交換業務用端末装置
54の異常を正確かつ迅速に検出できるようになる。
Since the online mode and the offline mode are automatically switched, the changeover switch provided in the prior art can be omitted.
Further, an abnormality of the premium exchange business terminal device 54 is detected according to a DR signal capable of quickly detecting an abnormality of the premium exchange business terminal device 54, and an abnormality that cannot be detected by the abnormality is detected by using a no-operation polling command with a short data length. By detecting the abnormality, it becomes possible to accurately and quickly detect the abnormality of the premium exchange business terminal device 54.

【0053】図示実施例に従って本発明を開示したが、
本発明はこれに限定されるものではない。例えば、実施
例では景品交換システムへの適用例に従って本発明を開
示したが、本発明は景品交換システムでの使用に限定さ
れるものではない。
While the invention has been disclosed according to the illustrated embodiments,
The present invention is not limited to this. For example, although the present invention has been disclosed in the embodiments according to the application example to the premium exchange system, the present invention is not limited to use in the premium exchange system.

【0054】また、図2に原理構成を図示した本発明の
実施例では、オフラインモードに入ると、オペレータの
指示に従って処理を実行していく構成を開示したが、本
発明はこれに限定されるものではなくて、例えば、プリ
ンタ等に適用される場合には、オフラインモードに入っ
たことをブザー等で通知するようなことでもよい。
Further, in the embodiment of the present invention whose principle configuration is shown in FIG. 2, the configuration in which the processing is executed according to the instruction of the operator when the offline mode is entered is disclosed, but the present invention is not limited to this. However, when applied to a printer or the like, the buzzer or the like may be used to notify that the offline mode has been entered.

【0055】[0055]

【発明の効果】以上説明したように、本発明の端末装置
では、ホスト装置の収集する処理情報を取り込んでお
き、システム障害時に、未処理であることを条件にし
て、その処理情報を使ってホスト装置のデータ処理を代
行するとともに、システム復旧時に、代行処理により処
理済となった処理情報をホスト装置に通知していくこと
で、システム復旧後に、その代行処理により処理済とな
った処理情報を使ってデータ処理が再度実行されないよ
うにする構成を採ることから、システム障害時にもデー
タ処理を続行できるとともに、そのときに実行するデー
タ処理の再実行を防止できるようになる。これから、景
品交換業務を行うのに好適な端末装置を実現できるよう
になる。
As described above, in the terminal device of the present invention, the processing information collected by the host device is fetched, and when the system failure occurs, the processing information is used on condition that it is unprocessed. By acting on behalf of the data processing of the host device and notifying the host device of the processing information that has been processed by the proxy processing when the system is restored, the processing information that has been processed by the proxy processing after the system is restored Since the data processing is prevented from being re-executed by using, the data processing can be continued even when the system fails, and the re-execution of the data processing executed at that time can be prevented. From now on, it becomes possible to realize a terminal device suitable for performing the prize exchange business.

【0056】そして、本発明のデータ処理システムを構
成する端末装置では、ホスト装置や、ホスト装置と間の
制御線に障害が発生すると、自動的にオフラインモード
に入って可能な限りの処理を実行するとともに、それが
復旧すると、自動的にオンラインモードに入って正規の
処理を実行し、更にこのとき、オフラインモードで実行
した処理情報をホスト装置に通知することで処理の整合
性を保つようにする構成を採ることから、システム障害
時にも可能な限りの処理を続行できるとともに、そのと
きに実行する処理の整合性を保てるようになる。
Then, in the terminal device constituting the data processing system of the present invention, when a failure occurs in the host device or the control line between the host device and the host device, the device automatically enters the offline mode and executes as much processing as possible. At the same time, when it recovers, it automatically enters the online mode and executes regular processing, and at this time, the processing information executed in the offline mode is notified to the host device so that the processing consistency is maintained. By adopting the configuration described above, it is possible to continue the processing as much as possible even when the system fails, and to maintain the consistency of the processing executed at that time.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】景品交換システムのシステム構成図である。FIG. 3 is a system configuration diagram of a prize exchange system.

【図4】PETカードの説明図である。FIG. 4 is an explanatory diagram of a PET card.

【図5】景品発券機の実行する処理フローである。FIG. 5 is a processing flow executed by the premium ticket issuing machine.

【図6】景品交換業務用端末装置の実行する処理フロー
である。
FIG. 6 is a processing flow executed by the premium exchange business terminal device.

【図7】景品交換業務用端末装置の実行する処理フロー
である。
FIG. 7 is a processing flow executed by the premium exchange business terminal device.

【図8】景品交換業務用端末装置の実行する処理フロー
である。
FIG. 8 is a processing flow executed by the premium exchange business terminal device.

【図9】管理サーバの実行する処理フローである。FIG. 9 is a processing flow executed by the management server.

【図10】景品交換業務用端末装置の実行する処理フロ
ーである。
FIG. 10 is a processing flow executed by the premium exchange business terminal device.

【図11】PETカードリーダライタ装置の実行する処
理フローである。
FIG. 11 is a processing flow executed by a PET card reader / writer device.

【図12】ポーリングコマンドの発行処理説明図であ
る。
FIG. 12 is an explanatory diagram of a polling command issuing process.

【図13】RSー232Cインタフェースの説明図であ
る。
FIG. 13 is an explanatory diagram of an RS-232C interface.

【図14】本発明の処理説明図である。FIG. 14 is an explanatory diagram of processing of the present invention.

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

1 ホスト装置 2 端末装置 3 ホスト装置 4 端末装置 5 制御線 10 収集手段 11 格納手段 12 実行手段 20 依頼手段 21 取込手段 22 保持手段 23 検索手段 24 代行手段 25 記憶手段 26 通知手段 30 処理コマンド発行手段 31 ポーリングコマンド発行手段 40 オンラインモード実行手段 41 オフラインモード実行手段 42 検出手段 43 指示手段 44 記憶手段 45 通知手段 1 Host Device 2 Terminal Device 3 Host Device 4 Terminal Device 5 Control Line 10 Collecting Means 11 Storage Means 12 Execution Means 20 Execution Means 20 Request Means 21 Capture Means 22 Holding Means 23 Search Means 24 Proxy Means 25 Storage Means 26 Notification Means 30 Process Command Issuance Means 31 Polling command issuing means 40 Online mode executing means 41 Offline mode executing means 42 Detecting means 43 Instructing means 44 Storage means 45 Notifying means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川端 利郎 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユーソフトウェアラ ボラトリ内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshiro Kawabata 98, Unoki-nu, Unoki-cho, Hebei-gun, Ishikawa Prefecture 2 PFU Software Laboratory Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 景品交換の正当性のチェック処理の実行
に必要となる交換元情報を収集して、景品交換の正当性
のチェック処理の依頼を受け取るときに、景品交換済で
ない交換元情報であることを条件にして、該交換元情報
を使って該チェック処理を実行してその結果を依頼元に
送出するホスト装置に接続されて、該ホスト装置に対し
て、景品交換の正当性のチェック処理依頼を発行すると
ともに、そのチェック依頼処理結果に応答して景品交換
済となる交換元情報を通知するよう処理する景品交換業
務用端末装置において、 ホスト装置から周期的に交換元情報及び景品交換済情報
を取り込む取込手段と、 上記取込手段の取り込む交換元情報及び景品交換済情報
を保持する保持手段と、 システム障害が発生することでホスト装置からチェック
処理依頼に対しての応答がないときに、上記保持手段の
保持する交換元情報の中から、該チェック処理で用いら
れる交換元情報を検索する検索手段と、 上記検索手段が交換元情報を検索するときに、該交換元
情報が景品交換済でないことを条件にして、該交換元情
報を使ってホスト装置のチェック処理を代行する代行手
段と、 上記代行手段のチェック処理に応答して景品交換済とな
る交換元情報を記憶する記憶手段と、 システム復旧時に、上記記憶手段の記憶する交換元情報
をホスト装置に通知する通知手段とを備えることを、 特徴とする景品交換業務用端末装置。
1. When the exchange source information necessary for executing the process for checking the validity of the prize exchange is collected and the request for the process for checking the validity of the prize exchange is received, the exchange source information which has not been exchanged for the prize is used. If there is a certain condition, it is connected to a host device that executes the check process using the exchange source information and sends the result to the request source, and checks the host device for the validity of the prize exchange. Issue a processing request and, in response to the check request processing result, process to notify the exchange source information that the prize has been exchanged. In the gift exchange business terminal device, the source device and the prize exchange are periodically performed from the host device. Means for fetching the registered information, holding means for holding the exchange source information and the free gift exchanged information fetched by the above-mentioned capturing means, and checking from the host device when a system failure occurs When there is no response to the processing request, a search unit that searches the exchange source information used in the check process from the exchange source information held by the holding unit, and the search unit searches the exchange source information. When the exchange source information is not exchanged for the free gift, the exchange means is used to perform the check processing of the host device on behalf of the exchange means, and the exchange of the free gift in response to the check processing of the substitute means. A gift exchange business terminal device, comprising: storage means for storing exchanged source information to be completed, and notification means for notifying the host device of the exchange source information stored in the storage means when the system is restored.
【請求項2】 データ処理の実行に必要となる処理情報
を収集して、データ処理の依頼を受け取るときに、処理
済でない処理情報であることを条件にして、該処理情報
を使って該データ処理を実行してその結果を依頼元に送
出するホスト装置に接続されて、該ホスト装置に対し
て、データ処理依頼を発行するとともに、そのデータ処
理依頼結果に応答して処理済となる処理情報を通知する
よう処理する端末装置において、 ホスト装置から周期的に処理情報及び処理済情報を取り
込む取込手段(21)と、 上記取込手段(21)の取り込む処理情報及び処理済情報を
保持する保持手段(22)と、 システム障害が発生することでホスト装置からデータ処
理依頼に対しての応答がないときに、上記保持手段(22)
の保持する処理情報の中から、該データ処理で用いられ
る処理情報を検索する検索手段(23)と、 上記検索手段(23)が処理情報を検索するときに、該処理
情報が処理済でないことを条件にして、該処理情報を使
ってホスト装置のデータ処理を代行する代行手段(24)と
を備えることを、 特徴とする端末装置。
2. When the processing information necessary for executing the data processing is collected and the processing information is received, the processing information is used on condition that the processing information is not processed yet. Processing information that is connected to a host device that executes processing and sends the result to the request source, issues a data processing request to the host device, and is processed in response to the result of the data processing request In the terminal device which processes so as to notify, the capturing means (21) for periodically capturing the processing information and the processed information from the host device, and the processing information and the processed information captured by the capturing means (21) are held. The holding means (22) and the holding means (22) when there is no response to a data processing request from the host device due to a system failure
Retrieval means (23) for retrieving the processing information used in the data processing from the processing information held by, and that the processing information has not been processed when the retrieval means (23) retrieves the processing information. On the condition that the processing information is used, the terminal device is provided with a proxy unit (24) for proxying the data processing of the host device.
【請求項3】 請求項2記載の端末装置において、 代行手段(24)の代行処理に応答して処理済となる処理情
報を記憶する記憶手段(25)と、 システム復旧時に、上記記憶手段(25)の記憶する処理情
報をホスト装置に通知する通知手段(26)とを備えること
を、 特徴とする端末装置。
3. The terminal device according to claim 2, wherein the storage means (25) stores processing information that has been processed in response to the proxy processing of the proxy means (24), and the storage means (25) when the system is restored. A terminal device characterized by comprising a notifying means (26) for notifying the host device of the processing information stored in (25).
【請求項4】 処理コマンドを発行するホスト装置と、
該ホスト装置に接続され、該処理コマンドの指す処理を
実行する端末装置とから構成されるデータ処理システム
において、 ホスト装置が、 処理コマンドが発行されない間、規定の時間間隔に従っ
て、端末装置に対して処理依頼を指示しないポーリング
コマンドを発行する発行手段(31)を備え、 端末装置が、 ホスト装置の発行する処理コマンド及びポーリングコマ
ンドと、回線を使って通知されるホスト装置の状態情報
とを監視することで、システム障害の発生を検出すると
ともに、システム復旧を検出する検出手段(42)と、 上記検出手段(42)がシステム障害の発生を検出するとき
に、ホスト装置と切り離されて動作するオフラインモー
ドへの移行を指示するとともに、上記検出手段(42)がシ
ステム復旧を検出するときに、該オフラインモードから
ホスト装置の指示に従って動作するオンラインモードへ
の移行を指示する指示手段(43)とを備えることを、 特徴とするデータ処理システム。
4. A host device for issuing a processing command,
In a data processing system including a terminal device that is connected to the host device and executes a process indicated by the process command, the host device sends a message to the terminal device according to a specified time interval while the process command is not issued. The terminal device monitors the processing command and the polling command issued by the host device and the status information of the host device notified by using the line, including the issuing means (31) for issuing the polling command not instructing the processing request. Therefore, the detection means (42) that detects the occurrence of a system failure and also detects the system recovery, and the offline that operates separately from the host device when the detection means (42) detects the occurrence of the system failure When the detection means (42) detects the system recovery while instructing the shift to the mode, Data processing system that comprises an instruction unit (43) that instructs transition to the online mode of operation according to an instruction of the host device, and wherein.
【請求項5】 請求項4記載のデータ処理システムにお
いて、 指示手段(43)は、オフラインモードへの移行を外部へ出
力するよう処理することを、 特徴とするデータ処理システム。
5. The data processing system according to claim 4, wherein the instruction means (43) processes so as to output the shift to the offline mode to the outside.
【請求項6】 請求項4又は5記載のデータ処理システ
ムにおいて、 端末装置が、更に、 オフラインモードで実行される処理情報を記憶する記憶
手段(44)と、 システム復旧時に、上記記憶手段(44)の記憶する処理情
報をホスト装置に通知する通知手段(45)とを備えること
を、 特徴とするデータ処理システム。
6. The data processing system according to claim 4 or 5, wherein the terminal device further stores a storage means (44) for storing processing information executed in the offline mode, and the storage means (44) when the system is restored. And a notification means (45) for notifying the host device of the processing information stored in (1).
JP07111392A 1995-05-10 1995-05-10 Premium exchange terminal equipment Expired - Fee Related JP3115789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07111392A JP3115789B2 (en) 1995-05-10 1995-05-10 Premium exchange terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07111392A JP3115789B2 (en) 1995-05-10 1995-05-10 Premium exchange terminal equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2000159649A Division JP2001027992A (en) 2000-01-01 2000-05-30 Data processing system and terminal device used to the system

Publications (2)

Publication Number Publication Date
JPH08299580A true JPH08299580A (en) 1996-11-19
JP3115789B2 JP3115789B2 (en) 2000-12-11

Family

ID=14560005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07111392A Expired - Fee Related JP3115789B2 (en) 1995-05-10 1995-05-10 Premium exchange terminal equipment

Country Status (1)

Country Link
JP (1) JP3115789B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006020721A (en) * 2004-07-06 2006-01-26 Asahi Seiko Kk Operation system for abnormal time of point system
JP2009066004A (en) * 2007-09-10 2009-04-02 Sankyo Co Ltd Game system
US8814690B2 (en) 2002-06-11 2014-08-26 Kabushiki Kaisha Sega Game machine having data management ability
JP2016195411A (en) * 2016-06-17 2016-11-17 三菱電機株式会社 Electric apparatus, management system, controller, electric apparatus control method, and program
JPWO2016017005A1 (en) * 2014-07-31 2017-04-27 三菱電機株式会社 ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
JP2019169969A (en) * 2019-05-23 2019-10-03 三菱電機株式会社 Electric apparatus, management system, control method of electric apparatus, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8814690B2 (en) 2002-06-11 2014-08-26 Kabushiki Kaisha Sega Game machine having data management ability
JP2006020721A (en) * 2004-07-06 2006-01-26 Asahi Seiko Kk Operation system for abnormal time of point system
JP2009066004A (en) * 2007-09-10 2009-04-02 Sankyo Co Ltd Game system
JPWO2016017005A1 (en) * 2014-07-31 2017-04-27 三菱電機株式会社 ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
JP2016195411A (en) * 2016-06-17 2016-11-17 三菱電機株式会社 Electric apparatus, management system, controller, electric apparatus control method, and program
JP2018011355A (en) * 2016-06-17 2018-01-18 三菱電機株式会社 Electric apparatus, management system, electric apparatus control method, and program
JP2019169969A (en) * 2019-05-23 2019-10-03 三菱電機株式会社 Electric apparatus, management system, control method of electric apparatus, and program

Also Published As

Publication number Publication date
JP3115789B2 (en) 2000-12-11

Similar Documents

Publication Publication Date Title
JP2009531750A (en) Method and system for risk monitoring in online business
US7478273B2 (en) Computer system including active system and redundant system and state acquisition method
JPH03288297A (en) Transaction processor
JP3737460B2 (en) Computer system
JPH08299580A (en) Terminal equipment for gift exchange job, terminal equipment and data processing system
CN108667740B (en) Flow control method, device and system
JP2643539B2 (en) Loom diagnostic system
JP2519276B2 (en) Failure information collection processing method
JP2001027992A (en) Data processing system and terminal device used to the system
CN115190044A (en) Equipment connection state checking method, device, equipment and storage medium
JP3867868B2 (en) Fault integrated management device
JPS5860346A (en) Controlling system for terminal connection status
JP2011113473A (en) Transaction processing system and information gathering method of the same
KR100322910B1 (en) Method and appratus for banking-network
JPH0962626A (en) On-line testing method of decentralized processing system
JP2915061B2 (en) Load control method for computer system
EP1566733B1 (en) Apparatus for preventing switch failures in the presence of faults
JPH1039920A (en) Monitoring and notifying controller
JPH06103178A (en) Terminal group monitoring device
JP3346424B2 (en) Terminal device with operation monitoring function
JPH11161518A (en) Stall monitoring device and its method in starting information processing system by management processor and recording medium
JP3487440B2 (en) Shared memory access method
JPH07253912A (en) Process monitor device
KR100246606B1 (en) A method of alarm and fault statistic using system log file
JPS6359177B2 (en)

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees