JPH08161640A - Transaction processor - Google Patents

Transaction processor

Info

Publication number
JPH08161640A
JPH08161640A JP6299893A JP29989394A JPH08161640A JP H08161640 A JPH08161640 A JP H08161640A JP 6299893 A JP6299893 A JP 6299893A JP 29989394 A JP29989394 A JP 29989394A JP H08161640 A JPH08161640 A JP H08161640A
Authority
JP
Japan
Prior art keywords
product
combination
bit string
registered
identification code
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
JP6299893A
Other languages
Japanese (ja)
Inventor
Koji Hisada
浩司 久田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP6299893A priority Critical patent/JPH08161640A/en
Publication of JPH08161640A publication Critical patent/JPH08161640A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide the transaction processor in which a time required for discriminating whether or not combination of commodities is allowed in the case of a package sales where accounting processing is conducted for a discounted monetary amount less than a total monetary amount being the sum of unit prices of individual commodities for the package purchase of the commodities in combination. CONSTITUTION: A 1st bit string is stored for each commodity combination record 12 registered in an commodity combination table 11 and a 2nd bit string is generated based on the commodity identification code of the registered article. Whether or not the 1st bit string and the 2nd bit string have a prescribed relation ship is discriminated. When they have no prescribed relationship, the combination of commodities is not allowed. When they have the prescribed relationship, whether or not the commodity identification code stored in the commodity combination record 12 is all included in the commodity identification record of the registered commodity is discriminated, and when included all, the combination of the commodities is allowed and registered.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、登録された商品の精
算処理を行う取引処理装置に関し、特に商品の組合せに
よって売価を変更して精算処理を行う取引処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction processing apparatus for performing settlement processing of registered commodities, and more particularly to a transaction processing apparatus for performing settlement processing by changing a selling price depending on a combination of commodities.

【0002】[0002]

【従来の技術】店舗では、顧客サービスの1つとして、
顧客が商品Aと商品Bを購入する場合に商品Aと商品B
の単価を加えた金額よりも安い金額で販売する組合せ販
売を実施している。
2. Description of the Related Art In stores, as one of customer services,
Product A and Product B when a customer purchases Product A and Product B
We carry out combination sales that sell at a lower price than the sum of the unit price.

【0003】従来、この組合せ販売を行う場合、図7に
示すような組合せ販売を行う商品の商品識別コードを対
応させた商品組合せレコード31を商品組合せテーブル
30に記憶させ、登録処理された商品毎に全ての商品組
合せレコード31に対して一致する商品識別コードが記
憶されているかどうかを確認する。そして、一致する商
品識別コードがあればこの商品識別コードに対応して設
けられている成立フラグを1にする。登録処理された全
ての商品に対して上記した処理を行い、成立フラグが全
て1となった商品組合せレコード31があれば商品の組
合せが成立したとして、この組合せが成立した時の金額
で精算処理を行う(図6参照)。
Conventionally, in the case of performing this combination sale, a product combination record 31 corresponding to the product identification code of the product to be sold as shown in FIG. 7 is stored in the product combination table 30, and each registered product is processed. It is confirmed whether or not the matching product identification code is stored for all the product combination records 31. If there is a matching product identification code, the establishment flag provided corresponding to this product identification code is set to 1. The above-described processing is performed on all the registered products, and if there is a product combination record 31 in which all the establishment flags are 1, it is determined that the product combination is established, and the amount of money when this combination is established is settled. (See FIG. 6).

【0004】[0004]

【発明が解決しようとする課題】上記の従来の装置で
は、上記したように商品の組合せが成立しているかどう
かを判定するために、登録処理された全ての商品の各々
が商品組合せテーブル30に登録されている商品の商品
識別コードと一致しているかどうかを確認する。しかし
ながら、このような構成では、商品組合せレコード31
が多く登録されている場合や登録処理された商品の個数
が多い場合等には商品識別コードの一致、不一致の確認
回数が多くなり、商品の組合せが成立しているかどうか
の判定に要する時間が長くかかる問題があった。
In the above conventional device, all the registered products are stored in the product combination table 30 in order to judge whether or not the product combination is established as described above. Check if it matches the product identification code of the registered product. However, in such a configuration, the product combination record 31
If the number of registered products is large or the number of registered products is large, the number of times the product identification code matches or does not match increases, and the time required to determine whether a product combination is established There was a problem that it took a long time.

【0005】この発明の目的は、商品を組合せて購入し
た時に個々の商品の単価を加えた金額よりも安い金額で
精算処理を行う組合せ販売を行う場合に、商品の組合せ
が成立しているかどうかの判定に要する時間を短縮した
取引処理装置を提供することにある。
An object of the present invention is to determine whether or not a combination of products is established in the case of combination sales in which the settlement processing is performed at a price lower than the sum of the unit prices of the individual products when the products are purchased in combination. It is to provide a transaction processing device that shortens the time required for the determination.

