JPH0765078A - Commodity sales data processor - Google Patents

Commodity sales data processor

Info

Publication number
JPH0765078A
JPH0765078A JP21650293A JP21650293A JPH0765078A JP H0765078 A JPH0765078 A JP H0765078A JP 21650293 A JP21650293 A JP 21650293A JP 21650293 A JP21650293 A JP 21650293A JP H0765078 A JPH0765078 A JP H0765078A
Authority
JP
Japan
Prior art keywords
machine
terminal
sub
communication line
main
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
Application number
JP21650293A
Other languages
Japanese (ja)
Inventor
Takashi Katsuta
隆 勝田
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.)
TEC CORP
Original Assignee
TEC CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TEC CORP filed Critical TEC CORP
Priority to JP21650293A priority Critical patent/JPH0765078A/en
Publication of JPH0765078A publication Critical patent/JPH0765078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To simplify the confirming work of a host machine by reading in a switch state when a state read-out command is received from a terminal machine, and discriminating the designation of either a main machine or a sub machine, and transmitting a result to the terminal machine. CONSTITUTION:When the state read-out command is transmitted to the host machine from the terminal machine through a communication line, this read-out command is sent to the host machine of one side connected by a host machine switching circuit 3. Then, the CPU 11 of the host machine having received this read-out command through a communication interface reads in the signal of a DIP switch 17 being inputted to an I/O port 18, and discriminates whether the state of the DIP switch 17 is either the designation of a main side or the designation of a sub side. After that, it generates an answer massage including host machine state information to show the discriminated result, and transmits it to the terminal machine of a command source by controlling the communication interface 15. This answer message is received by the terminal machine, and the host machine state information in the message is printed on a form by a printer.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数台のターミナル機
を上位機器で集中制御するものにおいて、特に上位機器
を複数台設置して切替使用可能に形成した商品販売デー
タ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a centralized control of a plurality of terminal devices by a host device, and more particularly to a commodity sales data processing device in which a plurality of host devices are installed so as to be switchable.

【0002】[0002]

【従来の技術】この種の商品販売データ処理装置の基本
的な接続構成を図5,図6に示す。すなわち、この商品
販売データ処理装置は、2台の上位機器(例えばファイ
ルプロセッサ)1M,1Sと、複数台のターミナル機2
M,2S-a,…,2S-nとを上位機器切替回路3を介し
て通信回線4M,4S,5で接続している。また、一方
の上位機器1Mと他方の上位機器1Sとを通信回線6で
接続している。
2. Description of the Related Art The basic connection structure of a commodity sales data processing device of this type is shown in FIGS. That is, the product sales data processing device includes two host devices (for example, file processors) 1M and 1S and a plurality of terminal devices 2.
, 2S-n are connected to the M, 2S-a, ..., 2S-n by communication lines 4M, 4S, 5 via the upper device switching circuit 3. Further, one upper device 1M and the other upper device 1S are connected by a communication line 6.

【0003】各ターミナル機2M,2S-a,…,2S-n
は、CPU,ROM,RAM,キーボード,表示器,プ
リンタ,ドロワ等を搭載した電子式キャッシュレジスタ
からなり、「登録」,「点検」,「精算」,「設定」等
の各モード毎に所定処理を行うように構成されている。
そして、1台のターミナル機2Mをマスター機と指定
し、残りのターミナル機2S-a,…,2S-nをサテライ
ト機と指定している。
Each terminal machine 2M, 2S-a, ..., 2S-n
Consists of an electronic cash register equipped with a CPU, ROM, RAM, keyboard, display, printer, drawer, etc., and performs predetermined processing for each mode such as "registration", "inspection", "payment", and "setting". Is configured to do.
Then, one terminal machine 2M is designated as a master machine, and the remaining terminal machines 2S-a, ..., 2S-n are designated as satellite machines.

【0004】上位機器1M,1Sは、CPU,ROM,
RAM等を搭載したコンピュータからなり、各ターミナ
ル機2M,2S-a,…,2S-nからの問合せに対する応
答業務、データ収集業務等を行うように構成されてい
る。そして、一方の上位機器1Mをメイン機と指定し、
他方の上位機器1Sをサブ機としている。
The host devices 1M and 1S include a CPU, a ROM,
It is composed of a computer equipped with a RAM and the like, and is configured to perform a response work to an inquiry from each terminal machine 2M, 2S-a, ..., 2S-n, a data collection work, and the like. Then, specify one of the higher-level devices 1M as the main machine,
The other higher-level device 1S is a sub-device.

