JPH0736984A - Sales data processor - Google Patents

Sales data processor

Info

Publication number
JPH0736984A
JPH0736984A JP15761293A JP15761293A JPH0736984A JP H0736984 A JPH0736984 A JP H0736984A JP 15761293 A JP15761293 A JP 15761293A JP 15761293 A JP15761293 A JP 15761293A JP H0736984 A JPH0736984 A JP H0736984A
Authority
JP
Japan
Prior art keywords
sales data
file
relay
item
sales
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
JP15761293A
Other languages
Japanese (ja)
Inventor
Manabu Takahashi
学 高橋
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 JP15761293A priority Critical patent/JPH0736984A/en
Publication of JPH0736984A publication Critical patent/JPH0736984A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To accurately acquire sales data without increasing the storage capacity by additionally registering or transferring a single article code of sales data in accordance with the presence or the absence of the idle capacity in the case that this single article code is not registered in a relay file yet. CONSTITUTION:When single article sales data is received from a POS terminal, 1a, it is discriminated whether the single article code of single article sales data is already registered in the single article code area of a relay file 7a or not; and if it is already registered there, this sales data is added to sales data of the pertinent single article code in the relay fule 7a. If it is not registered there, it is checked whether or not the relay file 7a has the idle capacity equal to or larger than a prescribed capacity; and if it has this idle capacity, received single article sales data is additionally registered in the relay file 7a. If it does not have this idle capacity, received single article sales data is transferred to a store processor 4 through a communication line 5. Thus, commodity- classified sales total data is accurately acquired without increasing the storage capacity of the relay file.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、POS(販売時点情報
管理)システムのファイルプロセッサとして用いられる
売上データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sales data processing device used as a file processor of a POS (point of sale information management) system.

【0002】[0002]

【従来の技術】大規模なスーパーマーケット等で導入さ
れているPOSシステムは、各売場にそれぞれ設置され
る多数台の販売商品登録用端末、いわゆるPOSターミ
ナルを複数のグループに区分し、各グループにそれぞれ
ファイルプロセッサを1台ずつ配置して、同一グループ
内の各POSターミナルとファイルプロセッサとを通信
回線により接続する。また、店舗全体の売上げを統括管
理する店舗制御装置、いわゆるストアプロセッサに各グ
ループのファイルプロセッサを通信回線によりそれぞれ
接続する。
2. Description of the Related Art A POS system introduced in a large-scale supermarket or the like divides a large number of sales commodity registration terminals, so-called POS terminals, which are installed in respective sales floors into a plurality of groups, and each group has its own terminal. One file processor is arranged and each POS terminal in the same group is connected to the file processor by a communication line. In addition, a file controller of each group is connected to a so-called store processor, which is a store controller that controls the sales of the entire store, by a communication line.

【0003】そして、ストアプロセッサに店舗内で販売
される全商品にそれぞれ設定される単品コード,名称,
単価等の商品情報を予め設定記憶するとともに、各商品
の売上点数,金額等の売上データを単品コード別に累積
記憶する単品マスタファイルを設ける。また、各ファイ
ルプロセッサに各商品の売上データを一時保管するため
の中継ファイルをそれぞれ設けて、システムを構築す
る。
[0003] Then, the individual code, name, set to the store processor for all products sold in the store,
In addition to preset storage of product information such as unit price, a single product master file is provided for cumulatively storing sales data such as the number of items sold and the amount of money for each product. Further, each file processor is provided with a relay file for temporarily storing sales data of each product, thereby constructing a system.

【0004】しかして、ファイルプロセッサは、回線接
続される各POSターミナルにて販売登録された商品の
単品コード,売上点数,売上金額からなる単品売上デー
タを収集すると、その単品売上データの単品コードが前
記中継ファイルに既に登録済みか調べる。そして、登録
済みの場合にはその中継ファイル上における該当単品コ
ードの売上データに収集した単品売上データを加算す
る。一方、未登録の場合には収集した単品売上データを
中継ファイルに追加登録する。
However, when the file processor collects the single-item sales data including the single-item code of the product registered for sale at each POS terminal connected to the line, the number of sales, and the sales amount, the single-item code of the single-item sales data is Check whether it has already been registered in the relay file. Then, when the registration has been completed, the collected single item sales data is added to the sales data of the corresponding single item code on the relay file. On the other hand, if it has not been registered, the collected sales data of individual products is additionally registered in the relay file.

【0005】また、ファイルプロセッサは、ストアプロ
セッサから売上データの収集要求があると、前記中継フ
ァイルの内容を通信回線を通じてストアプロセッサに一
括して伝送するように構成される。
Further, the file processor is configured to collectively transmit the contents of the relay file to the store processor through a communication line when a sales data collection request is issued from the store processor.

【0006】ここに、ファイルプロセッサは、各POS
ターミナルにて販売登録された商品の売上データを収集
し単品コード別に集計する手段及びこの単品コード別に
集計した結果をストアプロセッサに通知する手段を備え
た売上データ処理装置として機能する。
Here, the file processor is used for each POS.
It functions as a sales data processing device having means for collecting sales data of commodities registered for sale at the terminal and totaling the sales data by individual product code, and means for notifying the store processor of the result of totaling for each individual product code.

