JPH03263194A - Pos system - Google Patents

Pos system

Info

Publication number
JPH03263194A
JPH03263194A JP6297290A JP6297290A JPH03263194A JP H03263194 A JPH03263194 A JP H03263194A JP 6297290 A JP6297290 A JP 6297290A JP 6297290 A JP6297290 A JP 6297290A JP H03263194 A JPH03263194 A JP H03263194A
Authority
JP
Japan
Prior art keywords
memory
area
totalization
transaction log
article
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
JP6297290A
Other languages
Japanese (ja)
Inventor
Shingo Shikida
色田 眞吾
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6297290A priority Critical patent/JPH03263194A/en
Publication of JPH03263194A publication Critical patent/JPH03263194A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To eliminate a memory problem by totalizing the sales of articles by using a memory and utilizing the memory area effectively at a place where the memory area is limited. CONSTITUTION:The sales of an article A is registered on a POS register 1-1. In the POS register 1-1, price collation is performed by a PLU memory 1-2 to generate a transaction log, which is outputted in a transaction log file 1-3 after the transaction is carried out and deposit processing is done. A totalization program 1-6 reads the transaction log out of the transaction log file 1-3 and performs totalization on a single article totalization memory 1-5 or article master file 1-4. The totalization on the article master file 1-4 is performed only when there is no unused area in the totalization area on the single-article totalization memory 1-5, and thus the memory area is utilized effectively. Consequently, the number of article items that the system has never becomes a memory problem.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、小売店、スーパー、専門店のPOSシステム
に関し、特に商品の単品集計に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a POS system for retail stores, supermarkets, and specialty stores, and particularly relates to aggregation of individual products.

〔従来の技術〕[Conventional technology]

従来この種のメモリ集計方式は、予め、1つの商品に対
し、メモリ上に1つの集計エリアを用意しておき、商品
コードと集計エリアを1対1に対応させ、商品の単品集
計を行っていた。
Conventionally, this type of memory aggregation method prepares one aggregation area in memory for one product in advance, makes a one-to-one correspondence between the product code and the aggregation area, and performs aggregation for each product. Ta.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメモリ集計方式は、商品コードVこ対し
、必ずメモリ上に集計エリアを1つもつので商品コード
が増すとそれだけでメモリ領域も増やさなくてはならな
く、システムに持てる商品アイテム数がメモリネックと
なる問題点があった。
The conventional memory aggregation method described above always has one aggregation area in memory for product code V, so as the number of product codes increases, the memory area must also be increased, and the number of product items that can be held in the system increases. There was a problem that caused a memory bottleneck.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記問題点を解決するために一定容量のメモリ
領域を集計エリアとして確保し、使用エリアと未使用エ
リアを別々に管理し、売上があったものを順次使用エリ
アに索引キーを作成し、使用エリアを拡げていく。この
時、未使用エリアから使用エリアへポインタの付けかえ
を行い、論理的に使用エリアを拡張する。未使用エリア
がなくなった的は直接ディスクファイル上に集計を行う
様にしたものである。そのため、商品の集計をメモリフ
ァイルか、ディスクファイルのどちらかに集計するか判
断する機能と、メモリの集計エリアを管理する機能とを
有している。
In order to solve the above problems, the present invention secures a certain amount of memory area as a total area, manages the used area and unused area separately, and creates index keys in the used area sequentially based on sales. , expanding the area of use. At this time, the pointer is replaced from the unused area to the used area, and the used area is logically expanded. When the unused area is no longer available, the total is directly recorded on the disk file. Therefore, it has a function to determine whether to aggregate products in a memory file or a disk file, and a function to manage the memory aggregation area.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

POSレジ1−1にて、商品Aを売上登録を行う(処理
l)。POSレジ1−1内でPLUメモリ1−2に価格
照会を行い(処理2)、取引ログを作成する(処理3)
。取引が成立し、預かり処理を行った後、取引ログを取
引ログファイル1−3に出力する(処理4)。集計プロ
グラム1−6においては取引ログファイル1−3より取
引ログを読み(処理5)、単品集計メモリ1−5または
、商品マスタファイル1−4に集計する(処理6)。
Sales of product A are registered at the POS register 1-1 (process 1). Make a price inquiry in the PLU memory 1-2 in the POS register 1-1 (processing 2) and create a transaction log (processing 3)
. After the transaction is completed and the custody process is performed, the transaction log is output to the transaction log file 1-3 (processing 4). The aggregation program 1-6 reads transaction logs from the transaction log file 1-3 (processing 5) and aggregates them in the single item aggregation memory 1-5 or product master file 1-4 (processing 6).