【0005】ここで、メイン機とサブ機の指定はディッ
プスイッチの設定により手動で行われる。すなわち、デ
ィップスイッチをメイン機側に設定すればその上位機器
はメイン機として作用し、サブ機側に設定すればサブ機
として作用する。
Here, the designation of the main machine and the sub machine is manually performed by setting the dip switch. That is, if the DIP switch is set to the main machine side, the higher-level device acts as the main machine, and if it is set to the sub machine side, it operates as the sub machine.

【0006】上位機器切替回路3は、通常、図5に示す
ように通信回線4Mと通信回線5とを連接してメイン機
指定の上位機器1Mを各ターミナル機2M,2S-a,
…,2S-nに接続しており、かつ上位機器1Mの異常を
検知すると、図6に示すように通信回線4Sと通信回線
5とを連接してメイン機指定の上位機器1Mからサブ機
指定の上位機器1Sに自動的に切替えるように構成され
ている。
The upper device switching circuit 3 normally connects the communication line 4M and the communication line 5 as shown in FIG. 5 to connect the upper device 1M designated by the main device to each terminal device 2M, 2S-a,
..., 2S-n is connected, and when an abnormality of the upper device 1M is detected, the communication line 4S and the communication line 5 are connected to each other as shown in FIG. It is configured to automatically switch to the higher-level device 1S.

【0007】かかる構成の商品販売データ処理装置で
は、メイン機指定の上位機器1Mが正常のときには各タ
ーミナルにて売上登録された商品販売データは、通信回
線5,4Mを通じて上位機器1Mに送られてメモリで集
計される。また上位機器1Mのメモリデータは通信回線
6を通じて他方の上位機器1Sに送られており、両上位
機器1M,1Sのメモリデータは常に同一とされてい
る。
In the product sales data processing apparatus having such a configuration, when the upper device 1M designated by the main machine is normal, the product sales data registered for sales at each terminal is sent to the upper device 1M through the communication lines 5 and 4M. Counted in memory. The memory data of the higher-level device 1M is sent to the other higher-level device 1S through the communication line 6, and the memory data of both the higher-level devices 1M and 1S is always the same.

【0008】このため、例えばメイン機指定の上位機器
1Mに異常が発生してサブ機指定の上位機器1Sに自動
的に切替えられても、各ターミナル機では円滑に業務を
継続することができる。
Therefore, for example, even if an abnormality occurs in the host device 1M designated by the main device and the host device 1S automatically designated by the sub device is switched to, the work can be smoothly continued in each terminal device.

【0009】ところで、各ターミナル機2M,2S-a,
…,2S-nは、主に商品販売登録業務に供されるもので
あるから店舗内に設置されてキャッシャが操作するが、
上位機器1M,1S及び上位機器切替回路3は自動業務
を行うために遠方の電気・機械室等に設置されている。
しかも、上位機器切替回路3による上位機器の切替えは
瞬時にかつ自然に行われ、各ターミナル機2M,2S-
a,…,2S-nでの商品販売登録業務に支障を来すもの
ではない。したがって、メイン機1M(サブ機1S)に
異常が発生してサブ機1S(メイン機1M)に自動切替
されても、そのことをキャッシャが気付かない場合が多
かった。
By the way, each terminal machine 2M, 2S-a,
…, 2S-n is mainly used for product sales registration work, so it is installed in the store and operated by the cashier,
The host devices 1M and 1S and the host device switching circuit 3 are installed in a distant electric / mechanical room or the like in order to perform automatic work.
Moreover, the switching of the host device by the host device switching circuit 3 is instantaneously and naturally performed, and each terminal device 2M, 2S-
a, ..., 2S-n does not hinder the product sales registration work. Therefore, even if an abnormality occurs in the main machine 1M (sub machine 1S) and automatically switches to the sub machine 1S (main machine 1M), the cashier often does not notice this.

【0010】しかし、自動切替後にサブ機1S(メイン
機1M)に異常が発生しないという保障はなく、サブ機
1S(メイン機1M)に異常が発生したときメイン機1
M(サブ機1S)の修理が行われていないと本商品販売
データ処理装置の機能が完全に停止してしまう。
However, there is no guarantee that no abnormality will occur in the sub unit 1S (main unit 1M) after automatic switching, and when an abnormality occurs in the sub unit 1S (main unit 1M).
If the M (sub machine 1S) is not repaired, the function of the product sales data processing device will be completely stopped.