【0007】ところで、前記中継ファイルの記憶容量を
店舗内で販売される全商品の売上データを集計するのに
充分な容量とすると、各ファイルプロセッサの記憶容量
がそれぞれ大きくなり、システムの高価格化を招いて実
用的でない。このため、一般には前記中継ファイルの記
憶容量を削減して低価格化を図っている。
By the way, if the storage capacity of the relay file is set to a capacity sufficient to collect the sales data of all the products sold in the store, the storage capacity of each file processor becomes large and the system price becomes high. Inviting is not practical. Therefore, generally, the storage capacity of the relay file is reduced to reduce the price.

【0008】しかし、中継ファイルの記憶容量を削減し
た場合には、中継ファイルが満杯となり新たな商品の売
上データを追加登録できなくなって収集した売上データ
が消失してしまう事態が起こり得る。
However, when the storage capacity of the relay file is reduced, the relay file may become full and the sales data of a new product cannot be additionally registered, so that the collected sales data may be lost.

【0009】そこで、このような事態を回避するため
に、従来は中継ファイルの空き容量が所定容量以下の状
態で当該中継ファイルに単品コードが未登録の商品の売
上データが収集されると、その売上データの単品コード
を“0”に置換し、単品コード“0”の商品の売上デー
タとして中継ファイルに登録するようにして売上データ
の消失を防止していた。
Therefore, in order to avoid such a situation, conventionally, when sales data of a product whose individual product code is not registered in the relay file is collected with the free space of the relay file being equal to or less than a predetermined capacity, The single item code of the sales data is replaced with “0”, and the sales data of the product with the single item code “0” is registered in the relay file to prevent the loss of the sales data.

【0010】このように、商品の単品コードを“0”に
置換して売上データを集計する処理をミスク処理と称す
る。
In this way, the process of substituting the single item code of a product with "0" and totaling the sales data is called misc process.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、従来の
ミスク処理機能を備えたファイルプロセッサを使用した
POSシステムにおいては、中継ファイルの空き容量が
所定容量以下になった後で発生する当該中継ファイルに
単品コードが未登録の商品の売上データはすべて単品コ
ード“0”の商品の売上げとして集計されてしまうの
で、後にストアプロセッサにより各ファイルプロセッサ
における中継ファイルの内容を収集して商品別売上デー
タを合計するが、このとき、正確な商品別売上合計デー
タを取得できなくなる欠点があった。
However, in the conventional POS system using the file processor having the misk processing function, the relay file generated after the free space of the relay file becomes equal to or less than a predetermined capacity is a single item. All the sales data of the products for which the code is not registered will be aggregated as sales of the product with the individual product code “0”, so the store processor will later collect the contents of the relay file in each file processor and total the sales data for each product. However, at this time, there is a drawback that accurate sales total data by product cannot be obtained.

【0012】そこで本発明は、中継ファイルの記憶容量
を増加することなく、店舗制御装置にて正確な商品別売
上合計データを取得することが可能な売上データ処理装
置を提供しようとするものである。
[0012] Therefore, the present invention is to provide a sales data processing device which enables the store control device to obtain accurate sales data for each product without increasing the storage capacity of the relay file. .

【0013】[0013]

【課題を解決するための手段】本発明は、各商品にそれ
ぞれ設定される単品コード,品名,単価等の商品情報を
予め設定記憶するとともに各商品の売上データを単品コ
ード別に累積記憶する単品マスタファイルを有する店舗
制御装置を第1の回線を介して接続するとともに、複数
台の販売商品登録用端末を第2の回線を介して接続し、
各端末にて販売登録された各商品の売上データを第2の
回線を通じて収集し中継ファイルにて一時保管する機能
及び店舗制御装置からの収集要求に応じて中継ファイル
の内容を第1の回線を通じて店舗制御装置に伝送する機
能を有する売上データ処理装置において、各端末から売
上データを収集する毎にその収集した売上データの単品
コードが中継ファイルに登録済みか調べるファイル調査
手段と、このファイル調査手段により登録済みが確認さ
れると収集した売上データを中継ファイルにおける該当
単品コードの売上データに加算する売上データ加算処理
手段と、ファイル調査手段により未登録が確認されると
中継ファイルの空き容量を調べる空き容量調査手段と、
この空き容量調査手段により所定容量以上の空き容量有
りが確認されると収集した売上データを中継ファイルに
追加登録する売上データ追加処理手段と、空き容量調査
手段により所定容量以上の空き容量無しが確認されると
収集した売上データを第2の回線を通じて店舗制御装置
へ転送する売上データ転送処理手段とを備えたものであ
る。
SUMMARY OF THE INVENTION According to the present invention, a single-item master that presets and stores product information such as a single-item code, a product name, and a unit price set for each product, and cumulatively stores sales data of each product for each single-product code. A store control device having a file is connected via a first line, and a plurality of sales commodity registration terminals are connected via a second line,
A function to collect the sales data of each product registered for sale at each terminal through the second line and temporarily store it in the relay file, and the contents of the relay file through the first line in response to a collection request from the store control device. In the sales data processing device having the function of transmitting to the store control device, every time the sales data is collected from each terminal, a file checking means for checking whether the single item code of the collected sales data is registered in the relay file, and this file checking means When the registration is confirmed by, the sales data addition processing means that adds the collected sales data to the sales data of the corresponding single-piece code in the relay file, and the free space of the relay file when the unregistered is confirmed by the file inspection means Free space investigation means,
If the free space checking means confirms that there is free space above a predetermined capacity, the sales data addition processing means for additionally registering the collected sales data in the relay file and the free space checking means confirms that there is no free space above the predetermined capacity. Then, sales data transfer processing means for transferring the collected sales data to the store control device through the second line is provided.