【0006】[0006]

【課題を解決するための手段】この発明の取引処理装置
は、複数の商品の商品識別コードを対応させた商品組合
せレコードを登録する商品組合せテーブルと、前記商品
組合せレコード毎の各商品識別コードの一部で示される
数字に対応したビットを1にした第1のビット列を作成
する第1のビット列作成手段と、登録処理された商品の
商品識別コードの一部で示される数字に対応したビット
を1にした第2のビット列を作成する第2のビット列作
成手段と、前記商品組合せレコード毎に前記第1のビッ
ト列と前記第2のビット列との論理積が第1のビット列
と等しいかどうかを判定するビット列判定手段と、前記
ビット列判定手段で等しいと判定した商品組合せレコー
ドの全ての商品識別コードが登録処理された商品識別コ
ードに含まれているかどうかを確認する組合せ確認手段
と、前記組合せ確認手段で全て含まれていることを確認
したときに登録処理された商品を前記確認された商品の
組合せに基づいて精算処理を行う精算手段と、を備えた
ことを特徴とする。
A transaction processing apparatus according to the present invention comprises a product combination table for registering a product combination record corresponding to product identification codes of a plurality of products, and a product identification code for each product combination record. A first bit string creating means for creating a first bit string in which the bit corresponding to the number shown in part is set to 1, and a bit corresponding to the number shown in part of the product identification code of the registered product. Second bit string creating means for creating the second bit string set to 1, and it is determined for each product combination record whether the logical product of the first bit string and the second bit string is equal to the first bit string. All the product identification codes of the bit string determination means and the product combination records determined to be equal by the bit string determination means are included in the registered product identification code. A combination confirmation means for confirming whether or not, and a settlement means for performing settlement processing based on the confirmed combination of the registered products when confirming that all are included in the combination confirmation means, It is characterized by having.

【0007】また、前記第1のビット列作成手段は、前
記商品組合せレコードの各商品識別コードの特定の一桁
が示す数字に対応したビットを1にした10桁のビット
列を作成する手段であり、前記第2のビット列作成手段
は、登録された各商品の商品識別コードの特定の一桁が
示す数字に対応したビットを1にした10桁のビット列
を作成する手段であることを特徴とする。
The first bit string creating means is a means for creating a 10-digit bit string in which the bit corresponding to the number indicated by a specific one digit of each product identification code of the product combination record is set to 1. The second bit string creating means is a means for creating a 10-digit bit string in which a bit corresponding to a number indicated by a specific one digit of the registered product identification code is set to 1.

【0008】さらに、前記第1のビット列作成手段およ
び前記第2のビット列作成手段における特定の一桁は、
商品識別コードの最下位桁であることを特徴とする。
Further, a specific digit in the first bit string creating means and the second bit string creating means is
It is the lowest digit of the product identification code.

【0009】[0009]

【作用】この発明の取引処理装置においては、商品組合
せレコード毎に商品識別コードの一部で示される数字に
対応したビットを1にした第1のビット列を作成し、登
録された商品の商品識別コードの一部で示される数字に
対応したビットを1にした第2のビット列を作成する。
前記商品組合せレコード毎に第1のビット列と第2のビ
ット列との論理積が第1のビット列と等しいかどうかを
判定する。ここで、等しいと判定した商品組合せレコー
ドの商品識別コードが登録処理された商品識別コードに
全て含まれているかどうかを確認する。この確認で、全
て含まれている場合には、商品の組合せが成立したとし
て、成立した商品の組合せに基づいて登録された商品の
精算処理を行う。
In the transaction processing apparatus of the present invention, the first bit string in which the bit corresponding to the numeral indicated by a part of the product identification code is set to 1 for each product combination record is created, and the product identification of the registered product is performed. A second bit string in which the bit corresponding to the number indicated by a part of the code is set to 1 is created.
For each product combination record, it is determined whether the logical product of the first bit string and the second bit string is equal to the first bit string. Here, it is confirmed whether all the product identification codes of the product combination records determined to be equal are included in the registered product identification codes. If all the items are included in this confirmation, it is determined that the combination of products has been established, and the settlement processing of the registered products is performed based on the combination of the established products.

