JP5700089B2 - Sales data processing apparatus and program - Google Patents

Sales data processing apparatus and program Download PDF

Info

Publication number
JP5700089B2
JP5700089B2 JP2013181715A JP2013181715A JP5700089B2 JP 5700089 B2 JP5700089 B2 JP 5700089B2 JP 2013181715 A JP2013181715 A JP 2013181715A JP 2013181715 A JP2013181715 A JP 2013181715A JP 5700089 B2 JP5700089 B2 JP 5700089B2
Authority
JP
Japan
Prior art keywords
product name
product
information
name information
name
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.)
Active
Application number
JP2013181715A
Other languages
Japanese (ja)
Other versions
JP2014013596A (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 JP2013181715A priority Critical patent/JP5700089B2/en
Publication of JP2014013596A publication Critical patent/JP2014013596A/en
Application granted granted Critical
Publication of JP5700089B2 publication Critical patent/JP5700089B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、売上データ処理装置及びプログラムに関する。   The present invention relates to a sales data processing apparatus and a program.

従来、電子式キャッシュレジスタ等の売上データ処理装置としては、商品に付されたバーコードをスキャナにより読み取り、読み取ったバーコードに基づき商品の単価や商品名等を検索し、商品登録やレシート印刷を行うものが知られている。このようなバーコードを利用した売上データ処理装置には、バーコードが示す商品コード、商品名、単価等の情報が予め登録されている。   Conventionally, as a sales data processing device such as an electronic cash register, a barcode attached to a product is read by a scanner, and a unit price or a product name of the product is searched based on the read barcode, and product registration and receipt printing are performed. What to do is known. In the sales data processing apparatus using such a barcode, information such as a product code, a product name, and a unit price indicated by the barcode is registered in advance.

また、特許文献1に記載のように、読み取ったバーコードの商品に関する情報が売上データ処理装置に登録されていない場合に、管理センタに問い合わせる技術も知られている。   Further, as described in Patent Document 1, there is also known a technique for making an inquiry to a management center when information related to a read barcode product is not registered in a sales data processing apparatus.

特開平6−4770号公報Japanese Patent Laid-Open No. 6-4770

ところで、売上データ処理装置においては、商品名として登録する文字列に充当できるメモリ容量(バイト数)に限りがあるため、登録されている商品名が好ましくない場合がある。例えば、「果実酒」のように大まかな商品分類が商品名として登録されている場合等である。このような場合、同じ分類に属する商品を複数購買した顧客にとって、レシートに印字された商品名を見てもどの商品についての価格なのか区別しづらいといった問題がある。   By the way, in the sales data processing apparatus, since there is a limit to the memory capacity (number of bytes) that can be allocated to the character string registered as the product name, the registered product name may not be preferable. For example, there is a case where a rough product category such as “fruit wine” is registered as a product name. In such a case, there is a problem that it is difficult for a customer who has purchased a plurality of products belonging to the same category to distinguish which product price is based on the product name printed on the receipt.

しかし、売上データ処理装置は主として数値を扱う装置であるため、文字を入力するためのキーボード等が備えられていないことが多い。そのため、売上データ処理装置において登録されている商品名の設定を容易に変更できないという問題があった。   However, since the sales data processing apparatus mainly handles numerical values, it often has no keyboard or the like for inputting characters. Therefore, there is a problem that the setting of the product name registered in the sales data processing apparatus cannot be easily changed.

本発明の課題は、サーバ装置から送信される複数の商品名情報からユーザが任意に選択指定した商品名情報を登録できるようにすることである。 An object of the present invention is to enable registration of product name information arbitrarily selected and designated by a user from a plurality of product name information transmitted from a server device .

上記課題を解決するため、請求項1に記載の発明は、商品毎に複数の商品名を含む商品名情報が記憶されたサーバ装置に通信ネットワークを介して接続され、複数の識別コードに対応する複数の商品名情報を記憶する商品情報記憶手段備える売上データ処理装置であって、商品名情報を登録する商品の識別コードを前記サーバ装置に送信し、当該識別コードに対応する商品名情報を前記サーバ装置に問い合わせる送信手段と、記サーバ装置から送信された複数の商品名情報から、ユーザ操作に応じて任意の商品名情報を選択して前記商品情報記憶手段に登録するための商品名受信レポートを作成する作成手段と、前記作成手段により作成された前記商品名受信レポートに含まれる商品名情報の位置をユーザが入力手段を用いて任意に選択指定することで、選択指定された商品名情報を前記サーバ装置に送信した前記識別コードに対応づけて前記商品情報記憶手段に記憶させる制御手段と、を備える。 In order to solve the above problem, the invention described in claim 1 is connected to a server device storing product name information including a plurality of product names for each product via a communication network, and corresponds to a plurality of identification codes. A sales data processing device comprising product information storage means for storing a plurality of product name information, wherein an identification code of a product for registering product name information is transmitted to the server device, and product name information corresponding to the identification code is sent and transmitting means for inquiring the server device, a plurality of product name information transmitted from the previous SL server apparatus, trade name for registering the product information storage means select any item name information according to a user operation and creation means for creating a reception report, arbitrarily selected using the user input means the position of the product name information included in the trade name received reports created by the creation means By constant, and a control means for storing the product name information specified selected on the commodity information storage means in association with the identification code transmitted to the server apparatus.

本発明によれば、サーバ装置から送信される複数の商品名情報からユーザが任意に選択指定した商品名情報を登録することができる。 According to the present invention, product name information arbitrarily selected and designated by a user from a plurality of product name information transmitted from a server device can be registered.

本発明の実施形態における商品名管理システムの全体構成例を示す図である。It is a figure which shows the example of whole structure of the brand name management system in embodiment of this invention. 図1の売上データ処理装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the sales data processing apparatus of FIG. 図2のRAMの構成例を示す図である。It is a figure which shows the structural example of RAM of FIG. 図1の情報センタサーバの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the information center server of FIG. 図4の商品名データベースに格納される商品名情報のデータ構成例を示す図である。It is a figure which shows the data structural example of the brand name information stored in the brand name database of FIG. 図4のメーカ名データベースに格納されるメーカ名情報のデータ構成例を示す図である。It is a figure which shows the data structural example of the manufacturer name information stored in the manufacturer name database of FIG. 図1の売上データ処理装置のCPUにより実行される登録処理、及び情報センタサーバのCPUにより実行される検索/回答処理を示すフローチャートである。3 is a flowchart showing a registration process executed by the CPU of the sales data processing apparatus of FIG. 1 and a search / answer process executed by the CPU of the information center server. 図1の売上データ処理装置のCPUにより実行される登録処理を示すフローチャートである。It is a flowchart which shows the registration process performed by CPU of the sales data processing apparatus of FIG. 図3の商品名一時格納領域のデータ格納構成例を示す図である。It is a figure which shows the data storage structural example of the goods name temporary storage area | region of FIG. 図2の商品名受信ファイルのデータ格納例を示す図である。It is a figure which shows the example of data storage of the brand name receiving file of FIG. 図2のCPUにより実行される精算モード処理を示すフローチャートである。It is a flowchart which shows the adjustment mode process performed by CPU of FIG. 図11のステップS43において印字される商品名受信レポートの一例を示す図である。It is a figure which shows an example of the merchandise name reception report printed in step S43 of FIG. 図2のCPUにより実行されるPLU検索処理を示すフローチャートである。3 is a flowchart showing PLU search processing executed by a CPU of FIG. 2. 図2のCPUにより実行される入力文字取得処理を示すフローチャートである。It is a flowchart which shows the input character acquisition process performed by CPU of FIG. 図2のCPUにより実行される入力文字取得処理を示すフローチャートである。It is a flowchart which shows the input character acquisition process performed by CPU of FIG. 図2のCPUにより実行される商品名書き換え処理を示すフローチャートである。It is a flowchart which shows the merchandise name rewriting process performed by CPU of FIG. 図1の売上データ処理装置において設定モード時の一連の処理(PLU検索処理、入力文字取得処理、商品名書き換え処理)の前後におけるPLUファイルの変化を示す図である。It is a figure which shows the change of the PLU file before and after a series of processes (PLU search process, input character acquisition process, product name rewriting process) at the time of setting mode in the sales data processing apparatus of FIG. 図1の売上データ処理装置のCPUにより実行される商品名送信処理、及び情報センタサーバのCPUにより実行される商品名変更処理を示すフローチャートである。3 is a flowchart showing a product name transmission process executed by the CPU of the sales data processing apparatus of FIG. 1 and a product name change process executed by the CPU of the information center server.

以下、図を参照して本発明の実施形態について詳細に説明する。
まず、構成を説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, the configuration will be described.

(商品名管理システム100の構成)
図1に、本発明に係る商品名管理システム100の全体構成例を示す。図1に示すように、商品名管理システム100は、電子式キャッシュレジスタ等の売上データ処理装置1と、情報センタサーバ2とが通信ネットワークNを介してデータ送受信可能に接続されて構成されている。通信ネットワークNは、専用線や既存の公衆回線、インターネット等を利用して構築された情報通信網である。なお、売上データ処理装置1の台数は特に限定されない。
また、この実施形態で、売上データ処理装置とは、電子式キャッシュレジスタ、ECR(Electronic Cash Resister)、金銭登録機等を含むものである。
(Configuration of Product Name Management System 100)
FIG. 1 shows an example of the overall configuration of a product name management system 100 according to the present invention. As shown in FIG. 1, a product name management system 100 is configured by connecting a sales data processing device 1 such as an electronic cash register and an information center server 2 via a communication network N so as to be able to transmit and receive data. . The communication network N is an information communication network constructed using a dedicated line, an existing public line, the Internet, or the like. The number of sales data processing devices 1 is not particularly limited.
In this embodiment, the sales data processing apparatus includes an electronic cash register, an ECR (Electronic Cash Register), a cash register, and the like.

(売上データ処理装置1の構成)
売上データ処理装置1は、店舗に設けられ、オペレータの操作に基づいて購買された商品の登録処理(購買された商品の商品名、商品の売上個数、売上金額等の売上データ等の登録処理)、精算処理等を行う。売上データ処理装置1は、主として数値を扱う装置であるため、文字を入力するためのキーボード等は備えられていない。
(Configuration of sales data processing apparatus 1)
The sales data processing device 1 is provided in a store, and registration processing of products purchased based on the operation of the operator (registration processing of sales data such as the product name of the purchased products, the number of products sold, the sales amount, etc.) Execute the checkout process. Since the sales data processing device 1 is a device that mainly handles numerical values, it does not include a keyboard or the like for inputting characters.

図2に、売上データ処理装置1の機能構成例を示す。図2に示すように、売上データ処理装置1は、CPU(Central Processing Unit)10、入力部11、表示部12、RAM(Random Access Memory)13、記憶部14、通信部15、印字部16、ドロア17、スキャナ部18等を備えて構成され、各部はバス19を介して接続されている。   FIG. 2 shows a functional configuration example of the sales data processing apparatus 1. As shown in FIG. 2, the sales data processing apparatus 1 includes a CPU (Central Processing Unit) 10, an input unit 11, a display unit 12, a RAM (Random Access Memory) 13, a storage unit 14, a communication unit 15, a printing unit 16, A drawer 17 and a scanner unit 18 are provided, and each unit is connected via a bus 19.

CPU10は、記憶部14に記憶されているシステムプログラムを読み出し、RAM13のワークエリアに展開し、該システムプログラムに従って各部を制御する。また、CPU10は、記憶部14に記憶されている各種プログラムを読み出してワークエリアに展開し、後述する登録処理、精算モード処理、PLU検索処理、入力文字取得処理、商品名書き換え処理、商品名送信処理を始めとする各種処理を実行する。   The CPU 10 reads the system program stored in the storage unit 14, develops it in the work area of the RAM 13, and controls each unit according to the system program. Further, the CPU 10 reads out various programs stored in the storage unit 14 and develops them in the work area, and performs registration processing, settlement mode processing, PLU search processing, input character acquisition processing, product name rewriting processing, product name transmission, which will be described later. Various processes including the process are executed.

入力部11は、数値釦、クリア釦、部門釦、商品名入力釦、商品名確定釦、送信釦、モードキー等を備えて構成され、各釦操作やキー操作に応じた操作信号をCPU10に出力する。
数値釦は、0〜9の数値を入力するための釦である。
クリア釦は、入力された数値等をクリアするための釦である。
商品名入力釦は、数値釦により入力された数値を、商品名を表す文字列のアドレス番号として入力することを指示するための釦である。
商品名確定釦は、数値釦及び商品名入力釦の押下により入力された文字列を商品名として確定し、PLUファイル141における商品名の書き換えを指示するための釦である。
送信釦は、書き換えられた商品名の情報センタサーバ2への送信を指示するための釦である。
モードキーは、登録モード、精算モード、設定モード等の売上データ処理装置1の動作モードを切り替えるためのキーである。登録モードは、購買された商品の登録処理を行うモードである。精算モードは、閉店後に1日の売上の精算を行うためのモードである。設定モードは、PLUファイル141に設定されている商品名を書き換えるためのモードである。
The input unit 11 includes a numeric button, a clear button, a department button, a product name input button, a product name confirmation button, a transmission button, a mode key, and the like, and sends an operation signal corresponding to each button operation or key operation to the CPU 10. Output.
The numerical value button is a button for inputting a numerical value from 0 to 9.
The clear button is a button for clearing an input numerical value or the like.
The product name input button is a button for instructing to input the numerical value input by the numerical value button as the address number of the character string representing the product name.
The product name confirmation button is a button for confirming a character string input by pressing the numerical value button and the product name input button as a product name and instructing rewriting of the product name in the PLU file 141.
The transmission button is a button for instructing transmission of the rewritten product name to the information center server 2.
The mode key is a key for switching operation modes of the sales data processing apparatus 1 such as a registration mode, a settlement mode, and a setting mode. The registration mode is a mode for performing registration processing of purchased products. The settlement mode is a mode for performing settlement of sales for one day after the store is closed. The setting mode is a mode for rewriting the product name set in the PLU file 141.

表示部12は、LCD(Liquid Crystal Display)や有機EL(Electro-Luminescence)ディスプレイ等により構成され、CPU10から入力される表示信号の指示に従って、各種画面を表示する。   The display unit 12 includes an LCD (Liquid Crystal Display), an organic EL (Electro-Luminescence) display, and the like, and displays various screens according to instructions of display signals input from the CPU 10.

RAM13は、CPU10により記憶部14から読み出された各種プログラム、入力若しくは出力データ、及びパラメータ等を一時的に格納する。
RAM13は、図3に示すように複数のデータ格納領域を有する。それらの領域としては、スキャニング中フラグ格納領域130、設定モード時スキャニング中フラグ格納領域131、商品名一時格納領域132、メーカ名一時格納領域133、バーコード退避領域134、PLUアドレス領域135、キャラクタ設定用領域136等を有している。
The RAM 13 temporarily stores various programs read from the storage unit 14 by the CPU 10, input or output data, parameters, and the like.
The RAM 13 has a plurality of data storage areas as shown in FIG. These areas include a scanning flag storage area 130, a setting mode scanning flag storage area 131, a product name temporary storage area 132, a manufacturer name temporary storage area 133, a barcode save area 134, a PLU address area 135, a character setting. A use area 136 and the like.

スキャニング中フラグ格納領域130は、登録処理(図7〜図8参照)における動作状態を示すスキャニング中フラグを格納する。スキャニング中フラグ「0」は、商品のバーコード読み取り(スキャニング)後、PLU登録処理(詳細後述)が終了した状態であることを示す。スキャニング中フラグ「1」は、商品のバーコード読み取り後、情報センタサーバ2から商品名情報を受信した状態であることを示す。スキャニング中フラグ「2」は、商品のバーコード読み取り後、情報センタサーバ2からメーカ名情報を受信した状態であることを示す。スキャニング中フラグ「3」は、商品のバーコード読み取り後、情報センタサーバ2から商品名情報とメーカ名情報の何れも受信できなかった状態であることを示す。   The scanning flag storage area 130 stores a scanning flag indicating an operation state in the registration process (see FIGS. 7 to 8). The scanning in progress flag “0” indicates that the PLU registration process (described later in detail) has been completed after reading the barcode of the product (scanning). The scanning flag “1” indicates that the product name information is received from the information center server 2 after the barcode of the product is read. The scanning flag “2” indicates that the manufacturer name information is received from the information center server 2 after reading the barcode of the product. The scanning flag “3” indicates that neither the product name information nor the manufacturer name information has been received from the information center server 2 after reading the barcode of the product.

設定モード時スキャニング中フラグ格納領域131は、設定モード時の動作状態を示す設定モード時スキャニング中フラグを格納する。設定モード時スキャニング中フラグ「OFF」は、商品名受信レポートR(図12参照)のバーコードが読み取られていない状態であることを示す。設定モード時スキャニング中フラグ「ON」は、商品名受信レポートRのバーコードが読み取られた状態であることを示す。   The setting mode scanning flag storage area 131 stores a setting mode scanning flag indicating an operation state in the setting mode. The setting mode scanning flag “OFF” indicates that the barcode of the product name reception report R (see FIG. 12) is not read. The setting mode scanning flag “ON” indicates that the barcode of the product name reception report R has been read.

商品名一時格納領域132は、情報センタサーバ2から受信した商品名情報を一時的に格納する領域である。
メーカ名一時格納領域133は、情報センタサーバ2から受信したメーカ名情報を一時的に格納する領域である。
バーコード退避領域134は、設定モード時に読み取られたバーコードを退避するための領域である。
PLUアドレス領域135は、PLU検索処理(図13参照)においてPLUファイル141から検索された商品登録情報のアドレス情報を格納するための領域である。
キャラクタ設定用領域136は、入力された文字列を格納するための領域である。
The product name temporary storage area 132 is an area for temporarily storing product name information received from the information center server 2.
The manufacturer name temporary storage area 133 is an area for temporarily storing manufacturer name information received from the information center server 2.
The barcode saving area 134 is an area for saving the barcode read in the setting mode.
The PLU address area 135 is an area for storing address information of product registration information searched from the PLU file 141 in the PLU search process (see FIG. 13).
The character setting area 136 is an area for storing an input character string.

記憶部14は、半導体の不揮発性メモリ等により構成される。記憶部14は、CPU10で実行されるシステムプログラム、各種処理プログラム、これらのプログラムの実行に必要なデータ等を記憶する。
例えば、記憶部14は、後述する登録処理、精算モード処理、PLU検索処理、入力文字取得処理、商品名書き換え処理、商品名送信処理を実行するための各種処理プログラムや、入力部11やスキャナ部18からの入力に応じてこれらの処理プログラムを起動させるためのメインプログラム等を記憶している。
これらのプログラムは、コンピュータ読み取り可能なプログラムコードの形態で記憶部14に格納される。CPU10は、当該プログラムコードに従った動作を逐次実行する。
The storage unit 14 is configured by a semiconductor nonvolatile memory or the like. The storage unit 14 stores a system program executed by the CPU 10, various processing programs, data necessary for executing these programs, and the like.
For example, the storage unit 14 includes various processing programs for executing registration processing, checkout mode processing, PLU search processing, input character acquisition processing, product name rewriting processing, and product name transmission processing, which will be described later, the input unit 11 and the scanner unit. A main program and the like for starting up these processing programs in response to inputs from 18 are stored.
These programs are stored in the storage unit 14 in the form of computer-readable program codes. The CPU 10 sequentially executes operations according to the program code.

また、記憶部14は、商品ファイルとしてのPLU(Price Look Up)ファイル141を記憶している。PLUファイル141には、各商品の商品コード、商品名、部門リンク、単価、売上個数及び売上金額等の商品登録情報が格納される(図17参照)。商品コードは、商品にバーコードとして付与されている商品の識別コードである。商品コードとしては様々なコード体系を適用可能であるが、本実施の形態においてはJAN(Japan Article Number)コードとして説明する。商品名は、最大20バイトの文字列である。部門リンクは、商品の部門を示す部門番号である。
また、記憶部14は、受信情報記憶手段として、情報センタサーバ2から受信された商品名情報が格納された商品名受信ファイル142を記憶している(図10参照)。
更に、記憶部14は、部門ファイル等の売上データの処理に係る各種ファイルを記憶している。
The storage unit 14 stores a PLU (Price Look Up) file 141 as a product file. The PLU file 141 stores product registration information such as a product code, a product name, a department link, a unit price, the number of sales, and a sales amount of each product (see FIG. 17). The product code is a product identification code given to the product as a barcode. Although various code systems can be applied as the product code, this embodiment will be described as a JAN (Japan Article Number) code. The product name is a character string of a maximum of 20 bytes. The department link is a department number indicating the department of the product.
Further, the storage unit 14 stores a product name reception file 142 in which product name information received from the information center server 2 is stored as received information storage means (see FIG. 10).
Furthermore, the storage unit 14 stores various files related to sales data processing such as department files.

通信部15は、モデム、ルータ、ネットワークカード等により構成される。通信部15は、通信ネットワークNを介して接続された情報センタサーバ2等の外部装置とのデータ送受信を行う。   The communication unit 15 includes a modem, a router, a network card, and the like. The communication unit 15 performs data transmission / reception with an external device such as the information center server 2 connected via the communication network N.

印字部16は、例えば、サーマルプリンタ(感熱式プリンタ)であり、レシート用、ジャーナル用のロール紙(感熱紙)を有し、CPU10から入力される指示信号に従って、各ロール紙に対して金額等のデータ、商品名受信レポートR等をプリントアウトする。   The printing unit 16 is, for example, a thermal printer (thermal printer), and has receipt and journal roll paper (thermal paper), and according to an instruction signal input from the CPU 10, the amount of money for each roll paper, etc. Data, product name reception report R, etc. are printed out.

ドロア17は、硬貨や紙幣等の現金を収納する引出しである。ドロア17は、CPU10の指示により、引出しが開けられる。   The drawer 17 is a drawer that stores cash such as coins and banknotes. The drawer 17 is opened by the instruction of the CPU 10.

スキャナ部18は、商品に設けられたバーコードを読み取るバーコードリーダやバーコードスキャナ等を備える。   The scanner unit 18 includes a barcode reader, a barcode scanner, or the like that reads a barcode provided on a product.

(情報センタサーバ2の構成)
情報センタサーバ2は、商品名データベース241と、メーカ名データベース242を有し、売上データ処理装置1からの問い合わせに応じて、売上データ処理装置1から送信されたバーコードに対応する商品名、メーカ名等を検索し、売上データ処理装置1に返信する。
(Configuration of information center server 2)
The information center server 2 has a product name database 241 and a manufacturer name database 242, and responds to an inquiry from the sales data processing device 1 with the product name and manufacturer corresponding to the barcode transmitted from the sales data processing device 1. A name or the like is searched and returned to the sales data processing apparatus 1.

図4に、情報センタサーバ2の機能構成例を示す。図4に示すように、情報センタサーバ2は、CPU20、入力部21、表示部22、RAM23、記憶部24、通信部25等を備えて構成され、各部はバス26を介して接続されている。   FIG. 4 shows a functional configuration example of the information center server 2. As shown in FIG. 4, the information center server 2 includes a CPU 20, an input unit 21, a display unit 22, a RAM 23, a storage unit 24, a communication unit 25, and the like, and each unit is connected via a bus 26. .

CPU20は、記憶部24に記憶されているシステムプログラムを読み出し、RAM23内に形成されたワークエリアに展開し、該システムプログラムに従って各部を制御する。また、CPU20は、記憶部24に記憶されている各種処理プログラムを読み出してワークエリアに展開し、後述する検索/回答処理、商品名変更処理を始めとする各種処理を実行する。   The CPU 20 reads a system program stored in the storage unit 24, develops it in a work area formed in the RAM 23, and controls each unit according to the system program. Further, the CPU 20 reads out various processing programs stored in the storage unit 24 and develops them in the work area, and executes various processes including a search / answer process and a product name change process which will be described later.

入力部21は、カーソルキー、数字入力キー、及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、キーボードに対するキー操作やマウス操作により入力された指示信号をCPU20に出力する。   The input unit 21 includes a keyboard having cursor keys, numeric input keys, various function keys, and the like, and a pointing device such as a mouse. The input signal is input to the CPU 20 through key operations on the keyboard and mouse operations. Output.

表示部22は、LCDやCRT(Cathode Ray Tube)や有機ELディスプレイ等により構成され、CPU20から入力される表示信号の指示に従って、各種画面を表示する。   The display unit 22 is configured by an LCD, a CRT (Cathode Ray Tube), an organic EL display, or the like, and displays various screens according to instructions of display signals input from the CPU 20.

RAM23は、CPU20により記憶部24から読み出された各種プログラム、入力若しくは出力データ、及びパラメータ等を一時的に格納するワークエリアを形成する。   The RAM 23 forms a work area that temporarily stores various programs read from the storage unit 24 by the CPU 20, input or output data, parameters, and the like.

記憶部24は、HDD(Hard Disc Drive)や半導体の不揮発性メモリ等により構成される。記憶部24は、CPU20で実行されるシステムプログラムや、検索/回答処理プログラムを始めとする各種プログラム、これらのプログラムの実行に必要なデータを記憶する。各種プログラムは、コンピュータ読み取り可能なプログラムコードの形態で記憶部24に格納される。CPU20は、当該プログラムコードに従った動作を逐次実行する。   The storage unit 24 includes an HDD (Hard Disc Drive), a semiconductor nonvolatile memory, or the like. The storage unit 24 stores system programs executed by the CPU 20, various programs including a search / answer processing program, and data necessary for executing these programs. Various programs are stored in the storage unit 24 in the form of computer-readable program codes. The CPU 20 sequentially executes operations according to the program code.

また、記憶部24は、商品名データベース241、メーカ名データベース242を記憶している。商品名データベース241は、商品毎に、商品コードと複数種類(ここでは6種類)の商品名を含む商品名情報を格納するデータベースである。メーカ名データベース242は、商品毎に、商品コードとメーカ名を含むメーカ名情報を格納するデータベースである。   The storage unit 24 stores a product name database 241 and a manufacturer name database 242. The product name database 241 is a database that stores product name information including a product code and a plurality of types (six types here) of product names for each product. The manufacturer name database 242 is a database that stores manufacturer name information including a product code and a manufacturer name for each product.

図5に、商品名データベース241に格納される商品名情報(レコード)のデータ構成例を示す。図5に示すように、商品名情報は、商品コード、選択商品名、6種類の商品名(全角最大50バイト商品名、全角最大50バイト/半角最大50バイト変換商品名、半角最大25バイト商品名、全角最大28バイト商品名、全角最大28バイト/半角最大28バイト変換商品名、半角最大14バイト商品名)、メーカ名半角、メーカ名全角により構成されている。   FIG. 5 shows a data configuration example of product name information (record) stored in the product name database 241. As shown in FIG. 5, the product name information includes a product code, a selected product name, six types of product names (a full-width 50 byte product name, a full-width maximum 50 bytes / a half-width maximum 50 bytes conversion product name, and a half-width maximum 25-byte product). Name, full-width maximum 28-byte product name, full-width maximum 28 bytes / half-width maximum 28-byte conversion product name, maximum half-width 14-byte product name), manufacturer name half-width, and manufacturer name full-width.

