JPH0214359A - Data processing unit - Google Patents

Data processing unit

Info

Publication number
JPH0214359A
JPH0214359A JP63165688A JP16568888A JPH0214359A JP H0214359 A JPH0214359 A JP H0214359A JP 63165688 A JP63165688 A JP 63165688A JP 16568888 A JP16568888 A JP 16568888A JP H0214359 A JPH0214359 A JP H0214359A
Authority
JP
Japan
Prior art keywords
processing
read
information
data
scanner
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
JP63165688A
Other languages
Japanese (ja)
Inventor
Yuji Aso
祐史 麻生
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP63165688A priority Critical patent/JPH0214359A/en
Publication of JPH0214359A publication Critical patent/JPH0214359A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To use an information reading device such as a scanner, for plural purposes at a same time by controlling reading information to be given to either a first processing means or a second processing means on the basis of the instruction of an instructing means when the information to be needed for processing are read by a reading means. CONSTITUTION:For example, when a commodity code, which is read by a scanner 1 and corresponds to a bar code, is not set to a RAM 10, such a condition is discriminated as an error and error display is executed by a CRT display 7. When the error display is not executed, normal registration processing is executed. When there is a commodity to be next registered and processed, the bar code of the commodity is read by the scanner 1 and the registration processing is continued. When there is not commodity to be registered and processed, a total sum key to be provided in a keyboard 6 is pushed down and a sales total amount is operated. Then, a receipt is issued by a printer continuously.

Description