【0014】[0014]

【作用】このような構成の本発明であれば、各端末から
商品の売上データが収集される毎にその収集された売上
データの単品コードが中継ファイルに登録済みか調べら
れる。そして、登録済みが確認されると収集された売上
データが中継ファイルにおける該当単品コードの売上デ
ータに加算される。一方、未登録が確認されると中継フ
ァイルの空き容量が調べられる。そして、所定容量以上
の空き容量有りが確認されると収集された売上データが
中継ファイルに追加登録される。これに対し、所定容量
以上の空き容量無しが確認されると収集された売上デー
タは第2の回線を通じて店舗制御装置へ転送される。
According to the present invention having such a configuration, every time the sales data of the product is collected from each terminal, it is checked whether or not the single item code of the collected sales data is registered in the relay file. Then, when the registration completion is confirmed, the collected sales data is added to the sales data of the corresponding single item code in the relay file. On the other hand, if unregistered is confirmed, the free space of the relay file is checked. Then, when it is confirmed that there is a free space equal to or larger than a predetermined capacity, the collected sales data is additionally registered in the relay file. On the other hand, when it is confirmed that there is no free space equal to or more than the predetermined capacity, the collected sales data is transferred to the store control device through the second line.

【0015】すなわち、中継ファイルの空き容量が所定
容量以上のときに収集された各商品の売上データはその
中継ファイルによって単品コード別に集計記憶される。
そして、後に店舗制御装置からの収集要求に応じて第2
の回線を通じて店舗制御装置へ伝送される。一方、中継
ファイルの空き容量が所定容量以下のときに収集された
新たな商品の売上データは第2の回線を通じて店舗制御
装置へ転送される。従って、店舗制御装置には、中継フ
ァイルの空き容量が所定容量以上のときに収集された商
品の売上データのみならず中継ファイルの空き容量が所
定容量以下のときに収集された商品の売上データも単品
コードが“0”に置換されることなく収集され、単品マ
スタファイルによって単品コード別に合計される。
That is, the sales data of each product collected when the free space of the relay file is equal to or larger than a predetermined capacity is totalized and stored for each individual product code by the relay file.
Then, in response to a collection request from the store control device, the second
Is transmitted to the store control device through the line. On the other hand, the sales data of the new product collected when the free space of the relay file is equal to or smaller than the predetermined size is transferred to the store control device through the second line. Therefore, the store control device stores not only the sales data of the product collected when the free space of the relay file is equal to or larger than the predetermined capacity, but also the sales data of the product collected when the free space of the relay file is equal to or smaller than the predetermined capacity. Individual item codes are collected without being replaced with "0", and are summed up by individual item code by the individual item master file.

【0016】[0016]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0017】図1はこの実施例におけるPOSシステム
の全体図であり、このPOSシステムは、各売場にそれ
ぞれ設置される多数台の販売商品登録用端末、いわゆる
POSターミナル1a,1bを2つのグループGa,G
bに区分し、各グループG1,G2にそれぞれファイル
プロセッサ2a,2bを1台ずつ配置して、同一グルー
プ内の各POSターミナル1a,1bとファイルプロセ
ッサ2a,2bとを通信回線(以下、第2の通信回線と
称する)3a,3bにより閉ループ状に接続する。ま
た、店舗全体の売上げを統括管理する店舗制御装置、い
わゆるストアプロセッサ4に各グループG1,G2のフ
ァイルプロセッサ2a,2bを通信回線(以下、第1の
通信回線とする)5によりそれぞれ接続する。
FIG. 1 is an overall view of a POS system according to this embodiment. This POS system includes a large number of sales commodity registration terminals, so-called POS terminals 1a and 1b, which are installed in each sales floor. , G
The file processors 2a and 2b are arranged in the groups G1 and G2, respectively, and the POS terminals 1a and 1b and the file processors 2a and 2b in the same group are connected to the communication line (hereinafter referred to as the second line). (Referred to as a communication line of 3) and 3b are connected in a closed loop. Also, the file processors 2a and 2b of the groups G1 and G2 are connected to a so-called store processor 4, which is a store control device that collectively manages the sales of the entire store, by a communication line (hereinafter, referred to as a first communication line) 5.

【0018】そして、ストアプロセッサ4に、図3に示
すように店舗内で販売される全商品にそれぞれ設定され
る単品コード,名称,単価等の商品情報を予め設定記憶
するとともに、各商品の売上点数,金額等の売上データ
を単品コード別に累積記憶する単品マスタファイル6を
設ける。また、各ファイルプロセッサ2a,2bに各商
品の売上データを一時保管するための中継ファイル7
a,7bをそれぞれ設けて、システムを構築する。
As shown in FIG. 3, the store processor 4 presets and stores the product information such as the individual product code, the name, and the unit price set for all the products sold in the store, and the sales of each product. A single-item master file 6 for accumulating and storing sales data such as points and amount of money for each individual item code is provided. Further, a relay file 7 for temporarily storing sales data of each product in each file processor 2a, 2b.
The system is constructed by providing a and 7b respectively.