商品マスタファイル1−4に集計するのは単品集計メモ
リ1−5に集計領域の未使用エリアがない時である。
Aggregation is performed in the product master file 1-4 when there is no unused area of the aggregation area in the single item aggregation memory 1-5.

第2図は、第1図のPOSレジ1−1での売上登録業務
(処理1〜4)をツー−チャート型式にしたものである
FIG. 2 shows the sales registration work (processes 1 to 4) at the POS register 1-1 shown in FIG. 1 in a two-chart format.

取引が開始され(ステップ2−1)、商品2−11が登
録されると(ステップ2−2)、FLUメモリ1−2を
照会し価格を見る(ステップ2−3)。PLUメモリ1
−2のレイアウトは第5図に示す通りであり、商品コー
ドをキーに価格、集計ポインタその他を有している。P
LUメモリ1−2に商品2−11が存在すれば(ステッ
プ2−4)価格表示及びレシート印字をする(ステップ
2−5)。取引ログを作成しくステップ2−6)、レジ
内部メモリの取引ログエリア2−13に一時ためておく
。この時の取引ログ2−13のレコードイメージは、第
6図のとうりであり、FLUメモリ1−2から商品コー
ド、売価、集計ポインタを引用し、作成する。次々と商
品を登録し、最終商品を登録し終わったら(ステップ2
−7)、代金の預かり処理(ステップ2−8)を行い、
取引ログ2−13を取引ログファイル1−3に出力する
When the transaction is started (step 2-1) and the product 2-11 is registered (step 2-2), the FLU memory 1-2 is referred to and the price is checked (step 2-3). PLU memory 1
The layout of -2 is as shown in FIG. 5, and has a product code as a key, a price, a tally pointer, etc. P
If the product 2-11 exists in the LU memory 1-2 (step 2-4), the price is displayed and a receipt is printed (step 2-5). Create a transaction log (step 2-6) and temporarily store it in the transaction log area 2-13 of the internal memory of the cash register. The record image of the transaction log 2-13 at this time is as shown in FIG. 6, and is created by quoting the product code, selling price, and total pointer from the FLU memory 1-2. Register products one after another, and after registering the final product (Step 2
-7), perform payment processing (step 2-8),
Output transaction log 2-13 to transaction log file 1-3.

第3図は第1図の集計プログラム1−6のフローチャー
トである。取引ログ集計の1サイクルは第2の取引ログ
2−13を読む事より開始する(ステップ3−1)。取
引ログファイル1−3を読み、商品明細ごとに集計ポイ
ンタをチエツクする(ステップ3−3)。集計ポインタ
のルールは、第4図に示す通り、集計ポインタがゼロの
時はまだ売り上げが立っていない状態、ALL9の時は
単品集計メモリl−5に未使用エリアがなく商品マスタ
ファイル1−4に集計を行っている状態、その他の値の
時は単品集計メモリ1−5のその値の示す番地に集計を
行っている状態である。
FIG. 3 is a flowchart of the counting program 1-6 shown in FIG. One cycle of transaction log aggregation starts with reading the second transaction log 2-13 (step 3-1). Read the transaction log file 1-3 and check the total pointer for each item item (step 3-3). As shown in Figure 4, the rules for the tally pointer are that when the tally pointer is zero, no sales have been made yet, and when it is ALL9, there is no unused area in the single item tally memory l-5 and the product master file 1-4. In the case of other values, the totalization is performed at the address indicated by the value in the single item totalization memory 1-5.

ステップ3−3では集計ポインタのチエツクを行い、ゼ
pでなく、かつALL9でない時は単品集計メモリ1−
5に集計する(ステップ3−4)。
In step 3-3, the total pointer is checked, and if it is not ZEP and ALL9, the single item total memory 1-
5 (step 3-4).