【発明の詳細な説明】 [産業上の利用分野〕 この発明は、データ処理装置に関し、特に、読取手段に
よって読取った情報を同時に複数の目的に使用できるよ
うなデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device, and particularly to a data processing device that can simultaneously use information read by a reading means for a plurality of purposes.

[従来の技術] 周知のように、スーパーマーケット等にはP。[Conventional technology] As everyone knows, supermarkets etc. have P.

S(ポイント・オブ・セールズ)システムが設置され、
販売時における売上げ情報が即時にコンピュータによっ
て処理されるようになっている。売上げ処理を行なうと
き、店のオペレータはPos端末装置を登録モードにセ
ットし、PO8端末装置に設けられているスキャナによ
って商品等に付されているバーコードを読取らせる。す
ると、バコードに対応する商品識別情報に基づいて、予
めメモリに格納されているその商品の単価情報などが読
出されて登録される。メモリに該当の商品識別情報が格
納されていない場合には、エラーの旨が表示され、オペ
レータによって手入力された商品識別情報や単価情報が
登録処理される。そして、閉店後、オペレータはPO8
端末装置を設定モードにセットし、キーボードなどを用
いてその商品の商品識別情報や単価情報などの必要な情
報をメモリに設定記憶していた。
S (point of sales) system was installed,
Sales information at the time of sale is immediately processed by a computer. When performing sales processing, the store operator sets the POS terminal device to registration mode and causes the scanner provided in the PO8 terminal device to read the barcode attached to the product. Then, based on the product identification information corresponding to the barcode, the unit price information of the product stored in the memory in advance is read out and registered. If the corresponding product identification information is not stored in the memory, an error message is displayed, and the product identification information and unit price information manually input by the operator are registered. After the store closes, the operator returns to PO8.
The terminal device was set in a setting mode, and necessary information such as product identification information and unit price information for the product was set and stored in the memory using a keyboard or the like.

[発明が解決しようとする課題] 上述のごとく、従来のPO8端末装置におけるスキャナ
は登録モードにおける登録処理に使用中には同時に設定
モードないし返品処理モードなどには使用することがで
きなかった。
[Problems to be Solved by the Invention] As described above, while the scanner in the conventional PO8 terminal device is being used for registration processing in registration mode, it cannot be used for setting mode or return processing mode at the same time.

それゆえに、この発明の主たる目的は、スキャナ等の情
報読取装置を同一時刻に複数の目的に使用することので
きるようなデータ処理装置を提供することである。
Therefore, a main object of the present invention is to provide a data processing device that allows an information reading device such as a scanner to be used for multiple purposes at the same time.

[課題を解決するための手段] この発明に係るデータ処理装置は、処理に必要な情報を
読取るための読取手段と、読取手段の読取った情報に基
づいて、予め定める第1の処理を行なうための第1処理
手段と、読取手段の読取った情報に基づいて、第1の処
理とは異なる第2の処理を第1処理手段の処理と並行し
て行なうための第2処理手段と、読取手段の読取った情
報の送り先を指示するための指示手段と、読取手段によ
り処理に必要な情報が読取られたとき、指示手段の指示
に基づいて、読取情報を第1処理手段および第2処理手
段のいずれかに与えるように制御する制御手段とを備え
て構成される。
[Means for Solving the Problems] A data processing device according to the present invention includes a reading device for reading information necessary for processing, and a device for performing a predetermined first process based on the information read by the reading device. a first processing means, a second processing means for performing a second process different from the first process in parallel with the processing of the first processing means, based on the information read by the reading means, and a reading means. When information necessary for processing is read by the reading means, the read information is sent to the first processing means and the second processing means based on the instruction from the instruction means. and a control means for controlling such that it is given to either one of the two.

[作用] この発明に係るデータ処理装置は、読取手段によって処
理に必要な情報が読取られたとき、データ送り先として
第1処理手段が指示されている場合には、第1処理手段
に読取情報を与え、第2処理手段が指示されている場合
には、第2処理手段に読取情報を与えるようにしている
[Operation] When the reading means reads information necessary for processing, the data processing device according to the present invention transmits the read information to the first processing means if the first processing means is designated as the data destination. and when the second processing means is instructed, the reading information is given to the second processing means.

[発明の実施例] 第1図はこの発明の一実施例の概要を説明するための図
である。第1図において、読取手段としてのスキャナ1
によってバーコードが読取られ、その読取データが制御
手段2に与えられる。制御手段2は、後述の第2図にお
けるRAMl0のエリアbの指示に従って、読取データ
を登録処理手段3または設定処理手段4に与える。具体
的には、登録モードが設定されている場合には、読取デ
ータは登録処理のために用いられ、設定モードが選択さ
れている場合には、読取データは必要なデータの設定の
ために用いられる。
[Embodiment of the Invention] FIG. 1 is a diagram for explaining an outline of an embodiment of the invention. In FIG. 1, a scanner 1 as a reading means
The barcode is read and the read data is given to the control means 2. The control means 2 supplies the read data to the registration processing means 3 or the setting processing means 4 according to instructions in area b of the RAM 10 in FIG. 2, which will be described later. Specifically, if the registration mode is set, the read data is used for registration processing, and if the setting mode is selected, the read data is used to set the necessary data. It will be done.

なお、読取手段はバーコードを読取るスキャナに限らず
、たとえば商品のラベル付されれている文字情報を読取
るためのタグペンリーダが用いられてもよい。タグペン
リーダは光学的に文字情報を読取るものでもよく、また
、磁気的に文字情報を読取るものでもよい。また、登録
処理手段3に対応してデータキュー31(図示せず)を
設け、設定処理手段4に対応してデータキュー41(図
示せず)を設け、登録モードが選択されているときには
、読取データをデータキュー31に与え、設定モードが
選択されているときには、読取データをデータキュー4
1に与えるようにしてもよい。
Note that the reading means is not limited to a scanner for reading barcodes, and for example, a tag pen reader for reading character information attached to a label of a product may be used. The tag pen reader may be one that reads text information optically or may be one that reads text information magnetically. Further, a data queue 31 (not shown) is provided corresponding to the registration processing means 3, and a data queue 41 (not shown) is provided corresponding to the setting processing means 4. The data is given to the data queue 31, and when the setting mode is selected, the read data is given to the data queue 4.
1 may be given.

第2図はこの発明の一実施例の主な電気的構成を示す概
略ブロック図である。第2図において、PO8端末装置
20には、CPU5が設けられる。
FIG. 2 is a schematic block diagram showing the main electrical configuration of an embodiment of the present invention. In FIG. 2, the PO8 terminal device 20 is provided with a CPU5.

CPU5には、キーボード6、CRTデイスプレィ7、
インターフェイス8.ROM9.RAMl0および11
が接続される。キーボード6は金額データなどの設定を
行なうための数字キーや、合計演算や支払処理を行なう
ための各種の指示キーや、動作モードを切換えるための
モード切換スイッチaを含む。CRTデイスプレィ7は
登録モードまたは設定モードに応じた画面を表示するも
のである。インターフェイス8はスキャナ1からの読取
信号をCPU5に与えるためのものである。
The CPU 5 has a keyboard 6, a CRT display 7,
Interface 8. ROM9. RAM10 and 11
is connected. The keyboard 6 includes numeric keys for setting monetary data, various instruction keys for total calculations and payment processing, and a mode changeover switch a for switching operation modes. The CRT display 7 displays a screen corresponding to the registration mode or setting mode. The interface 8 is for providing a read signal from the scanner 1 to the CPU 5.

ROM9は後で説明する第3図に示すようなフロー図に
括づ<CPU5の動作プログラムを格納するものである
。RAMl0は売上げデータを登録するためのものであ
り、商品コード別に商品名データ、部門コードおよび単
価データを記憶したエリアを含む。また、RAMl0に
は、現在どのモード状態にあるのかを記憶するためのエ
リアbが設けられている。エリアbのコードが0であれ
ば、登録モードであることを示し、1であれば設定モー
ドであることを示す。RAMIIは、ワーク用メモリで
あり、設定されるデータを一時的に記憶するためのエリ
アCを含む。
The ROM 9 stores an operating program for the CPU 5, which is summarized in a flow diagram as shown in FIG. 3, which will be explained later. RAM 10 is for registering sales data, and includes areas in which product name data, department codes, and unit price data are stored for each product code. Further, the RAM 10 is provided with an area b for storing which mode the device is currently in. If the code in area b is 0, it indicates the registration mode, and if it is 1, it indicates the setting mode. RAM II is a work memory and includes an area C for temporarily storing data to be set.

第3図はこの発明の一実施例の動作を説明するだめのフ
ロー図である。次に、第1図ないし第3図を参照して、
この発明の一実施例の動作について説明する。以下には
、登録モードと設定モードの2つのプログラムをロード
させ、処理を行なうものについて説明する。登録処理プ
ログラムと設定処理プログラムとはマルチタスク処理さ
れる。
FIG. 3 is a flow diagram for explaining the operation of one embodiment of the present invention. Next, referring to Figures 1 to 3,
The operation of one embodiment of this invention will be explained. Below, we will explain how to load two programs in registration mode and setting mode to perform processing. The registration processing program and the setting processing program are multitasked.

そして、スキャナ1によって読取られたデータは後述す
るように選択されている動作モードすなわちCRTデイ
スプレィ7に表示されている画面に対応するモードを実
行するルーチンに与えられる。
The data read by the scanner 1 is then given to a routine that executes a selected operating mode, that is, a mode corresponding to the screen displayed on the CRT display 7, as will be described later.

オペレータはPO8端末装置20の電源を投入した時点
で、モード切換スイッチaを操作して登録処理プログラ
ムと設定処理プログラムとを起動させる。PO8端末装
置20では、ステップS1において、登録モードが優先
的に選択され、登録モードに対応するコード“0″がR
AMl0のエリアbに記憶され、CRTデイスプレィ7
には登録処理を行なうための画面表示が行なわれ、スキ
ャナ1からのデータ入力待ち状態となる。ステップS2
において、スキャナ1によってバーコードか読取られる
と、バーコードに対応する商品コードがCPU5に与え
られ、当該商品コードに対応するRAMl0のエリアが
アクセスされて、商品名データと部門コードと単価デー
タとか読出されて、登録処理が行なわれる。このとき、
スキャナ1によって読取られたバーコードに対応する商
品コードがRAMl0に設定されていなければ、ステッ
プS3において、エラーであることか判別されて、CR
Tデイスプレィ7にエラー表示が行なわれて、ステップ
Sllに進む。エラー表示かされなければ、通常の登録
処理が行なわれ、ステップS4において、次に登録処理
すべき商品かあれば、ステップS2に戻り、その商品の
バーコードがスキャナ1で読取られて、登録処理が続行
され、登録処理すべき商品がなければ、ステップ$5に
進む。ステップS5では、キーボード6に設けられてい
る図示しない合計キーが押圧されて、ステップS6にお
いて、売上げ合計額が演算されて、続いて、ステップS
7において、図示しないプリンタによりレシートが発行
される。
When the operator turns on the power of the PO8 terminal device 20, the operator operates the mode changeover switch a to start the registration processing program and the setting processing program. In the PO8 terminal device 20, the registration mode is preferentially selected in step S1, and the code "0" corresponding to the registration mode is R.
It is stored in area b of AMl0 and displayed on CRT display 7.
A screen for registration processing is displayed, and the scanner 1 is in a state of waiting for data input from the scanner 1. Step S2
When a barcode is read by the scanner 1, the product code corresponding to the barcode is given to the CPU 5, and the area of RAM 10 corresponding to the product code is accessed to read product name data, department code, unit price data, etc. Then, registration processing is performed. At this time,
If the product code corresponding to the barcode read by the scanner 1 is not set in RAMl0, it is determined in step S3 whether there is an error, and the CR
An error message is displayed on the T-display 7, and the process advances to step Sll. If no error is displayed, normal registration processing is performed, and if there is a product to be registered next in step S4, the process returns to step S2, the barcode of that product is read by the scanner 1, and registration processing is performed. If there is no product to be registered, the process proceeds to step $5. In step S5, a total key (not shown) provided on the keyboard 6 is pressed, and in step S6, the total amount of sales is calculated, and then in step S
At 7, a receipt is issued by a printer (not shown).

一方、ステップS3において、エラーであることが判別
されてエラー表示が行なわれた場合には、ステップSl
lにおいて、オペレータはキーボード6のモード切換ス
イッチaを押圧する。これにより、ステップS12にお
いて、動作モードは登録モードから設定モードに切換わ
る。すなわち、モード切換スイッチaの操作によって、
RAMl0のエリアbに記憶されていたコードが“0“
から“l”に切換わり、CRTデイスプレィ7には、設
定処理を行なうための画面表示が行なわれる。
On the other hand, if it is determined in step S3 that an error has occurred and an error display is performed, step S1
1, the operator presses the mode changeover switch a on the keyboard 6. As a result, in step S12, the operation mode is switched from the registration mode to the setting mode. That is, by operating mode selector switch a,
The code stored in area b of RAMl0 is “0”
The display changes from "1" to "l", and a screen display for performing setting processing is displayed on the CRT display 7.

ステップ313において、スキャナ1によって読取られ
たバーコード情報はRAMl0のエリアbに格納された
コードに基づいて、設定モードにおけるコードとして読
込まれる。オペレータは、ステップ514において、商
品名データや部門コードや単価データなどの当該バーコ
ード情報に対して不足するデータを入力し、メモリへの
設定を行なう。ステップS15では、データの設定が終
了したか否かが判別され、終了してなければ、ステップ
S14に戻って、データ入力を続行し、終了していれば
、ステップ516において、再度モード切換スイッチa
を操作し、動作モードの切換を行なう。登録モードに切
換イ)ると、再度登録処理を行なうことができる。
In step 313, the barcode information read by the scanner 1 is read as a code in the setting mode based on the code stored in area b of RAM10. In step 514, the operator inputs missing data for the barcode information, such as product name data, department code, and unit price data, and makes settings in the memory. In step S15, it is determined whether or not the data setting has been completed. If not, the process returns to step S14 and data input is continued; if it has been completed, the mode selection switch a is switched again in step S15.
Operate to switch the operation mode. By switching to the registration mode, the registration process can be performed again.