【0019】図2は前記ストアプロセッサ4の要部制御
回路を示すブロック図である。このストアプロセッサ4
は、制御部本体としてのCPU(中央処理装置)40、
このCPU40が制御する主記憶部としてのROM(リ
ード・オンリ・メモリ)41及びRAM(ランダム・ア
クセス・メモリ)42を有するとともに、前記第1の通
信回線5を介して行われる各ファイルプロセッサ2a,
2bとのデータ通信を制御する通信インタフェース43
及び周辺機器であるキーボード44,表示器45,プリ
ンタ46,HDD(ハード・ディスク・ドライバ)4
7、FDD(フロッピー・ディスク・ドライバ)48等
をそれぞれ制御する各コントローラ44C,45C,4
6C,47C,48Cを有し、前記CPU40と、RO
M41,RAM42,通信インタフェース43及び各コ
ントローラ43C〜48Cとをバスライン49で接続し
て制御回路を構成している。
FIG. 2 is a block diagram showing a main control circuit of the store processor 4. This store processor 4
Is a CPU (central processing unit) 40 as a control unit main body,
The CPU 40 has a ROM (Read Only Memory) 41 and a RAM (Random Access Memory) 42 as main storage units controlled by the CPU 40, and each file processor 2a is operated via the first communication line 5.
Communication interface 43 for controlling data communication with 2b
And peripheral devices such as keyboard 44, display 45, printer 46, HDD (hard disk driver) 4
7, controllers 44C, 45C, 4 for controlling FDD (floppy disk driver) 48, etc., respectively
6C, 47C and 48C, and the CPU 40 and RO
The M41, the RAM 42, the communication interface 43, and the controllers 43C to 48C are connected by a bus line 49 to form a control circuit.

【0020】そして、このストアプロセッサ4は、前記
HDD47によってデータの書込み及び読出しが制御さ
れるハードディスク上に前記単品マスタファイル6を形
成している。
The store processor 4 forms the single item master file 6 on the hard disk whose writing and reading of data is controlled by the HDD 47.

【0021】また、このストアプロセッサ4は、RAM
42に図4に示すように単品売上データ一時バッファ4
2aの領域を形成している。
The store processor 4 is a RAM
42, as shown in FIG. 4, single-item sales data temporary buffer 4
The region 2a is formed.

【0022】図5は一方のファイルプロセッサ2aの要
部制御回路を示すブロック図である。このファイルプロ
セッサ2aは、制御部本体としてのCPU20、このC
PU20が制御する主記憶部としてのROM21及びR
AM22を有するとともに、前記第1の通信回線5を介
して行われるストアプロセッサ4とのデータ通信を制御
する第1の通信インタフェース23及び前記第2の通信
回線3aを介して行われる各POSターミナル1aとの
データ通信を制御する第2の通信インタフェース24を
有し、前記CPU20と、ROM21,RAM22及び
第1,第2の通信インタフェース23,24とをバスラ
イン25で接続して制御回路を構成している。
FIG. 5 is a block diagram showing a main part control circuit of one file processor 2a. The file processor 2a includes a CPU 20 as the main body of the control unit and a C
ROM 21 and R as a main storage unit controlled by PU 20
Each POS terminal 1a having the AM 22 and controlling the data communication with the store processor 4 via the first communication line 5 and the first communication interface 23 via the second communication line 3a. It has a second communication interface 24 for controlling data communication with, and connects the CPU 20, the ROM 21, the RAM 22, and the first and second communication interfaces 23, 24 with a bus line 25 to form a control circuit. ing.

【0023】そして、このファイルプロセッサ2aはR
AM22に図6に示すように前記中継ファイル7aと、
この中継ファイル7aに登録された単品売上データ(単
品コード,売上点数,売上金額)の件数nをカウントす
る登録件数カウンタ26とを形成している。
The file processor 2a is R
In the AM22, as shown in FIG. 6, the relay file 7a,
The registration number counter 26 that counts the number n of the single-item sales data (single-item code, number of sales, amount of sales) registered in the relay file 7a is formed.

【0024】しかして、このファイルプロセッサ2aの
CPU20は、特に図7の流れ図に示す制御手順に従い
動作するようにプログラム設定されている。
Therefore, the CPU 20 of the file processor 2a is programmed so as to operate according to the control procedure shown in the flowchart of FIG.

【0025】先ず、ST(ステップ)1として第2の通
信インタフェース24を介してPOSターミナル1aか
らのデータを受信するか、また、ST2として第1の通
信インタフェース23を介してストアプロセッサ4から
のデータを受信するまで待機する。
First, ST (step) 1 receives data from the POS terminal 1a via the second communication interface 24, or ST2 receives data from the store processor 4 via the first communication interface 23. Wait until you receive.

【0026】ST1にてPOSターミナル1aからのデ
ータを受信すると、その受信データの種類を調べ、該当
する業務を実行する。ここで、ST3として単品コー
ド,売上点数及び売上金額からなる単品売上データを受
信すると、ST4として前記中継ファイル7aの単品コ
ードエリアを検索し、受信した単品売上データの単品コ
ードが上記単品コードエリアに登録済みか否かを判断す
る(ファイル調査手段)。
When data is received from the POS terminal 1a in ST1, the type of the received data is checked and the corresponding task is executed. Here, when the single item sales data including the single item code, the number of sales, and the sales amount is received in ST3, the single item code area of the relay file 7a is searched in ST4, and the single item code of the received single item sales data becomes the above single item code area. Determine whether or not it has been registered (file inspection means).