上記の6種類の商品名は、商品コードにより特定される商品をそれぞれの最大バイト数で収まるように表現した商品名である。これらの商品名には、最大バイト数に応じて商品の個々のブランド名称や内容量、サイズ等を詳細に表現したもの(例えば、95CH・ルデンヌ ボルドー(赤)瓶750ml)から、商品を大まかな分類で表現したもの(例えば、果実酒)まで様々である。なお、「全角最大50バイト/半角最大50バイト変換商品名」及び「全角最大28バイト/半角最大28バイト変換商品名」は、それぞれ全角最大50バイト商品名、全角最大28バイト商品名の半角にできる文字を半角に変換して表現した商品名である。
選択商品名は、上記6種類の商品名のうち売上データ処理装置1で使用可能なバイト数(ここでは20バイト)内に収まるものの中から選択された商品名である。具体的には、20バイト内で収まる商品名のうち、最大バイト数がより大きい商品名である。
The above-mentioned six types of product names are product names that express the products specified by the product code so as to fit each maximum number of bytes. These product names are based on the details of each brand name, content, size, etc. of the product according to the maximum number of bytes (for example, 95CH · Rudenne Bordeaux (red) bottle 750ml) There are various things expressed by classification (for example, fruit wine). “Full-width maximum 50 bytes / half-width maximum 50-byte conversion product name” and “Full-width maximum 28 bytes / half-width maximum 28-byte conversion product name” are the full-width maximum 50-byte product name and full-width maximum 28-byte product name. It is a product name that expresses the characters that can be converted into half-width characters.
The selected product name is a product name selected from among the above-mentioned six types of product names that fits within the number of bytes (20 bytes in this case) that can be used by the sales data processing apparatus 1. Specifically, among the product names that can be accommodated within 20 bytes, the product name has a larger maximum number of bytes.