【0011】そこで、従来は店舗責任者等が定期的に上
位機器1M,1S及び上位機器切替回路3が設置されて
いる場所まで出向き、各ターミナル機2M,2S-a,
…,2S-nに通信回線で接続されて稼働している上位機
器がメイン機1Mなのかサブ機1Sなのかをディップス
イッチの状態から判別する。そして、前回がメイン機1
M(サブ機1S)であり、今回がサブ機1S(メイン機
1M)であればメイン機1M(サブ機1S)に異常が発
生して切替えが行われたので、サービス拠点に修理を依
頼するようにして、修理の遅れをできるだけ無くすよう
に努力していた。
Therefore, conventionally, a store manager or the like regularly goes to a place where the higher-level equipment 1M, 1S and the higher-level equipment switching circuit 3 are installed, and the terminal machines 2M, 2S-a,
The main device 1M or the sub device 1S is connected to the 2S-n via the communication line and is operating, and it is determined from the state of the dip switch. And the last time was the main machine 1
If it is M (sub machine 1S) and this time is sub machine 1S (main machine 1M), an abnormality has occurred in main machine 1M (sub machine 1S) and switching has been performed, so request repair to the service base. Thus, I was trying to eliminate the delay of repair as much as possible.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、従来
は、各ターミナル機2M,2S-a,…,2S-nに通信回
線で接続されて稼働している上位機器がメイン機1Mな
のかサブ機1Sなのかを定期的に確認するために、店舗
責任者等が直接上位機器1M,1S及び上位機器切替回
路3が設置されている場所まで出向かなければならなか
ったので面倒であり、負担になっていた。このため、確
認作業を怠ってメイン機1M,サブ機1Sとも故障して
しまい、本商品販売データ処理装置の機能が停止してし
まうことがあった。
However, conventionally, whether the host device 2M, 2S-a, ..., 2S-n connected to each of the terminal devices 2M, 2S-a, ..., 2S-n by a communication line is the main device 1M or the sub device 1S. In order to regularly check such information, the store manager or the like had to go directly to the place where the higher-level equipment 1M, 1S and the higher-level equipment switching circuit 3 were installed, which was troublesome and burdensome. Was there. For this reason, the main machine 1M and the sub machine 1S may fail due to neglecting the confirmation work, and the function of the product sales data processing device may stop.

【0013】そこで本発明は、各ターミナル機に通信回
線で接続されて稼働している上位機器がメイン機なのか
サブ機なのかを、上位機器及び上位機器切替回路が設置
されている場所まで出向かなくてもターミナル機の簡単
な操作で確認することができ、確認作業の簡素化を図る
ことができる商品販売データ処理装置を提供しようとす
るものである。
Therefore, according to the present invention, whether the host device connected to each terminal machine via a communication line and operating is the main machine or the sub machine is dispatched to a place where the host device and the host device switching circuit are installed. It is an object of the present invention to provide a merchandise sales data processing device that can be confirmed by a simple operation of a terminal device without the need and can simplify the confirmation work.

【0014】[0014]

【課題を解決するための手段】本発明は、複数台のター
ミナル機に上位機器切替回路を介してメイン機に指定さ
れた上位機器及びサブ機に指定された上位機器のいずれ
か一方を通信回線で接続し、かつ上位機器切替回路を各
ターミナル機に接続された一方の上位機器に異常が発生
した場合に各ターミナル機に接続される上位機器を自動
的に他方の上位機器に切替えるように形成してなる商品
販売データ処理装置において、各上位機器に、メイン機
指定かサブ機指定かを区別するためのスイッチを設ける
とともに、通信回線を通じてターミナル機から状態読出
しコマンドを受信するとスイッチの状態を読込みメイン
機指定かサブ機指定かを判別する判別手段と、この判別
手段による判別結果を示す上位機器状態情報を含む応答
伝文を通信回線を通じてターミナル機に送信する応答手
段とを設け、かつ少なくとも1台のターミナル機に、状
態読出しコマンドを通信回線を通じて上位機器に送信す
るコマンド送信手段と、通信回線を通じて応答伝文を受
信するとその応答伝文中の上位機器状態情報を出力する
状態情報出力手段とを設けたものである。
SUMMARY OF THE INVENTION According to the present invention, a plurality of terminal devices are connected via a host device switching circuit to one of a host device specified as a main device and a host device specified as a sub device. And the upper device switching circuit is connected to each terminal, and when an abnormality occurs in one of the upper devices connected to each terminal, the upper device connected to each terminal is automatically switched to the other upper device. In the product sales data processing device, the switch for distinguishing between main unit designation and sub unit designation is provided in each host device, and the state of the switch is read when the state read command is received from the terminal unit through the communication line. A determination means for determining whether the main unit is designated or the sub unit is designated, and a response message including the upper device status information indicating the determination result by the determination unit is transmitted through the communication line. And a response transmitting means for transmitting the status read command to the host device through the communication line, and a response message when the response message is received through the communication line. State information output means for outputting the upper device state information in the message is provided.