【0027】そして、ST5として同一単品コードが登
録済みであることが確認されると、ST6として中継フ
ァイル7aの同一単品コードに対応する売上点数エリア
及び売上金額エリアに受信した単品売上データの売上点
数及び売上金額をそれぞれ加算する(売上データ加算処
理手段)。
When it is confirmed that the same single product code has been registered in ST5, the number of sales of the single product sales data received in the sales number area and the sales amount area corresponding to the same single product code of the relay file 7a is checked in ST6. And the sales amount are respectively added (sales data addition processing means).

【0028】これに対し、ST5にて同一単品コードが
未登録であることが確認されると、ST7として前記登
録件数カウンタ26のカウント値nを「+1」だけカウ
ントアップする。次に、ST8として上記カウント値n
が前記中継ファイル7aに登録可能な総レコード件数N
より1件減じた値N−1を越えるか否かを判断する。す
なわち、中継ファイル7aの空き容量が所定容量(売上
データ2件分)以上あるかを調べる(空き容量調査手
段)。
On the other hand, when it is confirmed in ST5 that the same single product code is not registered, the count value n of the registration number counter 26 is incremented by "+1" in ST7. Next, at ST8, the count value n
Is the total number of records N that can be registered in the relay file 7a.
It is determined whether or not it exceeds the value N-1 obtained by subtracting one item. That is, it is checked whether or not the free capacity of the relay file 7a is equal to or larger than a predetermined capacity (for two sales data) (free capacity checking means).

【0029】そして、[n≦N−1]が成立する場合に
は、中継ファイル7aはまだ新規の単品売上データを2
件以上登録できるだけの空き容量が存在するので、ST
9として受信した単品売上データを中継ファイル7aに
追加登録する(売上データ追加処理手段)。
When [n ≦ N-1] is satisfied, the relay file 7a still stores the new single item sales data 2
Since there is enough free space to register more than one case, ST
The single item sales data received as 9 is additionally registered in the relay file 7a (sales data addition processing means).

【0030】一方、ST8にて[n>N−1]が成立す
る場合には、中継ファイル7aは新規の単品売上データ
を1件しか登録できないかまたは1件も登録できない満
杯状態なので、ST10として受信した単品売上データ
を第1の通信インタフェース23の作用により第1の通
信回線5を通じてストアプロセッサ4へ転送する(売上
データ転送処理手段)。
On the other hand, if [n> N-1] is satisfied in ST8, the relay file 7a is in a full state in which only one new single item sales data can be registered or no new data can be registered. The received single item sales data is transferred to the store processor 4 through the first communication line 5 by the action of the first communication interface 23 (sales data transfer processing means).

【0031】なお、この単品売上データを受信したスト
アプロセッサ4のCPU40は、その受信データを一時
バッファ42aにて一時保管するように構成されてい
る。
Incidentally, the CPU 40 of the store processor 4 which has received the single-item sales data is configured to temporarily store the received data in the temporary buffer 42a.

【0032】その後、ファイルプロセッサ2aのCPU
20は、このオーバーフローした単品売上データについ
てミスク処理を行なう。すなわち、ST11として当該
単品売上データ中の単品コードを“0”に置換した後、
ST12として中継ファイル7aに単品コード“0”が
登録済みであるかを調べ、未登録の場合(この場合は中
継ファイル7aに1件分の空き容量が存在する)にはそ
の単品コード“0”の単品売上データを中継ファイル7
aに追加登録する。また登録済の場合(この場合は中継
ファイル7aが満杯状態であり、最終レコードとして単
品コード“0”の売上データが存在する)にはその単品
コード“0”の売上データに受信した単品売上データを
加算する。
After that, the CPU of the file processor 2a
20 performs missk processing on the overflowed single item sales data. That is, in ST11, after replacing the single product code in the single product sales data with “0”,
In ST12, it is checked whether the single item code “0” is registered in the relay file 7a, and if it is not registered (in this case, there is one free space in the relay file 7a), the single item code “0”. Relay file 7
Add to a. If registered (in this case, the relay file 7a is full and there is sales data for the single product code “0” as the final record), the single product sales data received in the sales data for the single product code “0” Is added.

【0033】一方、ST2にてストアプロセッサ4から
のデータを受信すると、その受信データの種類を調べ、
該当する業務を実行する。ここで、ST13として受信
データが売上収集要求コマンドの場合には、前記中継フ
ァイル7aの内容を読出し、第1の通信インタフェース
23の作用により第1の通信回線5を通じてストアプロ
セッサ4へ送信する。
On the other hand, when the data from the store processor 4 is received in ST2, the type of the received data is checked,
Execute the applicable job. Here, if the received data is the sales collection request command in ST13, the contents of the relay file 7a are read and transmitted to the store processor 4 through the first communication line 5 by the action of the first communication interface 23.

【0034】なお、他方のファイルプロセッサ2bも上
記ファイルプロセッサ2aと全く同一の構成であるの
で、ここでの説明は省略する。
Since the other file processor 2b has the same structure as the above file processor 2a, the description thereof is omitted here.