図6に、メーカ名データベース242に格納されるメーカ名情報(レコード)のデータ構成例を示す。メーカ名情報は、商品コード、メーカ名全角、メーカ名半角により構成されている。   FIG. 6 shows a data configuration example of manufacturer name information (record) stored in the manufacturer name database 242. The manufacturer name information includes a product code, a manufacturer name full-width, and a manufacturer name half-width.

通信部25は、モデム、ルータ、ネットワークカード等によって構成される。通信部25は、通信ネットワークNに接続された売上データ処理装置1を始めとする外部装置とのデータ送受信を行う。   The communication unit 25 includes a modem, a router, a network card, and the like. The communication unit 25 performs data transmission / reception with an external device such as the sales data processing device 1 connected to the communication network N.

(商品名管理システム100の動作)
次に、商品名管理システム100の動作について説明する。
まず、売上データ処理装置1の登録モード時の動作について説明する。
図7〜図8に、顧客の商品購買時に売上データ処理装置1のCPU10により実行される登録処理のフローチャート、及び売上データ処理装置1からの問い合わせに応じて情報センタサーバ2のCPU20により実行される検索/回答処理のフローチャートを示す。登録処理は、CPU10と記憶部14に記憶されている登録処理プログラムとの協働により実行される。検索/回答処理は、CPU20と記憶部24に記憶されている検索/回答処理プログラムとの協働により実行される。
即ち、図7のステップS1〜S7,S17〜S25及び図8のステップS26〜S36が売上データ処理装置1のCPU10により実行される登録処理のフローチャートであり、図7のステップS8〜S16が情報センタサーバ2のCPU20により実行される検索/回答処理のフローチャートである。
(Operation of Product Name Management System 100)
Next, the operation of the product name management system 100 will be described.
First, the operation in the registration mode of the sales data processing apparatus 1 will be described.
7 to 8, a flowchart of the registration process executed by the CPU 10 of the sales data processing apparatus 1 when the customer purchases the product, and the CPU 20 of the information center server 2 in response to an inquiry from the sales data processing apparatus 1. The flowchart of a search / answer process is shown. The registration process is executed in cooperation with the CPU 10 and a registration process program stored in the storage unit 14. The search / answer processing is executed in cooperation with the CPU 20 and the search / answer processing program stored in the storage unit 24.
That is, steps S1 to S7, S17 to S25 in FIG. 7 and steps S26 to S36 in FIG. 8 are flowcharts of registration processing executed by the CPU 10 of the sales data processing apparatus 1, and steps S8 to S16 in FIG. 4 is a flowchart of search / answer processing executed by a CPU 20 of the server 2.

まず、スキャナ部18により購買対象の商品(購買商品と呼ぶ)に付されているバーコードが読み取られる(ステップS1)。なお、購買個数が複数の場合は、スキャナ部18による読み取りに続いて入力部11の数値釦が押下される等により購買個数が入力される。次いで、PLUファイル141において、読み取られたバーコードと商品コードが一致する商品登録情報の検索が行われる(ステップS2)。   First, a barcode attached to a product to be purchased (referred to as a purchased product) is read by the scanner unit 18 (step S1). When there are a plurality of purchase quantities, the purchase quantity is input by, for example, pressing a numeric button of the input unit 11 following reading by the scanner unit 18. Next, in the PLU file 141, product registration information in which the read barcode matches the product code is searched (step S2).

検索の結果、読み取られたバーコードと商品コードが一致する商品登録情報がPLUファイル141内に存在した場合(ステップS3;YES)、PLU登録処理が実行される(ステップS4)。PLU登録処理では、検索された商品登録情報の単価に今回の購買個数を乗算することにより今回の購買金額が算出され、表示部12に表示される。また、商品名、今回の購買個数及び今回の購買金額が印字部16によりレシート用紙に印字される。更に、検索された商品登録情報の売上個数に今回の購買個数が加算され、売上金額に今回の購買金額が加算される。   As a result of the search, if product registration information whose read barcode matches the product code exists in the PLU file 141 (step S3; YES), PLU registration processing is executed (step S4). In the PLU registration process, the current purchase price is calculated by multiplying the unit price of the retrieved product registration information by the current purchase quantity and displayed on the display unit 12. Further, the product name, the current purchase quantity, and the current purchase price are printed on the receipt paper by the printing unit 16. Further, the current purchase quantity is added to the sales quantity of the searched product registration information, and the current purchase price is added to the sales price.

PLU登録処理が終了すると、スキャニング中フラグ格納領域130にスキャニング中フラグ「0」が設定され(ステップS5)、処理は図8のステップS26に移行する。   When the PLU registration process is completed, the scanning flag “0” is set in the scanning flag storage area 130 (step S5), and the process proceeds to step S26 in FIG.

一方、ステップS2における検索の結果、読み取られたバーコードと商品コードが一致する商品登録情報がPLUファイル141内に存在しなかった場合(ステップS3;NO)、通信部15により、読み取られたバーコードのデータが通信ネットワークNを介して情報センタサーバ2に送信され、商品名の問い合わせが行われる(ステップS6)。そして、処理は情報センタサーバ2からの応答の受信待ち状態となる(ステップS7)。   On the other hand, as a result of the search in step S2, if the product registration information in which the read barcode matches the product code does not exist in the PLU file 141 (step S3; NO), the communication unit 15 reads the bar The data of the code is transmitted to the information center server 2 via the communication network N, and a product name inquiry is performed (step S6). Then, the process waits for a response from the information center server 2 (step S7).