そうでない時、つまりゼロ、又はALL9の時は単品集
計メモリ1−5の未使用エリアがあるかチエツクを行い
(ステップ3−5)、未使用エリアがあれば集計エリア
を確保しくステップ3−6)、ステップ3−4と同様に
単品集計メモリに集計を行う(ステップ3−7)。もし
、未使用エリアがないのなら商品マスタファイル1−4
に集計を行う(ステップ3−8)。取引ログの全明細を
処理したら(ステップ3−9)、再び次の取引ログを読
む事を繰り返す(ステップ3−10)。第7図は商品マ
スタファイル1−4のレイアウトイメージであり、商品
コードをキーとして売上を集計する部分の他、商品情報
を持っている。
If not, that is, zero or ALL9, check whether there is an unused area in the single item tally memory 1-5 (step 3-5), and if there is an unused area, secure the tally area in step 3-6. ), the total is performed in the single item total memory as in step 3-4 (step 3-7). If there is no unused area, product master file 1-4
Aggregation is performed (step 3-8). Once all details of the transaction log have been processed (step 3-9), reading the next transaction log is repeated (step 3-10). FIG. 7 is a layout image of the product master file 1-4, which includes product information as well as a part for totalizing sales using product codes as keys.

第8図は単品集計メモリl−5のレコードレイアウトイ
メージである。集計ポインタは0を含みALLを含まな
いユニークな番号から成り、索弓キーとなる。管理レコ
ード8−1の集計ポインタはゼロであり使用エリア、未
使用エリアの先頭レコードの番地すなわち集計ポインタ
を管理している。使用レコード8−2未使用レコード8
−3の集計ポインタはゼロとALL9以外のもので集計
ポインタの他に次レコードポインタを持つ。次レコード
ポインタの役目はエリアがどこまで次ぐかを管理したり
、未使用エリアから使用エリアへと変える。またその逆
を行うのに論理的な結合を行うものである。使用レコー
ド8−2は商品コードと集計部を持ち単品集計はこの使
用エリアを使って行なわれる。
FIG. 8 is a record layout image of the single item tally memory l-5. The tally pointer consists of a unique number that includes 0 and does not include ALL, and serves as a search key. The total pointer of the management record 8-1 is zero, and manages the address of the first record of the used area and unused area, that is, the total pointer. Used record 8-2 Unused record 8
The total pointer -3 is other than zero and ALL9 and has a next record pointer in addition to the total pointer. The role of the next record pointer is to manage the next area and to change an area from an unused area to a used area. It also uses logical combinations to do the opposite. The usage record 8-2 has a product code and a tally section, and the single item tally is performed using this usage area.

第9図はその単品集計メモリ1−5の構造を表している
。管理レコード8−1の使用エリア先頭ポインタが示す
Aの番地が使用エリア9−2の第ルコードである。使用
エリア9−2は次レコードポインタにより、チェーンの
様に結ばれ、最後尾の使用エリアレコードは、その事を
示すために次レコードポインタがゼロとなっている。同
様にして、未使用エリア9−3も未使用エリア先頭ポイ
ンタと、次レコードポインタによりチェーンを作ってい
る。使用エリア9−2、未使用エリア9−3がこの様に
チェーンになっている事により、未使用エリア9−3か
ら使用エリア9−2への付けかえ、あるいはその逆をポ
インタの付けかえにより容易に行う事ができる。
FIG. 9 shows the structure of the single item tally memory 1-5. The address A indicated by the used area head pointer of the management record 8-1 is the number code of the used area 9-2. The used area 9-2 is connected like a chain by the next record pointer, and the last used area record has the next record pointer set to zero to indicate this. Similarly, the unused area 9-3 also forms a chain using the unused area head pointer and the next record pointer. Since the used area 9-2 and unused area 9-3 are chained like this, it is possible to change from unused area 9-3 to used area 9-2, or vice versa, by changing the pointer. It can be done easily.

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