なお、設定モードにおいて入力されたデータはRAMI
IのエリアCに一取引の取引情報として記憶されており
、RAMl0のエリアbにコード″0”が設定されたこ
とに応答して、RAMIIのエリアCに記憶されている
データは読出されてCRTデイスプレィ7に表示される
。以降の登録処理において、設定モードにおいて設定さ
れた商品について登録が行なわれるときには、設定モー
ドにおいて設定されたデータに基づいて登録処理が行な
われるので、同じデータを再度入力する必要はない。
Note that the data input in the setting mode is
The data stored in area C of RAMII is stored as transaction information for one transaction, and in response to the code "0" being set in area b of RAM10, the data stored in area C of RAMII is read out and sent to the CRT. displayed on display 7. In the subsequent registration process, when the product set in the setting mode is registered, the registration process is performed based on the data set in the setting mode, so there is no need to input the same data again.

なお、マルチタスク処理を行なうので、たとえば登録処
理中に割込みをかけて設定動作を行なっているときにも
、該設定動作と並行して割込前に読取られたデータに基
づく登録処理を行なう。
Since multitasking is performed, for example, even when a setting operation is performed by interrupting the registration process, the registration process based on the data read before the interruption is performed in parallel with the setting operation.

以上のように、この実施例では、−取引に対する2つの
処理に対して、同時にスキャナによってバーコードを読
取ることが可能となり、従来のように取引ごとに必要な
データを手入力する手間が省ける。
As described above, in this embodiment, it is possible to simultaneously read the barcode with the scanner for two processes for a transaction, thereby eliminating the need to manually input the necessary data for each transaction as in the conventional case.