情報センタサーバ2において、通信部25によりバーコードのデータが受信されると(ステップS8)、商品名データベース241において、受信されたバーコードと商品コードが一致する商品名情報の検索が行われる(ステップS9)。検索の結果、受信されたバーコードと商品コードが一致する商品名情報が商品名データベース241に存在した場合(ステップS10;YES)、その商品名情報が応答データとして設定され(ステップS11)、処理はステップS16に移行する。   When the barcode data is received by the communication unit 25 in the information center server 2 (step S8), the product name database 241 is searched for product name information in which the received barcode matches the product code ( Step S9). As a result of the search, if product name information whose received barcode matches the product code exists in the product name database 241 (step S10; YES), the product name information is set as response data (step S11), and processing Proceeds to step S16.

一方、受信されたバーコードと商品コードが一致する商品名情報が商品名データベース241に存在しなかった場合(ステップS10;NO)、メーカ名データベース242において、商品コードの先頭7桁が受信されたバーコードの先頭7桁と一致するメーカ名情報が検索される(ステップS12)。
検索の結果、商品コードの先頭7桁が受信されたバーコードの先頭7桁と一致するメーカ名情報がメーカ名データベース242に存在した場合(ステップS13;YES)、受信されたバーコードに該当する商品名情報が検索されなかったことを示す「NOT FOUND」と、その検索されたメーカ名情報に含まれるメーカ名とが応答データとして設定され(ステップS14)、処理はステップS16に移行する。
検索の結果、商品コードの先頭7桁が受信されたバーコードの先頭7桁と一致するメーカ名情報がメーカ名データベース242に存在しなかった場合(ステップS13;NO)、受信されたバーコードに該当する商品名情報及びメーカ名情報が検索されなかったことを示す「NOT FOUND」が応答データとして設定され(ステップS15)、処理はステップS16に移行する。
On the other hand, when the product name information that matches the received barcode and the product code does not exist in the product name database 241 (step S10; NO), the first 7 digits of the product code are received in the manufacturer name database 242. Manufacturer name information matching the first seven digits of the barcode is searched (step S12).
If, as a result of the search, manufacturer name information that matches the first seven digits of the received barcode with the first seven digits of the received barcode exists in the manufacturer name database 242 (step S13; YES), it corresponds to the received barcode. “NOT FOUND” indicating that the product name information has not been searched and the manufacturer name included in the searched manufacturer name information are set as response data (step S14), and the process proceeds to step S16.
As a result of the search, if the manufacturer name information that matches the first seven digits of the received barcode with the first seven digits of the product code does not exist in the manufacturer name database 242 (step S13; NO), the received barcode is included in the received barcode. “NOT FOUND” indicating that the corresponding product name information and manufacturer name information has not been searched is set as response data (step S15), and the process proceeds to step S16.

ステップS16においては、設定された応答データが通信部25により通信ネットワークNを介して売上データ処理装置1に送信される(ステップS16)。   In step S16, the set response data is transmitted by the communication unit 25 to the sales data processing apparatus 1 via the communication network N (step S16).

売上データ処理装置1において、通信部15により情報センタサーバ2からの応答が受信されると(ステップS7;YES)、受信された応答データが商品名情報であるか否かが判断される(ステップS17)。例えば、応答データのバイト数により商品名情報であるか否かが判断される。   In the sales data processing apparatus 1, when the communication unit 15 receives a response from the information center server 2 (step S7; YES), it is determined whether or not the received response data is product name information (step S7). S17). For example, it is determined whether or not the product name information is based on the number of bytes of the response data.

応答データが商品名情報であると判断されると(ステップS17;YES)、受信された商品名情報が商品名一時格納領域132に保存される(ステップS18)。また、スキャニング中フラグ格納領域130にスキャニング中フラグ「1」が設定され(ステップS19)、処理はステップS24に移行する。   If it is determined that the response data is product name information (step S17; YES), the received product name information is stored in the product name temporary storage area 132 (step S18). In addition, the scanning flag “1” is set in the scanning flag storage area 130 (step S19), and the process proceeds to step S24.

図9に、商品名一時格納領域132のデータ格納構成例を模式的に示す。図9に示すように、商品名一時格納領域132の先頭のアドレス番号を001として、アドレス番号001〜013には、受信された商品名情報に含まれる商品コードが格納される。アドレス番号014〜015には、選択商品名の桁数が格納される。アドレス番号016〜035には、選択商品名が格納される。アドレス番号051〜100には、全角最大50バイト商品名が格納される。アドレス番号101〜150には、全角最大50バイト/半角最大50バイト変換商品名が格納される。アドレス番号151〜175には、半角最大25バイト商品名が格納される。アドレス番号176〜203には、全角最大28バイト商品名が格納される。アドレス番号204〜231には、全角最大28バイト/半角最大28バイト変換商品名が格納される。アドレス番号232〜245には、半角最大14バイト商品名が格納される。アドレス番号251〜300には、メーカ名半角が格納される。アドレス番号301〜350には、メーカ名全角が格納される。   FIG. 9 schematically shows a data storage configuration example of the product name temporary storage area 132. As shown in FIG. 9, the product code included in the received product name information is stored in address numbers 001 to 013, with the top address number of the product name temporary storage area 132 being 001. Address numbers 014 to 015 store the number of digits of the selected product name. In the address numbers 016 to 035, the names of selected products are stored. In the address numbers 051 to 100, a full-width 50-byte product name is stored. Address numbers 101 to 150 store a conversion product name having a maximum of 50 full-width characters and a maximum of 50 half-width characters. In the address numbers 151 to 175, product names of up to 25 single-byte characters are stored. Stored in address numbers 176 to 203 are full-width 28-byte product names. In the address numbers 204 to 231, a conversion product name having a maximum of 28 full-width / 28 half-width is stored. Stored in the address numbers 232 to 245 are a maximum of 14 bytes of product name. Address numbers 251 to 300 store manufacturer name half-width characters. In the address numbers 301 to 350, full-width manufacturer names are stored.

ステップS17において、応答データが商品名情報ではないと判断されると(ステップS17;NO)、応答データにメーカ名が含まれているか否かが判断される(ステップS20)。応答データにメーカ名が含まれていると判断されると(ステップS20;YES)、応答データに含まれるメーカ名がメーカ名一時格納領域133に保存される(ステップS21)。また、スキャニング中フラグ格納領域130にスキャニング中フラグ「2」が設定され(ステップS22)、処理はステップS24に移行する。   If it is determined in step S17 that the response data is not product name information (step S17; NO), it is determined whether or not the manufacturer name is included in the response data (step S20). If it is determined that the manufacturer name is included in the response data (step S20; YES), the manufacturer name included in the response data is stored in the manufacturer name temporary storage area 133 (step S21). In addition, the scanning flag “2” is set in the scanning flag storage area 130 (step S22), and the process proceeds to step S24.

ステップS17において応答データが商品名情報ではないと判断され、更に、ステップS20において応答データにメーカ名が含まれていないと判断されると(ステップS17;NO、S20;NO)、スキャニング中フラグ格納領域130にスキャニング中フラグ「3」が設定され(ステップS23)、処理はステップS24に移行する。   If it is determined in step S17 that the response data is not product name information, and if it is determined in step S20 that the manufacturer name is not included in the response data (step S17; NO, S20; NO), a scanning flag is stored. The scanning flag “3” is set in the area 130 (step S23), and the process proceeds to step S24.

ステップS24においては、「単価を入力し、部門釦を押してください」というメッセージが表示部12に表示され(ステップS24)、処理は単価の入力及び部門釦の押下待ち状態となる。入力部11の数値釦により単価が入力され、購買商品に対応する部門番号の部門釦が押下されると(ステップS25;YES)、処理はステップS26に移行する。   In step S24, a message “Please input the unit price and press the department button” is displayed on the display unit 12 (step S24), and the process waits for the input of the unit price and the pressing of the department button. When the unit price is input by the numerical button of the input unit 11 and the department button of the department number corresponding to the purchased product is pressed (step S25; YES), the process proceeds to step S26.

図8のステップS26においては、スキャニング中フラグ格納領域130が参照される。スキャニング中フラグ格納領域130にスキャニング中フラグ「0」が設定されている場合(ステップS26;0)、登録処理は終了する。   In step S26 of FIG. 8, the scanning flag storage area 130 is referred to. When the scanning flag “0” is set in the scanning flag storage area 130 (step S26; 0), the registration process ends.

スキャニング中フラグ格納領域130にスキャニング中フラグ「1」が設定されている場合(ステップS26;1)、商品名一時格納領域132の選択商品名が空であるか否かが判断される(ステップS27)。上述のように、選択商品名は商品名一時格納領域132のアドレス番号016〜035に格納されるので、当該領域にデータが格納されているか否かにより選択商品名が空であるか否かが判断される。なお、情報センタサーバ2における商品名情報登録時の不具合や、応答データの生成が失敗した場合等に、選択商品名が空となることがあり得る。   If the scanning flag “1” is set in the scanning flag storage area 130 (step S26; 1), it is determined whether or not the selected product name in the product name temporary storage area 132 is empty (step S27). ). As described above, since the selected product name is stored in the address numbers 016 to 035 in the product name temporary storage area 132, whether or not the selected product name is empty depends on whether data is stored in the area. To be judged. It should be noted that the selected product name may be empty when a failure occurs when registering product name information in the information center server 2 or when response data generation fails.

商品名一時格納領域132の選択商品名が空ではない場合(ステップS27;NO)、商品名一時格納領域132に格納されている商品名情報が商品名受信ファイル142に保存される(ステップS28)。そして、商品名一時格納領域132内の選択商品名が購買商品の商品名として表示部12に表示され(ステップS29)、処理はステップS35に移行する。   If the selected product name in the product name temporary storage area 132 is not empty (step S27; NO), the product name information stored in the product name temporary storage area 132 is stored in the product name reception file 142 (step S28). . Then, the selected product name in the product name temporary storage area 132 is displayed on the display unit 12 as the product name of the purchased product (step S29), and the process proceeds to step S35.

図10に、商品名受信ファイル142のデータ格納例を示す。図10に示すように、商品名受信ファイル142は、複数の商品名情報を格納可能である。商品名受信ファイル142において、各商品名情報は商品名一時格納領域132と同じ構成(態様)で格納される。即ち、商品名受信ファイル142における各商品名情報の先頭のアドレス番号を001として、アドレス番号001〜013には、商品名情報に含まれる商品コードが格納される。アドレス番号014〜015には、選択商品名の桁数が格納される。アドレス番号016〜035には、選択商品名が格納される。アドレス番号051〜100には、全角最大50バイト商品名が格納される。アドレス番号101〜150には、全角最大50バイト/半角最大50バイト変換商品名が格納される。アドレス番号151〜175には、半角最大25バイト商品名が格納される。アドレス番号176〜203には、全角最大28バイト商品名が格納される。アドレス番号204〜231には、全角最大28バイト/半角最大28バイト変換商品名が格納される。アドレス番号232〜245には、半角最大14バイト商品名が格納される。アドレス番号251〜300には、メーカ名半角が格納される。アドレス番号301〜350には、メーカ名全角が格納される。   FIG. 10 shows a data storage example of the product name reception file 142. As shown in FIG. 10, the product name reception file 142 can store a plurality of product name information. In the product name reception file 142, each product name information is stored in the same configuration (mode) as the product name temporary storage area 132. That is, the top address number of each product name information in the product name reception file 142 is set to 001, and the product codes included in the product name information are stored in the address numbers 001 to 013. Address numbers 014 to 015 store the number of digits of the selected product name. In the address numbers 016 to 035, the names of selected products are stored. In the address numbers 051 to 100, a full-width 50-byte product name is stored. Address numbers 101 to 150 store a conversion product name having a maximum of 50 full-width characters and a maximum of 50 half-width characters. In the address numbers 151 to 175, product names of up to 25 single-byte characters are stored. Stored in address numbers 176 to 203 are full-width 28-byte product names. In the address numbers 204 to 231, a conversion product name having a maximum of 28 full-width / 28 half-width is stored. Stored in the address numbers 232 to 245 are a maximum of 14 bytes of product name. Address numbers 251 to 300 store manufacturer name half-width characters. In the address numbers 301 to 350, full-width manufacturer names are stored.