【0010】このように、商品識別コードの一部で示さ
れる数字に対応したビットを1にした第1のビット列
と、第2のビット列との論理積が第1のビット列と等し
く無い場合には、この商品組合せレコードの少なくとも
一部の商品識別コードは登録処理された商品と無関係で
ある。したがって、第2のビット列との論理積が同じで
ない第1のビット列が作成された商品組合せレコードに
対して、登録処理された商品の商品識別コードと一致す
る商品識別コードがあるかどうかを確認しなくても問題
はない。すなわち、このような商品組合せレコードに対
して確認を行わないようにすることで、商品識別コード
の一致、不一致を確認する回数を減少させることがで
き、商品の組合せが成立しているかどうかの判定に要す
る時間を短縮することができる。
As described above, when the logical product of the first bit string in which the bit corresponding to the number indicated by a part of the product identification code is 1 and the second bit string is not equal to the first bit string, , At least a part of the product identification code of the product combination record is irrelevant to the registered product. Therefore, it is confirmed whether or not there is a product identification code that matches the product identification code of the registered product for the product combination record in which the first bit string whose logical product is not the same as the second bit string is created. There is no problem if you do not have it. In other words, by not checking such product combination records, it is possible to reduce the number of times the product identification code matches or does not match, and it is determined whether a product combination is established. The time required for can be shortened.

【0011】また、商品組合せレコード毎に各々の商品
識別コードの特定の一桁が示す数字に対応したビットを
1にした10桁のビット列を第1のビット列として作成
し、登録処理された商品の特定の一桁が示す数字に対応
したビットを1にした10桁のビット列を第2のビット
列として作成する。
Further, for each product combination record, a 10-digit bit string in which the bit corresponding to the number indicated by the specific one digit of each product identification code is set to 1 is created as the first bit string, and the registered products are registered. A 10-digit bit string in which the bit corresponding to the number indicated by a specific digit is set to 1 is created as the second bit string.

【0012】さらに、商品識別コードの最下位桁を特定
の一桁として第1のビット列および第2のビット列を作
成する。
Further, the first bit string and the second bit string are created with the lowest digit of the product identification code as a specific digit.

【0013】[0013]

【実施例】図1は、この発明の実施例である取引処理装
置の構成を示す図である。取引処理装置1は、CPU2
と、ROM3と、RAM4と、キー操作によってデータ
の入力を行う入力部5と、商品に付されたバーコードか
ら情報を読み取るバーコードリーダ6と、商品識別コー
ドに対応させて該商品の価格等を記憶したPLUファイ
ル7と、入力データ等を表示する表示部8と、レシート
を発行するプリンタ9とを備えている。RAM4には、
図2に示す商品組合せテーブル11を記憶する商品組合
せテーブル記憶エリア4aと、登録された商品の商品識
別コードを記憶する登録商品記憶エリア4bとを備えて
いる。商品組合せテーブル11には、商品組合せレコー
ド12を複数記憶している。商品組合せレコード12
は、組合せ販売を行う商品の組合せ毎に設けられ、組合
せが成立する各商品の商品識別コードを記憶する商品識
別コード記憶エリア21と、記憶している全ての商品識
別コードから後述する方法で作成された第1のビット列
を記憶する第1のビット列記憶エリア22と、組合せが
成立したかどうかの判定結果を記憶する判定結果記憶エ
リア23と、組合せが成立したときの価格を記憶する価
格記憶エリア24とを有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram showing the structure of a transaction processing apparatus according to an embodiment of the present invention. The transaction processing device 1 has a CPU 2
A ROM 3, a RAM 4, an input section 5 for inputting data by key operation, a bar code reader 6 for reading information from a bar code attached to a product, and a price of the product corresponding to a product identification code. A PLU file 7 that stores information, a display unit 8 that displays input data and the like, and a printer 9 that issues a receipt. In RAM4,
The product combination table storage area 4a for storing the product combination table 11 shown in FIG. 2 and the registered product storage area 4b for storing the product identification code of the registered product are provided. The product combination table 11 stores a plurality of product combination records 12. Commodity combination record 12
Is provided for each combination of products to be sold in combination, and is created by a method described later from the product identification code storage area 21 that stores the product identification code of each product that forms the combination and all the stored product identification codes. A first bit string storage area 22 for storing the generated first bit string, a determination result storage area 23 for storing a result of determination as to whether or not the combination is established, and a price storage area for storing a price when the combination is established. 24 and.

【0014】第1のビット列は、10桁のビット列で構
成され最下位桁から順に商品識別コードの最下位桁が示
す数字の1、2、・・・、9、0に対応し、商品組合せ
レコード12に記憶している全ての商品識別コードの最
下位桁が示す数字に対応したビットを全て1としたビッ
ト列である(図3参照)。例えば、組合せが成立する商
品の商品識別コード(商品組合せレコード12に記憶し
ている商品識別コード)が100101と100102
である場合に、第1のビット列として、0000000
011が作成され、これが該当する商品組合せレコード
12の第1のビット列記憶エリア22に記憶される。
The first bit string is composed of a 10-digit bit string, and corresponds to the numbers 1, 2, ..., 9, 0 indicated by the lowest digit of the product identification code in order from the lowest digit, and the product combination record. It is a bit string in which all the bits corresponding to the numbers indicated by the least significant digits of all the product identification codes stored in 12 are set to 1 (see FIG. 3). For example, the product identification codes (the product identification codes stored in the product combination record 12) of the products that form the combination are 100101 and 100102.
Is 0000000, the first bit string is 0000000.
011 is created and stored in the first bit string storage area 22 of the corresponding merchandise combination record 12.