[発明の効果] 以上のように、この発明によれば、第1処理手段による
処理と第2処理手段による処理とを並行して行なうとと
もに、読取手段によって処理に必要な情報が読取られた
ことに応じて、データ送り先として第1処理手段が指示
されている場合には、第1処理手段に読取情報を与え、
第2処理手段が指示されている場合には、第2処理手段
に読取情報を与えるようにしたので、必要に応じて指示
を切換えることにより読取手段を複数の目的に同時に用
いることができる。
[Effects of the Invention] As described above, according to the present invention, the processing by the first processing means and the processing by the second processing means are performed in parallel, and the information necessary for the processing is read by the reading means. If the first processing means is designated as the data destination in accordance with the above, the reading information is given to the first processing means;
Since reading information is given to the second processing means when the second processing means is instructed, the reading means can be used for a plurality of purposes at the same time by switching the instruction as necessary.

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

第1図はこの発明の一実施例の概要を説明するための図
である。第2図はこの発明の一実施例の主な電気的構成
を示す概略ブロック図である。第3図はこの発明の一実
施例の動作を説明するためのフロー図である。 図において、1はスキャナ、2は制御手段、3は登録処
理手段、4は設定処理手段、5はCPU、6はキーボー
ド、7はCRTデイスプレィ、8はインターフェイス、
9はROM、10および11はRAM、20はpos端
末装置を示す。 萬1図 第2図 83図
FIG. 1 is a diagram for explaining the outline of an embodiment of the present invention. FIG. 2 is a schematic block diagram showing the main electrical configuration of an embodiment of the present invention. FIG. 3 is a flow diagram for explaining the operation of one embodiment of the present invention. In the figure, 1 is a scanner, 2 is a control means, 3 is a registration processing means, 4 is a setting processing means, 5 is a CPU, 6 is a keyboard, 7 is a CRT display, 8 is an interface,
9 is a ROM, 10 and 11 are RAMs, and 20 is a POS terminal device. Figure 1 Figure 2 Figure 83