ステップS26において、スキャニング中フラグ格納領域130にスキャニング中フラグ「2」が設定されている場合(ステップS26;2)、又はステップS27において商品名一時格納領域132の選択商品名が空である場合(ステップS27;YES)、メーカ名一時格納領域133が参照される。メーカ名一時格納領域133にメーカ名が格納されている場合(ステップS30;YES)、ステップS25で押下された部門釦の部門番号に対応する部門名が部門ファイルから取得される(ステップS31)。そして、「部門名+メーカ名」が購買商品の商品名として表示部12に表示され(ステップS32)、処理はステップS35に移行する。   If the scanning flag “2” is set in the scanning flag storage area 130 in step S26 (step S26; 2), or if the selected product name in the product name temporary storage area 132 is empty in step S27 ( Step S27; YES), the manufacturer name temporary storage area 133 is referred to. When the manufacturer name is stored in the manufacturer name temporary storage area 133 (step S30; YES), the department name corresponding to the department number of the department button pressed in step S25 is acquired from the department file (step S31). Then, “department name + maker name” is displayed on the display unit 12 as the product name of the purchased product (step S32), and the process proceeds to step S35.

ステップS26において、スキャニング中フラグ格納領域130にスキャニング中フラグ「3」が設定されている場合(ステップS26;3)、又はステップS30においてメーカ名一時格納領域133にメーカ名が格納されていない場合(ステップS30;NO)、ステップS25で押下された部門釦の部門番号に対応する部門名が部門ファイルから取得され(ステップS33)、部門名が購買商品の商品名として表示部12に表示される(ステップS34)。そして、処理はステップS35に移行する。   If the scanning flag “3” is set in the scanning flag storage area 130 in step S26 (step S26; 3), or if the manufacturer name is not stored in the manufacturer name temporary storage area 133 in step S30 ( (Step S30; NO), the department name corresponding to the department number of the department button pressed in Step S25 is acquired from the department file (Step S33), and the department name is displayed on the display unit 12 as the product name of the purchased product ( Step S34). Then, the process proceeds to step S35.

ステップS35においては、PLU新規登録処理が実行される(ステップS35)。ステップS35のPLU新規登録処理では、ステップS25で入力された単価に今回の購買個数を乗算することにより今回の購買金額が算出され、表示部12に表示される。また、表示部12に表示された商品名、入力された単価、今回の購買個数及び今回の購買金額が印字部16により、レシート用紙に印字される。そして、PLUファイル141に購買商品の商品登録情報が新規登録される。具体的には、ステップS1で読み取られたバーコードが商品コードに、表示部12に表示されている商品名(選択商品名、部門名+メーカ名、又は部門名)が商品名に、ステップS25で押下された部門釦に対応する部門番号が部門リンクに、ステップS25で入力された単価が単価に、今回の購買個数が売上個数に、今回の購買金額が売上金額に、それぞれ登録される。   In step S35, PLU new registration processing is executed (step S35). In the new PLU registration process in step S35, the current purchase amount is calculated by multiplying the unit price input in step S25 by the current purchase quantity and displayed on the display unit 12. Further, the product name displayed on the display unit 12, the input unit price, the current purchase quantity, and the current purchase price are printed on the receipt paper by the printing unit 16. Then, the merchandise registration information of the purchased merchandise is newly registered in the PLU file 141. Specifically, the barcode read in step S1 is the product code, the product name (selected product name, department name + maker name, or department name) displayed on the display unit 12 is the product name, and step S25. The department number corresponding to the department button pressed in is registered in the department link, the unit price entered in step S25 is registered in the unit price, the current purchase quantity is registered in the sales quantity, and the current purchase price is registered in the sales price.

PLU新規登録処理が終了すると、スキャニング中フラグ格納領域130、商品名一時格納領域132、メーカ名一時格納領域133がクリアされ(ステップS36)、登録処理は終了する。   When the PLU new registration process is completed, the scanning flag storage area 130, the product name temporary storage area 132, and the manufacturer name temporary storage area 133 are cleared (step S36), and the registration process ends.

上記登録処理により、PLUファイル141に商品登録情報が存在しない商品については情報センタサーバ2から商品名が取得され、バーコードから読み取られた商品コードや商品名を含む商品登録情報が登録されるので、次回以降の登録処理において同じ商品のバーコードが読み取られた場合には、PLUファイル141の商品登録情報を使用して商品登録を行うことが可能となる。   As a result of the registration process, the product name is acquired from the information center server 2 for the product for which product registration information does not exist in the PLU file 141, and the product registration information including the product code and product name read from the barcode is registered. When the barcode of the same product is read in the registration process after the next time, the product registration can be performed using the product registration information in the PLU file 141.

次に、売上データ処理装置1の精算モード時の動作について説明する。
図11に、モードキーが操作され、精算モードへの移行が指示された際に売上データ処理装置1のCPU10により実行される精算モード処理のフローを示す。この精算モード処理は、CPU10と記憶部14に記憶されている精算モード処理プログラムとの協働により実行される。
Next, the operation in the settlement mode of the sales data processing apparatus 1 will be described.
FIG. 11 shows a flow of the settlement mode process executed by the CPU 10 of the sales data processing apparatus 1 when the mode key is operated and the shift to the settlement mode is instructed. This settlement mode process is executed in cooperation with the CPU 10 and the settlement mode processing program stored in the storage unit 14.

まず、精算処理が実行される(ステップS41)。精算処理においては、例えば、PLUファイル141や部門ファイル等各種ファイルの合計器(例えば、PLUファイル141の売上個数や売上金額等)のデータを読み出して印字部16によりジャーナル用紙に印字する処理、これらの合計器のデータをクリアする処理等が含まれる。   First, a settlement process is executed (step S41). In the checkout process, for example, a process of reading out data of a total of various files such as a PLU file 141 and a department file (for example, the number of sales and the amount of sales of the PLU file 141) and printing them on journal paper by the printing unit 16; The process of clearing the data of the total is included.

次いで、商品名受信ファイル142にデータが格納されているか否かが判断される(ステップS42)。商品名受信ファイル142にデータが格納されていると判断された場合(ステップS42;YES)、商品名受信ファイル142に基づいて商品名受信レポートRを印字するための印字データが生成され、この生成された印字データに基づき印字部16によりレシート用紙に商品名受信レポートRが印字され(ステップS43)、精算処理は終了する。   Next, it is determined whether or not data is stored in the product name reception file 142 (step S42). When it is determined that data is stored in the product name reception file 142 (step S42; YES), print data for printing the product name reception report R is generated based on the product name reception file 142, and this generation is performed. The product name reception report R is printed on the receipt paper by the printing unit 16 based on the printed data (step S43), and the settlement process ends.

図12に、ステップS43において印字部16により印字される商品名受信レポートRの一例を示す。図12は、図10に示す商品名受信ファイル142の商品名情報に基づいて印字された商品名受信レポートRを示している。商品名受信レポートRは、PLUファイル141に登録されていなかった各商品について、情報センタサーバ2から受信した商品名情報に含まれる6種類の商品名の文字列と、この6種類の商品名の文字列に含まれる各文字の商品名受信ファイル142における格納位置を示すアドレス番号が印字されたレポートである。   FIG. 12 shows an example of the product name reception report R printed by the printing unit 16 in step S43. FIG. 12 shows a product name reception report R printed based on the product name information in the product name reception file 142 shown in FIG. The product name reception report R includes, for each product not registered in the PLU file 141, a character string of six types of product names included in the product name information received from the information center server 2 and the six types of product names. This is a report in which an address number indicating the storage position of each character included in the character string in the product name reception file 142 is printed.

上述のように、図7〜図8で説明した登録処理によって情報センタサーバ2から商品名情報が受信された場合、PLUファイル141の商品名には、受信した6種類の商品名のうち情報センタサーバ2により予め選択された選択商品名が格納されている。しかし、場合によっては選択商品名では商品が特定しづらく、他の種類の商品名や受信された商品名の一部分の組み合わせ等に変更したい場合もある。ところが、売上データ処理装置1にはキーボードが備えられていないため、文字の入力は煩雑である。
そこで、商品名受信レポートRによって、情報センタサーバ2から受信された6種類の商品名の文字列と、この6種類の文字列を構成する各文字の格納位置を示すアドレス番号とを印字してユーザに提供し、ユーザが数値釦の押下によって商品名を示す文字列を容易に入力できるようにする。
As described above, when the product name information is received from the information center server 2 by the registration process described with reference to FIGS. 7 to 8, the product name in the PLU file 141 includes the information center among the received six types of product names. The selected product name selected in advance by the server 2 is stored. However, in some cases, it is difficult to specify the product with the selected product name, and there are cases where it is desired to change the product name to a combination of other types of product names or received product names. However, since the sales data processing apparatus 1 is not equipped with a keyboard, inputting characters is complicated.
Therefore, the product name reception report R prints the six types of product name character strings received from the information center server 2 and the address number indicating the storage position of each character constituting the six types of character strings. Provided to the user so that the user can easily input a character string indicating the product name by pressing the numeric button.

図12に示すように、商品名受信レポートRには、商品コードR1と、バーコード画像R2と、見出し文字R3と、選択商品名R4と、商品名文字列R5と、アドレス番号R6と、が印字される。
商品コードR1は、商品名受信ファイル142における各商品名情報の先頭を001とした場合のアドレス番号001〜013に格納されているコードである。バーコード画像R2は、商品コードを示すバーコード画像(一次元バーコード等)である。見出し文字R3は、「セットされている商品名」という文字列である。ここで、セットされている商品名とは、PLUファイル141に格納されている商品名をさす。選択商品名R4は、アドレス番号016〜035に格納されている選択商品名である。商品名文字列R5は、情報センタサーバ2から受信した6種類の全商品名の文字列を並べたものである。アドレス番号R6は、R5の6種類の文字列を構成する各文字の商品名受信ファイル142における格納位置を示す情報である。3行1列で1つのアドレス番号を示している。なお、アドレス番号R6は、商品名受信ファイル142における全角最大50バイト商品名の先頭の格納位置を001として表した番号である。
As shown in FIG. 12, the product name reception report R includes a product code R1, a barcode image R2, a heading character R3, a selected product name R4, a product name character string R5, and an address number R6. Printed.
The product code R1 is a code stored in address numbers 001 to 013 when the top of each product name information in the product name reception file 142 is 001. The barcode image R2 is a barcode image (such as a one-dimensional barcode) indicating a product code. The heading character R3 is a character string “set product name”. Here, the set product name refers to the product name stored in the PLU file 141. The selected product name R4 is the selected product name stored in the address numbers 016 to 035. The product name character string R5 is a string in which character strings of all six product names received from the information center server 2 are arranged. The address number R6 is information indicating the storage position in the product name reception file 142 of each character constituting the six types of character strings R5. One address number is shown in three rows and one column. The address number R6 is a number representing the storage location of the top of the product name with a maximum of 50 bytes of full-width in the product name reception file 142 as 001.

次に、売上データ処理装置1の設定モード時の動作について説明する。
ここで、売上データ処理装置1における設定モード時の動作の前提となる、ユーザの操作について説明する。
Next, the operation in the setting mode of the sales data processing apparatus 1 will be described.
Here, a user operation, which is a premise of the operation in the setting mode in the sales data processing apparatus 1, will be described.

設定モードにおいて、ユーザは、まずスキャナ部18により商品名受信レポートRのバーコードを読み取る。
次いで、ユーザは商品名受信レポートRを参照し、商品名として設定したい文字列(又は文字)の先頭文字のアドレス番号を開始番号、末尾文字のアドレス番号を終端番号として「開始番号+終端番号」を数値釦により入力し、商品名入力釦を押下する。なお、20バイトを超えるまでは、繰り返し開始番号及び終端番号を入力し商品名入力釦を押下することで、6種類の商品名の一部分の文字列やその組み合わせからなる商品名を入力することが可能である。例えば、図12に示す商品名受信レポートRにおける「ルデンヌ ボルドー赤」を商品名として入力したい場合、開始番号011+終端番号028の入力及び商品名入力釦の押下、開始番号031+終端番号032の入力及び商品名入力釦の押下を行う。
商品名入力後、ユーザは、商品名確定釦を押下操作して、入力した文字列を確定させる。
In the setting mode, the user first reads the barcode of the product name reception report R by the scanner unit 18.
Next, the user refers to the product name reception report R, and starts the address number of the first character of the character string (or character) to be set as the product name with the start number and the last character address number as the end number. Is input using the numerical buttons, and the product name input button is pressed. Until it exceeds 20 bytes, it is possible to input product names consisting of partial character strings of 6 types of product names or combinations thereof by inputting the repeat start number and end number and pressing the product name input button. Is possible. For example, to input “Ludenne Bordeaux red” in the product name reception report R shown in FIG. 12 as a product name, input of start number 011 + end number 028, pressing of a product name input button, input of start number 031 + end number 032 and The product name input button is pressed.
After inputting the product name, the user presses the product name confirmation button to confirm the input character string.

以下、設定モードにおいて上記のユーザの操作に応じて実行される処理について説明する。
まず、図13を参照して、設定モードにおいてスキャナ部18により商品名受信レポートRのバーコードが読み取られた際にCPU10により実行されるPLU検索処理について説明する。このPLU検索処理は、CPU10と記憶部14に記憶されているPLU検索処理プログラムとの協働により実行される。
Hereinafter, processing executed in response to the above-described user operation in the setting mode will be described.
First, a PLU search process executed by the CPU 10 when the barcode of the product name reception report R is read by the scanner unit 18 in the setting mode will be described with reference to FIG. This PLU search processing is executed in cooperation with the CPU 10 and the PLU search processing program stored in the storage unit 14.

まず、読み取られたバーコードと商品コードが一致する商品登録情報がPLUファイル141において検索される(ステップS51)。検索の結果、読み取られたバーコードと商品コードが一致する商品登録情報がPLUファイル141に存在した場合(ステップS52;YES)、その商品登録情報の商品名が表示部12に表示される(ステップS53)。   First, product registration information in which the read barcode and product code match is searched in the PLU file 141 (step S51). As a result of the search, when product registration information whose barcode and product code read out are present in the PLU file 141 (step S52; YES), the product name of the product registration information is displayed on the display unit 12 (step S52). S53).