【0015】また、取引処理装置1は、登録された商品
の商品識別コードを登録商品記憶エリア4bに記憶す
る。そして登録された全ての商品の商品識別コードから
第2のビット列を作成する。この第2のビット列も第1
のビット列と同様に10桁のビット列で構成され最下位
桁から順に商品識別コードの最下位桁が示す数字の1、
2、・・・、9、0に対応し、登録商品記憶エリア4b
に記憶している全ての商品識別コードの最下位桁が示す
数字に対応したビットを全て1としたビット列である
(図4参照)。例えば、登録された商品が6点で各商品
の商品識別コードが、100100、100103、1
00309、100102、100505、10030
5、である場合に、第2のビット列として、11000
10110が作成される。
The transaction processing apparatus 1 also stores the product identification code of the registered product in the registered product storage area 4b. Then, a second bit string is created from the product identification codes of all the registered products. This second bit string is also the first
, Which is composed of a 10-digit bit string in the same manner as the bit string of, the number 1 indicated by the lowest digit of the product identification code in order from the lowest digit,
Registered product storage area 4b corresponding to 2, ..., 9, 0
Is a bit string in which all the bits corresponding to the numbers indicated by the least significant digits of all the product identification codes stored in are set to 1 (see FIG. 4). For example, the number of registered products is 6 and the product identification code of each product is 100100, 100103, 1
00309, 100102, 100505, 10030
5, the second bit string is 11000.
10110 is created.

【0016】図5は、この発明の実施例である取引処理
装置の動作を示すフローチャートである。この実施例の
取引処理装置の動作を図5を参照しながら説明する。取
引処理装置1は顧客が購入予定の商品が全て登録される
と(n1、n2)、この登録された商品の商品識別コー
ドから第2のビット列を作成する(n3)。商品組合せ
テーブル11に登録されている1つの商品組合せレコー
ド12を抽出し、この抽出した商品組合せレコード12
に記憶している第1のビット列を読み出す(n4)。そ
して、この第1のビット列と第2のビット列との論理積
が第1のビット列と一致するかどうかを判定する(n
5)。ここで、第1のビット列と第2のビット列との論
理積が第1のビット列と一致するのは、少なくとも商品
識別コード記憶エリア21に記憶されている全ての商品
識別コードと少なくとも最下位の桁が同じ商品識別コー
ドの商品がn1で登録されている時である。言い換えれ
ば、ここで一致していない場合には、商品識別コード記
憶エリア21に記憶されている商品識別コードと最下位
の桁が同じ数字の商品識別コードを有する商品を全てn
1で登録していない(商品識別コード記憶エリア21に
記憶されている一部の商品識別コードと最下位の桁が同
じ数字の商品識別コードを有する商品を登録していると
きもある。)。すなわち、第1のビット列と第2のビッ
ト列との論理積が第1のビット列と一致しないときに
は、登録された商品でこの商品組合せレコード12によ
って設定された商品の組合せが成立することはない。
FIG. 5 is a flow chart showing the operation of the transaction processing apparatus according to the embodiment of the present invention. The operation of the transaction processing apparatus of this embodiment will be described with reference to FIG. When all the products that the customer plans to purchase are registered (n1, n2), the transaction processing device 1 creates a second bit string from the product identification code of the registered products (n3). One product combination record 12 registered in the product combination table 11 is extracted, and the extracted product combination record 12 is extracted.
The first bit string stored in is read (n4). Then, it is determined whether the logical product of the first bit string and the second bit string matches the first bit string (n
5). Here, the logical product of the first bit string and the second bit string agrees with the first bit string because at least all the product identification codes stored in the product identification code storage area 21 and at least the least significant digit. Is when the products having the same product identification code are registered in n1. In other words, if they do not match here, all products that have a product identification code whose lowest digit is the same as the product identification code stored in the product identification code storage area 21 are n.
1 is not registered (some products have a product identification code whose lowest digit is the same as some product identification codes stored in the product identification code storage area 21). That is, when the logical product of the first bit string and the second bit string does not match the first bit string, the combination of products registered by the product combination record 12 is not established.