以上説明したように本発明は、商品の売上集計をメモリ
を使用して行い、しかもそのメモリ領域が限られている
場において、領域を有効利用できる点で効果がある。
As described above, the present invention is effective in that it is possible to use a memory to tally sales of products, and to utilize the memory area effectively in a case where the memory area is limited.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図に示す売上登録の処理1のフローチャート、第3図は
第1図に示す実施例での単品集計のプログラムのフロー
チャート、第4図は第1図に示す実施例の各ファイルの
関連で集計ポインタによる各ファイルの結合を示す図、
第5図は第1図に示すPLUメモリ1−2のレコードイ
メージの模式図、第6図は第1図に示す実施例の取引ロ
グ、商品明細のイメージを示す模式図、第7図は第1図
に示す商品マスタファイル1−4のレコードイメージの
模式図、第8図および第9図はそれぞれ第1図に示す単
品集計メモ!71−5のレコードイメージの模式図およ
び構造を表す模式図である。 1−1・・・・・・POSレジ、1−2・・・・・・F
LUメモリファイル、l−3・・・・・・取引ログファ
イル、1−4・・・・・・商品マスタファイル、1−5
・・・・・・単品集計メモリファイル、1−6・・・・
・・集計プログラム。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
Figure 3 is a flowchart of the sales registration process 1 shown in Figure 1, Figure 3 is a flowchart of the single item counting program in the embodiment shown in Figure 1, Figure 4 shows the number of counts pointers in relation to each file in the embodiment shown in Figure 1. Diagram showing the combination of each file by,
FIG. 5 is a schematic diagram of the record image of the PLU memory 1-2 shown in FIG. 1, FIG. 6 is a schematic diagram of the transaction log and product details of the embodiment shown in FIG. The schematic diagram of the record image of the product master file 1-4 shown in Figure 1, and Figures 8 and 9 are the single item tally memo shown in Figure 1, respectively! 71-5 is a schematic diagram of a record image and a schematic diagram showing its structure. FIG. 1-1...POS cash register, 1-2...F
LU memory file, l-3... Transaction log file, 1-4... Product master file, 1-5
...Single item tally memory file, 1-6...
...Aggregation program.

Claims (1)

【特許請求の範囲】[Claims] 商品の売上登録を行う入力手段と、売上を集計する記憶
手段としてディスクファイルと、メモリファイルを有す
るPOSシステムにおいて、商品の単品売上集計を限ら
れたメモリ領域の中で動的に索引キーを作成し、メモリ
領域の有効利用を果たす事を特徴とするPOSシステム
In a POS system that has an input means for registering product sales, a disk file and a memory file as storage means for aggregating sales, index keys are dynamically created within a limited memory area for aggregating individual product sales. A POS system characterized by making effective use of memory area.
JP6297290A 1990-03-13 1990-03-13 Pos system Pending JPH03263194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6297290A JPH03263194A (en) 1990-03-13 1990-03-13 Pos system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6297290A JPH03263194A (en) 1990-03-13 1990-03-13 Pos system

Publications (1)

Publication Number Publication Date
JPH03263194A true JPH03263194A (en) 1991-11-22

Family

ID=13215775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6297290A Pending JPH03263194A (en) 1990-03-13 1990-03-13 Pos system

Country Status (1)

Country Link
JP (1) JPH03263194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131564B2 (en) 2011-07-29 2015-09-08 Panasonic Intellectual Property Management Co., Ltd. Lighting device and illumination apparatus using same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131564B2 (en) 2011-07-29 2015-09-08 Panasonic Intellectual Property Management Co., Ltd. Lighting device and illumination apparatus using same

Similar Documents

Publication Publication Date Title
JPS60153593A (en) Electronic register
US4419738A (en) Unit-price presetting method for electronic cash registers
JPH03263194A (en) Pos system
JP3525173B2 (en) Receipt creation method and device therefor
JPH0462698A (en) Electronic cash register
JPS5994166A (en) Registering system of electronic register
JP2539002B2 (en) Transaction processor
JPH0668794B2 (en) Electronic cash register
JPH0121430Y2 (en)
JP2933183B2 (en) Sales aggregation device
JPS5847471Y2 (en) Electronic register with transaction-specific registration function
JPS59106073A (en) Electronic register
JPH0710468Y2 (en) Sales data processor
JPH0432995A (en) Pos terminal device
JPS63301398A (en) System of merchandizing results for planned merchandize
JPS6263395A (en) Electronic cash register
JPH01199293A (en) Pos system using non plu code
JPH01216216A (en) Electronic charge scale
JPH05181878A (en) Output system for table of income and expensives of curstomer
JPH04186470A (en) Pos information output system
JPS62165297A (en) Sales data processor with setting function
JPS62271194A (en) Electronic cash register
JPH03278198A (en) Pos system
JPS63165997A (en) Electronic cash register
JP2003272056A (en) Service point imparting device, service point imparting method and service point imparting program