次いで、読み取られたバーコードのデータがバーコード退避領域134に退避されるとともに(ステップS54)、ステップS51で検索された商品登録情報の格納位置を示すアドレス情報がPLUアドレス領域135に格納される(ステップS55)。そして、設定モード時スキャニング中フラグ格納領域131に設定モード時スキャニング中フラグ「ON」が設定され(ステップS56)、PLU検索処理は終了する。   Next, the read barcode data is saved in the barcode saving area 134 (step S54), and address information indicating the storage location of the product registration information retrieved in step S51 is stored in the PLU address area 135. (Step S55). Then, the setting mode scanning flag “ON” is set in the setting mode scanning flag storage area 131 (step S56), and the PLU search process ends.

一方、ステップS52において、読み取られたバーコードと商品コードが一致する商品登録情報がPLUファイル141に存在しなかった場合(ステップS52;NO)、表示部12に、読み取られたバーコードがPLUファイル141に存在しなかったことを示す「NOT FOUND」というエラーメッセージが表示される(ステップS57)。そして、設定モード時スキャニング中フラグ格納領域131に設定モード時スキャニング中フラグ「OFF」が設定され(ステップS58)、PLU検索処理は終了する。   On the other hand, in step S52, when there is no product registration information in the PLU file 141 in which the read barcode matches the product code (step S52; NO), the read barcode is displayed on the PLU file. An error message “NOT FOUND” indicating that the message did not exist is displayed (step S57). Then, the setting mode scanning flag “OFF” is set in the setting mode scanning flag storage area 131 (step S58), and the PLU search process ends.

次に、図14〜図15を参照して、入力部11の数値釦の操作により「開始番号+終端番号」の数値が入力され、商品名入力釦が押下された際にCPU10により実行される入力文字取得処理について説明する。この入力文字取得処理は、CPU10と記憶部14に記憶されている入力文字取得処理プログラムとの協働により実行される。   Next, referring to FIGS. 14 to 15, the numerical value “start number + end number” is input by operating the numerical buttons of the input unit 11, and is executed by the CPU 10 when the product name input button is pressed. The input character acquisition process will be described. This input character acquisition process is executed in cooperation with the CPU 10 and the input character acquisition process program stored in the storage unit 14.

まず、設定モード時スキャニング中フラグ格納領域131が参照され、設定モード時スキャニング中フラグ「ON」が設定されているか否かが判断される(ステップS61)。設定モード時スキャニング中フラグが「ON」に設定されていると判断された場合(ステップS61;YES)、処理はステップS62に移行する。設定モード時スキャニング中フラグが「ON」に設定されていないと判断された場合(ステップS61;NO)、「スキャニングエラー:バーコードをスキャンしてください」等のエラーメッセージが表示部12に表示され(ステップS72)、入力文字取得処理は終了する。   First, the setting mode scanning flag storage area 131 is referred to, and it is determined whether or not the setting mode scanning flag “ON” is set (step S61). If it is determined that the setting mode scanning flag is set to “ON” (step S61; YES), the process proceeds to step S62. When it is determined that the scanning flag in the setting mode is not set to “ON” (step S61; NO), an error message such as “scanning error: scan the barcode” is displayed on the display unit 12. (Step S72), the input character acquisition process ends.

ステップS62においては、商品入力釦押下前に入力された数値が6桁か否かが判断され、6桁であると判断されると(ステップS62;YES)、処理はステップS63に移行する。入力された数値が6桁ではないと判断されると(ステップS62;NO)、「入力桁エラー」等のエラーメッセージが表示部12に表示され(ステップS73)、入力文字取得処理は終了する。   In step S62, it is determined whether or not the numerical value input before pressing the product input button is 6 digits. If it is determined that it is 6 digits (step S62; YES), the process proceeds to step S63. If it is determined that the input numerical value is not 6 digits (step S62; NO), an error message such as “input digit error” is displayed on the display unit 12 (step S73), and the input character acquisition process is terminated.

ステップS63においては、バーコード退避領域134からバーコードが取得され(ステップS63)、取得されたバーコードと商品コードが一致する商品名情報が商品名受信ファイル142において検索される(ステップS64)。検索の結果、取得されたバーコードと商品コードが一致する商品名情報が商品名受信ファイル142に存在した場合(ステップS65;YES)、処理はステップS66に移行する。検索の結果、取得されたバーコードと商品コードが一致する商品名情報が商品名受信ファイル142に存在しなかった場合(ステップS65;NO)、「バーコードが一致するデータが商品名受信ファイルにありません」等のエラーメッセージが表示部12に表示されるとともに(ステップS74)、設定モード時スキャニング中フラグ格納領域131のデータがクリアされ(ステップS75)、入力文字取得処理は終了する。   In step S63, a barcode is acquired from the barcode saving area 134 (step S63), and product name information in which the acquired barcode matches the product code is searched in the product name reception file 142 (step S64). As a result of the search, if product name information whose acquired barcode matches the product code exists in the product name reception file 142 (step S65; YES), the process proceeds to step S66. As a result of the search, if the product name information in which the acquired barcode matches the product code does not exist in the product name reception file 142 (step S65; NO), “data with the same barcode is stored in the product name reception file. An error message such as “No” is displayed on the display unit 12 (step S74), the data in the scanning flag storage area 131 in the setting mode is cleared (step S75), and the input character acquisition process ends.

ステップS66においては、入力された6桁の数値のうち最初の3桁が開始番号、後ろの3桁が終端番号として認識され(ステップS66)、開始番号と終端番号のそれぞれにオフセット値50が加算される(ステップS67)。ここで、図10に示すように、商品名受信ファイル142の各商品名情報における商品名の先頭の格納位置は051であるが、ユーザが参照している商品名受信レポートRにおいては商品名の先頭の格納位置を001で表わしているので、両者の整合をとるために開始番号と終端番号のそれぞれにオフセット値50が加算される。
そして、商品名受信ファイル142において、オフセット値50加算後の開始番号が示す格納位置から終端番号が示す格納位置までの領域に格納されている文字列が取得される(ステップS68)。
In step S66, the first three digits of the input six-digit numerical value are recognized as the start number and the last three digits are recognized as the termination number (step S66), and an offset value 50 is added to each of the start number and the termination number. (Step S67). Here, as shown in FIG. 10, the storage position of the top of the product name in each product name information of the product name reception file 142 is 051. However, in the product name reception report R referenced by the user, the product name Since the head storage position is represented by 001, an offset value 50 is added to each of the start number and the end number in order to match the two.
Then, the character string stored in the area from the storage position indicated by the start number after adding the offset value 50 to the storage position indicated by the end number is acquired in the product name reception file 142 (step S68).

例えば、図12に示す商品名受信レポートRのバーコードが読み取られた場合において、商品名入力釦の押下前に「011028」の6桁の数値が入力されていた場合、ステップS66において、開始番号が011、終端番号が028と認識される。次いでステップS67において、開始番号と終端番号のそれぞれに50が加算され、開始番号061、終端番号078が取得される。そして、ステップS68において、商品名受信ファイル142におけるアドレス番号061〜078に格納されている文字列「ルデンヌ ボルドー」が取得される。   For example, when the barcode of the product name reception report R shown in FIG. 12 is read, if a 6-digit numerical value “011028” is input before the product name input button is pressed, the start number is entered in step S66. Is recognized as 011 and the termination number as 028. Next, in step S67, 50 is added to each of the start number and the end number, and the start number 061 and the end number 078 are obtained. In step S <b> 68, the character string “Ludenne Bordeaux” stored in the address numbers 061 to 078 in the product name reception file 142 is acquired.

文字列が取得されると、既にキャラクタ設定用領域136にセットされている文字列の長さとステップS68において取得された文字列の長さが合計され、基準バイト数(ここでは、20バイト)を超えたか否かが判断される(図15のステップS69)。ここで、基準バイト数の20バイトは、売上データ処理装置1において商品名として使用可能な最大のバイト数である。   When the character string is acquired, the length of the character string already set in the character setting area 136 and the length of the character string acquired in step S68 are summed, and the reference number of bytes (here, 20 bytes) is obtained. It is determined whether or not it has been exceeded (step S69 in FIG. 15). Here, the reference number of bytes of 20 bytes is the maximum number of bytes that can be used as a product name in the sales data processing apparatus 1.