【0017】n4で一致していないと判定した場合に
は、この商品組合せレコード12に対しては組合せ不成
立と判定し、商品組合せテーブル11に登録されている
他の商品組合せレコード12に対して、商品組合せの成
立、不成立の判定を行ったかどうかを確認し(n8)、
これを行っていない商品組合せレコード12がある場合
には、上記した処理を繰り返す。n4で一致していると
判定すると、この商品組合せレコード12に記憶されて
いる全ての商品識別コードが、n1で登録されているか
どうかを確認する(n6)。ここで、全て登録されてい
ることを確認すると、商品の組合せが成立したとして判
定結果記憶エリア23を1に変更することで商品の組合
せ成立を登録する(n7)。このようにして、商品組合
せテーブル11に登録されている全ての商品組合せレコ
ード12に対して組合せの成立、不成立の判定を行う。
以上のように、n5で登録された商品で商品の組合せが
成立することはない商品組合せレコード12を検出し、
この商品組合せレコード12に対しては登録された商品
の中に一致する商品識別コードがあるかどうかを確認し
ない。このため、商品識別コードの一致、不一致を確認
する回数を減少させることができ、商品の組合せが成立
しているかどうかの判定に要する時間を短縮することが
できる。
When it is determined in n4 that they do not match, it is determined that the combination is not established for this product combination record 12, and for other product combination records 12 registered in the product combination table 11. Confirm whether the product combination is established or not established (n8),
If there is a product combination record 12 for which this is not done, the above processing is repeated. If it is determined in n4 that they match each other, it is confirmed whether all the product identification codes stored in this product combination record 12 are registered in n1 (n6). Here, if it is confirmed that all the product combinations are registered, it is determined that the product combinations are established, and the determination result storage area 23 is changed to 1 to register the product combination establishment (n7). In this way, it is determined whether or not the combination is established for all the product combination records 12 registered in the product combination table 11.
As described above, the product combination record 12 in which the product combination is not established by the products registered in n5 is detected,
For this product combination record 12, it is not confirmed whether there is a matching product identification code in the registered products. Therefore, it is possible to reduce the number of times that the product identification codes are matched or mismatched, and it is possible to shorten the time required to determine whether or not the product combination is established.