Claims (1)

【特許請求の範囲】 処理に必要な情報を読取るための読取手段と前記読取手
段の読取った情報に基づいて、予め定める第1の処理を
行なうための第1処理手段、前記読取手段の読取った情
報に基づいて、前記第1の処理とは異なる第2の処理を
前記第1処理手段の処理と並行して行なうための第2処
理手段、前記読取手段の読取った情報の送り先を指示す
るための指示手段、および 前記読取手段により処理に必要な情報が読取られたとき
、前記指示手段の指示に基づいて、読取情報を前記第1
処理手段および前記第2処理手段のいずれかに与えるよ
うに制御する制御手段を備えたデータ処理装置。
[Scope of Claims] A reading means for reading information necessary for processing; a first processing means for performing a predetermined first process based on the information read by the reading means; a second processing means for performing a second process different from the first process in parallel with the process of the first processing means based on the information; and a second processing means for instructing the destination of the information read by the reading means. When information necessary for processing is read by the instruction means and the reading means, the read information is read by the first instruction means based on the instruction from the instruction means.
A data processing device comprising: a control means for controlling the processing means to apply a signal to either the processing means or the second processing means.
JP63165688A 1988-07-01 1988-07-01 Data processing unit Pending JPH0214359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63165688A JPH0214359A (en) 1988-07-01 1988-07-01 Data processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63165688A JPH0214359A (en) 1988-07-01 1988-07-01 Data processing unit

Publications (1)

Publication Number Publication Date
JPH0214359A true JPH0214359A (en) 1990-01-18

Family

ID=15817153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63165688A Pending JPH0214359A (en) 1988-07-01 1988-07-01 Data processing unit

Country Status (1)

Country Link
JP (1) JPH0214359A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0785368A (en) * 1993-06-30 1995-03-31 Nec Corp Cash register

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0785368A (en) * 1993-06-30 1995-03-31 Nec Corp Cash register

Similar Documents

Publication Publication Date Title
EP0187523B1 (en) Pos systems
JP2008046737A (en) Cash register system
JPH0214359A (en) Data processing unit
JPS63219096A (en) Transaction processor
JPH0667783A (en) Menu type data input system
JPH10226142A (en) Operation device of electronic application apparatus
JPH04120690A (en) Transaction processor
KR100446951B1 (en) Method for controlling electronic cash register capable of simultaneously registering for a plurality of users, especially reducing time loss required for wait
JP3062511B2 (en) Electronic cash register
JPH1173468A (en) Commodity price changing system
JPS62164195A (en) Pos terminal
KR920004758B1 (en) Method of discount sale for cash register
JPS636914B2 (en)
JPS61193296A (en) Input unit for electronic cash register
JPS6269395A (en) Sales data processor
JPS61211797A (en) Electronic type cash register
JP2584549B2 (en) Product sales data processing device
KR100238580B1 (en) Cash register and article price information inquiry method of cash register
JPH06309563A (en) Commodity sales data processor
JPS63278194A (en) Trade processor
JPH06111135A (en) Merchandise sales data processor
JPS60221893A (en) Electronic type cash register
KR19990027551A (en) How to Resolve Errors in Electronic Cash Registers
JPS5836388B2 (en) electronic cash register
JPH064772A (en) Transaction article number account settling system by bar-code