[go: up one dir, main page]

JP4517930B2 - Sales data processing apparatus and program - Google Patents

Sales data processing apparatus and program Download PDF

Info

Publication number
JP4517930B2
JP4517930B2 JP2005126981A JP2005126981A JP4517930B2 JP 4517930 B2 JP4517930 B2 JP 4517930B2 JP 2005126981 A JP2005126981 A JP 2005126981A JP 2005126981 A JP2005126981 A JP 2005126981A JP 4517930 B2 JP4517930 B2 JP 4517930B2
Authority
JP
Japan
Prior art keywords
file
data
sales data
ecr
command
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
JP2005126981A
Other languages
Japanese (ja)
Other versions
JP2006302213A (en
JP2006302213A5 (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 JP2005126981A priority Critical patent/JP4517930B2/en
Priority to US11/408,227 priority patent/US8447655B2/en
Publication of JP2006302213A publication Critical patent/JP2006302213A/en
Publication of JP2006302213A5 publication Critical patent/JP2006302213A5/ja
Application granted granted Critical
Publication of JP4517930B2 publication Critical patent/JP4517930B2/en
Anticipated expiration legal-status Critical
Active legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、FTP(File Transfer Protocol)プロトコルを用いてサーバ装置とファイルデータの送受信を行う売上データ処理装置及びプログラムに関する。 The present invention relates to a sales data processing apparatus and program for transmitting / receiving file data to / from a server apparatus using an FTP (File Transfer Protocol) protocol.

従来、ECR(電子式キャッシュレジスタ)やPOS端末等のデータ処理装置の売上データをデータセンタ等にあるサーバに収集し、収集した売上データを集計処理する販売管理システムが提案されている。例えば、特許文献1においては、LANを介して複数のPOS端末から売上データを収集して記憶し、収集した売上データを集計処理するFTPサーバに送信する販売管理支援装置が記載されている。
特開2003−67847号公報
Conventionally, a sales management system has been proposed in which sales data of a data processing device such as an ECR (electronic cash register) or a POS terminal is collected in a server in a data center or the like, and the collected sales data is aggregated. For example, Patent Document 1 describes a sales management support apparatus that collects and stores sales data from a plurality of POS terminals via a LAN, and transmits the collected sales data to an FTP server that performs aggregation processing.
Japanese Patent Laid-Open No. 2003-67847

ところで、従来、ECRとサーバとの間のデータ送受信は、専用のツールやプロトコルを用いて行っているが、機能を拡張したりメンテナンスを行ったりする場合にはECRとサーバの双方に変更を入れる必要があり、拡張性やメンテナンスの容易性に問題があった。
一方で、ECRとサーバとの間でのデータ送受信をFTPのような汎用プロトコルを用いて行うと、汎用プロトコルでは互いが有するファイルデータをそのまま送受信するだけであるため、受信側でデータ形式の合わないデータが書き込まれてしまうという問題があった。また、ECRには、図5に示す部門ファイル231のように、設定データと、売上データ等の演算データとが混在したファイルが存在するが、FTP等の汎用プロトコルではファイル単位での送受信のみが可能であるため、例えば、サーバ側がECRから部門ファイルの演算データのみを受信したり、サーバ側からECRに部門ファイルの設定データのみを送信して部門ファイル内の設定データのみを書き換えさせたりといった処理を行わせることができないという問題があった。
Conventionally, data transmission / reception between the ECR and the server is performed using a dedicated tool or protocol. However, when the function is expanded or maintenance is performed, both the ECR and the server are changed. There was a problem in scalability and ease of maintenance.
On the other hand, if data transmission / reception between the ECR and the server is performed using a general-purpose protocol such as FTP, the general-purpose protocol simply transmits / receives the file data of each other as it is, so the data format on the receiving side matches. There was a problem that no data was written. Further, the ECR includes a file in which setting data and operation data such as sales data are mixed like a department file 231 shown in FIG. 5, but general-purpose protocols such as FTP can only transmit and receive in file units. Since it is possible, for example, the server side receives only the calculation data of the department file from the ECR, or the server side transmits only the department file setting data to the ECR and rewrites only the setting data in the department file. There was a problem that could not be made.

本発明の課題は、汎用的なプロトコルを用いてサーバ装置から売上データ処理装置の売上データの読み出しや設定データの書き込みができるようにすることである。 An object of the present invention is to enable reading of sales data and setting data of a sales data processing apparatus from a server apparatus using a general-purpose protocol .

本発明は、サーバ装置との間でファイル転送用プロトコルを用いてファイルの送受信を行う売上データ処理装置であって、前記売上データを格納する格納手段と、前記サーバ装置からファイル転送用プロトコルを用いて送信されてきた、売上データを取得するコマンド及びファイルを受信する受信手段と、前記サーバ装置より送信された点検若しくは精算モードを示す動作モードを記憶する記憶手段と、前記売上データを取得するコマンドを受信した際に、前記記憶手段内の点検若しくは精算モードに応じて、且つ前記サーバ装置からファイル転送用プロトコルを用いて送信されてきたファイルの名称に基づくファイル形式で前記格納されている売上データを読み出す読出手段と、前記読み出した売上データを前記サーバ装置へ送信する送信手段とを備えたことを特徴としている。 The present invention relates to a sales data processing apparatus for sending and receiving files using the file transfer protocol between the server device, a storage means for storing the sales data, using the file transfer protocol from the server apparatus A command for acquiring the sales data, a receiving unit for receiving the sales data and the file, a storage unit for storing an operation mode indicating the check or settlement mode transmitted from the server device, and a command for acquiring the sales data. when receiving, in response to the inspection or settlement mode in said storage means, said stored and the name of the file that has been transmitted by using a file transfer protocol from the server apparatus in a file format rather based Reading means for reading sales data, and transmission for transmitting the read sales data to the server device It is characterized in that a stage.

本発明によれば、サーバ装置との間でファイル転送用プロトコルを用いてファイルの送受信を行う売上データ処理装置であって、前記サーバ装置からファイル転送用プロトコルを用いて売上データを取得するコマンド及びファイルを受信した際に、サーバ装置から送信され記憶されていた点検若しくは精算モードに応じて、且つ前記サーバ装置からファイル転送用プロトコルを用いて送信されてきたファイルの名称に基づくファイル形式で前記格納されている売上データを読み出して前記サーバ装置へ送信するので、サーバ装置はファイル転送用プロトコルを用いて所定のファイルデータを送信することにより、売上データ処理装置に対して、点検若しくは精算モードを指定して所定のファイル形式で売上データ処理装置内の売上データを適宜取得することができる。 According to the present invention, there is provided a sales data processing apparatus for sending and receiving files using the file transfer protocol between the server device, the command to acquire the sales data using the file transfer protocol from the server apparatus and upon receiving the file, in accordance with the inspection or settlement mode it has been transmitted and stored from the server device, and wherein the name of the file that has been transmitted by using a file transfer protocol from the server device in a file format rather based Since the stored sales data is read and transmitted to the server device , the server device transmits a predetermined file data using a file transfer protocol, so that the sales data processing device can be checked or settled. To specify the sales data in the sales data processing device in the specified file format. It can be acquired.

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

図1は、本実施の形態におけるECRシステム100の全体構成を示す図である。図1に示すように、ECRシステム100は、PC(Personal Computer)1とマスタECR2aとがLAN(Local Area Network)、WAN(Wide Area Network)、インターネット等の通信ネットワークN1を介してデータ送受信可能に接続され、マスタECR2aとスレーブECR2bとが店舗内部に構築されたLAN等の内部ネットワークN2を介してデータ送受信可能に接続されて構成されている。なお、各装置の台数は、特に限定されない。また、PC1とマスタECR2aとの接続、及びマスタECR2aとスレーブECR2bとの接続は、有線接続であってもよいし無線接続であってもよい。   FIG. 1 is a diagram showing an overall configuration of an ECR system 100 in the present embodiment. As shown in FIG. 1, the ECR system 100 allows a PC (Personal Computer) 1 and a master ECR 2a to transmit and receive data via a communication network N1 such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet. The master ECR 2a and the slave ECR 2b are connected so as to be able to transmit and receive data via an internal network N2 such as a LAN constructed in the store. The number of each device is not particularly limited. Further, the connection between the PC 1 and the master ECR 2a and the connection between the master ECR 2a and the slave ECR 2b may be wired connection or wireless connection.

PC1は、通信ネットワークN1を介して単数或いは複数店舗のマスタECR2aに接続され、マスタECR2aから店舗の売上データ(例えば、商品の売上個数、売上金額のデータ等)を収集し、売上高の算出や顧客販売動向の経営分析等を行うサーバである。
マスタECR2aは、オペレータの操作に基づいて商品取引の登録処理、点検処理、精算処理、各種設定処理等を行うとともに、店舗内の各スレーブECR2bから売上データの収集を行い、店舗内の売上集計を行うデータ処理装置である。また、マスタECR2aは、FTP変換処理部20を有し、FTPプロトコルによりPC1から送信されるコマンドに応じた処理を実行する。
スレーブECR2bは、操作担当者の操作に基づいて商品取引の登録処理、点検処理、精算処理、各種設定処理等を行うとともに、マスタECR2aからの要求に応じて売上データの送信等を行う。
The PC 1 is connected to the master ECR 2a of one or a plurality of stores via the communication network N1, collects store sales data (for example, data on the number of products sold, sales amount data, etc.) from the master ECR 2a, and calculates sales. It is a server that performs management analysis of customer sales trends.
The master ECR 2a performs product transaction registration processing, inspection processing, checkout processing, various setting processing, etc. based on the operation of the operator, collects sales data from each slave ECR 2b in the store, and collects sales in the store. It is a data processing device to perform. Further, the master ECR 2a has an FTP conversion processing unit 20, and executes a process according to a command transmitted from the PC 1 by the FTP protocol.
The slave ECR 2b performs merchandise transaction registration processing, inspection processing, settlement processing, various setting processing, and the like based on the operation of the operator, and transmits sales data in response to a request from the master ECR 2a.

以下、ECRシステム100を構成する各装置について説明する。
まず、PC1について説明する。
図2は、PC1の機能的構成を示すブロック図である。図2に示すように、PC1は、CPU11、入力装置12、RAM13、伝送制御部14、表示装置15、記録媒体16aを有する記録装置16を備えて構成され、各装置及び各部はバス17により接続されている。
Hereinafter, each device constituting the ECR system 100 will be described.
First, the PC 1 will be described.
FIG. 2 is a block diagram showing a functional configuration of the PC 1. As shown in FIG. 2, the PC 1 includes a CPU 11, an input device 12, a RAM 13, a transmission control unit 14, a display device 15, and a recording device 16 having a recording medium 16 a, and each device and each unit are connected by a bus 17. Has been.

CPU(Central Processing Unit )11は、記録装置16に記憶されているシステムプログラムを読み出し、RAM13内に形成されたワークエリアに展開し、該システムプログラムに従ってPC1内の各装置及び各部を制御する。また、CPU11は、記録装置16に記憶されている各種処理プログラムを読み出してワークエリアに展開して実行し、ECRシステム100における売上高の算出等の各種処理を実行する。   A CPU (Central Processing Unit) 11 reads a system program stored in the recording device 16, develops it in a work area formed in the RAM 13, and controls each device and each unit in the PC 1 according to the system program. Further, the CPU 11 reads out various processing programs stored in the recording device 16 and develops and executes them in the work area, and executes various processes such as calculation of sales in the ECR system 100.

また、CPU11は、記憶装置16に記憶されているFTPサーバプログラムを読み出してワークエリアに展開し、マスタECR2aとFTPプロトコルに基づくファイルデータの送受信を行う。   In addition, the CPU 11 reads the FTP server program stored in the storage device 16 and expands it in the work area, and transmits / receives file data based on the FTP protocol with the master ECR 2a.

入力装置12は、文字/英数字入力キー、カーソルキー、及び各種機能キー等を備えたキーボードと、ポインティングデバイスであるマウスと、を備えて構成され、キーボードで押下操作されたキーの押下信号とマウスによる操作信号とを、入力信号としてCPU11に出力する。   The input device 12 includes a keyboard having character / alphanumeric input keys, cursor keys, various function keys, and the like, and a mouse that is a pointing device, and a key pressing signal that is pressed by the keyboard. An operation signal from the mouse is output to the CPU 11 as an input signal.

RAM(Random Access Memory)13は、CPU11によって実行される各種プログラム及びこれらプログラムに係るデータを一時的に記憶するワークエリアを形成する。   A RAM (Random Access Memory) 13 forms a work area for temporarily storing various programs executed by the CPU 11 and data related to these programs.

伝送制御部14は、モデム、ターミナルアップアダプタ又はLANアダプタ等により構成され、通信ネットワークN1に接続されたマスタECR2aとの間でデータ送受信を行うためのインターフェースである。   The transmission control unit 14 is configured by a modem, a terminal up adapter, a LAN adapter, or the like, and is an interface for transmitting and receiving data to and from the master ECR 2a connected to the communication network N1.

表示装置15は、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)等により構成され、CPU11から入力される表示信号の指示に従って、各種画面を表示する。   The display device 15 is configured by an LCD (Liquid Crystal Display), a CRT (Cathode Ray Tube), or the like, and displays various screens according to instructions of a display signal input from the CPU 11.

記録装置16は、プログラム、データ等が予め記憶された記録媒体16aを有し、記録媒体16aは、磁気的、光学的記録媒体、若しくは半導体等の不揮発性メモリで構成されている。記録媒体16aは、記録装置16に固定的に設けたもの、若しくは着脱自在に装着するものであり、PC1に対応するシステムプログラム、FTPサーバプログラム、各種処理プログラム、これらのプログラムで利用する各種データ等を記憶する。   The recording device 16 includes a recording medium 16a in which programs, data, and the like are stored in advance, and the recording medium 16a is configured by a magnetic, optical recording medium, or a nonvolatile memory such as a semiconductor. The recording medium 16a is fixedly attached to the recording device 16 or is detachably mounted. The system program corresponding to the PC 1, the FTP server program, various processing programs, various data used in these programs, etc. Remember.

次に、マスタECR2aについて説明する。
図3は、マスタECR2aの機能的構成を示すブロック図である。図3に示すように、マスタECR2aは、CPU21、入力装置22、RAM23、伝送制御部24、表示装置25、印刷装置26、記録媒体27aを有する記録装置27、ドロア28等を備えて構成され、各装置及び各部はバス29により接続されている。
Next, the master ECR 2a will be described.
FIG. 3 is a block diagram showing a functional configuration of the master ECR 2a. As shown in FIG. 3, the master ECR 2a includes a CPU 21, an input device 22, a RAM 23, a transmission control unit 24, a display device 25, a printing device 26, a recording device 27 having a recording medium 27a, a drawer 28, and the like. Each device and each part are connected by a bus 29.

CPU21は、記録装置27に記憶されているシステムプログラムを読み出し、RAM23内に形成されたワークエリアに展開し、該システムプログラムに従ってECR2の各装置、各部を制御する。また、CPU21は、記録装置27に記憶されているメイン処理プログラム、登録処理プログラム、集計処理プログラム各種FTP変換処理プログラム(PUT処理プログラム、GET処理プログラム、CD処理プログラム、DIR処理プログラム)を始めとする各種処理プログラムを読み出してワークエリアに展開し、後述するメイン処理(図9参照)、登録処理(図10参照)、集計処理(図12参照)、PUT処理(図11参照)、GET(図13参照)、CD処理(図14参照)、DIR処理(図15参照)を始めとする各種処理を実行する。   The CPU 21 reads a system program stored in the recording device 27, develops it in a work area formed in the RAM 23, and controls each device and each part of the ECR 2 according to the system program. Further, the CPU 21 starts with a main processing program, a registration processing program, a totalization processing program, and various FTP conversion processing programs (PUT processing program, GET processing program, CD processing program, DIR processing program) stored in the recording device 27. Various processing programs are read out and developed in the work area, and main processing (see FIG. 9), registration processing (see FIG. 10), tabulation processing (see FIG. 12), PUT processing (see FIG. 11), and GET (see FIG. 13) described later. (See FIG. 14), CD processing (see FIG. 14), and DIR processing (see FIG. 15).

CPU21は、各種FTP変換処理プログラムとの協働によるソフトウエア処理によりFTP変換処理部20を実現する。   The CPU 21 realizes the FTP conversion processing unit 20 by software processing in cooperation with various FTP conversion processing programs.

また、CPU21は、記憶装置27に記憶されているFTPクライアントプログラムを読み出してワークエリアに展開して実行し、PC1とFTPプロトコルに基づくファイルデータの送受信を行う。   In addition, the CPU 21 reads the FTP client program stored in the storage device 27, expands and executes it in the work area, and transmits / receives file data based on the FTP protocol with the PC 1.

入力装置22は、モードキー、テンキー/ファンクションキー及びクラークキー等を備え、各キー操作に応じた操作信号をCPU21に出力する。
モードキーは、売上データを登録する登録モード、返品戻し処理を行う戻しモード、登録された売上データを点検する点検モード(以下、Xモードという)、登録された売上データを読み出すとともに設定データを除く売上データをリセットする精算モード(以下、Zモードという)、マスタECR2a及びスレーブECR2bの各種環境設定を行う設定モード(以下、AUTOPGMモードという)、各動作モードを終了し、動作停止するOFFモードのうち、所望のモードを指定するためのキーである。
テンキー/ファンクションキーは、数値を入力するためのテンキー、文字を入力するための文字キー、各種機能を指示するためのファンクションキーにより構成されている。
クラークキーは、マスタECR2aを操作する操作担当者を区別するためのキーである。
The input device 22 includes a mode key, a numeric keypad / function key, a clerk key, and the like, and outputs an operation signal corresponding to each key operation to the CPU 21.
The mode key includes a registration mode for registering sales data, a return mode for performing returned goods return processing, an inspection mode for inspecting registered sales data (hereinafter referred to as X mode), reading out registered sales data and excluding setting data Settlement mode for resetting sales data (hereinafter referred to as “Z mode”), setting mode for setting various environments of the master ECR 2a and slave ECR 2b (hereinafter referred to as “AUTOPGM mode”), and the OFF mode for ending each operation mode and stopping the operation This is a key for designating a desired mode.
The numeric keypad / function key includes a numeric keypad for inputting numerical values, a character key for inputting characters, and a function key for instructing various functions.
The clerk key is a key for distinguishing an operator in charge of operating the master ECR 2a.

RAM23は、CPU21により実行されるシステムプログラム、各種処理プログラム、各処理において処理中のデータ、処理結果などを一時的に格納するワークエリアを形成する。また、RAM23は、図3に示すように、締め処理された一取引の取引合計金額データを一時的に格納する一取引合計メモリを有する。   The RAM 23 forms a work area for temporarily storing a system program executed by the CPU 21, various processing programs, data being processed in each processing, processing results, and the like. Further, as shown in FIG. 3, the RAM 23 has a single transaction total memory for temporarily storing transaction total amount data of one transaction that has been subjected to the tightening process.

また、RAM23は、登録に基づく売上データ、売上データを集計した集計データ及び各種設定データ等の各種ファイルデータを格納する格納手段としてのファイル格納メモリを有する。ファイル格納メモリには、図4に示すように、例えば、固定合計器ファイル230、商品の部門別に売上データを格納する部門ファイル231、商品別に売上データを格納するPLU(Price Look Up)ファイル232、売上明細のデータを格納するIDC(Item Data Capture;単品収集)ファイル233、マスタECR2a及び各スレーブECR2bの売上データの集計結果を格納する集計ファイル(例えば、各ECRの部門ファイルを集計した部門集計ファイル等)234、各種設定データを格納する全体設定ファイル235等が格納されている。また、ファイル格納メモリには、集計処理等のJOBにエラーが生じたときにエラーコードを格納するレスポンスファイル236等を有している。   The RAM 23 has a file storage memory as storage means for storing various file data such as sales data based on registration, total data obtained by totaling the sales data, and various setting data. As shown in FIG. 4, the file storage memory includes, for example, a fixed total file 230, a department file 231 for storing sales data for each department of products, a PLU (Price Look Up) file 232 for storing sales data for each product, An IDC (Item Data Capture) file 233 that stores data of sales details, a total file that stores total results of sales data of the master ECR 2a and each slave ECR 2b (for example, a department total file that totals the department files of each ECR) 234), an overall setting file 235 for storing various setting data. Further, the file storage memory has a response file 236 for storing an error code when an error occurs in a job such as an aggregation process.

