JPH0121430Y2 - - Google Patents

Info

Publication number
JPH0121430Y2
JPH0121430Y2 JP1981144628U JP14462881U JPH0121430Y2 JP H0121430 Y2 JPH0121430 Y2 JP H0121430Y2 JP 1981144628 U JP1981144628 U JP 1981144628U JP 14462881 U JP14462881 U JP 14462881U JP H0121430 Y2 JPH0121430 Y2 JP H0121430Y2
Authority
JP
Japan
Prior art keywords
data
classification
register
total
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.)
Expired
Application number
JP1981144628U
Other languages
Japanese (ja)
Other versions
JPS5847951U (en
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 filed Critical
Priority to JP14462881U priority Critical patent/JPS5847951U/en
Publication of JPS5847951U publication Critical patent/JPS5847951U/en
Application granted granted Critical
Publication of JPH0121430Y2 publication Critical patent/JPH0121430Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【考案の詳細な説明】 〔産業上の利用分野〕 この考案は、入力された売上データを分類別に
累計して記憶する電子レジスタ等の売上データ処
理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention relates to a sales data processing device such as an electronic register that accumulates and stores input sales data by category.

〔従来の技術〕[Conventional technology]

一般に、電子レジスタでは、売上データの合計
を分類別に記憶するメモリを有している。そして
売上データと共にこの売上データと対応する分類
データを入力した際には、分類データに対応する
前記メモリ内の所定記憶領域に前記売上データが
累計される。例えば、特開昭53−80937号公報に
は、分類データとして部門別キーを操作して部門
データを入力する例であるが、各部門データに対
応した記憶領域へ売上データが累計されている。
Generally, electronic registers have a memory that stores total sales data by category. When the sales data and classification data corresponding to the sales data are input, the sales data is accumulated in a predetermined storage area in the memory corresponding to the classification data. For example, in Japanese Patent Application Laid-Open No. 53-80937, there is an example in which department data is input as classification data by operating a department key, but sales data is accumulated in a storage area corresponding to each department data.

即ち従来では分類データで指定される分類別メ
モリの領域は一つだけであつた。このため、例え
ば、分類データをメーカ名及び商品名コードから
成る一連のデータとして売上データの分類を行な
う場合であつて、メーカ名が99種、商品名が99種
ある場合には、第5図に示すメモリを必要として
いた。同図において、11はメーカ名及び商品名
からなる分類データを記憶する領域、12は合計
個数、合計金額からなる売上データの合計を記憶
する領域である。尚、図示は省略するが、メーカ
「03」「04」…「99」についても商品「01」から
「99」までの各々についての売上データの合計を
記憶するメモリを必要としており、メーカ99種
分、即ち99項目分のメモリ容量が必要となる。
That is, conventionally, there was only one area of the classification memory specified by the classification data. For this reason, for example, when classifying sales data as a series of data consisting of manufacturer names and product name codes, and there are 99 types of manufacturer names and 99 types of product names, Figure 5 required the memory shown. In the figure, 11 is an area for storing classification data including manufacturer names and product names, and 12 is an area for storing total sales data including total number of items and total amount. Although not shown in the figure, manufacturers ``03'', ``04'', ... ``99'' also require memory to store the total sales data for each product from ``01'' to ``99'', and the 99 types of manufacturers In other words, memory capacity for 99 items is required.

〔考案が解決しようとする課題〕[The problem that the idea attempts to solve]

しかるに、上記のように分類するものでは、分
類データの増加に比例してメモリ容量も増大する
欠点があつた。また、上記のように分類したデー
タを集計する際には、例えば上記例では、各メー
カ毎の売上合計、各商品毎の売上合計を求める場
合が多く、この際には、一日の店の営業が終了し
た時点等において、前述の各メーカ毎、各商品毎
の分類集計作業を必要としていた。
However, the method for classifying as described above has the disadvantage that the memory capacity increases in proportion to the increase in the number of classified data. Furthermore, when aggregating the data classified as above, in the example above, the total sales for each manufacturer and the total sales for each product are often calculated. At the end of business hours, it was necessary to perform the above-mentioned classification and aggregation work for each manufacturer and each product.

この考案の課題は、売上データに対応して入力
された分類データを複数に分割し、この分割され
た各分類データに対応する複数の分類別合計記憶
手段へ夫々並列的に売上データを累計することに
よつて、簡単な入力操作により売上データを入力
し得ると共に、メモリの記憶容量を増加させるこ
ともなく、また、後の分類集計作業も必要とせず
に夫々異なる分類毎の売上データの集計ができる
ようにすることである。
The problem of this invention is to divide the input classification data corresponding to the sales data into multiple parts, and to accumulate the sales data in parallel in a plurality of classification total storage means corresponding to each divided classification data. In particular, sales data can be entered through simple input operations, and sales data for each different category can be aggregated without increasing memory storage capacity or requiring subsequent classification and aggregation work. The goal is to be able to do this.

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

本考案の手段は次の通りである。 The means of the present invention are as follows.

複数分類別合計記憶手段7(3,4第4図の機
能ブロツク図を参照、以下同じ)は夫々に異なる
分類別に合計データを記憶する。
A plurality of classification total storage means 7 (see the functional block diagram of FIGS. 3 and 4, the same applies hereinafter) stores total data for each different classification.

入力手段8,1は金額等の売上データ及びこの
売上データに対応するメータ名、商品名コードか
ら成る複数の分類データを一連の連続データによ
つて順次入力するテンキー等を備える。
The input means 8, 1 includes a numeric keypad or the like for sequentially inputting a plurality of classification data consisting of sales data such as amount of money, meter name corresponding to this sales data, and product name code as a series of continuous data.

分割手段9(L,S3,S4)は入力手段8で入力
された前記連続データを前記複数の分類別合計記
憶手段7に対応する複数の分類データに分割す
る。
The dividing means 9 (L, S 3 , S 4 ) divides the continuous data inputted by the input means 8 into a plurality of classified data corresponding to the plurality of classified total storage means 7.

累計手段10(L,S14,S17)は入力手段8で
入力された売上データを前記分割された分類デー
タで指定される前記複数の各分類別合計記憶手段
7に夫々累計する。
The accumulating means 10 (L, S 14 , S 17 ) accumulates the sales data inputted by the input means 8 into the plurality of category-specific total storage means 7 specified by the divided category data.

なお、カツコ内は上記各手段が実施例において
は、どのように具体化されたかを明瞭にするため
に参考に付加したものである。
Note that the words in brackets are added for reference in order to clarify how the above-mentioned means are embodied in the embodiments.

〔作用〕[Effect]

本考案の手段の作用は次の通りである。 The operation of the means of the present invention is as follows.

まず、入力手段8で、例えば2桁のメーカ名コ
ード及び2桁の商品名コード等からなる分類デー
タを売上データと共に置数キー等により連続デー
タとして入力すると、前記分割手段9は分類デー
タを、例えば上位2桁の分類データと下位2桁の
分類データに分割する。累計手段10は、前記分
割された分類データに対応する前記各分類別合計
記憶手段7、例えば、メーカ別の分類別合計メモ
リ4及び商品別の分類別合計メモリ3の所定の記
憶領域へ前記入力された売上データをそれぞれ累
計する。したがつつて、メモリの容量を増加させ
ることなく、分類集計作業を行わず分類別の集計
データが得られ、しかも、その入力操作は簡単で
ある。
First, when the input means 8 inputs classification data consisting of, for example, a two-digit manufacturer name code and a two-digit product name code, etc. together with sales data as continuous data using a numeric key or the like, the dividing means 9 converts the classification data into For example, it is divided into upper two digit classification data and lower two digit classification data. The accumulating unit 10 inputs the input into a predetermined storage area of the category-specific total storage unit 7 corresponding to the divided category data, for example, the category-specific total memory 4 by manufacturer and the category-specific total memory 3 by product. cumulate the sales data for each item. Therefore, the total data for each category can be obtained without increasing the memory capacity and without performing the classification and totalization work, and the input operation is simple.

〔実施例〕〔Example〕

以下、一実施例を第1図ないし第3図を参照し
ながら説明する。
Hereinafter, one embodiment will be described with reference to FIGS. 1 to 3.

第1図は電子レジスタの概略システム構成図を
示し、符号1は入力部で、ここにはテンキー1
a、フアンクシヨンキー1b、分類キー1c、金
額キー1dなどのほか「設定」、「登録」などの各
種モードに指定するモードスイツチ1eが備えら
れている。この入力部1の操作信号はCPU2に
入力される。CPU2はアドレスデータなどが記
憶されるaレジスタ、bレジスタおよびX,Y,
Z,Fの各種レジスタが備えられ、システム全体
の制御を行い、演算制御回路Lにおいて各種演算
を行う。またCPU2は分類別合計メモリ3,4
に対して夫々チツプ指定信号S1,S2を出力し、ま
たアドレスバスABを介してアドレス信号を出力
し、データバスDBを介してデータの授受を行
う。またCPU2は表示部5へ表示データを、印
字部6へ印字データを夫々出力する。
Figure 1 shows a schematic system configuration diagram of an electronic register, where numeral 1 is an input section, and numeric keypad 1 is shown here.
In addition to a function key 1b, a classification key 1c, and an amount key 1d, a mode switch 1e for specifying various modes such as "setting" and "registration" is provided. This operation signal from the input section 1 is input to the CPU 2. The CPU 2 includes registers a and b in which address data, etc. are stored, and registers X, Y,
Various registers Z and F are provided to control the entire system, and an arithmetic control circuit L performs various arithmetic operations. In addition, CPU2 has a total memory of 3,4 by category.
It outputs chip designation signals S 1 and S 2 to the chips, respectively, outputs address signals via the address bus AB, and sends and receives data via the data bus DB. Further, the CPU 2 outputs display data to the display section 5 and print data to the print section 6, respectively.

前記分類別合計メモリ3及び4の各記憶領域に
はそれぞれ商品名あるいはメーカ名の2桁の数値
からなる分類コードを記憶する記憶領域と、その
商品の売上個数データを記憶する記憶領域Iと、
その商品の売上合計金額データを記憶する記憶領
域Aが夫々備えられている。
Each of the storage areas of the classification total memories 3 and 4 includes a storage area for storing a classification code consisting of a two-digit numerical value of a product name or a manufacturer's name, and a storage area I for storing data on the number of sales of the product.
A storage area A is provided for storing total sales amount data of the product.

次に、この考案の動作について説明する。入力
部1のモードスイツチ1eを「登録」モードに指
定した後、商品名の登録を行うために、テンキー
1aを操作して2桁の数値からなる商品名コード
を入力し、さらにテンキー1aを操作して2桁の
数値からなる前記商品のメーカ名のコードを入力
すると、各コードは順次CPU2のXレジスタに
書き込まれる。この後、分類キー1cを操作する
と第2図のフローに従つた動作が実行される。
Next, the operation of this invention will be explained. After setting the mode switch 1e of the input unit 1 to the "registration" mode, in order to register the product name, operate the numeric keypad 1a to input a product name code consisting of a two-digit number, and then operate the numeric keypad 1a. When the code of the manufacturer name of the product consisting of a two-digit numerical value is inputted, each code is sequentially written into the X register of the CPU 2. Thereafter, when the classification key 1c is operated, the operation according to the flow shown in FIG. 2 is executed.

すなわち、ステツプS1の実行においてCPU2
のXレジスタに記憶された数値データの桁数の検
出が行なわれる。次いでステツプS2の実行に移
り、Xレジスタの数値データの桁数は4桁か否か
の判断が実行され、否と判断されると商品名コー
ドおよびメーカ名コードが正しく入力されて無い
とみなされ、ノンフアクシヨンとして処理され
る。ステツプS2において4桁であると判断される
と、ステツプS3に移り、Xレジスタの2桁目およ
び3桁目の桁X2〜X3に記憶された商品名コード
がCPU2のaレジスタに転送される。次いでス
テツプS4の実行に移り、Xレジスタの0桁目およ
び1桁目の桁X0〜X1に記憶されたメーカ名コー
ドがCPC2のbレジスタに転送される。次いで
ステツプS5の実行に移り、Fレジスタに分類キー
1cの操作を示すフラグ“1”が書き込まれる。
In other words, in executing step S1 , CPU2
The number of digits of the numerical data stored in the X register of is detected. Next, the process moves to step S2 , where it is determined whether the number of digits in the numerical data in the and treated as a non-action. If it is determined in step S2 that the number is 4 digits, the process moves to step S3 , and the product name code stored in the second and third digits X2 to X3 of the X register is stored in the a register of the CPU2. be transferred. Next, the process moves to step S4 , where the manufacturer name code stored in the 0th and 1st digits X0 to X1 of the X register is transferred to the b register of the CPC2. Next, the process moves to step S5 , where a flag "1" indicating the operation of the classification key 1c is written in the F register.

前述の分類キー1cの操作に続いて、商品の金
額をテンキー1aを操作して入力すると、この金
額データはCPU2のXレジスタに書き込まれる。
この後、金額キー1dを操作すると第3図のフロ
ーに従つた動作が実行される。すなわち、ステツ
プS11の実行においてXレジスタの内容が「0」
か否かの判断が実行され、「0」と判断されると、
金額データの入力は無いとみなされてノンフアン
クシヨンとして処理される。Xレジスタの内容が
「0」で無い場合はステツプS12に移り、Fレジス
タに分類キー1cの操作を示すフラグ“1”が記
憶されているか否かの判断が実行され、否と判断
されるとノンフアンクシヨンとして処理され、
YESと判断されるとステツプS13に移る。ステツ
プS13の実行において、CPU2のaレジスタの商
品名コードによつて指定される分類別合計メモリ
3の記憶領域I(a),A(a)に夫々対応して記憶され
た商品の売上個数データ、売上合計金額データが
CPU2のYレジスタに転送される。次いでステ
ツプS14の実行に移り、Yレジスタの個数データ
に「1」が加算され、さらにYレジスタの合計金
額データにXレジスタの金額データが加算され
る。次いでステツプS15の実行に移り、Yレジス
タの更新された個数データ、売上合計金額データ
が分類別合計メモリ3の記憶領域I(a),A(a)に
夫々対応して転送される。次いでステツプS16
実行に移り、CPU2のbレジスタのメーカ名コ
ードによつて指定される分類別合計メモリ4の記
憶領域I(b),A(b)に夫々対応して記憶されたその
メーカ製品の売上個数データ、売上合計金額デー
タがCPU2のYレジスタに転送される。次いで
ステツプS17の実行に移り、Yレジスタの個数デ
ータに「1」が加算され、さらにYレジスタの合
計金額データにXレジスタの金額データが加算さ
れる。次いでステツプS18の実行に移り、Yレジ
スタの更新された個数データ、売上合計金額デー
タが分類別合計メモリ4の記憶領域I(b),A(b)に
夫々対応して転送される。次いでステツプS19
実行に移り、Xレジスタの金額データがCPU2
のZレジスタの小計データに加算される。次いで
ステツプS20においてFレジスタに「0」が書き
込まれる。
Following the operation of the classification key 1c described above, when the amount of the product is input by operating the numeric keypad 1a, this amount data is written into the X register of the CPU 2.
Thereafter, when the amount key 1d is operated, the operation according to the flow shown in FIG. 3 is executed. In other words, when executing step S11 , the contents of the X register are "0".
A judgment is made as to whether or not, and if it is determined to be “0”,
It is assumed that there is no input of amount data and it is processed as a non-function. If the contents of the X register are not "0", the process moves to step S12 , where a determination is made as to whether or not a flag "1" indicating the operation of the classification key 1c is stored in the F register, and a negative determination is made. is treated as a non-function,
If it is determined to be YES, the process moves to step S13 . In the execution of step S13 , the number of sold products stored in storage areas I(a) and A(a) of the classification total memory 3 specified by the product name code of the a register of the CPU 2, respectively. data, total sales amount data
Transferred to the Y register of CPU2. Next, the process moves to step S14 , where "1" is added to the number data of the Y register, and furthermore, the amount data of the X register is added to the total amount data of the Y register. Next, the process moves to step S15 , and the updated number data and total sales amount data in the Y register are transferred to storage areas I(a) and A(a) of the classified total memory 3, respectively. Next, the process moves to step S16 , and the manufacturer name code specified by the manufacturer name code in the b register of the CPU 2 is stored corresponding to the storage areas I(b) and A(b) of the classified total memory 4, respectively. Product sales quantity data and total sales amount data are transferred to the Y register of the CPU 2. Next, the process moves to step S17 , where "1" is added to the number data of the Y register, and furthermore, the amount data of the X register is added to the total amount data of the Y register. Next, the process moves to step S18 , and the updated quantity data and sales total amount data in the Y register are transferred to storage areas I(b) and A(b) of the classified total memory 4, respectively. Next, the process moves to step S19 , and the amount data in the X register is transferred to CPU2.
is added to the subtotal data in the Z register. Next, in step S20 , "0" is written to the F register.

なお、前記実施例においては分類別キー1cの
操作後に金額データを入力したが、これに限ら
ず、金額データを入力して金額キー操作後、商品
名およびメーカ名コードを入力してもよい。
Although in the embodiment described above, the amount data is input after operating the classification key 1c, the present invention is not limited to this, and the product name and manufacturer name code may be entered after inputting the amount data and operating the amount key.

また、前記実施例においてはキー入力によつた
が、入力手段はこれに限らず、OCR(光学的文字
読取装置)などを使用しても良い。
Further, in the above embodiment, key input is used, but the input means is not limited to this, and an OCR (optical character reading device) or the like may be used.

〔考案の効果〕[Effect of idea]

この考案によれば、入力手段より入力された連
続データを複数の分類に分割する分割手段を設け
ている為、入力操作は区切キー等の操作を必要と
せずに連続して行い得て簡単であり、入力速度の
向上が計れ、誤入力の防止も行え、しかもメモリ
容量を増加させることなく即ち、メーカ99種、商
品99種の売上データを集計する場合、従来のもの
では99項目のメモリ容量が必要であつたのに比
べ、本考案によれば、2項目分のメモリ容量、つ
まり約1/50のメモリ容量で異なる分類の売上デー
タの集計を得られる利点を有する。
According to this invention, since a dividing means is provided to divide the continuous data inputted from the input means into multiple categories, input operations can be performed continuously without the need to operate a separator key, etc., making it easy. Yes, it can improve input speed and prevent incorrect input, and without increasing memory capacity.In other words, when aggregating sales data of 99 manufacturers and 99 products, the memory capacity of the conventional model is 99 items. However, the present invention has the advantage that sales data of different categories can be aggregated with the memory capacity for two items, that is, about 1/50 of the memory capacity.

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

第1図は実施例を示す概略システム構成図、第
2図および第3図は同実施例のフローチヤート、
第4図は本考案の機能ブロツク図、第5図は従来
の記憶手段構成図である。 1……入力部、1a……テンキー、1b……フ
アンクシヨンキー、2……CPU、3,4……分
類別合計メモリ。
FIG. 1 is a schematic system configuration diagram showing an embodiment, FIGS. 2 and 3 are flowcharts of the embodiment,
FIG. 4 is a functional block diagram of the present invention, and FIG. 5 is a block diagram of a conventional storage means. 1... Input section, 1a... Numeric keypad, 1b... Function key, 2... CPU, 3, 4... Total memory by classification.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 夫々に異なる分類別に合計データを記憶する複
数の分類別合計記憶手段と、売上データ及びこの
売上データに対応する複数の分類データを一連の
連続データによつて順次入力する入力手段と、前
記入力された連続データを前記複数の分類別合計
記憶手段に対応する複数の分類データに分割する
分割手段と、この分割された各分類データに対応
する前記各分類別合計記憶手段内の所定記憶領域
へ前記売上データを夫々累計する累計手段とを有
する売上データ処理装置。
a plurality of classification total storage means for storing total data for different classifications; an input means for sequentially inputting sales data and a plurality of classification data corresponding to the sales data as a series of continuous data; dividing means for dividing the continuous data into a plurality of classified data corresponding to the plurality of classified data total storage means; A sales data processing device comprising a totalizing means for cumulatively totaling sales data.
JP14462881U 1981-09-29 1981-09-29 electronic register Granted JPS5847951U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14462881U JPS5847951U (en) 1981-09-29 1981-09-29 electronic register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14462881U JPS5847951U (en) 1981-09-29 1981-09-29 electronic register

Publications (2)

Publication Number Publication Date
JPS5847951U JPS5847951U (en) 1983-03-31
JPH0121430Y2 true JPH0121430Y2 (en) 1989-06-26

Family

ID=29937584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14462881U Granted JPS5847951U (en) 1981-09-29 1981-09-29 electronic register

Country Status (1)

Country Link
JP (1) JPS5847951U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01203091A (en) * 1988-02-10 1989-08-15 Mitsubishi Heavy Ind Ltd Apparatus for treating waste materials

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52113647A (en) * 1976-03-19 1977-09-22 Ncr Japan Electronic cash register
JPS5380937A (en) * 1976-12-27 1978-07-17 Casio Comput Co Ltd Totalizing system for cash register

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52113647A (en) * 1976-03-19 1977-09-22 Ncr Japan Electronic cash register
JPS5380937A (en) * 1976-12-27 1978-07-17 Casio Comput Co Ltd Totalizing system for cash register

Also Published As

Publication number Publication date
JPS5847951U (en) 1983-03-31

Similar Documents

Publication Publication Date Title
US4138733A (en) Electronic cash register
JPS6013518B2 (en) Electronic register payment method
US4564904A (en) Electronic cash register
JPH0121430Y2 (en)
EP0350654A2 (en) Data processing apparatus
JPS5840776B2 (en) electronic cash register
JPH0631593Y2 (en) Sales data processor
JPS6235715B2 (en)
JPH026119B2 (en)
JP3044718B2 (en) Information processing device
JPH0413757B2 (en)
US4524267A (en) Cash accounting system having data compiling capability
JPS59156477A (en) Cargo transport control apparatus
JPS59106072A (en) Designating system of read for every classification number in electronic register
JPH0514956B2 (en)
JPH026120B2 (en)
JPH0373032B2 (en)
JPH0668150A (en) Code system collecting value generated at end node of tree structure to its host node at high speed and algorithm
JPH03263194A (en) Pos system
JP2566587B2 (en) Database search method
JP3337469B2 (en) Information processing device
JP2775637B2 (en) Transaction data processing device
JP2755175B2 (en) Data statistical information time series management system and data statistical information totaling calculation method
JPS5914071A (en) Electronic type cash register
JPH036699A (en) Data processor