【0035】このように構成された本実施例において
は、グループG1の各ターミナル1aにて販売登録され
た各商品の売上データは一方のファイルプロセッサ2a
により第2の通信回線3aを通じて収集され、中継ファ
イル7aにて単品コード別に集計される。同様にグルー
プG2の各ターミナル1bにて販売登録された各商品の
売上データは他方のファイルプロセッサ2bにより第2
の通信回線3bを通じて収集され、中継ファイル7bに
て単品コード別に集計される。
In the present embodiment thus constructed, the sales data of each product registered for sale at each terminal 1a of the group G1 is stored in one file processor 2a.
Are collected through the second communication line 3a, and are totaled by the individual code in the relay file 7a. Similarly, the sales data of each product registered for sale at each terminal 1b of the group G2 is secondarily processed by the other file processor 2b.
It is collected through the communication line 3b of and is collected by the relay file 7b for each individual product code.

【0036】ただし、例えば一方のファイルプロセッサ
2aにおいて中継ファイル7aに未登録の単品売上デー
タが収集され、このとき登録件数カウンタ26のカウン
ト値nが当該中継ファイル7aに登録可能な総レコード
件数Nより1件減じた値N−1に一致していると、この
収集された単品売上データは直ちに第1の通信回線5を
通じてストアプロセッサ4に転送され、単品売上データ
一時バッファ42aに格納される。また、この単品売上
データは単品コードが“0”に置換されて中継ファイル
7aに追加登録される。
However, for example, one file processor 2a collects unregistered single item sales data in the relay file 7a, and at this time, the count value n of the registration number counter 26 is larger than the total number N of records that can be registered in the relay file 7a. If it matches the value N-1 obtained by subtracting one item, the collected single-item sales data is immediately transferred to the store processor 4 through the first communication line 5 and stored in the single-item sales data temporary buffer 42a. Further, the single-item sales data is additionally registered in the relay file 7a with the single-item code replaced with "0".

【0037】以後、再び中継ファイル7aに未登録の単
品売上データが収集されると、その単品売上データは直
ちに第1の通信回線5を通じてストアプロセッサ4に転
送され、単品売上データ一時バッファ42aに格納され
るとともに、単品コードが“0”に置換されて、中継フ
ァイル7aの単品コード“0”の売上データに加算され
る。
Thereafter, when unregistered single-item sales data is collected again in the relay file 7a, the single-item sales data is immediately transferred to the store processor 4 through the first communication line 5 and stored in the single-item sales data temporary buffer 42a. At the same time, the single item code is replaced with "0" and added to the sales data of the single item code "0" in the relay file 7a.

【0038】この作用は、他方のファイルプロセッサ2
bにおいて登録件数カウンタ26のカウント値nが所定
値N−1以上のときに当該中継ファイル7bに未登録の
単品売上データが収集された場合も同様である。
This operation is performed by the other file processor 2
The same applies when unregistered single-item sales data is collected in the relay file 7b when the count value n of the registration number counter 26 in b is equal to or greater than the predetermined value N-1.

【0039】そして、その後、各ファイルプロセッサ2
a,2bに対してストアプロセッサ4から売上収集要求
コマンドが送出されると、各中継ファイル7a,7bの
内容、つまりは単品コード別の売上集計データがストア
プロセッサ4に送信される。
Then, after that, each file processor 2
When the store processor 4 sends a sales collection request command to a and 2b, the contents of the relay files 7a and 7b, that is, the sales total data for each individual product code is transmitted to the store processor 4.

【0040】従って、ストアプロセッサ4においては、
各ファイルプロセッサ2a,2bから収集した各中継フ
ァイル7a,7bの内容と単品売上データ一時バッファ
42にて保管されているオーバーフローした単品売上デ
ータとに基づいて単品マスタファイル6の単品コード別
売上累計点数エリア及び売上累計金額エリアを更新する
ことによって、正確な商品別売上合計データを取得でき
る。
Therefore, in the store processor 4,
Based on the contents of the relay files 7a, 7b collected from the file processors 2a, 2b and the overflowed single-item sales data stored in the single-item sales data temporary buffer 42, the cumulative total number of sales by individual item code in the single-item master file 6 By updating the area and the accumulated sales amount area, accurate total sales data by product can be acquired.

【0041】このように、本実施例によれば、中継ファ
イル7a,7bの空き容量が所定容量以下であり新規の
単品売上データを追加登録できないときには、その後に
発生した新規の単品売上データをストアプロセッサ4に
直接転送することによってデータの消失を防止したの
で、中継ファイル7a,7bの記憶容量を削減し、シス
テムの低価格化を図っても、ストアプロセッサ4にて正
確な商品別売上合計データを取得することができる。
As described above, according to the present embodiment, when the free space of the relay files 7a and 7b is less than the predetermined capacity and the new single-item sales data cannot be additionally registered, the new single-item sales data generated thereafter is stored. Since data loss was prevented by transferring the data directly to the processor 4, even if the storage capacity of the relay files 7a and 7b is reduced and the system price is reduced, the store processor 4 can obtain accurate sales data for each product. Can be obtained.

【0042】また、本実施例では中継ファイル7a,7
bからオーバーフローした単品売上データについて従来
と同様にミスク処理を行い、単品コード“0”の商品の
売上データとして中継ファイル7a,7bにて集計して
いる。従って、ファイルプロセッサ2a,2bとストア
プロセッサ4との間のデータ通信に障害が発生してオー
バーフローした単品売上データをストアプロセッサ4に
転送できなくても、その商品の売上データは単品コード
“0”の商品の売上データとして確保される。よって、
店舗全体の売上合計データについてはストアプロセッサ
4により従来と同様にして取得できる。
Further, in this embodiment, the relay files 7a, 7
Misc processing is performed on the single-item sales data overflowing from b as in the conventional case, and the sales data of the single-item code “0” is totaled in the relay files 7a and 7b. Therefore, even if the overflow of the single item sales data due to a failure in the data communication between the file processors 2a and 2b and the store processor 4 cannot be transferred to the store processor 4, the sales data of the item is a single item code "0". It is secured as sales data for the product. Therefore,
The total sales data of the entire store can be acquired by the store processor 4 in the same manner as the conventional one.

