JP3343489B2 - Product sales data processing system - Google Patents

Product sales data processing system

Info

Publication number
JP3343489B2
JP3343489B2 JP6636297A JP6636297A JP3343489B2 JP 3343489 B2 JP3343489 B2 JP 3343489B2 JP 6636297 A JP6636297 A JP 6636297A JP 6636297 A JP6636297 A JP 6636297A JP 3343489 B2 JP3343489 B2 JP 3343489B2
Authority
JP
Japan
Prior art keywords
store
control device
file
command
processor
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 - Fee Related
Application number
JP6636297A
Other languages
Japanese (ja)
Other versions
JPH10261170A (en
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.)
Toshiba TEC Corp
Original Assignee
Toshiba 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP6636297A priority Critical patent/JP3343489B2/en
Publication of JPH10261170A publication Critical patent/JPH10261170A/en
Application granted granted Critical
Publication of JP3343489B2 publication Critical patent/JP3343489B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、量販店向けのPO
S(Point Of Sales:販売時点情報管理)システムとし
て利用される商品販売データ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PO
The present invention relates to a merchandise sales data processing system used as an S (Point Of Sales: point of sale information) system.

【0002】[0002]

【従来の技術】一般に、食料品売場,衣料品売場,日用
雑貨品売場などを備えた量販店には、各売場にサーバコ
ンピュータなどからなるファイル制御装置をそれぞれ設
置し、この各ファイル制御装置に同一売場内の商品販売
登録用端末,いわゆるPOSターミナルをSDLC(Sy
nchronous Data Link Control )回線などの通信回線で
接続するとともに、店舗事務所などにホストコンピュー
タなどからなるストア制御装置を設置し、このストア制
御装置に各売場のファイル制御装置をLAN(Local Ar
ea Network)等の通信回線で接続して、各POSターミ
ナルでの商品販売登録業務をストア制御装置で集中管理
するようにした商品販売データ処理システム、いわゆる
POSシステムが構築されている。
2. Description of the Related Art Generally, in a mass merchandise store having a grocery store, a clothing store, a daily necessities store, etc., a file control device comprising a server computer or the like is installed in each store, and each file control device is installed. A terminal for product sales registration in the same sales floor, a so-called POS terminal, using SDLC (Sy
In addition to connecting via a communication line such as an nchronous data link control (LAN) line, a store control device such as a host computer is installed in a store office or the like, and a file control device for each sales floor is connected to the store control device via a LAN (Local Arrangement)
A so-called POS system has been constructed in which a merchandise sales data processing system is connected by a communication line such as ea Network) and centralized management of merchandise sales registration at each POS terminal is performed by a store control device.

【0003】このようなPOSシステムを構築した量販
店では、営業日の開店前に当日の売価変更データやその
他の必要データを各POSターミナルに設定しておく必
要があり、このような業務を開店業務と称している。ま
た、閉店後には各POSターミナルにて登録された各商
品の販売データを集計して店舗全体や売場別の売上デー
タを算出する必要があり、このような業務を閉店業務と
称している。
[0003] In a mass merchandising store in which such a POS system is constructed, it is necessary to set the selling price change data and other necessary data of the day in each POS terminal before the opening of the business day. It is called business. Further, after the store is closed, it is necessary to calculate sales data for the entire store and each sales floor by summing up the sales data of each product registered at each POS terminal, and such a business is referred to as a store closing business.

【0004】従来のこの種のPOSシステムにおいて
は、ストア制御装置の制御により、各ファイル制御装置
がそれぞれ回線接続された各POSターミナルに対して
開・閉店業務を行うシステムと、各ファイル制御装置が
それぞれ単独で回線接続された各POSターミナルに対
して開・閉店業務を行うシステムとがあった。
In a conventional POS system of this type, a system in which each file control device performs opening / closing operations for each POS terminal connected to a line under the control of a store control device, and a system in which each file control device operates. There is a system that performs opening and closing operations for each POS terminal that is independently connected to a line.

【0005】前者のストア制御装置主導のシステムは、
ストア制御装置が各ファイル制御装置の開店業務と閉店
業務の実行タイミングを制御するプログラムを搭載し、
そのプログラムに基づいて各ファイル制御装置に開店業
務及び閉店業務の制御コマンドを適時送信する。これに
より、各ファイル制御装置が、ストア制御装置から開店
業務の制御コマンドを受信した場合にはそれに同期して
設定データファイルに記憶された売価変更データなどを
回線接続した各POSターミナルにダウンロードするな
どの開店業務を実行し、閉店業務の制御コマンドを受信
した場合にはそれに同期して回線接続した各POSター
ミナルから登録処理された各商品の販売データなどを収
集し売上データファイルに集計記憶する等の閉店業務を
実行するようになっていた。
[0005] The former store control device-driven system comprises:
The store control device is equipped with a program for controlling the execution timing of the opening and closing operations of each file control device,
Based on the program, control commands for opening and closing operations are transmitted to each file control device in a timely manner. Accordingly, when each file control device receives a control command for opening a store from the store control device, it synchronously downloads the selling price change data and the like stored in the setting data file to each POS terminal connected to the line. When the control command for the store closing operation is received and the control command for the store closing operation is received, the sales data and the like of each registered product are collected from each POS terminal connected to the line in synchronization with the control command, and the sales data file is totaled and stored. Was to be closed.