【0018】ここで、図6に従来との比較を示す。この
例では、登録された商品が6点で各商品の商品識別コー
ドが100100、100103、100309、10
0102、100505、100305である。また、
商品識別コードが100101と100102、100
305と100102、100404と100505の
3つで商品の組合せが成立する。従来の取引処理装置で
は、登録された商品毎に全ての商品組合せレコードに登
録されている商品識別コードと一致、不一致を確認する
ため、各商品は6回ずつ一致、不一致の確認を行うこと
になり、合計36回の確認を行うことになる。これに対
しこの実施例の取引処理装置1では、第1のビット列と
第2のビット列を用いて上記したn5の確認を3回と、
論理積が一致した100305と100102を記憶し
た組合せ商品レコード12に対して商品識別コードの一
致、不一致の確認を行う。この一致不一致の確認は、商
品組合せレコード12に記憶している商品識別コード
が、登録商品記憶エリア4bに登録されているかどうか
の確認で行われる。すなわち、商品識別コード1003
05が登録されているかどうかを確認するまでに6回の
確認が行われ、商品識別コード100102が登録され
ているかどうかの確認するまでに4回の確認が行われる
(4回目の確認で登録されていることが確認されるた
め、登録商品記憶エリア4bに確認を行っていない商品
識別コードが残っていても、登録されていることが確認
されたことで終了する。)。すなわち、この実施例の取
引処理装置では13回の確認で商品の組合せの成立、不
成立を判定することができる。
Here, FIG. 6 shows a comparison with the prior art. In this example, the number of registered products is 6 and the product identification code of each product is 100100, 100103, 100309, 10
0102, 100505, and 100305. Also,
Product identification codes are 100101, 100102, 100
A combination of products is established by the three items 305 and 100102 and 100404 and 100505. In the conventional transaction processing device, in order to confirm whether or not each registered product matches the product identification code registered in all the product combination records, each product is confirmed to match or mismatch 6 times. Therefore, a total of 36 confirmations will be made. On the other hand, in the transaction processing device 1 of this embodiment, the confirmation of n5 described above is performed three times by using the first bit string and the second bit string.
It is confirmed whether the product identification codes match or do not match with the combination product record 12 that stores 100305 and 100102 whose logical products match. This confirmation of coincidence / disagreement is performed by confirming whether or not the product identification code stored in the product combination record 12 is registered in the registered product storage area 4b. That is, the product identification code 1003
Confirmation is performed six times before confirming whether 05 is registered, and four confirmations before confirming whether the product identification code 100102 is registered (registered by the fourth confirmation. Since it is confirmed that the registered product storage area 4b has a product identification code that has not been confirmed, the process ends because it is confirmed that the product has been registered. That is, in the transaction processing apparatus of this embodiment, it is possible to determine whether or not the combination of the commodities is established by confirming 13 times.

【0019】商品の組合せの成立、不成立の判定が完了
すると、商品の組合せが成立した商品組合せレコード1
2毎に、重複して登録されている商品識別コードがある
かどうかを判定する(n9)。ここで重複して登録され
ている商品識別コードがない場合には、商品の組合せが
成立した商品については価格記憶エリア24に記憶され
ている価格を用い、その他の商品に対してはPLUファ
イル7から商品の価格を読み出し、精算処理を行う(n
10)。
When the determination of the establishment / non-establishment of the product combination is completed, the product combination record 1 in which the product combination is established
It is determined for each 2 whether there is a product identification code that is registered in duplicate (n9). If there is no product identification code that is registered redundantly, the price stored in the price storage area 24 is used for the product for which the product combination is established, and the PLU file 7 is used for the other products. The price of the product is read from and the settlement process is performed (n
10).

【0020】一方、重複して登録されている商品識別コ
ードがある場合には、これらの商品の組合せが全て成立
するかどうかを判定する(n11)。組合せの成立した
商品組合せレコード12に重複して登録されている商品
識別コードがある場合、例えば商品A、商品B、商品
C、が1つずつ登録され、商品Aと商品B、商品Aと商
品Cの2つの商品組合せレコード12が登録されている
場合、これらの商品組合せレコード12は判定結果記憶
エリア23に組合せ成立が登録されている。しかしなが
ら、商品Aと商品Bで組合せを成立させた場合に、登録
された商品で残るものは商品Cだけになる。すなわち、
商品Aと商品Bで組合せが成立すると商品Aと商品Cの
組合せは成立しない。なお、商品Aを2つ購入している
場合には商品Aと商品Bおよび商品Aと商品Cの2つの
組合せが成立する。したがって、n7で組合せ成立を登
録した商品組合せレコード12が全て成立するかどうか
を判定し、全て成立する場合には上記したように組合せ
が成立した商品については価格記憶エリア24に記憶さ
れている価格を用い、その他の商品に対してはPLUフ
ァイル7から商品の価格を読み出し、精算処理を行う
(n10)。
On the other hand, if there are product identification codes registered in duplicate, it is determined whether or not all combinations of these products are established (n11). If there is a product identification code that is redundantly registered in the product combination record 12 in which the combination is established, for example, product A, product B, and product C are registered one by one, and product A and product B, product A and product When the two product combination records 12 of C are registered, the combination establishment of these product combination records 12 is registered in the determination result storage area 23. However, when the combination of the product A and the product B is established, the registered product remains only the product C. That is,
When the combination of the product A and the product B is established, the combination of the product A and the product C is not established. When two products A are purchased, two combinations of product A and product B and product A and product C are established. Therefore, it is determined whether or not all the product combination records 12 in which the combination is registered are established in n7, and when all of them are established, the prices stored in the price storage area 24 for the products for which the combination is established as described above. For other products, the prices of the products are read from the PLU file 7 and the settlement processing is performed (n10).

【0021】n11で全ての商品組合せが成立しない場
合には、精算金額が最も安くなる、組合せで商品の組合
せを成立させ(n12)、精算処理を行う(n10)。
n12では、例えば商品Aと商品Bの組合せ価格が40
0円、商品Aと商品Cの組合せ価格が500円、商品B
の価格が300円、商品Cの価格が350円である場
合、商品Aと商品Bの組合せを成立させた場合の精算金
額は750円になり、商品Aと商品Cの組合せを成立さ
せた場合の精算金額は800円になる。このときには商
品Aと商品Bの組合せを成立させ、精算金額を750円
として精算処理を行う。
When all product combinations are not established in n11, the payment amount is the lowest, and the product combination is established by the combination (n12), and the payment process is performed (n10).
In n12, for example, the combination price of the product A and the product B is 40.
0 yen, combined price of product A and product C is 500 yen, product B
If the price of 300 yen and the price of product C are 350 yen, the settlement amount when the combination of product A and product B is established is 750 yen, and the combination of product A and product C is established. Will be 800 yen. At this time, the combination of the product A and the product B is established, and the payment amount is set to 750 yen, and the payment process is performed.

【0022】以上のように、精算金額が最も安くなるよ
うに商品の組合せを選択して、精算処理を行うので顧客
に対するサービスをより向上させることができる。
As described above, since the settlement process is performed by selecting the combination of products so that the settlement amount is the lowest, the service to the customer can be further improved.

【0023】なお、上記した実施例では第1のビット列
および第2のビット列が商品識別コードの最下位桁が示
す数字に基づいて作成されるとしたがこれに限定される
ことはなく、下位から2番目の桁や最上位桁等の数字に
基づいて作成してもよい。また、商品識別コードの連続
する2桁の数字に応じて第1のビット列および第2のビ
ット列を作成するようにしてもよい。この場合、第1の
ビット列および第2のビット列は100桁のビット列と
なる。また、上記した実施例では2つの商品で組合せが
成立する例を用いて説明を行ったが、3つや4つの商品
で組合せが成立するような組合せ販売にも対応できるこ
とはいうまでもない。さらに、上記した実施例では組合
せが成立した時の価格を商品組合せレコード12に記憶
させるとしたがこれに限定されることはなく、例えばP
LUファイル7等に記憶させるようにしてもよい。
In the above-mentioned embodiment, the first bit string and the second bit string are made based on the number indicated by the least significant digit of the product identification code. However, the present invention is not limited to this, and from the lower order. It may be created based on the second digit or the highest digit. Further, the first bit string and the second bit string may be created in accordance with two consecutive digits of the product identification code. In this case, the first bit string and the second bit string are 100-digit bit strings. Further, in the above-described embodiment, the description has been made by using the example in which the combination is established with the two products, but it goes without saying that the combination sale in which the combination is established with the three or four products can also be supported. Furthermore, in the above-described embodiment, the price when the combination is established is stored in the product combination record 12, but the present invention is not limited to this, and for example, P
It may be stored in the LU file 7 or the like.

【0024】[0024]

【発明の効果】以上のように、この発明によれば、組合
せの成立、不成立を判定するために、商品識別コードの
一致、不一致を確認する回数を減少させることができ
る。したがって、商品組合せの成立、不成立の判定に要
する時間を短縮することができ、顧客サービスを向上さ
せることができる。
As described above, according to the present invention, it is possible to reduce the number of times of confirming whether the product identification codes match or do not match in order to judge whether the combination is established or not established. Therefore, it is possible to shorten the time required to determine whether a product combination is established or not established, and to improve customer service.

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

【図1】この発明の実施例である取引処理装置の構成を
示す図である。
FIG. 1 is a diagram showing a configuration of a transaction processing apparatus that is an embodiment of the present invention.

【図2】商品組合せテーブルの構成を示す図である。FIG. 2 is a diagram showing a configuration of a product combination table.

【図3】第1のビット列の作成方法を示す図である。FIG. 3 is a diagram showing a method of creating a first bit string.

【図4】第2のビット列の作成方法を示す図である。FIG. 4 is a diagram showing a method of creating a second bit string.

【図5】取引処理装置の動作を示す図である。FIG. 5 is a diagram showing an operation of the transaction processing apparatus.

【図6】従来の取引処理装置とこの実施例の取引処理装
置との商品の組合せの成立、不成立の判定の比較を示す
図である。
FIG. 6 is a diagram showing a comparison of determination of establishment / non-establishment of a product combination between the conventional transaction processing apparatus and the transaction processing apparatus of this embodiment.

【図7】従来の商品組合せテーブルの構成を示す図であ
る。
FIG. 7 is a diagram showing a configuration of a conventional product combination table.

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

1−取引処理装置 4a−商品組合せテーブル記憶エリア 4b−登録商品記憶エリア 11−商品組合せテーブル 12−商品組合せレコード 21−商品識別コード記憶エリア 22−第1のビット列記憶エリア 23−判定結果記憶エリア 24−価各記憶エリア 1-Transaction Processing Device 4a-Product Combination Table Storage Area 4b-Registered Product Storage Area 11-Product Combination Table 12-Product Combination Record 21-Product Identification Code Storage Area 22-First Bit String Storage Area 23-Judgment Result Storage Area 24 -Value storage area

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の商品の商品識別コードを対応させ
た商品組合せレコードを登録する商品組合せテーブル
と、前記商品組合せレコード毎の各商品識別コードの一
部で示される数字に対応したビットを1にした第1のビ
ット列を作成する第1のビット列作成手段と、登録処理
された商品の商品識別コードの一部で示される数字に対
応したビットを1にした第2のビット列を作成する第2
のビット列作成手段と、前記商品組合せレコード毎に前
記第1のビット列と前記第2のビット列との論理積が第
1のビット列と等しいかどうかを判定するビット列判定
手段と、前記ビット列判定手段で等しいと判定した商品
組合せレコードの全ての商品識別コードが登録処理され
た商品識別コードに含まれているかどうかを確認する組
合せ確認手段と、前記組合せ確認手段で全て含まれてい
ることを確認したときに登録処理された商品を前記確認
された商品の組合せに基づいて精算処理を行う精算手段
と、を備えたことを特徴とする取引処理装置。
1. A product combination table for registering a product combination record in which product identification codes of a plurality of products are associated with each other, and a bit corresponding to a numeral indicated by a part of each product identification code of each product combination record is set to 1. And a second bit string in which a bit corresponding to a number indicated by a part of the product identification code of the registered product is set to 1
Of the bit string creating means, the bit string judging means for judging whether the logical product of the first bit string and the second bit string is equal to the first bit string for each of the product combination records, and the bit string judging means are equal. When the combination confirmation means for confirming whether or not all the product identification codes of the product combination record determined to be included in the registered product identification code and the combination confirmation means confirm that they are all included A transaction processing device, comprising: a settlement device that performs a settlement process on the registered product based on the combination of the confirmed products.
【請求項2】 前記第1のビット列作成手段は、前記商
品組合せレコードの各商品識別コードの特定の一桁が示
す数字に対応したビットを1にした10桁のビット列を
作成する手段であり、 前記第2のビット列作成手段は、登録された各商品の商
品識別コードの特定の一桁が示す数字に対応したビット
を1にした10桁のビット列を作成する手段であること
を特徴とする請求項1記載の取引処理装置。
2. The first bit string creating means is a means for creating a 10-digit bit string in which a bit corresponding to a number indicated by a specific one digit of each product identification code of the product combination record is set to 1. The second bit string creating means is a means for creating a 10-digit bit string in which a bit corresponding to a number indicated by a specific one digit of a registered product identification code is set to 1. Item 1. The transaction processing device according to item 1.
【請求項3】 前記第1のビット列作成手段および前記
第2のビット列作成手段における特定の一桁は、商品識
別コードの最下位桁であることを特徴とする請求項2記
載の取引処理装置。
3. The transaction processing apparatus according to claim 2, wherein the specific one digit in the first bit string creating means and the second bit string creating means is the least significant digit of the product identification code.
JP6299893A 1994-12-02 1994-12-02 Transaction processor Pending JPH08161640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6299893A JPH08161640A (en) 1994-12-02 1994-12-02 Transaction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6299893A JPH08161640A (en) 1994-12-02 1994-12-02 Transaction processor

Publications (1)

Publication Number Publication Date
JPH08161640A true JPH08161640A (en) 1996-06-21

Family

ID=17878212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6299893A Pending JPH08161640A (en) 1994-12-02 1994-12-02 Transaction processor

Country Status (1)

Country Link
JP (1) JPH08161640A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242536A (en) * 2002-02-19 2003-08-29 Tamura Electric Works Ltd Fee settlement system and fee settlement method
JP2021089762A (en) * 2021-02-12 2021-06-10 東芝テック株式会社 Information processor, system and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242536A (en) * 2002-02-19 2003-08-29 Tamura Electric Works Ltd Fee settlement system and fee settlement method
JP2021089762A (en) * 2021-02-12 2021-06-10 東芝テック株式会社 Information processor, system and program

Similar Documents

Publication Publication Date Title
US3959624A (en) Coded merchandising coupon
US20050261973A1 (en) Method and apparatus for processing a supplementary product sale at a point-of-sale terminal
US6625579B1 (en) Electronic cash register wherein special registration processes are specified by changing product department values
US20020046082A1 (en) Process, system and computer readable medium for in-store printing of rainchecks for discount coupons and/or other purchasing incentives in a retail store
US7533814B2 (en) Presentation instrument with user-created pin
CN1279441A (en) Electronic cashing system
JPH08212459A (en) Data input method of pos device, and same
JP4007004B2 (en) Program executed by settlement system, program executed by settlement check system, settlement method, settlement system, and recording medium
JP3525173B2 (en) Receipt creation method and device therefor
JPH08161640A (en) Transaction processor
JPH05114087A (en) Low price priority system in different price bundle
JP2007114947A (en) Data processing apparatus for commodity sale
JPH0981863A (en) Electronic cash register
JP3346427B2 (en) Trading equipment
JP7421295B2 (en) POS system, product accounting method
JPH09259361A (en) Product registration device and product registration method
JP2898425B2 (en) Point of sale information management terminal
JP2019050053A (en) Adjustment device, checkout system, program, adjustment method, and checkout method
JP2933183B2 (en) Sales aggregation device
JP2021039725A5 (en)
JP2023164753A (en) Commodity sales data processor and program
JPH06119559A (en) Sales system
JP4001292B2 (en) Product sales data processing apparatus and program
JP2000311279A (en) Method for totalizing ic card purchase and sale information
JPH05128373A (en) Electronic cash register

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20071025

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20081025

Year of fee payment: 6

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20081025

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20091025

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20091025

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

Free format text: PAYMENT UNTIL: 20101025

Year of fee payment: 8

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20111025

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20111025

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20121025

LAPS Cancellation because of no payment of annual fees