【0043】なお、ファイルプロセッサ2a,2bとス
トアプロセッサ4との間のデータ通信に障害が発生した
場合にはオーバーフローした単品売上データを一時別の
バッファに保管し、障害回復時に転送するように構成す
ることによって、ミスク処理を省略することも可能であ
る。
When a failure occurs in the data communication between the file processors 2a and 2b and the store processor 4, the overflowed single item sales data is temporarily stored in another buffer and transferred when the failure is recovered. By doing so, the missk processing can be omitted.

【0044】また、前記実施例では中継ファイル7a,
7bの空き容量調査手段として登録件数カウンタ26の
カウント値nが所定値N−1以上か否かを調べる方法を
示したが、これに限定されないのはいうまでもない。例
えば、上述したようにミスク処理を省略した場合には、
単品コード“0”の売上データを集計する必要がないの
で、登録件数カウンタ26のカウント値nが所定値N以
上か否かを調べ、所定値よりも大きいときには中継ファ
イル7a,7bが満杯なので、オーバーフロー処理すれ
ばよい。
In the above embodiment, the relay file 7a,
Although the method for checking whether or not the count value n of the registration number counter 26 is equal to or larger than the predetermined value N-1 has been shown as the free space checking means 7b, it goes without saying that the method is not limited to this. For example, if you omit MISK processing as described above,
Since it is not necessary to totalize the sales data of the single item code “0”, it is checked whether the count value n of the registration number counter 26 is a predetermined value N or more, and when the count value n is larger than the predetermined value, the relay files 7a and 7b are full. Overflow processing is sufficient.

【0045】この他、本発明をPOSターミナル群とフ
ァイルプロセッサとが1系統のみのシステムや、3系統
以上のシステムにおける各ファイルプロセッサに適用す
る等、本発明の要旨を逸脱しない範囲で種々変形実施可
能であるのは勿論である。
In addition to the above, the present invention is applied to a system in which the POS terminal group and the file processor are only one system, each file processor in a system having three or more systems, and other various modifications without departing from the scope of the present invention. Of course it is possible.

【0046】[0046]

【発明の効果】以上詳述したように本発明によれば、第
1の回線を通じて各販売商品登録用端末から売上データ
を収集する毎にその収集した売上データの単品コードが
中継ファイルに登録済みか調べ、登録済みが確認される
と収集した売上データを中継ファイルにおける該当単品
コードの売上データに加算し、未登録が確認されると中
継ファイルの空き容量を調べ、所定容量以上の空き容量
有りが確認されると収集した売上データを中継ファイル
に追加登録し、所定容量以上の空き容量無しが確認され
ると収集した売上データを第2の回線を通じて店舗制御
装置へ転送するようにしたので、中継ファイルの記憶容
量を増加することなく、店舗制御装置にて正確な商品別
売上合計データを取得することが可能な売上データ処理
装置を提供できる。
As described above in detail, according to the present invention, every time sales data is collected from each sales commodity registration terminal through the first line, the single item code of the collected sales data is already registered in the relay file. If it is confirmed that it is registered, the collected sales data is added to the sales data of the corresponding single item code in the relay file, and if unregistered is confirmed, the free space of the relay file is checked and there is free space above the specified capacity. When it is confirmed, the collected sales data is additionally registered in the relay file, and when it is confirmed that there is no free space more than a predetermined capacity, the collected sales data is transferred to the store control device through the second line. It is possible to provide a sales data processing device capable of acquiring accurate sales total data for each product by the store control device without increasing the storage capacity of the relay file.

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

【図1】本発明の一実施例であるPOSシステムの全体
図。
FIG. 1 is an overall view of a POS system that is an embodiment of the present invention.

【図2】同実施例におけるストアプロセッサの要部制御
回路を示すブロック図。
FIG. 2 is a block diagram showing a main part control circuit of the store processor in the embodiment.

【図3】前記ストアプロセッサに設けられる単品マスタ
ファイルの構成図。
FIG. 3 is a configuration diagram of a single item master file provided in the store processor.

【図4】前記ストアプロセッサのRAMに形成される主
要なメモリエリアを示す図。
FIG. 4 is a diagram showing a main memory area formed in a RAM of the store processor.

【図5】同実施例におけるファイルプロセッサの要部制
御回路を示すブロック図。
FIG. 5 is a block diagram showing a main part control circuit of the file processor in the embodiment.

【図6】前記ファイルプロセッサのRAMに形成される
主要なメモリエリアを示す図。
FIG. 6 is a diagram showing a main memory area formed in a RAM of the file processor.

【図7】前記ファイルプロセッサのCPUが実行する主
要な制御手順を示す流れ図。
FIG. 7 is a flowchart showing a main control procedure executed by the CPU of the file processor.

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

