JPH0650068Y2 - Sales data processor - Google Patents

Sales data processor

Info

Publication number
JPH0650068Y2
JPH0650068Y2 JP1987182883U JP18288387U JPH0650068Y2 JP H0650068 Y2 JPH0650068 Y2 JP H0650068Y2 JP 1987182883 U JP1987182883 U JP 1987182883U JP 18288387 U JP18288387 U JP 18288387U JP H0650068 Y2 JPH0650068 Y2 JP H0650068Y2
Authority
JP
Japan
Prior art keywords
data
product code
storage area
flag
plu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1987182883U
Other languages
Japanese (ja)
Other versions
JPH0187485U (en
Inventor
光史 岩館
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1987182883U priority Critical patent/JPH0650068Y2/en
Publication of JPH0187485U publication Critical patent/JPH0187485U/ja
Application granted granted Critical
Publication of JPH0650068Y2 publication Critical patent/JPH0650068Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【考案の詳細な説明】 [産業上の利用分野] この考案は、商品コード別に売上データを集計する電子
式キャッシュレジスタ、POSシステム等の売上データ処
理装置に関する。
[Detailed Description of the Invention] [Industrial field of application] The present invention relates to a sales data processing device such as an electronic cash register or a POS system for collecting sales data for each product code.

[従来の技術] 従来、電子式キャッシュレジスタ(ECR)においては、
各種の商品コード(PLUコード)に対応して商品別売上
データを記憶するPLUメモリの内容をハッシュ法と呼ば
れるサーチ方式にしたがって読み出すようにしたものが
知られている。
[Prior Art] Conventionally, in an electronic cash register (ECR),
It is known that the contents of a PLU memory that stores sales data for each product corresponding to various product codes (PLU codes) are read out according to a search method called a hash method.

[考案が解決しようとする課題] しかしながら、ハッシュサーチ方式は、PLUコードに対
しハッシュ関数を用いて一定の演算を行ない、PLUコー
ドに対応するPLUメモリのアドレスを求める為、サーチ
速度は速いが、PLUメモリ内の全てのエリアを効率良く
使用することは不可能で、PLUメモリの使用効率は低
く、メモリ内に多くの空エリアが存在したままとなると
いう欠点があった。また、電子式キャッシュレジスタに
おいてはPLUデータに対応する売上データをPLUメモリに
記憶する処理のほかに、登録された商品のPLUコード等
の単品データを記憶している。この場合、この単品デー
タを記憶するために単品収集用メモリとして専用メモリ
をPLUメモリとは別個に用意していた。
[Problems to be solved by the invention] However, in the hash search method, since a certain operation is performed on the PLU code using a hash function and the address of the PLU memory corresponding to the PLU code is obtained, the search speed is fast, It is impossible to use all the areas in the PLU memory efficiently, the usage efficiency of the PLU memory is low, and there are disadvantages that many empty areas remain in the memory. Further, in the electronic cash register, in addition to the process of storing sales data corresponding to PLU data in the PLU memory, single item data such as a PLU code of a registered product is stored. In this case, in order to store this single item data, a dedicated memory was prepared as a single item collecting memory separately from the PLU memory.

この考案の課題は、商品コード別売上データを記憶する
データメモリ内の空エリアを単品データ等の所定データ
を記憶するために有効に利用し、別個に設けられていた
専用メモリを節約できるようにすることである。
An object of this invention is to effectively use an empty area in a data memory that stores sales data for each product code to store predetermined data such as single product data, and to save a dedicated memory provided separately. It is to be.

[課題を解決するための手段] この考案の手段は売上登録される商品の商品コードを入
力するためのキーおよび商品の金額を入力するためのキ
ーを有する入力手段と、 データが記憶されるデータ記憶領域および該データ記憶
領域に記憶されたデータが商品コード別に集計される商
品コード別売上データであることを表わすフラグ、該商
品コード別売上データと異なる所定データであることを
表わすフラグ、或いはデータが記憶されていない空エリ
アであることを表わすフラグが記憶されるフラグ記憶領
域を有する記憶手段と、 上記商品コードに対応する上記記憶手段のアドレスを算
出するためのハッシュ関数を記憶するハッシュ関数記憶
手段と、 上記入力手段から入力された商品コードと上記ハッシュ
関数記憶手段から読み出したハッシュ関数とに基づいて
上記商品コードに対応する上記記憶手段のアドレスを算
出する算出手段と、 この算出手段で算出されたアドレスに対応する上記記憶
手段のデータ記憶領域に上記商品コードに対応する商品
コード別売上データを記憶させると共に、該アドレスに
対応する上記記憶手段のフラグ記憶領域に商品コード別
売上データであることを表わすフラグを記憶させる手段
と、 上記記憶手段の空エリアに上記所定データを記憶するた
めに上記記憶手段をアドレス順序に従って指定するポイ
ンタ手段と、 このポインタ手段で指定されたアドレスにおけるフラグ
記憶領域の内容に基づいて該アドレスのデータ記憶領域
に上記商品コード別売上データが記憶されているか否か
を判別する判別手段と、 この判別手段により上記データ記憶領域に上記商品コー
ド別売上データが記憶されていないと判別された際に、
該データ記憶領域に上記所定データを記憶させる手段
と、 上記判別手段により上記データ記憶領域に上記商品コー
ド別売上データが記憶されていると判別された際に、上
記ポインタ手段を更新する手段と を具備したことを特徴とする。
[Means for Solving the Problem] The means of the present invention is an input means having a key for inputting a product code of a product to be registered for sale and a key for inputting an amount of the product, and data for storing data. A flag indicating that the data stored in the storage area and the data storage area is sales data by product code aggregated by product code, a flag indicating that the data is predetermined data different from the sales data by product code, or data Storage means having a flag storage area for storing a flag indicating that the storage area is an empty area, and a hash function storage for storing a hash function for calculating an address of the storage means corresponding to the product code. Means, the product code input from the input means, and the hash read from the hash function storage means Calculating means for calculating the address of the storage means corresponding to the product code based on the function, and a product code corresponding to the product code in the data storage area of the storage means corresponding to the address calculated by the calculating means Means for storing separate sales data, and means for storing a flag indicating that the sales data is for each product code in a flag storage area of the storage means corresponding to the address, and storing the predetermined data in an empty area of the storage means. In order to do so, pointer means for designating the storage means in an address order, and based on the contents of the flag storage area at the address designated by the pointer means, the sales data by commodity code is stored in the data storage area of the address. Determining means for determining whether or not the data storage area is stored in the data storage area by the determining means. When it is determined that the sales data by product code is not stored,
Means for storing the predetermined data in the data storage area, and means for updating the pointer means when it is determined by the determination means that the sales data by product code is stored in the data storage area. It is characterized by having.

[作用] この考案の手段の作用は次の通りである。[Operation] The operation of the means of this invention is as follows.

入力手段から商品コードを入力すると、この商品コード
とハッシュ関数記憶手段から読み出したハッシュ関数と
に基づいて商品コードに対応する記憶手段のアドレスが
算出され、算出されたアドレスに商品コードに対応する
商品コード別売上データが記憶される。
When the product code is input from the input means, the address of the storage means corresponding to the product code is calculated based on the product code and the hash function read from the hash function storage means, and the product corresponding to the product code is calculated at the address. Sales data by code is stored.

この場合、商品コードとハッシュ関数とに基づいて算出
されるアドレスは、連続しておらずランダムであるた
め、記憶手段内には所々に空エリアが出来てしまう。従
って、この空エリアに商品コード別売上データ以外の所
定データを記憶すれば、記憶手段を無駄なく有効に使用
できる。
In this case, the addresses calculated based on the product code and the hash function are not continuous and random, so that empty areas are formed in places in the storage means. Therefore, if the predetermined data other than the sales data for each product code is stored in this empty area, the storage means can be effectively used without waste.

そこで、記憶手段の空エリアを検索するために、ポイン
タ手段は記憶手段をアドレス順序に従って指定し、判別
手段は指定されたアドレスにおけるフラグ記憶領域の内
容に基づいて該アドレスのデータ記憶領域に商品コード
別売上データが記憶されているか否かを判別する。
Therefore, in order to search the empty area of the storage means, the pointer means designates the storage means according to the address order, and the discrimination means stores the commodity code in the data storage area of the address based on the contents of the flag storage area at the designated address. It is determined whether or not the separate sales data is stored.

指定されたデータ記憶領域に商品コード別売上データが
記憶されていないと判別された際は、このデータ記憶領
域に所定データを記憶させる。
When it is determined that the sales data for each product code is not stored in the designated data storage area, the predetermined data is stored in this data storage area.

また、指定されたデータ記憶領域に商品コード別売上デ
ータが記憶されていると判別された際は、ポインタ手段
を更新して次のデータ記憶領域を指定させる。
When it is determined that the sales data for each product code is stored in the designated data storage area, the pointer means is updated and the next data storage area is designated.

従って、商品コード別売上データを記憶するデータメモ
リ内の空エリアを有効に利用し、商品コード別売上デー
タ以外の所定データを記憶するために別個に用意してい
た専用メモリが不要になり、メモリを節約できる。
Therefore, the empty area in the data memory that stores the sales data for each product code is effectively used, and the dedicated memory that is separately prepared to store the predetermined data other than the sales data for each product code is not required. Can save

[実施例] 以下、一実施例を第1図〜第3図を参照して説明する。[Embodiment] An embodiment will be described below with reference to FIGS. 1 to 3.

第1図はECRの基本的な構成を示すブロック回路図であ
る。
FIG. 1 is a block circuit diagram showing the basic configuration of the ECR.

キー入力部11のキーボード上には通常備えられている各
種のキー、即ち置数キーKA、ファクションキーKBが設け
られている共に、モード切換スイッチMSが設けられてい
る。なお、モード切換スイッチMSはその切換位置に応じ
て「設定」、「登録」、「OFF(電源オフ)」、「X
(点検)」、「Z(精算)」の各モードを切換えるコン
トロール・ロックである。しかして、キー入力部11から
操作キーに対応して出力されるキー入力信号やモード切
換スイッチMSの各切換位置に対応して出力されるモード
指定信号は、CPU12に入力される。
On the keyboard of the key input unit 11, various keys normally provided, that is, a numeral key KA, a function key KB, and a mode changeover switch MS are provided. In addition, the mode changeover switch MS is set according to the changeover position, "setting", "registration", "OFF (power off)", "X
This is a control lock that switches between "inspection" and "Z (settlement)" modes. Then, the key input signal output from the key input unit 11 corresponding to the operation key and the mode designation signal output corresponding to each switching position of the mode changeover switch MS are input to the CPU 12.

CPU12は予め記憶されているマイクロプログラムにした
がって通常のPLUコード設定処理やPLU別登録処理等を実
行する。即ち、PLUコードの設定処理はモード切換スイ
ッチMSが設定モードにセットされている状態において、
キー入力部11から入力されたPLUコードとハッシュ関数
記憶部14から読み出したハッシュ関数とに基づいてPLU
メモリ13のアドレスを算出し、この算出アドレスに対応
するPLUメモリ13のエリアに入力PLUコードを設定するこ
とによって行なわれる。この結果、各PLUコードはハッ
シュ法にしたがってPLUメモリ13内にランダムに設定さ
れ、分散格納される。また、PLU別登録処理は、モード
切換スイッチMSが登録モードにセットされている状態に
おいて、キー入力部11あるいはPLUコード読取部15から
入力されたPLUコードをハッシュ法にしたがってPLUメモ
リ13から検索し、そのPLUコードに対応してPLUメモリ13
に記憶されている売上件数、売上金額を累計することに
よって行なわれる。
The CPU 12 executes normal PLU code setting processing, PLU-specific registration processing, and the like according to a microprogram stored in advance. That is, the PLU code setting process is performed in the state where the mode changeover switch MS is set to the setting mode,
A PLU based on the PLU code input from the key input unit 11 and the hash function read from the hash function storage unit 14
This is performed by calculating the address of the memory 13 and setting the input PLU code in the area of the PLU memory 13 corresponding to this calculated address. As a result, each PLU code is randomly set in the PLU memory 13 according to the hash method and distributedly stored. Further, in the PLU-specific registration process, the PLU code input from the key input unit 11 or the PLU code reading unit 15 is searched from the PLU memory 13 according to the hash method while the mode changeover switch MS is set to the registration mode. , PLU memory 13 corresponding to the PLU code
This is done by accumulating the number of sales and the amount of sales stored in.

PLUメモリ13はランダムアクセスメモリによって構成さ
れ、その内容はハッシュサーチ法あるいは通常の順サー
チ法にしたがってアクセスされる。そして、PLUメモリ1
3はフラグ記憶領域FMの他、データ記憶領域DMを有し、
フラグ記憶領域FMには対応するデータ記憶領域DMに記憶
されるデータの種類を示すフラグ、即ち、PLUデータ用
フラグ「P」、単品データ用フラグ「S」、空エリア用
フラグ「E」がセットされる。ここで、フラグ記憶領域
FMには最初空エリア用フラグ「E」がセットされている
が、上述したPLUコード設定時にPLUコードが設定された
当該フラグ記憶領域FMにPLUデータ用フラグ「P」がセ
ットされる。なお、単品データ用フラグ「S」は後述す
る単品データ収集時にセットされる。この場合、単品デ
ータ収集時に、PLUメモリ13に単品データを格納した場
合、その最終格納位置を示す値(PLUメモリ13のアドレ
ス)はCPU12内のポインタSPにセットされる。更に、点
検あるいは精算時にPLUメモリ13から単品データを読み
出して単品データの点検あるいは精算が行なわれるが、
この際、CPU12内のワーク用ポインタSP1を用いてPLUメ
モリ13から単品データを読み出す。なお、PLUメモリ13
において、PLUデータ用フラグ「P」に対応するデータ
記憶領域DMには、PLUデータ(PLUコード、単価、売上件
数、売上金額等)が記憶される。
The PLU memory 13 is composed of a random access memory, and its contents are accessed according to a hash search method or a normal forward search method. And PLU memory 1
3 has a data storage area DM in addition to the flag storage area FM,
In the flag storage area FM, a flag indicating the type of data stored in the corresponding data storage area DM, that is, a PLU data flag “P”, a single item data flag “S”, and an empty area flag “E” are set. To be done. Where flag storage area
Although the flag "E" for empty area is initially set in FM, the flag "P" for PLU data is set in the flag storage area FM in which the PLU code is set at the time of setting the PLU code described above. The single item data flag “S” is set at the time of single item data collection described later. In this case, when the single item data is stored in the PLU memory 13 during the single item data collection, the value indicating the final storage position (address of the PLU memory 13) is set in the pointer SP in the CPU 12. Furthermore, at the time of inspection or settlement, single item data is read from the PLU memory 13 to inspect or settle the individual item data.
At this time, the single-piece data is read from the PLU memory 13 using the work pointer SP1 in the CPU 12. The PLU memory 13
In the data storage area DM corresponding to the PLU data flag “P”, PLU data (PLU code, unit price, number of sales, amount of sales, etc.) is stored.

一方、CPU12内には上述したポインタSP、SP1の他、通常
備えられている演算部、制御部が設けられている。そし
て、CPU12は上述したPLUコード設定処理、PLU別登録処
理の他、点検、精算時の各種の処理を実行し、更には売
上データ等を表示制御部16に与えて表示部17に表示させ
たり、印字制御部18に与えて印字部19にセットされてい
るレシート、ジャーナルに印字させる。
On the other hand, in the CPU 12, in addition to the above-mentioned pointers SP and SP1, the arithmetic unit and the control unit that are normally provided are provided. Then, the CPU 12 executes the above-mentioned PLU code setting processing, PLU-specific registration processing, inspection, and various processing at the time of settlement, and further gives sales data etc. to the display control section 16 to display it on the display section 17. The print control unit 18 is caused to print on the receipt and journal set in the print unit 19.

次に、本実施例の動作を第2図および第3図を参照して
説明する。
Next, the operation of this embodiment will be described with reference to FIG. 2 and FIG.

第2図はPLU別登録処理と共に実行される単品データ収
集時の動作を示すフローチャートで、1商品分のPLU別
登録が行なわれる毎に実行開始される。先ず、ポインタ
SPの値に「1」を加算するインクリメント処理を行う
(ステップA1)。そして、このポインタSPの値でアドレ
ス指定されるPLUメモリ13のフラグ記憶領域FMからフラ
グを読み出し、この読み出したフラグがPLUデータ用フ
ラグ「P」であれば、PLUメモリ13からその他のフラグ
が読み出されるまでステップA2からステップA1に戻る。
いま、ポインタSPには単品データの最終格納位置以降の
値がセットされる為、PLUメモリ13から読み出されるフ
ラグはPLUデータ用フラグ「P」か空エリア用フラグ
「E」である。いま、PLUメモリ13から空エリア用フラ
グ「E」が読み出されると、ポインタSPの値でアドレス
指定されるPLUメモリ13の空エリアに、単品データ用フ
ラグ「S」をセットすると共に、単品データを格納する
(ステップA3)。
FIG. 2 is a flowchart showing an operation at the time of collecting single item data, which is executed together with the PLU-by-PLU registration processing. First, the pointer
Increment processing for adding "1" to the value of SP is performed (step A1). Then, the flag is read from the flag storage area FM of the PLU memory 13 addressed by the value of the pointer SP, and if the read flag is the PLU data flag “P”, other flags are read from the PLU memory 13. Until step A2 is returned to step A1.
Since the pointer SP is set to a value after the final storage position of the single item data, the flag read from the PLU memory 13 is the PLU data flag "P" or the empty area flag "E". Now, when the empty area flag "E" is read from the PLU memory 13, the single item data flag "S" is set in the empty area of the PLU memory 13 addressed by the value of the pointer SP, and the individual item data is also written. Store (step A3).

このような動作は1商品分のPLU登録が行なわれる毎に
実行される結果、PLUメモリ13の空エリアには第1図に
示すように単品データがそのフラグ「S」によって識別
可能に順次格納される。したがって、PLUメモリ13の空
エリアを利用して単品データの収集が行なわれる。
Such an operation is executed every time PLU registration for one product is performed. As a result, as shown in FIG. 1, individual product data is sequentially stored in the empty area of the PLU memory 13 so that it can be identified by its flag “S”. To be done. Therefore, single item data is collected using the empty area of the PLU memory 13.

このようにして収集された単品データは点検あるいは精
算時に読み出される。
The single item data collected in this way is read at the time of inspection or settlement.

第3図はこの場合の動作を示すフローチャートで、モー
ド切換スイッチMSで点検あるいは精算モードにセットし
た状態において、単品データの点検あるいは精算を指令
する所定のキーを操作する。すると、先ず、ポインタSP
1の値を初期化し(ステップB1)、このポインタSP1の値
でアドレス指定されるPLUメモリ13のフラグ記憶領域FM
からフラグを読み出すと共に、この読み出しフラグが単
品データ用フラグ「S」であるかを調べ(ステップB
2)、単品データ用フラグでなければ、ポインタSP1の値
を更新し(ステップB3)、その結果、ポインタSP1の値
が単品データの最終格納位置を示す値を越えないことを
条件にステップB4からステップB2に戻る。
FIG. 3 is a flow chart showing the operation in this case. When the mode changeover switch MS is set to the inspection or settlement mode, a predetermined key for instructing inspection or settlement of single item data is operated. Then, first, the pointer SP
Initialize the value of 1 (step B1) and flag storage area FM of the PLU memory 13 addressed by the value of this pointer SP1
The flag is read from and whether or not this read flag is the single product data flag "S" (step B
2) If the flag is not for single item data, update the value of pointer SP1 (step B3), and as a result, from step B4 on condition that the value of pointer SP1 does not exceed the value indicating the final storage position of single item data. Return to step B2.

しかして、PLUメモリ13から単品データ用フラグ「S」
が読み出されると、この単品データ用フラグ「S」に対
応してPLUメモリ13のデータ記憶領域DMに記憶されてい
る単品データを読み出して印字制御部18に送り、印字部
19にセットされているジャーナルに印字する(ステップ
B5)。
Then, from the PLU memory 13, the single product data flag "S"
Is read out, the single item data stored in the data storage area DM of the PLU memory 13 corresponding to the single item data flag “S” is read out and sent to the print control unit 18,
Print to the journal set to 19 (step
B5).

いま、点検モードにセットされていれば、ステップB6で
そのことが検出されてステップB3に進む。この結果、PL
Uメモリ13から単品データを順次読み出し、全ての単品
データを印字し終るまでステップB2〜B6が繰り返され
る。そして、単品データを全て印字し終ると、ステップ
B8に進み、モードの判別が行なわれるが、いま、点検モ
ードにセットされているので、単品データの点検レポー
トを発行させる(ステップB10)。
If the inspection mode has been set, this is detected in step B6 and the process proceeds to step B3. As a result, PL
Steps B2 to B6 are repeated until the single item data is sequentially read from the U memory 13 and all the individual item data are printed. After printing all the single item data, step
The process proceeds to B8, and the mode is determined, but since the inspection mode is set now, the inspection report of the single item data is issued (step B10).

また、精算モードにセットされていれば、ステップB6か
らステップB7に進み、ポインタSP1の値でアドレス指定
されるPLUメモリ13のフラグ記憶領域FMに、空エリア用
フラグ「E」をセットしフラグの書き換えを行うと共
に、そのデータ記憶領域に記憶されている単品データを
クリアしたのち、ステップB3に進む。この結果、PLUメ
モリ13から単品データを順次読み出し、全ての単品デー
タを印字し終るまでステップB2〜B7が繰り返される。そ
して、全ての単品データを印字し終ると、ステップB9に
進み、ポインタSPを初期化したのち精算レポートを発行
させる(ステップB10)。
If the payment mode has been set, the process proceeds from step B6 to step B7, and the flag "E" for the empty area is set in the flag storage area FM of the PLU memory 13 addressed by the value of the pointer SP1. After rewriting and clearing the single item data stored in the data storage area, the process proceeds to step B3. As a result, the single item data is sequentially read from the PLU memory 13, and steps B2 to B7 are repeated until all the single item data have been printed. When all the single item data have been printed, the process proceeds to step B9 where the pointer SP is initialized and then a settlement report is issued (step B10).

変形応用例 なお、上記実施例はPLUメモリを例に挙げたが、その他
の分類別ファイルにも適用可能である。また、ECRに限
らず、POSシステム、オフィスコンピュータにも適用可
能である。
Modified Application Example In the above embodiment, the PLU memory is taken as an example, but it can be applied to other classification files. Further, not only ECR but also POS system and office computer can be applied.

[考案の効果] この考案によれば、商品コード別売上データを記憶する
データメモリ内の空エリアを有効に利用して使用効率を
向上させ、商品コード別売上データ以外の所定データを
記憶するために別個に用意していた専用メモリが不要に
なり、メモリを節約できる。
[Effect of the Invention] According to the present invention, in order to store the predetermined data other than the sales data by product code, the empty area in the data memory for storing the sales data by product code is effectively used to improve the usage efficiency. The dedicated memory, which was separately prepared in, becomes unnecessary, and the memory can be saved.

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

第1図〜第3図は一実施例を示し、第1図はECRの基本
的な構成を示すブロック回路図、第2図は単品データ収
集時の動作を示すフローチャート、第3図は単品データ
の点検あるいは精算時の動作を示すフローチャートであ
る。 11……キー入力部、12……CPU、13……PLUメモリ、14…
…ハッシュ関数記憶部。
1 to 3 show one embodiment, FIG. 1 is a block circuit diagram showing the basic configuration of ECR, FIG. 2 is a flow chart showing the operation at the time of collecting single item data, and FIG. 3 is single item data. 5 is a flowchart showing an operation at the time of inspection or settlement. 11 …… Key input section, 12 …… CPU, 13 …… PLU memory, 14…
... Hash function storage section.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】売上登録される商品の商品コードを入力す
るためのキーおよび商品の金額を入力するためのキーを
有する入力手段と、 データが記憶されるデータ記憶領域および該データ記憶
領域に記憶されたデータが商品コード別に集計される商
品コード別売上データであることを表わすフラグ、該商
品コード別売上データと異なる所定データであることを
表わすフラグ、或いはデータが記憶されていない空エリ
アであることを表わすフラグが記憶されるフラグ記憶領
域を有する記憶手段と、 上記商品コードに対応する上記記憶手段のアドレスを算
出するためのハッシュ関数を記憶するハッシュ関数記憶
手段と、 上記入力手段から入力された商品コードと上記ハッシュ
関数記憶手段から読み出したハッシュ関数とに基づいて
上記商品コードに対応する上記記憶手段のアドレスを算
出する算出手段と、 この算出手段で算出されたアドレスに対応する上記記憶
手段のデータ記憶領域に上記商品コードに対応する商品
コード別売上データを記憶させると共に、該アドレスに
対応する上記記憶手段のフラグ記憶領域に商品コード別
売上データであることを表わすフラグを記憶させる手段
と、 上記記憶手段の空エリアに上記所定データを記憶するた
めに上記記憶手段をアドレス順序に従って指定するポイ
ンタ手段と、 このポインタ手段で指定されたアドレスにおけるフラグ
記憶領域の内容に基づいて該アドレスのデータ記憶領域
に上記商品コード別売上データが記憶されているか否か
を判別する判別手段と、 この判別手段により上記データ記憶領域に上記商品コー
ド別売上データが記憶されていないと判別された際に、
該データ記憶領域に上記所定データを記憶させる手段
と、 上記判別手段により上記データ記憶領域に上記商品コー
ド別売上データが記憶されていると判別された際に、上
記ポインタ手段を更新する手段と を具備したことを特徴とする売上データ処理装置。
1. An input unit having a key for inputting a product code of a product to be registered for sale and a key for inputting an amount of the product, a data storage area for storing data, and a storage in the data storage area. Is a flag indicating that the generated data is sales data by product code aggregated by product code, a flag indicating that the data is predetermined data different from the sales data by product code, or an empty area in which no data is stored. Storage means having a flag storage area for storing a flag indicating that a hash function storage means stores a hash function for calculating an address of the storage means corresponding to the product code; and input from the input means. The product code based on the product code and the hash function read from the hash function storage means. Calculating means for calculating the address of the corresponding storage means, and storing sales data by product code corresponding to the product code in the data storage area of the storage means corresponding to the address calculated by the calculating means. Means for storing a flag indicating that it is sales data by product code in the flag storage area of the storage means corresponding to the address, and the storage means for storing the predetermined data in the empty area of the storage means in the order of addresses. Pointer means for designating in accordance with the above, and a judging means for judging whether or not the sales data by product code is stored in the data storage area of the address based on the contents of the flag storage area at the address specified by the pointer means. The sales data for each product code is stored in the data storage area by this determination means. When it is determined that no,
Means for storing the predetermined data in the data storage area, and means for updating the pointer means when it is determined by the determination means that the sales data by product code is stored in the data storage area. A sales data processing device characterized by being provided.
JP1987182883U 1987-12-02 1987-12-02 Sales data processor Expired - Lifetime JPH0650068Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987182883U JPH0650068Y2 (en) 1987-12-02 1987-12-02 Sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987182883U JPH0650068Y2 (en) 1987-12-02 1987-12-02 Sales data processor

Publications (2)

Publication Number Publication Date
JPH0187485U JPH0187485U (en) 1989-06-09
JPH0650068Y2 true JPH0650068Y2 (en) 1994-12-14

Family

ID=31474324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987182883U Expired - Lifetime JPH0650068Y2 (en) 1987-12-02 1987-12-02 Sales data processor

Country Status (1)

Country Link
JP (1) JPH0650068Y2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219724A (en) * 1988-07-08 1990-01-23 Hitachi Denshi Service Kk Acoustic spectrum measuring device
JP2977377B2 (en) * 1992-06-26 1999-11-15 シャープ株式会社 Cash register

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5835300B2 (en) * 1979-07-09 1983-08-02 オムロン株式会社 electronic cash register

Also Published As

Publication number Publication date
JPH0187485U (en) 1989-06-09

Similar Documents

Publication Publication Date Title
JPH0219897Y2 (en)
EP0114261B1 (en) Information recording system
JPH0650068Y2 (en) Sales data processor
US4875163A (en) Electronic cash register system with faster access time to price look-up file
JPH0631593Y2 (en) Sales data processor
CA2112588C (en) Fuzzy retrieval apparatus and method, and apparatus for creating membership functions
JPS63219096A (en) Transaction processor
JP3257102B2 (en) Sales data processing device
JPH0661084B2 (en) Electronic cash register
JPH079677B2 (en) Sales data processing device
JP2506098B2 (en) Transaction processor
JPH0635764A (en) Record deletion device
JPS62139097A (en) Sales data processing device with bulk correction function
JPH0749593Y2 (en) Sales data processor
JP2554384B2 (en) Receipt issuing device
JPH0636148A (en) Sales data processor
JP2541604B2 (en) POS system
JPH117418A (en) Data processor having message output function and message output control method for the device
JPH02161564A (en) Method for storing data in storage device
JPH076267A (en) Data processing device
JPH0750485B2 (en) Data retrieval device by classification
JPH05266344A (en) Merchandise information processor
JPH0656636B2 (en) POS system
JPH05250571A (en) Product sales data processor
JPS63298696A (en) Pos terminal