【0015】[0015]

【作用】このような構成の本発明であれば、コマンド送
信手段及び状態情報出力手段を備えてなるターミナル機
から通信回線を通じて上位機器に状態読出しコマンドが
送信されると、このコマンドを受信した上位機器にてス
イッチの状態が読込まれてメイン機指定かサブ機指定か
が判別され、その判別結果を示す上位機器状態情報を含
む応答伝文が通信回線を通じてターミナル機に送信され
る。これにより、ターミナル機にて応答伝文中の上位機
器状態情報が出力される。
According to the present invention having such a configuration, when a status read command is transmitted to a host device through a communication line from a terminal equipped with command transmitting means and status information output means, the host which receives this command receives the command. The device reads the state of the switch to determine whether the main device is designated or the sub device is designated, and a response message including higher device status information indicating the determination result is transmitted to the terminal device through the communication line. As a result, the terminal device outputs the upper device status information in the response message.

【0016】したがって、ターミナル機のオペレータ
は、上位機器状態情報の出力内容から、現在通信回線を
通じて接続されている上位機器がメイン機なのかサブ機
なのかを容易に判断できる。
Therefore, the operator of the terminal machine can easily determine from the output content of the higher-level device status information whether the higher-level device currently connected through the communication line is the main device or the sub-device.

【0017】[0017]

【実施例】以下、本発明を図5,図6に示した基本的な
接続構成の商品販売データ処理装置に適用した一実施例
について、図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a commodity sales data processing device having a basic connection configuration shown in FIGS. 5 and 6 will be described below with reference to the drawings.

【0018】図1は各上位機器1M,1Sの要部構成を
示すブロック図であり、制御部本体を構成するCPU1
1に、バスライン12を介してROM13及びRAM1
4と、通信回線4M(4S),5を通じて行われる各タ
ーミナル機2M,2S-a,…,2S-nとのデータ伝送を
制御する通信インタフェース15と、通信回線6を通じ
て行われる他方の上位機器とのデータ伝送を制御する通
信インタフェース16と、メイン(main)側とサブ
(sub)側を手動切替可能なディップスイッチ17か
らの信号が入力されるI/Oポート18とを接続して構
成されている。
FIG. 1 is a block diagram showing the configuration of the main parts of each of the host devices 1M and 1S.
1 to the ROM 13 and the RAM 1 via the bus line 12.
4, and a communication interface 15 for controlling data transmission between the terminal units 2M, 2S-a, ..., 2S-n performed through the communication lines 4M (4S) and 5, and the other upper-level device performed through the communication line 6. And a communication interface 16 for controlling data transmission with the I / O port 18 to which a signal from a dip switch 17 capable of manually switching between a main side and a sub side is input. ing.

【0019】図2は各ターミナル機2M,2S-a,…,
2S-nの要部構成を示すブロック図であり、制御部本体
を構成するCPU21に、バスライン22を介してRO
M23及びRAM24と、通信回線5,4M(4S)を
通じて行われる上位機器1M(1S)とのデータ伝送を
制御する通信インタフェース25とを接続している。ま
た、商品情報等を入力するための各種キーが配設された
キーボード26からのキー信号が入力されるキーボード
回路27、販売登録された商品の値段や合計金額等を表
示するための表示器28を駆動制御して表示データに対
応する文字等を表示させる表示制御回路29、レシート
用紙及びジャーナル用紙にデータ印字するプリンタ29
に印字データを送出して印字動作させるプリンタ駆動回
路31、「登録」,「点検」,「精算」,「設定」等の
各モードを切替えるためのモードスイッチ32からの信
号が入力されるとともに、現金等を収容するためのドロ
ワ33に開放指令信号を出力するI/Oポート34等
を、前記バスライン22を介して前記CPU21に接続
している。
FIG. 2 shows the terminal machines 2M, 2S-a, ...
FIG. 2 is a block diagram showing a configuration of a main part of 2S-n, in which a CPU 21 constituting a control unit main body is connected to a RO via a bus line 22.
The M23 and the RAM 24 are connected to the communication interface 25 that controls data transmission with the host device 1M (1S) performed through the communication lines 5 and 4M (4S). In addition, a keyboard circuit 27 to which key signals are input from a keyboard 26 provided with various keys for inputting product information and the like, and a display 28 for displaying the price and total price of products registered for sale. Display control circuit 29 for driving and controlling the display of characters corresponding to display data, and printer 29 for printing data on receipt paper and journal paper
A signal from a mode switch 32 for switching each mode such as a printer drive circuit 31 for sending print data to a printer for printing operation, “registration”, “inspection”, “accounting”, “setting”, and the like, and An I / O port 34 for outputting an opening command signal to a drawer 33 for accommodating cash or the like is connected to the CPU 21 via the bus line 22.