【0006】他方、後者のファイル制御装置単独のシス
テムは、各ファイル制御装置に開店業務及び閉店業務の
開始時刻を予め設定しておく。そして、各ファイル制御
装置がタイマー時刻を監視し、開店業務の開始時刻にな
ると上記と同様の開店業務を実行し、閉店業務の開始時
刻になると上記と同様の閉店業務を実行するようになっ
ていた。
On the other hand, in the latter system using only a file control device, the start times of opening and closing operations are set in advance in each file control device. Then, each file control device monitors the timer time, and executes the same opening operation as described above when the opening time of the opening operation is reached, and executes the same closing operation as described above when the starting time of the closing operation is reached. Was.

【0007】[0007]

【発明が解決しようとする課題】このように、従来のこ
の種のPOSシステムにおいて開・閉店業務の制御方法
としては、ストア制御装置主導の制御方法とファイル制
御装置単独の制御方法とがあり、ストア制御装置主導の
場合には、ストア制御装置が、各ファイル制御装置の設
定データファイルに売価変更データを追加したり、各フ
ァイル制御装置の売上データファイルに集計されたデー
タを収集する等のファイルメンテナンスを適時行うこと
ができる利点があるものの、ストア制御装置の異常や、
ストア制御装置と各ファイル制御装置とを結ぶ通信回線
に障害が発生したために上記開・閉店業務の制御コマン
ドを送信できなくなると、開店業務や閉店業務が実行さ
れなくなり、店舗運営に支障を来たすという課題があっ
た。
As described above, in this type of conventional POS system, as a control method of opening / closing business, there are a control method led by a store control device and a control method solely by a file control device. In the case of the store control device, the store control device adds the selling price change data to the setting data file of each file control device or collects the data aggregated in the sales data file of each file control device. Although there is an advantage that maintenance can be performed in a timely manner, abnormalities in the store control device,
If a failure occurs in the communication line connecting the store control device and each file control device and the control command for the opening / closing operation cannot be transmitted, the opening and closing operations will not be executed, which will hinder the store operation. There were challenges.

【0008】他方、ファイル制御装置単独の制御方法の
場合には、上記課題は解消されるものの、ストア制御装
置が常に各ファイル制御装置を監視して開・閉店業務が
正常に実行されたかチェックし、それに基づいて各ファ
イル制御装置に対するファイルメンテナンスを行わなけ
ればならないという面倒があった。
On the other hand, in the case of the control method using only the file control device, although the above-mentioned problem is solved, the store control device always monitors each file control device to check whether the opening / closing operation has been executed normally. However, it is troublesome to perform file maintenance for each file control device based on the above.

【0009】本発明はこのような事情に基づいてなされ
たもので、その目的とするところは、ストア制御装置の
正常時にはストア制御装置主導で開・閉店業務を制御
し、ストア制御装置異常時にはファイル制御装置単独で
開・閉店業務を制御するようにして、ストア制御装置の
負荷が増大することなく開・閉店業務を安定に実行でき
る商品販売データ処理システムを提供しようとするもの
である。
The present invention has been made in view of such circumstances. It is an object of the present invention to control the opening / closing operation under the control of the store control device when the store control device is normal, and to control the file opening and closing operation when the store control device is abnormal. An object of the present invention is to provide a merchandise sales data processing system capable of stably executing opening / closing operations without increasing the load on the store control device by controlling the opening / closing operations by the control device alone.

【0010】[0010]

【課題を解決するための手段】本願請求項1に係る発明
は、ストア制御装置に第1の通信手段を介してファイル
制御装置を接続し、このファイル制御装置に第2の通信
手段を介して複数台の商品販売登録用端末を接続してな
り、ストア制御装置から第1の通信手段を介して与えら
れる制御コマンドに同期してファイル制御装置が開店業
務及び閉店業務を行うようにした商品販売データ処理シ
ステムにおいて、ファイル制御装置に、現在時刻を計時
する計時手段と、予め設定された前記開店業務及び閉店
業務の各開始時刻を記憶する時刻記憶手段と、ストア制
御装置の動作状態を監視する動作監視手段とを設け、動
作監視手段によりストア制御装置の正常状態を検知して
いる間はストア制御装置から与えられる制御コマンドに
同期して開店業務及び閉店業務を実行し、動作監視手段
によりストア制御装置の異常状態を検知している間は計
時手段により計時される現在時刻が時刻記憶手段により
記憶した開始時刻に到達したかチェックし、開店業務の
開始時刻に到達した場合には開店業務を、閉店時刻の開
始時刻に到達した場合には閉店業務を開始するようにし
たものである。
According to the first aspect of the present invention, a file control device is connected to a store control device via a first communication means, and the file control device is connected to the file control device via a second communication means. Commodity sales in which a plurality of merchandise sales registration terminals are connected, and the file control device performs store opening and closing operations in synchronization with a control command given from the store control device via the first communication means. In the data processing system, the file control device has a clock unit for measuring the current time, a time storage unit for storing preset start times of the opening and closing operations, and monitoring an operation state of the store control device. Operation monitoring means is provided, and while the normal state of the store control device is detected by the operation monitoring means, the store is opened in synchronization with a control command given from the store control device. And while the operation monitoring means detects an abnormal state of the store control device, it checks whether the current time measured by the time keeping means has reached the start time stored by the time storage means, and opens the store. , The store opening operation is started when the start time is reached, and the store closing operation is started when the start time of the store closing time is reached.

【0011】本願請求項2に係る発明は、上記請求項1
に係る発明において、動作監視手段を、ファイル制御装
置から第1の通信回線を介してストア制御装置に定期的
に動作状態確認用のコマンドを送信し、その応答コマン
ドの有無を監視する手段とし、ストア制御装置は、応答
コマンドに開店業務及び閉店業務の同期をとる制御コマ
ンドを付加するようにしたものである。
[0011] The invention according to claim 2 of the present application is the above-described claim 1.
In the invention according to the invention, the operation monitoring means is a means for periodically transmitting an operation state confirmation command from the file control device to the store control device via the first communication line, and monitoring the presence or absence of a response command, The store control device adds a control command for synchronizing a store opening operation and a store closing operation to a response command.