図14のステップS68において取得された文字列の長さが基準バイト数を超えたと判断されると(ステップS69;YES)、合計長がオーバーしていることを示す「合計長オーバーエラー」というエラーメッセージが表示部12に表示され(ステップS76)、入力文字取得処理は終了する。ここで、キャラクタ設定用領域136に既にセットされている文字列がある場合はそのまま保持される。   If it is determined that the length of the character string acquired in step S68 in FIG. 14 exceeds the reference number of bytes (step S69; YES), an error “total length over error” indicating that the total length is exceeded. A message is displayed on the display unit 12 (step S76), and the input character acquisition process ends. Here, if there is a character string already set in the character setting area 136, it is held as it is.

一方、ステップS68において取得された文字列の長さが基準バイト数を超えていないと判断されると(ステップS69;NO)、キャラクタ設定用領域136の既にセットされている文字列の後ろに今回入力された文字列がセットされる(ステップS70)。そして、キャラクタ設定用領域136にセットされた文字列が表示部12に表示され(ステップS71)、入力文字取得処理は終了する。   On the other hand, if it is determined that the length of the character string acquired in step S68 does not exceed the reference number of bytes (step S69; NO), the current character string is set behind the character string already set in the character setting area 136. The input character string is set (step S70). Then, the character string set in the character setting area 136 is displayed on the display unit 12 (step S71), and the input character acquisition process ends.

商品名確定釦が押下されるまで、ユーザの数値釦による開始位置+終端位置の入力及び商品名入力釦の押下操作に応じて上記入力文字取得処理は繰り返し実行される。   Until the product name confirmation button is pressed, the input character acquisition process is repeatedly executed according to the input of the start position + end position by the user's numerical buttons and the operation of pressing the product name input button.

次に、図16を参照して、設定モードにおいて入力部11の商品名確定釦が押下されたCPU10により実行される商品名書き換え処理について説明する。この商品名書き換え処理は、CPU10と記憶部14に記憶されている商品名書き換え処理プログラムとの協働により実行される。   Next, with reference to FIG. 16, the product name rewriting process executed by the CPU 10 in which the product name confirmation button of the input unit 11 is pressed in the setting mode will be described. This product name rewriting process is executed in cooperation with the CPU 10 and the product name rewriting process program stored in the storage unit 14.

まず、設定モード時スキャニング中フラグ格納領域131が参照され、設定モード時スキャニング中フラグ「ON」が設定されているか否かが判断される(ステップS81)。設定モード時スキャニング中フラグがONに設定されている場合(ステップS81;YES)、バーコード退避領域134に退避されたバーコードが取得され(ステップS82)、取得されたバーコードと商品コードが一致する商品登録情報がPLUファイル141から検索される(ステップS83)。   First, the setting mode scanning flag storage area 131 is referred to, and it is determined whether or not the setting mode scanning flag “ON” is set (step S81). When the setting mode scanning flag is set to ON (step S81; YES), the barcode saved in the barcode saving area 134 is acquired (step S82), and the acquired barcode matches the product code. The product registration information to be searched is retrieved from the PLU file 141 (step S83).

次いで、ステップS83で検索された商品登録情報の商品名がキャラクタ設定用領域136に格納されている文字列により書き換えられる(ステップS84)。また、商品名受信ファイル142内の、ステップS82で取得されたバーコードと商品コードが一致する商品名情報の選択商品名がキャラクタ設定用領域136に格納されている文字列により書き換えられる(ステップS85)。そして、設定モード時スキャニング中フラグ格納領域131のデータがクリアされ(ステップS86)、商品名書き換え処理は終了する。   Next, the product name of the product registration information searched in step S83 is rewritten with the character string stored in the character setting area 136 (step S84). In addition, the selected product name of the product name information whose product code matches the barcode acquired in step S82 in the product name reception file 142 is rewritten with the character string stored in the character setting area 136 (step S85). ). Then, the data in the setting mode scanning flag storage area 131 is cleared (step S86), and the product name rewriting process ends.

一方、設定モード時スキャニング中フラグが「OFF」に設定されている場合(ステップS81;NO)、エラーメッセージが表示部12に表示され(ステップS87)、商品名書き換え処理は終了する。   On the other hand, when the setting mode scanning flag is set to “OFF” (step S81; NO), an error message is displayed on the display unit 12 (step S87), and the product name rewriting process ends.

図17に、上述した設定モード時の一連の処理(PLU検索処理、入力文字取得処理、商品名書き換え処理)の前後のPLUファイル141を示す。図17に示すように、上述した設定モード時の一連の処理により、商品コード=4588776655441の商品名が、大まかな商品分類を示す「果実酒」から商品を特定可能な「ルデンヌ ボルドー赤」に変更することができる。   FIG. 17 shows the PLU file 141 before and after the series of processing (PLU search processing, input character acquisition processing, product name rewriting processing) in the setting mode described above. As shown in FIG. 17, the product name of product code = 4588777665441 is changed from “fruit wine” indicating a rough product classification to “Rudenne Bordeaux red” by which a product can be specified as a result of the series of processing in the setting mode described above. can do.

次に、上記のPLU検索処理、入力文字取得処理、商品名書き換え処理の一連の処理により書き換えられた商品名を、情報センタサーバ2の商品名データベース241の選択商品名に反映させるための処理について説明する。   Next, a process for reflecting the product name rewritten by the series of processes of the PLU search process, the input character acquisition process, and the product name rewriting process in the selected product name of the product name database 241 of the information center server 2. explain.

図18に、入力部11の送信釦が押下された際に売上データ処理装置1のCPU10により実行される商品名送信処理、及び売上データ処理装置1からのデータ受信に応じて情報センタサーバ2のCPU20により実行される商品名変更処理のフローを示す。商品名送信処理は、CPU10と記憶部14に記憶されている商品名送信処理プログラムとの協働により実行される。商品名変更処理は、CPU20と記憶部24に記憶されている商品名変更プログラムとの協働により実行される。   In FIG. 18, the product name transmission process executed by the CPU 10 of the sales data processing apparatus 1 when the transmission button of the input unit 11 is pressed, and the information center server 2 receives the data from the sales data processing apparatus 1. The flow of the merchandise name change process performed by CPU20 is shown. The product name transmission process is executed in cooperation with the CPU 10 and the product name transmission process program stored in the storage unit 14. The product name change process is executed in cooperation with the CPU 20 and the product name change program stored in the storage unit 24.

売上データ処理装置1において、入力部11の送信釦が押下されると、商品名受信ファイル142のデータ(即ち、商品名情報)が通信部15により情報センタサーバ2に通信ネットワークNを介して送信される(ステップS91)。   In the sales data processing apparatus 1, when the transmission button of the input unit 11 is pressed, the data of the product name reception file 142 (that is, product name information) is transmitted to the information center server 2 via the communication network N by the communication unit 15. (Step S91).

情報センタサーバ2においては、通信部25により売上データ処理装置1から通信ネットワークNを介して送信された商品名受信ファイルのデータが受信されると(ステップS92)、カウンタnに1が設定される(ステップS93)。   In the information center server 2, when the data of the product name reception file transmitted from the sales data processing apparatus 1 via the communication network N is received by the communication unit 25 (step S92), 1 is set to the counter n. (Step S93).

次いで、受信されたデータにおけるn番目の商品名情報の選択商品名が空であるか否かが判断される。受信されたデータにおけるn番目の商品名情報の選択商品名が空ではないと判断されると(ステップS94;NO)、n番目の商品名情報の商品コードと商品コードが一致する商品名情報が商品名データベース241において検索される(ステップS95)。そして、検索された商品名情報の選択商品名が受信されたn番目の商品名情報の選択商品名により上書きされ(ステップS96)、処理はステップS97に移行する。一方、受信されたデータにおけるn番目の商品名情報の選択商品名が空であると判断されると(ステップS94;YES)、処理はステップS97に移行する。   Next, it is determined whether or not the selected product name of the nth product name information in the received data is empty. When it is determined that the selected product name of the nth product name information in the received data is not empty (step S94; NO), product name information whose product code matches the product code of the nth product name information is obtained. The product name database 241 is searched (step S95). Then, the selected product name of the searched product name information is overwritten with the selected product name of the received nth product name information (step S96), and the process proceeds to step S97. On the other hand, if it is determined that the selected product name of the nth product name information in the received data is empty (step S94; YES), the process proceeds to step S97.

ステップS97においては、カウンタn≧受信した商品名情報数であるか否かが判断され、カウンタn≧受信した商品名情報数ではないと判断された場合(ステップS97;NO)、nが1インクリメントされ(ステップS98)、処理はステップS94に戻る。カウンタn≧受信した商品名情報数と判断された場合(ステップS97;YES)、商品名変更処理は終了する。   In step S97, it is determined whether or not counter n ≧ the number of received product name information. If it is determined that counter n ≧ the number of received product name information is not satisfied (step S97; NO), n is incremented by one. Then, the process returns to step S94. If it is determined that the counter n ≧ the number of received product name information (step S97; YES), the product name change process ends.

以上説明したように、売上データ処理装置1のCPU10は、情報センタサーバ2から送信された当該商品の複数種類の商品名を含む商品名情報を通信部15により受信すると、受信した商品名情報を商品名受信ファイル142に格納する。また、CPU10は、受信された商品名情報に含まれる商品コードを示すバーコード及び文字列と、当該文字列に含まれる各文字の商品名受信ファイル142における格納位置を示すアドレス番号とが印字された商品名受信レポートRを作成する。スキャナ部18により商品名受信レポートRのバーコードが読み取られ、入力部11によりアドレス番号が入力されると、CPU10は、入力されたアドレス番号に対応する位置に格納されている文字列を商品名受信ファイル142から取得し、当該取得された文字列によりPLUファイル141における読み取られたバーコードと商品コードが一致する商品の商品名を書き換える。   As described above, when the communication unit 15 receives the product name information including a plurality of types of product names transmitted from the information center server 2, the CPU 10 of the sales data processing apparatus 1 receives the received product name information. Stored in the product name reception file 142. In addition, the CPU 10 prints a barcode and a character string indicating a product code included in the received product name information, and an address number indicating a storage position of each character included in the character string in the product name reception file 142. A product name reception report R is created. When the barcode of the product name reception report R is read by the scanner unit 18 and the address number is input by the input unit 11, the CPU 10 converts the character string stored at the position corresponding to the input address number to the product name. The product name obtained from the received file 142 and the product name of the product whose product code matches the barcode read in the PLU file 141 with the acquired character string is rewritten.

従って、文字を入力するためのキーボードが備えられていない売上データ処理装置であっても、商品名受信レポートRを参照しながら入力したい商品名の文字列に対応するアドレス番号を入力するだけで、PLUファイル141等に登録されている商品名を容易に変更することが可能となる。   Therefore, even if the sales data processing apparatus does not have a keyboard for inputting characters, it is only necessary to input the address number corresponding to the character string of the product name to be input while referring to the product name reception report R. The product name registered in the PLU file 141 or the like can be easily changed.

また、入力したい商品名の文字列における先頭文字のアドレス番号と末尾文字のアドレス番号が入力部11により入力されると、CPU10は、入力されたアドレス番号間のアドレスに格納されている文字列によりPLUファイル141に登録されている商品名を変更するので、ユーザは、文字毎にアドレス番号を入力する必要がなく、商品名の変更を簡単な操作行うことが可能となる。   When the address number of the first character and the address number of the last character in the character string of the product name to be input are input by the input unit 11, the CPU 10 uses the character string stored in the address between the input address numbers. Since the product name registered in the PLU file 141 is changed, the user does not need to input an address number for each character, and the product name can be changed easily.

また、CPU10は、変更後の商品名を通信部15を介して情報センタサーバ2に送信するので、売上データ処理装置1で変更された商品名を情報センタサーバ2側の商品名データベース241の選択商品名に反映させることが可能となる。   Further, since the CPU 10 transmits the changed product name to the information center server 2 via the communication unit 15, the product name changed by the sales data processing device 1 is selected from the product name database 241 on the information center server 2 side. It can be reflected in the product name.