1a,1b…POSターミナル(販売商品登録用端末) 2a,2b…ファイルプロセッサ(売上データ処理装
置) 3a,3b…第2の通信回線 4…ストアプロセッサ(店舗制御装置) 5…第1の通信回線 6…単品マスタファイル 7a,7b…中継ファイル
1a, 1b ... POS terminal (sales product registration terminal) 2a, 2b ... File processor (sales data processing device) 3a, 3b ... Second communication line 4 ... Store processor (store control device) 5 ... First communication line 6 ... Single master file 7a, 7b ... Relay file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各商品にそれぞれ設定される単品コー
ド,品名,単価等の商品情報を予め設定記憶するととも
に各商品の売上データを前記単品コード別に累積記憶す
る単品マスタファイルを有する店舗制御装置を第1の回
線を介して接続するとともに、複数台の販売商品登録用
端末を第2の回線を介して接続し、前記各端末にて販売
登録された各商品の売上データを前記第2の回線を通じ
て収集し中継ファイルにて一時保管する機能及び前記店
舗制御装置からの収集要求に応じて前記中継ファイルの
内容を前記第1の回線を通じて前記店舗制御装置に伝送
する機能を有する売上データ処理装置において、 前記各端末から商品の売上データを収集する毎にその収
集した売上データの単品コードが前記中継ファイルに登
録済みか調べるファイル調査手段と、 このファイル調査手段により登録済みが確認されると前
記収集した売上データを前記中継ファイルにおける該当
単品コードの売上データに加算する売上データ加算処理
手段と、 前記ファイル調査手段により未登録が確認されると前記
中継ファイルの空き容量を調べる空き容量調査手段と、 この空き容量調査手段により所定容量以上の空き容量有
りが確認されると前記収集した売上データを前記中継フ
ァイルに追加登録する売上データ追加処理手段と、 前記空き容量調査手段により所定容量以上の空き容量無
しが確認されると前記収集した売上データを前記第2の
回線を通じて前記店舗制御装置へ転送する売上データ転
送処理手段と、を具備したことを特徴とする売上データ
処理装置。
1. A store control device having a single item master file for presetting and storing individual item information such as an individual item code, an item name, and a unit price set for each item, and cumulatively storing sales data of each item for each individual item code. In addition to connecting through the first line, a plurality of terminals for sale product registration are connected through the second line, and sales data of each product registered for sale at each terminal is obtained through the second line. In the sales data processing device having the function of collecting through the first line and transmitting the contents of the relay file to the store control device through the first line in response to a collection request from the store control device through the first line. Every time the sales data of a product is collected from each of the terminals, it is checked whether the single item code of the collected sales data is registered in the relay file. Means, a sales data addition processing means for adding the collected sales data to the sales data of the corresponding single item code in the relay file when the file checking means confirms the registration, and the file checking means confirms the unregistered Then, the free space investigation means for checking the free space of the relay file, and the sales data for additionally registering the collected sales data in the relay file when the free space investigation means confirms that there is free space of a predetermined amount or more Additional processing means, and sales data transfer processing means for transferring the collected sales data to the store control device through the second line when it is confirmed by the free space checking means that there is no free space equal to or larger than a predetermined capacity. A sales data processing device characterized by being provided.
JP15761293A 1993-06-28 1993-06-28 Sales data processor Pending JPH0736984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15761293A JPH0736984A (en) 1993-06-28 1993-06-28 Sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15761293A JPH0736984A (en) 1993-06-28 1993-06-28 Sales data processor

Publications (1)

Publication Number Publication Date
JPH0736984A true JPH0736984A (en) 1995-02-07

Family

ID=15653539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15761293A Pending JPH0736984A (en) 1993-06-28 1993-06-28 Sales data processor

Country Status (1)

Country Link
JP (1) JPH0736984A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006039767A (en) * 2004-07-23 2006-02-09 Toshiba Tec Corp Data relay device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006039767A (en) * 2004-07-23 2006-02-09 Toshiba Tec Corp Data relay device
JP4485872B2 (en) * 2004-07-23 2010-06-23 東芝テック株式会社 Data relay device

Similar Documents

Publication Publication Date Title
GB2065350A (en) Electronic register mutual transmission system
JPH0766474B2 (en) Sales data management system
JPS60134964A (en) Pos system
JPH0736984A (en) Sales data processor
WO2019147498A2 (en) Cache coherency engine
JP3146067B2 (en) Product sales data processing device
JP3502859B2 (en) POS data management method
JP3387162B2 (en) Transaction processing system
JPS5812068A (en) Group managing system for electronic cash register
JPH10320615A (en) Prepaid card system, master information management system, and record medium
JPS5839351B2 (en) POS inline system
JP3486324B2 (en) Store processing device and store management system having the store processing device
JP2582234B2 (en) Sales registration device
JPH04107034A (en) Retry frequency learning device
JP3235292B2 (en) Transaction processing system and network controller
JPH10289386A (en) Commodity sales management device and computer reading possible recording medium with recorded commodity sales management program
JPH0628068B2 (en) Transaction processing system using cards
JP3069119B2 (en) POS system
JPH02112095A (en) Commodity sales data processor
JP2753940B2 (en) Product sales management method and system used for the method
JP2541604B2 (en) POS system
JPS5840224B2 (en) Information reading method of electronic cash register
JPH0535976A (en) Product sales data processor
JP2509928B2 (en) Refund handling period setting method
JPH0670832B2 (en) POS system