以下、ファイル格納メモリに格納されるファイルの一例として、部門ファイル231、集計ファイル234、レスポンスファイル236について図を参照して説明する。
図5は、部門ファイル231のデータ格納例を模式的に示す図である。図5に示すように、部門ファイル231は、部門種別の文字列(キャラクタ)データを格納するキャラクタ領域(以下、フィールド)と、単価データを格納する単価フィールドと、売上個数のデータを格納する売上個数フィールドと、売上金額のデータを格納する売上金額フィールドとを有し、各部門に対するキャラクタ、単価、売上個数及び売上金額を対応付けて1レコードとして格納する。各フィールドのデータは、図5に示すように、固定長であり、データの桁数で格納すべきフィールドを識別することが可能となっている。キャラクタフィールド及び単価フィールドに格納されるデータは、予め定められた設定データであり、売上個数フィールド及び売上金額フィールドに格納されるデータは、該当する部門の商品が登録される毎に累計加算される演算データ(合計器)である。
Hereinafter, as an example of files stored in the file storage memory, a department file 231, a summary file 234, and a response file 236 will be described with reference to the drawings.
FIG. 5 is a diagram schematically illustrating a data storage example of the department file 231. As shown in FIG. 5, the department file 231 includes a character area (hereinafter referred to as a field) for storing department type character string (character) data, a unit price field for storing unit price data, and a sales unit for storing sales quantity data. It has a number field and a sales amount field for storing sales amount data, and stores the character, unit price, number of sales, and sales amount for each department as one record. As shown in FIG. 5, the data of each field has a fixed length, and the field to be stored can be identified by the number of digits of the data. The data stored in the character field and the unit price field is predetermined setting data, and the data stored in the sales quantity field and the sales amount field is cumulatively added every time a product in the corresponding department is registered. Calculation data (totalizer).

図6は、集計ファイル234の一例として部門集計ファイルのデータ格納例を模式的に示す図である。図6に示すように、部門集計ファイルは、通信ネットワークN2に接続された全てのECRにおける各部門ファイル231の売上個数のデータをレコード毎に集計した結果を格納する売上個数フィールドと、通信ネットワークN2に接続された全てのECRにおける各部門ファイル231の売上金額のデータをレコード毎に集計した結果を格納する売上個数フィールドを有する。   FIG. 6 is a diagram schematically illustrating a data storage example of a department total file as an example of the total file 234. As shown in FIG. 6, the department total file includes a sales quantity field for storing the result of totaling the sales quantity data of each department file 231 in all ECRs connected to the communication network N2, and the communication network N2. The sales number field stores the result of totaling the sales amount data of each department file 231 in all the ECRs connected to each record.

ここで、マスタECR2a及び各スレーブECR2bに格納される同一名称のファイルにおいて、各フィールドの位置関係及び対応する各フィールドの桁数は同一である。また、マスタECR2a及び各スレーブECR2bに格納される同一名称のファイルにおいて、各レコードの格納領域は対応している。例えば、マスタECR2aに格納されている部門ファイル231において、図5に示すように「部門01」に関するデータが1レコード目であれば、全てのスレーブECR2bにおいても「部門01」に関するデータが1レコード目に格納されている。また、各ECRのそれぞれのファイルを集計した集計ファイルにおいても各レコードの格納領域は対応している。例えば、部門ファイル231の各レコードと部門集計ファイルの各レコードは対応しており、部門集計ファイルの1レコード目には全ECRの部門ファイル231の1レコード目を集計した結果が格納される。   Here, in the file having the same name stored in the master ECR 2a and each slave ECR 2b, the positional relationship of each field and the number of digits of each corresponding field are the same. In addition, in the file having the same name stored in the master ECR 2a and each slave ECR 2b, the storage area of each record corresponds. For example, in the department file 231 stored in the master ECR 2a, if the data relating to “department 01” is the first record as shown in FIG. 5, the data relating to “department 01” is also the first record in all slave ECRs 2b. Stored in In addition, the storage area of each record also corresponds to the total file that totals the files of each ECR. For example, each record of the department file 231 corresponds to each record of the department total file, and the first record of the department file 231 of all ECRs is stored in the first record of the department total file.

集計ファイル234としては、その他、例えば各ECRの固定合計器230を集計した固定合計器集計ファイル、各ECRのPLUファイル232を集計したPLU集計ファイル、売上金額を時間帯別に集計する時間帯ファイル等が挙げられる。   As the total file 234, for example, a fixed total counter total file that totals the fixed total counter 230 of each ECR, a PLU total file that totals the PLU file 232 of each ECR, a time slot file that totals sales amounts by time slot, and the like Is mentioned.

なお、ファイル格納メモリの各ファイルのデータは、図5の部門ファイル231で説明したのと同様に全て固定長であり、データの桁数により各ファイル内で格納すべきフィールドを識別することが可能となっている。   Note that the data of each file in the file storage memory has a fixed length as described for the department file 231 in FIG. 5, and the field to be stored in each file can be identified by the number of digits of the data. It has become.

図7は、レスポンスファイル236のデータ格納例を示す模式図である。レスポンスファイル236は、各ジョブ(以下、JOB)の起動結果を示すデータを格納するものであり、JOB毎に生成される。例えば、図7は、図12に示す集計処理のJOB起動結果を格納するレスポンスファイル236であり、異常終了した各ECRを識別するためのECRidと、そのECRで発生したエラーの種類を示すエラーコード(例えば、登録操作中でデータ送信不可能であれば「00」等)を対応付けて記憶する。なお、本実施の形態においては、JOBが異常終了したときのみをJOB起動結果として格納することとするが、JOBが正常終了したことを示す正常コードを設け、正常及び異常の双方の結果をレスポンスファイル236に格納するようにしてもよい。   FIG. 7 is a schematic diagram illustrating a data storage example of the response file 236. The response file 236 stores data indicating the activation result of each job (hereinafter, JOB), and is generated for each JOB. For example, FIG. 7 is a response file 236 for storing the job start result of the aggregation processing shown in FIG. 12, and an ECRid for identifying each ECR that has ended abnormally and an error code indicating the type of error that occurred in that ECR (For example, “00” or the like if data transmission cannot be performed during the registration operation) is stored in association with each other. In this embodiment, only when the job ends abnormally is stored as the job start result. However, a normal code indicating that the job ended normally is provided, and both normal and abnormal results are returned as responses. The file 236 may be stored.

また、RAM23は、後述するCD処理(図14参照)で指定されるFPTモードの種別(Xモード、Zモード、AUTOPGMモード、JOBモード、モード指定なし)を格納するFTPモード格納メモリを有している。FTPモードとは、FTPプロトコルに基づきPC1から受信したコマンドに対する処理(後述するGET処理(図13参照)等)を行う際に適用する動作モードである。   Further, the RAM 23 has an FTP mode storage memory for storing the type of the FPT mode (X mode, Z mode, AUTOTOPM mode, JOB mode, no mode designation) designated by CD processing (see FIG. 14) described later. Yes. The FTP mode is an operation mode that is applied when processing (such as GET processing (see FIG. 13) described later) for a command received from the PC 1 based on the FTP protocol.

また、RAM23は、DIR(ディレクトリ)テーブルを格納している。このDIRテーブルは、図8に示すように、RAM23のファイル格納メモリに格納された各ファイルの内容が、各FTPモードにおいてPC1からアクセス(読み出し及び/又は書き込み)可能な内容であるか否かを一覧にしたテーブルである。DIRテーブルに示すように、各ファイルのファイル内容により各FTPモードにおいてPC1からアクセス可能なファイルが予め定められている。AUTOPGMモードでは、ファイル内容に設定データが含まれるファイルにアクセス可能である。Xモードでは、ファイル内容に演算データが含まれるファイルにアクセス可能である。Zモードでは、ゼロクリア可能な演算データが含まれるファイルにアクセス可能である。JOBモード(詳細後述)では、レスポンスファイル236のみアクセス可能である。   The RAM 23 stores a DIR (directory) table. As shown in FIG. 8, the DIR table indicates whether or not the contents of each file stored in the file storage memory of the RAM 23 are contents that can be accessed (read and / or written) from the PC 1 in each FTP mode. This is a list of tables. As shown in the DIR table, a file accessible from the PC 1 in each FTP mode is determined in advance according to the file contents of each file. In the AUTOPGM mode, a file whose setting data is included in the file content can be accessed. In the X mode, it is possible to access a file whose operation data is included in the file content. In the Z mode, it is possible to access a file including operation data that can be cleared to zero. In the JOB mode (described later in detail), only the response file 236 can be accessed.

なお、DIRテーブルの内容は、CPU21により、時間帯により書き換えられる。例えば、午前中は単価データの変更ができない場合、午前中はDIRテーブルにおいてAUTOPGMモードで部門ファイル231及びPLUファイル232へのアクセスは不可能と書き換えられ、アクセスが不可能であることが表示される。また、営業時間中はPC1からの精算を受け付けない場合、所定の時間帯になるまでZモードでの各ファイルへのアクセスは不可能と書き換えられ、アクセスが不可能であることが表示される。   The contents of the DIR table are rewritten by the CPU 21 according to the time zone. For example, when unit price data cannot be changed in the morning, in the morning, the DIR table is rewritten to indicate that access to the department file 231 and the PLU file 232 is impossible in the AUTOPGM mode, indicating that access is impossible. . In addition, when the settlement from the PC 1 is not accepted during business hours, it is rewritten that access to each file in the Z mode is impossible until the predetermined time zone is reached, and it is displayed that access is impossible.

さらに、RAM23には、後述するGET処理で転送待ちの変換データを一時的に格納する転送待ちメモリ、入力装置22のクラークキーの操作に応じて、現在の操作担当者の担当者コードを格納する担当者メモリ等を有する。   Further, the RAM 23 stores a transfer waiting memory that temporarily stores conversion data waiting to be transferred in a GET process, which will be described later, and a person-in-charge code of the current operator in accordance with the operation of the clerk key of the input device 22. It has a person-in-charge memory.

図3に戻り、伝送制御部24は、受信手段及び送信手段として、モデム、ターミナルアップアダプタ又はLANアダプタ等により構成され、通信ネットワークN1を介してPC1とデータ送受信を行うための第1のI/F(インターフェース)と、LANアダプタ等により構成され、通信ネットワークN2を介して各スレーブECR2bとデータ送受信を行うための第2のI/F(インターフェース)とを有している。   Returning to FIG. 3, the transmission control unit 24 includes a modem, a terminal up adapter, a LAN adapter, or the like as a reception unit and a transmission unit, and performs a first I / O for data transmission / reception with the PC 1 via the communication network N1. F (interface) and a second I / F (interface) configured to perform data transmission / reception with each slave ECR 2b via the communication network N2 are configured by a LAN adapter or the like.

表示装置25は、LCD(Liquid Crystal Display)等により構成され、CPU21から入力される各種指示に従って各種演算結果、プログラム内容、設定ガイダンス等の表示を行う。   The display device 25 is configured by an LCD (Liquid Crystal Display) or the like, and displays various calculation results, program contents, setting guidance, and the like in accordance with various instructions input from the CPU 21.

印刷装置26は、例えば、サーマルプリンタであり、レシート用、ジャーナル用(商品登録内容の記録用)のロール紙を有し、CPU21から入力される指示に従って、各ロール紙に対して各種売上データ、小計データ等の金額データを売上明細として印刷する。   The printing device 26 is, for example, a thermal printer, and has roll paper for receipts and journals (for recording product registration contents). According to instructions input from the CPU 21, various sales data, Amount data such as subtotal data is printed as sales details.

記録装置27は、プログラムやデータ等が予め記憶された記録媒体27aを有し、この記録媒体は磁気的、光学的記録媒体、若しくは半導体等の不揮発性メモリで構成されている。記録媒体27aは、記録装置27に固定的に設けたもの、若しくは着脱自在に装着するものであり、マスタECR2aに対応するシステムプログラム、FTPクライアントプログラム、マスタ処理プログラム、登録処理プログラム、集計処理プログラム、各種FTP変換処理プログラムをはじめとする各種処理プログラム、これらのプログラムで利用する各種データ等を予め記憶する。   The recording device 27 includes a recording medium 27a in which programs, data, and the like are stored in advance, and the recording medium is configured by a magnetic or optical recording medium or a nonvolatile memory such as a semiconductor. The recording medium 27a is fixedly attached to the recording device 27 or is detachably mounted. The recording medium 27a is a system program corresponding to the master ECR 2a, an FTP client program, a master processing program, a registration processing program, a totalization processing program, Various processing programs including various FTP conversion processing programs, and various data used by these programs are stored in advance.

ドロア28は、現金を収納する引出しである。   The drawer 28 is a drawer that stores cash.

スレーブECR2bの機能的構成は、上述したマスタECR2aと同様であるので同一の構成要素には同一の符号を付し、その説明は省略する。なお、本実施の形態において、スレーブECR2bはPC1とのファイル転送を実施しないため、記録装置27にFTPクライアントプログラム及びFTP変換処理プログラムを記憶している必要はなく、また、伝送制御部24に通信ネットワークN1に接続するためのインターフェースを備えてなくてもよい。   Since the functional configuration of the slave ECR 2b is the same as that of the master ECR 2a described above, the same components are denoted by the same reference numerals, and description thereof is omitted. In this embodiment, since the slave ECR 2b does not perform file transfer with the PC 1, it is not necessary to store the FTP client program and FTP conversion processing program in the recording device 27, and the slave ECR 2b communicates with the transmission control unit 24. An interface for connecting to the network N1 may not be provided.

次に、本実施形態の動作について説明する。
図9は、マスタECR2aのCPU21により実行されるメイン処理を示すフローチャートである。当該処理は、マスタECR2aの電源ON時にCPU21と記録装置27に記憶されているメイン処理プログラムとの協働によるソフトウエア処理により実現される処理である。
Next, the operation of this embodiment will be described.
FIG. 9 is a flowchart showing main processing executed by the CPU 21 of the master ECR 2a. This processing is realized by software processing in cooperation with the CPU 21 and the main processing program stored in the recording device 27 when the master ECR 2a is turned on.

入力装置22のモードキーにより登録モードが指定され、登録モードで入力が行われると(ステップS1)、図10に示す登録処理が実行される(ステップS2)。   When the registration mode is designated by the mode key of the input device 22 and input is performed in the registration mode (step S1), the registration process shown in FIG. 10 is executed (step S2).

図10は、マスタECR2aのCPU21により実行される登録処理を示すフローチャートである。当該処理は、マスタECR2aのCPU21と記録装置27に記憶されている登録処理プログラムとの協働によるソフトウエア処理により実現される処理である。   FIG. 10 is a flowchart showing a registration process executed by the CPU 21 of the master ECR 2a. This process is a process realized by software processing in cooperation with the CPU 21 of the master ECR 2a and the registration processing program stored in the recording device 27.

まず、入力装置22により入力が行われると、当該入力が商品登録の指示であるか否かが判断され、商品登録の指示であると判断された場合(ステップT1;YES)、この商品登録が一取引の最初の商品登録であるか否かが判断され、一取引の最初の商品登録であると判断された場合は(ステップT2;YES)、RAM23の一取引合計メモリがクリアされる(ステップT3)。次いで、固定合計器ファイル230、部門ファイル231、PLUファイル232等の各種売上データファイルが更新され(ステップT4)、商品の名称(商品コード)、金額等の商品データが印刷装置26によりレシート及びジャーナルに印刷されるとともに、表示装置25に表示され(ステップT5)、商品の金額がRAM23の一取引合計メモリに加算され(ステップT6)、処理はステップT1に戻る。   First, when an input is performed by the input device 22, it is determined whether or not the input is a product registration instruction. If it is determined that the input is a product registration instruction (step T <b> 1; YES), the product registration is performed. It is determined whether or not it is the first product registration of one transaction, and if it is determined that it is the first product registration of one transaction (step T2; YES), one transaction total memory of the RAM 23 is cleared (step S2). T3). Next, various sales data files such as the fixed total file 230, the department file 231 and the PLU file 232 are updated (step T4), and the product data such as the product name (product code) and the price is received by the printing device 26 in the receipt and journal. Are displayed on the display device 25 (step T5), the amount of the product is added to one transaction total memory of the RAM 23 (step T6), and the process returns to step T1.

一方、ステップT1において入力装置22からの入力が商品登録の指示ではないと判断されると(ステップT1;NO)、当該入力が締め処理の指示であるか否かが判断され、締め処理の指示であると判断された場合は(ステップT7;YES)、締め処理が実行される(ステップT8)。即ち、一取引合計メモリに格納されている一取引合計金額が読み出され、表示装置25に表示される。また、受領金額に基づき、つり銭金額の算出等も行われる。締め処理が終了すると、印刷装置26によりレシートが発行され(ステップT9)、処理は図9のステップS1に戻る。   On the other hand, if it is determined in step T1 that the input from the input device 22 is not a product registration instruction (step T1; NO), it is determined whether or not the input is a tightening process instruction. Is determined (step T7; YES), a tightening process is executed (step T8). That is, the total transaction amount stored in the total transaction memory is read and displayed on the display device 25. Also, the amount of change is calculated based on the amount received. When the fastening process is completed, a receipt is issued by the printing device 26 (step T9), and the process returns to step S1 in FIG.

図9のステップS1において、入力装置22により登録モードでの入力が行われず(ステップS1;NO)、その他の動作モードでの入力が行われた場合(ステップS3;YES)、入力に基づき他の動作モードでの処理が実行される(ステップS4)。   In step S1 of FIG. 9, when input in the registration mode is not performed by the input device 22 (step S1; NO) and input is performed in another operation mode (step S3; YES), another input is performed based on the input. Processing in the operation mode is executed (step S4).

一方、登録モードでの入力及び他のモードでの入力がなく、非処理状態である場合(ステップS3;NO)、伝送制御部24を介してPC1からFTPプロトコルに基づきコマンドが受信されたか否かが判断され、受信されていなければ(ステップS5;NO)、処理はステップS1に戻る。PC1からのコマンドが受信されたと判断された場合(ステップS5;YES)、受信されたコマンドが判断され、受信されたコマンドがPUTコマンドであると判断されると(ステップS6;YES)、図11に示すPUT処理が実行され(ステップS7)、処理はステップS1に戻る。   On the other hand, if there is no input in the registration mode and no input in the other mode and it is in the non-processing state (step S3; NO), whether or not a command is received from the PC 1 based on the FTP protocol via the transmission control unit 24. Is not received (step S5; NO), the process returns to step S1. When it is determined that a command from the PC 1 has been received (step S5; YES), the received command is determined, and when it is determined that the received command is a PUT command (step S6; YES), FIG. Is executed (step S7), and the process returns to step S1.

受信されたコマンドがPUTコマンドではなく(ステップS6;NO)、GETコマンドであると判断されると(ステップS8;YES)、図13 に示すGET処理が実行され(ステップS9)、処理はステップS1に戻る。   If it is determined that the received command is not a PUT command (step S6; NO) and is a GET command (step S8; YES), the GET process shown in FIG. 13 is executed (step S9), and the process proceeds to step S1. Return to.

受信されたコマンドがGETコマンドではなく(ステップS8;NO)、CDコマンドであると判断されると(ステップS10;YES)、図14に示すCD処理が実行され(ステップS11)、処理はステップS1に戻る。   If it is determined that the received command is not a GET command (step S8; NO) and is a CD command (step S10; YES), the CD process shown in FIG. 14 is executed (step S11), and the process is step S1. Return to.

受信されたコマンドがCDコマンドではなく(ステップS10;NO)、DIRコマンドであると判断されると(ステップS12;YES)、図15 に示すDIR処理が実行され(ステップS13)、処理はステップS1に戻る。   If it is determined that the received command is not a CD command (step S10; NO) and is a DIR command (step S12; YES), the DIR process shown in FIG. 15 is executed (step S13), and the process proceeds to step S1. Return to.

受信されたコマンドがDIRコマンドではないと判断されると(ステップS12;YES)、受信された他コマンドに応じた処理が実行され(ステップS14)、処理はステップS1に戻る。   If it is determined that the received command is not a DIR command (step S12; YES), processing according to the received other command is executed (step S14), and the processing returns to step S1.

以下、PC1からのFTPプロトコルに基づくコマンドに応じて実行されるPUT処理、GET処理、CD処理、DIR処理のそれぞれについて説明する。
〔PUT処理〕
まず、PUT処理について説明する。
図11は、マスタECR2aのCPU21により実行されるPUT処理を示すフローチャートである。当該処理は、マスタECR2aのCPU21と記録装置27に記憶されているPUT処理プログラムとの協働によるソフトウエア処理により実現される処理である。
Hereinafter, each of PUT processing, GET processing, CD processing, and DIR processing executed in response to a command based on the FTP protocol from the PC 1 will be described.
[PUT processing]
First, the PUT process will be described.
FIG. 11 is a flowchart showing a PUT process executed by the CPU 21 of the master ECR 2a. This process is a process realized by software processing in cooperation with the CPU 21 of the master ECR 2a and the PUT processing program stored in the recording device 27.

まず、PC1よりPUTコマンドとともに受信されたファイルデータの内容が解析され(ステップP1)、解析の結果、受信されたファイルデータの内容がJOB起動コマンドであると判断された場合(ステップP2;YES)、受信されたファイル内のコマンドの種類が判別され(ステップP3)、判別されたコマンドの種類に応じた処理(JOB)が起動され(ステップP4)、処理は図4のステップS1に戻る。   First, the content of the file data received together with the PUT command from the PC 1 is analyzed (step P1), and if the result of the analysis determines that the content of the received file data is a JOB activation command (step P2; YES) The type of command in the received file is discriminated (step P3), processing (JOB) corresponding to the discriminated command type is started (step P4), and the processing returns to step S1 in FIG.

例えば、PC1から「PUT JOBSEND.TXT」というファイルが受信され、その内容を解析した結果、「J 21 X 11 REPORT」という固定合計器ファイル230の集計処理を示すJOB起動コマンドであった場合、固定合計器ファイル230の集計処理が起動される。このように、PC1側からFTPプロトコルによりJOB起動コマンドを記述したファイルデータをECR2aに送信することにより、PC1からECR2aにJOB起動をかけることが可能となる。   For example, if a file called “PUT JOBSEND.TXT” is received from PC 1 and analyzed, the result is a job start command indicating the totaling process of the fixed total file 230 “J 21 X 11 REPORT”. Aggregation processing of the total file 230 is started. In this way, by sending the file data describing the job start command by the FTP protocol from the PC 1 side to the ECR 2a, it becomes possible to start the job from the PC 1 to the ECR 2a.

図12は、JOB起動コマンドにより起動される処理の一例として、集計処理を示すフローチャートである。
まず、集計タイミングであるか否かが判断され(ステップT11)、集計タイミングである場合(ステップT11;YES)、各スレーブECR2bからコマンドで指定されたファイルの売上データが収集され、累計加算される(ステップT12)。より詳細には、各スレーブECR2bに対して、JOB起動コマンドにより指定されたファイル(例えば、上述の「J 21 X 11 REPORT」の場合は、固定合計器ファイル230)の売上データの収集コマンドが送信される。各スレーブECR2bにおいては、売上データの収集コマンドが受信されると、指定されたファイルから売上データが読み出されてマスタECR2aに送信され、読み出された売上データが指定されたファイルから消去(ゼロクリア)される。各スレーブECR2bから指定されたファイルの売上データが受信されると、受信された売上データ及びマスタECR2aの指定されたファイルの売上データが集計ファイル234の対応するフィールドに累計加算される。
FIG. 12 is a flowchart showing a counting process as an example of a process activated by a JOB activation command.
First, it is determined whether or not it is the aggregation timing (step T11). If it is the aggregation timing (step T11; YES), the sales data of the file designated by the command is collected from each slave ECR 2b and added up cumulatively. (Step T12). More specifically, the sales data collection command of the file specified by the JOB start command (for example, in the case of “J 21 X 11 REPORT” described above, the fixed total file 230) is transmitted to each slave ECR 2b. Is done. In each slave ECR 2b, when the sales data collection command is received, the sales data is read from the designated file and transmitted to the master ECR 2a, and the read sales data is erased from the designated file (zero clear). ) When the sales data of the designated file is received from each slave ECR 2b, the received sales data and the sales data of the designated file of the master ECR 2a are cumulatively added to the corresponding fields of the summary file 234.

売上データの集計が正常終了すると(ステップT13;YES)、本処理は終了する。何れかのスレーブECR2bの電源がOFFであったり、登録処理中であったり又は通信エラーが生じたり等により、売上データが受信できず売上データの集計が異常終了した場合(ステップT13;NO)、RAM23のレスポンスファイル236に異常終了したスレーブECR2bの識別コード(id)及び異常状態に応じたエラーコードが格納され(ステップT14)、本処理は終了する。   When the aggregation of sales data ends normally (step T13; YES), this process ends. If any of the slave ECRs 2b is powered off, is being registered, or a communication error occurs, sales data cannot be received and sales data aggregation ends abnormally (step T13; NO). The identification code (id) of the slave ECR 2b that has ended abnormally and the error code corresponding to the abnormal state are stored in the response file 236 of the RAM 23 (step T14), and this process ends.

一方、集計タイミングではない場合(例えば、営業時間中である場合等)には(ステップT11;NO)、集計タイミングではないことを示すエラーコードがレスポンスファイル236に格納され(ステップT15)、本処理は終了する。   On the other hand, when it is not the aggregation timing (for example, during business hours) (step T11; NO), an error code indicating that it is not the aggregation timing is stored in the response file 236 (step T15). Ends.

なお、PC1から起動可能なJOBは、上述の集計処理のほかに、例えば、操作者の登録を受け付けなくするZロック処理、Zロックを解除するZロック解除処理、バッチメンテナンス処理、自動的に電源をON/OFFするオートパワーON/OFF処理等を行うことができる。   JOBs that can be started from the PC 1 include, for example, a Z lock process for not accepting operator registration, a Z lock release process for releasing Z lock, a batch maintenance process, and an automatic power Auto power ON / OFF processing for turning ON / OFF the power can be performed.

図11に戻り、ステップP1における解析の結果、受信されたファイル内容がJOB起動コマンドではないと判断された場合(ステップP2;NO)、受信されたファイルデータのファイル名称から、受信されたファイルデータの書き込み先となるファイルが判別され(ステップP5)、受信されたファイル内のデータ内容から受信されたデータを書き込むフィールドが判別され(ステップP6)、受信されたファイル内のデータが予め定められたECR形式のデータに変換され(ステップP7)、RAM23のワークエリアに一時記憶される(ステップP8)。例えば、PC1から部門ファイルのファイル名称「FILE005.txt」をファイル名称とするファイルが受信された場合、ファイル名称に基づいて、書き込み先のファイル名称がRAM23に格納されている部門ファイル「FILE005.DAT」、であり、テキストデータからバイナリデータへの変換が必要であることが判別される。また、受信したファイル内の各データの内容、具体的には各データの長さ、データの種類(キャラクタか数字データか等)に基づき各データを書き込むフィールドが決定される。   Returning to FIG. 11, when it is determined that the received file content is not a JOB start command as a result of the analysis in step P1 (step P2; NO), the received file data from the file name of the received file data. Is determined (step P5), the field to which the received data is written is determined from the data content in the received file (step P6), and the data in the received file is predetermined. The data is converted into ECR format data (step P7) and temporarily stored in the work area of the RAM 23 (step P8). For example, when a file having the file name “FILE005.txt” of the department file is received from the PC 1, the department file “FILE005.DAT” in which the file name of the write destination is stored in the RAM 23 based on the file name. It is determined that conversion from text data to binary data is necessary. In addition, the field in which each data is written is determined based on the contents of each data in the received file, specifically the length of each data, the type of data (character or numeric data, etc.).

変換後、ステップP5、6で判別された書き込み先ファイルの書き込み先フィールドに、RAM23に一時記憶された変換データが書き込まれるとともに(ステップP9)、RAM23に一時記憶された変換データが伝送制御部24の第2のI/Fを介して、各スレーブECR2bに対し、書き込み先ファイル及びフィールドを識別可能に送信され(ステップP10)、処理は図9のステップS1に戻る。   After the conversion, the conversion data temporarily stored in the RAM 23 is written in the write destination field of the write destination file determined in Steps P5 and P6 (Step P9), and the conversion data temporarily stored in the RAM 23 is transmitted to the transmission control unit 24. Through the second I / F, the write destination file and field are transmitted to each slave ECR 2b in an identifiable manner (step P10), and the process returns to step S1 in FIG.

上記のように、PC1側からFTPプロトコルによるPUTコマンドを用いて、マスタECR2aに対し、マスタECR2a及びスレーブECR2bに格納されたファイルに書き込むべきデータ(例えば、設定データ等)を送信することにより、ECR側でECR形式のデータに変換し、書き込むべき領域、すなわち、書き込むべきファイル名称及びフィールドを判断して書き込むので、PC1からFTP等の汎用プロトコルを用いて容易にマスタECR2a及びスレーブECR2bに設定データの書き込みを行うことが可能となる。   As described above, the ECR is transmitted from the PC 1 side to the master ECR 2a using the PUT command based on the FTP protocol to write data (for example, setting data) to be written in the files stored in the master ECR 2a and the slave ECR 2b. Since the data is converted into ECR format data on the side, and the area to be written, that is, the file name and field to be written, is determined and written, the setting data can be easily transferred from the PC 1 to the master ECR 2a and the slave ECR 2b using a general protocol such as FTP Writing can be performed.

〔GET処理〕
次に、GET処理について説明する。
図13は、マスタECR2aのCPU21により実行されるGET処理を示すフローチャートである。当該処理は、マスタECR2aのCPU21と記録装置27に記憶されているGET処理プログラムとの協働によるソフトウエア処理により実現される処理である。
[GET processing]
Next, the GET process will be described.
FIG. 13 is a flowchart showing the GET process executed by the CPU 21 of the master ECR 2a. This process is a process realized by software processing in cooperation with the CPU 21 of the master ECR 2a and the GET processing program stored in the recording device 27.

ここで、GETコマンドは、PC1側からマスタECR2aに格納されているファイルデータを取得したい場合に送信するコマンドであり、マスタECR2a側においては、予めPC1からCDコマンドによりFTPモードが指定されていれば、PC1から要求されたファイルのうちFTPモードに応じたデータを送信することができる。   Here, the GET command is a command that is transmitted when it is desired to acquire file data stored in the master ECR 2a from the PC 1 side. On the master ECR 2a side, if the FTP mode is designated by the CD command from the PC 1 in advance. The data corresponding to the FTP mode can be transmitted among the files requested from the PC 1.

まず、PC1よりGETコマンドとともに受信されたファイル名称を示すデータの内容が判別されるとともに(ステップG1)、FTPモード格納メモリに記憶されているFTPモードが判別される(ステップG2)。FTPモード格納メモリには、PC1から送信されるCDコマンドにより指定されたFTPモードを示すデータが格納されている(図14参照)。ステップG2において判別されたFTPモードがXモード又はZモードである場合(ステップG3;YES)、RAM23のファイル格納メモリに格納されているファイルのうち、ステップG1で判別されたファイル名称のファイルに演算データが格納されているか否かが判断され、演算データが格納されている場合(ステップG4;YES)、判別されたファイルから演算データが読み出されてワークエリアに一時記憶され(ステップG5)、処理はステップG14に移行する。   First, the content of the data indicating the file name received from the PC 1 together with the GET command is determined (step G1), and the FTP mode stored in the FTP mode storage memory is determined (step G2). In the FTP mode storage memory, data indicating the FTP mode designated by the CD command transmitted from the PC 1 is stored (see FIG. 14). When the FTP mode determined in step G2 is the X mode or the Z mode (step G3; YES), calculation is performed on the file having the file name determined in step G1 among the files stored in the file storage memory of the RAM 23. It is determined whether or not data is stored. If calculation data is stored (step G4; YES), the calculation data is read from the determined file and temporarily stored in the work area (step G5). The process proceeds to step G14.

ステップG4において、ステップG1で判別されたファイル名称のファイルに演算データが格納されていないと判断された場合(ステップG4;NO)、モードエラーであることを示すファイルが作成されワークエリアに一時記憶され(ステップG6)、処理はステップG14に移行する。   In step G4, when it is determined that the operation data is not stored in the file having the file name determined in step G1 (step G4; NO), a file indicating a mode error is created and temporarily stored in the work area. (Step G6), the process proceeds to Step G14.

ステップG2において判別されたFTPモードがXモードでもZモードでもない場合(ステップG3;NO)、FTPモードがAUTOPGMモードであるか否かが判別され、AUTOPGMモードである場合(ステップG7;YES)、ステップG1で判別されたファイル名称のファイルに設定データが格納されているか否かが判断され、設定データが格納されている場合(ステップG8;YES)、判別されたファイルから設定データが読み出されてワークエリアに一時記憶され(ステップG9)、処理はステップG14に移行する。   If the FTP mode determined in step G2 is neither the X mode nor the Z mode (step G3; NO), it is determined whether the FTP mode is the AUTOPGM mode, and if the FTP mode is the AUTOPGM mode (step G7; YES). It is determined whether or not the setting data is stored in the file having the file name determined in step G1, and when the setting data is stored (step G8; YES), the setting data is read from the determined file. Is temporarily stored in the work area (step G9), and the process proceeds to step G14.

一方、ステップG8において、ステップG1で判別されたファイル名称のファイルに設定データが格納されていないと判断された場合(ステップG8;NO)、モードエラーであることを示すファイルが作成されワークエリアに一時記憶され(ステップS10)、処理はステップG14に移行する。   On the other hand, if it is determined in step G8 that the setting data is not stored in the file having the file name determined in step G1 (step G8; NO), a file indicating a mode error is created in the work area. Temporarily stored (step S10), the process proceeds to step G14.

一方、ステップG2において判別されたFTPモードがAUTOPGMモードでなく(ステップG7;NO)JOBモードである場合(ステップG11;YES)、レスポンスファイル361が読み出され(ステップG12)、処理はステップG14に移行する。   On the other hand, when the FTP mode determined in step G2 is not the AUTOTOPM mode (step G7; NO) and the JOB mode (step G11; YES), the response file 361 is read (step G12), and the process proceeds to step G14. Transition.

一方、ステップG2において判別されたFTPモードがJOBモードではない場合(ステップG11;NO)、すなわち、モード指定なしである場合、ステップG1で判別されたファイル名称のファイルから全データが読み出されてワークエリアに一時記憶され、処理はステップG14に移行する。   On the other hand, if the FTP mode determined in step G2 is not the JOB mode (step G11; NO), that is, if no mode is specified, all data is read from the file having the file name determined in step G1. The data is temporarily stored in the work area, and the process proceeds to step G14.

ステップG14においては、ワークエリアに読み出されたデータがPC1から指定されたファイル形式に変換され、RAM23の転送エリアに格納される(ステップG15)。PC1から指定されたファイル形式は、GETコマンドとともに受信されたファイル名称を示すデータの識別子で判断される。例えば、「GET FILE05.TXT」が受信された場合、読み出されたデータがテキスト形式のファイルに変換される。そして、伝送制御部24の第1のI/Fを介して転送エリアに格納されているファイルデータがPCに送信される(ステップG16)。FTPモードがZモードである場合には(ステップG17;YES)、さらに、ステップG5で読み出された演算データが記憶されていた元ファイルからその演算データがゼロクリア(消去)されることにより精算が行われ(ステップG18)、処理は図9のステップS1に戻る。   In step G14, the data read to the work area is converted into a file format designated by the PC 1 and stored in the transfer area of the RAM 23 (step G15). The file format designated from the PC 1 is determined by the data identifier indicating the file name received together with the GET command. For example, when “GET FILE05.TXT” is received, the read data is converted into a text format file. Then, the file data stored in the transfer area is transmitted to the PC via the first I / F of the transmission control unit 24 (step G16). If the FTP mode is the Z mode (step G17; YES), the calculation data is further cleared to zero (erased) from the original file in which the calculation data read in step G5 is stored. Performed (step G18), the process returns to step S1 in FIG.

上記のように、GET処理では、操作者がPC1側から取得したいファイルの名称及び形式を指定することで、PC1において取得したいデータを所望のファイル形式で受信することが可能となる。また、予めFTPモードを指定しておけば、ユーザが必要なデータ(例えば、売上データ等の演算データのみ等)を選んで受信することが可能となる。例えば、「GET FILE05.TXT」を指定した場合、予めFTPモードをX又はZモードにしておけば、図5に示す部門ファイル231の演算データ、すなわち、売上個数及び売上金額のみをPC側で取得可能となり、予めFTPモードをAUTOPGMモードにしておけば、図5に示す部門ファイル231の設定データ、すなわち、キャラクタ及び単価のみをPC1側で取得可能となる。また、FTPモードをZモードにし、例えば、部門集計ファイルの売上データ等を指定すれば、PC1側からその売上データを精算してPC1側に収集させることが可能となる。   As described above, in the GET process, it is possible for the operator to receive the data to be acquired in the desired file format by specifying the name and format of the file to be acquired from the PC 1 side. Further, if the FTP mode is designated in advance, it becomes possible for the user to select and receive necessary data (for example, only calculation data such as sales data). For example, when “GET FILE05.TXT” is specified, if the FTP mode is set to the X or Z mode in advance, only the calculation data of the department file 231 shown in FIG. If the FTP mode is set to the AUTOPGM mode in advance, only the setting data of the department file 231 shown in FIG. 5, that is, the character and unit price can be acquired on the PC 1 side. Further, if the FTP mode is set to the Z mode and, for example, sales data in a department total file is designated, the sales data can be settled from the PC 1 side and collected on the PC 1 side.

〔CD処理〕
次に、CD処理について説明する。
図14は、マスタECR2aのCPU21により実行されるCD処理を示すフローチャートである。当該処理は、マスタECR2aのCPU21と記録装置27に記憶されているCD処理プログラムとの協働によるソフトウエア処理により実現される処理である。
[CD processing]
Next, CD processing will be described.
FIG. 14 is a flowchart showing a CD process executed by the CPU 21 of the master ECR 2a. This process is a process realized by software processing in cooperation with the CPU 21 of the master ECR 2a and the CD processing program stored in the recording device 27.

PC1からCDコマンド及びFTPモードの種別を示すデータが受信されると、受信された動作モードの名称がRAM23のFTPモード格納メモリに記憶され(ステップC1)、処理は図9のステップS1に戻る。   When the CD command and data indicating the type of FTP mode are received from the PC 1, the name of the received operation mode is stored in the FTP mode storage memory of the RAM 23 (step C1), and the process returns to step S1 in FIG.

RAM23のFTP格納メモリに記憶されたFTPモードは、PC1から受信した他コマンドに対する処理を行う際に参照され、このFTPモードに応じた処理が実行される。
例えば、PC1より「CD AUTOPGM」というCDコマンド及びFTPモードを示すデータが受信された場合、FTPモード格納メモリに「AUTOPGM」を示すデータが記憶される。これにより、上述したGET処理では、指定されたファイル名称のファイルの設定データのみを読み出してPC1に送信するという、設定モードに応じた処理を行うことが可能となる。
The FTP mode stored in the FTP storage memory of the RAM 23 is referred to when processing for another command received from the PC 1, and processing corresponding to this FTP mode is executed.
For example, when a CD command “CD AUTOPGM” and data indicating the FTP mode are received from the PC 1, data indicating “AUTOPGM” is stored in the FTP mode storage memory. As a result, in the above-described GET process, it is possible to perform a process according to the setting mode in which only the setting data of the file having the designated file name is read and transmitted to the PC 1.

次に、DIR処理について説明する。
図15は、マスタECR2aのCPU21により実行されるDIR処理を示すフローチャートである。当該処理は、マスタECR2aのCPU21と記録装置27に記憶されているDIR処理プログラムとの協働によるソフトウエア処理により実現される処理である。
Next, the DIR process will be described.
FIG. 15 is a flowchart showing the DIR process executed by the CPU 21 of the master ECR 2a. This process is a process realized by software processing in cooperation with the CPU 21 of the master ECR 2a and the DIR processing program stored in the recording device 27.

PC1から、RAM23のファイル格納メモリのディレクトリを閲覧するためDIRコマンドが受信されると、RAM23に格納されているDIRテーブルが参照され(ステップD1)、DIRテーブルに基づき、ファイル格納メモリに格納されている各ファイルのファイルデータが各FTPモードでアクセス可能な内容であるか否かにより分類され、FTPモード別に、そのモードでアクセス可能なファイル名称のデータを格納する仮想ディレクトリが作成される(ステップD2)。次いで、FTPモード格納メモリに記憶されている現在のFTPモードに対応する仮想ディレクトリ内のファイル名称のデータがPC1で出力可能な形式に変換される(ステップD3)。そして、伝送制御部24の第1のI/Fを介してその変換されたデータがPC1に送信され(ステップD4)、処理は図9のステップ1に戻る。   When a DIR command is received from the PC 1 to browse the directory of the file storage memory of the RAM 23, the DIR table stored in the RAM 23 is referred to (step D1), and stored in the file storage memory based on the DIR table. The virtual directory storing the file name data accessible in the mode is created for each FTP mode (Step D2). ). Next, the file name data in the virtual directory corresponding to the current FTP mode stored in the FTP mode storage memory is converted into a format that can be output by the PC 1 (step D3). Then, the converted data is transmitted to the PC 1 via the first I / F of the transmission control unit 24 (step D4), and the process returns to step 1 in FIG.

なお、CDコマンドによりFTPモードが指定されずにDIRコマンドが受信された場合は、図16(a)に示すように、ステップD3において、ステップD2で作成された仮想ディレクトリの一覧を示すデータがPC1で出力可能な形式に変換され、PC1に送信される。   When the DIR command is received without specifying the FTP mode by the CD command, as shown in FIG. 16A, in step D3, data indicating a list of virtual directories created in step D2 is PC1. Is converted into a format that can be output by the PC 1 and transmitted to the PC 1.

PC1側では、DIRコマンドによりマスタECR2aの現在のFTPモードでアクセス可能なファイルのファイル名称のデータを取得することができるので、表示装置やプリンタ等で受信したデータを出力することにより、PC1の操作者は、マスタECR2aの現在のFTPモードでアクセス可能なファイル名称の一覧を閲覧することが可能となる。   On the PC 1 side, the file name data of the file accessible in the current FTP mode of the master ECR 2 a can be acquired by the DIR command, so that the operation of the PC 1 can be performed by outputting the data received by the display device or the printer. The user can browse a list of file names that can be accessed in the current FTP mode of the master ECR 2a.

例えば、図16(b)に示すように、PC1からCDコマンドでAUTOPGMモードを指定した後にDIRコマンドを送信すると、AUTOPGMモードでアクセス可能なファイル名称の一覧を表示することが可能となる。同様にして、Xモード、Zモード、JOBモードでアクセス可能なファイル名称の一覧を表示することが可能となる。   For example, as shown in FIG. 16B, when the DIR command is transmitted from the PC 1 after the AUTOPGM mode is specified by the CD command, a list of file names accessible in the AUTOPGM mode can be displayed. Similarly, it is possible to display a list of file names accessible in the X mode, Z mode, and JOB mode.

〔FTPコマンドを用いた処理シーケンス例〕
以下、図17を参照してFTPプロトコルによるコマンドの送受信を用いたPC1とマスタECR2aとの処理シーケンスの一例について説明する。図17においては、PC1からCDコマンドによりマスタECR2aにFTPモードを指定し、DIRコマンドにより、指定したFTPモードでアクセス可能なファイル名の一覧を取得して表示し、GETコマンドによりファイル名称を指定することにより、指定されたファイルの内容を取得して表示するシーケンスである。
[Example of processing sequence using FTP command]
Hereinafter, an example of a processing sequence between the PC 1 and the master ECR 2a using command transmission / reception by the FTP protocol will be described with reference to FIG. In FIG. 17, the FTP mode is designated to the master ECR 2a by the CD command from the PC 1, the list of file names accessible in the designated FTP mode is acquired and displayed by the DIR command, and the file name is designated by the GET command. This is a sequence for acquiring and displaying the contents of the designated file.

PC1において、操作者により入力装置12を介してCDコマンド及びFTPモードが入力されると(ステップA1)、入力されたCDコマンド及びFTPモードのデータがマスタECR2aに送信される(ステップA2)。   In the PC 1, when the CD command and FTP mode are input by the operator via the input device 12 (step A1), the input CD command and FTP mode data are transmitted to the master ECR 2a (step A2).

マスタECR2aにおいては、伝送制御部24の第1のI/Fを介してCDコマンドが受信されると(ステップA3)、図14で説明したCD処理が実行され、CDコマンドとともに受信されたFTPモードのデータがFTPモード格納メモリに記憶される(ステップA4)。   In the master ECR 2a, when the CD command is received via the first I / F of the transmission control unit 24 (step A3), the CD processing described in FIG. 14 is executed, and the FTP mode received together with the CD command. Is stored in the FTP mode storage memory (step A4).

マスタECR2のFTPモードを変更させた後、PC1において、操作者により入力装置12を介してDIRコマンドが入力されると(ステップA5)、伝送制御部14を介してマスタECR2aにDIRコマンドが送信される(ステップA6)。   After changing the FTP mode of the master ECR2, when the DIR command is input by the operator via the input device 12 in the PC 1 (step A5), the DIR command is transmitted to the master ECR 2a via the transmission control unit 14. (Step A6).

マスタECR2aにおいては、伝送制御部24の第1のI/Fを介してDIRコマンドが受信されると(ステップA7)、図15に示すDIR処理が実行され、FTPモード格納メモリに記憶されているFTPモードでアクセス可能なファイル名称のデータが作成され、PC1に送信される(ステップA8)。   In the master ECR 2a, when the DIR command is received via the first I / F of the transmission control unit 24 (step A7), the DIR process shown in FIG. 15 is executed and stored in the FTP mode storage memory. File name data accessible in the FTP mode is created and transmitted to the PC 1 (step A8).

PC1においては、マスタECR2aからファイル名称のデータが受信されると(ステップA9)、表示装置15に、ファイル名称の一覧が表示される(ステップA10)。操作者により入力装置12を介してGETコマンド及びファイル名称が入力されると(ステップA11)、入力されたGETコマンド及びファイル名称のデータがマスタECR2aに対して送信される(ステップA12)。   In PC1, when file name data is received from master ECR 2a (step A9), a list of file names is displayed on display device 15 (step A10). When the operator inputs a GET command and a file name via the input device 12 (step A11), the input GET command and file name data are transmitted to the master ECR 2a (step A12).

マスタECR2aにおいて、GETコマンド及びファイル名称のデータが受信されると(ステップA13)、図13で説明したGET処理が実行され、GETコマンドとともに受信されたファイル名称に対応するファイルからFTPモードに応じたデータが読み出され、指定されたファイル形式のファイルデータに変換され、PC1に送信される(ステップA14)。   When the master ECR 2a receives the GET command and file name data (step A13), the GET process described in FIG. 13 is executed, and the file corresponding to the file name received together with the GET command is used in accordance with the FTP mode. The data is read out, converted into file data in the designated file format, and transmitted to the PC 1 (step A14).

PC1において、ファイルデータが受信されると(ステップA15)、ファイルデータの内容が表示装置15に表示される(ステップA15)。   When the file data is received in the PC 1 (step A15), the contents of the file data are displayed on the display device 15 (step A15).

以上の手順により、PC1側からマスタECR2aの必要なファイルデータを取得して表示装置15に表示させることができる。   With the above procedure, necessary file data of the master ECR 2a can be acquired from the PC 1 side and displayed on the display device 15.

〔集計処理起動時のマスタECR2aとスレーブECR2bのシーケンス例〕
PC1からPUTコマンドにより各種ファイルの集計処理起動が受信された場合、マスタECR2aはスレーブECR2bから売上データを収集する必要がある。図18は、PC1からマスタECR2aに対してPUTコマンドにより集計処理起動が行われた際の、PC1、マスタECR2a及びスレーブECR2b間の処理シーケンスの一例を示すものである。以下、図18の処理シーケンスについて説明する。なお、スレーブECR2bは1台として図示するが、マスタECR2aは、通信ネットワークN2に接続された各スレーブECR2bと同様のシーケンスを行う。
[Sequence example of master ECR 2a and slave ECR 2b at start of counting process]
When the activation processing of various files is received from the PC 1 by the PUT command, the master ECR 2a needs to collect sales data from the slave ECR 2b. FIG. 18 shows an example of a processing sequence among the PC 1, the master ECR 2a, and the slave ECR 2b when the aggregation processing is activated by the PUT command from the PC 1 to the master ECR 2a. Hereinafter, the processing sequence of FIG. 18 will be described. Although the slave ECR 2b is illustrated as one unit, the master ECR 2a performs the same sequence as each slave ECR 2b connected to the communication network N2.

PC1において、操作者により入力装置12を介して集計処理起動コマンド、すなわち、PUTコマンド及び集計処理起動コマンドが格納された起動用ファイルの名称が入力されると(ステップB1)、PUTコマンド及び入力された名称の起動用ファイルのデータが、マスタECR2aに送信される(ステップB2)。   In the PC 1, when the operator inputs the aggregation process activation command, that is, the name of the activation file storing the aggregation process activation command via the input device 12 (step B 1), the PUT command is input. The data of the activation file with the specified name is transmitted to the master ECR 2a (step B2).

マスタECR2aにおいては、伝送制御部24の第1のI/Fを介してPUTコマンド及び起動用ファイルが受信されると(ステップB3)、図11で説明したPUT処理が実行され、起動用ファイル内で指定されたファイルの集計処理が起動され(ステップB4)、現在集計処理可能なタイミングであるか否かが判断される(ステップB5)。例えば、所定の時刻、例えば、店舗が閉店して締めが終了する時刻になるまでは、集計処理は起動不可能となっている。集計処理可能なタイミングでなければ(ステップB6;YES)、その旨を示すエラーコードがレスポンスファイル236に記憶される。集計可能なタイミングである場合(ステップB5;YES)、スレーブECR2bに対して、指定されたファイルの売上データ収集コマンドが送信される(ステップB7)。   In the master ECR 2a, when the PUT command and the startup file are received via the first I / F of the transmission control unit 24 (step B3), the PUT process described in FIG. The tabulation process for the file designated in (1) is started (step B4), and it is determined whether or not it is the timing when the tabulation process can be currently performed (step B5). For example, the counting process cannot be started until a predetermined time, for example, the time when the store closes and the closing ends. If it is not the timing when the tabulation processing is possible (step B6; YES), an error code indicating that is stored in the response file 236. If it is possible to count (step B5; YES), the sales data collection command of the designated file is transmitted to the slave ECR 2b (step B7).

スレーブECR2bにおいて、マスタECR2aから売上データ収集コマンドが受信されると(ステップB8)、売上データの送信が可能な状態であるか否かが判断され、送信可能である場合(ステップB9;YES)、マスタECR2aに指定されたファイルの売上データが送信され、そのファイルの売上データがゼロクリアされて精算が行われる(ステップB10)。売上データの送信が不可能な状態(例えば、電源がOFF状態、登録操作中状態)である場合(ステップB9;NO)、状態に応じたエラーコードがマスタECR2aに対して送信される(ステップB11)。   When the slave ECR 2b receives the sales data collection command from the master ECR 2a (step B8), it is determined whether or not the sales data can be transmitted. If the sales data can be transmitted (step B9; YES), The sales data of the specified file is transmitted to the master ECR 2a, and the sales data of the file is cleared to zero and settlement is performed (step B10). When the sales data cannot be transmitted (for example, the power is OFF or the registration operation is in progress) (step B9; NO), an error code corresponding to the state is transmitted to the master ECR 2a (step B11). ).

マスタECR2aにおいて、売上データが正常に受信されると(ステップB12;YES)、受信された売上データが指定されたファイルに対応する集計ファイルおいて累計加算される(ステップB13)。売上データが正常に受信されず、エラーコードが受信された場合(ステップB12;NO)、送信元のスレーブID及び受信されたエラーコードがレスポンスファイル236に記憶される(ステップB14)。   When the sales data is normally received in the master ECR 2a (step B12; YES), the received sales data is cumulatively added in the aggregation file corresponding to the designated file (step B13). If the sales data is not normally received and an error code is received (step B12; NO), the slave ID of the transmission source and the received error code are stored in the response file 236 (step B14).

PC1から処理結果受信コマンド、すなわち、GETコマンド及びレスポンスファイルのファイル名称が入力されると(ステップB15)、マスタECR2aに対しGETコマンド及びレスポンスファイルのファイル名称のデータが送信される(ステップB16)。   When the processing result reception command, that is, the GET command and the file name of the response file are input from the PC 1 (step B15), the data of the GET command and the file name of the response file are transmitted to the master ECR 2a (step B16).

マスタECR2aにおいて、PC1からGETコマンド及びレスポンスファイルのファイル名称のデータが受信されると(ステップB17)、GET処理が行われ、レスポンスファイル236が読み出され、PC1で出力可能な形式に変換され、PC1に送信される(ステップB18)。   In the master ECR 2a, when the GET command and the file name data of the response file are received from the PC 1 (step B17), the GET processing is performed, the response file 236 is read, and converted into a format that can be output by the PC 1, It is transmitted to PC1 (step B18).

PC1においては、レスポンスファイル236が受信されると、表示装置15に表示される(ステップB19)。レスポンスファイルにエラーコードが含まれていなければ(ステップB20;NO)、本処理は終了する。エラーコードが含まれている場合には(ステップB20;YES)、マスタECR2aに対し、エラーコードに対応するスレーブECR2bへの再度の売上データ収集処理の起動コマンドをデータとする起動用ファイルが生成され、PUTコマンドとともに送信される(ステップB21)。   In PC1, when response file 236 is received, it is displayed on display device 15 (step B19). If the error code is not included in the response file (step B20; NO), this process ends. If an error code is included (step B20; YES), a startup file is generated for the master ECR 2a with the startup command of the sales data collection process for the slave ECR 2b corresponding to the error code as data. Are transmitted together with the PUT command (step B21).

マスタECR2aにおいて、PC1からPUTコマンド及び起動用ファイルのデータが受信されると(ステップB22)、起動用ファイルの内容に基づき、スレーブECR2bに対して再度売上データ収集コマンドが送信される(ステップB23)。スレーブECR2bにおいて、売上収集コマンドが受信されると、ステップB8からの処理が再度実行される。   When the master ECR 2a receives the PUT command and activation file data from the PC 1 (step B22), the sales data collection command is transmitted again to the slave ECR 2b based on the contents of the activation file (step B23). . When the slave ECR 2b receives the sales collection command, the processing from step B8 is executed again.

以上のシーケンスにより、PC1は、マスタECR2aに対し、エラーのスレーブECR2bがなくなるまで、繰り返しデータ収集を行わせることが可能となる。   With the above sequence, the PC 1 can cause the master ECR 2a to repeatedly collect data until there is no error slave ECR 2b.

〔変形例〕
図19は、上述した一連の処理の変形例として、FTPによりPC1からマスタECR2aに対してJOB起動コマンドを送信した際に、マスタECR2aにおいて、マスタECR2aの現在の操作担当者が、JOBの実行を許可された担当者であるか否かを判別する担当者判別手段を追加し、許可された担当者でなければPC1からのJOB起動をエラーとするシーケンスを示すものである。
[Modification]
FIG. 19 shows a modification of the series of processes described above. When a JOB start command is transmitted from the PC 1 to the master ECR 2a by FTP, the current operator in charge of the master ECR 2a executes the job in the master ECR 2a. The person-in-charge determining means for determining whether or not the person in charge is permitted is added, and if the person in charge is not authorized, a sequence in which a job activation from the PC 1 is an error is shown.

PC1において、操作者により入力装置12を介してJOB起動コマンド、すなわち、PUTコマンド及びJOB起動コマンドが格納されたファイルの名称が入力されると(ステップE1)、PUTコマンド及び入力された名称の起動用ファイルのデータが、マスタECR2aに送信される(ステップE2)。   In the PC 1, when an operator inputs a job start command, that is, a file name storing a PUT command and a job start command, via the input device 12 (step E 1), the PUT command and start of the input name are input. The file data is transmitted to the master ECR 2a (step E2).

マスタECR2aにおいては、伝送制御部24の第1のI/Fを介してPUTコマンド及び起動用ファイルが受信されると(ステップE3)、現在のマスタECR2aにおける操作担当者(クラークキーで指定され、担当者メモリに担当者コードが記憶されている操作担当者)が起動用ファイルにより指定されたJOBの実行を許可された担当者であるか否かが判断され、指定されたJOBの実行が許可された担当者である場合(ステップE4;YES)、起動用ファイルのコマンドに従ってJOBが起動される(ステップE5)。現在の操作担当者が起動用ファイルにより指定されたJOBの実行を許可された担当者ではない場合(ステップE4;NO)、レスポンスファイル236に担当者エラーを示すエラーコードが格納される(ステップE6)。   In the master ECR 2a, when the PUT command and the activation file are received via the first I / F of the transmission control unit 24 (step E3), the operator in charge of the current master ECR 2a (designated by the clerk key) It is determined whether or not the person in charge whose person-in-charge code is stored in the person-in-charge memory is the person in charge who is permitted to execute the job specified by the start-up file, and the execution of the specified job is permitted. If the person in charge is in charge (step E4; YES), the JOB is activated in accordance with the command of the activation file (step E5). If the current person in charge of the operation is not the person in charge who is permitted to execute the job specified by the startup file (step E4; NO), an error code indicating the person in charge error is stored in the response file 236 (step E6). ).

PC1において、操作者から入力装置12を介して処理結果受信コマンド、すなわち、GETコマンド及びレスポンスファイルのファイル名称が入力されると(ステップE7)、マスタECR2aに対しGETコマンド及びレスポンスファイルのファイル名称のデータが送信される(ステップE8)。   When the processing result reception command, that is, the GET command and the file name of the response file are input from the operator via the input device 12 in the PC 1 (step E7), the file name of the GET command and the response file is input to the master ECR 2a. Data is transmitted (step E8).

マスタECR2aにおいて、PC1からのGETコマンド及びレスポンスファイルのファイル名称のデータが受信されると(ステップE9)、GET処理が実行され、レスポンスファイル236が読み出され、PC1で出力可能な形式に変換され、PC1に送信される(ステップE10)。   When the master ECR 2a receives the GET command and the data of the response file name from the PC 1 (step E9), the GET process is executed, and the response file 236 is read and converted into a format that can be output by the PC 1. Are transmitted to PC1 (step E10).

PC1においては、レスポンスファイル236が受信されると、レスポンスファイルの内容が表示装置15に表示され(ステップE11)、本処理は終了する。   In the PC 1, when the response file 236 is received, the contents of the response file are displayed on the display device 15 (step E11), and this process ends.

上記のシーケンスにより、マスタECR2a側の操作担当者が、例えば店舗責任者等、PC1から指定されたJOBの実行を許可された担当者である場合にのみJOBを実行させることが可能となり、一般の店員等による誤操作によるJOBの不正終了等を防止し、マスタECR2a内のデータのセキュリティを確保することが可能となる。なお、上記変形例では、JOB起動コマンドが受信された際に担当者が許可された担当者であるか否かを判別することとしたが、売上データの消去(クリア)の伴うZモードへの移行が指示された際に、同様にして担当者の制限を行っても良い。   With the above sequence, it becomes possible to execute a job only when the person in charge of operation on the master ECR 2a side is a person in charge of executing a job designated by the PC 1, such as a store manager. It is possible to prevent unauthorized termination of the job due to an erroneous operation by a store clerk or the like, and to ensure the security of data in the master ECR 2a. In the above modification, it is determined whether or not the person in charge is an authorized person when the JOB activation command is received. However, it is possible to switch to the Z mode with the deletion (clear) of sales data. When transfer is instructed, the person in charge may be similarly restricted.

以上説明したように、本発明に係るマスタECR2aによれば、PC1から送信されてきたファイル名称を示すデータを受信すると、受信したファイル名称のデータを判別し、その判別されたファイル名称に応じたデータをRAM23のファイル格納メモリから読み出し、読み出したデータを受信されたファイル名称により指定された形式のファイルデータに変換し、この変換されたファイルデータをサPC1に送信する。従って、PC1側においては、マスタECR2aから取得したいデータのファイル名称を送信するだけで、マスタECR2aのファイル格納メモリに格納されている、送信したファイル名称に応じたデータを、PC1で指定したデータ形式で受信することが可能となる。   As described above, according to the master ECR 2a according to the present invention, when the data indicating the file name transmitted from the PC 1 is received, the data of the received file name is determined, and the data corresponding to the determined file name is determined. The data is read from the file storage memory of the RAM 23, the read data is converted into file data in a format specified by the received file name, and the converted file data is transmitted to the server PC1. Therefore, on the PC 1 side, the data format stored in the file storage memory of the master ECR 2a is stored in the file storage memory of the master ECR 2a and the data corresponding to the transmitted file name is specified in the PC 1 by simply transmitting the file name of the data to be acquired from the master ECR 2a. Can be received.

また、マスタECR2aは、当該マスタECR2aが非処理状態であるときに、PC1から送信されたファイル名称に応じたデータのファイル格納メモリからの読み出しを行うので、データ処理中の未確定データをPC1に送信してしまうなどのエラーを防止することができる。   In addition, when the master ECR 2a is in a non-processing state, the master ECR 2a reads data from the file storage memory according to the file name transmitted from the PC 1, so that unconfirmed data being processed is stored in the PC 1. It is possible to prevent errors such as transmission.

また、マスタECR2aによれば、PC1からFTPプロトコルに基づく通信時におけるマスタECR2aの動作モードを指定するコマンドが受信された際に、判別されたファイル名称に応じたファイルデータの中から指定された動作モードに応じたデータのみを読み出し、この読み出したデータをファイル名称により指定された形式のファイルデータに変換してPC1に送信する。従って、PC1側で指定したファイルデータの中から動作モードに応じた必要なデータのみを取得することが可能となる。   Further, according to the master ECR 2a, when a command specifying the operation mode of the master ECR 2a at the time of communication based on the FTP protocol is received from the PC 1, the operation specified from the file data corresponding to the determined file name Only the data corresponding to the mode is read, and the read data is converted into file data in a format specified by the file name and transmitted to the PC 1. Therefore, only necessary data corresponding to the operation mode can be acquired from the file data designated on the PC 1 side.

また、マスタECR2aによれば、PC1側からZモードを指定して、売上データのファイル名称を送信することで、その売上データを取得するとともにマスタECR2aにその売上データを精算させることが可能となる。   Further, according to the master ECR 2a, by specifying the Z mode from the PC 1 side and transmitting the sales data file name, it is possible to acquire the sales data and allow the master ECR 2a to settle the sales data. .

また、マスタECR2aによれば、マスタECR2aにおける操作担当者が精算を許可された担当者であるか否かを判別し、許可された担当者である場合に精算を行うことが可能となるので、データのセキュリティを確保することができる。   In addition, according to the master ECR 2a, it is possible to determine whether or not the person in charge of the operation in the master ECR 2a is a person in charge of settlement, and in the case where the person in charge is permitted, the settlement can be performed. Data security can be ensured.

また、マスタECR2aによれば、PC1から送信されてきたファイルデータを受信し、受信したファイルデータのファイル名称及びデータ内容を判別し、受信されたファイル内のデータのそれぞれを、ファイル格納メモリにおける判別されたファイル名称及びデータ内容に対応する領域に、予め定められたECR形式に変換して書き込む。従って、PC1から送信されてきたファイルデータを、マスタECR2aで定められた適切な形式で適切な領域に書き込むことが可能となる。   Further, according to the master ECR 2a, the file data transmitted from the PC 1 is received, the file name and data content of the received file data are determined, and each of the data in the received file is determined in the file storage memory. The data is converted into a predetermined ECR format and written in an area corresponding to the file name and data content. Therefore, the file data transmitted from the PC 1 can be written in an appropriate area in an appropriate format determined by the master ECR 2a.

また、マスタECR2aによれば、非処理状態であるときに、受信されたファイルデータの書き込みを行うので、マスタECR2aにおける他の処理中にエラーが生じることを防止することができる。   Further, according to the master ECR 2a, the received file data is written when the master ECR 2a is in the non-processing state, so that it is possible to prevent an error from occurring during other processing in the master ECR 2a.

なお、上記実施の形態における記述内容は、本発明に係るECRシステム100の好適な一例であり、これに限定されるものではない。   In addition, the description content in the said embodiment is a suitable example of the ECR system 100 which concerns on this invention, and is not limited to this.

例えば、上記実施の形態においては、予めFPTモードを指定しておけば、GET処理において、受信されたファイル名称に対応するファイルデータのなかから指定されたFPTモードに応じたデータのみが読み出されることとしたが、例えば、PC1からファイル名称を指定するときに、ファイル名称に所望のデータを示す識別符号を付加して送信し、マスタECR2a側では、PC1から受信したファイル名称に対応するファイルから識別符号に応じたデータのみを読み出してPC1に送信するようにしてもよい。例えば、ファイル名称として「FILE005X.TXT」が指定された場合、部門ファイル231(FILE005.DAT)のうち、Xモードでアクセス可能な売上個数及び売上金額のデータのみをPC1に送信するようにしてもよい。   For example, in the above embodiment, if the FPT mode is designated in advance, only data corresponding to the designated FPT mode is read from the file data corresponding to the received file name in the GET process. However, for example, when a file name is designated from the PC 1, an identification code indicating the desired data is added to the file name and transmitted, and the master ECR 2 a side identifies from the file corresponding to the file name received from the PC 1. Only data corresponding to the code may be read and transmitted to the PC 1. For example, when “FILE005X.TXT” is designated as the file name, only the data on the sales quantity and sales amount accessible in the X mode in the department file 231 (FILE005.DAT) may be transmitted to the PC 1. Good.

また、上記実施の形態においては、本発明のデータ処理装置をECRとして説明したが、複数のPOS端末を備えるPOSシステムのサーバとPOS端末との間でのファイルデータの送受信を行う際に本発明を適用するようにしてもよい。   In the above embodiment, the data processing apparatus of the present invention has been described as ECR. However, when file data is transmitted and received between a POS system server having a plurality of POS terminals and a POS terminal, the present invention is used. May be applied.

その他、ECRシステム100の細部構成及び細部動作に関しても、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of the ECR system 100 can be changed as appropriate without departing from the spirit of the present invention.

本発明に係るECRシステム100の全体構成を示す図ある。1 is a diagram illustrating an overall configuration of an ECR system 100 according to the present invention. 図1のPC1の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of PC1 of FIG. 図1のマスタECR2aの機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of master ECR2a of FIG. 図3のRAM23のファイル格納メモリに格納されるファイルの一例を示す図である。It is a figure which shows an example of the file stored in the file storage memory of RAM23 of FIG. 図3の部門ファイル231のデータ格納例を示す図である。It is a figure which shows the example of data storage of the department file 231 of FIG. 図3の部門集計ファイル234のデータ格納例を示す図である。It is a figure which shows the example of data storage of the department total file 234 of FIG. 図3のレスポンスファイル236のデータ格納例を示す図である。It is a figure which shows the example of data storage of the response file 236 of FIG. 図1のRAM23に格納されるDIRテーブルの一例を示す図である。It is a figure which shows an example of the DIR table stored in RAM23 of FIG. 図3のCPU21により実行されるメイン処理を示すフローチャートである。It is a flowchart which shows the main process performed by CPU21 of FIG. 図3のCPU21により実行される登録処理を示すフローチャートである。It is a flowchart which shows the registration process performed by CPU21 of FIG. 図3のCPU21により実行されるPUT処理を示すフローチャートである。It is a flowchart which shows the PUT process performed by CPU21 of FIG. 図3のCPU21により実行される集計処理を示すフローチャートである。It is a flowchart which shows the total process performed by CPU21 of FIG. 図3のCPU21により実行されるGET処理を示すフローチャートである。It is a flowchart which shows the GET process performed by CPU21 of FIG. 図3のCPU21により実行されるCD処理を示すフローチャートである。It is a flowchart which shows the CD process performed by CPU21 of FIG. 図3のCPU21により実行されるDIR処理を示すフローチャートである。It is a flowchart which shows the DIR process performed by CPU21 of FIG. 図1のPC1におけるDIRコマンドの入力とその結果表示される仮想ディレクトリの例を示す図である。It is a figure which shows the example of the input of the DIR command in PC1 of FIG. 1, and the virtual directory displayed as a result. FTPプロトコルによるコマンドの送受信を用いた、本発明によるPC1とマスタECR2aとの処理シーケンスの一例を示す図である。It is a figure which shows an example of the processing sequence of PC1 and master ECR2a by this invention using transmission / reception of the command by FTP protocol. PC1からマスタECR2aに対してPUTコマンドにより集計処理起動が行われた際の、PC1、マスタECR2a及びスレーブECR2b間の処理シーケンスの一例を示す図である。It is a figure which shows an example of the process sequence between PC1, the master ECR2a, and the slave ECR2b at the time of aggregation process starting by PCT with respect to master ECR2a by the PUT command. マスタECR2aの現在の操作担当者がJOBの実行を許可された担当者であるか否かを判別する担当者判別手段を追加した場合のPC1とマスタECR2aのシーケンスを示す図である。It is a figure which shows the sequence of PC1 and master ECR2a at the time of adding the person in charge discrimination means which discriminate | determines whether the present operation person in charge of master ECR2a is the person in charge who was permitted to perform JOB.

符号の説明Explanation of symbols

100 ECRシステム
1 PC
2a マスタECR
2b スレーブECR
11 CPU
12 入力装置
13 RAM
14 伝送制御部
15 表示装置
16 記録装置
16a 記録媒体
17 バス
21 CPU
22 入力装置
23 RAM
24 伝送制御部
25 表示装置
26 印刷装置
27 記録装置
27a 記録媒体
28 ドロア
29 バス
100 ECR system 1 PC
2a Master ECR
2b Slave ECR
11 CPU
12 Input device 13 RAM
14 Transmission Control Unit 15 Display Device 16 Recording Device 16a Recording Medium 17 Bus 21 CPU
22 Input device 23 RAM
24 Transmission Control Unit 25 Display Device 26 Printing Device 27 Recording Device 27a Recording Medium 28 Drawer 29 Bus

Claims (4)

サーバ装置との間でファイル転送用プロトコルを用いてファイルの送受信を行う売上データ処理装置であって、
前記売上データを格納する格納手段と、
前記サーバ装置からファイル転送用プロトコルを用いて売上データを取得するコマンド及びファイルを受信する受信手段と、
前記サーバ装置より送信された点検若しくは精算モードを示す動作モードを記憶する記憶手段と、
前記売上データを取得するコマンドを受信した際に、前記記憶手段内の点検若しくは精算モードに応じて、且つ前記サーバ装置からファイル転送用プロトコルを用いて送信されてきたファイルの名称に基づくファイル形式で前記格納されている売上データを読み出す読出手段と、
前記読み出した売上データを前記サーバ装置へ送信する送信手段と
を備えたことを特徴とする売上データ処理装置。
A sales data processing device that transmits and receives files using a file transfer protocol with a server device,
Storage means for storing the sales data;
A receiving unit for receiving a command and a file for obtaining sales data using a file transfer protocol from the server device;
Storage means for storing an operation mode indicating a check or settlement mode transmitted from the server device;
Wherein upon receiving a command to the sales data obtaining, in response to said inspection or settlement mode in the storage means, and wherein based rather on the name of the file that has been transmitted by using a file transfer protocol from the server file Reading means for reading the stored sales data in a format ;
A sales data processing apparatus comprising: a transmission unit configured to transmit the read sales data to the server apparatus.
前記読出手段は前記記憶手段内の動作モードが精算モードであった場合には、前記格納されている売上データを読み出し後、前記売上データを前記格納手段から消去して精算を行うことを特徴とする請求項に記載の売上データ処理装置。 The reading means, when the operation mode in the storage means is a settlement mode, reads the stored sales data and then performs the settlement by deleting the sales data from the storage means. The sales data processing apparatus according to claim 1 . 前記売上データ処理装置における操作担当者が前記精算を許可された担当者であるか否かを判別する担当者判別手段を備え、
前記読出手段は、前記操作担当者が前記精算を許可された担当者である場合に、前記精算を行うことを特徴とする請求項2に記載の売上データ処理装置。
A person-in-charge determining means for determining whether or not the person in charge of operation in the sales data processing apparatus is a person in charge who is permitted to perform the settlement;
3. The sales data processing apparatus according to claim 2, wherein the reading unit performs the payment when the person in charge of operation is a person in charge who is permitted to perform the payment.
サーバ装置との間でファイル転送用プロトコルを用いてファイルの送受信を行う売上データ処理装置のコンピュータを、
前記売上データを格納する格納手段、
前記サーバ装置からファイル転送用プロトコルを用いて売上データを取得するコマンド及びファイルを受信する受信手段、
前記サーバ装置より送信された点検若しくは精算モードを示す動作モードを記憶する記憶手段、
前記売上データを取得するコマンドを受信した際に、前記記憶手段内の点検若しくは精算モードに応じて、且つ前記サーバ装置からファイル転送用プロトコルを用いて送信されてきたファイルの名称に基づくファイル形式で前記格納されている売上データを読み出す読出手段、
前記読み出した売上データを前記サーバ装置へ送信する送信手段
として機能させるためのプログラム。
A sales data processing computer that sends and receives files to and from a server device using a file transfer protocol ;
Storage means for storing the sales data;
A receiving means for receiving a command and a file for acquiring sales data using a file transfer protocol from the server device;
Storage means for storing an operation mode indicating a check or settlement mode transmitted from the server device;
Wherein upon receiving a command to the sales data obtaining, in response to said inspection or settlement mode in the storage means, and wherein based rather on the name of the file that has been transmitted by using a file transfer protocol from the server file A reading means for reading out the stored sales data in a format ;
A program for causing the read sales data to function as transmission means for transmitting to the server device.
JP2005126981A 2005-04-25 2005-04-25 Sales data processing apparatus and program Active JP4517930B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005126981A JP4517930B2 (en) 2005-04-25 2005-04-25 Sales data processing apparatus and program
US11/408,227 US8447655B2 (en) 2005-04-25 2006-04-20 Data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005126981A JP4517930B2 (en) 2005-04-25 2005-04-25 Sales data processing apparatus and program

Publications (3)

Publication Number Publication Date
JP2006302213A JP2006302213A (en) 2006-11-02
JP2006302213A5 JP2006302213A5 (en) 2010-01-21
JP4517930B2 true JP4517930B2 (en) 2010-08-04

Family

ID=37470393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005126981A Active JP4517930B2 (en) 2005-04-25 2005-04-25 Sales data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4517930B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014285A (en) * 1999-04-28 2001-01-19 Fujitsu Ltd Data transfer management system, data transfer system, transfer history collection device, and recording medium
JP2001243545A (en) * 2000-03-01 2001-09-07 Sharp Corp Key entry device and sales managing device
JP2003067847A (en) * 2001-08-22 2003-03-07 Sharp Corp Device for supporting sales management and system for sales management
JP2003067844A (en) * 2001-08-22 2003-03-07 Sharp Corp Device for supporting sales management
JP2004133717A (en) * 2002-10-11 2004-04-30 Toshiba Tec Corp Product sales data processing device
JP2004272534A (en) * 2003-03-07 2004-09-30 Casio Comput Co Ltd Sales data processing device and program
JP2004289739A (en) * 2003-03-25 2004-10-14 Yamaha Corp Parameter setting method for network apparatus, parameter setting apparatus and program
JP2004326700A (en) * 2003-04-28 2004-11-18 Toshiba Tec Corp Product sales data processing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168170A (en) * 1992-11-27 1994-06-14 Tokyo Electric Co Ltd Data transfer processor
JP3257102B2 (en) * 1992-12-11 2002-02-18 カシオ計算機株式会社 Sales data processing device
JPH1011380A (en) * 1996-06-27 1998-01-16 Tec Corp Terminal managing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014285A (en) * 1999-04-28 2001-01-19 Fujitsu Ltd Data transfer management system, data transfer system, transfer history collection device, and recording medium
JP2001243545A (en) * 2000-03-01 2001-09-07 Sharp Corp Key entry device and sales managing device
JP2003067847A (en) * 2001-08-22 2003-03-07 Sharp Corp Device for supporting sales management and system for sales management
JP2003067844A (en) * 2001-08-22 2003-03-07 Sharp Corp Device for supporting sales management
JP2004133717A (en) * 2002-10-11 2004-04-30 Toshiba Tec Corp Product sales data processing device
JP2004272534A (en) * 2003-03-07 2004-09-30 Casio Comput Co Ltd Sales data processing device and program
JP2004289739A (en) * 2003-03-25 2004-10-14 Yamaha Corp Parameter setting method for network apparatus, parameter setting apparatus and program
JP2004326700A (en) * 2003-04-28 2004-11-18 Toshiba Tec Corp Product sales data processing device

Also Published As

Publication number Publication date
JP2006302213A (en) 2006-11-02

Similar Documents

Publication Publication Date Title
JP2011134159A (en) Sales data processing system and program
CN107133828B (en) Bill server and control method thereof, electronic bill system and terminal device
CN112561607B (en) Data management system, data management device and storage medium
JP4517931B2 (en) Sales data processing apparatus and program
JP4517932B2 (en) Sales data processing apparatus and program
US8447655B2 (en) Data processing apparatus
JP4517930B2 (en) Sales data processing apparatus and program
JP5454031B2 (en) Information processing apparatus, information processing method, and information processing program
JP6872065B2 (en) Sales data processing equipment and programs
JP6754915B1 (en) Receipt data management device and its program, and receipt data management method
JP2010157067A (en) Device, method and program for managing document
JP5359151B2 (en) Sales data processing apparatus and program
JP6930006B2 (en) Receipt data management device and its program, and receipt data management method
JP2021152722A (en) Privilege management device and control program therefor, privilege management method
JP7041221B2 (en) Electronic receipt system
JP2015022349A (en) Store server and program for store server
JP2014167830A (en) Commercial transaction processor and receipt detail retrieval program
JP7229301B2 (en) Product data processing device and program
JP3873572B2 (en) Copy apparatus and computer-readable recording medium
JP2013030095A (en) Commodity sales data processor and receipt details retrieval program
JP6936662B2 (en) Inspection status acquisition device, inspection status acquisition method, and program
JP2004326591A (en) Merchandise ordering device, control method, and program
JP2021131747A (en) Information processor and control program for the same
JP6382389B2 (en) Information processing apparatus and information processing program
JP2021182434A (en) Information terminal and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100317

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: 20100427

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100510

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4517930

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130528

Year of fee payment: 3