【0012】[0012]

【発明の実施の形態】以下、本発明を図1に示すPOS
システムに適用した一実施の形態について、図面を参照
しながら説明する。図1において、1はストア制御装置
として機能するストアプロセッサであり、2はファイル
制御装置として機能するファイルプロセッサであって、
ストアプロセッサ1と各ファイルプロセッサ2とを、第
1の通信回線であるLAN3で接続している。また、各
ファイルプロセッサ2には、それぞれ第2の通信回線で
あるSDLC回線4を介して複数台の商品販売登録用棚
末,いわゆるPOSターミナル5を接続している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described with reference to the POS shown in FIG.
An embodiment applied to a system will be described with reference to the drawings. In FIG. 1, 1 is a store processor that functions as a store control device, 2 is a file processor that functions as a file control device,
The store processor 1 and each file processor 2 are connected by a LAN 3 which is a first communication line. Further, each file processor 2 is connected to a plurality of merchandise sales registration shelves, so-called POS terminals 5, via SDLC lines 4 as second communication lines.

【0013】前記ストアプロセッサ1は、例えばホスト
コンピュータによって構成し、少なくとも図2に示すよ
うに、主制御部を構成するCPU(Central Prosessing
Unit )11と、主記憶部を構成するROM(Read Onl
y Memoly)12及びRAM(Random Access Memoly)1
3と、現日付及び時刻を計時する時計部14と、前記L
AN3を通じてのデータ通信を制御するLAN通信コン
トローラ15と、補助記憶装置を構成するHDD(Hard
Disc Drive )装置16及びFDD(Floppy Disk Driv
e )装置17の各コントローラ16C,17Cと、キー
ボード,マウス,スキャナ,ディスプレイ,プリンタ等
の各種入出力機器を接続するI/O機器インタフェース
18とを備えている。そして、CPU11と、ROM1
2,RAM13,時計部14,LAN通信コントローラ
15,HDDコントローラ16C,FDDコントローラ
17C及びI/O機器インタフェース18とは、アドレ
スバス,データバスなどのバスライン19で電気的に接
続している。
The store processor 1 is constituted by, for example, a host computer, and at least as shown in FIG. 2, a CPU (Central Processing) constituting a main control unit.
Unit) 11 and a ROM (Read Onl) constituting a main storage unit.
y Memoly) 12 and RAM (Random Access Memoly) 1
3, a clock unit 14 for measuring the current date and time, and
A LAN communication controller 15 that controls data communication through the AN 3 and an HDD (Hard Disk) that constitutes an auxiliary storage device.
Disc Drive) device 16 and FDD (Floppy Disk Driv
e) Each controller 16C, 17C of the device 17 and an I / O device interface 18 for connecting various input / output devices such as a keyboard, a mouse, a scanner, a display, and a printer. Then, the CPU 11 and the ROM 1
2, the RAM 13, the clock unit 14, the LAN communication controller 15, the HDD controller 16C, the FDD controller 17C, and the I / O device interface 18 are electrically connected by bus lines 19 such as an address bus and a data bus.

【0014】前記ファイルプロセッサ2は、例えばサー
バコンピュータによって構成し、少なくとも図3に示す
ように、主記憶部を構成するCPU21と、主記憶部を
構成するROM22及びRAM23と、現日付及び時刻
を計時する計時手段としての時計部24と、前記LAN
3を通じてのデータ通信を制御するLAN通信コントロ
ーラ25と、前記SDLC回線4を通じてのデータ通信
を制御するSDLC通信コントローラ26と、補助記憶
装置を構成するHDD装置16のコントローラ17Cと
を備えている。そして、CPU21と、ROM22,R
AM23,時計部24,LAN通信コントローラ25,
SDLC通信コントローラ26及びHDDコントローラ
17Cとは、アドレスバス,データバスなどのバスライ
ン28で電気的に接続している。
The file processor 2 is constituted by, for example, a server computer, and at least as shown in FIG. 3, a CPU 21 constituting a main storage unit, a ROM 22 and a RAM 23 constituting a main storage unit, and clocking a current date and time. A clock unit 24 as a time measuring means for performing
3, a LAN communication controller 25 for controlling data communication through the SDLC line 3, an SDLC communication controller 26 for controlling data communication through the SDLC line 4, and a controller 17C of the HDD device 16 constituting an auxiliary storage device. Then, the CPU 21 and the ROM 22, R
AM23, clock unit 24, LAN communication controller 25,
The SDLC communication controller 26 and the HDD controller 17C are electrically connected by a bus line 28 such as an address bus and a data bus.

【0015】各ファイル制御装置2のHDD装置27に
は、開店業務にて回線接続された各POSターミナル5
にダウンロードする売価変更データなどを記憶するため
の設定データファイルFL1と、閉店業務にて回線接続
された各POSターミナル5から収集した商品販売デー
タを集計するための売上データファイルFL2とを形成
している。
The POS terminals 5 connected to the HDD device 27 of each file control device 2 for line-opening operations
A setting data file FL1 for storing sales price change data and the like to be downloaded to the customer, and a sales data file FL2 for summing up product sales data collected from each POS terminal 5 connected to the line in the closing operation. I have.