【0020】しかして、マスター機に設定されたターミ
ナル機2MのCPU21は、特に図3(a)の流れ図で
示す上位機器の状態読出し業務を実行するようにプログ
ラム設定されており、他方、各上位機器1M,1SのC
PU11は、上記状態読出し業務を受けて図3(b)の
流れ図で示す伝文受信業務を実行するようにプログラム
設定されている。
Thus, the CPU 21 of the terminal machine 2M set as the master machine is programmed so as to execute the status read-out work of the higher-order device shown in the flowchart of FIG. C of equipment 1M, 1S
The PU 11 is programmed so as to receive the above-mentioned status read job and execute the message reception job shown in the flowchart of FIG.

【0021】すなわち、ターミナル機2MのCPU21
は、キーボード26に設けられた特定の状態読出し業務
実行キー(単一キーでも複数キーの組合わせでもよい)
が操作入力されると、図3(a)のプログラム処理を開
始し、ST(ステップ)1としてモードスイッチ32に
より「点検」業務が選択されていることを確認すると、
ST2として所定の上位機器状態読出しコマンドを作成
した後、通信インタフェース25を制御して上位機器に
当該読出しコマンドを送信する(コマンド送信手段)。
That is, the CPU 21 of the terminal machine 2M
Is a specific status read work execution key (may be a single key or a combination of a plurality of keys) provided on the keyboard 26.
3 is started, the program processing of FIG. 3A is started, and when it is confirmed that the “inspection” work is selected by the mode switch 32 as ST (step) 1,
As ST2, a predetermined upper device status read command is created, and then the communication interface 25 is controlled to send the read command to the upper device (command transmitting means).

【0022】この読出しコマンドは上位機器切替回路3
によって接続されている一方の上位機器(図5の場合は
メイン機1M,図6の場合はサブ機1S)に送られる。
そして、この読出しコマンドを通信インタフェース15
を介して受信した上位機器1M(1S)のCPU11
は、図3(b)のプログラム処理を開始する。すなわ
ち、ST3として受信コマンドが上位機器状態読出しコ
マンドであることを確認すると、ST4としてI/Oポ
ート18に入力されているディップスイッチ17の信号
を読込み、ディップスイッチ17の状態がメイン側指定
かサブ側指定かを判別する(判別手段)。
This read command is sent to the upper device switching circuit 3
Is sent to one of the upper devices (the main device 1M in the case of FIG. 5 and the sub device 1S in the case of FIG. 6) connected by.
Then, this read command is sent to the communication interface 15
CPU 11 of higher-level device 1M (1S) received via
Starts the program processing of FIG. That is, when it is confirmed in ST3 that the received command is the higher device status read command, the signal of the DIP switch 17 input to the I / O port 18 is read in ST4, and the state of the DIP switch 17 is designated to the main side or the sub side. It is determined whether the side is designated (determination means).

【0023】しかる後、ST5としてこの判別結果を示
す上位機器状態情報を含む応答伝文を作成したならば、
通信インタフェース15を制御してコマンド発信元のタ
ーミナル機2Mに当該応答伝文を送信する(応答手
段)。
After that, if a response message including the upper device status information indicating the result of this determination is created in ST5,
The communication interface 15 is controlled to transmit the response message to the terminal device 2M that is the command source (response means).

【0024】そうすると、この応答伝文はターミナル機
2Mにて受信されるので、ターミナル機2MのCPU2
1は、ST6として通信インタフェース25を介して応
答伝文を受信すると、ST7としてその応答伝文中の上
位機器状態情報をプリンタ32によりジャーナル用紙に
印字させる(状態情報出力手段)。
Then, since this response message is received by the terminal machine 2M, the CPU 2 of the terminal machine 2M
In step ST6, when the response message is received via the communication interface 25 in step ST6, the upper device status information in the response message is printed on the journal paper by the printer 32 in step ST7 (status information output means).

【0025】次に、上記の如く構成された本実施例の作
用効果について説明する。
Next, the function and effect of the present embodiment constructed as described above will be described.

