JPS62154198A - Host collation processing system for pos system - Google Patents

Host collation processing system for pos system

Info

Publication number
JPS62154198A
JPS62154198A JP60295333A JP29533385A JPS62154198A JP S62154198 A JPS62154198 A JP S62154198A JP 60295333 A JP60295333 A JP 60295333A JP 29533385 A JP29533385 A JP 29533385A JP S62154198 A JPS62154198 A JP S62154198A
Authority
JP
Japan
Prior art keywords
pos
inquiry
master
slave
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60295333A
Other languages
Japanese (ja)
Inventor
榎木 栄樹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60295333A priority Critical patent/JPS62154198A/en
Publication of JPS62154198A publication Critical patent/JPS62154198A/en
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 (第1図)作用 実施例 (al−実施例の構成の説明(第2図、第3図)(b)
一実施例の全体動作の説明 (第4図、第5図) (C1照会中継処理の説明 (第6図、第7図)fdl
他の実施例の説明 発明の効果 〔概要〕 マスターPOSにスレーブPOSが接続されたPOSシ
ステムにおいて、マスターPOSが商品登録処理と照会
中継処理とを時分割に実行するように構成することによ
って、スレーブPOSからのホスト照会電文をマスター
POSが中継してホストコンピュータに照会できるよう
にしたものである。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (Fig. 1) Working Examples (al-Configuration of Examples) Explanation (Figures 2 and 3) (b)
Explanation of the overall operation of one embodiment (Figures 4 and 5) (Explanation of C1 inquiry relay processing (Figures 6 and 7) fdl
Description of other embodiments Effects of the invention [Summary] In a POS system in which a slave POS is connected to a master POS, by configuring the master POS to execute product registration processing and inquiry relay processing in a time-sharing manner, the slave POS The master POS relays the host inquiry message from the POS so that the message can be sent to the host computer.

〔産業上の利用分野〕[Industrial application field]

本発明は、マスターPOSにスレーブPOSが接続され
たマスター・スレーブPOSシステムにおいてスレーブ
POSからマスターPOSを介してホストコンピュータ
に照会を行うPOSシステムのホスト照会処理方式に関
する。
The present invention relates to a host inquiry processing method for a POS system in which a slave POS makes an inquiry to a host computer via the master POS in a master-slave POS system in which a slave POS is connected to a master POS.

販売情報処理システムとして広<POS(P。As a sales information processing system, POS (P.

int  or  5ales)ターミナルを用いたP
OSシステムが用いられている。
int or 5ales) P using terminal
An OS system is used.

このPOSシステムには、ホストコンピュータに直結し
た大規模なシステムからホストコンピュータに直結しな
い小規模なシステムまで店舗の規模に合わせて種々のも
のが利用されている。
Various types of POS systems are used depending on the size of the store, from large-scale systems directly connected to a host computer to small-scale systems not directly connected to the host computer.

この小規模なシステムとしてマスター・スレーブPOS
システムがある。
Master slave POS as this small system
There is a system.

〔従来の技術〕[Conventional technology]

マスター・スレーブPOSシステムは、第8図(A)に
示す様に、マスターPOS2に対しインライン回線lを
介し複数のスレーブPOS12〜1nを接続してシステ
ムが構成されている。このシステムにおいては、マスタ
ーPOS2及びスレーブPOS1a〜1nとも本来のP
OS機能である商品登録処理を行うとともに、マスター
POS2にデータ収集機能を設け、メモリMEMにイン
ライン回線lを介し各スレーブPOS1a〜1nの売上
げデータの収集(ロギング)を行うようにし、マスター
PO52において、各スレーブPOS1a〜1nの売上
げデータの把握ができるようにしていた。
As shown in FIG. 8(A), the master-slave POS system is configured by connecting a plurality of slave POS 12 to 1n to a master POS 2 via an inline line 1. In this system, both master POS2 and slave POS1a to 1n have their original P.O.
In addition to performing product registration processing, which is an OS function, the master POS 2 is provided with a data collection function, and the sales data of each slave POS 1a to 1n is collected (logged) in the memory MEM via an inline line l, and in the master POS 52, It was possible to grasp the sales data of each slave POS 1a to 1n.

このようなシステムは、インラインシステムとも称され
、POSシステム専用のコントローラを設けなくても、
マスターPOS2にデータ収集機能を追加するだけで、
マスターPOS2において売上げ状況の把握ができ、シ
ステムが安価に構築でき、極めて導入し易いシステムで
ある。
This type of system is also called an inline system, and can be used without a dedicated controller for the POS system.
Just by adding data collection function to master POS2,
Master POS 2 allows you to grasp the sales status, the system can be constructed at low cost, and it is an extremely easy system to introduce.

しかしながら、係るインラインシステムにおいては、1
店舗内のデータ収集は可能であるが、ホストコンピュー
タを用いて複数店舗のデータ収集、分析を行うには、マ
スターPOS2の収集したデータを別途ホストコンピュ
ータに送信する必要がある。
However, in such an inline system, 1
Although it is possible to collect data within a store, in order to collect and analyze data from multiple stores using a host computer, it is necessary to separately transmit the data collected by the master POS 2 to the host computer.

このため、第8図(C)に示す如く、マスターPOS2
に商品登録機能2a、データ収集機能に加えて、ホスト
送信機能2bを付加し、マスターPOS2を第8図(B
)の如く公衆回線T2によってホストコンピュータ3に
接続し、マスターPOS2の収集したスレーブPOS 
18〜Inのロギングデータを閉店時の商品登録終了後
に、一括してホストコンピュータ3に送信するようにし
ていた。
Therefore, as shown in FIG. 8(C), the master POS2
In addition to the product registration function 2a and data collection function, a host transmission function 2b is added to the master POS 2 in Figure 8 (B
), the slave POS is connected to the host computer 3 via the public line T2, and the slave POS collected by the master POS 2 is
The logging data of 18-In was sent all at once to the host computer 3 after the completion of product registration at the time of store closing.

従って、マスター・スレーブPOSシステムにおいては
、ホストコンピュータ3とはマスターPOS2のみが商
品登録を終了した時点で通信できるように構成されてい
た。
Therefore, the master-slave POS system is configured such that only the master POS 2 can communicate with the host computer 3 when product registration is completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

一方、近年、全国に販売店を持つ専門店等においては、
顧客管理、在庫管理、クレジット照会のため、各POS
ターミナルからホストコンピュータに即時に照会を行い
たいとの要求がある。
On the other hand, in recent years, specialty stores with sales outlets all over the country,
Each POS for customer management, inventory management, and credit inquiries
There is a demand for instantaneous inquiries from the terminal to the host computer.

例えば、クレジット照会においては、ホストコンピュー
タで一元管理しているクレジット(信用)情報をPOS
ターミナルから照会して、クレジット販売の可否を判断
したり、顧客の好みや売上げ状態をホストコンピュータ
で一元管理し、これをPOSターミナルから照会したい
との要望がある。
For example, for credit inquiries, credit information centrally managed on the host computer is sent to the POS.
There is a desire to make inquiries from a terminal to determine whether credit sales are possible, or to centrally manage customer preferences and sales status on a host computer, and make inquiries from a POS terminal.

このようなホストコンピュータへの照会は、専用のコン
トローラを持つ大規模P OSシステムにおいては実現
されているが、前述の専用のコントローラを持たないマ
スター・スレーブPOSシステムにおいては、スレーブ
PO51a〜1nがホストコンピュータ3に対し通信す
ることができないことから、係るホスト照会を実現する
ことができないという問題があった。
Such inquiries to the host computer are realized in large-scale POS systems that have a dedicated controller, but in the aforementioned master-slave POS system that does not have a dedicated controller, the slave POs 51a to 1n are connected to the host computer. Since it is not possible to communicate with the computer 3, there is a problem in that such a host inquiry cannot be realized.

本発明は、マスターPOSに中継機能を付加して、マス
ター・スレーブPOSシステムにおいてもホストへの照
会を可能とするPOSシステムのホスト照会処理方式を
提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a host inquiry processing method for a POS system that adds a relay function to a master POS system and enables inquiries to the host even in master/slave POS systems.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

図中、第8図で示したものと同一のものは同一の記号で
示してあり、2Cは照会中継処理機能であり、マスター
POS2に設けられ、スレーブP○Sla〜Inからの
照会電文を中継してホストコンピュータ3へ照会するた
めのものである。
In the figure, the same parts as those shown in Fig. 8 are indicated by the same symbols, and 2C is an inquiry relay processing function, which is provided in the master POS 2 and relays inquiry messages from slave P○Sla~In. This is for making inquiries to the host computer 3.

従って、マスク−POS2は、商品登録処理2aと照会
中継処理2cとを実行するとともに、これを第1図(B
)に示す如く時分割処理によって実行するように構成さ
れている。
Therefore, the mask-POS 2 executes the product registration process 2a and the inquiry relay process 2c, and also executes the product registration process 2a and the inquiry relay process 2c.
), it is configured to be executed by time-sharing processing.

〔作用〕[Effect]

本発明では、マスターPOS2に照会中継処理機能2c
を設けているので、スレーブPOS1はマスターPO5
2を介しホストコンピュータ3にクレジット、在庫、顧
客管理等の情報を照会することができる。
In the present invention, the master POS 2 has an inquiry relay processing function 2c.
is provided, so slave POS1 is connected to master PO5.
2, the host computer 3 can be inquired about information such as credit, inventory, customer management, etc.

又、マスターPOS2では、商品登録処理2aと照会中
継処理2cとを時分割で実行しているので、スレーブP
OS12〜1nからの照会に対し、商品登録処理2aを
中止することな(、照会中継を実行することができる。
In addition, since the master POS 2 executes the product registration process 2a and the inquiry relay process 2c in a time-sharing manner, the slave P
In response to inquiries from the OSs 12 to 1n, inquiry relay can be executed without canceling the product registration process 2a.

即ち、マスターPOS2は、商品登録処理を行ないつつ
照会中継処理が実行でき、マスターPOS2で中継処理
を行っても、マスターPOS 2の商品登録処理の実行
を可能としている。
That is, the master POS 2 can execute the inquiry relay process while performing the product registration process, and even if the master POS 2 performs the relay process, the master POS 2 can execute the product registration process.

〔実施例〕〔Example〕

+al−実施例の構成の説明 第2図は本発明の一実施例構成図である。 +al-Explanation of the configuration of the embodiment FIG. 2 is a configuration diagram of an embodiment of the present invention.

図中、第8図及び第1図で示したものと同一のものは同
一の記号で示してあり、10はPOSターミナルの主制
御部であり、マイクロコンピュータで構成され、商品登
録処理、電文作成処理、電文解析処理等を行うもの、1
0aはメモリであり、主制御部(以下cpuと称す)1
0の処理に必要なプログラムを格納するとともに、商品
登録処理によって登録された商品の商品登録ファイルを
有するものである。
In the figure, the same parts as those shown in Fig. 8 and Fig. 1 are indicated by the same symbols, and 10 is the main control section of the POS terminal, which is composed of a microcomputer and performs product registration processing and message creation. Those that perform processing, message analysis processing, etc., 1
0a is a memory, main control unit (hereinafter referred to as CPU) 1
In addition to storing the programs necessary for processing 0, it also has product registration files for products registered through product registration processing.

11はキーボードであり、商品入カキ−、テンキー、照
会操作キー、各種ファンクションキー等を備えるもの、
12はプリンタであり、レシート/ジャーナルに印字を
行い、レシートを発行するもの、13はスキャナであり
、商品等に付されたバーコードをスキャンしてデータ入
力するもの、14は回線制御部であり、回線lを介しマ
スターPOS2と交信するため設けられたもの、15は
キャッシュドロワであり、現金等を収納しておくための
もの、16はディスプレイであり、入力データや処理結
果等を表示するもの、17は磁気カートリーダであり、
顧客から示されたクレジットカード、銀行カード等のカ
ードの磁気ストライプ上のデータを読取るためのもの、
18はバスであり、CPUl0とメモリ10a、キーボ
ード11、プリンタ12、スキャナ13、回線制御部1
4、キャッシュドロワ15、ディスプレイ16及び磁気
カードリーダ17とを接続するものである。
11 is a keyboard, which includes a product input key, a numeric keypad, an inquiry operation key, various function keys, etc.;
12 is a printer that prints on a receipt/journal and issues a receipt; 13 is a scanner that scans barcodes attached to products and inputs data; 14 is a line control unit. , which is provided for communicating with the master POS 2 via line l; 15 is a cash drawer for storing cash, etc.; 16 is a display for displaying input data, processing results, etc. , 17 is a magnetic cart reader;
For reading data on the magnetic stripe of credit cards, bank cards, etc. indicated by customers;
18 is a bus, which includes a CPU 10, a memory 10a, a keyboard 11, a printer 12, a scanner 13, and a line control unit 1.
4. Connects the cash drawer 15, display 16, and magnetic card reader 17.

従って、スレーブPOS1aは、入力手段としてキーボ
ード11、スキャナ13及び磁気カードリーダ17を、
出力手段としてプリンタ12及びディスプレイ16を有
し、CPUl0はこれらの入力手段の入力に応じて商品
登録処理、電文作成処理を行い、メモリlOaの商品登
録ファイルに入力商品の登録を行うとともに、回線制御
部14を介しマスターPOS2と交信するものである。
Therefore, the slave POS 1a uses the keyboard 11, scanner 13, and magnetic card reader 17 as input means.
It has a printer 12 and a display 16 as output means, and the CPU 10 performs product registration processing and message creation processing in accordance with the input from these input means, registers the input product in the product registration file in the memory IOa, and also performs line control. It communicates with the master POS 2 via the section 14.

尚、図では、POSターミナル1aの構成のみ示してい
るが、他のPOSターミナル1b〜1nも同一構成であ
る。
Although the figure only shows the configuration of the POS terminal 1a, the other POS terminals 1b to 1n also have the same configuration.

20はマスターPOSターミナルの主制御部でアリ、マ
イクロコンピュータで構成され、スレーブPOS1aの
CPUI Oと同様に商品登録処理を行うとともに照会
中継処理を時分割処理によって実行するもの、21はメ
モリであり、主制御部(以下CPUと称す)20の処理
に必要なプログラムを格納するとともに、対ホスト3、
対スレーブPOS1a〜1nとの送受信のためのハソフ
ァ21aと、第3図にて後述する照会中継処理を行うた
めの端末管理テーブル21bと、商品登録ファイル21
Cとを有するものである。22はキーボードであり、商
品入カキ−、テンキー、ファンクションキー等を備える
もの、23はプリンタであり、レシート/ジャーナルに
印字を行い、レシートを発行するもの、24はスキャナ
であり、商品等に付されたバーコードをスキャンしてデ
ータ入力するもの、25は回線制御部であり、回線lを
介しスレーブPO51a〜1nと交信するため設けられ
たもの、26はキャッシュドロワであり、現金等を収納
しておくためのもの、27はディスプレイであり、入力
データや処理結果等を表示するもの、2日は磁気カード
リーダであり、顧客から示されたクレジットカード、銀
行カード等のカードの磁気ストライプ上のデータを読取
るためのもの、29はモデムであり、NCU(Ilil
制御装置)内蔵型オートダイヤリングモデムで構成され
、ホスト3と電話回線TIを介し接続し、電文のやりと
りを行うもの、BUSはバスであり、CPU20とメモ
リ21、キーボード22、プリンタ23、−スキャナ2
4、回線制御部25、キャッシュドロワ26、ディスプ
レイ27、磁気カードリーダ28、モデム29とを接続
するものである。
20 is the main control unit of the master POS terminal, which is composed of a microcomputer, and performs product registration processing as well as inquiry relay processing by time-sharing processing in the same way as the CPU I O of the slave POS 1a; 21 is a memory; It stores programs necessary for the processing of the main control unit (hereinafter referred to as CPU) 20, and also stores programs for the host 3,
A hardware sofa 21a for transmitting and receiving data to and from the slave POS 1a to 1n, a terminal management table 21b for performing inquiry relay processing, which will be described later in FIG. 3, and a product registration file 21.
C. 22 is a keyboard, which is equipped with a product entry key, a numeric keypad, function keys, etc.; 23 is a printer, which prints on a receipt/journal and issues a receipt; and 24 is a scanner, which is used to attach items to products, etc. 25 is a line control unit provided for communicating with the slave POs 51a to 1n via line 1, and 26 is a cash drawer for storing cash, etc. 27 is a display that displays input data and processing results, and 2 is a magnetic card reader that reads information on the magnetic stripe of credit cards, bank cards, etc. shown by customers. 29 is a modem for reading data, and NCU (Ilil
Control device) Consists of a built-in auto-dialing modem, connects to the host 3 via telephone line TI, and exchanges messages; BUS is a bus; CPU 20, memory 21, keyboard 22, printer 23, - scanner 2
4. It connects the line control section 25, cash drawer 26, display 27, magnetic card reader 28, and modem 29.

第3図は第2図構成のマスターPOS2における端末管
理テーブルの構成図である。
FIG. 3 is a diagram showing the configuration of the terminal management table in the master POS 2 having the configuration shown in FIG.

端末管理テーブル21bは、各デバイスアドレス“00
″〜′n″に対応してレジNO1が登録され、且つ照会
電文を受信したか否かの受信フラグと、ホストコンピュ
ータ3へ照会中であるが否かの照会フラグとを対応表と
して構成されている。
The terminal management table 21b has each device address “00
The register No. 1 is registered corresponding to "~'n", and the reception flag indicating whether an inquiry message has been received or not, and the inquiry flag indicating whether an inquiry is being made to the host computer 3 are configured as a correspondence table. ing.

例えば、デバイスアドレス“00”はマスターPOS2
に対応し、デバイスアドレス“ol”はスレーブPOS
1aに対応する。
For example, device address “00” is master POS2
, the device address “ol” is the slave POS
Corresponds to 1a.

この照会電文受信フラグは、マスターPOS2が自己又
はスレーブPOS1a〜1nから照会電文を受信した時
にオン“1”にセットされ、対応するホストコンピュー
タ3からの応答電文を全部当該POS1a〜Inに送信
終了時あるいは、マスク−POS2からのポーリングに
対し、スレーブPOS1a〜1nが応答を返さない時に
リセット“0”とされる。
This inquiry message reception flag is set to "1" when the master POS 2 receives an inquiry message from itself or from the slave POS 1a to 1n, and when all response messages from the corresponding host computer 3 have been sent to the POS 1a to In. Alternatively, it is reset to "0" when the slave POSs 1a to 1n do not return a response to polling from the mask-POS2.

又、対HO3TO3中フラグは、照会電文をホストコン
ピュータ3に送信する直前にセット“1”され、応答の
最終電文をスレーブPOS1a〜Inに送信し終った時
に、あるいはマスターPOS2からのポーリングに対し
、スレーブPOS1a〜Inが応答を返さない時にリセ
ット“0″される。
In addition, the flag for HO3 TO3 is set to "1" immediately before sending the inquiry message to the host computer 3, and when the final message of the response has been sent to the slave POS 1a to In or in response to polling from the master POS 2, It is reset to "0" when the slave POS 1a-In does not return a response.

従って、マスターPOS 2は、入力手段としてキーボ
ード22、スキャナ24及び磁気カードリーダ28を、
出力手段としてプリンタ23及びディスプレイ16を有
し、CPU20はこれらの入力手段の入力に応じて商品
登録処理、電文作成処理を行い、メモリ21の商品登録
ファイル21Cに入力商品の登録を行う。
Therefore, the master POS 2 uses a keyboard 22, a scanner 24, and a magnetic card reader 28 as input means.
It has a printer 23 and a display 16 as output means, and the CPU 20 performs product registration processing and message creation processing in response to input from these input means, and registers the input product in the product registration file 21C of the memory 21.

又、マスターPOS2は、回線制御部25よりポーリン
グ制御によってスレーブPOS1a〜1nと交信すると
ともに、モデム29により電話回線1Mを介しホストコ
ンピュータ3と交信して照会中継処理を行うものである
Further, the master POS 2 communicates with the slave POS 1a to 1n through polling control from the line control unit 25, and communicates with the host computer 3 via the telephone line 1M using the modem 29 to perform inquiry relay processing.

(bJ=実施例の全体動作の説明 第4図はマスターPOSにおける時分割処理の説明図、
第5図は照会中継処理の説明図である。
(bJ=Explanation of the overall operation of the embodiment FIG. 4 is an explanatory diagram of time-sharing processing in the master POS,
FIG. 5 is an explanatory diagram of inquiry relay processing.

先づ、マスターPOS2及び各スレーブPOS1a〜1
nの商品登録動作は、オペレータがキーボード22又は
11、スキャナ24又は13より販売商品の単品コード
を入力することによって、CPUI Oは商品登録処理
、即ち、単品コードの読取り、入力編集、小計演算を行
う。そしてオペレータのキーボード22又は11からの
合計キーの押下をCPUl0が検知して、係る入力され
た商品をメモリ21の商品登録ファイル21cに格納し
、且つプリンタ27又は12よりレシートを発行する。
First, master POS2 and each slave POS1a~1
In the product registration operation of n, the operator inputs the single item code of the sales item using the keyboard 22 or 11 or the scanner 24 or 13, and the CPU I O performs the product registration process, that is, reading the single item code, input editing, and subtotal calculation. conduct. Then, the CPU 10 detects when the operator presses the total key from the keyboard 22 or 11, stores the input product in the product registration file 21c of the memory 21, and issues a receipt from the printer 27 or 12.

マスターPOS2は第4図に示す如く、入力に対する商
品登録処理を行ない、処理完了又は処理要求がないと、
照会中継処理に移り、照会中継処理においてスレーブP
O51a〜1n又はホストコンピュータ3からの受信待
となると、商品登録処理に戻る。
As shown in Figure 4, the master POS 2 performs product registration processing in response to the input, and if the processing is completed or there is no processing request,
Moving on to inquiry relay processing, the slave P
When waiting for reception from the O51a to 1n or the host computer 3, the process returns to the product registration process.

一方、スレーブPOS1a〜Inでは、照会を行う時は
、応答を得るまで商品登録処理が中止される。
On the other hand, when an inquiry is made in the slave POSs 1a-In, the product registration process is stopped until a response is received.

この照会は、クレジット照会では、磁気カードリーダ1
7によって顧客のカードを読取らせる又はキーボード1
1から口座(会員)番号を入力することによって、CP
UI Oがクレジット照会電文を作成し、在庫照会では
、品番をスキャナ13で読取らせる又はキーボード11
から入力することによって、CPUl0が在庫照会電文
を作成し、顧客照会では、顧客番号をスキャナ13又は
キーボード11から入力することによってCPUI O
が顧客照会電文を作成する。
For credit inquiries, this inquiry is performed using the magnetic card reader 1.
7 to read the customer's card or keyboard 1
CP by entering the account (membership) number from 1.
The UI O creates a credit inquiry message, and for inventory inquiry, reads the product number with the scanner 13 or with the keyboard 11.
The CPU 10 creates an inventory inquiry message by inputting it from the scanner 13 or the keyboard 11.
creates a customer inquiry message.

マスターPOS2のCPU20は、照会中継処理におい
て、5−pos回線制御を起動し、回線制御部25より
ポーリング制御によって各スレーブPOS1a〜1nの
照会電文をを無を調べ、各スレーブpos i a〜1
nのいずれかから照会電文を受けると、5−pos回線
lを切断し、第5図(B)の如くホスト回線Tβをモデ
ム29を介し起動し、ホストコンピュータ3に照会電文
を中継する。
In the inquiry relay process, the CPU 20 of the master POS 2 activates 5-pos line control, checks the inquiry messages of each slave POS 1a to 1n by polling control from the line control unit 25, and sends each slave POS 1a to 1n.
When an inquiry message is received from any of the host computers 3, the 5-pos line 1 is disconnected, the host line Tβ is activated via the modem 29 as shown in FIG. 5(B), and the inquiry message is relayed to the host computer 3.

ホストコンピュータ3から第5図(A)に示す如く応答
電文が到来すると、再び5−pos回線制御を起動し、
照会のあったスレーブPOS1a〜Inに応答電文を送
信する。
When a response message arrives from the host computer 3 as shown in FIG. 5(A), the 5-pos line control is started again,
A response message is sent to the slave POS 1a to In that received the inquiry.

従って、マスターPOS2のCPU20は照会中継処理
においてスレーブPOS1a〜1nに対するs −’p
 o s回線制御と、ホストコンピュータ3に対するホ
スト回線制御を交互に実行し、各制御において受信待ち
の状態が生じると、商品登録処理に戻る。
Therefore, the CPU 20 of the master POS 2 performs s −'p for the slave POS 1a to 1n in the inquiry relay process.
os line control and host line control for the host computer 3 are executed alternately, and when a reception wait state occurs in each control, the process returns to the product registration process.

(C)照会中継処理の説明 第6図(A)、(B)はマスターposの照会中継処理
フロー図である。
(C) Description of Inquiry Relay Processing FIGS. 6(A) and 6(B) are flowcharts of inquiry relay processing of the master POS.

■CPU20は回線制御部25を起動して、5−PO5
回線βより各スレーブPOS1a 〜Inにポーリング
をかける。
■The CPU 20 starts the line control unit 25 and
Polling is applied to each slave POS 1a to In from line β.

このポーリングに対し、各スレーブPOS1a〜1nは
照会電文がある時は、照会電文を5−POS回Ill 
lに送信するから、回線制御部25は照会電文の受信を
監視する。
In response to this polling, each slave POS 1a to 1n sends the inquiry message 5-POS times when there is an inquiry message.
1, the line control unit 25 monitors reception of the inquiry message.

■ポーリングしてから、一定時間照会電文がないと、受
信なしく受信待ち)として、CPU20は商品登録処理
に戻り、商品登録処理を終了すると、ステップ■に戻る
(2) If there is no inquiry message for a certain period of time after polling, the CPU 20 returns to the product registration process (no reception and waits for reception), and when the product registration process is completed, returns to step (2).

■一方、照会電文を回線制御部25が受信すると、CP
U20は受信照会電文を送受信バッファ21aの対5−
pos受信バツフアに格納し、端末管理テーブル21b
の当該スレーブPO5(S−PO5iと称す)に対応す
る受信フラグをオ・ン′1”とする。
■On the other hand, when the line control unit 25 receives the inquiry message, the CP
The U20 transmits the received inquiry message to the pair 5- of the sending/receiving buffer 21a.
Stored in the POS reception buffer and stored in the terminal management table 21b
The reception flag corresponding to the slave PO5 (referred to as S-PO5i) is turned on '1''.

そして、回線制御部25の5−pos回線制御を強制終
了させ、ディスプレイ27に“照会中”であることを表
示する。
Then, the 5-pos line control of the line control unit 25 is forcibly terminated, and the display 27 displays "inquiring".

0次に、CPU20は、端末管理テーブル21bのS 
 POS+に対応する照会フラグをオン“1″とし、ホ
スト回線制御に入る。即ち、対ホスト回線が接続済かを
調べ、接続済でなければ、ホスト回線送信起動し、モデ
ム29により自動ダイヤリングせしめ公衆回線TI!よ
りホストコンピュータ3を呼出し、ホストコンピュータ
3と回線接続する。これとともに、送受信バッファ21
aの対5−pos受信バツフアの照会電文を対ホスト送
信バッファに移し、照会電文をモデム29を介しホスト
コンピュータ3に送信する。
0 Next, the CPU 20 selects S of the terminal management table 21b.
Turn on the inquiry flag corresponding to POS+ to "1" and enter host line control. That is, it is checked whether the line to the host is already connected, and if it is not, the host line transmission is started, and the modem 29 automatically dials the public line TI! The host computer 3 is called up and a line connection is established with the host computer 3. Along with this, the transmitting/receiving buffer 21
The inquiry message in the pair 5-pos reception buffer of a is transferred to the host-to-host transmission buffer, and the inquiry message is transmitted to the host computer 3 via the modem 29.

そして、CPU20はモデム29に対しホスト回線受信
起動を行う。
Then, the CPU 20 activates the modem 29 to receive the host line.

■CPU20は、モデム29を介しホストコンピュータ
3から応答を監視し、一定時間応答受信がないと、応答
待ちとして、商品登録処理に戻り、商品登録処理を終了
すると、再びステップ■に戻ってくる。
(2) The CPU 20 monitors the response from the host computer 3 via the modem 29, and if no response is received for a certain period of time, the CPU 20 waits for a response and returns to the product registration process, and when the product registration process is completed, returns to step (2) again.

■一方、ホストコンピュータ3から応答電文が到来する
と、ホスト受信処理を終了し、応答電文は送受信バッフ
ァ21aの対ホスト受信バッファに格納される。
(2) On the other hand, when a response message arrives from the host computer 3, the host reception process is terminated and the response message is stored in the host-to-host reception buffer of the transmission/reception buffer 21a.

CPU20はこの格納された応答電文を調べ、応答電文
が終了コードでない応答データであれば、これを送受信
バッファ21aの対5−POS受信ハソフアに移し、回
線制御部25に5−pos回線起動を行い、該当5−P
03iに5−POS回線回線的応答電文を送信する。
The CPU 20 examines this stored response message, and if the response message is response data that is not an end code, transfers it to the 5-POS reception area of the transmission/reception buffer 21a, and causes the line control unit 25 to activate the 5-POS line. , applicable 5-P
A 5-POS line response message is sent to 03i.

次に、回線制御部25は、係る5−Posi以外のS 
(スレーブ)−PO5に対し、ポーリングを発する。
Next, the line control unit 25 controls the S other than the 5-Posi.
(Slave) - Issues polling to PO5.

■回線制御部25は、ポーリングを発してから一定時間
照会電文の有無を監視し、これをCPU20に報告する
(2) The line control unit 25 monitors the presence or absence of an inquiry message for a certain period of time after issuing polling, and reports this to the CPU 20.

このポーリングに対し、一定時間内に照会電文が回線制
御部25に到来すると、当該照会電文の発した5−PO
S(S−POSjとする)に対し、CP tJ 20は
端末管理テーブル21bの受信フラグをオンとし、回線
制御部25より5−P03jにWACK(ウェイト)電
文を送信し、照会中継を待たせる。
In response to this polling, when an inquiry message arrives at the line control unit 25 within a certain period of time, the 5-PO issued by the inquiry message is
The CP tJ 20 turns on the reception flag of the terminal management table 21b for the S (S-POSj), transmits a WACK (wait) message from the line control unit 25 to the 5-P03j, and makes the inquiry relay wait.

逆にこのポーリングに対し、いずれのスレーブPOSか
らも照会電文が到来しないと、CPU20は端末管理テ
ーブル21bの照会中5−P03i以外の受信フラグを
リセットする。
Conversely, if no inquiry message arrives from any slave POS in response to this polling, the CPU 20 resets the reception flags other than inquiry 5-P03i in the terminal management table 21b.

■そして、CPU20は対5−POS回線処理を終了し
、再び対ホスト受信処理を起動し、ステップ■に戻る。
(2) Then, the CPU 20 ends the 5-POS line processing, starts the host reception processing again, and returns to step (2).

■一方、ステップ■で応答電文が終了コードと判定する
と、CPtJ20は5−P03iの照会終了と判定し、
端末管理テーブル21bのs−p。
■On the other hand, if the response message is determined to be an end code in step ■, CPtJ20 determines that the inquiry of 5-P03i is completed,
sp of the terminal management table 21b.

Siの照会フラグ、受信フラグをリセットする。Resets the inquiry flag and reception flag of Si.

0次に、CPU20は端末管理テーブル21bの受信フ
ラグ欄を参照し、照会待ち5−POSが有るかを調べる
Next, the CPU 20 refers to the reception flag column of the terminal management table 21b and checks whether there is a 5-POS waiting for inquiry.

照会待ち5−POSが有れば、第6図(A)のステップ
■に戻る。
If there is a 5-POS waiting for inquiry, the process returns to step (2) in FIG. 6(A).

一方、照会待ち5−POSがなければ、CPU20はデ
ィスプレイ27の照会中表示を消去し、モデム29にホ
スト回線切断を命じて、ステップ■に戻る。
On the other hand, if there is no 5-POS waiting for inquiry, the CPU 20 erases the inquiry display on the display 27, instructs the modem 29 to disconnect the host line, and returns to step (2).

このようにして、マスターPOS2においては、5−p
os回線制御、ホスト回線制御を交互に行なってスレー
ブPOSからの照会電文の中継送信とホストコンピュー
タ3からの応答電文の中継を行う。
In this way, in the master POS2, the 5-p
OS line control and host line control are performed alternately to relay the inquiry message from the slave POS and relay the response message from the host computer 3.

そして端末管理テーブル21bを用いて、いずれのスレ
ーブPOSから照会があったかを把握できるようにし、
且つ、−のスレーブPOSの照会中に他のスレーブPO
Sから照会があると、これを受信フラグとして残してお
き、照会中のスレーブPOSの照会終了後ホスト回線を
切断することなく、当該他のスレーブPOSからの照会
を行うようにしている。従って、照会を継続する場合は
、ホスト回線を切断せずに引き続き行うため、回線利用
コストを低減できる。又、−のスレーブPOSの照会中
に、他のスレーブPO5から照会があると、他のスレー
ブPOSにウェイト電文を送信し、照会を待たせ、他の
スレーブPOSではこのウェイト電文に応して照会を中
止するか否かを判断できるようにしている。
Then, by using the terminal management table 21b, it is possible to understand which slave POS has made the inquiry,
and - while querying slave POS, other slave POS
When there is an inquiry from S, this is left as a reception flag, and after the inquiry of the slave POS being queried is completed, the inquiry is made from the other slave POS without disconnecting the host line. Therefore, if the inquiry is to be continued, the host line is not disconnected and the line usage cost can be reduced. Also, if there is an inquiry from another slave POS while the - slave POS is making an inquiry, it will send a wait message to the other slave POS, making it wait for the inquiry, and the other slave POS will make the inquiry in response to this wait message. This allows them to decide whether or not to cancel the event.

第7図はスレーブPOSの照会処理フロー図である。FIG. 7 is a flowchart of inquiry processing of the slave POS.

■スレーブPOS1aでは、照会を行うため、キーボー
ド11より照会内容(クレジット照会等)を入力し、商
品登録処理を中止する。
(2) In the slave POS 1a, in order to make an inquiry, the details of the inquiry (credit inquiry, etc.) are input from the keyboard 11, and the product registration process is canceled.

次に、キーボード11又はスキャナ13又は磁気カード
リーダ17より照会データ(口座番号、商品コード、顧
客番号等)を入力する。
Next, inquiry data (account number, product code, customer number, etc.) is input using the keyboard 11, scanner 13, or magnetic card reader 17.

CPUI Oは、これによって照会電文を編集する。CPUI O edits the inquiry message based on this.

■回線制御部14は、マスターPO52からポーリング
を監視し、ポーリングを受けるとCPU10は照会電文
を回線制御部14を介しs−p。
(2) The line control unit 14 monitors polling from the master PO 52, and upon receiving polling, the CPU 10 sends an inquiry message to sp via the line control unit 14.

S回線!へ送信する。S line! Send to.

■CPUl0はこの送信後、応答電文受信待ちの状態と
なり、回線制御部14からの応答電文受信を待つ。
(2) After this transmission, the CPU 10 enters a state of waiting for reception of the response message, and waits for reception of the response message from the line control unit 14.

■cputoは回線制御部14から応答電文受信を受け
ると、これをメモリ10aに格納し、分析する。
(2) When cputo receives a response message from the line control unit 14, it stores it in the memory 10a and analyzes it.

この応答電文がホストコンピュータ3からマスターPO
S 2を中継したものであると判定すると、cpuio
はこの応答電文をメモリ10aの応答格納エリアに転送
する。
This response message is sent from the host computer 3 to the master PO.
If it is determined that S2 was relayed, cpuio
transfers this response message to the response storage area of the memory 10a.

そして、CPUl0は前述の分析により、応答電文が最
終応答かを調べ、最終応答でなければ、ステップ■に戻
る。
Then, CPU10 checks whether the response message is the final response by the above-mentioned analysis, and if it is not the final response, returns to step (2).

■一方、CPUl0は応答電文が最終応答であれば、前
述のメモリ10aの応答格納エリアからデータを取り出
し、表示編集してディスプレイ16に送って表示せしめ
るとともに印字編集してプリンタ12に送ってレシート
/ジャーナル上に印字せしめ、照会処理を終了する。
On the other hand, if the response message is the final response, the CPU 10 retrieves the data from the response storage area of the memory 10a mentioned above, edits the data, sends it to the display 16 for display, prints it, sends it to the printer 12, and sends it to the printer 12 to generate a receipt/ Print it on the journal and end the inquiry process.

■逆に、ステップ■の分析において、CPUl0は応答
電文がマスターPOS2からのWACK電文であると判
定すると、ディスプレイ16に「お待ち下さい」を表示
せしめる。
(2) Conversely, in the analysis of step (2), when the CPU 10 determines that the response message is a WACK message from the master POS 2, it displays "Please wait" on the display 16.

これによって、オペレータはマスターPOS2が他のス
レーブPOSの照会処理中であり、自己の照会処理が待
たされることを認識できる。
This allows the operator to recognize that the master POS 2 is in the process of inquiring about other slave POSs, and that its own inquiry process will have to wait.

従って、顧客の商品登録が即座に必要な時、この照会を
取消して、商品登録処理を行うことができる。
Therefore, when a customer's product registration is required immediately, this inquiry can be canceled and the product registration process can be performed.

即ち、オペレータは、商品登録処理が必要なら、キーボ
ード11の中止キーを押下し、CPUI Oは、これに
よってプリンタ12に中止印字を行わしめ、照会処理を
終了(中止)する。
That is, if the product registration process is necessary, the operator presses the cancel key on the keyboard 11, and the CPU I O causes the printer 12 to perform cancel printing, and ends (cancels) the inquiry process.

一方、CP[Jloは一定時間経過しても中止キーが押
下されないと、ステップ■の照会電文送信ステップに戻
り、マスターPOS2からのポーリング受信毎に照会電
文を送信することになる。
On the other hand, if the stop key is not pressed even after a certain period of time has elapsed, CP[Jlo returns to the inquiry message sending step of step (2) and sends an inquiry message every time polling is received from the master POS 2.

このようにして、スレーブPOSでは、照会電文の送信
に対し、WACK電文を応答電文として受けると、照会
の中止、継続を選択でき、照会待ちによって顧客の商品
登録処理を待たせることがない。
In this way, when the slave POS receives a WACK message as a response message in response to the transmission of an inquiry message, it can choose to cancel or continue the inquiry, and the product registration process of the customer is not made to wait due to waiting for the inquiry.

又、照会の中止は、マスターPOS 2がらのポーリン
グに対し照会電文を送信しないことにより、第6図(B
)のステップ■において、マスターPOSでは端末管理
テーブル21bの受信フラグがリセットされて、マスタ
ーPOS2では照会中止を認識できる。
In addition, the inquiry can be stopped by not sending an inquiry message in response to polling from the master POS 2, as shown in Figure 6 (B).
), the reception flag of the terminal management table 21b is reset in the master POS, and the master POS 2 can recognize that the inquiry has been discontinued.

(d)他の実施例の説明 上述の実施例では、マスターPOSが商品登録処理に中
継処理の受信待ち毎に戻るようにして時分割処理してい
るが、マスターによって一定時間毎に時分割処理するよ
うにしてもよく、マスターpos、スレーブPOSとも
他の構成を用いてもよい。
(d) Description of other embodiments In the embodiments described above, the master POS performs time-sharing processing by returning to product registration processing every time it waits for reception of relay processing, but the master performs time-sharing processing at regular intervals. Alternatively, other configurations may be used for both the master POS and slave POS.

以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。
Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、商品登録処理を行
うマスターPOSに中継処理を付与しているので、スレ
ーブPOSからのホストコンピュータへの照会中継を行
うことができるという効果を奏し、マスター・スレーブ
POSシステムに対し照会機能を付与することができる
As explained above, according to the present invention, since relay processing is assigned to the master POS that performs product registration processing, it is possible to relay inquiries from the slave POS to the host computer. - An inquiry function can be added to the slave POS system.

又マスターPOSが時分割処理で商品登録処理と照会中
継処理を行うので、マスターPOSの商品登録処理を継
続しつつ照会中継が実行できるという効果を奏し、スレ
ーブPOSの照会によってマスターPOSの商品登録の
実行が不可となることを防止できる。
In addition, since the master POS performs product registration processing and inquiry relay processing in a time-sharing manner, the inquiry relay can be executed while continuing the master POS product registration processing. This can prevent execution from becoming impossible.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例構成図、 第3図は第2図構成における端末管理テーブルの構成図
、 第4図はマスターposの時分割処理説明図、第5図は
照会中継処理の説明図、 第6図はマスターPOSの照会中継処理フロー図、 第7図はスレーブPOSの照会処理フロー図、第8図は
従来技術の説明図である。 図中、l a −1n−−−−スレーブpos。 2・・・マスターpos。 2a−商品登録機能、 2c−照会中継機能、 3〜ホストコンピユータ。
Figure 1 is a diagram explaining the principle of the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, Figure 3 is a configuration diagram of a terminal management table in the configuration shown in Figure 2, and Figure 4 is time-sharing processing of master POS. Figure 5 is an explanatory diagram of inquiry relay processing, Figure 6 is a flow diagram of inquiry relay processing of master POS, Figure 7 is a flow diagram of inquiry processing of slave POS, and Figure 8 is an explanatory diagram of conventional technology. . In the figure, l a -1n --- slave pos. 2... Master pos. 2a-product registration function, 2c-inquiry relay function, 3-host computer.

Claims (1)

【特許請求の範囲】  マスターPOSにスレーブPOSが接続され、該マス
ターPOSがホストコンピュータと交信可能なPOSシ
ステムにおいて、 該マスターPOSは商品登録処理と照会中継処理とを時
分割処理によって実行するように構成され、 該スレーブPOSからの照会電文を該マスターPOSの
照会中継処理によって該ホストコンピュータに送信し、 該ホストコンピュータからの応答電文を該マスターPO
Sが受け、該照会中継処理によって該照会電文を発した
該スレーブPOSに送信することを 特徴とするPOSシステムのホスト照会処理方式。
[Claims] In a POS system in which a slave POS is connected to a master POS and the master POS can communicate with a host computer, the master POS is configured to execute product registration processing and inquiry relay processing by time-sharing processing. configured, transmits an inquiry message from the slave POS to the host computer through inquiry relay processing of the master POS, and sends a response message from the host computer to the master POS.
A host inquiry processing method for a POS system, characterized in that S receives the inquiry message and transmits it to the slave POS that issued the inquiry message through the inquiry relay processing.
JP60295333A 1985-12-27 1985-12-27 Host collation processing system for pos system Expired - Lifetime JPS62154198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60295333A JPS62154198A (en) 1985-12-27 1985-12-27 Host collation processing system for pos system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60295333A JPS62154198A (en) 1985-12-27 1985-12-27 Host collation processing system for pos system

Publications (1)

Publication Number Publication Date
JPS62154198A true JPS62154198A (en) 1987-07-09

Family

ID=17819254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60295333A Expired - Lifetime JPS62154198A (en) 1985-12-27 1985-12-27 Host collation processing system for pos system

Country Status (1)

Country Link
JP (1) JPS62154198A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6446160A (en) * 1987-08-14 1989-02-20 Nec Corp Data transmission system to center in decentralized processing system
JPH0325948U (en) * 1989-07-21 1991-03-18

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5769440A (en) * 1980-10-16 1982-04-28 Tokyo Electric Co Ltd Processing system for commodity sale data
JPS6020149A (en) * 1983-07-15 1985-02-01 Teikoku Hormone Mfg Co Ltd Immunochemical measurement method and its reagent
JPS60215297A (en) * 1984-04-10 1985-10-28 東芝テック株式会社 Credit card system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5769440A (en) * 1980-10-16 1982-04-28 Tokyo Electric Co Ltd Processing system for commodity sale data
JPS6020149A (en) * 1983-07-15 1985-02-01 Teikoku Hormone Mfg Co Ltd Immunochemical measurement method and its reagent
JPS60215297A (en) * 1984-04-10 1985-10-28 東芝テック株式会社 Credit card system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6446160A (en) * 1987-08-14 1989-02-20 Nec Corp Data transmission system to center in decentralized processing system
JPH0325948U (en) * 1989-07-21 1991-03-18

Similar Documents

Publication Publication Date Title
JP6090398B2 (en) I / O controller
CN101188617A (en) A flow service registration and discovery method
JP4639804B2 (en) POS system, printing apparatus, and data relay processing method
CN108416951A (en) POS terminal and control method
JPS62154198A (en) Host collation processing system for pos system
US8015066B2 (en) POS system, POS server, local terminal, method of dealing management, and recording medium
GB2516309A (en) Electronic receipts system and method
JPS62154199A (en) Host collation processing system for pos system
US20050038705A1 (en) Pos system, pos server, shop terminal, sales managing method, and recording medium
JPS62209698A (en) Selling time information managing system
JP4543890B2 (en) POS system
EA000080B1 (en) Data communication system
JPH1196221A (en) Data processor
KR102500065B1 (en) Payment system and payment method for issuing receipts and providing additional services
JP2001325537A (en) System for ordering and order reception through internet
CN101996456B (en) Replacement-free host sharing system and method
JP2018018541A (en) Commodity sales input support device and program thereof; and commodity sales processing system
JP3285507B2 (en) Merchandise sales data registration device, merchandise sales data processing system using this registration device, and message display method of this registration device
JPH0114635B2 (en)
JPH079661B2 (en) Transaction processor
JPH06164673A (en) Communication control equipment
KR20220150077A (en) System and method for issuing electronic claim ticket
JPS6356577B2 (en)
JP2002015376A (en) Point card system
KR20010037034A (en) METHOD FOR INSTITUTING TERMINAL NUMBER OF Point Of Sale(POS) SYSTEM

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term