【0016】また、各ファイル制御装置2のRAM23
には、図4に示すように、開店業務開始時刻の設定エリ
アR1、閉店業務開始時刻の設定エリアR2、送信タイ
マ設定値の設定エリアR3、タイマカウンタエリアR4
及びSP異常フラグFのフラグエリアR5を形成してい
る。上記SP異常フラグFは、ストアプロセッサ1の正
常時に[0]にリセットされ、異常時に[1]にセット
されるフラグである。ここに、設定エリアR1,R2は
時刻記憶手段を構成する。
The RAM 23 of each file control device 2
As shown in FIG. 4, a setting area R1 for opening a business opening time, an area R2 for setting a closing business starting time, a setting area R3 for setting a transmission timer, and a timer counter area R4.
A flag area R5 of the SP abnormality flag F is formed. The SP abnormal flag F is a flag that is reset to [0] when the store processor 1 is normal and is set to [1] when abnormal. Here, the setting areas R1 and R2 constitute time storage means.

【0017】このような構成のPOSシステムにおい
て、ストアプロセッサ1は、予め開店業務開始時刻,閉
店業務開始時刻及び送信タイマ設定値の各データをLA
N3を通じて各ファイルプロセッサ2のRAMエリアR
1,R2,R3にダウンロードする。ここで、各業務開
始時間及び送信タイマ設定値は、各ファイルプロセッサ
共通でもファイルプロセッサ毎に異なってもよい。
In the POS system having such a configuration, the store processor 1 preliminarily stores each data of the store opening operation start time, the store closing operation start time and the transmission timer set value in the LA.
RAM area R of each file processor 2 through N3
Download to 1, R2, R3. Here, the work start time and the transmission timer setting value may be common to each file processor or different for each file processor.

【0018】しかして、各ファイルプロセッサ2のCP
U21は、特に図5の流れ図に示す処理を実行するよう
にプログラム制御されている。すなわち、ST(ステッ
プ)1としてタイマカウンタR4のカウント動作をスタ
ートさせるとともに、ST2としてLAN通信コントロ
ーラ15の制御によりLAN3の1回線を通じてストア
プロセッサ1に所定の監視コマンドを送信する(動作監
視手段)。
Thus, the CP of each file processor 2
U21 is program-controlled to execute the processing shown in the flowchart of FIG. That is, the counting operation of the timer counter R4 is started as ST (step) 1, and a predetermined monitoring command is transmitted to the store processor 1 through one line of the LAN 3 under the control of the LAN communication controller 15 as ST2 (operation monitoring means).

【0019】これに応じて、ST3としてストアプロセ
ッサ1から応答コマンドを受信すると、ストアプロセッ
サ1の動作状態が正常と判断し、ST4としてフラグエ
リアR5のSP異常フラグFを調べ、異常状態を示す
[1]にセットされていた場合には、ST5として
[0]にリセットする。
In response, when a response command is received from the store processor 1 as ST3, it is determined that the operation state of the store processor 1 is normal, and as ST4, the SP abnormality flag F in the flag area R5 is examined to indicate an abnormal state [ If it is set to [1], it is reset to [0] as ST5.

【0020】次に、ST6として上記ストアプロセッサ
1からの応答コマンドにファイルメンテナンスのデータ
が付加されているか否かを判断する。そして付加されて
いる場合には、ST7としてそのデータに応じて設定デ
ータファイルFL1または売上データファイルFL2の
メンテナンスを行う。ST6にて応答コマンドにファイ
ルメンテナンスのデータが付加されていない場合には、
ST8として同応答コマンドに開店業務または閉店業務
の実行を指示する同期コマンドが付加されているか否か
を判断する。そして付加されている場合には、ST9と
してその同期コマンドに同期させて設定データファイル
FL1に記憶された売価変更データなどを回線接続した
各POSターミナル5にダウンロードするなどの開店業
務または回線接続した各POSターミナル5から登録処
理された各商品の販売データなどを収集し売上データフ
ァイルFL2に集計記憶する等の閉店業務を実行する。
Next, in step ST6, it is determined whether or not file maintenance data is added to the response command from the store processor 1. If it is added, the setting data file FL1 or the sales data file FL2 is maintained according to the data as ST7. If no file maintenance data is added to the response command in ST6,
In ST8, it is determined whether or not a synchronous command for instructing execution of a store opening operation or a store closing operation is added to the response command. If it is added, in ST9, in synchronization with the synchronization command, store price change data and the like stored in the setting data file FL1 are downloaded to each of the POS terminals 5 connected to the line, or each store connected to the line is connected. A store closing operation is performed such as collecting sales data of each registered product from the POS terminal 5 and totaling and storing the sales data in the sales data file FL2.

【0021】しかる後、ST10としてタイマカウンタ
R4のカウント値が設定エリアR3の送信タイマ設定値
に到達するのを待機し、到達したならばST1に戻っ
て、タイマカウンタR4のカウント動作をリスタートさ
せるとともにストアプロセッサ1に前記監視コマンドを
再送信する。
Thereafter, in step ST10, the process waits for the count value of the timer counter R4 to reach the transmission timer set value in the setting area R3, and if so, returns to ST1 to restart the counting operation of the timer counter R4. At the same time, the monitoring command is retransmitted to the store processor 1.

【0022】こうして、各ファイルプロセッサ2はスト
アプロセッサ1に対して周期的に監視コマンドを送信し
てストアプロセッサ1の動作状態を監視する。そして、
監視コマンドに対する応答コマンドを受信している間は
ストアプロセッサ2が正常と判断し、その応答コマンド
にファイルメンテナンスデータが付加されていた場合に
は設定データファイルFL1または売上データファイル
FL2のファイルメンテナンスを行い、開店業務または
閉店業務の同期コマンドが付加されていた場合にはそれ
に同期して前記開店業務または閉店業務を実行する。
Thus, each file processor 2 periodically sends a monitoring command to the store processor 1 to monitor the operation state of the store processor 1. And
While the response command to the monitoring command is being received, the store processor 2 determines that it is normal, and if the file maintenance data is added to the response command, performs the file maintenance of the setting data file FL1 or the sales data file FL2. If a synchronization command for opening or closing business is added, the opening or closing operation is executed in synchronization with the command.

【0023】これに対し、ST3にて監視コマンドに対
する応答コマンドを所定時間内に受信できなかった場合
には、ストアプロセッサ1の動作状態が異常と判断す
る。そしてCPU21は、図6に具体的に示すSP異常
処理を実行する。先ず、ST11としてフラグエリアR
5のSP異常フラグFを調べ、正常状態を示す[0]に
リセットされていた場合には、ST12として[1]に
セットする。
On the other hand, if the response command to the monitoring command is not received within the predetermined time in ST3, it is determined that the operation state of the store processor 1 is abnormal. Then, the CPU 21 executes the SP abnormality processing specifically shown in FIG. First, the flag area R is set as ST11.
The SP abnormality flag F of No. 5 is checked, and if it has been reset to [0] indicating a normal state, it is set to [1] in ST12.

【0024】次に、ST13として時計部24にて計時
している現在時刻がRAMエリアR1に設定されている
開店業務開始時刻に一致するか否かを判断する。そし
て、開店業務開始時刻に一致する場合には、ST14と
して前記と同様の開店業務を開始する。ST13にて現
在時刻が開店業務開始時刻に一致しない場合には、ST
15としてこの現在時刻がRAMエリアR2に設定され
ている閉店業務開始時刻に一致するか否かを判断する。
そして、閉店業務開始時刻に一致する場合には、ST1
6として前記と同様の閉店業務を開始する。
Next, in ST13, it is determined whether or not the current time measured by the clock unit 24 coincides with the opening business start time set in the RAM area R1. If the opening time coincides with the opening time, the same opening operation as above is started in ST14. If the current time does not coincide with the opening business start time in ST13, ST
As 15, it is determined whether or not the current time matches the closing business start time set in the RAM area R2.
Then, if the time coincides with the closing business start time, ST1
As 6, the store closing operation similar to the above is started.

【0025】しかる後、ST17としてタイマカウンタ
R4のカウント値が設定エリアR3の送信タイマ設定値
に到達するのを待機し、到達したならばST1に戻っ
て、タイマカウンタR4のカウント動作をリスタートさ
せるとともにストアプロセッサ1に前記監視コマンドを
再送信する。
Thereafter, as ST17, it waits until the count value of the timer counter R4 reaches the transmission timer set value in the setting area R3, and if it has reached, returns to ST1 to restart the counting operation of the timer counter R4. At the same time, the monitoring command is retransmitted to the store processor 1.

【0026】図7は前記ファイルプロセッサ2からの監
視コマンドを受信したストアプロセッサ1のCPU11
の要部処理を示す流れ図である。すなわちCPU11
は、LAN通信コントローラ15を介してコマンドデー
タを受信するとこの処理を開始し、ST1として受信コ
マンドデータがファイルプロセッサ2からの監視コマン
ドであることを確認すると、ST2としてコマンド送信
元のファイルプロセッサ2に対してファイルメンテナン
スのデータがあるか否かを判断する。そしてファイルメ
ンテナンスのデータがある場合には、ST3として確認
コマンドに対する応答コマンドに該当するファイルメン
テナンスのデータを付加して、コマンド送信元のファイ
ルプロセッサ2に送信する。
FIG. 7 shows the CPU 11 of the store processor 1 which has received the monitoring command from the file processor 2.
4 is a flowchart showing main part processing of FIG. That is, the CPU 11
Starts this processing when command data is received via the LAN communication controller 15, and when it confirms that the received command data is a monitoring command from the file processor 2 in ST1, it sends it to the file processor 2 of the command transmission source in ST2. It is determined whether there is data for file maintenance. Then, if there is file maintenance data, the corresponding file maintenance data is added to the response command to the confirmation command as ST3, and the data is transmitted to the file processor 2 as the command transmission source.

【0027】ST2にてファイルメンテナンスデータが
ない場合には、ST4としてコマンド送信元のファイル
プロセッサ2における開店業務または閉店業務の実行タ
イミングか否かを判断する。そして実行タイミングであ
る場合には、ST5として確認コマンドに対する応答コ
マンドに該当する同期コマンドを付加して、コマンド送
信元のファイルプロセッサ2に送信する。ST4にて開
店業務または閉店業務の実行タイミングでない場合に
は、ST6として確認コマンドに対する応答コマンドを
コマンド送信元のファイルプロセッサ2に送信する。
If there is no file maintenance data in ST2, it is determined in ST4 whether or not it is time to execute a store opening operation or a store closing operation in the command source file processor 2. If it is the execution timing, a synchronization command corresponding to the response command to the confirmation command is added as ST5, and the command is transmitted to the file processor 2 as the command transmission source. If it is not the opening timing of the store opening operation or the store closing operation in ST4, a response command to the confirmation command is transmitted to the file processor 2 of the command transmission source in ST6.

【0028】このように構成された本実施の形態におい
ては、ストアプロセッサ1が正常なに動作しており、各
ファイルプロセッサ2から周期的に送信される確認コマ
ンドに対して応答コマンドが返信されている期間中は、
各ファイルプロセッサ2はストアプロセッサ1からの同
期コマンドに同期して開店業務及び閉店業務を実行す
る。すなわち、開店業務及び閉店業務はストアプロセッ
サ1の主導で行われる。
In the present embodiment configured as above, the store processor 1 is operating normally, and a response command is returned in response to the confirmation command periodically transmitted from each file processor 2. During the period
Each file processor 2 executes a store opening operation and a store closing operation in synchronization with a synchronization command from the store processor 1. That is, the store opening operation and the store closing operation are performed by the store processor 1.

【0029】これに対し、ストアプロセッサ1自体が故
障したりLAN3に障害が発生したりして、各ファイル
プロセッサ2からの確認コマンドに対して応答コマンド
が返信されなくなった場合には、各ファイルプロセッサ
2は時計部24にて計時される現在時刻が予め設定され
た開店業務開始時刻及び閉店業務開始時刻のいずれか一
方に一致するのを待機する。そして開店業務開始時刻に
一致した場合には開店業務を開始する。また閉店業務開
始時刻に一致した場合には閉店業務を開始する。すなわ
ち、開店業務及び閉店業務は各ファイルプロセッサ2の
単独で行われる。
On the other hand, if the response command is not returned in response to the confirmation command from each file processor 2 because the store processor 1 itself fails or the LAN 3 fails, 2 waits for the current time measured by the clock unit 24 to coincide with one of the preset business opening start time and the business closing start time. Then, when the opening time coincides with the opening time, the opening operation is started. If the time coincides with the closing business start time, the closing business is started. That is, the opening and closing operations are performed by each file processor 2 alone.

【0030】なお、各ファイルプロセッサ2はストアプ
ロセッサ1の異常を確認した後も周期的に確認コマンド
を送信する。そして、ストアプロセッサ1が復旧し、確
認コマンドに対して応答コマンドが返信されると、開店
業務及び閉店業務はストアプロセッサ1からの同期コマ
ンドに同期して行われる。すなわち、ストアプロセッサ
1主導の形式に戻される。
Each file processor 2 periodically transmits a confirmation command even after confirming the abnormality of the store processor 1. Then, when the store processor 1 recovers and a response command is returned in response to the confirmation command, the store opening operation and the store closing operation are performed in synchronization with the synchronization command from the store processor 1. That is, the format is returned to the format led by the store processor 1.

【0031】このように、本実施の形態によれば、各フ
ァイルプロセッサ2がストアプロセッサ1の動作状態を
常に監視し、正常状態を検知している間はストアプロセ
ッサ1から与えられる制御コマンドに同期して開店業務
及び閉店業務を実行し、異常状態を検知している間は現
在時刻がRAMエリアR1,R2に予め記憶した開始時
刻に到達したかチェックし、開店業務の開始時刻に到達
した場合には開店業務を、閉店時刻の開始時刻に到達し
た場合には閉店業務を開始するようにしている。したが
って、ストアプロセッサ1の正常時にはストアプロセッ
サ1の主導で開・閉店業務が制御され、ストアプロセッ
サ1の異常時には各ファイルプロセッサ2の単独で開・
閉店業務が制御されるので、ストアプロセッサ1の負荷
が増大することなく開・閉店業務を常に安定に実行でき
るようになる。
As described above, according to the present embodiment, each file processor 2 constantly monitors the operation state of the store processor 1 and synchronizes with the control command given from the store processor 1 while detecting the normal state. While the store opening and closing operations are executed and an abnormal condition is detected, it is checked whether the current time has reached the start time stored in the RAM areas R1 and R2 in advance, and when the start time of the store opening operation is reached The store opening operation is started when the start time of the store closing time is reached. Therefore, when the store processor 1 is normal, the opening / closing operation is controlled under the initiative of the store processor 1, and when the store processor 1 is abnormal, each file processor 2 is independently opened / closed.
Since the closing operation is controlled, the opening and closing operation can always be performed stably without increasing the load on the store processor 1.

【0032】ところで一般に、ストアプロセッサ1と各
ファイルプロセッサ2は、LAN3の論理回線としてイ
ンターラクティブ用,トランザクションデータ収集用,
バッチ業務用の3回線を使用して各業務を行っている。
一方、本実施の形態では、各ファイルプロセッサ2がス
トアプロセッサ1の状態を監視するためにアプリケーシ
ョン間で常に通信を行う必要があり、既存の論理回線を
使用することは困難である。
Generally, the store processor 1 and each file processor 2 are used as a logical line of the LAN 3 for interactive use, for transaction data collection,
Each business is performed using three batch business lines.
On the other hand, in the present embodiment, it is necessary for each file processor 2 to always communicate between applications in order to monitor the state of the store processor 1, and it is difficult to use an existing logical line.

【0033】そこで、本実施の形態においては、ストア
プロセッサ監視専用の回線をLAN3に追加し、周期的
に監視コマンドを送信することでストアプロセッサ1の
監視を実現している。しかも、ストアプロセッサ1が正
常時に上記確認コマンドに対する応答コマンドに開店業
務及び閉店業務の実行を指令する同期コマンドを付加し
て送信するようにしている。したがって、ストアプロセ
ッサ1の正常時には、他の論理回線での業務に影響され
ることなくストアプロセッサ1の状態監視及び開・閉店
業務の実行制御が確実に行われる。また、従来はバッチ
業務の一部として行われていたファイルメンテナンスが
ストアプロセッサ1の監視業務と並行して行われるの
で、既存のバッチ業務の負担も軽減される。
Therefore, in this embodiment, the store processor 1 is monitored by adding a line dedicated to store processor monitoring to the LAN 3 and periodically transmitting a monitoring command. In addition, when the store processor 1 is normal, a synchronous command for instructing execution of the store opening and closing operations is added to the response command to the confirmation command and transmitted. Therefore, when the store processor 1 is normal, the status monitoring of the store processor 1 and the execution control of the opening / closing business are reliably performed without being affected by the business on other logical lines. In addition, since the file maintenance that has been conventionally performed as a part of the batch operation is performed in parallel with the monitoring operation of the store processor 1, the load on the existing batch operation is reduced.

【0034】また、例えばストアプロセッサ1が稼動中
にダウンしても、ダウンする直前までのファイルメンテ
ナンスの状態でファイルプロセッサ単独による開店業務
及び閉店業務を実行できるので、システムに対する信頼
性が非常に高まるという効果も奏し得る。
Also, for example, even if the store processor 1 goes down during operation, the store opening and closing operations can be executed by the file processor alone in the state of the file maintenance just before the store processor 1 goes down, so that the reliability of the system is greatly enhanced. That effect can also be achieved.

【0035】なお、本発明は前記一実施の形態に限定さ
れるものではない。例えば、前記実施の形態ではファイ
ルプロセッサ2がストアプロセッサ1に監視コマンドを
周期的に送信し、このコマンドに対する応答有無により
ストアプロセッサ1の状態を監視していたが、ストアプ
ロセッサ1が正常時には周期的に特定のコマンドを各フ
ァイルプロセッサ2に送信するようにし、各ファイルプ
ロセッサ2はこのコマンドの有無によりストアプロセッ
サ1の状態を監視するようにしてもよい。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, the file processor 2 periodically transmits a monitoring command to the store processor 1 and monitors the state of the store processor 1 based on whether or not there is a response to this command. May be transmitted to each file processor 2, and each file processor 2 may monitor the status of the store processor 1 based on the presence or absence of this command.

【0036】また、前記実施の形態では1台のストアプ
ロセッサ1に対して複数台のファイルプロセッサ2を接
続したPOSシステムを例示したが、ファイルプロセッ
サ2が1台のシステムでも本発明を同様に適用できるの
はいうまでもないことである。この他、本発明の要旨を
逸脱しない範囲で種々変形実施可能であるのは勿論であ
る。
In the above-described embodiment, the POS system in which a plurality of file processors 2 are connected to one store processor 1 has been exemplified. However, the present invention is similarly applied to a system having one file processor 2. It goes without saying that you can do it. In addition, it goes without saying that various modifications can be made without departing from the spirit of the present invention.

【0037】[0037]

【発明の効果】以上詳述したように、本発明によれば、
ストア制御装置の正常時にはストア制御装置主導で開・
閉店業務が制御され、ストア制御装置異常時にはファイ
ル制御装置単独で開・閉店業務が制御されるので、スト
ア制御装置の負荷が増大することなく開・閉店業務を安
定に実行できる商品販売データ処理システムを提供でき
る。
As described in detail above, according to the present invention,
When the store control device is normal,
The store closing operation is controlled, and when the store control device is abnormal, the file control device alone controls the opening and closing operations, so that the product sales data processing system can stably execute the opening and closing operations without increasing the load on the store control device. Can be provided.

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

【図1】 本発明の一実施の形態であるPOSシステム
の概要図。
FIG. 1 is a schematic diagram of a POS system according to an embodiment of the present invention.

【図2】 同実施の形態におけるストアプロセッサの要
部構成を示すブロック図。
FIG. 2 is an exemplary block diagram showing a main configuration of a store processor according to the embodiment;

【図3】 同実施の形態におけるファイルプロセッサの
要部構成を示すブロック図。
FIG. 3 is an exemplary block diagram showing a configuration of a main part of the file processor according to the embodiment;

【図4】 同実施の形態におけるファイルプロセッサの
RAMに形成する主要なメモリエリアを示す図。
FIG. 4 is an exemplary view showing main memory areas formed in a RAM of the file processor according to the embodiment.

【図5】 同実施の形態におけるファイルプロセッサの
CPUが実行する開・閉店業務の制御処理を示す流れ
図。
FIG. 5 is a flowchart showing control processing of opening / closing operations executed by the CPU of the file processor in the embodiment.

【図6】 図5におけるSP異常処理を具体的に示す流
れ図。
FIG. 6 is a flowchart specifically showing SP abnormality processing in FIG. 5;

【図7】 同実施の形態におけるストアプロセッサのC
PUが実行するコマンド受信処理の要部を示す流れ図。
FIG. 7 shows C of the store processor according to the embodiment;
5 is a flowchart showing a main part of a command receiving process executed by a PU.

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

1…ストアプロセッサ(ストア制御装置) 2…ファイルプロセッサ(ファイル制御装置) 3…LAN(第1の通信回線) 4…SDLC回線(第2の通信回線) 5…POSターミナル(商品販売登録用端末) DESCRIPTION OF SYMBOLS 1 ... Store processor (store control device) 2 ... File processor (file control device) 3 ... LAN (1st communication line) 4 ... SDLC line (2nd communication line) 5 ... POS terminal (terminal for merchandise sales registration)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G07G 1/00 - 5/00 G06F 17/00 - 17/42 G06F 17/60 - 17/60 124 G06F 17/60 126 G06F 17/60 128 - 176 G06F 17/60 234 G06F 17/60 300 - 342 G06F 17/60 414 G06F 17/60 500 - 19/00 140 G06F 19/00 600 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) G07G 1/00-5/00 G06F 17/00-17/42 G06F 17/60-17/60 124 G06F 17 / 60 126 G06F 17/60 128-176 G06F 17/60 234 G06F 17/60 300-342 G06F 17/60 414 G06F 17/60 500-19/00 140 G06F 19/00 600

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ストア制御装置に第1の通信手段を介し
てファイル制御装置を接続し、このファイル制御装置に
第2の通信手段を介して複数台の商品販売登録用端末を
接続してなり、前記ストア制御装置から前記第1の通信
手段を介して与えられる制御コマンドに同期して前記フ
ァイル制御装置が開店業務及び閉店業務を行うようにし
た商品販売データ処理システムにおいて、 前記ファイル制御装置は、現在時刻を計時する計時手段
と、予め設定された前記開店業務及び閉店業務の各開始
時刻を記憶する時刻記憶手段と、前記ストア制御装置の
動作状態を監視する動作監視手段とを備え、前記動作監
視手段により前記ストア制御装置の正常状態を検知して
いる間は前記ストア制御装置から与えられる制御コマン
ドに同期して前記開店業務及び閉店業務を実行し、前記
動作監視手段により前記ストア制御装置の異常状態を検
知している間は前記計時手段により計時される現在時刻
が前記時刻記憶手段により記憶した開始時刻に到達した
かチェックし、開店業務の開始時刻に到達した場合には
開店業務を、閉店時刻の開始時刻に到達した場合には閉
店業務を開始することを特徴とする商品販売データ処理
システム。
A file control device is connected to a store control device via a first communication means, and a plurality of merchandise sales registration terminals are connected to the file control device via a second communication means. A merchandise sales data processing system in which the file control device performs a store opening operation and a store closing operation in synchronization with a control command given from the store control device via the first communication unit; A time measuring means for measuring the current time, a time storage means for storing a preset start time of the opening and closing business, and an operation monitoring means for monitoring the operation state of the store control device, While the normal state of the store control device is detected by the operation monitoring means, the store opening operation and the store operation are synchronized with a control command given from the store control device. While the store operation is being performed and the abnormal state of the store control device is detected by the operation monitoring unit, it is checked whether the current time measured by the clock unit has reached the start time stored by the time storage unit. A merchandise sales data processing system for starting a store opening operation when the start time of the store opening operation is reached and starting the store closing operation when the start time of the store closing time is reached.
【請求項2】 動作監視手段は、ファイル制御装置から
第1の通信回線を介してストア制御装置に定期的に動作
状態確認用のコマンドを送信し、その応答コマンドの有
無を監視する手段であり、前記ストア制御装置は、前記
応答コマンドに開店業務及び閉店業務の同期をとる制御
コマンドを付加するようにしたことを特徴とする請求項
1記載の商品販売データ処理システム。
2. The operation monitoring means is means for periodically transmitting a command for confirming the operation state from the file control device to the store control device via the first communication line, and monitoring the presence or absence of a response command. 2. The merchandise sales data processing system according to claim 1, wherein the store control device adds a control command for synchronizing a store opening operation and a store closing operation to the response command.
JP6636297A 1997-03-19 1997-03-19 Product sales data processing system Expired - Fee Related JP3343489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6636297A JP3343489B2 (en) 1997-03-19 1997-03-19 Product sales data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6636297A JP3343489B2 (en) 1997-03-19 1997-03-19 Product sales data processing system