【0026】先ず、本発明に係る商品販売データ処理装
置は、セットアップの際に一方の上位機器1Mのディッ
プスイッチ17をメイン側に設定してメイン機に指定
し、かつ他方の上位機器1Sのディップスイッチ17を
サブ側に設定してサブ機に指定する。また、上位機器切
替回路3は、図5に示すようにメイン機1Mと各ターミ
ナル機2M,2S-a,…,2S-nとを通信回線4M,5
で接続する。
First, the merchandise sales data processing apparatus according to the present invention sets the dip switch 17 of one upper device 1M to the main side at the time of setup and designates it as the main device, and dips the other upper device 1S. The switch 17 is set to the sub side and designated as the sub machine. Further, as shown in FIG. 5, the higher-level device switching circuit 3 connects the main unit 1M and the respective terminal units 2M, 2S-a, ..., 2S-n to the communication lines 4M, 5.
Connect with.

【0027】この状態でシステムが立ち上がると、メイ
ン機1Mは各ターミナル機2M,2S-a,…,2S-nか
らの問合せに対する応答業務やデータ収集業務等に供さ
れる。また、メイン機1Mからサブ機1Sに通信回線6
を通じてRAM14のデータが与えられており、メイン
機1Mとサブ機1SのRAM内容は常に一致している。
When the system is started up in this state, the main machine 1M is provided for responding to inquiries from the terminal machines 2M, 2S-a, ..., 2S-n and for collecting data. In addition, the communication line 6 from the main unit 1M to the sub unit 1S
The data of the RAM 14 is given through the, and the RAM contents of the main machine 1M and the sub machine 1S always match.

【0028】ここで、今、メイン機1Mに異常が発生
し、上位機器切替回路3にてその異常が検知されると、
上位機器切替回路3は瞬時にかつ自然に接続状態を切替
えて、図6に示すようにサブ機1Sが各ターミナル機2
M,2S-a,…,2S-nに通信回線4S,5を通じて接
続される。
Now, when an abnormality occurs in the main machine 1M and the upper device switching circuit 3 detects the abnormality,
The host device switching circuit 3 instantaneously and naturally switches the connection state, and as shown in FIG.
, 2S-n are connected to the M, 2S-a, ..., 2S-n through communication lines 4S, 5.

【0029】以後、サブ機1Sは各ターミナル機2M,
2S-a,…,2S-nからの問合せに対する応答業務やデ
ータ収集業務等に供される。
Thereafter, the sub-device 1S is connected to each terminal device 2M,
It is used for responding to inquiries from 2S-a, ..., 2S-n and data collection.

【0030】ところで、かかる商品販売データ処理装置
を導入した店舗においては、前述した理由から店舗責任
者は各ターミナル機2M,2S-a,…,2S-nに通信回
線で接続されて稼働している上位機器がメイン機1Mな
のかサブ機1Sなのかを定期的に確認する必要がある。
By the way, in a store in which such a product sales data processing device is introduced, the store manager operates by being connected to each of the terminal units 2M, 2S-a, ..., 2S-n by a communication line for the reason described above. It is necessary to regularly check whether the higher-level device is the main device 1M or the sub device 1S.

【0031】そこで、店舗責任者は、定期的に店舗内に
設置されているマスター機2Mを操作して上位機器の状
態を確認する。すなわち、店舗責任者は「点検」モード
において状態読出し業務実行キーを操作入力する。
Therefore, the store manager periodically operates the master machine 2M installed in the store to check the state of the host device. That is, the store manager operates the status read job execution key in the "inspection" mode.

【0032】そうすると、このマスター機2Mから回線
接続されている一方の上位機器に状態読出しコマンドが
送信され、このコマンドを受信した上位機器では、ディ
ップスイッチ17の状態からメイン指定かサブ指定かが
判別される。そして、その判別結果を示す上位機器状態
情報を含む応答伝文がマスター機2Mに返信される。こ
れにより、マスター機2Mにおいては、上位機器状態情
報がプリンタ30によりジャーナル印字される。
Then, the master machine 2M sends a status read command to one of the upper devices connected to the line, and the upper device receiving this command determines from the state of the DIP switch 17 whether the main designation or the sub designation is made. To be done. Then, a response message including the higher-level device status information indicating the determination result is returned to the master machine 2M. As a result, in the master machine 2M, the upper device status information is journal-printed by the printer 30.

【0033】図5に示すようにメイン機1Mが接続され
ている場合には図4(a)に示すようにメイン機指定で
あることを示す情報[MAIN]がジャーナル印字さ
れ、図6に示すようにサブ機1Sが接続されている場合
には図4(b)に示すようにサブ機指定であることを示
す情報[SUB]がジャーナル印字される。
When the main machine 1M is connected as shown in FIG. 5, the information [MAIN] indicating that the main machine is designated is journal-printed as shown in FIG. 4A, and shown in FIG. When the sub machine 1S is connected as described above, the information [SUB] indicating that the sub machine is designated is printed in the journal as shown in FIG. 4B.

【0034】したがって、店舗責任者は、毎回の確認作
業でジャーナル印字の内容を確認するだけで上位機器に
異常が発生して自動切替されたか否かを判断できる。す
なわち、店舗責任者は店舗内に居ながらにして上位機器
の異常有無を確認できるので、確認作業の負担を大幅に
軽減できる。
Therefore, the store manager can determine whether or not an abnormality has occurred in the host device and automatic switching has been performed by simply confirming the contents of the journal print in each confirmation operation. That is, the store manager can confirm whether or not there is an abnormality in the host device while staying in the store, so that the burden of confirmation work can be greatly reduced.

【0035】なお、前記実施例ではディップスイッチ1
7の設定によりメイン機指定とサブ機指定とを切替える
上位機器に本発明を適用した場合を示したが、RAM1
4に形成された特定のフラグをセットまたはリセットす
ることでメイン機指定とサブ機指定とを切替えるソフト
スイッチを用いたものであっても、状態読出しコマンド
に対してこの特定フラグの状態からメイン機指定かサブ
機指定かを判別するように構成することで適用可能であ
る。
In the above embodiment, the DIP switch 1
The case where the present invention is applied to a higher-level device that switches between the main unit designation and the sub unit designation by the setting of 7 has been described.
Even if a soft switch that switches between the main unit designation and the sub unit designation by setting or resetting the specific flag formed in 4 is used, the main unit is changed from the state of this specific flag to the state read command. It is applicable by configuring so as to determine whether it is designated or designated as a sub device.

【0036】また、前記実施例ではジャーナル印字によ
り上位機器状態情報を出力したが、レシートへの印字や
表示器28への表示によって上位機器状態情報を出力す
ることも可能である。
Further, in the above-described embodiment, the upper device status information is output by journal printing, but it is also possible to output the higher device status information by printing it on a receipt or displaying it on the display 28.

【0037】また、状態読出しコマンドの送信機能及び
状態情報出力機能をサテライト機に指定されたターミナ
ル機が備えてもよい。この他、本発明の要旨を逸脱しな
い範囲で種々変形実施可能であるのは勿論である。
Further, the terminal device designated as the satellite device may be provided with the function of transmitting the status read command and the function of outputting the status information. Of course, various modifications can be made without departing from the scope of the present invention.

【0038】[0038]

【発明の効果】以上詳述したように本発明によれば、各
ターミナル機に通信回線で接続されて稼働している上位
機器がメイン機なのかサブ機なのかを、上位機器及び上
位機器切替回路が設置されている場所まで出向かなくて
もターミナル機の簡単な操作で確認することができ、確
認作業の簡素化を図ることができる商品販売データ処理
装置を提供できる。
As described above in detail, according to the present invention, it is possible to switch the host device and the host device whether the host device connected to each terminal by a communication line and operating is a main device or a sub device. It is possible to provide a merchandise sales data processing device that can be confirmed by a simple operation of a terminal machine without going to a place where a circuit is installed, and the confirmation work can be simplified.

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

【図1】本発明の一実施例における上位機器の要部構成
を示すブロック図。
FIG. 1 is a block diagram showing a main configuration of a host device according to an embodiment of the present invention.

【図2】同実施例におけるターミナル機の要部ブロック
図。
FIG. 2 is a block diagram of a main part of the terminal machine in the embodiment.

【図3】同実施例におけるターミナル機CPUと上位機
器CPUの本発明に係るプログラム処理を示す流れ図。
FIG. 3 is a flowchart showing program processing according to the present invention of the terminal CPU and the host CPU in the embodiment.

【図4】同実施例において印字される上位機器状態情報
の印字例を示す平面図。
FIG. 4 is a plan view showing a print example of host device status information printed in the embodiment.

【図5】基本的な商品販売データ処理装置のメイン機側
接続時における回線接続構成を示す模式図。
FIG. 5 is a schematic diagram showing a line connection configuration at the time of connection of a main product side of a basic product sales data processing device.

【図6】基本的な商品販売データ処理装置のサブ機側接
続時における回線接続構成を示す模式図。
FIG. 6 is a schematic diagram showing a line connection configuration when a sub-device side connection of a basic product sales data processing device is performed.

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

1M…上位機器(メイン機) 1S…上位機器(サブ機) 2M…ターミナル機(マスター機) 2S-a〜2S-n…ターミナル機(サテライト機) 3…上位機器切替回路 4M,4S,5,6…通信回線 11,21…CPU 15,16,25…通信インタフェース 17…ディップスイッチ 26…キーボード 28…表示器 30…プリンタ 32…モードスイッチ 1M ... High-order equipment (main machine) 1S ... High-order equipment (sub machine) 2M ... Terminal machine (master machine) 2S-a to 2S-n ... Terminal machine (satellite machine) 3 ... High-order equipment switching circuit 4M, 4S, 5, 6 ... communication line 11,21 ... CPU 15,16,25 ... communication interface 17 ... dip switch 26 ... keyboard 28 ... display 30 ... printer 32 ... mode switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数台のターミナル機に上位機器切替回
路を介してメイン機に指定された上位機器及びサブ機に
指定された上位機器のいずれか一方を通信回線で接続
し、かつ上位機器切替回路を各ターミナル機に接続され
た一方の上位機器に異常が発生した場合に各ターミナル
機に接続される上位機器を自動的に他方の上位機器に切
替えるように形成してなる商品販売データ処理装置にお
いて、 各上位機器に、メイン機指定かサブ機指定かを区別する
ためのスイッチを設けるとともに、前記通信回線を通じ
て前記ターミナル機から状態読出しコマンドを受信する
と前記スイッチの状態を読込みメイン機指定かサブ機指
定かを判別する判別手段と、この判別手段による判別結
果を示す上位機器状態情報を含む応答伝文を前記通信回
線を通じて前記ターミナル機に送信する応答手段とを設
け、かつ少なくとも1台の前記ターミナル機に、前記状
態読出しコマンドを前記通信回線を通じて前記上位機器
に送信するコマンド送信手段と、前記通信回線を通じて
前記応答伝文を受信するとその応答伝文中の上位機器状
態情報を出力する状態情報出力手段とを設けたことを特
徴とする商品販売データ処理装置。
1. A higher-order device is connected to a plurality of terminal machines via a higher-order device switching circuit, and either one of a higher-order device specified as a main unit and a higher-order device specified as a sub-device is connected by a communication line. A product sales data processing device in which a circuit is formed so that when an abnormality occurs in one upper device connected to each terminal machine, the upper device connected to each terminal machine is automatically switched to the other upper device. In the above, each upper device is provided with a switch for distinguishing between main unit designation and sub unit designation, and when a status read command is received from the terminal unit through the communication line, the state of the switch is read and the main unit designation or sub unit designation is made. A response message including a discriminating means for discriminating whether the machine is designated and a host device status information indicating the discrimination result by the discriminating means is transmitted through the communication line. A response means for transmitting to the terminal machine is provided, and at least one of the terminal machines has a command transmission means for transmitting the status read command to the host device through the communication line, and the response message through the communication line. A product sales data processing device comprising: a status information output means for outputting the upper device status information in the response message when received.
JP21650293A 1993-08-31 1993-08-31 Commodity sales data processor Pending JPH0765078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21650293A JPH0765078A (en) 1993-08-31 1993-08-31 Commodity sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21650293A JPH0765078A (en) 1993-08-31 1993-08-31 Commodity sales data processor

Publications (1)

Publication Number Publication Date
JPH0765078A true JPH0765078A (en) 1995-03-10

Family

ID=16689436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21650293A Pending JPH0765078A (en) 1993-08-31 1993-08-31 Commodity sales data processor

Country Status (1)

Country Link
JP (1) JPH0765078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191239A (en) * 2013-06-19 2013-09-26 Sii Data Service Kk Ordering system and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013191239A (en) * 2013-06-19 2013-09-26 Sii Data Service Kk Ordering system and control method thereof

Similar Documents

Publication Publication Date Title
JPH03288297A (en) Transaction processor
CN103970492A (en) Control Method Of A Control System And A Control System
JPH06101072B2 (en) Sales registration device
JPH0765078A (en) Commodity sales data processor
JPH0636235B2 (en) POS system
JP2893715B2 (en) Order data processing system
JP3253106B2 (en) Communication control device
JP2505181B2 (en) POS system
JPS637964A (en) Printer control apparatus of cash register
JP2811032B2 (en) Card terminal device
JPH07146896A (en) Sales register device
EP0950981B1 (en) Printing apparatus and method
JPS61187073A (en) Control system of card identification terminal group
JPH0346856B2 (en)
JPH0582623B2 (en)
JP2673035B2 (en) Touch keyboard device
JP2000207623A (en) Controller for vending machine
JPH0258675B2 (en)
JPH11203540A (en) Automated machine monitoring system
JPH0737169A (en) Commodity sales registering device
JPH0758471B2 (en) Emergency driving method in online system
JPH04333155A (en) Commodity data input terminal equipment
JPS6284373A (en) Card verification terminal group managing device
JP2005284402A (en) Merchandise sales data processor
JPH01188982A (en) Teller machine