また、商品名受信レポートRには、受信された商品名情報に含まれる商品コードが印字されているので、商品名受信レポートRに対応する商品を容易に特定して商品名の変更を行うことが可能となる。   In addition, since the product code included in the received product name information is printed on the product name reception report R, the product corresponding to the product name reception report R can be easily identified and the product name can be changed. Is possible.

なお、上記実施形態における記述内容は、本発明に係る商品名管理システム100の好適な一例であり、これに限定されるものではない。
例えば、上記実施形態においては、商品名受信レポートRのバーコードをスキャナ部18で読み取ることによってPLU検索処理を開始することとして説明したが、商品名受信レポートRに記載されているバーコードを入力部11により入力することによって処理を開始することとしてもよい。
In addition, the description content in the said embodiment is a suitable example of the brand name management system 100 which concerns on this invention, and is not limited to this.
For example, in the above-described embodiment, it has been described that the PLU search process is started by reading the barcode of the product name reception report R with the scanner unit 18, but the barcode described in the product name reception report R is input. It is good also as starting a process by inputting by the part 11. FIG.

また、上記実施形態においては、PLUファイル141に未登録のバーコードを情報センタサーバ2に送信して商品名情報を取得し、商品名受信レポートRを印字することとして説明したが、既にPLUファイル141に商品登録情報が存在する場合においても、所定の操作により情報センタサーバ2にバーコードを送信して商品名情報を取得し、商品名受信レポートRを印字することとしてもよい。このようにすれば、既にPLUファイル141に登録されている商品名についても変更を行うことが可能となる。   Further, in the above-described embodiment, it has been described that a barcode unregistered in the PLU file 141 is transmitted to the information center server 2 to acquire product name information, and the product name reception report R is printed. Even when the product registration information exists in 141, the product name information may be acquired by transmitting a barcode to the information center server 2 by a predetermined operation, and the product name reception report R may be printed. In this way, it is possible to change the product name already registered in the PLU file 141.

その他、商品名管理システム100を構成する各装置の細部構成及び細部動作に関しても、発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of each device constituting the product name management system 100 can be changed as appropriate without departing from the spirit of the invention.

1 売上データ処理装置
10 CPU
11 入力部
12 表示部
13 RAM
130 スキャニング中フラグ格納領域
131 設定モード時スキャニング中フラグ格納領域
132 商品名一時格納領域
133 メーカ名一時格納領域
134 バーコード退避領域
135 PLUアドレス領域
136 キャラクタ設定用領域
14 記憶部
141 PLUファイル
142 商品名受信ファイル
15 通信部
16 印字部
17 ドロア
18 スキャナ部
19 バス
2 情報センタサーバ
20 CPU
21 入力部
22 表示部
23 RAM
24 記憶部
241 商品名データベース
242 メーカ名データベース
25 通信部
26 バス
1 Sales Data Processing Device 10 CPU
11 Input unit 12 Display unit 13 RAM
130 Scanning flag storage area 131 Setting mode scanning flag storage area 132 Product name temporary storage area 133 Manufacturer name temporary storage area 134 Barcode save area 135 PLU address area 136 Character setting area 14 Storage unit 141 PLU file 142 Product name Received file 15 Communication unit 16 Printing unit 17 Drawer 18 Scanner unit 19 Bus 2 Information center server 20 CPU
21 Input unit 22 Display unit 23 RAM
24 Storage Unit 241 Product Name Database 242 Manufacturer Name Database 25 Communication Unit 26 Bus

Claims (4)

商品毎に複数の商品名を含む商品名情報が記憶されたサーバ装置に通信ネットワークを介して接続され、複数の識別コードに対応する複数の商品名情報を記憶する商品情報記憶手段備える売上データ処理装置であって、
商品名情報を登録する商品の識別コードを前記サーバ装置に送信し、当該識別コードに対応する商品名情報を前記サーバ装置に問い合わせる送信手段と、
記サーバ装置から送信された複数の商品名情報から、ユーザ操作に応じて任意の商品名情報を選択して前記商品情報記憶手段に登録するための商品名受信レポートを作成する作成手段と、
前記作成手段により作成された前記商品名受信レポートに含まれる商品名情報の位置をユーザが入力手段を用いて任意に選択指定することで、選択指定された商品名情報を前記サーバ装置に送信した前記識別コードに対応づけて前記商品情報記憶手段に記憶させる制御手段と、
を備える売上データ処理装置。
Trade name information including a plurality of product name for each product is connected via a communications network to the server device stored sales data including a product information storage means for storing a plurality of product name information corresponding to a plurality of identification codes A processing device comprising:
Transmitting means for transmitting an identification code of a commodity for registering commodity name information to the server apparatus, and inquiring the server apparatus for commodity name information corresponding to the identification code;
A plurality of product name information transmitted from the previous SL server device, and generation means for generating a product name reception report for registering the product information storage means select any item name information in response to a user operation,
The user arbitrarily selects and designates the position of the product name information included in the product name reception report created by the creating unit using the input unit, and transmits the selected and designated product name information to the server device. Control means for storing the product information storage means in association with the identification code;
A sales data processing apparatus.
前記作成手段は、前記複数の商品名情報を識別するための識別コードを含む前記商品名受信レポートを作成し、前記制御手段は、前記商品名受信レポートに含まれる前記識別コードを読取手段により読み取らせることで、前記サーバ装置から送信された前記複数の商品名情報を特定する請求項1の売上データ処理装置。 The creation unit creates the product name reception report including an identification code for identifying the plurality of product name information, and the control unit reads the identification code included in the product name reception report by a reading unit. The sales data processing device according to claim 1, wherein the plurality of product name information transmitted from the server device is specified . 前記作成手段は、前記複数の商品名情報のうち、前記商品情報記憶手段に記憶された各商品名情報を夫々特定するための特定情報を含む前記商品名受信レポートを作成し、前記制御手段は、前記商品名受信レポートに含まれる前記特定情報に基づいて前記商品名受信レポートに含まれる商品名情報の位置をユーザが入力手段を用いて任意に選択指定することで、選択指定された商品名情報を前記サーバ装置に送信した前記識別コードに対応づけて前記商品情報記憶手段に記憶させる請求項1の売上データ処理装置。 The creation means creates the product name reception report including specific information for identifying each product name information stored in the product information storage means among the plurality of product name information, and the control means The product name selected and specified by the user arbitrarily selecting and specifying the position of the product name information included in the product name reception report based on the specific information included in the product name reception report using the input means. The sales data processing device according to claim 1 , wherein information is stored in the product information storage means in association with the identification code transmitted to the server device. 商品毎に複数の商品名を含む商品名情報が記憶されたサーバ装置に通信ネットワークを介して接続され、複数の識別コードに対応する複数の商品名情報を記憶する商品情報記憶手段備える売上データ処理装置に用いられるコンピュータを、
商品名情報を登録する商品の識別コードを前記サーバ装置に送信し、当該識別コードに対応する商品名情報を前記サーバ装置に問い合わせる送信手段、
記サーバ装置から送信された複数の商品名情報から、ユーザ操作に応じて任意の商品名情報を選択して前記商品情報記憶手段に登録するための商品名受信レポートを作成する作成手段、
前記作成手段により作成された前記商品名受信レポートに含まれる商品名情報の位置をユーザが入力手段を用いて任意に選択指定することで、選択指定された商品名情報を前記サーバ装置に送信した前記識別コードに対応づけて前記商品情報記憶手段に記憶させる制御手段、
として機能させるためのプログラム。
Trade name information including a plurality of product name for each product is connected via a communications network to the server device stored sales data including a product information storage means for storing a plurality of product name information corresponding to a plurality of identification codes The computer used for the processing device
Transmitting means for transmitting an identification code of a commodity for registering commodity name information to the server apparatus, and inquiring the server apparatus for commodity name information corresponding to the identification code;
A plurality of product name information transmitted from the previous SL server device, creating means for creating a product name reception report for registering the product information storage means select any item name information in response to a user operation,
The user arbitrarily selects and designates the position of the product name information included in the product name reception report created by the creating unit using the input unit, and transmits the selected and designated product name information to the server device. Control means for storing the product information storage means in association with the identification code;
Program to function as.
JP2013181715A 2013-09-03 2013-09-03 Sales data processing apparatus and program Active JP5700089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013181715A JP5700089B2 (en) 2013-09-03 2013-09-03 Sales data processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013181715A JP5700089B2 (en) 2013-09-03 2013-09-03 Sales data processing apparatus and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008243585A Division JP5359151B2 (en) 2008-09-24 2008-09-24 Sales data processing apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015020075A Division JP5994876B2 (en) 2015-02-04 2015-02-04 Sales data processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2014013596A JP2014013596A (en) 2014-01-23
JP5700089B2 true JP5700089B2 (en) 2015-04-15

Family

ID=50109201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013181715A Active JP5700089B2 (en) 2013-09-03 2013-09-03 Sales data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5700089B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5994876B2 (en) * 2015-02-04 2016-09-21 カシオ計算機株式会社 Sales data processing apparatus and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05266351A (en) * 1992-03-16 1993-10-15 Tokyo Electric Co Ltd Electronic cash register
JP3235955B2 (en) * 1995-09-27 2001-12-04 シャープ株式会社 Electronic cash register
JPH11250355A (en) * 1998-02-26 1999-09-17 Toshiba Tec Corp Order management device
JP2002298221A (en) * 2001-03-30 2002-10-11 Fujitsu Ltd System for registering commodity information, device for notifying inquiry destination on commodity information, computer program, and recording medium
JP2007316748A (en) * 2006-05-23 2007-12-06 Toshiba Tec Corp Item name management device, and item name management program

Also Published As

Publication number Publication date
JP2014013596A (en) 2014-01-23

Similar Documents

Publication Publication Date Title
JP5071011B2 (en) Electronic shelf label, electronic shelf label system and program
US20170103623A1 (en) Server and point-of-sale terminal configured for higher throughput processing of returned merchandise
US20220156712A1 (en) Transaction data processing apparatus connected to an external device for data communication
US20150356541A1 (en) Electronic receipt management server, merchandise sales data processing apparatus, print control apparatus, and program
US20170039541A1 (en) Point-of-sale terminal that sets a special display flag in electronic receipt data
JP5744295B1 (en) POS terminal, print control apparatus, print control method, and program
JP6223305B2 (en) Information processing apparatus, print control apparatus, server apparatus, and program
JP5359151B2 (en) Sales data processing apparatus and program
JP5700089B2 (en) Sales data processing apparatus and program
JP6397782B2 (en) Information processing apparatus and program
JP5994876B2 (en) Sales data processing apparatus and program
JP2002002924A (en) Physical distribution control method
JP6263463B2 (en) Information processing apparatus and program
JP7167213B2 (en) Transaction data processor and program
JP2002203152A (en) System and method for electronic store management, and recording medium
US20160260076A1 (en) Commodity information processing apparatus and system
JP2007317114A (en) Communication terminal device
JP6395888B2 (en) Sales data processing apparatus and program
JP2019075154A (en) Commodity sales data processing apparatus and program
JP6410864B2 (en) Electronic receipt issuing method, POS terminal and program
JP6633710B2 (en) Electronic receipt issuing method, POS terminal and program
JP6867530B2 (en) Electronic receipt management server, program, and electronic receipt management method
JP2012226774A (en) Electronic display and program
JP6479123B2 (en) Electronic receipt management server and program
JP6118365B2 (en) POS terminal and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150202

R150 Certificate of patent or registration of utility model

Ref document number: 5700089

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150