Publications (2)

Publication Number Publication Date
JPH10261170A JPH10261170A (en) 1998-09-29
JP3343489B2 true JP3343489B2 (en) 2002-11-11

Family

ID=13313675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6636297A Expired - Fee Related JP3343489B2 (en) 1997-03-19 1997-03-19 Product sales data processing system

Country Status (1)

Country Link
JP (1) JP3343489B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016212491A (en) * 2015-04-30 2016-12-15 セイコーエプソン株式会社 Network system, network system control method, and control device

Also Published As

Publication number Publication date
JPH10261170A (en) 1998-09-29

Similar Documents

Publication Publication Date Title
US6697962B1 (en) Remote computer system monitoring and diagnostic board
JPS61156368A (en) Control system of table content change
US10362147B2 (en) Network system and communication control method using calculated communication intervals
US5751966A (en) Notification of disconnected service machines that have stopped running
JP2002197212A (en) Pos terminal remote maintenance system
JP3343489B2 (en) Product sales data processing system
JP3921055B2 (en) POS system, server computer, POS terminal maintenance system, and POS terminal maintenance method
JP3468437B2 (en) Product sales registration data processing device
JP3628159B2 (en) Transaction data processing method of transaction system and transaction system
JP3146067B2 (en) Product sales data processing device
JP3486324B2 (en) Store processing device and store management system having the store processing device
JPH0895760A (en) Module updating device for decentralized processing system
JP2968390B2 (en) Master device in data aggregation system
JP2000207250A (en) Information processing system
JP2993831B2 (en) Terminal control device in point-of-sale information management system
JPH07225721A (en) Power failure processor for data processing system
JPH1196031A (en) Information processing system
JPS61156436A (en) System down back-up system
JPH11306048A (en) Work schedule monitoring device for computer and record medium recording work schedule monitoring program
JPH11191186A (en) Pos system
JP2000284825A (en) System and method for automatic control of on-line terminal device, and recording medium storing program for automatic control
JPH06103178A (en) Terminal group monitoring device
JPS61156437A (en) System obstacle restoring control system
CN116015986A (en) Intelligent network card management method and related components
JP2001034851A (en) Article sales data processing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080823

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100823

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110823

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120823

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120823

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130823

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees