Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6863110B2 - Sales data processing equipment and programs - Google Patents
[go: Go Back, main page]

JP6863110B2 - Sales data processing equipment and programs - Google Patents

Sales data processing equipment and programs Download PDF

Info

Publication number
JP6863110B2
JP6863110B2 JP2017117501A JP2017117501A JP6863110B2 JP 6863110 B2 JP6863110 B2 JP 6863110B2 JP 2017117501 A JP2017117501 A JP 2017117501A JP 2017117501 A JP2017117501 A JP 2017117501A JP 6863110 B2 JP6863110 B2 JP 6863110B2
Authority
JP
Japan
Prior art keywords
mode
mobile terminal
data processing
communication
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2017117501A
Other languages
Japanese (ja)
Other versions
JP2019003398A (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 JP2017117501A priority Critical patent/JP6863110B2/en
Publication of JP2019003398A publication Critical patent/JP2019003398A/en
Application granted granted Critical
Publication of JP6863110B2 publication Critical patent/JP6863110B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

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

従来、商品を販売する店舗に設置されて、顧客に販売した商品の金額、個数等の取引データを登録するECR(Electronic Cash Resister)等の売上データ処理装置が知られている。
上記の売上データ処理装置において、スマートフォンなどの端末装置(携帯端末)と無線通信を確立し、情報交換を可能とする通信部を備える構成が開示されている(例えば、特許文献1、2参照)。
Conventionally, a sales data processing device such as an ECR (Electronic Cash Resister) that is installed in a store that sells products and registers transaction data such as the amount and quantity of products sold to customers is known.
The above-mentioned sales data processing device discloses a configuration including a communication unit that establishes wireless communication with a terminal device (mobile terminal) such as a smartphone and enables information exchange (see, for example, Patent Documents 1 and 2). ..

従来の売上データ処理装置は、商品の単価やメニュー等の設定データを設定するための設定モード、売り上げ(取引データ)の登録を行うための登録モード、売り上げの精算を行うための精算モード等の各種モードを備えており、オペレーター(店員)やオーナーが用途に応じて所望するモードに切り替えて操作を行う。 The conventional sales data processing device has a setting mode for setting setting data such as a unit price of a product and a menu, a registration mode for registering sales (transaction data), a settlement mode for settlement of sales, and the like. It is equipped with various modes, and the operator (clerk) or owner switches to the desired mode according to the application and operates.

特開2002−63652号公報JP-A-2002-63652 特開2004−185492号公報Japanese Unexamined Patent Publication No. 2004-185492

しかしながら、上記特許文献1、2記載の売上データ処理装置は、取引データを登録している最中に設定データが送信された場合、登録処理中のデータの書き換えが行われるおそれがあり、登録処理に支障を来すおそれがある。 However, in the sales data processing device described in Patent Documents 1 and 2, if the setting data is transmitted while the transaction data is being registered, the data during the registration process may be rewritten, and the registration process is performed. May interfere with the data.

本発明の課題は、登録処理を支障なく行わせることである。 An object of the present invention is to allow the registration process to be performed without any trouble.

上記課題を解決するため、本発明に係る売上データ処理装置は、所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段と、前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段と、を備え、前記第1の通信手段は、前記所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段であり、前記第2の通信手段は、前記所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段であることを特徴とする。
また、本発明に係るプログラムは、コンピュータを、所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段、前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段、として機能させ、前記第1の通信手段は、前記所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段であり、前記第2の通信手段は、前記所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段であることを特徴とする。
In order to solve the above problems, the sales data processing device according to the present invention includes a registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means, and transaction data by the registration means. the configuration data applied during the registration, e Bei a, a setting unit capable of setting by wireless communication via a different second communication means with said first communication means from said predetermined terminal apparatus, The first communication means is a wide range communication means capable of a wide range of wireless communication with the predetermined terminal device, and the second communication means has a narrow range with the predetermined terminal device. It is characterized by being a narrow range communication means capable of wireless communication limited to.
Further, the program according to the present invention is applied to a registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means, and when registering transaction data by the registration means. The setting data to be set functions as a setting means that can be set by wireless communication via a second communication means different from the first communication means from the predetermined terminal device, and the first communication means , A wide-range communication means capable of a wide range of wireless communication with the predetermined terminal device, and the second communication means is a wireless communication limited to a narrow range with the predetermined terminal device. It is characterized by being a possible narrow range communication means.

本発明によれば、登録処理を支障なく行わせることができる。 According to the present invention, the registration process can be performed without any trouble.

本実施形態に係る売上データ処理システムの概略構成を示す接続図である。It is a connection diagram which shows the schematic structure of the sales data processing system which concerns on this embodiment. 携帯端末の主制御構成を示すブロック図である。It is a block diagram which shows the main control composition of a mobile terminal. 売上データ処理装置の主制御構成を示すブロック図である。It is a block diagram which shows the main control composition of the sales data processing apparatus. 売上データ処理装置の概略構成を示す外観図である。It is an external view which shows the schematic structure of the sales data processing apparatus. モードスイッチの構成を示す平面図である。It is a top view which shows the structure of a mode switch. モードキーの構成を示す図である。It is a figure which shows the structure of a mode key. 売上データ処理装置が備える各モードの動作を示す図である。It is a figure which shows the operation of each mode provided in the sales data processing apparatus. 精算モードの動作を示すフローチャートである。It is a flowchart which shows the operation of the settlement mode. 精算モードの動作を示すフローチャートである。It is a flowchart which shows the operation of the settlement mode. 精算モードの動作時に携帯端末の表示部に表示される画面例を示す図である。It is a figure which shows the screen example which is displayed on the display part of a mobile terminal at the time of operation of the settlement mode. 印字された精算レポートの一例を示す図である。It is a figure which shows an example of the printed settlement report. 印字された通信結果の一例を示す図である。It is a figure which shows an example of the printed communication result. 登録モードの動作を示すフローチャートである。It is a flowchart which shows the operation of the registration mode. 第1の登録処理を示すフローチャートである。It is a flowchart which shows the 1st registration process. 第2の登録処理を示すフローチャートである。It is a flowchart which shows the 2nd registration process. 第3の登録処理を示すフローチャートである。It is a flowchart which shows the 3rd registration process. 設定モードの動作を示すフローチャートである。It is a flowchart which shows the operation of a setting mode. 売上データ処理装置のモードと携帯端末のアプリとが対応していない場合であっても無線通信が確立されるケースで行われる処理を示すフローチャートである。It is a flowchart which shows the process performed in the case where wireless communication is established even when the mode of a sales data processing device and the application of a mobile terminal do not correspond. 売上データ処理装置の構成の一変形例を示す図である。It is a figure which shows one modification of the structure of the sales data processing apparatus.

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

[1.構成の説明]
[1−1.システム構成の説明]
まず、本実施形態に係る売上データ処理システム1の構成について説明する。
売上データ処理システム1は、図1に示すように、サーバ装置10と、少なくとも1台の携帯端末(端末装置)20と、少なくとも1台の売上データ処理装置30と、を備えて構成されている。サーバ装置10及び携帯端末20は、通信ネットワークNに接続されている。通信ネットワークNは、インターネットであるものとするが、LAN(Local Area Network)等、他のネットワークとしてもよい。また、携帯端末20及び売上データ処理装置30は、Bluetooth(登録商標)等の狭範囲無線通信又はWi−Fi(登録商標)等の広範囲無線通信を行う。
[1. Configuration description]
[1-1. Explanation of system configuration]
First, the configuration of the sales data processing system 1 according to the present embodiment will be described.
As shown in FIG. 1, the sales data processing system 1 includes a server device 10, at least one mobile terminal (terminal device) 20, and at least one sales data processing device 30. .. The server device 10 and the mobile terminal 20 are connected to the communication network N. The communication network N is assumed to be the Internet, but may be another network such as a LAN (Local Area Network). Further, the mobile terminal 20 and the sales data processing device 30 perform narrow-range wireless communication such as Bluetooth (registered trademark) or wide-range wireless communication such as Wi-Fi (registered trademark).

サーバ装置10は、クラウド上のサーバ装置であり、携帯端末20を介して売上データ処理装置30から送信される商品の取引データ等を管理する。 The server device 10 is a server device on the cloud, and manages transaction data and the like of products transmitted from the sales data processing device 30 via the mobile terminal 20.

携帯端末20は、スマートフォン等の携帯型端末機器であり、売上データ処理装置30から送信される商品の取引データ等をサーバ装置10に送信する。携帯端末20には、売上データ処理装置30との無線通信により、売上データ処理装置30が備える所定のモード(例えば、設定モード、登録モード、精算モード)の機能を実現する各種アプリケーション(例えば、設定アプリ、オーダーエントリーアプリ(登録アプリ)、精算アプリ)がインストールされている。 The mobile terminal 20 is a portable terminal device such as a smartphone, and transmits transaction data and the like of products transmitted from the sales data processing device 30 to the server device 10. The mobile terminal 20 has various applications (for example, setting) that realize the functions of predetermined modes (for example, setting mode, registration mode, settlement mode) included in the sales data processing device 30 by wireless communication with the sales data processing device 30. The application, order entry application (registration application), payment application) are installed.

売上データ処理装置30は、個人商店、スーパーマーケット、飲食店等の店舗に設置されるECR等であり、オペレータの操作により顧客に販売・提供した商品の金額、個数等の取引データを登録する装置である。売上データ処理装置30は、1つの店舗に少なくとも1台設置される。サーバ装置10は、複数の店舗の取引データを一元的に管理することが可能である。 The sales data processing device 30 is an ECR or the like installed in a store such as a private store, a supermarket, or a restaurant, and is a device for registering transaction data such as the amount and quantity of products sold / provided to customers by the operation of an operator. is there. At least one sales data processing device 30 is installed in one store. The server device 10 can centrally manage transaction data of a plurality of stores.

[1−2.携帯端末の構成の説明]
次に、携帯端末20の構成について説明する。
携帯端末20は、図2に示すように、CPU21と、RAM22と、ROM23と、撮像部24と、音声出力部25と、操作部26と、表示部27と、狭範囲通信部28と、広範囲通信部29と、を備えて構成されている。
[1-2. Explanation of mobile terminal configuration]
Next, the configuration of the mobile terminal 20 will be described.
As shown in FIG. 2, the mobile terminal 20 includes a CPU 21, a RAM 22, a ROM 23, an imaging unit 24, an audio output unit 25, an operation unit 26, a display unit 27, a narrow range communication unit 28, and a wide range. It is configured to include a communication unit 29.

CPU21は、携帯端末20の各部を制御する。CPU21は、各種プログラムのうち指定されたプログラムをROM23から読み出してRAM22に展開し、展開されたプログラムとの協働で各種処理を実行する。 The CPU 21 controls each part of the mobile terminal 20. The CPU 21 reads a designated program from the various programs from the ROM 23, expands the program into the RAM 22, and executes various processes in cooperation with the expanded program.

RAM22は、例えば、揮発性の半導体メモリであり、各種データ及びプログラムを格納するワークエリアが形成される。
ROM23は、各種データ及び各種プログラムを記憶する読み出し専用のメモリである。ROM23は、CPU21で実行されるシステムプログラム、設定アプリ、登録アプリ、精算アプリ等の各種アプリケーションプログラム、Webブラウザ、これらのプログラムの実行に必要なデータ等を記憶する。
The RAM 22 is, for example, a volatile semiconductor memory, and a work area for storing various data and programs is formed.
The ROM 23 is a read-only memory that stores various data and various programs. The ROM 23 stores various application programs such as a system program, a setting application, a registration application, and a settlement application executed by the CPU 21, a Web browser, and data necessary for executing these programs.

撮像部24は、ユーザ操作に従って被写体を撮像し、画像データを生成する。
音声出力部25は、D/A変換器、アンプ、スピーカ等を備えて構成され、RAM22又はROM23から出力された音声データをアナログの音声信号に変換して音声出力する。
The image capturing unit 24 captures a subject according to a user operation and generates image data.
The audio output unit 25 is configured to include a D / A converter, an amplifier, a speaker, and the like, and converts audio data output from the RAM 22 or ROM 23 into an analog audio signal for audio output.

操作部26は、例えば、ホームボタン等からなるキー入力部と、表示部27と一体的に形成されたタッチパネルと、を備え、ユーザからの操作入力を受け付けて、操作入力に応じた操作信号をCPU21へと出力する。
表示部27は、例えば、LCD(Liquid Crystal Display)、有機EL(Electro Luminescence)素子を用いたFPD(Flat Panel Display)などのディスプレイを備え、CPU21から出力された表示制御信号に基づいた画像を表示画面に表示する。
The operation unit 26 includes, for example, a key input unit including a home button and a touch panel integrally formed with the display unit 27, receives an operation input from a user, and outputs an operation signal corresponding to the operation input. Output to CPU 21.
The display unit 27 includes, for example, a display such as an LCD (Liquid Crystal Display) or an FPD (Flat Panel Display) using an organic EL (Electro Luminescence) element, and displays an image based on a display control signal output from the CPU 21. Display on the screen.

狭範囲通信部28は、アンテナ、復調回路、信号処理回路等により構成され、Bluetooth(登録商標)等の無線通信方式により、売上データ処理装置30と狭範囲の無線通信を行う。
広範囲通信部29は、アンテナ、復調回路、信号処理回路等により構成され、Wi−Fi(登録商標)等の無線通信方式により、売上データ処理装置30と広範囲の無線通信を行う。
The narrow-range communication unit 28 is composed of an antenna, a demodulation circuit, a signal processing circuit, and the like, and performs narrow-range wireless communication with the sales data processing device 30 by a wireless communication method such as Bluetooth (registered trademark).
The wide-range communication unit 29 is composed of an antenna, a demodulation circuit, a signal processing circuit, and the like, and performs a wide-range wireless communication with the sales data processing device 30 by a wireless communication method such as Wi-Fi (registered trademark).

[1−3.売上データ処理装置の構成の説明]
次に、売上データ処理装置30の構成について説明する。
売上データ処理装置30は、図3及び図4に示すように、CPU31と、RAM32と、ROM33と、表示部34と、客用表示部35と、印刷部36と、ドロア37と、狭範囲通信部38と、広範囲通信部39と、記憶部40と、入力部41と、モードスイッチ42と、を備えて構成されている。
[1-3. Explanation of the configuration of the sales data processing device]
Next, the configuration of the sales data processing device 30 will be described.
As shown in FIGS. 3 and 4, the sales data processing device 30 communicates with the CPU 31, the RAM 32, the ROM 33, the display unit 34, the customer display unit 35, the printing unit 36, and the drawer 37 in a narrow range. It is configured to include a unit 38, a wide range communication unit 39, a storage unit 40, an input unit 41, and a mode switch 42.

CPU31は、売上データ処理装置30の各部を制御する。CPU31は、各種プログラムのうち指定されたプログラムをROM33から読み出してRAM32に展開し、展開されたプログラムとの協働で各種処理を実行する。 The CPU 31 controls each part of the sales data processing device 30. The CPU 31 reads a designated program from the various programs from the ROM 33, expands the program into the RAM 32, and executes various processes in cooperation with the expanded program.

RAM32は、例えば、揮発性の半導体メモリであり、各種データ及びプログラムを格納するワークエリアが形成される。
ROM33は、各種データ及び各種プログラムを記憶する読み出し専用のメモリである。
The RAM 32 is, for example, a volatile semiconductor memory, and a work area for storing various data and programs is formed.
The ROM 33 is a read-only memory that stores various data and various programs.

表示部34は、図4(A)に示すように、売上データ処理装置30を操作するオペレータやオーナーが表示内容(商品の金額、合計金額等の情報)を視認するための表示装置である。表示部34は、LCD、ELディスプレイなどのディスプレイを備え、CPU31から出力された表示制御信号に基づいた画像を表示画面に表示する。
客用表示部35は、図4(B)に示すように、商品を購入した顧客が表示内容(商品の金額、合計金額等の情報)を視認するための表示装置である。客用表示部35は、LCD、ELディスプレイなどのディスプレイを備え、CPU31から出力された表示制御信号に基づいた画像を表示画面に表示する。
As shown in FIG. 4A, the display unit 34 is a display device for the operator or owner who operates the sales data processing device 30 to visually recognize the display contents (information such as the amount of goods and the total amount of money). The display unit 34 includes a display such as an LCD or an EL display, and displays an image based on a display control signal output from the CPU 31 on the display screen.
As shown in FIG. 4B, the customer display unit 35 is a display device for a customer who has purchased a product to visually recognize display contents (information such as the price of the product and the total price). The customer display unit 35 includes a display such as an LCD or an EL display, and displays an image based on a display control signal output from the CPU 31 on the display screen.

印刷部36は、CPU31の制御により、ロール紙等の用紙に、レシート、電子ジャーナル等のデータを印刷するサーマルプリンタ等の印刷部である。また、印刷部36は、印刷後にロール紙をカットして出力する機構を有する。
ドロア37は、現金、商品券等を格納する引き出しである。ドロア37は、CPU31の制御により、例えば、商品登録の締め(精算)時に、引き出しが開放される。
The printing unit 36 is a printing unit such as a thermal printer that prints data such as receipts and electronic journals on paper such as roll paper under the control of the CPU 31. Further, the printing unit 36 has a mechanism for cutting and outputting the roll paper after printing.
The drawer 37 is a drawer for storing cash, gift certificates, and the like. The drawer 37 of the drawer 37 is opened by the control of the CPU 31, for example, at the time of closing (settlement) of product registration.

狭範囲通信部(狭範囲通信手段;第2の通信手段)38は、アンテナ、復調回路、信号処理回路等により構成され、Bluetooth(登録商標)等の無線通信方式により、携帯端末20との間で狭範囲に限定された無線通信を行う。
広範囲通信部(広範囲通信手段;第1の通信手段)39は、アンテナ、復調回路、信号処理回路等により構成され、Wi−Fi(登録商標)等の無線通信方式により、携帯端末20との間で広範囲に及ぶ無線通信を行う。
The narrow-range communication unit (narrow-range communication means; second communication means) 38 is composed of an antenna, a demodulation circuit, a signal processing circuit, and the like, and communicates with the mobile terminal 20 by a wireless communication method such as Bluetooth (registered trademark). Performs wireless communication limited to a narrow range.
The wide-range communication unit (wide-range communication means; first communication means) 39 is composed of an antenna, a demodulation circuit, a signal processing circuit, and the like, and communicates with the mobile terminal 20 by a wireless communication method such as Wi-Fi (registered trademark). Performs a wide range of wireless communication.

記憶部40は、情報の書き込み及び読み出しが可能な記憶部であり、バッテリーバックアップされたRAM、フラッシュメモリ等で構成される。記憶部40には、取引データ、各種設定情報等が記憶される。 The storage unit 40 is a storage unit capable of writing and reading information, and is composed of a battery-backed RAM, a flash memory, and the like. Transaction data, various setting information, and the like are stored in the storage unit 40.

入力部41は、各種機能キーを備えたキーボードを有し、オペレータによる各キーの押下入力を受け付けてその操作情報をCPU31に出力する。機能キーとしては、例えば、テンキー、乗算/日時キー、小計キー、戻しキー、部門キー、PLU(Price Look Up)キー等のほか、券売りキー、信用売りキー等の各締めキーが備えられている。 The input unit 41 has a keyboard provided with various function keys, receives press input of each key by the operator, and outputs the operation information to the CPU 31. Function keys include, for example, a numeric keypad, a multiplication / date / time key, a subtotal key, a return key, a department key, a PLU (Price Look Up) key, and other closing keys such as a ticket selling key and a credit selling key. There is.

モードスイッチ42は、売上データ処理装置30のモードを設定モード、戻モード、OFFモード、登録モード、電卓モード、点検モード、精算モードのいずれかに切り替えるためのスイッチである。
設定モードは、売上データ処理装置30の装置使用に係る各種設定(例えば、商品単価の設定等)を行うモードである。戻モードは、返品処理を行うモードである。OFFモードは、売上データ処理装置30の電源をオフするモードである。登録モードは、購入された商品の取引データの登録処理を行うモードである。電卓モードは、通常の電卓と同様に計算を行うモードである。点検モードは、登録された取引データの点検処理を行うモードである。精算モードは、閉店後に1日の売上の精算処理を行うモードである。
The mode switch 42 is a switch for switching the mode of the sales data processing device 30 to any one of a setting mode, a return mode, an OFF mode, a registration mode, a calculator mode, an inspection mode, and a settlement mode.
The setting mode is a mode for performing various settings (for example, setting a product unit price, etc.) related to the use of the sales data processing device 30. The return mode is a mode for processing returns. The OFF mode is a mode in which the power of the sales data processing device 30 is turned off. The registration mode is a mode for registering transaction data of purchased products. The calculator mode is a mode in which calculations are performed in the same manner as a normal calculator. The inspection mode is a mode for inspecting the registered transaction data. The settlement mode is a mode in which the daily sales are settled after the store is closed.

売上データ処理装置30が備えるモードのうち、設定モード、登録モード及び精算モードは、通信部(狭範囲通信部38又は広範囲通信部39)の電源をオンして携帯端末20との無線通信を行うモードである。より具体的には、登録モードは、広範囲通信部39の電源をオンして携帯端末20との間で広範囲通信部39での無線通信が許容される一方で狭範囲通信部38での無線通信が禁止されるモード(第2のモード)であり、設定モード及び精算モードは、狭範囲通信部38の電源をオンして携帯端末20との間で狭範囲通信部38での無線通信が許容される一方で広範囲通信部39での無線通信が禁止されるモード(第1のモード)である。なお、第2のモードは、必ずしも狭範囲通信部38での無線通信を禁止する必要はなく、少なくとも広範囲通信部39での無線通信が許容されていればよい。ここで、登録モードが携帯端末20との広範囲の無線通信を行うのは、携帯端末20でオーダー(注文)を取る際に、売上データ処理装置30から遠い客のオーダーを取り易くすることができるからである。また、設定モードが携帯端末20との狭範囲の無線通信を行うのは、登録モードで登録処理を行っている最中に、同じ無線(広範囲の無線)を使って通信(例えば、設定データの送信)を行いたくないからである。また、精算モードが携帯端末20との狭範囲の無線通信を行うのは、ドロア37を開けないと精算処理を行うことができないからである。
一方、残りの戻モード、OFFモード、電卓モード及び点検モードは、通信部の電源をオフして携帯端末20との無線通信を行わないモードである。
Among the modes included in the sales data processing device 30, the setting mode, the registration mode, and the settlement mode turn on the power of the communication unit (narrow range communication unit 38 or wide range communication unit 39) to perform wireless communication with the mobile terminal 20. The mode. More specifically, in the registration mode, the power of the wide-range communication unit 39 is turned on and wireless communication in the wide-range communication unit 39 is permitted with the mobile terminal 20, while wireless communication in the narrow-range communication unit 38. Is a mode (second mode) in which is prohibited, and in the setting mode and the settlement mode, the power of the narrow range communication unit 38 is turned on and wireless communication with the mobile terminal 20 is permitted in the narrow range communication unit 38. On the other hand, this is a mode (first mode) in which wireless communication in the wide range communication unit 39 is prohibited. In the second mode, it is not always necessary to prohibit the wireless communication in the narrow range communication unit 38, and at least the wireless communication in the wide range communication unit 39 may be allowed. Here, the fact that the registration mode performs a wide range of wireless communication with the mobile terminal 20 makes it easy to take an order for a customer far from the sales data processing device 30 when taking an order (order) with the mobile terminal 20. Because. Further, the setting mode performs wireless communication in a narrow range with the mobile terminal 20 by using the same wireless (wide range wireless) during the registration process in the registration mode (for example, of the setting data). This is because I do not want to send). Further, the reason why the settlement mode performs wireless communication in a narrow range with the mobile terminal 20 is that the settlement process cannot be performed unless the drawer 37 is opened.
On the other hand, the remaining return mode, OFF mode, calculator mode, and inspection mode are modes in which the power of the communication unit is turned off and wireless communication with the mobile terminal 20 is not performed.

モードスイッチ42は、図5に示すように、モードキーK1(図6参照)を差し込み可能な鍵穴42aを備えており、モードキーK1を鍵穴42aに差した状態でモードキーK1を回転させて位置を切り替えることで、その位置に対応したモードに切り替える操作を行うことができる。すなわち、モードスイッチ42は、差し込まれたモードキーK1を回転可能に構成され、差し込まれたモードキーK1の回転位置に対応したモードに切り替える。
モードキーK1としては、オペレータが使用するオペレータキーK11(図6(A)参照)及びオーナーが使用するオーナーキーK12(図6(B)参照)の2種類のキーが用いられる。
As shown in FIG. 5, the mode switch 42 includes a keyhole 42a into which the mode key K1 (see FIG. 6) can be inserted, and the mode key K1 is rotated and positioned with the mode key K1 inserted into the keyhole 42a. By switching, the operation to switch to the mode corresponding to the position can be performed. That is, the mode switch 42 is configured to rotate the inserted mode key K1 and switches to a mode corresponding to the rotation position of the inserted mode key K1.
As the mode key K1, two types of keys, an operator key K11 used by the operator (see FIG. 6A) and an owner key K12 used by the owner (see FIG. 6B), are used.

モードスイッチ42は、差し込まれたモードキーK1の種類に応じて、モードキーK1の回転可能範囲が異なるように構成されている。例えば、モードスイッチ42は、差し込まれた鍵がオペレータキーK11である場合にオーナーキーK12である場合よりも鍵の回転可能範囲を狭く制限するように構成されている。
具体的には、オペレータキーK11は、売上データ処理装置30が備えるモードのうち、OFFモード、登録モード及び電卓モードに切り替えることができる。すなわち、オペレータは、売上データ処理装置30が備えるモードのうち、OFFモード、登録モード及び電卓モードを実施することができる。
一方、オーナーキーK12は、売上データ処理装置30が備える全てのモードに切り替えることができる。すなわち、オーナーは、売上データ処理装置30が備える全てのモードを実施することができる。
なお、図5に示す符号R1はオペレータキーK11の回転可能範囲を、符号R2はオーナーキーK12の回転可能範囲を、それぞれ示している。図5に示す例では、オーナーキーK12の回転可能範囲R2の範囲内に、オペレータキーK11の回転可能範囲R1が位置するように設定されている。
The mode switch 42 is configured so that the rotatable range of the mode key K1 differs depending on the type of the inserted mode key K1. For example, the mode switch 42 is configured to limit the rotatable range of the key when the inserted key is the operator key K11 to be narrower than when the key is the owner key K12.
Specifically, the operator key K11 can be switched to the OFF mode, the registration mode, and the calculator mode among the modes included in the sales data processing device 30. That is, the operator can execute the OFF mode, the registration mode, and the calculator mode among the modes included in the sales data processing device 30.
On the other hand, the owner key K12 can be switched to all modes included in the sales data processing device 30. That is, the owner can implement all the modes included in the sales data processing device 30.
The reference numeral R1 shown in FIG. 5 indicates the rotatable range of the operator key K11, and the reference numeral R2 indicates the rotatable range of the owner key K12. In the example shown in FIG. 5, the rotatable range R1 of the operator key K11 is set to be located within the range of the rotatable range R2 of the owner key K12.

モードスイッチ42は、図5に示すように、時計回りに、点検モードM1、戻モードM2、電卓モードM3、OFFモードM4、登録モードM5、精算モードM6、設定モードM7の順に、各モードに切り替えるための回転位置が配列されている。
また、モードスイッチ42は、OFFモードM4の位置でのみモードキーK1を差し込むことができるように構成されているとともに、OFFモードM4以外の位置、すなわち、点検モードM1の位置、戻モードM2の位置、電卓モードM3の位置、登録モードM5の位置、精算モードM6の位置、設定モードM7の位置では、いずれもモードキーK1を抜くことができないように構成されている。これは、オペレータキーK11であっても、オーナーキーK12であっても同様である。
以下、説明の便宜上、「モードに切り替えるための回転位置」を、単に「モード」と略記することがある。
As shown in FIG. 5, the mode switch 42 switches clockwise to each mode in the order of inspection mode M1, return mode M2, calculator mode M3, OFF mode M4, registration mode M5, settlement mode M6, and setting mode M7. The rotation positions for are arranged.
Further, the mode switch 42 is configured so that the mode key K1 can be inserted only at the position of the OFF mode M4, and the position other than the OFF mode M4, that is, the position of the inspection mode M1 and the position of the return mode M2. , The position of the calculator mode M3, the position of the registration mode M5, the position of the settlement mode M6, and the position of the setting mode M7 are all configured so that the mode key K1 cannot be pulled out. This is the same regardless of whether the operator key K11 or the owner key K12 is used.
Hereinafter, for convenience of explanation, the "rotation position for switching to the mode" may be simply abbreviated as "mode".

本実施形態では、オペレータキーK11で切り替え可能な3つのモード(電卓モードM3、OFFモードM4及び登録モードM5)が隣接するように配列されている。したがって、オペレータキーK11によるモードの切り替え操作を問題なく実施することができる。 In this embodiment, three modes (calculator mode M3, OFF mode M4, and registration mode M5) that can be switched by the operator key K11 are arranged so as to be adjacent to each other. Therefore, the mode switching operation by the operator key K11 can be performed without any problem.

また、本実施形態では、通信部の電源をオンして携帯端末20との無線通信を行うモード(登録モードM5、精算モードM6及び設定モードM7)に切り替えるための回転位置(第1回転位置)と、通信部の電源をオフして携帯端末20との無線通信を行わないモード(点検モードM1、戻モードM2、電卓モードM3及びOFFモードM4)に切り替えるための回転位置(第2回転位置)とを備えており、第2回転位置は、第1回転位置間に非介在的に位置するように設定されている。したがって、例えば、「通信部の電源をオンするモード」から別の「通信部の電源をオンするモード」に切り替える際、両者の間に「通信部の電源をオフするモード」が配列されることがないため、通信部の電源を不必要にオンオフすることなくモードの切り替え操作を実施することができる。 Further, in the present embodiment, the rotation position (first rotation position) for switching to the mode (registration mode M5, settlement mode M6, and setting mode M7) in which the power of the communication unit is turned on and wireless communication with the mobile terminal 20 is performed. And the rotation position (second rotation position) for switching to the mode (inspection mode M1, return mode M2, calculator mode M3 and OFF mode M4) in which the power of the communication unit is turned off and wireless communication with the mobile terminal 20 is not performed. The second rotation position is set so as to be located non-interveningly between the first rotation positions. Therefore, for example, when switching from the "mode for turning on the power of the communication unit" to another "mode for turning on the power of the communication unit", the "mode for turning off the power of the communication unit" is arranged between the two. Therefore, the mode switching operation can be performed without turning the power of the communication unit on and off unnecessarily.

また、本実施形態では、狭範囲通信部38の電源をオンして携帯端末20との狭範囲の無線通信を行うモード(精算モードM6及び設定モードM7)に切り替えるための回転位置(第3回転位置)と、広範囲通信部39の電源をオンして携帯端末20との広範囲の無線通信を行うモード(登録モードM5)に切り替えるための回転位置(第4回転位置)と、が互いに非介在的に配列されている。したがって、例えば、「狭範囲通信部38の電源をオンするモード」から別の「狭範囲通信部38の電源をオンするモード」に切り替える際、両者の間に「広範囲通信部39の電源をオンするモード」が配列されることがないため、広範囲通信部39の電源を不必要にオンオフすることなくモードの切り替え操作を実施することができる。 Further, in the present embodiment, the rotation position (third rotation) for switching to the mode (settlement mode M6 and setting mode M7) for turning on the power of the narrow range communication unit 38 and performing the narrow range wireless communication with the mobile terminal 20. Position) and the rotation position (fourth rotation position) for switching to the mode (registration mode M5) for turning on the power of the wide range communication unit 39 and performing wide range wireless communication with the mobile terminal 20 are non-intervening with each other. It is arranged in. Therefore, for example, when switching from the "mode for turning on the power of the narrow range communication unit 38" to another "mode for turning on the power of the narrow range communication unit 38", "the power of the wide range communication unit 39 is turned on" between the two. Since the "modes to be used" are not arranged, the mode switching operation can be performed without unnecessarily turning on / off the power supply of the wide range communication unit 39.

[2.動作の説明]
次に、本実施形態に係る売上データ処理装置30が備える各モードの動作について、図7を参照して簡潔に説明する。なお、図7においては、オペレータキーK11により、電卓モードM3、OFFモードM4及び登録モードM5に切り替えることが可能であり、オーナーキーK12により、全てのモード(点検モードM1、戻モードM2、電卓モードM3、OFFモードM4、登録モードM5、精算モードM6、設定モードM7)に切り替えることが可能である。オペレータキーK11又はオーナーキーK12により、所望するモードに切り替えられることにより、各モードは実施される。
[2. Description of operation]
Next, the operation of each mode included in the sales data processing device 30 according to the present embodiment will be briefly described with reference to FIG. 7. In FIG. 7, the operator key K11 can be used to switch to the calculator mode M3, the OFF mode M4, and the registration mode M5, and the owner key K12 can be used to switch to all modes (inspection mode M1, return mode M2, calculator mode). It is possible to switch to M3, OFF mode M4, registration mode M5, settlement mode M6, setting mode M7). Each mode is implemented by switching to a desired mode with the operator key K11 or the owner key K12.

[2−1.通信部の電源をオフするモードの説明]
点検モードM1、戻モードM2、電卓モードM3及びOFFモードM4は、いずれも通信部の電源をオフして携帯端末20との無線通信を行わないモードである。
したがって、まず、CPU31は、通信部(狭範囲通信部38及び広範囲通信部39)の電源をオフする処理を行う(ステップS11、S21、S31、S41)。既に通信部の電源がオフされていた場合は、特に何も行わず、次のステップに移行する。
[2-1. Description of the mode for turning off the power of the communication unit]
The inspection mode M1, the return mode M2, the calculator mode M3, and the OFF mode M4 are all modes in which the power of the communication unit is turned off and wireless communication with the mobile terminal 20 is not performed.
Therefore, first, the CPU 31 performs a process of turning off the power of the communication unit (narrow range communication unit 38 and wide range communication unit 39) (steps S11, S21, S31, S41). If the power of the communication unit has already been turned off, do nothing and move to the next step.

次いで、CPU31は、オペレータ又はオーナーの操作に基づいて、各モードに対応する処理を行う。例えば、点検モードM1では、オーナーの操作に基づいて、登録された取引データの点検処理を行う(ステップS12)。また、戻モードM2では、オーナーの操作に基づいて、返品処理を行う(ステップS22)。また、電卓モードM3では、オペレータ又はオーナーの操作に基づいて、電卓処理を行う(ステップS32)。また、OFFモードM4では、売上データ処理装置30の電源をオフする処理を行う(ステップS42)。
なお、ステップS12、S22、S32、S42では、通信部の電源が入っていないため、電源がオンされた通信部との通信を確立するためのビーコンの出力は行わない。
Next, the CPU 31 performs processing corresponding to each mode based on the operation of the operator or the owner. For example, in the inspection mode M1, the registered transaction data is inspected based on the operation of the owner (step S12). Further, in the return mode M2, the return processing is performed based on the operation of the owner (step S22). Further, in the calculator mode M3, the calculator processing is performed based on the operation of the operator or the owner (step S32). Further, in the OFF mode M4, a process of turning off the power of the sales data processing device 30 is performed (step S42).
In steps S12, S22, S32, and S42, since the power of the communication unit is not turned on, the beacon for establishing communication with the power-on communication unit is not output.

[2−2.通信部の電源をオンするモードの説明]
登録モードM5、精算モードM6及び設定モードM7は、いずれも通信部の電源をオンして携帯端末20との無線通信を行うモードである。
したがって、まず、CPU31は、狭範囲通信部38及び広範囲通信部39のうちいずれか一方の電源をオンする処理を行う。例えば、登録モードM5では、広範囲通信部39の電源をオンする処理を行うとともに、狭範囲通信部38の電源をオフする処理を行う(ステップS51)。また、精算モードM6及び設定モードM7では、狭範囲通信部38の電源をオンする処理を行うとともに、広範囲通信部39の電源をオフする処理を行う(ステップS61、S71)。
登録モードM5において、既に広範囲通信部39の電源がオン(狭範囲通信部38の電源がオフ)されていた場合は、特に何も行わず、次のステップに移行する。また、精算モードM6及び設定モードM7において、既に狭範囲通信部38の電源がオン(広範囲通信部39の電源がオフ)されていた場合は、特に何も行わず、次のステップに移行する。
[2-2. Explanation of the mode for turning on the power of the communication unit]
The registration mode M5, the settlement mode M6, and the setting mode M7 are all modes in which the power of the communication unit is turned on to perform wireless communication with the mobile terminal 20.
Therefore, first, the CPU 31 performs a process of turning on the power of either the narrow range communication unit 38 or the wide range communication unit 39. For example, in the registration mode M5, a process of turning on the power of the wide range communication unit 39 and a process of turning off the power of the narrow range communication unit 38 are performed (step S51). Further, in the settlement mode M6 and the setting mode M7, a process of turning on the power of the narrow range communication unit 38 and a process of turning off the power of the wide range communication unit 39 are performed (steps S61 and S71).
If the power of the wide-range communication unit 39 has already been turned on (the power of the narrow-range communication unit 38 has been turned off) in the registration mode M5, nothing is performed and the process proceeds to the next step. If the power of the narrow range communication unit 38 is already turned on (the power of the wide range communication unit 39 is turned off) in the settlement mode M6 and the setting mode M7, nothing is performed and the process proceeds to the next step.

次いで、CPU31は、携帯端末20にインストールされたアプリと通信可能な状態とするとともに、電源がオンされた通信部との通信を確立するためのビーコンを出力する。
例えば、登録モードM5では、携帯端末20にインストールされたオーダーエントリーアプリと通信可能な状態とするとともに、ステップS51で電源がオンされた広範囲通信部39との通信を確立するためのビーコンを出力する(ステップS52)。携帯端末20は、ステップS52で出力されたビーコンを受信すると、広範囲通信部29と発信元の売上データ処理装置30の広範囲通信部39との通信を確立する。
また、精算モードM6では、携帯端末20にインストールされた精算アプリと通信可能な状態とするとともに、ステップS61で電源がオンされた狭範囲通信部38との通信を確立するためのビーコンを出力する(ステップS62)。また、設定モードM7では、携帯端末20にインストールされた設定アプリと通信可能な状態とするとともに、ステップS71で電源がオンされた狭範囲通信部38との通信を確立するためのビーコンを出力する(ステップS72)。携帯端末20は、ステップS62又はステップS72で出力されたビーコンを受信すると、狭範囲通信部28と発信元の売上データ処理装置30の狭範囲通信部38との通信を確立する。
Next, the CPU 31 makes it possible to communicate with the application installed on the mobile terminal 20, and outputs a beacon for establishing communication with the communication unit turned on.
For example, in the registration mode M5, communication is possible with the order entry application installed in the mobile terminal 20, and a beacon for establishing communication with the wide-range communication unit 39 turned on in step S51 is output. (Step S52). Upon receiving the beacon output in step S52, the mobile terminal 20 establishes communication between the wide-range communication unit 29 and the wide-range communication unit 39 of the source sales data processing device 30.
Further, in the settlement mode M6, the settlement application installed in the mobile terminal 20 can be communicated with, and a beacon for establishing communication with the narrow range communication unit 38 turned on in step S61 is output. (Step S62). Further, in the setting mode M7, communication is possible with the setting application installed on the mobile terminal 20, and a beacon for establishing communication with the narrow range communication unit 38 whose power is turned on in step S71 is output. (Step S72). When the mobile terminal 20 receives the beacon output in step S62 or step S72, the mobile terminal 20 establishes communication between the narrow range communication unit 28 and the narrow range communication unit 38 of the source sales data processing device 30.

次いで、CPU31は、各モードに対応する処理を行う。
例えば、登録モードM5では、携帯端末20から送信された登録処理に係る要求と、売上データ処理装置30におけるオペレータ又はオーナーの手動による登録処理と、を同時に行う(ステップS53)。すなわち、携帯端末20から送信された要求と手動による登録とが同時に行われた場合、マルチタスクで処理を行う。なお、携帯端末20から送信された登録処理に係る要求とは、携帯端末20においてオーダーエントリーアプリが起動され、オペレータ又はオーナーにより登録処理が行われた際に、売上データ処理装置30に送信されるオーダーデータのことである。
また、精算モードM6では、売上データ処理装置30におけるオーナーの手動による精算処理後、携帯端末20の精算アプリに精算データを送信する(ステップS63)。携帯端末20は、精算データを受信するまで精算データの受信待ちを行う。
また、設定モードM7では、携帯端末20から送信された設定処理に係る要求と、売上データ処理装置30におけるオーナーの手動による設定処理と、のいずれか一方の処理を行う(ステップS73)。すなわち、携帯端末20から送信された要求と手動による登録とが同時に行われた場合、シングルタスクで先に受け付けた処理を行う。なお、携帯端末20から送信された設定処理に係る要求とは、携帯端末20において設定アプリが起動され、オーナーにより設定処理が行われた際に、売上データ処理装置30に送信される設定データのことである。
Next, the CPU 31 performs processing corresponding to each mode.
For example, in the registration mode M5, the request related to the registration process transmitted from the mobile terminal 20 and the manual registration process of the operator or the owner in the sales data processing device 30 are simultaneously performed (step S53). That is, when the request transmitted from the mobile terminal 20 and the manual registration are performed at the same time, the processing is performed by multitasking. The request related to the registration process transmitted from the mobile terminal 20 is transmitted to the sales data processing device 30 when the order entry application is activated on the mobile terminal 20 and the registration process is performed by the operator or the owner. It is order data.
Further, in the settlement mode M6, after the settlement process is manually performed by the owner in the sales data processing device 30, the settlement data is transmitted to the settlement application of the mobile terminal 20 (step S63). The mobile terminal 20 waits for the settlement data to be received until the settlement data is received.
Further, in the setting mode M7, either the request related to the setting process transmitted from the mobile terminal 20 or the manual setting process of the owner in the sales data processing device 30 is performed (step S73). That is, when the request transmitted from the mobile terminal 20 and the manual registration are performed at the same time, the previously accepted process is performed by a single task. The request related to the setting process transmitted from the mobile terminal 20 is the setting data transmitted to the sales data processing device 30 when the setting application is started on the mobile terminal 20 and the setting process is performed by the owner. That is.

[2−3.精算モードの説明]
次に、本実施形態に係る売上データ処理システム1における精算モードM6の動作について、図8及び図9を参照して詳細に説明する。この動作は、オーナーが、オーナーキーK12を回転させて、精算モードM6に切り替えることにより、実施される。精算モードM6においては、所定の取引データを集計した精算データを出力する処理が行われる。
[2-3. Explanation of payment mode]
Next, the operation of the settlement mode M6 in the sales data processing system 1 according to the present embodiment will be described in detail with reference to FIGS. 8 and 9. This operation is performed by the owner rotating the owner key K12 to switch to the settlement mode M6. In the settlement mode M6, a process of outputting settlement data that aggregates predetermined transaction data is performed.

まず、売上データ処理装置30のCPU31は、狭範囲通信部38の電源をオンする処理を行う(ステップS101)。なお、既に狭範囲通信部38の電源がオンされていた場合は、特に何も行わず、次のステップS102に移行する。
一方、携帯端末20のCPU21は、オーナーの操作(タッチ操作等)に基づいて、精算アプリを起動する(ステップS201)。図10(A)に、ステップS201で精算アプリが起動された際に、携帯端末20の表示部27に表示される起動画面G1の一例を示す。起動画面G1には、売上データ処理装置30と通信接続するための「接続ボタンB1」、売上データ処理装置30に精算データを送信するよう要求するための「精算ボタンB2」及びメニュー画面を表示させるための「メニューボタンB3」が設けられている。
First, the CPU 31 of the sales data processing device 30 performs a process of turning on the power of the narrow range communication unit 38 (step S101). If the power of the narrow range communication unit 38 has already been turned on, nothing is performed and the process proceeds to the next step S102.
On the other hand, the CPU 21 of the mobile terminal 20 activates the settlement application based on the owner's operation (touch operation or the like) (step S201). FIG. 10A shows an example of the activation screen G1 displayed on the display unit 27 of the mobile terminal 20 when the settlement application is activated in step S201. The startup screen G1 displays a "connection button B1" for communicating with the sales data processing device 30, a "payment button B2" for requesting the sales data processing device 30 to transmit settlement data, and a menu screen. A "menu button B3" for this purpose is provided.

次に、売上データ処理装置30のCPU31は、ステップS101で電源がオンされた狭範囲通信部38との通信を確立するためのビーコンを出力する(ステップS102)。
一方、携帯端末20のCPU21は、起動画面G1におけるオーナーによる接続ボタンB1のタッチ操作に基づいて、所定時間内に、ステップS102で売上データ処理装置30から出力されたビーコンを検索できたか否かを判定する(ステップS202)。ステップS202において、所定時間とは、例えば、10秒である。
CPU21は、所定時間内に、ステップS102で売上データ処理装置30から出力されたビーコンを検索できたと判定した場合(ステップS202:YES)、売上データ処理装置30と通信接続した旨を示す画面(通信接続画面G2)を表示部27に表示させた後(図10(B)参照)、ステップS203へと移行する。
一方、CPU21は、所定時間内に、ステップS102で売上データ処理装置30から出力されたビーコンを検索できなかったと判定した場合(ステップS202:NO)、図10(C)に示すように、表示部27に通信エラー画面G3を表示させる(ステップS213)。
Next, the CPU 31 of the sales data processing device 30 outputs a beacon for establishing communication with the narrow range communication unit 38 whose power is turned on in step S101 (step S102).
On the other hand, the CPU 21 of the mobile terminal 20 determines whether or not the beacon output from the sales data processing device 30 in step S102 can be searched within a predetermined time based on the touch operation of the connection button B1 by the owner on the startup screen G1. Determine (step S202). In step S202, the predetermined time is, for example, 10 seconds.
When the CPU 21 determines that the beacon output from the sales data processing device 30 can be searched in step S102 within a predetermined time (step S202: YES), a screen (communication) indicating that the communication is connected to the sales data processing device 30. After displaying the connection screen G2) on the display unit 27 (see FIG. 10B), the process proceeds to step S203.
On the other hand, when the CPU 21 determines that the beacon output from the sales data processing device 30 cannot be searched in step S102 within a predetermined time (step S202: NO), the display unit is as shown in FIG. 10 (C). The communication error screen G3 is displayed on 27 (step S213).

次に、携帯端末20のCPU21は、起動画面G1におけるオーナーによる精算ボタンB2のタッチ操作に基づいて、売上データ処理装置30に対し、精算データを送信するよう要求するための精算データ要求(送信要求)を送信する(ステップS203)。
次いで、CPU21は、売上データ処理装置30から送信される精算データの受信待ちの状態とする(ステップS204)。図10(D)に、ステップS204で精算データの受信待ちの状態とされた際に、携帯端末20の表示部27に表示される画面(受信待ち画面)G4の一例を示す。
売上データ処理装置30のCPU31は、ステップS203で携帯端末20から送信された精算データ要求を受信して、携帯端末20にインストールされた精算アプリと通信可能な状態とする(ステップS103)。
Next, the CPU 21 of the mobile terminal 20 requests the sales data processing device 30 to transmit the settlement data based on the touch operation of the settlement button B2 by the owner on the startup screen G1 (transmission request). ) Is transmitted (step S203).
Next, the CPU 21 is in a state of waiting for receipt of the settlement data transmitted from the sales data processing device 30 (step S204). FIG. 10D shows an example of the screen (reception waiting screen) G4 displayed on the display unit 27 of the mobile terminal 20 when the settlement data is in the reception waiting state in step S204.
The CPU 31 of the sales data processing device 30 receives the settlement data request transmitted from the mobile terminal 20 in step S203, and makes it possible to communicate with the settlement application installed on the mobile terminal 20 (step S103).

次に、売上データ処理装置30のCPU31は、携帯端末20が精算データの受信待ちの状態となるよう、携帯端末20に対し、WACKパケットを送信する(ステップS104)。 Next, the CPU 31 of the sales data processing device 30 transmits a WACK packet to the mobile terminal 20 so that the mobile terminal 20 is in a state of waiting for receipt of settlement data (step S104).

次に、売上データ処理装置30のCPU31は、ドロア37を開放するとともに、携帯端末20に対しWACKパケットを送信する(ステップS105)。 Next, the CPU 31 of the sales data processing device 30 opens the drawer 37 and transmits a WACK packet to the mobile terminal 20 (step S105).

次に、売上データ処理装置30のCPU31は、所定時間内に、オーナーの操作により入力されたドロア37内の金額が取得されたか否かを判定する(ステップS106)。ステップS106において、所定時間とは、例えば、5秒である。
CPU31は、所定時間内にドロア37内の金額が取得されたと判定した場合(ステップS106:YES)、ステップS108へと移行する。
一方、CPU31は、所定時間内に次のWACKパケットを受信していないと判定した場合(ステップS106:NO)、携帯端末20に対しWACKパケットを送信し(ステップS107)、再度ステップS106へと移行する。
Next, the CPU 31 of the sales data processing device 30 determines whether or not the amount of money in the drawer 37 input by the owner's operation has been acquired within a predetermined time (step S106). In step S106, the predetermined time is, for example, 5 seconds.
When the CPU 31 determines that the amount of money in the drawer 37 has been acquired within the predetermined time (step S106: YES), the CPU 31 proceeds to step S108.
On the other hand, when the CPU 31 determines that the next WACK packet has not been received within the predetermined time (step S106: NO), the CPU 31 transmits the WACK packet to the mobile terminal 20 (step S107), and the process proceeds to step S106 again. To do.

次に、売上データ処理装置30のCPU31は、所定時間内に、登録モードM5で登録された所定(当日)の取引データを集計した精算データに基づいて、精算レポートが印刷部36によりレシート用紙に印字されたか否かを判定する(ステップS108)。ステップS108において、所定時間とは、例えば、5秒である。このとき、CPU31は、取引データ等から算出されるドロア37内の計算上の金額と、ステップS106で取得したドロア37内の実際の金額と、の差額を印字する。図11に、印字された精算レポート361の一例を示す。図11に示す例では、日時、部門別の売上個数、売上金額、総売上、純売上、現金在高、ドロア37内の計算上の金額と実際の金額との差額等が印字されている。
CPU31は、所定時間内に精算レポートが印字されたと判定した場合(ステップS108:YES)、ステップS110へと移行する。
一方、CPU31は、所定時間内に次のWACKパケットを受信していないと判定した場合(ステップS108:NO)、携帯端末20に対しWACKパケットを送信し(ステップS109)、再度ステップS108へと移行する。
Next, the CPU 31 of the sales data processing device 30 prints the settlement report on the receipt paper by the printing unit 36 based on the settlement data that aggregates the predetermined (current day) transaction data registered in the registration mode M5 within the predetermined time. It is determined whether or not it has been printed (step S108). In step S108, the predetermined time is, for example, 5 seconds. At this time, the CPU 31 prints the difference between the calculated amount in the drawer 37 calculated from the transaction data and the like and the actual amount in the drawer 37 acquired in step S106. FIG. 11 shows an example of the printed settlement report 361. In the example shown in FIG. 11, the date and time, the number of units sold by department, the sales amount, the gross sales, the net sales, the cash amount, the difference between the calculated amount in the drawer 37 and the actual amount, and the like are printed.
When the CPU 31 determines that the settlement report has been printed within the predetermined time (step S108: YES), the CPU 31 proceeds to step S110.
On the other hand, when the CPU 31 determines that the next WACK packet has not been received within the predetermined time (step S108: NO), the CPU 31 transmits the WACK packet to the mobile terminal 20 (step S109), and proceeds to step S108 again. To do.

次に、売上データ処理装置30のCPU31は、精算データを携帯端末20に送信する(ステップS110)。 Next, the CPU 31 of the sales data processing device 30 transmits the settlement data to the mobile terminal 20 (step S110).

ステップS205において、携帯端末20のCPU21は、ステップS204の処理後、所定時間内にデータを受信したか否かを判定する。ステップS205において、所定時間とは、例えば、10秒である。
CPU21は、所定時間内にデータを受信したと判定した場合(ステップS205:YES)、ステップS206へと移行する。
一方、CPU21は、所定時間内にデータを受信していないと判定した場合(ステップS205:NO)、売上データ処理装置30側で何らかのエラーが発生したと判断し、表示部27に通信エラー画面G3(図10(C)参照)を表示させる(ステップS213)。
In step S205, the CPU 21 of the mobile terminal 20 determines whether or not data has been received within a predetermined time after the processing of step S204. In step S205, the predetermined time is, for example, 10 seconds.
When the CPU 21 determines that the data has been received within the predetermined time (step S205: YES), the CPU 21 proceeds to step S206.
On the other hand, when the CPU 21 determines that the data has not been received within the predetermined time (step S205: NO), the CPU 21 determines that some error has occurred on the sales data processing device 30 side, and displays the communication error screen G3 on the display unit 27. (See FIG. 10C) is displayed (step S213).

次に、携帯端末20のCPU21は、ステップS205で受信したデータがWACKパケット(ステップS104、ステップS105、ステップS107及びステップS109のいずれかで送信されたWACKパケット)であるか否かを判定する(ステップS206)。
CPU21は、ステップS205で受信したデータがWACKパケットであると判定した場合(ステップS206:YES)、再度ステップS205へと移行する。
一方、CPU21は、ステップS205で受信したデータがWACKパケットでないと判定した場合(ステップS206:NO)、ステップS207へと移行する。
Next, the CPU 21 of the mobile terminal 20 determines whether or not the data received in step S205 is a WACK packet (WACK packet transmitted in any of step S104, step S105, step S107, and step S109) ( Step S206).
When the CPU 21 determines that the data received in step S205 is a WACK packet (step S206: YES), the CPU 21 proceeds to step S205 again.
On the other hand, when the CPU 21 determines that the data received in step S205 is not a WACK packet (step S206: NO), the CPU 21 proceeds to step S207.

次に、携帯端末20のCPU21は、ステップS205で受信したデータが精算データ(ステップS110で送信された精算データ)であるか否かを判定する(ステップS207)。
CPU21は、ステップS205で受信したデータが精算データであると判定した場合(ステップS207:YES)、ステップS208へと移行する。
一方、CPU21は、ステップS205で受信したデータが精算データでないと判定した場合(ステップS207:NO)、再度ステップS205へと移行する。
Next, the CPU 21 of the mobile terminal 20 determines whether or not the data received in step S205 is the settlement data (the settlement data transmitted in step S110) (step S207).
When the CPU 21 determines that the data received in step S205 is the settlement data (step S207: YES), the CPU 21 proceeds to step S208.
On the other hand, when the CPU 21 determines that the data received in step S205 is not the settlement data (step S207: NO), the CPU 21 proceeds to step S205 again.

ステップS208において、携帯端末20のCPU21は、ステップS110で売上データ処理装置30から送信された精算データをRAM22又はROM23にセーブする。 In step S208, the CPU 21 of the mobile terminal 20 saves the settlement data transmitted from the sales data processing device 30 in step S110 in the RAM 22 or the ROM 23.

次に、携帯端末20のCPU21は、精算データの受信が完了した旨を示す受信完了通知及び取引データを消去するよう要求するための取引データ消去要求を売上データ処理装置30に送信する(ステップS209)。
次いで、CPU21は、売上データ処理装置30から送信されるACKパケット(応答確認)の受信待ちの状態とする(ステップS210)。
売上データ処理装置30のCPU31は、ステップS209で携帯端末20から送信(返信)された受信完了通知及び取引データ消去要求を受信して、受信完了通知に基づく通信結果(すなわち、精算データが送信されたことを示す送信情報)を印刷部36によりレシート用紙に印字させる(ステップS111)。図12に、印字された通信結果362の一例を示す。図12に示す例では、正常に送信した旨の文言(正常に送信しました)、相手先の携帯端末20(○△△××○)、送信日時(2017/3/2 12:34)が印字されている。
Next, the CPU 21 of the mobile terminal 20 transmits a reception completion notification indicating that the reception of the settlement data has been completed and a transaction data erasure request for erasing the transaction data to the sales data processing device 30 (step S209). ).
Next, the CPU 21 is in a state of waiting for reception of the ACK packet (response confirmation) transmitted from the sales data processing device 30 (step S210).
The CPU 31 of the sales data processing device 30 receives the reception completion notification and the transaction data deletion request transmitted (replied) from the mobile terminal 20 in step S209, and the communication result based on the reception completion notification (that is, the settlement data is transmitted). (Transmission information indicating that) is printed on the receipt paper by the printing unit 36 (step S111). FIG. 12 shows an example of the printed communication result 362. In the example shown in FIG. 12, the wording that the message was sent normally (sent normally), the mobile terminal 20 (○ △△ ×× ○) of the other party, and the date and time of transmission (2017/3/2 12:34) are displayed. It is printed.

次に、売上データ処理装置30のCPU31は、当日の取引データ(精算データ)を消去するとともに、携帯端末20に対しACKパケットを送信する(ステップS112)。
携帯端末20のCPU21は、ステップS210の処理後、所定時間内にACKパケットを受信したか否かを判定する(ステップS211)。ステップS211において、所定時間とは、例えば、10秒である。
CPU21は、所定時間内にACKパケットを受信したと判定した場合(ステップS211:YES)、次のステップS212へと移行する。
一方、CPU21は、所定時間内にACKパケットを受信していないと判定した場合(ステップS211:NO)、売上データ処理装置30側で何らかのエラーが発生したと判断し、ステップS213へと移行して、表示部27に通信エラー画面G3(図10(C)参照)を表示させる。
Next, the CPU 31 of the sales data processing device 30 erases the transaction data (settlement data) of the day and transmits an ACK packet to the mobile terminal 20 (step S112).
After the process of step S210, the CPU 21 of the mobile terminal 20 determines whether or not the ACK packet has been received within a predetermined time (step S211). In step S211 the predetermined time is, for example, 10 seconds.
When the CPU 21 determines that the ACK packet has been received within the predetermined time (step S211: YES), the CPU 21 proceeds to the next step S212.
On the other hand, when the CPU 21 determines that the ACK packet has not been received within the predetermined time (step S211: NO), it determines that some error has occurred on the sales data processing device 30 side, and proceeds to step S213. , The display unit 27 displays the communication error screen G3 (see FIG. 10C).

次に、売上データ処理装置30のCPU31は、精算業務を終了する(ステップS113)。
一方、携帯端末20のCPU21は、売上データ処理装置30との通信(狭範囲通信)を終了するとともに、ステップS110で売上データ処理装置30から送信された精算データに基づいて、当日の取引データを表示させるためのデータ表示画面G5(図10(E)参照)を表示部27に表示させる(ステップS212)。データ表示画面G5には、当日の取引データD1が表示されている。なお、図10(E)に示す例では、当日の取引データD1をイメージデータで表示する構成を例示しているが、これに限定されるものではなく、当日の取引データD1をテキストデータで表示する構成としてもよい。また、データ表示画面G5には、データ表示画面G5を閉じるための「閉じるボタンB4」、当日の取引データをクラウド(サーバ装置10)に送信するための「送信ボタンB5」が設けられている。その後、CPU21は、必要に応じて(すなわち、データ表示画面G5において、送信ボタンB5のタッチ操作が行われた場合)精算データをサーバ装置10に送信した後、精算アプリを終了する。なお、精算データをサーバ装置10に送信する際は、CSVデータで送信するようにしてもよいし、PDFデータで送信するようにしてもよい。また、精算データをサーバ装置10に送信する他の方法として、メールで送信する方法も挙げられる。メールで送信する方法を採用する場合も、CSVデータで送信するようにしてもよいし、PDFデータで送信するようにしてもよい。
Next, the CPU 31 of the sales data processing device 30 ends the settlement operation (step S113).
On the other hand, the CPU 21 of the mobile terminal 20 terminates the communication (narrow range communication) with the sales data processing device 30, and obtains the transaction data of the day based on the settlement data transmitted from the sales data processing device 30 in step S110. The data display screen G5 (see FIG. 10 (E)) for display is displayed on the display unit 27 (step S212). The transaction data D1 of the day is displayed on the data display screen G5. In the example shown in FIG. 10 (E), a configuration in which the transaction data D1 of the day is displayed as image data is illustrated, but the present invention is not limited to this, and the transaction data D1 of the day is displayed as text data. It may be configured to be used. Further, the data display screen G5 is provided with a "close button B4" for closing the data display screen G5 and a "send button B5" for transmitting the transaction data of the day to the cloud (server device 10). After that, the CPU 21 transmits the settlement data to the server device 10 as necessary (that is, when the touch operation of the transmission button B5 is performed on the data display screen G5), and then terminates the settlement application. When the settlement data is transmitted to the server device 10, it may be transmitted as CSV data or as PDF data. Further, as another method of transmitting the settlement data to the server device 10, a method of transmitting by e-mail can be mentioned. When adopting the method of transmitting by e-mail, it may be transmitted as CSV data or as PDF data.

[2−4.登録モードの説明]
次に、本実施形態に係る売上データ処理システム1における登録モードM5の動作について、図13〜図16を参照して詳細に説明する。この動作は、オーナーがオーナーキーK12を回転させて、又は、オペレータがオペレータキーK11を回転させて、登録モードM5に切り替えることにより、実施される。登録モードM5においては、取引データを登録する処理が行われる。
[2-4. Description of registration mode]
Next, the operation of the registration mode M5 in the sales data processing system 1 according to the present embodiment will be described in detail with reference to FIGS. 13 to 16. This operation is performed by the owner rotating the owner key K12 or the operator rotating the operator key K11 to switch to the registration mode M5. In the registration mode M5, a process of registering transaction data is performed.

まず、売上データ処理装置30のCPU31は、広範囲通信部39の電源をオンする処理を行う(ステップS301)。なお、既に広範囲通信部39の電源がオンされていた場合は、特に何も行わず、次のステップS302に移行する。
一方、携帯端末20のCPU21は、オーナー又はオペレータの操作(タッチ操作等)に基づいて、オーダーエントリーアプリ(登録アプリ)を起動する(ステップS401)。
First, the CPU 31 of the sales data processing device 30 performs a process of turning on the power of the wide-range communication unit 39 (step S301). If the power of the wide range communication unit 39 has already been turned on, nothing is performed and the process proceeds to the next step S302.
On the other hand, the CPU 21 of the mobile terminal 20 activates the order entry application (registration application) based on the operation (touch operation or the like) of the owner or the operator (step S401).

次に、携帯端末20のCPU21は、売上データ処理装置30に対し、登録処理を開始するよう要求するための登録開始要求を送信する(ステップS402)。
売上データ処理装置30のCPU31は、ステップS402で携帯端末20から送信された登録開始要求を受信して、携帯端末20にインストールされたオーダーエントリーアプリと通信可能な状態とする(ステップS302)。
Next, the CPU 21 of the mobile terminal 20 transmits a registration start request for requesting the sales data processing device 30 to start the registration process (step S402).
The CPU 31 of the sales data processing device 30 receives the registration start request transmitted from the mobile terminal 20 in step S402, and makes it possible to communicate with the order entry application installed in the mobile terminal 20 (step S302).

次に、携帯端末20のCPU21は、オーナー又はオペレータの操作(入力操作、タッチ操作等)に基づいて、第1の送信処理を行う(ステップS403)。第1の送信処理は、具体的には、席案内時に実行される処理であり、携帯端末20の端末ID、案内先の席番号及び客数を、第1の登録情報として売上データ処理装置30に送信する処理である。
売上データ処理装置30のCPU31は、ステップS403で携帯端末20から送信された第1の登録情報を受信して、第1の登録処理を行う(ステップS303)。
Next, the CPU 21 of the mobile terminal 20 performs the first transmission process based on the operation (input operation, touch operation, etc.) of the owner or the operator (step S403). Specifically, the first transmission process is a process executed at the time of seat guidance, and the terminal ID of the mobile terminal 20, the seat number of the guide destination, and the number of customers are used as the first registration information in the sales data processing device 30. This is the process of sending.
The CPU 31 of the sales data processing device 30 receives the first registration information transmitted from the mobile terminal 20 in step S403 and performs the first registration process (step S303).

具体的には、まず、売上データ処理装置30のCPU31は、図14に示すように、注文データを管理するための注文データテーブルに、新規レコードを追加する(ステップS331)。注文データテーブルには、例えば、一つの注文ごとに割り当てられる固有の識別情報である「注文ID」、注文を受けた担当者の「担当者コード」、注文者が座る席の「席番号」、席に着座している「客数」、注文の詳細情報(料理コード、数量)を含む「注文情報」等を格納可能な各フィールドが設けられている。
次に、CPU31は、ステップS403で携帯端末20から送信された第1の登録情報を、ステップS331で追加した新規レコードに格納する(ステップS332)。
次に、CPU31は、注文データテーブルの全レコードのうち未だ注文情報が格納されていないレコード(未注文レコード)を抽出し、抽出した未注文レコードの客数を合算して、「未注文客数」を算出する(ステップS333)。
次に、CPU31は、ステップS331で追加した新規レコードの客数を「新規入店客数」として算出するとともに、「新規入店客数」、ステップS333で算出した「未注文客数」及び現在時刻を、厨房の表示部(図示省略)に出力して表示させる(ステップS334)。
上記の第1の登録処理により、厨房の調理スタッフに、「新規入店客数」及び「未注文客数」を報知することができる。
Specifically, first, as shown in FIG. 14, the CPU 31 of the sales data processing device 30 adds a new record to the order data table for managing the order data (step S331). In the order data table, for example, "order ID" which is unique identification information assigned to each order, "person in charge code" of the person who received the order, "seat number" of the seat where the orderer sits, Each field is provided to store "number of customers" seated in the seat, "order information" including detailed order information (cooking code, quantity), and the like.
Next, the CPU 31 stores the first registration information transmitted from the mobile terminal 20 in step S403 in the new record added in step S331 (step S332).
Next, the CPU 31 extracts a record (unordered record) in which the order information is not yet stored from all the records in the order data table, adds up the number of customers of the extracted unordered record, and calculates the "number of unordered customers". Calculate (step S333).
Next, the CPU 31 calculates the number of customers of the new record added in step S331 as the "number of new store customers", and also calculates the "number of new store customers", the "number of unordered customers" calculated in step S333, and the current time in the kitchen. Is output to a display unit (not shown) and displayed (step S334).
By the first registration process described above, it is possible to notify the cooking staff of the kitchen of the "number of new customers" and the "number of unordered customers".

次いで、図13のステップS404では、携帯端末20のCPU21は、オーナー又はオペレータの操作(入力操作、タッチ操作等)に基づいて、第2の送信処理を行う。第2の送信処理は、具体的には、注文受付時に実行される処理であり、携帯端末20の端末ID、席番号、注文された料理の料理コード及び数量を、第2の登録情報として売上データ処理装置30に送信する処理である。
売上データ処理装置30のCPU31は、ステップS404で携帯端末20から送信された第2の登録情報を受信して、第2の登録処理を行う(ステップS304)。
Next, in step S404 of FIG. 13, the CPU 21 of the mobile terminal 20 performs a second transmission process based on the operation (input operation, touch operation, etc.) of the owner or the operator. The second transmission process is specifically a process executed at the time of receiving an order, in which the terminal ID of the mobile terminal 20, the seat number, the dish code and the quantity of the ordered dish are sold as the second registration information. This is a process of transmitting to the data processing device 30.
The CPU 31 of the sales data processing device 30 receives the second registration information transmitted from the mobile terminal 20 in step S404, and performs the second registration process (step S304).

具体的には、まず、売上データ処理装置30のCPU31は、図15に示すように、ステップS404で携帯端末20から送信された第2の登録情報に含まれる席番号をキーとして、注文データテーブルを検索する(ステップS341)。
次に、CPU31は、注文データテーブルに、該当する席番号のレコードが存在するか否かを判定する(ステップS342)。
CPU31は、注文データテーブルに、該当する席番号のレコードが存在すると判定した場合(ステップS342:YES)、ステップS344へと移行する。
一方、CPU31は、注文データテーブルに、該当する席番号のレコードが存在しないと判定した場合(ステップS342:NO)、誤った席番号が携帯端末20から送信されてきたと判断し、所定のエラー処理(例えば、送信元の携帯端末20にエラーメッセージを送信する等の処理)を実行する(ステップS343)。
ステップS344において、CPU31は、該当する席番号のレコードに、携帯端末20から送信された注文情報(料理コード及び数量)を格納する。
次に、CPU31は、ステップS344で格納した注文情報を、厨房の印刷部に出力して印刷させる(ステップS345)。
上記の第2の登録処理により、厨房の調理スタッフに、「注文情報」を報知することができる。
Specifically, first, as shown in FIG. 15, the CPU 31 of the sales data processing device 30 uses the seat number included in the second registration information transmitted from the mobile terminal 20 in step S404 as a key to the order data table. Is searched (step S341).
Next, the CPU 31 determines whether or not the record of the corresponding seat number exists in the order data table (step S342).
When the CPU 31 determines that the record of the corresponding seat number exists in the order data table (step S342: YES), the CPU 31 proceeds to step S344.
On the other hand, when the CPU 31 determines that the record of the corresponding seat number does not exist in the order data table (step S342: NO), it determines that the wrong seat number has been transmitted from the mobile terminal 20, and performs a predetermined error process. (For example, a process of transmitting an error message to the transmission source mobile terminal 20) is executed (step S343).
In step S344, the CPU 31 stores the order information (cooking code and quantity) transmitted from the mobile terminal 20 in the record of the corresponding seat number.
Next, the CPU 31 outputs the order information stored in step S344 to the printing unit of the kitchen for printing (step S345).
By the second registration process described above, the "order information" can be notified to the cooking staff in the kitchen.

次いで、図13のステップS405では、携帯端末20のCPU21は、オーナー又はオペレータの操作(タッチ操作等)に基づいて、第3の送信処理を行う。第3の送信処理は、具体的には、システム設定時に実行される処理であり、携帯端末20の端末ID及び担当者コードを、第3の登録情報として売上データ処理装置30に送信する処理である。
売上データ処理装置30のCPU31は、ステップS405で携帯端末20から送信された第3の登録情報を受信して、第3の登録処理を行う(ステップS305)。
Next, in step S405 of FIG. 13, the CPU 21 of the mobile terminal 20 performs a third transmission process based on an operation (touch operation or the like) of the owner or the operator. Specifically, the third transmission process is a process executed at the time of system setting, and is a process of transmitting the terminal ID and the person in charge code of the mobile terminal 20 to the sales data processing device 30 as the third registration information. is there.
The CPU 31 of the sales data processing device 30 receives the third registration information transmitted from the mobile terminal 20 in step S405 and performs the third registration process (step S305).

具体的には、まず、売上データ処理装置30のCPU31は、図16に示すように、ステップS405で携帯端末20から送信された第3の登録情報に含まれる端末IDをキーとして、端末データを管理するための端末データテーブルを検索する(ステップS351)。端末データテーブルには、例えば、携帯端末20の固有の識別情報である「端末ID(端末識別情報)」、携帯端末20を現在携行している担当者の「担当者コード」等を格納可能な各フィールドが設けられている。
次に、CPU31は、端末データテーブルに、該当する端末IDのレコードが存在するか否かを判定する(ステップS352)。
CPU31は、端末データテーブルに、該当する端末IDのレコードが存在すると判定した場合(ステップS352:YES)、該当する端末IDのレコードに、携帯端末20から送信された担当者コードを格納して更新する(ステップS353)。
一方、CPU31は、端末データテーブルに、該当する端末IDのレコードが存在しないと判定した場合(ステップS352:NO)、誤った端末IDが携帯端末20から送信されてきたと判断し、所定のエラー処理(例えば、送信元の携帯端末20にエラーメッセージを送信する等の処理)を実行する(ステップS354)。
上記の第3の登録処理により、携帯端末20を操作する担当者(オペレータ)の情報を更新することができる。
Specifically, first, as shown in FIG. 16, the CPU 31 of the sales data processing device 30 uses the terminal ID included in the third registration information transmitted from the mobile terminal 20 in step S405 as a key to input the terminal data. The terminal data table for management is searched (step S351). In the terminal data table, for example, "terminal ID (terminal identification information)" which is unique identification information of the mobile terminal 20, "person in charge code" of the person in charge who currently carries the mobile terminal 20 and the like can be stored. Each field is provided.
Next, the CPU 31 determines whether or not a record of the corresponding terminal ID exists in the terminal data table (step S352).
When the CPU 31 determines that the record of the corresponding terminal ID exists in the terminal data table (step S352: YES), the CPU 31 stores and updates the person in charge code transmitted from the mobile terminal 20 in the record of the corresponding terminal ID. (Step S353).
On the other hand, when the CPU 31 determines that the record of the corresponding terminal ID does not exist in the terminal data table (step S352: NO), it determines that the wrong terminal ID has been transmitted from the mobile terminal 20, and performs a predetermined error process. (For example, a process of transmitting an error message to the transmission source mobile terminal 20) is executed (step S354).
By the third registration process described above, the information of the person in charge (operator) who operates the mobile terminal 20 can be updated.

なお、第3の送信処理は、一般に、携帯端末20を操作する担当者(オペレータ)が交代したタイミングで行われる。したがって、第1の送信処理の前や第1の送信処理と第2の送信処理の間で行われることもある。すなわち、第1〜第3の送信処理(第1〜第3の登録処理)が行われる順番は、図13に示す例に限られない。 The third transmission process is generally performed at the timing when the person in charge (operator) who operates the mobile terminal 20 changes. Therefore, it may be performed before the first transmission process or between the first transmission process and the second transmission process. That is, the order in which the first to third transmission processes (first to third registration processes) are performed is not limited to the example shown in FIG.

次に、売上データ処理装置30のCPU31は、登録業務を終了する(ステップS306)。
一方、携帯端末20のCPU21は、売上データ処理装置30との通信(広範囲通信)を終了する(ステップS406)。その後、CPU21は、オーダーエントリーアプリを終了する。
Next, the CPU 31 of the sales data processing device 30 ends the registration business (step S306).
On the other hand, the CPU 21 of the mobile terminal 20 ends the communication (wide-range communication) with the sales data processing device 30 (step S406). After that, the CPU 21 terminates the order entry application.

以上の処理により、売上データ処理装置30のCPU31は、携帯端末20からの広範囲通信部39を介した無線通信により取引データを登録可能な登録手段として機能する。 Through the above processing, the CPU 31 of the sales data processing device 30 functions as a registration means capable of registering transaction data by wireless communication from the mobile terminal 20 via the wide range communication unit 39.

なお、CPU31は、登録モードM5において取引データを登録する処理を行う際、広範囲通信部39の電源をオンして携帯端末20との間で広範囲通信部39での無線通信を許容する一方で狭範囲通信部38での無線通信を禁止する制御を行う。したがって、CPU31は、取引データの登録の際は、狭範囲通信部38を介した無線通信を禁止制御する通信制御手段として機能する。 When performing the process of registering transaction data in the registration mode M5, the CPU 31 turns on the power of the wide-range communication unit 39 and allows wireless communication with the mobile terminal 20 in the wide-range communication unit 39, but is narrow. Control is performed to prohibit wireless communication in the range communication unit 38. Therefore, the CPU 31 functions as a communication control means for prohibiting and controlling wireless communication via the narrow range communication unit 38 when registering transaction data.

なお、図13に示す例では、携帯端末20から送信される各種登録情報を売上データ処理装置30に登録する処理を説明しているが、上記の登録処理の最中に、売上データ処理装置30の入力部41を介して手動の登録処理が行われた場合、CPU31の制御により、マルチタスクで双方の処理が並行して実施される。 In the example shown in FIG. 13, various registration information transmitted from the mobile terminal 20 is registered in the sales data processing device 30, but the sales data processing device 30 is in the middle of the above registration process. When the manual registration process is performed via the input unit 41 of the above, both processes are executed in parallel by multitasking under the control of the CPU 31.

[2−5.設定モードの説明]
次に、本実施形態に係る売上データ処理システム1における設定モードM7の動作について、図17を参照して詳細に説明する。この動作は、オーナーがオーナーキーK12を回転させて、設定モードM7に切り替えることにより、実施される。設定モードM7においては、登録モードによる取引データの登録の際に適用される設定データ(例えば、日付、時刻、商品単価等)を設定する処理が行われる。
[2-5. Description of setting mode]
Next, the operation of the setting mode M7 in the sales data processing system 1 according to the present embodiment will be described in detail with reference to FIG. This operation is performed by the owner rotating the owner key K12 to switch to the setting mode M7. In the setting mode M7, a process of setting setting data (for example, date, time, product unit price, etc.) applied when registering transaction data in the registration mode is performed.

まず、売上データ処理装置30のCPU31は、狭範囲通信部38の電源をオンする処理を行う(ステップS501)。なお、既に狭範囲通信部38の電源がオンされていた場合は、特に何も行わず、次のステップS502に移行する。
一方、携帯端末20のCPU21は、オーナーの操作(タッチ操作等)に基づいて、設定アプリを起動する(ステップS601)。
First, the CPU 31 of the sales data processing device 30 performs a process of turning on the power of the narrow range communication unit 38 (step S501). If the power of the narrow range communication unit 38 has already been turned on, nothing is performed and the process proceeds to the next step S502.
On the other hand, the CPU 21 of the mobile terminal 20 activates the setting application based on the owner's operation (touch operation or the like) (step S601).

次に、携帯端末20のCPU21は、売上データ処理装置30に対し、設定処理を開始するよう要求するための設定開始要求を送信する(ステップS602)。
売上データ処理装置30のCPU31は、ステップS602で携帯端末20から送信された設定開始要求を受信して、携帯端末20にインストールされた設定アプリと通信可能な状態とする(ステップS502)。
Next, the CPU 21 of the mobile terminal 20 transmits a setting start request for requesting the sales data processing device 30 to start the setting process (step S602).
The CPU 31 of the sales data processing device 30 receives the setting start request transmitted from the mobile terminal 20 in step S602, and makes it possible to communicate with the setting application installed on the mobile terminal 20 (step S502).

次に、携帯端末20のCPU21は、オーナーの操作(入力操作、タッチ操作等)に基づいて、送信処理を行う(ステップS603)。送信処理は、登録モードによる取引データの登録の際に適用される設定データを売上データ処理装置30に送信する処理である。
売上データ処理装置30のCPU31は、ステップS603で携帯端末20から送信された設定データを受信して、登録処理を行う(ステップS503)。
Next, the CPU 21 of the mobile terminal 20 performs a transmission process based on the owner's operation (input operation, touch operation, etc.) (step S603). The transmission process is a process of transmitting the setting data applied when the transaction data is registered in the registration mode to the sales data processing device 30.
The CPU 31 of the sales data processing device 30 receives the setting data transmitted from the mobile terminal 20 in step S603 and performs the registration process (step S503).

ここで、ステップS603で送信される設定データは、携帯端末20に対するオーナーの操作(入力操作、タッチ操作等)により、設定される。
ステップS601で設定アプリが起動された際に、携帯端末20の表示部27に表示される起動画面には、入力部41に相当する構成(例えば、各種機能キー)が表示される。
この起動画面において、所定の入力操作を行うことで、設定データの設定を行うことができる。例えば、部門キーに商品単価を設定する処理を行う場合、まず、テンキーを用いて設定する単価を入力した後、部門キーを押下する操作を行う。これにより、部門キーに単価が設定される。また、テンキーによる文字入力と変換キーによる漢字変換を行うことで、上記の部門キーに商品名や分類名を設定することもできる。その他、日付や時刻も、テンキーによる数字入力後に日時キーを押下操作することで、設定することができる。
上記の設定処理を行うことで、登録モードによる取引データの登録の際に適用される設定データを生成することができる。
Here, the setting data transmitted in step S603 is set by the owner's operation (input operation, touch operation, etc.) on the mobile terminal 20.
When the setting application is started in step S601, the configuration (for example, various function keys) corresponding to the input unit 41 is displayed on the start screen displayed on the display unit 27 of the mobile terminal 20.
Setting data can be set by performing a predetermined input operation on this startup screen. For example, when performing the process of setting the product unit price in the department key, first, the unit price to be set is input using the numeric keypad, and then the department key is pressed. As a result, the unit price is set in the department key. In addition, by performing character input using the numeric keypad and kanji conversion using the conversion key, it is possible to set the product name or classification name in the above department key. In addition, the date and time can also be set by pressing the date and time keys after inputting numbers using the numeric keypad.
By performing the above setting process, it is possible to generate setting data to be applied when registering transaction data in the registration mode.

次に、売上データ処理装置30のCPU31は、設定業務を終了する(ステップS504)。
一方、携帯端末20のCPU21は、売上データ処理装置30との通信(狭範囲通信)を終了する(ステップS604)。その後、CPU21は、設定アプリを終了する。
Next, the CPU 31 of the sales data processing device 30 ends the setting work (step S504).
On the other hand, the CPU 21 of the mobile terminal 20 ends the communication (narrow range communication) with the sales data processing device 30 (step S604). After that, the CPU 21 ends the setting application.

以上の処理により、売上データ処理装置30のCPU31は、登録モードによる取引データの登録の際に適用される設定データを、携帯端末20からの狭範囲通信部38を介した無線通信により設定可能な設定手段として機能する。 By the above processing, the CPU 31 of the sales data processing device 30 can set the setting data applied when registering the transaction data in the registration mode by wireless communication from the mobile terminal 20 via the narrow range communication unit 38. Functions as a setting means.

なお、CPU31は、設定モードM7において設定データを設定する処理を行う際、狭範囲通信部38の電源をオンして携帯端末20との間で狭範囲通信部38での無線通信を許容する一方で広範囲通信部39での無線通信を禁止する制御を行う。したがって、CPU31は、設定データの設定の際は、広範囲通信部39を介した無線通信を禁止制御する通信制御手段として機能する。 When the CPU 31 performs the process of setting the setting data in the setting mode M7, the CPU 31 turns on the power of the narrow range communication unit 38 and allows wireless communication with the mobile terminal 20 in the narrow range communication unit 38. Controls to prohibit wireless communication in the wide range communication unit 39. Therefore, the CPU 31 functions as a communication control means for prohibiting and controlling wireless communication via the wide range communication unit 39 when setting the setting data.

[3.効果]
以上のように、本実施形態に係る売上データ処理システム1の売上データ処理装置30によれば、所定の端末装置(携帯端末20)からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段(CPU31)と、登録手段による取引データの登録の際に適用される設定データを、所定の端末装置からの第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段(CPU31)と、を備える。ここで、第1の通信手段は、所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段(広範囲通信部39)であり、第2の通信手段は、所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段(狭範囲通信部38)である。
したがって、本実施形態に係る売上データ処理装置30によれば、手動による登録処理を行っている最中に、登録処理に使用する無線(広範囲通信部39)と同一の無線を使って他の通信が行われることがないので、端末装置からのアクセス(例えば、設定データ送信)による登録処理中のデータの書き換えを抑制することが可能となり、登録モードにおける処理を支障なく行わせることができる。同様に、設定処理を行っている最中に、設定処理に使用する無線(狭範囲通信部38)と同一の無線を使って他の通信が行われることがないので、端末装置からのアクセス(例えば、登録データ送信)による設定処理中のデータの書き換えを抑制することが可能となり、設定モードにおける処理を支障なく行わせることができる。すなわち、端末装置との無線通信を行う処理の特性に応じて通信の割り当てを行うことで、データの混在を抑制して各処理を支障なく行わせることができる。
[3. effect]
As described above, according to the sales data processing device 30 of the sales data processing system 1 according to the present embodiment, transaction data is transmitted by wireless communication from a predetermined terminal device (mobile terminal 20) via the first communication means. The registration means (CPU 31) that can be registered and the setting data applied when the transaction data is registered by the registration means are wirelessly transmitted via a second communication means different from the first communication means from a predetermined terminal device. A setting means (CPU 31) that can be set by communication is provided. Here, the first communication means is a wide range communication means (wide range communication unit 39) capable of wireless communication over a wide range with a predetermined terminal device, and the second communication means is a wide range communication means with the predetermined terminal device. It is a narrow range communication means (narrow range communication unit 38) capable of wireless communication limited to a narrow range between the two.
Therefore, according to the sales data processing device 30 according to the present embodiment, while the manual registration process is being performed, another communication is performed using the same radio as the radio (wide area communication unit 39) used for the registration process. Is not performed, so that it is possible to suppress rewriting of data during the registration process by access from the terminal device (for example, transmission of setting data), and the process in the registration mode can be performed without any trouble. Similarly, during the setting process, other communication is not performed using the same radio as the radio (narrow range communication unit 38) used for the setting process, so access from the terminal device (access from the terminal device) ( For example, it is possible to suppress rewriting of data during setting processing by (registration data transmission), and it is possible to perform processing in the setting mode without any trouble. That is, by allocating the communication according to the characteristics of the process of performing wireless communication with the terminal device, it is possible to suppress the mixing of data and perform each process without any trouble.

また、本実施形態に係る売上データ処理システム1の売上データ処理装置30によれば、登録手段による取引データの登録の際は、前記第2の通信手段を介した無線通信を禁止制御する通信制御手段(CPU31)を備える。
したがって、本実施形態に係る売上データ処理装置30によれば、携帯端末20を用いて客の注文を登録する登録モードが選択されている最中の、狭範囲無線通信を介したデータの送信やデータの書き換えを抑制することができるので、現在設定されているモードにおける処理を問題なく行うことができる。
Further, according to the sales data processing device 30 of the sales data processing system 1 according to the present embodiment, when registering transaction data by the registration means, communication control for prohibiting and controlling wireless communication via the second communication means is performed. The means (CPU 31) is provided.
Therefore, according to the sales data processing device 30 according to the present embodiment, data transmission via narrow range wireless communication is performed while the registration mode for registering the customer's order using the mobile terminal 20 is selected. Since data rewriting can be suppressed, processing in the currently set mode can be performed without any problem.

また、本実施形態に係る売上データ処理システム1の売上データ処理装置30によれば、設定手段による設定データの設定の際は、第1の通信手段を介した無線通信を禁止制御する通信制御手段(CPU31)を備える。
したがって、本実施形態に係る売上データ処理装置30によれば、登録モードによる取引データの登録の際に適用される設定データを設定する設定モードが選択されている最中の、広範囲無線通信を介したデータの送信やデータの書き換えを抑制することができるので、現在設定されているモードにおける処理を問題なく行うことができる。
Further, according to the sales data processing device 30 of the sales data processing system 1 according to the present embodiment, when setting the setting data by the setting means, the communication control means for prohibiting and controlling wireless communication via the first communication means. (CPU 31) is provided.
Therefore, according to the sales data processing device 30 according to the present embodiment, the setting mode for setting the setting data applied when the transaction data is registered in the registration mode is being selected, via wide-range wireless communication. Since it is possible to suppress the transmission of the data and the rewriting of the data, the processing in the currently set mode can be performed without any problem.

以上、本発明に係る実施形態に基づいて具体的に説明したが、本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で変更可能である。 Although the specific description has been given above based on the embodiment of the present invention, the present invention is not limited to the above embodiment and can be changed without departing from the gist thereof.

例えば、上記実施形態では、売上データ処理装置30で選択されたモードと携帯端末20で起動されるアプリとが対応する場合を例示して説明しているが、売上データ処理装置30で選択されたモードと携帯端末20で起動されるアプリとが対応していないケースも考えられる。
例えば、売上データ処理装置30で「登録モードM5」が選択されている状態で、「設定アプリ」が起動されたケースでは、売上データ処理装置30から出力された広範囲通信部39との通信を確立するためのビーコンを、狭範囲通信を望む携帯端末20が検索(受信)することができないため、そもそも通信が確立されることがない。したがって、携帯端末20の側で所定のエラー処理(例えば、携帯端末20の表示部27に「売上データ処理装置30側のモードが対応していません」等のエラーメッセージを表示させる等の処理)が行われる。
For example, in the above embodiment, the case where the mode selected by the sales data processing device 30 corresponds to the application started by the mobile terminal 20 is illustrated and described, but the mode selected by the sales data processing device 30 is selected. It is also possible that the mode and the application started on the mobile terminal 20 do not correspond to each other.
For example, in the case where the "setting application" is started while the "registration mode M5" is selected in the sales data processing device 30, communication with the wide range communication unit 39 output from the sales data processing device 30 is established. Since the mobile terminal 20 that desires narrow-range communication cannot search (receive) the beacon for this purpose, communication is not established in the first place. Therefore, predetermined error processing on the mobile terminal 20 side (for example, processing such as displaying an error message such as "the mode on the sales data processing device 30 side is not supported" on the display unit 27 of the mobile terminal 20). Is done.

一方、例えば、売上データ処理装置30で「精算モードM6」が選択されている状態で、「設定アプリ」が起動されたケースでは、売上データ処理装置30から出力された狭範囲通信部38との通信を確立するためのビーコンを、狭範囲通信を望む携帯端末20が検索(受信)することができるため、狭範囲通信が確立される。この場合、売上データ処理装置30では、「精算モードM6」による精算処理が行われているにもかかわらず、携帯端末20から「設定アプリ」により設定データが送信可能な状態となっているため、精算処理中に設定データ(例えば、商品単価データ等)が書き換えられるおそれがあり、精算処理に支障を来すおそれがある。 On the other hand, for example, in the case where the "setting application" is started while the "payment mode M6" is selected in the sales data processing device 30, the narrow range communication unit 38 output from the sales data processing device 30 is used. Since the mobile terminal 20 that desires narrow-range communication can search (receive) the beacon for establishing communication, narrow-range communication is established. In this case, the sales data processing device 30 is in a state where the setting data can be transmitted from the mobile terminal 20 by the "setting application" even though the settlement processing is performed by the "settlement mode M6". Setting data (for example, product unit price data, etc.) may be rewritten during the settlement process, which may interfere with the settlement process.

以下、売上データ処理装置30で選択されたモードと携帯端末20で起動されるアプリとが対応していない場合であっても無線通信が確立されるケースで行われる処理について、図18を参照して説明する。なお、図18に示す例では、売上データ処理装置30で「精算モードM6」が選択されている状態で、「設定アプリ」が起動されるケースを例示して説明する。 Hereinafter, with reference to FIG. 18, the processing performed in the case where wireless communication is established even when the mode selected by the sales data processing device 30 and the application started by the mobile terminal 20 do not correspond to each other. I will explain. In the example shown in FIG. 18, a case where the “setting application” is started while the “payment mode M6” is selected in the sales data processing device 30 will be described as an example.

まず、売上データ処理装置30のCPU31は、狭範囲通信部38の電源をオンする処理を行う(ステップS701)。なお、既に狭範囲通信部38の電源がオンされていた場合は、特に何も行わず、次のステップS702に移行する。
一方、携帯端末20のCPU21は、オーナーの操作(タッチ操作等)に基づいて、設定アプリを起動する(ステップS801)。
First, the CPU 31 of the sales data processing device 30 performs a process of turning on the power of the narrow range communication unit 38 (step S701). If the power of the narrow range communication unit 38 has already been turned on, nothing is performed and the process proceeds to the next step S702.
On the other hand, the CPU 21 of the mobile terminal 20 activates the setting application based on the owner's operation (touch operation or the like) (step S801).

次に、携帯端末20のCPU21は、売上データ処理装置30に対し、設定処理を開始するよう要求するための設定開始要求(通信要求)を送信する(ステップS802)。ここで、設定開始要求には、携帯端末20で起動中のアプリ(設定アプリ)の識別情報(例えば、識別番号等)が含まれている。
売上データ処理装置30のCPU31は、ステップS802で携帯端末20から送信された設定開始要求を受信して、設定開始要求に含まれる識別情報に基づき、モードスイッチ42により現在設定されているモード(精算モードM6)が通信先の携帯端末20で起動中のアプリ(設定アプリ)と対応しているか否かを判定する処理を行う(ステップS702)。
Next, the CPU 21 of the mobile terminal 20 transmits a setting start request (communication request) for requesting the sales data processing device 30 to start the setting process (step S802). Here, the setting start request includes identification information (for example, an identification number, etc.) of an application (setting application) running on the mobile terminal 20.
The CPU 31 of the sales data processing device 30 receives the setting start request transmitted from the mobile terminal 20 in step S802, and based on the identification information included in the setting start request, the mode currently set by the mode switch 42 (settlement). A process of determining whether or not the mode M6) corresponds to the application (setting application) running on the communication destination mobile terminal 20 is performed (step S702).

売上データ処理装置30のCPU31は、現在設定されているモードが通信先のアプリと対応していると判定した場合、現在設定されているモードに応じて通信先の携帯端末20で起動されたアプリと狭範囲通信又は広範囲通信可能な状態とするとともに、電源がオンされた通信部との通信を確立するためのビーコンを出力する。携帯端末20は、出力されたビーコンを受信すると、発信元の売上データ処理装置30の通信部との通信を確立する。
一方、CPU31は、図18に示す例のように、現在設定されているモード(精算モードM6)が通信先のアプリ(設定アプリ)と対応していないと判定した場合、通信先の携帯端末20で起動されたアプリと通信可能な状態とすることなく、また、電源がオンされた通信部(狭範囲通信部38)との通信を確立するためのビーコンを出力しないようにする。これにより、携帯端末20は、発信元の売上データ処理装置30の通信部との通信を確立することができなくなる。
When the CPU 31 of the sales data processing device 30 determines that the currently set mode corresponds to the communication destination application, the application activated on the communication destination mobile terminal 20 according to the currently set mode. And narrow range communication or wide range communication is possible, and a beacon for establishing communication with the power-on communication unit is output. Upon receiving the output beacon, the mobile terminal 20 establishes communication with the communication unit of the sales data processing device 30 of the transmission source.
On the other hand, when the CPU 31 determines that the currently set mode (payment mode M6) does not correspond to the communication destination application (setting application) as in the example shown in FIG. 18, the communication destination mobile terminal 20 The beacon for establishing communication with the power-on communication unit (narrow range communication unit 38) is not output without making it possible to communicate with the application started in. As a result, the mobile terminal 20 cannot establish communication with the communication unit of the sales data processing device 30 of the transmission source.

すなわち、売上データ処理装置30のCPU31は、ステップS703において、通信先の携帯端末20との無線通信を拒否するとともに、その旨を示す通信拒否情報を携帯端末20に送信する。
携帯端末20のCPU21は、ステップS703で売上データ処理装置30から送信された通信拒否情報を受信して、所定のエラー処理(例えば、携帯端末20の表示部27に「売上データ処理装置30側のモードが対応していません」等のエラーメッセージを表示させる等の処理)を行う(ステップS803)。
That is, in step S703, the CPU 31 of the sales data processing device 30 rejects wireless communication with the mobile terminal 20 of the communication destination, and transmits communication refusal information indicating that fact to the mobile terminal 20.
The CPU 21 of the mobile terminal 20 receives the communication refusal information transmitted from the sales data processing device 30 in step S703, and performs predetermined error processing (for example, the display unit 27 of the mobile terminal 20 displays "Sales data processing device 30 side". Processing such as displaying an error message such as "mode is not supported") is performed (step S803).

以上のように、携帯端末20から送信された通信要求に含まれる起動中のアプリの識別情報に基づいて現在設定されているモードがアプリと対応しているか否かを判定し、現在設定されているモードがアプリと対応していると判定した場合、現在設定されているモードに応じて携帯端末20と狭範囲通信又は広範囲通信可能な状態とし、現在設定されているモードがアプリと対応していないと判定した場合、携帯端末20との無線通信を拒否する旨を示す通信拒否情報を携帯端末20に送信することで、現在設定されているモードがアプリと対応していない場合のデータの送信及び書き換えを抑制することができるので、現在設定されているモードにおける処理を問題なく行うことができる。 As described above, it is determined whether or not the currently set mode corresponds to the application based on the identification information of the running application included in the communication request transmitted from the mobile terminal 20, and the currently set mode is set. If it is determined that the current mode is compatible with the app, it is set to a state where narrow range communication or wide range communication is possible with the mobile terminal 20 according to the currently set mode, and the currently set mode is compatible with the app. If it is determined that there is no communication, the communication refusal information indicating that the wireless communication with the mobile terminal 20 is rejected is transmitted to the mobile terminal 20, and the data is transmitted when the currently set mode does not correspond to the application. And since rewriting can be suppressed, processing in the currently set mode can be performed without any problem.

また、上記実施形態では、図8のステップS111で通信結果を印字させた後、通信結果の印字を携帯端末20に報告することなく次のステップS112へと移行するようにしているが、これに限定されるものではない。すなわち、ステップS111で通信結果を印字させた後、通信結果の印字を報告するための印字報告を携帯端末20に送信するようにしてもよい。そのとき、携帯端末20は、ステップS111で印字された通信結果の内容を、表示部27に表示させるようにしてもよい。
また、ステップS111で印字された通信結果の内容は、売上データ処理装置30及び携帯端末20の各々が、それぞれの記憶部(RAM22、ROM23、記憶部40等)にログ情報として記憶させるようにしてもよい。
Further, in the above embodiment, after printing the communication result in step S111 of FIG. 8, the process proceeds to the next step S112 without reporting the printing of the communication result to the mobile terminal 20. It is not limited. That is, after printing the communication result in step S111, a print report for reporting the printing of the communication result may be transmitted to the mobile terminal 20. At that time, the mobile terminal 20 may display the content of the communication result printed in step S111 on the display unit 27.
Further, the content of the communication result printed in step S111 is stored as log information in each of the sales data processing device 30 and the mobile terminal 20 in their respective storage units (RAM 22, ROM 23, storage unit 40, etc.). May be good.

また、上記実施形態では、モードスイッチ42において、点検モードM1、戻モードM2、電卓モードM3、OFFモードM4、登録モードM5、精算モードM6、設定モードM7の順に各モードを配列するようにしているが、これに限定されるものではない。例えば、携帯端末20との無線通信を行わない点検モードM1、戻モードM2、電卓モードM3及びOFFモードM4の配列は順不同であり、いかなる配列であってもよい。また、携帯端末20と同一の無線通信(狭範囲の無線通信)を行う精算モードM6及び設定モードM7の配列も同様に順不同であり、設定モードM7、精算モードM6の順に配列するようにしてもよい。
また、例えば、広範囲通信部39の電源をオンして携帯端末20との広範囲の無線通信を行う登録モードM5を、狭範囲通信部38の電源をオンして携帯端末20との狭範囲の無線通信を行う精算モードM6及び設定モードM7の後に配列するようにしてもよい。
Further, in the above embodiment, in the mode switch 42, each mode is arranged in the order of inspection mode M1, return mode M2, calculator mode M3, OFF mode M4, registration mode M5, settlement mode M6, and setting mode M7. However, it is not limited to this. For example, the arrangement of the inspection mode M1, the return mode M2, the calculator mode M3, and the OFF mode M4 that do not perform wireless communication with the mobile terminal 20 is in no particular order, and may be any arrangement. Further, the arrangement of the settlement mode M6 and the setting mode M7 that perform the same wireless communication (narrow range wireless communication) as the mobile terminal 20 is also in no particular order, and the setting mode M7 and the settlement mode M6 may be arranged in this order. Good.
Further, for example, the registration mode M5 in which the power of the wide range communication unit 39 is turned on to perform a wide range of wireless communication with the mobile terminal 20 is set, and the power of the narrow range communication unit 38 is turned on to perform a narrow range wireless communication with the mobile terminal 20. It may be arranged after the settlement mode M6 and the setting mode M7 for communication.

また、上記実施形態では、通信部が携帯端末20と通信可能な状態とするモードとして3つのモード(登録モードM5、精算モードM6及び設定モードM7)を、通信部が携帯端末20と通信不可能な状態とするモードとして4つのモード(点検モードM1、戻モードM2、電卓モードM3及びOFFモードM4)を、それぞれ例示して説明しているが、これに限定されるものではない。通信部が携帯端末20と通信可能な状態とするモードとして少なくとも登録モードM5を含む複数のモードを、通信部が携帯端末20と通信不可能な状態とするモードとして少なくとも一つのモードを、それぞれ備える構成であれば、いかなる構成であってもよい。 Further, in the above embodiment, the communication unit cannot communicate with the mobile terminal 20 in three modes (registration mode M5, settlement mode M6 and setting mode M7) as modes for enabling the communication unit to communicate with the mobile terminal 20. Four modes (inspection mode M1, return mode M2, calculator mode M3, and OFF mode M4) are described as examples, but the mode is not limited thereto. Each of the modes includes at least a plurality of modes including the registration mode M5 as a mode in which the communication unit can communicate with the mobile terminal 20, and at least one mode as a mode in which the communication unit cannot communicate with the mobile terminal 20. Any configuration may be used as long as it is configured.

また、上記実施形態では、オペレータキーK11により、電卓モードM3、OFFモードM4及び登録モードM5に切り替えることができるようにしているが、これに限定されるものではない。例えば、オペレータキーK11により、更に点検モードM1に切り替えられるようにしてもよい。この場合、点検モードM1を、電卓モードM3、OFFモードM4及び登録モードM5と隣接するいずれかの位置に配列するとよい。
また、オペレータキーK11を備えない構成(すなわち、オーナーキーK12のみを備える構成)であってもよい。この場合、モードスイッチ42の回転可能範囲をモードキーK1の種類に応じて異なるように構成しなくてもよいため、製造が容易である。
Further, in the above embodiment, the operator key K11 can be used to switch between the calculator mode M3, the OFF mode M4, and the registration mode M5, but the present invention is not limited to this. For example, the operator key K11 may be used to further switch to the inspection mode M1. In this case, the inspection mode M1 may be arranged at any position adjacent to the calculator mode M3, the OFF mode M4, and the registration mode M5.
Further, the configuration may not include the operator key K11 (that is, the configuration includes only the owner key K12). In this case, the rotatable range of the mode switch 42 does not have to be configured differently depending on the type of the mode key K1, so that the production is easy.

また、上記実施形態では、売上データ処理装置30の構成において、図4等に示すように、表示部34と、入力部41と、モードスイッチ42と、をそれぞれ独立して設ける構成を例示して説明しているが、これに限定されるものではない。例えば、図19に示すように、入力部41Aを、表示部34Aと一体的に形成されたタッチパネルで構成するようにし、モードスイッチ42を設ける代わりに、表示部34A上に各モード(点検モードM1、戻モードM2、電卓モードM3、OFFモードM4、登録モードM5、精算モードM6、設定モードM7)をタブ形式で切り替え可能なモード切替部42Aを表示させる構成としてもよい。上記の構成により、表示部34Aと、入力部41Aと、モード切替部42Aと、を一体的に構成することができる。上記の構成によれば、より簡易な操作でモードの切り替えを実施することができる。 Further, in the above embodiment, in the configuration of the sales data processing device 30, as shown in FIG. 4 and the like, a configuration in which the display unit 34, the input unit 41, and the mode switch 42 are provided independently is illustrated. Although explained, it is not limited to this. For example, as shown in FIG. 19, the input unit 41A is configured by a touch panel integrally formed with the display unit 34A, and instead of providing the mode switch 42, each mode (inspection mode M1) is displayed on the display unit 34A. , Return mode M2, calculator mode M3, OFF mode M4, registration mode M5, settlement mode M6, setting mode M7) may be displayed in a mode switching unit 42A that can be switched in a tab format. With the above configuration, the display unit 34A, the input unit 41A, and the mode switching unit 42A can be integrally configured. According to the above configuration, the mode can be switched with a simpler operation.

以上の説明では、各処理を実行するためのプログラムを格納したコンピュータ読み取り可能な媒体としてHDDや不揮発性の半導体メモリを使用した例を開示したが、この例に限定されない。その他のコンピュータ読み取り可能な媒体として、CD−ROM等の可搬型記録媒体を適用することも可能である。また、通信回線を介してプログラムのデータを提供する媒体として、キャリアウェーブ(搬送波)を適用することとしてもよい。 In the above description, an example in which an HDD or a non-volatile semiconductor memory is used as a computer-readable medium in which a program for executing each process is stored has been disclosed, but the present invention is not limited to this example. As another computer-readable medium, a portable recording medium such as a CD-ROM can be applied. Further, a carrier wave may be applied as a medium for providing program data via a communication line.

本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
[付記]
<請求項1>
所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段と、
前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段と、
を備えたことを特徴とする売上データ処理装置。
<請求項2>
前記第1の通信手段は、前記所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段であり、
前記第2の通信手段は、前記所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段であることを特徴とする請求項1に記載の売上データ処理装置。
<請求項3>
前記登録手段による取引データの登録の際は、前記第2の通信手段を介した無線通信を禁止制御する通信制御手段を備えたことを特徴とする請求項1又は2に記載の売上データ処理装置。
<請求項4>
前記設定手段による設定データの設定の際は、前記第1の通信手段を介した無線通信を禁止制御する通信制御手段を備えたことを特徴とする請求項1又は2に記載の売上データ処理装置。
<請求項5>
コンピュータを、
所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段、
前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段、
として機能させることを特徴とするプログラム。
Although some embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and the equivalent scope thereof.
The inventions described in the claims originally attached to the application of this application are added below. The claims in the appendix are as specified in the claims originally attached to the application for this application.
[Additional Notes]
<Claim 1>
A registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means, and
Setting means that can set setting data applied when registering transaction data by the registration means by wireless communication from the predetermined terminal device via a second communication means different from the first communication means. When,
A sales data processing device characterized by being equipped with.
<Claim 2>
The first communication means is a wide range communication means capable of a wide range of wireless communication with the predetermined terminal device.
The sales data processing device according to claim 1, wherein the second communication means is a narrow-range communication means capable of wireless communication limited to a narrow range with the predetermined terminal device.
<Claim 3>
The sales data processing apparatus according to claim 1 or 2, wherein when registering transaction data by the registration means, a communication control means for prohibiting and controlling wireless communication via the second communication means is provided. ..
<Claim 4>
The sales data processing apparatus according to claim 1 or 2, wherein when setting the setting data by the setting means, a communication control means for prohibiting and controlling wireless communication via the first communication means is provided. ..
<Claim 5>
Computer,
A registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means,
Setting means that can set setting data applied when registering transaction data by the registration means by wireless communication from the predetermined terminal device via a second communication means different from the first communication means. ,
A program characterized by functioning as.

1 売上データ処理システム
10 サーバ装置
20 携帯端末(端末装置)
21 CPU
22 RAM
23 ROM
24 撮像部
25 音声出力部
26 操作部
27 表示部
28 狭範囲通信部
29 広範囲通信部
30 売上データ処理装置
31 CPU(登録手段、設定手段、通信制御手段)
32 RAM
33 ROM
34 表示部
35 客用表示部
36 印刷部
37 ドロア
38 狭範囲通信部(狭範囲通信手段;第2の通信手段)
39 広範囲通信部(広範囲通信手段;第1の通信手段)
40 記憶部
41 入力部
42 モードスイッチ
N 通信ネットワーク
K1 モードキー
K11 オペレータキー
K12 オーナーキー
1 Sales data processing system 10 Server device 20 Mobile terminal (terminal device)
21 CPU
22 RAM
23 ROM
24 Imaging unit 25 Audio output unit 26 Operation unit 27 Display unit 28 Narrow range communication unit 29 Wide range communication unit 30 Sales data processing device 31 CPU (registration means, setting means, communication control means)
32 RAM
33 ROM
34 Display unit 35 Customer display unit 36 Printing unit 37 Drawer 38 Narrow range communication unit (narrow range communication means; second communication means)
39 Wide-range communication unit (wide-range communication means; first communication means)
40 Storage unit 41 Input unit 42 Mode switch N Communication network K1 Mode key K11 Operator key K12 Owner key

Claims (4)

所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段と、
前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段と、
を備え、
前記第1の通信手段は、前記所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段であり、
前記第2の通信手段は、前記所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段であることを特徴とする売上データ処理装置。
A registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means, and
Setting means that can set setting data applied when registering transaction data by the registration means by wireless communication from the predetermined terminal device via a second communication means different from the first communication means. When,
Bei to give a,
The first communication means is a wide range communication means capable of a wide range of wireless communication with the predetermined terminal device.
The sales data processing device is characterized in that the second communication means is a narrow range communication means capable of wireless communication limited to a narrow range with the predetermined terminal device.
前記登録手段による取引データの登録の際は、前記第2の通信手段を介した無線通信を禁止制御する通信制御手段を備えたことを特徴とする請求項1に記載の売上データ処理装置。 The sales data processing device according to claim 1 , further comprising a communication control means for prohibiting and controlling wireless communication via the second communication means when registering transaction data by the registration means. 前記設定手段による設定データの設定の際は、前記第1の通信手段を介した無線通信を禁止制御する通信制御手段を備えたことを特徴とする請求項1に記載の売上データ処理装置。 The sales data processing device according to claim 1 , further comprising a communication control means for prohibiting and controlling wireless communication via the first communication means when setting setting data by the setting means. コンピュータを、Computer,
所定の端末装置からの第1の通信手段を介した無線通信により取引データを登録可能な登録手段、A registration means capable of registering transaction data by wireless communication from a predetermined terminal device via a first communication means,
前記登録手段による取引データの登録の際に適用される設定データを、前記所定の端末装置からの前記第1の通信手段とは異なる第2の通信手段を介した無線通信により設定可能な設定手段、Setting means that can set setting data applied when registering transaction data by the registration means by wireless communication from the predetermined terminal device via a second communication means different from the first communication means. ,
として機能させ、To function as
前記第1の通信手段は、前記所定の端末装置との間で広範囲に及ぶ無線通信が可能な広範囲通信手段であり、The first communication means is a wide range communication means capable of a wide range of wireless communication with the predetermined terminal device.
前記第2の通信手段は、前記所定の端末装置との間で狭範囲に限定された無線通信が可能な狭範囲通信手段であることを特徴とするプログラム。The second communication means is a program characterized by being a narrow range communication means capable of wireless communication limited to a narrow range with the predetermined terminal device.
JP2017117501A 2017-06-15 2017-06-15 Sales data processing equipment and programs Expired - Fee Related JP6863110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017117501A JP6863110B2 (en) 2017-06-15 2017-06-15 Sales data processing equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017117501A JP6863110B2 (en) 2017-06-15 2017-06-15 Sales data processing equipment and programs

Publications (2)

Publication Number Publication Date
JP2019003398A JP2019003398A (en) 2019-01-10
JP6863110B2 true JP6863110B2 (en) 2021-04-21

Family

ID=65006351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017117501A Expired - Fee Related JP6863110B2 (en) 2017-06-15 2017-06-15 Sales data processing equipment and programs

Country Status (1)

Country Link
JP (1) JP6863110B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7540174B2 (en) * 2020-03-24 2024-08-27 カシオ計算機株式会社 Sales data processing device, program, mobile terminal, and sales data processing system
JP7585849B2 (en) * 2021-02-16 2024-11-19 カシオ計算機株式会社 Sales data processing device and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014048677A (en) * 2012-08-29 2014-03-17 Seiko Epson Corp Information processing device, order receiving method, and order receiving system

Also Published As

Publication number Publication date
JP2019003398A (en) 2019-01-10

Similar Documents

Publication Publication Date Title
JP5110921B2 (en) Order accounting system
US20180268381A1 (en) Communication network including an order management system
JP6863110B2 (en) Sales data processing equipment and programs
JP6897752B2 (en) Sales data processing equipment, communication methods and programs
JP6642519B2 (en) Sales data processing device and program
CN108806127B (en) Sales data processing apparatus, terminal apparatus, recording method, and computer-readable recording medium
JP2010157043A (en) Order support system and order processing method of the same
JP6638749B2 (en) Sales data processing device, recording system, recording method, and program
JP6123188B2 (en) Ordering system
US10832494B2 (en) Attendance management device, attendance management system, attendance management method and storage medium
JP2015162213A (en) Product information printing device and product information printing system
JP6624135B2 (en) Sales data processing device
JP7585849B2 (en) Sales data processing device and program
JP7609653B2 (en) Ordering system and ordering method
JP2021152777A (en) Sales data processing device and program
JP6740102B2 (en) Electronic receipt management device and its control program
JP6874807B2 (en) Information processing equipment and programs
JP2025024792A (en) Payment system, receipt system, and receipt system control method
JP6141366B2 (en) Order processing system
JP2014109872A (en) Input device and program
JP2011159187A (en) Portable terminal and program for the same, and article data processing apparatus and program for the same
JP2007243319A (en) Terminal device and notification method
JP2006331174A (en) Photo print order management apparatus, photo print order management system, and photo print system
JP2019144876A (en) Information processing apparatus, receipt printer, and information processing program
JP2014109874A (en) Order input device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201201

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210315

R150 Certificate of patent or registration of utility model

Ref document number: 6863110

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees