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
JP7571563B2 - Terminal device, sales data processing system and program - Google Patents
[go: Go Back, main page]

JP7571563B2 - Terminal device, sales data processing system and program - Google Patents

Terminal device, sales data processing system and program Download PDF

Info

Publication number
JP7571563B2
JP7571563B2 JP2021005952A JP2021005952A JP7571563B2 JP 7571563 B2 JP7571563 B2 JP 7571563B2 JP 2021005952 A JP2021005952 A JP 2021005952A JP 2021005952 A JP2021005952 A JP 2021005952A JP 7571563 B2 JP7571563 B2 JP 7571563B2
Authority
JP
Japan
Prior art keywords
price
information
range
product
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021005952A
Other languages
Japanese (ja)
Other versions
JP2022110494A (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 JP2021005952A priority Critical patent/JP7571563B2/en
Publication of JP2022110494A publication Critical patent/JP2022110494A/en
Application granted granted Critical
Publication of JP7571563B2 publication Critical patent/JP7571563B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

従来、商品の売上データの処理を行うECR(Electronic Cash Register)等の売上データ処理装置が店舗に設置されて会計に用いられている(例えば、特許文献1)。売上データ処理装置は、商品と価格とが対応付けられた価格設定データを記憶しており、会計時には、会計対象の商品に設定されている価格を価格設定データから取得して会計処理を行う。価格設定データにおける各商品の価格データは、例えばユーザにより商品ごとに個別に入力される。価格データの入力は、例えば、売上データ処理装置の操作部に設けられたタッチパネルや入力キーを用いて行う。 Conventionally, sales data processing devices such as ECRs (Electronic Cash Registers) that process product sales data are installed in stores and used for checkout (for example, see Patent Document 1). The sales data processing device stores pricing data in which products are associated with prices, and at checkout, the price set for the product being checked out is obtained from the pricing data to perform the checkout process. The price data for each product in the pricing data is input individually for each product, for example, by the user. The price data is input, for example, using a touch panel or input keys provided on the operation unit of the sales data processing device.

特開2017-157088号公報JP 2017-157088 A

しかしながら、特売時など、商品の価格を一時的に変更したい場合には、ユーザがその都度値札の価格の記載を変更するとともに、変更後の価格のデータを入力して価格設定データを修正する必要がある。このため、価格設定の変更に手間が掛かり、商品点数によっては店舗の運営上大きな負担となるという課題がある。 However, when a user wants to temporarily change the price of a product, such as during a sale, the user must change the price written on the price tag each time and revise the pricing data by inputting the new price data. This makes changing the price setting time-consuming, and depending on the number of products, it can become a significant burden on the store's operations.

この発明の目的は、より簡易に値札から商品に関する情報を取得することができる端末装置、売上データ処理システム及びプログラムを提供することにある。 The object of this invention is to provide a terminal device, a sales data processing system, and a program that can more easily obtain information about products from price tags.

上記課題を解決するため、本発明の端末装置は、
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする。
In order to solve the above problems, the terminal device of the present invention comprises:
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
It is characterized by:

また、上記課題を解決するため、本発明の売上データ処理システムは、
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする。
In order to solve the above problems, the sales data processing system of the present invention comprises:
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
It is characterized by:

また、上記課題を解決するため、本発明のプログラムは、
端末装置に設けられたコンピュータを、
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段、
として機能させ、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする。
In order to solve the above problems, the program of the present invention comprises:
A computer provided in the terminal device,
an information acquiring means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Function as a
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
It is characterized by:

本発明によれば、より簡易に値札から商品に関する情報を取得することができる。 The present invention makes it easier to obtain information about products from price tags.

売上データ処理システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a sales data processing system. 売上データ処理装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of a sales data processing device. 端末装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing a functional configuration of a terminal device. 商品マスターの内容例を示す図である。FIG. 13 is a diagram showing an example of the contents of a product master. 値札の例を示す図である。FIG. 13 is a diagram showing an example of a price tag. 価格設定処理の制御手順を示すフローチャートである。13 is a flowchart showing a control procedure for a price setting process. 読取設定処理の制御手順を示すフローチャートである。10 is a flowchart showing a control procedure of a reading setting process. 値札撮影処理の制御手順を示すフローチャートである。13 is a flowchart showing a control procedure for a price tag photographing process. 更新項目設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which an update item setting screen is displayed. 読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen is displayed. 読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen is displayed. 読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen is displayed. 読取範囲確認画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a reading range confirmation screen is displayed. 撮影画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a shooting screen is displayed. 読取結果確認画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a reading result confirmation screen is displayed. 変形例1に係る更新項目設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which an update item setting screen according to the first modified example is displayed. 変形例1に係る読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen according to Modification 1 is displayed. 変形例1に係る読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen according to Modification 1 is displayed. 変形例1に係る読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen according to Modification 1 is displayed. 変形例1に係る読取範囲設定画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range setting screen according to Modification 1 is displayed. 変形例1に係る撮影画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a shooting screen according to a first modified example is displayed. 変形例1に係る読取結果確認画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read result confirmation screen according to the first modified example is displayed. 変形例1に係る商品マスターを示す図である。FIG. 13 is a diagram showing a product master according to the first modified example. 変形例2に係る読取範囲確認画面が表示された端末装置を示す図である。FIG. 11 is a diagram showing a terminal device on which a read range confirmation screen according to Modification 2 is displayed. 変形例3に係る値札の例を示す図である。FIG. 13 is a diagram showing an example of a price tag according to Modification 3. 変形例3に係る読取範囲確認画面が表示された端末装置を示す図である。FIG. 13 is a diagram showing a terminal device on which a read range confirmation screen according to Modification 3 is displayed. 変形例3に係る商品マスターを示す図である。FIG. 13 is a diagram showing a product master according to Modification 3.

以下、本発明の端末装置、売上データ処理システム及びプログラムに係る実施の形態を図面に基づいて説明する。 The following describes an embodiment of the terminal device, sales data processing system, and program of the present invention with reference to the drawings.

<売上データ処理システムの構成>
図1は、本実施形態の売上データ処理システム1の構成を示す図である。
売上データ処理システム1は、売上データ処理装置10と、端末装置20と、を備えている。売上データ処理システム1は、例えば個人商店、スーパーマーケット、飲食店等の店舗に設置されて会計に用いられる。売上データ処理システム1は、売上データ処理装置10及び端末装置20の連携動作によって、店舗における商取引の売上データの登録等の各種処理を行う。本明細書では、商品やサービスなどの商取引の対象を、まとめて「商品」と記す。
<Sales data processing system configuration>
FIG. 1 is a diagram showing the configuration of a sales data processing system 1 according to the present embodiment.
The sales data processing system 1 comprises a sales data processing device 10 and a terminal device 20. The sales data processing system 1 is installed in stores such as privately owned shops, supermarkets, restaurants, etc., and is used for accounting. The sales data processing system 1 performs various processes such as registering sales data of commercial transactions at the store through the collaborative operation of the sales data processing device 10 and the terminal device 20. In this specification, the objects of commercial transactions such as goods and services are collectively referred to as "goods."

売上データ処理装置10及び端末装置20は、相互に無線データ通信が可能である。無線データ通信としては、例えば各種の近距離無線通信を用いることができる。本実施形態では、無線データ通信としてBLE(Bluetooth(登録商標) Low Energy))が用いられている。BLEによる無線データ通信(以下、「BLE接続」とも記す」)は、Wi-Fi(登録商標)接続よりも通信速度が遅く、接続可能距離が短いものの、Wi-Fi接続より電力消費量が少ない利点がある。売上データ処理装置10をBLE通信のスレーブデバイスとし、端末装置20をBLE通信のマスターデバイスとすることができる。ただし、これに限られない。また、売上データ処理装置10及び端末装置20は、さらに図示略のアクセスポイントを介して外部のネットワーク(例えば、インターネット)に接続可能であってもよい。 The sales data processing device 10 and the terminal device 20 can communicate wirelessly with each other. For example, various short-range wireless communication can be used for wireless data communication. In this embodiment, BLE (Bluetooth (registered trademark) Low Energy)) is used for wireless data communication. Wireless data communication by BLE (hereinafter also referred to as "BLE connection") has a slower communication speed and a shorter connection distance than a Wi-Fi (registered trademark) connection, but has the advantage of consuming less power than a Wi-Fi connection. The sales data processing device 10 can be a slave device for BLE communication, and the terminal device 20 can be a master device for BLE communication. However, this is not limited to this. In addition, the sales data processing device 10 and the terminal device 20 may be further connected to an external network (e.g., the Internet) via an access point not shown.

売上データ処理装置10は、店舗のレジに設置されるECRである。売上データ処理装置10は、会計時にユーザの操作により入力される会計情報(販売する商品の名称、個数、金額等)に基づいて売上データを生成して登録する。また、売上データの内容に応じて、会計に係る情報を顧客用表示部15に表示したり、当該情報が印刷されたレシートを印刷部16から出力したりする。また、現金による決済を行う場合にドロア17(図2参照)を開放して、現金の出納を行う。 The sales data processing device 10 is an ECR that is installed at the store's cash register. The sales data processing device 10 generates and registers sales data based on accounting information (such as the name, quantity, and amount of the product being sold) entered by the user at the time of accounting. Depending on the content of the sales data, the sales data processing device 10 displays information related to the accounting on the customer display unit 15 and outputs a receipt with that information printed on it from the printing unit 16. When paying by cash, the drawer 17 (see Figure 2) is opened to deposit and withdraw cash.

端末装置20は、店舗の店員等のユーザが所持する機器であり、例えばスマートフォン又はタブレット端末等である。端末装置20には、売上データ処理装置10との連携動作を行うためのアプリケーションプログラム(以下、会計アプリ231(図3参照)と記す)がインストールされている。端末装置20は、会計アプリ231上で、売上データ処理装置10の設定を変更したり、売上データの統計情報などを表示したりすることができる。ここで、端末装置20において変更可能な設定には、商品の価格設定が含まれる。 The terminal device 20 is a device carried by a user such as a store clerk, and is, for example, a smartphone or tablet terminal. An application program for operating in conjunction with the sales data processing device 10 (hereinafter, referred to as an accounting application 231 (see FIG. 3)) is installed on the terminal device 20. The terminal device 20 can change the settings of the sales data processing device 10 and display statistical information on sales data, etc., on the accounting application 231. Here, the settings that can be changed on the terminal device 20 include product price settings.

また、端末装置20は、撮影手段としてのカメラ25(図3参照)を備えている。会計アプリ231上でカメラ25により商品の値札を撮影することで、値札の情報を読み取り、読み取ったデータに基づいて商品の価格設定を変更することができる。値札の撮影画像を用いた価格設定方法については、後に詳述する。 The terminal device 20 also includes a camera 25 (see FIG. 3) as an image capturing means. By capturing an image of the price tag of an item with the camera 25 on the accounting application 231, the information on the price tag can be read and the price setting of the item can be changed based on the captured data. The method of setting the price using the captured image of the price tag will be described in detail later.

<売上データ処理装置の構成>
図2は、売上データ処理装置10の機能構成を示すブロック図である。
売上データ処理装置10は、CPU11(Central Processing Unit)(コンピュータ)と、RAM12(Random Access Memory)と、記憶部13と、操作表示部14と、顧客用表示部15と、印刷部16と、ドロア17と、通信部18と、バス19などを備えている。売上データ処理装置10の各部は、バス19により接続されている。
<Configuration of sales data processing device>
FIG. 2 is a block diagram showing the functional configuration of the sales data processing device 10.
The sales data processing device 10 includes a CPU 11 (Central Processing Unit) (computer), a RAM 12 (Random Access Memory), a storage unit 13, an operation display unit 14, a customer display unit 15, a printing unit 16, a drawer 17, a communication unit 18, and a bus 19. The various units of the sales data processing device 10 are connected to each other via the bus 19.

CPU11は、売上データ処理装置10の各部を制御するプロセッサである。CPU11は、記憶部13に記憶されたプログラム131を読み出してRAM12に展開し、当該プログラム131を実行して各種演算処理を行う。 The CPU 11 is a processor that controls each part of the sales data processing device 10. The CPU 11 reads out the program 131 stored in the storage unit 13, expands it in the RAM 12, and executes the program 131 to perform various calculation processes.

RAM12は、CPU11に作業用のメモリ空間を提供し、一時データを記憶する。 RAM 12 provides working memory space for CPU 11 and stores temporary data.

記憶部13は、CPU11により実行されるプログラム131や各種設定データなどを記憶する。プログラム131は、コンピュータ読み取り可能なプログラムコードの形態で記憶部13に格納されている。記憶部13としては、例えばHDD(Hard Disk Drive)又はSSD(Solid State Drive)などの、不揮発性の記憶装置が用いられる。
記憶部13に記憶される設定データとしては、商品の価格設定データD(価格設定情報)を含む商品マスター132などが含まれる。
The storage unit 13 stores a program 131 executed by the CPU 11, various setting data, and the like. The program 131 is stored in the form of computer-readable program code in the storage unit 13. As the storage unit 13, for example, a non-volatile storage device such as a hard disk drive (HDD) or a solid state drive (SSD) is used.
The setting data stored in the storage unit 13 includes a product master 132 including price setting data D (price setting information) of products.

操作表示部14は、液晶表示装置などの表示部と、表示部の表示画面に重ねられて設けられたタッチパネルなどを備える。操作表示部14は、例えば、会計時においてユーザからの会計内容を特定する入力操作を受け付ける。操作表示部14は、キーボード及びマウスといった他の入力デバイスや、商品のタグに付されたバーコードを読み取るバーコードリーダなどをさらに有していてもよい。 The operation display unit 14 includes a display unit such as a liquid crystal display device, and a touch panel overlaid on the display screen of the display unit. For example, the operation display unit 14 accepts input operations from the user to specify the details of the transaction when making a payment. The operation display unit 14 may further include other input devices such as a keyboard and mouse, and a barcode reader that reads barcodes attached to product tags.

顧客用表示部15は、液晶表示装置などにより構成され、売上データ処理装置10を操作するユーザと対面する顧客に対して、商品名や価格などの各種情報を表示する。 The customer display unit 15 is configured with a liquid crystal display device or the like, and displays various information such as product names and prices to customers who are facing the user operating the sales data processing device 10.

印刷部16は、CPU11から出力された制御信号に従い、レシートやジャーナルなどを用紙に印刷して出力する。 The printing unit 16 prints and outputs receipts, journals, etc. on paper in accordance with control signals output from the CPU 11.

ドロア17は、金銭、商品券等を格納する引き出しであり、CPU11による制御下で開放する開放機構を有する。 Drawer 17 is a drawer for storing money, gift certificates, etc., and has an opening mechanism that opens under the control of CPU 11.

通信部18は、アンテナ、変復調回路、信号処理回路などを有する通信モジュールである。通信部18は、BLEによる無線通信に係る通信規格に従って、端末装置20の通信部26との間で無線データ通信を行う。また、通信部18は、Wi-Fiによる無線通信に係る通信規格に従って、所定のアクセスポイントとの間で無線データ通信を行うことが可能であってもよい。 The communication unit 18 is a communication module having an antenna, a modulation/demodulation circuit, a signal processing circuit, etc. The communication unit 18 performs wireless data communication with the communication unit 26 of the terminal device 20 in accordance with a communication standard related to wireless communication by BLE. The communication unit 18 may also be capable of performing wireless data communication with a specified access point in accordance with a communication standard related to wireless communication by Wi-Fi.

<端末装置の構成>
図3は、端末装置20の機能構成を示すブロック図である。
端末装置20は、CPU21(コンピュータ)と、RAM22と、記憶部23と、操作表示部24(表示手段)と、カメラ25と、通信部26と、バス27などを備えている。端末装置20の各部は、バス27により接続されている。
<Configuration of Terminal Device>
FIG. 3 is a block diagram showing the functional configuration of the terminal device 20. As shown in FIG.
The terminal device 20 includes a CPU 21 (computer), a RAM 22, a storage unit 23, an operation display unit 24 (display means), a camera 25, a communication unit 26, and a bus 27. The various units of the terminal device 20 are connected to each other via the bus 27.

CPU21は、端末装置20の各部を制御するプロセッサである。CPU21は、記憶部23に記憶された会計アプリ231などのプログラムを読み出してRAM22に展開し、当該プログラムを実行して各種演算処理を行う。会計アプリ231を実行することで、CPU21は、情報取得手段、範囲設定手段、価格設定手段、商品マスター管理手段、価格変更手段、表示制御手段及びテンプレート登録手段などとして機能する。 The CPU 21 is a processor that controls each part of the terminal device 20. The CPU 21 reads out programs such as the accounting application 231 stored in the storage unit 23, expands them in the RAM 22, and executes the programs to perform various calculation processes. By executing the accounting application 231, the CPU 21 functions as an information acquisition means, a range setting means, a price setting means, a product master management means, a price change means, a display control means, a template registration means, and the like.

RAM22は、CPU21に作業用のメモリ空間を提供し、一時データを記憶する。 RAM 22 provides working memory space for CPU 21 and stores temporary data.

記憶部23は、CPU21により実行される会計アプリ231等のプログラムや各種設定データなどを記憶する。プログラムは、コンピュータ読み取り可能なプログラムコードの形態で記憶部23に格納されている。記憶部23としては、例えばフラッシュメモリなどが用いられる。
記憶部23に記憶される設定データとしては、商品の価格設定データD(価格設定情報)を含む商品マスター232などが含まれる。商品マスター232は、売上データ処理装置10の記憶部13に記憶される商品マスター132と同一内容である。本実施形態では、売上データ処理装置10及び端末装置20の一方で商品マスター132又は商品マスター232が変更された場合には、当該データが他方に送信されて内容が同期される。
The storage unit 23 stores programs such as the accounting application 231 executed by the CPU 21, various setting data, etc. The programs are stored in the storage unit 23 in the form of computer-readable program codes. The storage unit 23 may be, for example, a flash memory.
The setting data stored in the memory unit 23 includes a product master 232 including product price setting data D (pricing information). The product master 232 has the same content as the product master 132 stored in the memory unit 13 of the sales data processing device 10. In this embodiment, when the product master 132 or the product master 232 is changed in either the sales data processing device 10 or the terminal device 20, the data is transmitted to the other device and the contents are synchronized.

操作表示部24は、液晶表示装置などの表示部と、表示部の表示画面に重ねられて設けられたタッチパネルなどを備える。操作表示部24の表示部は、表示制御手段としてのCPU21からの制御信号に基づいて、各種ステータス画面を表示したり、カメラ25による撮影時に撮影範囲を表示したりする。操作表示部24は、例えば、会計アプリ231の実行時に、設定変更に係る各種入力操作を受け付ける。操作表示部24は、物理ボタンなどの入力デバイスをさらに有していてもよい。 The operation display unit 24 includes a display unit such as a liquid crystal display device, and a touch panel superimposed on the display screen of the display unit. The display unit of the operation display unit 24 displays various status screens and displays the shooting range when shooting with the camera 25 based on control signals from the CPU 21 as display control means. The operation display unit 24 accepts various input operations related to setting changes, for example, when the accounting application 231 is executed. The operation display unit 24 may further include an input device such as a physical button.

カメラ25は、入射光をその強度に応じた電気信号に変換する複数の撮像素子と、当該撮像素子に入射光を導く光学系などを有する。カメラ25は、CPU21による制御下で、撮像素子及び光学系により定まる撮影範囲を撮影して撮影画像(撮影画像データ)を生成し、記憶部23に記憶させる。 The camera 25 has a number of image sensors that convert incident light into an electrical signal according to its intensity, and an optical system that guides the incident light to the image sensors. Under the control of the CPU 21, the camera 25 captures an image within a range determined by the image sensors and the optical system, generates a captured image (captured image data), and stores the captured image in the memory unit 23.

通信部26は、アンテナ、変復調回路、信号処理回路などを有する通信モジュールである。通信部26は、BLEによる無線通信に係る通信規格に従って、売上データ処理装置10の通信部18との間で無線データ通信を行う。また、通信部26は、Wi-Fiによる無線通信に係る通信規格に従って、所定のアクセスポイントとの間で無線データ通信を行うことが可能であってもよい。 The communication unit 26 is a communication module having an antenna, a modulation/demodulation circuit, a signal processing circuit, etc. The communication unit 26 performs wireless data communication with the communication unit 18 of the sales data processing device 10 in accordance with a communication standard related to wireless communication by BLE. The communication unit 26 may also be capable of performing wireless data communication with a specified access point in accordance with a communication standard related to wireless communication by Wi-Fi.

図4は、商品マスター132、232の内容例を示す図である。
商品マスター132、232の1つのデータ行は、1つの商品に対応するとともに、当該商品の価格設定データDに相当する。各データ行は、「商品名」、「商品番号」及び「価格」のデータ項目を含む。
「商品名」は、商品の名称を表す。
「商品番号」は、商品に対応付けられた固有の番号であり、この商品番号から1つの商品を特定することができる。「商品番号」に代えて、任意の符号を用いてもよい。
「価格」は、その商品に設定されている価格を表す。
「商品名」、「商品番号」及び「価格」のデータは、例えば、予めユーザにより入力される。
これらのうち「商品名」及び「商品番号」が「商品を識別するための識別情報」に相当する。また、「価格」が「価格情報」に相当する。
なお、商品マスター132、232のデータ項目は上記に限られず、会計時の処理において参照される任意のデータ項目などがさらに含まれていてもよい。
FIG. 4 is a diagram showing an example of the contents of the product master 132, 232.
One data row in the product master 132, 232 corresponds to one product, and corresponds to the price setting data D for that product. Each data row includes the data items "product name", "product number", and "price".
"Product name" indicates the name of the product.
The "product number" is a unique number associated with a product, and a single product can be identified from this product number. Any code may be used instead of the "product number".
"Price" indicates the price set for the product.
The data of "product name", "product number" and "price" are, for example, input in advance by the user.
Among these, the "product name" and "product number" correspond to "identification information for identifying a product." Additionally, the "price" corresponds to "price information."
The data items in the product master database 132, 232 are not limited to those mentioned above, and may further include any data items referenced in the process at the time of checkout.

売上データ処理装置10における会計時の処理では、商品マスター132が参照されて、会計対象の商品が特定されるとともに、当該商品に設定されている価格が取得される。例えば、商品のタグに記載された商品番号をユーザが操作表示部14に入力すると、商品マスター132において当該商品番号に対応するデータ行が参照され、当該データ行における商品名及び価格のデータが取得される。取得されたデータは、売上データの生成に用いられるとともに、操作表示部14及び顧客用表示部15に表示されたり、印刷部16によりレシートに印刷されたりする。 During checkout processing in the sales data processing device 10, the product master 132 is referenced to identify the product being checked out, and the price set for that product is obtained. For example, when a user inputs the product number written on the product tag into the operation and display unit 14, the data row corresponding to that product number in the product master 132 is referenced, and the product name and price data in that data row is obtained. The obtained data is used to generate sales data, and is also displayed on the operation and display unit 14 and customer display unit 15, and printed on a receipt by the printing unit 16.

<売上データ処理システムの価格設定動作>
次に、売上データ処理システム1における商品の価格設定に係る動作について説明する。
上述のとおり、売上データ処理システム1では、端末装置20のカメラ25により撮影した値札30の撮影画像を用いて価格設定を行うことができる。これにより、値札30の記載内容が変更された場合に、端末装置20により値札30を撮影する簡易な操作で、商品の価格設定を、変更後の値札30の内容に整合させることができる。商品の価格設定の変更は、商品マスター132、232の内容を変更することにより行われる。
<Price setting operation of sales data processing system>
Next, the operation of the sales data processing system 1 for setting product prices will be described.
As described above, in the sales data processing system 1, prices can be set using images of the price tags 30 captured by the camera 25 of the terminal device 20. As a result, when the contents of the price tags 30 are changed, the price setting of the product can be adjusted to match the contents of the changed price tags 30 by simply photographing the price tag 30 with the terminal device 20. The price setting of the product is changed by changing the contents of the product master database 132, 232.

図5は、値札30の例を示す図である。
値札30には、商品名31aと、商品番号31bと、価格32などが記載されている。このうち商品名31a及び商品番号31bはそれぞれ、商品を識別するための識別情報に相当し、価格32は価格情報に相当する。また、商品名31aは、商品マスター132、232における「商品名」の項目に対応し、商品番号31bは「商品番号」の項目に対応し、価格32は「価格」の項目に対応する。
なお、値札30には、商品名31a、商品番号31b及び価格32以外の情報が記載されていてもよい。また、値札30には、商品を識別可能な識別情報が少なくとも1つ記載されていればよく、例えば商品番号31bの記載を省略してもよい。
FIG. 5 is a diagram showing an example of a price tag 30. As shown in FIG.
The price tag 30 lists a product name 31a, a product number 31b, and a price 32. The product name 31a and the product number 31b correspond to identification information for identifying the product, and the price 32 corresponds to price information. The product name 31a corresponds to the "product name" item in the product master 132, 232, the product number 31b corresponds to the "product number" item, and the price 32 corresponds to the "price" item.
The price tag 30 may include information other than the product name 31a, the product number 31b, and the price 32. The price tag 30 may include at least one piece of identification information that can identify the product, and may omit, for example, the product number 31b.

図6~図8を参照して、値札30の撮影画像を用いて商品マスター132、232の内容を更新するための価格設定処理について説明する。
図6は、価格設定処理の制御手順を示すフローチャートである。
図6では、売上データ処理装置10側の価格設定処理(CPU11により実行される処理)、及び端末装置20側の価格設定処理(CPU21により実行される処理)が併記されている。売上設定処理は、端末装置20において会計アプリ231が実行され、所定の操作手順によって価格設定の変更機能が呼び出された場合に開始される。
A price setting process for updating the contents of the product master database 132, 232 using a photographed image of the price tag 30 will be described with reference to FIGS.
FIG. 6 is a flowchart showing a control procedure for the price setting process.
6 shows both the price setting process on the sales data processing device 10 side (processing executed by the CPU 11) and the price setting process on the terminal device 20 side (processing executed by the CPU 21). The sales setting process is started when the accounting application 231 is executed on the terminal device 20 and a price setting change function is called by a predetermined operating procedure.

価格設定処理が開始されると、端末装置20のCPU21は、値札30の読み取りに係る設定を行うための読取設定処理を実行する(ステップS101)。 When the price setting process is started, the CPU 21 of the terminal device 20 executes a reading setting process to configure settings related to reading the price tag 30 (step S101).

図7は、読取設定処理のCPU21による制御手順を示すフローチャートである。
読取設定処理が呼び出されると、CPU21は、図9に示す更新項目設定画面241を操作表示部24に表示させて、ユーザから更新対象の読取項目の指定を受け付ける(ステップS201)。ここで、更新対象の読取項目とは、値札30の撮影画像から読み取る読取項目のうち、読取結果を商品マスター132、232に反映させる項目をいう。
FIG. 7 is a flowchart showing a control procedure of the reading setting process by the CPU 21.
When the reading setting process is called, the CPU 21 displays an update item setting screen 241 shown in Fig. 9 on the operation display unit 24 and accepts the user's designation of the read items to be updated (step S201). Here, the read items to be updated refer to the items to be read from the photographed image of the price tag 30, and the read results are to be reflected in the product master database 132, 232.

更新項目設定画面241には、選択ボタンB1と、キャンセルボタンB2と、決定ボタンB3と、テンプレート選択ボタンB4などが表示されている。
選択ボタンB1は、値札30の撮影画像から読み取る読取項目のうち更新対象の項目を選択するためのボタンである。図9の例では、読取項目である「商品名」、「商品番号」及び「価格」の全てが更新項目として選択されている。例えば、商品マスター132、232にまだ登録されていない商品の価格を新たに登録する場合には、図9のように全ての読取項目を更新対象として選択する。また、例えば既に登録されている商品の価格を変更する場合には、「価格」のみを更新対象の読取項目として選択すればよい。
キャンセルボタンB2は、更新項目設定画面241での設定内容を破棄して1つ前の表示画面に遷移させるためのボタンである。
決定ボタンB3は、更新項目設定画面241での設定内容を確定させて次の画面に遷移させるためのボタンである。
テンプレート選択ボタンB4は、予め設定されているテンプレートに沿った読み取りを行う場合に選択される。テンプレートでは、各読取項目について、後述する読取範囲が予め設定されている。
The update item setting screen 241 displays a selection button B1, a cancel button B2, a decision button B3, a template selection button B4, and the like.
The selection button B1 is a button for selecting an item to be updated from among the read items read from the photographed image of the price tag 30. In the example of Fig. 9, all of the read items "Product Name", "Product Number", and "Price" are selected as update items. For example, when registering a new price for a product that has not yet been registered in the product master 132, 232, all read items are selected as update items as shown in Fig. 9. Also, for example, when changing the price of a product that has already been registered, only "Price" may be selected as the read item to be updated.
The cancel button B2 is a button for discarding the settings made on the update item setting screen 241 and transitioning to the previous display screen.
The decision button B3 is a button for deciding the settings on the update item setting screen 241 and transitioning to the next screen.
The template selection button B4 is selected when scanning is performed according to a preset template. In the template, a scanning range (to be described later) is preset for each scanning item.

更新項目設定画面241において決定ボタンB3が選択されると、CPU21(範囲設定手段)は、図10に示す読取範囲設定画面242を操作表示部24に表示させて、ユーザからの読取範囲の指定を受け付ける(図7のステップS202)。ここで、読取範囲は、値札30の撮影時においてカメラ25の撮影範囲SRのうち読取項目が位置する範囲である。 When the decision button B3 is selected on the update item setting screen 241, the CPU 21 (range setting means) displays the read range setting screen 242 shown in FIG. 10 on the operation display unit 24 and accepts the user's specification of the read range (step S202 in FIG. 7). Here, the read range is the range in which the read item is located within the shooting range SR of the camera 25 when the price tag 30 is photographed.

読取範囲設定画面242には、カメラ25の撮影範囲SRに相当する設定領域242aと、キャンセルボタンB2と、決定ボタンB3などが表示されている。このうち設定領域242aには、格子状のグリッドGが表示されている。ユーザは、グリッドGにより区分された複数のブロックのうち、撮影時に設定対象の読取項目が位置する範囲をタップ操作又はドラッグ操作などにより特定することで、読取範囲を選択することができる。図10の例では、読取項目「商品名」について、読取範囲R1a(第1範囲)が選択されている。この後、決定ボタンB3が選択されることで、読取項目「商品名」について読取範囲R1aが設定されて記憶部23に記憶される。 The read range setting screen 242 displays a setting area 242a corresponding to the shooting range SR of the camera 25, a cancel button B2, a confirm button B3, and the like. A lattice-shaped grid G is displayed in the setting area 242a. The user can select the read range by tapping or dragging the range in which the target read item is located at the time of shooting, among the multiple blocks divided by the grid G. In the example of FIG. 10, the read range R1a (first range) is selected for the read item "product name". After that, the confirm button B3 is selected, and the read range R1a is set for the read item "product name" and stored in the memory unit 23.

図7のステップS202が終了すると、CPU21は、全ての読取項目について読取範囲の設定が完了したか否かを判別する(ステップS203)。いずれかの読取項目について読取範囲の設定が完了していないと判別された場合には(ステップS203で“NO”)、CPU21は、処理をステップS202に戻す。 When step S202 in FIG. 7 is completed, the CPU 21 determines whether or not the setting of the read range has been completed for all read items (step S203). If it is determined that the setting of the read range has not been completed for any read item ("NO" in step S203), the CPU 21 returns the process to step S202.

ステップS202、S203の処理ループにより、例えば図11に示すように、読取項目「商品番号」について、読取範囲R1b(第1範囲)が設定され、図12に示すように、読取項目「価格」について、読取範囲R2(第2範囲)が設定される。 By the processing loop of steps S202 and S203, for example, as shown in FIG. 11, a read range R1b (first range) is set for the read item "product number," and as shown in FIG. 12, a read range R2 (second range) is set for the read item "price."

ステップS203の処理で、全ての読取項目について読取範囲の設定が完了したと判別された場合には(ステップS203で“YES”)、CPU21(範囲設定手段)は、図13に示す読取範囲確認画面243を操作表示部24に表示させる(ステップS204)。読取範囲確認画面243は、各読取項目についての読取範囲R1a、R1b、R2の設定内容を確認するための画面である。読取範囲確認画面243には、撮影範囲SRに相当する設定領域243aと、キャンセルボタンB2と、撮影移行ボタンB5と、テンプレート保存ボタンB6などが表示されている。設定領域243aには、設定済の読取範囲R1a、R1b、R2が、それぞれ矩形のフレームF1a、F1b、F2によって表されている。ユーザは、読取範囲確認画面243において撮影移行ボタンB5を選択することで、値札撮影処理(図6のステップS102、図8)を開始させることができる。また、テンプレート保存ボタンB6を選択することで、設定中の読取範囲R1a、R1b、R2をテンプレートとして保存することができる。テンプレート保存ボタンB6が選択されると、CPU21(テンプレート登録手段)は、設定された第1範囲としての読取範囲R1a、R1b、及び第2範囲としての第2範囲R2を、ユーザの指示に応じて読み出し可能なテンプレートとして記憶部23に登録する。 When it is determined in the process of step S203 that the setting of the reading range for all the reading items is completed ("YES" in step S203), the CPU 21 (range setting means) displays the reading range confirmation screen 243 shown in FIG. 13 on the operation display unit 24 (step S204). The reading range confirmation screen 243 is a screen for confirming the setting contents of the reading ranges R1a, R1b, and R2 for each reading item. The reading range confirmation screen 243 displays a setting area 243a corresponding to the shooting range SR, a cancel button B2, a shooting transition button B5, a template save button B6, and the like. In the setting area 243a, the set reading ranges R1a, R1b, and R2 are represented by rectangular frames F1a, F1b, and F2, respectively. The user can start the price tag shooting process (step S102 in FIG. 6, FIG. 8) by selecting the shooting transition button B5 on the reading range confirmation screen 243. In addition, by selecting the template save button B6, the set reading ranges R1a, R1b, and R2 can be saved as templates. When the template save button B6 is selected, the CPU 21 (template registration means) registers the set reading ranges R1a and R1b as the first range, and the second range R2 as the second range, in the memory unit 23 as templates that can be read out in response to a user instruction.

ステップS204の処理が終了すると(すなわち、撮影移行ボタンB5が選択されると)、CPU21は、図7の読取設定処理を終了させ、価格設定処理に戻る。
価格設定処理において読取設定処理(図6のステップS101)が終了すると、CPU21は、値札撮影処理を実行する(ステップS102)。
When the process of step S204 is completed (that is, when the photographing transition button B5 is selected), the CPU 21 ends the reading setting process of FIG. 7 and returns to the price setting process.
When the reading setting process (step S101 in FIG. 6) in the price setting process is completed, the CPU 21 executes a price tag photographing process (step S102).

図8は、値札撮影処理のCPU21による制御手順を示すフローチャートである。
値札撮影処理が呼び出されると、CPU21(表示制御手段)は、図14に示す撮影画面244を操作表示部24に表示させる。また、CPU21は、ユーザからの撮影指示に応じたタイミングでカメラ25による撮影を実行させ、撮影画像を生成させる(ステップS301)。撮影画面244には、カメラ25によるリアルタイムの撮影範囲SRと、キャンセルボタンB2と、撮影ボタンB7と、テンプレート選択ボタンB4などが表示されている。CPU21は、撮影ボタンB7が選択されたタイミングで、カメラ25によりその時点での撮影範囲SRを撮影させて、撮影画像を生成し、記憶部23に記憶させる。撮影範囲SRには、設定済の読取範囲R1a、R1b、R2を表すフレームF1a、F1b、F2が表示されている。言い換えると、CPU21は、カメラ25による撮影時に、撮影範囲SRとともに、読取範囲R1a、R1b、R2を明示する表示(フレームF1a、F1b、F2)を操作表示部24に行わせる。図14に示すように、フレームF1aに商品名31aが入り、フレームF1bに商品番号31bが入り、フレームF2に価格32が入るように値札30と端末装置20との位置関係を調整した状態で撮影することで、後続のステップで商品名31a、商品番号31b、価格32を撮影画像から適切に読み取ることができる。
また、撮影画面244では、値札30の各読取項目とフレームF1a、F1b、F2の位置関係が合っていない場合などにおいて、テンプレート選択ボタンB4を選択することで、他のテンプレートのフレームを表示させることができる。また、キャンセルボタンB2を選択することで、再度図7の読取設定処理を実行して読取範囲を設定できるようになっていてもよい。
FIG. 8 is a flow chart showing a control procedure by the CPU 21 for the price tag photographing process.
When the price tag photographing process is called, the CPU 21 (display control means) displays the photographing screen 244 shown in FIG. 14 on the operation display unit 24. The CPU 21 also causes the camera 25 to photograph at a timing according to a photographing instruction from the user, and generates a photographed image (step S301). The photographing screen 244 displays the real-time photographing range SR by the camera 25, the cancel button B2, the photographing button B7, the template selection button B4, and the like. When the photographing button B7 is selected, the CPU 21 causes the camera 25 to photograph the photographing range SR at that time, generates a photographed image, and stores it in the memory unit 23. In the photographing range SR, frames F1a, F1b, and F2 representing the set reading ranges R1a, R1b, and R2 are displayed. In other words, the CPU 21 causes the operation display unit 24 to display (frames F1a, F1b, F2) clearly indicating the reading ranges R1a, R1b, R2 together with the shooting range SR when photographing with the camera 25. As shown in Fig. 14, by photographing with the positional relationship between the price tag 30 and the terminal device 20 adjusted so that the product name 31a is placed in frame F1a, the product number 31b is placed in frame F1b, and the price 32 is placed in frame F2, the product name 31a, the product number 31b, and the price 32 can be appropriately read from the photographed image in a subsequent step.
Furthermore, in the case where the positional relationship between each of the read items on the price tag 30 and the frames F1a, F1b, and F2 does not match, the frame of another template can be displayed by selecting the template selection button B4 on the photographing screen 244. Moreover, by selecting the cancel button B2, the read setting process of FIG. 7 can be executed again to set the read range.

ステップS301で撮影画像が生成されると、CPU21(情報取得手段)は、撮影画像から、識別情報としての商品名31a、商品番号31b、及び価格情報としての価格32を取得する。また、CPU21は、読取結果確認画面245を操作表示部24に表示させる(ステップS302)。詳しくは、CPU21は、撮影画像のうち読取範囲R1aに相当する部分に対してOCR(Optical Character Recognition)処理を行って得られた文字列を、商品名31aとして取得する。また、読取範囲R1bに相当する部分に対してOCR処理を行って得られた文字列を、商品番号31bとして取得する。また、読取範囲R2に相当する部分に対してOCR処理を行って得られた文字列を、価格32として取得する。 When the captured image is generated in step S301, the CPU 21 (information acquisition means) acquires the product name 31a, product number 31b, and price 32 as price information from the captured image as identification information. The CPU 21 also displays the reading result confirmation screen 245 on the operation display unit 24 (step S302). In detail, the CPU 21 acquires, as the product name 31a, a character string obtained by performing OCR (Optical Character Recognition) processing on a portion of the captured image corresponding to the reading range R1a. The CPU 21 also acquires, as the product number 31b, a character string obtained by performing OCR processing on a portion corresponding to the reading range R1b. The CPU 21 also acquires, as the price 32, a character string obtained by performing OCR processing on a portion corresponding to the reading range R2.

図15に示すように、読取結果確認画面245には、読取結果を示す結果表示領域245aと、キャンセルボタンB2と、登録ボタンB8と、編集ボタンB9などが表示されている。このうち結果表示領域245aには、撮影画像から取得した読取項目の内容が表示されている。ここでは、「商品名」として「ベーコン&マスタード」、「商品番号」として「60」、「価格」として「210円」が、それぞれ読取結果として表示されている。この読取結果が値札30の記載内容と異なる場合には、編集ボタンB9を選択することで、読取結果の文字列を編集して所望の内容に変更することができる。また、キャンセルボタンB2を選択することで、撮影画面244に戻って撮影をやり直すこともできる。登録ボタンB8は、読取結果確認画面245に示されている読取結果を確定させて、商品マスター232に登録する(反映させる)ためのボタンである。 As shown in FIG. 15, the reading result confirmation screen 245 displays a result display area 245a showing the reading result, a cancel button B2, a register button B8, an edit button B9, and the like. Among these, the result display area 245a displays the contents of the read items acquired from the captured image. Here, "bacon & mustard" as the "product name", "60" as the "product number", and "210 yen" as the "price" are displayed as the reading results. If the reading result differs from the contents written on the price tag 30, the user can select the edit button B9 to edit the character string of the reading result and change it to the desired content. In addition, the user can return to the shooting screen 244 and redo the shooting by selecting the cancel button B2. The register button B8 is a button for confirming the reading result shown on the reading result confirmation screen 245 and registering (reflecting) it in the product master 232.

CPU21は、読取結果確認画面245においてユーザから読取結果の登録指示がなされたか否か、すなわち登録ボタンB8が選択されたか否かを判別し(ステップS303)、登録指示がなされていないと判別された場合には(ステップS303で“NO”)、再度ステップS303の処理を実行する。 The CPU 21 determines whether or not the user has instructed to register the reading result on the reading result confirmation screen 245, i.e., whether or not the registration button B8 has been selected (step S303), and if it is determined that no registration instruction has been given ("NO" in step S303), it executes the process of step S303 again.

読取結果確認画面245において登録指示がなされたと判別された場合には(ステップS303で“YES”)、CPU21(価格設定手段、商品マスター管理手段)は、読み取られた商品名31a及び商品番号31bと、価格32とを対応付けて価格設定データDを生成し、当該価格設定データDの内容を商品マスター232に反映させる(ステップS304)。
ここでは、価格設定データDに係る商品が商品マスター232において未登録である場合には、商品マスター232に当該商品に対応する新たなデータ行を追加し、価格設定データDの「商品名」、「商品番号」及び「価格」の各データ項目を記録する。この処理は、「価格設定情報に基づいて商品を商品マスターに登録する」処理に相当する。
また、価格設定データDに係る商品が既に商品マスター232において登録済である場合には、当該商品に対応するデータ行を、生成した価格設定データDの内容に更新する。すなわち、「商品名」、「商品番号」及び「価格」の各データ項目(より詳しくは、更新項目設定画面241において更新対象として設定されている項目)の内容を、値札30から読み取った内容に更新する。この処理は、「価格設定情報に基づいて商品マスターにおける商品の情報を更新する」処理に相当する。
ステップS304の処理は、識別情報に対応する商品と、価格情報と、が対応付けられた価格設定情報を生成する処理に相当する。
If it is determined that a registration instruction has been given on the reading result confirmation screen 245 ("YES" in step S303), the CPU 21 (price setting means, product master management means) generates price setting data D by matching the read product name 31a and product number 31b with the price 32, and reflects the contents of the price setting data D in the product master 232 (step S304).
Here, if the product related to the pricing data D is not registered in the product master 232, a new data row corresponding to the product is added to the product master 232, and the data items of "product name,""productnumber," and "price" of the pricing data D are recorded. This process corresponds to the process of "registering a product in the product master based on pricing information."
Furthermore, if the product related to the pricing data D has already been registered in the product master 232, the data row corresponding to that product is updated to the contents of the generated pricing data D. That is, the contents of each of the data items "product name,""productnumber," and "price" (more specifically, the items set as items to be updated on the update item setting screen 241) are updated to the contents read from the price tag 30. This process corresponds to the process of "updating product information in the product master based on pricing information."
The process of step S304 corresponds to a process of generating pricing information in which the product corresponding to the identification information is associated with price information.

CPU21は、ステップS304の終了後、図示略の確認画面を操作表示部24に表示させ、値札30の撮影を終了するか否かを問い合わせる(ステップS305)。CPU21は、この確認画面において撮影を終了しない指示(すなわち、他の値札30の撮影を継続する指示)がなされたと判別された場合には(ステップS305で“NO”)、処理をステップS301に戻して値札30の撮影を継続する。撮影終了の指示がなされたと判別された場合には(ステップS305で“YES”)、CPU21は、値札撮影処理を終了させ、図6の価格設定処理に戻る。 After step S304 is completed, the CPU 21 displays a confirmation screen (not shown) on the operation display unit 24 and asks whether or not to end photographing the price tag 30 (step S305). If the CPU 21 determines that an instruction not to end photographing (i.e., an instruction to continue photographing other price tags 30) has been given on this confirmation screen ("NO" in step S305), the process returns to step S301 and photographing of the price tag 30 continues. If the CPU 21 determines that an instruction to end photographing has been given ("YES" in step S305), the CPU 21 ends the price tag photographing process and returns to the price setting process in FIG. 6.

一方、図6の価格設定処理において、売上データ処理装置10のCPU11は、端末装置20とのBLE通信を開始させるためのアドバタイズを行う(ステップS103)。すなわち、CPU11は、売上データ処理装置10からのパケットであることを示す固有のIDを含む所定のアドバタイジングパケットを通信部18から発信させる。アドバタイズは、例えば所定の周期で繰り返し実行される。 Meanwhile, in the price setting process of FIG. 6, the CPU 11 of the sales data processing device 10 performs advertising to start BLE communication with the terminal device 20 (step S103). That is, the CPU 11 causes the communication unit 18 to transmit a predetermined advertising packet including a unique ID indicating that the packet is from the sales data processing device 10. Advertising is executed repeatedly at a predetermined cycle, for example.

端末装置20のCPU21は、値札撮影処理(ステップS102)が終了した後に、売上データ処理装置10から発信されたアドバタイジングパケットを通信部26が受信すると、売上データ処理装置10とのペアリング処理を行って、通信部26によりBLE接続を開始させる(ステップS104)。 After the price tag photographing process (step S102) is completed, when the communication unit 26 receives an advertising packet transmitted from the sales data processing device 10, the CPU 21 of the terminal device 20 performs a pairing process with the sales data processing device 10 and starts a BLE connection via the communication unit 26 (step S104).

BLEによる無線通信接続が開始されると、端末装置20のCPU21は、生成した価格設定データDを売上データ処理装置10に対して送信させる(ステップS105)。 When a wireless communication connection via BLE is initiated, the CPU 21 of the terminal device 20 transmits the generated price setting data D to the sales data processing device 10 (step S105).

売上データ処理装置10のCPU11は、通信部18が価格設定データDを受信すると、商品マスター132の内容を、受信した価格設定データDの内容に応じて更新する(ステップS106)。これにより、商品マスター132の内容を、商品マスター232の内容と同期する。
なお、上記に代えて、ステップS105において商品マスター232を売上データ処理装置10に送信してもよい。
ステップS105、S106の処理が終了すると、CPU11、21は、価格設定処理を終了させる。
When the communication unit 18 receives the price setting data D, the CPU 11 of the sales data processing device 10 updates the contents of the product master 132 in accordance with the contents of the received price setting data D (step S106). This synchronizes the contents of the product master 132 with the contents of the product master 232.
Alternatively, instead of the above, the product master 232 may be sent to the sales data processing device 10 in step S105.
When the processes of steps S105 and S106 are completed, the CPU 11, 21 ends the price setting process.

<変形例1>
次に、上記実施形態の価格設定処理の変形例1について説明する。ここでは、商品マスター132、232に既に登録されている商品の価格設定を変更する場合を例に挙げて、操作表示部24の画面遷移を中心に説明する。
<Modification 1>
Next, a first variation of the price setting process of the above embodiment will be described. Here, a case where the price setting of a product already registered in the product master 132, 232 is changed will be taken as an example, and the description will focus on screen transitions on the operation display unit 24.

変形例1の読取設定処理のステップS201では、図16に示すように、更新項目設定画面241において更新項目として「商品番号」及び「価格」のみが選択されるものとする。 In step S201 of the read setting process of variant example 1, only "product number" and "price" are selected as update items on the update item setting screen 241, as shown in FIG. 16.

続く読取範囲の設定(図7の読取設定処理のステップS202)では、図17に示すように、読取範囲設定画面242の設定領域242aにおいて、過去に撮影した値札30sを表示させる。これにより、値札30sにおける各読取項目の位置を参照しつつ読取範囲を設定することができる。例えば、図18に示すように、値札30sの撮影画像における商品名「カレーパン」の位置に合わせて、簡易に読取範囲R1aを設定することができる。同様に、図19に示すように、値札30sの撮影画像における商品番号「72」の位置に合わせて、簡易に読取範囲R1bを設定することができる。また、図20に示すように、値札30sの撮影画像における価格「¥200」の位置に合わせて、簡易に読取範囲R2を設定することができる。なお、図17の読取範囲設定画面242では、背景切替ボタンB10を選択することで、上記実施形態と同様に、過去に撮影した値札30sを使用せずに読取範囲を設定することもできるようになっている。 In the subsequent setting of the reading range (step S202 of the reading setting process in FIG. 7), as shown in FIG. 17, the previously photographed price tag 30s is displayed in the setting area 242a of the reading range setting screen 242. This allows the reading range to be set while referring to the position of each reading item on the price tag 30s. For example, as shown in FIG. 18, the reading range R1a can be easily set to match the position of the product name "curry bread" in the photographed image of the price tag 30s. Similarly, as shown in FIG. 19, the reading range R1b can be easily set to match the position of the product number "72" in the photographed image of the price tag 30s. Also, as shown in FIG. 20, the reading range R2 can be easily set to match the position of the price "¥200" in the photographed image of the price tag 30s. In addition, in the reading range setting screen 242 in FIG. 17, by selecting the background switching button B10, the reading range can be set without using the previously photographed price tag 30s, as in the above embodiment.

その後の値札撮影処理(図8のステップS301)において、図21の撮影画面244に示す値札30を撮影する例を用いて説明する。図21の値札30は、図14に示す記載内容から商品番号が「61」に変更され、価格が「¥220」に変更されている。図21の値札30が撮影されると、その撮影画像から変更後の商品番号及び価格が読み取られ、図22に示す読取結果確認画面245に表示される。この読取結果確認画面245において登録ボタンB8が選択されると、ステップS304において価格設定データDが生成され、図23に示すように商品マスター232が更新される。すなわち、「商品名」が「ベーコン&マスタード」であるデータ行における「商品番号」が「60」から「61」に更新され、「価格」が「210」から「220」に更新される。 In the subsequent price tag photographing process (step S301 in FIG. 8), an example of photographing the price tag 30 shown in the photographing screen 244 in FIG. 21 will be described. The price tag 30 in FIG. 21 has its product number changed to "61" and its price changed to "¥220" from the contents shown in FIG. 14. When the price tag 30 in FIG. 21 is photographed, the changed product number and price are read from the photographed image and displayed on the reading result confirmation screen 245 shown in FIG. 22. When the registration button B8 is selected on this reading result confirmation screen 245, price setting data D is generated in step S304, and the product master 232 is updated as shown in FIG. 23. That is, the "product number" in the data row in which the "product name" is "bacon & mustard" is updated from "60" to "61", and the "price" is updated from "210" to "220".

<変形例2>
次に、上記実施形態の変形例2について説明する。変形例2は、変形例1と組み合わせてもよい。
上記実施形態及び変形例1では、値札30における「商品名」及び「商品番号」をいずれも読み取ったが、例えば「価格」のみを更新するような場合には、「商品名」及び「商品番号」のうち一方の読み取りを省略してもよい。「商品名」及び「商品番号」のいずれかを読み取れば、値札30の商品を特定できるためである。
<Modification 2>
Next, a second modification of the above embodiment will be described. The second modification may be combined with the first modification.
In the above embodiment and variant 1, both the "product name" and the "product number" on the price tag 30 are read, but if, for example, only the "price" is to be updated, reading either the "product name" or the "product number" may be omitted. This is because the product on the price tag 30 can be identified by reading either the "product name" or the "product number."

一例を挙げると、図24に示すように、読取項目「商品番号」に対応する読取範囲R1bと、読取項目「価格」に対応する読取範囲R2とを設定し、読取項目「商品名」に対応する読取範囲の設定を省略してもよい。この設定で値札30の撮影を行う場合には、読取範囲R1bに対応するフレームF1bに値札30の商品番号31bが入り、読取範囲R2に対応するフレームF2に値札30の価格32が入るように値札30と端末装置20との位置関係を調整した状態で撮影すればよい。よって、値札30の位置合わせがより容易になる。また、値札30の撮影画像からは、「商品番号」及び「価格」が読み取られる。読取結果を商品マスター232に反映させる際には、読み取った「商品番号」に基づいて商品が特定され、当該商品のデータ行における「価格」が、読み取られた「価格」に更新される。 As an example, as shown in FIG. 24, a read range R1b corresponding to the read item "product number" and a read range R2 corresponding to the read item "price" may be set, and the setting of the read range corresponding to the read item "product name" may be omitted. When photographing the price tag 30 with this setting, the positional relationship between the price tag 30 and the terminal device 20 may be adjusted so that the product number 31b of the price tag 30 is included in the frame F1b corresponding to the read range R1b, and the price 32 of the price tag 30 is included in the frame F2 corresponding to the read range R2. This makes it easier to align the price tag 30. In addition, the "product number" and "price" are read from the photographed image of the price tag 30. When the reading result is reflected in the product master 232, the product is identified based on the read "product number", and the "price" in the data row of the product is updated to the read "price".

<変形例3>
次に、上記実施形態の変形例3について説明する。変形例3は、変形例1及び/又は変形例2と組み合わせてもよい。
期間限定セールなどの特売の際には、値札30に、価格を適用する期間に係る期間情報が記載される場合がある。例えば、図25に示す値札30では、商品名31a、商品番号31b及び価格32に加えて、右下に期間情報33が記載されている。ここでは、限定セールを行う期間として「9/19~9/26」が明示されている。
<Modification 3>
Next, a third modification of the above embodiment will be described. The third modification may be combined with the first modification and/or the second modification.
In the case of a special sale such as a limited-time sale, period information regarding the period during which the price applies may be written on the price tag 30. For example, the price tag 30 shown in Fig. 25 has period information 33 written on the bottom right in addition to the product name 31a, product number 31b, and price 32. Here, "9/19 to 9/26" is clearly indicated as the period during which the limited-time sale will be held.

変形例3では、このような値札30から期間情報33を読み取って価格設定データDを生成し、商品マスター132、232に反映させる。すなわち、図26の読取範囲確認画面243に示すように、読取項目に「期間情報」が追加され、読取項目「期間情報」に対応する読取範囲R3が設定される。値札30の撮影時には、フレームF1a、F1b、F2に加えて、読取範囲R3に対応するフレームF3が併せて表示される。そして、値札30の撮影画像のうち、読取範囲R3に相当する部分に対してOCR処理を行って得られた文字列が、期間情報33として取得され、価格設定データDが生成される。この価格設定データDでは、商品名31a及び商品番号31bに対し、価格32及び期間情報33が対応付けられている。生成された価格設定データDに基づいて、図27に示すように、商品マスター132、232が更新される。図27の商品マスター132、232における「有効期間」が、期間情報33に相当する。この期間情報33は、その価格の有効期間の設定として用いることができる。例えば、CPU21(価格変更手段)は、期間情報33に基づく期間内(図27の例では、9月19日から9月26日まで)においては、商品の価格設定を、生成した価格設定データDの価格(図27の例では、100円)に変更し、当該期間の経過後に自動的に従前の価格(図27における「有効期間終了後価格」:210円)に戻す。 In the third modification, the period information 33 is read from such a price tag 30 to generate pricing data D, which is reflected in the product master 132, 232. That is, as shown in the reading range confirmation screen 243 of FIG. 26, "period information" is added to the reading items, and a reading range R3 corresponding to the reading item "period information" is set. When the price tag 30 is photographed, in addition to the frames F1a, F1b, and F2, a frame F3 corresponding to the reading range R3 is also displayed. Then, a character string obtained by performing OCR processing on the part of the photographed image of the price tag 30 corresponding to the reading range R3 is acquired as the period information 33, and the pricing data D is generated. In this pricing data D, the price 32 and the period information 33 are associated with the product name 31a and the product number 31b. Based on the generated pricing data D, the product master 132, 232 is updated as shown in FIG. 27. The "validity period" in the product master 132, 232 of FIG. 27 corresponds to the period information 33. This period information 33 can be used to set the validity period of the price. For example, the CPU 21 (price change means) changes the price setting of the product to the price in the generated pricing data D (100 yen in the example of FIG. 27) during the period based on the period information 33 (from September 19 to September 26 in the example of FIG. 27), and automatically returns it to the previous price ("price after validity period ends" in FIG. 27: 210 yen) after the period has elapsed.

<効果>
以上のように、本実施形態に係る端末装置20はCPU21を備える。CPU21は、識別情報としての商品名31a、商品番号31b、及び価格情報としての価格32が記載された値札30をカメラ25により撮影して得られた撮影画像から、商品名31a、商品番号31b及び価格32を取得する(情報取得手段)。CPU21は、ユーザからの指示に基づいて、カメラ25による撮影範囲SRのうち、値札30を撮影するときに商品名31a、商品番号31bがそれぞれ位置する読取範囲R1a、R1b、及び価格32が位置する読取範囲R2を設定する(範囲設定手段)。また、CPU21は、撮影画像のうち読取範囲R1a、R1bに相当する部分からそれぞれ商品名31a、商品番号31bを取得し、読取範囲R2相当する部分から価格32を取得する(情報取得手段)。
これにより、値札30を撮影する簡易な操作で、価格設定の変更に必要な情報を取得することができる。よって、店舗で安売りセール時の一定期間だけ特定の商品の価格を変更したい場合や、ダイナミックプライシングで日ごとに又は週ごとに価格を変更したい場合などのように、頻繁に価格を変更する必要がある場合においても、簡易に値札30から商品に関する情報を取得することができる。よって、店舗の運営上の負担を軽減することができる。
<Effects>
As described above, the terminal device 20 according to the present embodiment includes a CPU 21. The CPU 21 acquires the product name 31a, the product number 31b, and the price 32 from a captured image obtained by photographing the price tag 30, on which the product name 31a, the product number 31b, and the price 32 are written as identification information, by the camera 25 (information acquisition means). Based on an instruction from a user, the CPU 21 sets the reading ranges R1a and R1b in which the product name 31a and the product number 31b are located, and the reading range R2 in which the price 32 is located, within the photographing range SR by the camera 25 when photographing the price tag 30 (range setting means). In addition, the CPU 21 acquires the product name 31a and the product number 31b from the portions of the photographed image corresponding to the reading ranges R1a and R1b, respectively, and acquires the price 32 from the portion corresponding to the reading range R2 (information acquisition means).
This makes it possible to obtain information necessary for changing price settings through the simple operation of photographing the price tag 30. Therefore, even when prices need to be changed frequently, such as when a store wants to change the price of a specific product for a certain period during a sale, or when a store wants to change the price daily or weekly using dynamic pricing, it is possible to easily obtain information about the product from the price tag 30. This reduces the operational burden on the store.

また、CPU21は、取得された商品名31a及び商品番号31bと価格32とを対応付けて商品の価格設定データDを生成する(価格設定手段)。
これにより、値札30を撮影する簡易な操作で値札30の記載内容を読み取って価格設定データDを生成し、商品マスター132、232に反映させることができる。
また、店舗で実際に使用される値札30を読み取って商品マスター132、232に反映させることができるため、値札30の内容と、商品マスター132、232の内容とが整合しなくなる不具合の発生を抑制することができる。
また、値札30を手書きで修正したような場合においても、修正後の内容を読み取って商品マスター132、232に反映できるため、より柔軟に価格設定を管理することができる。
また、電子棚札(ESL:Electronic Shelf Label)を用いて、価格設定データの内容と電子棚札の表示内容とを自動的に同期させるシステムなどと比較して、コストを大幅に抑えることができる。
Furthermore, the CPU 21 generates price setting data D for the product by associating the acquired product name 31a and product number 31b with the price 32 (price setting means).
This allows the contents of the price tag 30 to be read by the simple operation of photographing the price tag 30, and the price setting data D can be generated and reflected in the product master data 132, 232.
In addition, since the price tags 30 actually used in the store can be read and reflected in the product masters 132 and 232, the occurrence of problems in which the contents of the price tags 30 do not match the contents of the product masters 132 and 232 can be suppressed.
Furthermore, even if the price tag 30 is amended by handwriting, the amended content can be read and reflected in the product master data 132, 232, allowing for more flexible price setting management.
Furthermore, costs can be significantly reduced compared to a system that uses electronic shelf labels (ESLs) and automatically synchronizes the contents of price setting data with the display contents of the ESLs.

また、CPU21は、管理対象商品が登録されている商品マスター232を管理する(商品マスター管理手段)。CPU21は、生成された価格設定データDに係る商品が商品マスター232において未登録である場合には、価格設定データDに基づいて当該商品を商品マスター232に登録し、当該商品が商品マスター232において登録済である場合には、価格設定データDに基づいて商品マスター232における商品の情報を更新する(商品マスター管理手段)。
これにより、値札30を読み取ることで簡易に新商品の登録処理を行うことができる。
The CPU 21 also manages the product master 232 in which the products to be managed are registered (product master management means). If the product related to the generated price setting data D is not registered in the product master 232, the CPU 21 registers the product in the product master 232 based on the price setting data D, and if the product has already been registered in the product master 232, the CPU 21 updates the product information in the product master 232 based on the price setting data D (product master management means).
This allows the registration process of a new product to be easily performed by reading the price tag 30.

また、変形例3のCPU21は、価格を適用する期間に係る期間情報33が値札30に記載されている場合に、撮影画像から期間情報33を取得する(情報取得手段)。また、CPU21は、商品名31a及び商品番号31bと、期間情報33と、がさらに対応付けられた価格設定データDを生成する(価格設定手段)。
これにより、期間を限定して価格を変更したい場合に、価格の有効期間を簡易に商品マスター132、232に反映させることができる。
In addition, the CPU 21 of the third modification acquires the period information 33 from the captured image when the period information 33 relating to the period to which the price applies is written on the price tag 30 (information acquisition means). The CPU 21 also generates price setting data D in which the product name 31a and product number 31b are further associated with the period information 33 (price setting means).
This allows the price validity period to be easily reflected in the product master 132, 232 when it is desired to change the price for a limited period of time.

また、変形例3のCPU21は、価格設定データDに期間情報33が含まれている場合に、当該期間情報33に対応する商品の価格設定を、期間情報33に基づく期間内においては価格情報の価格に変更し、上記期間の終了後に、当該期間の開始前の価格に戻す(価格変更手段)。
これにより、簡易に商品の設定価格を一時的に変更することができる。また、価格を変更する期間の終了後に、確実に元の価格設定に戻すことができる。
In addition, when the price setting data D includes period information 33, the CPU 21 of variant example 3 changes the price setting of the product corresponding to the period information 33 to the price of the price information during the period based on the period information 33, and after the end of the period, returns it to the price before the start of the period (price change means).
This allows the price of a product to be temporarily changed easily, and also ensures that the price is restored to the original setting after the end of the price change period.

また、端末装置20は操作表示部24を備え、CPU21は、操作表示部24に撮影範囲SRを表示させる(表示制御手段)。また、CPU21は、カメラ25による撮影時に、撮影範囲SRとともに読取範囲R1a、R1b、R2を明示するフレームF1a、F1b、F2を操作表示部24に表示させる(表示制御手段)。
これにより、値札30の商品名31a、商品番号31b、価格32と、フレームF1a、F1b、F2とを合わせる直感的な操作により、適切なアングルで値札30を撮影することができる。また、撮影画像から必要な情報を取得できない不具合の発生を抑制することができる。
The terminal device 20 also includes an operation display unit 24, and the CPU 21 causes the operation display unit 24 to display the shooting range SR (display control means). The CPU 21 also causes the operation display unit 24 to display frames F1a, F1b, and F2 indicating the reading ranges R1a, R1b, and R2 together with the shooting range SR when the camera 25 captures an image (display control means).
This allows the price tag 30 to be photographed at an appropriate angle by intuitively aligning the product name 31a, product number 31b, and price 32 of the price tag 30 with the frames F1a, F1b, and F2. In addition, it is possible to prevent the occurrence of a problem in which necessary information cannot be obtained from the photographed image.

また、CPU21は、設定された読取範囲R1a、R1b、R2を、ユーザの指示に応じて読み出し可能なテンプレートとして登録する(テンプレート登録手段)。
これにより、共通のレイアウトの値札30を読み取るときに読取範囲のテンプレートを読み出して用いることで、読取範囲を設定する手間を省くことができる。
Furthermore, the CPU 21 registers the set reading ranges R1a, R1b, and R2 as templates that can be read in response to a user instruction (template registration means).
This allows the template of the reading range to be read and used when reading a price tag 30 with a common layout, thereby eliminating the need to set the reading range.

また、本実施形態に係る売上データ処理システム1は端末装置20を備え、端末装置20はCPU21を備える。CPU21は、識別情報としての商品名31a、商品番号31b、及び価格情報としての価格32が記載された値札30をカメラ25により撮影して得られた撮影画像から、商品名31a、商品番号31b及び価格32を取得する(情報取得手段)。CPU21は、ユーザからの指示に基づいて、カメラ25による撮影範囲SRのうち、値札30を撮影するときに商品名31a、商品番号31bがそれぞれ位置する読取範囲R1a、R1b、及び価格32が位置する読取範囲R2を設定する(範囲設定手段)。また、CPU21は、撮影画像のうち読取範囲R1a、R1bに相当する部分からそれぞれ商品名31a、商品番号31bを取得し、読取範囲R2相当する部分から価格32を取得する(情報取得手段)。
これにより、簡易に値札30から商品に関する情報を取得することができる。
The sales data processing system 1 according to the present embodiment includes a terminal device 20, which includes a CPU 21. The CPU 21 acquires the product name 31a, the product number 31b, and the price 32 from a captured image obtained by photographing a price tag 30, on which a product name 31a as identification information, a product number 31b, and a price 32 as price information are written, using a camera 25 (information acquisition means). Based on an instruction from a user, the CPU 21 sets, within the photographing range SR of the camera 25, reading ranges R1a and R1b in which the product name 31a and the product number 31b are located, and a reading range R2 in which the price 32 is located, when photographing the price tag 30 (range setting means). The CPU 21 also acquires the product name 31a and the product number 31b from the portions of the photographed image corresponding to the reading ranges R1a and R1b, respectively, and acquires the price 32 from the portion corresponding to the reading range R2 (information acquisition means).
This makes it possible to easily obtain information about the product from the price tag 30.

また、本実施形態に係るプログラムとしての会計アプリ231は、カメラ25を備えた端末装置20に設けられたコンピュータとしてのCPU21を、識別情報としての商品名31a、商品番号31b、及び価格情報としての価格32が記載された値札30をカメラ25により撮影して得られた撮影画像から、商品名31a、商品番号31b及び価格32を取得する情報取得手段、ユーザからの指示に基づいて、カメラ25による撮影範囲SRのうち、値札30を撮影するときに商品名31a、商品番号31bがそれぞれ位置する読取範囲R1a、R1b、及び価格32が位置する読取範囲R2を設定する範囲設定手段、撮影画像のうち読取範囲R1a、R1bに相当する部分からそれぞれ商品名31a、商品番号31bを取得し、読取範囲R2相当する部分から価格32を取得する情報取得手段、として機能させる。
これにより、簡易に値札30から商品に関する情報を取得することができる。
In addition, the accounting application 231 as a program in this embodiment causes the CPU 21 as a computer provided in the terminal device 20 equipped with the camera 25 to function as: information acquisition means for acquiring the product name 31a, product number 31b, and price 32 from the captured image obtained by photographing, with the camera 25, a price tag 30 on which the product name 31a and product number 31b are written as identification information, and the price 32 as price information; range setting means for setting, within the photographing range SR by the camera 25, reading ranges R1a, R1b in which the product name 31a and product number 31b are located, respectively, and reading range R2 in which the price 32 is located, when photographing the price tag 30, based on instructions from the user; and information acquisition means for acquiring the product name 31a and product number 31b from portions of the photographed image corresponding to the reading ranges R1a, R1b, respectively, and acquiring the price 32 from the portion corresponding to the reading range R2.
This makes it possible to easily obtain information about the product from the price tag 30.

<その他>
なお、上記実施形態における記述は、本発明に係る端末装置、売上データ処理システム及びプログラムの一例であり、これに限定されるものではない。
例えば、商品マスター132を売上データ処理装置10のみに記憶させてもよい。この場合には、端末装置20では価格設定データDの生成及び売上データ処理装置10への送信のみ行えばよく、商品マスターの管理に係る処理を省略できる。なお、例えば識別情報としての商品番号31b、及び価格情報としての価格32のみを読み取って対応付けする場合などにおいては、識別情報と価格情報とが対応付けられていればよく、必ずしも識別情報に対応する商品が特定された状態で当該商品と価格情報とが対応付けられていなくてもよい。
また、端末装置20から値札30の撮影画像を売上データ処理装置10に送信し、売上データ処理装置10のCPU11が撮影画像から商品名31a、商品番号31b及び価格32を取得して価格設定データDを生成してもよい。
<Other>
The above description of the embodiment is merely an example of the terminal device, sales data processing system, and program according to the present invention, and is not intended to be limiting.
For example, the product master 132 may be stored only in the sales data processing device 10. In this case, the terminal device 20 only needs to generate the pricing data D and transmit it to the sales data processing device 10, and processing related to managing the product master can be omitted. Note that, for example, in cases where only the product number 31b as identification information and the price 32 as price information are read and associated, it is sufficient that the identification information and the price information are associated, and it is not necessary that the product corresponding to the identification information is identified and associated with the price information.
In addition, a photographed image of the price tag 30 may be sent from the terminal device 20 to the sales data processing device 10, and the CPU 11 of the sales data processing device 10 may obtain the product name 31a, product number 31b and price 32 from the photographed image to generate pricing data D.

また、売上データ処理装置10と端末装置20との間のBLE接続の開始タイミングは、図6に示したものに限られず、価格設定データDを売上データ処理装置10に送信する前の任意のタイミングとすることができる。例えば、価格設定処理の開始直後にBLE接続を開始させてもよい。 The timing for starting the BLE connection between the sales data processing device 10 and the terminal device 20 is not limited to that shown in FIG. 6, and can be any timing before the price setting data D is transmitted to the sales data processing device 10. For example, the BLE connection may be started immediately after the start of the price setting process.

また、売上データ処理装置10と端末装置20とのデータ通信の方式は、BLEに限られず、例えば、無線LANのアドホックモード、Wi-Fiダイレクト(登録商標)、又はBluetoothなどを用いてもよい。また、有線でデータ通信を行ってよい。 The method of data communication between the sales data processing device 10 and the terminal device 20 is not limited to BLE, and may be, for example, a wireless LAN ad-hoc mode, Wi-Fi Direct (registered trademark), or Bluetooth. Data communication may also be performed by wire.

また、上記実施形態における売上データ処理システム1、売上データ処理装置10及び端末装置20の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。 Furthermore, the detailed configurations and detailed operations of the components of the sales data processing system 1, the sales data processing device 10, and the terminal device 20 in the above embodiment may of course be modified as appropriate without departing from the spirit of the present invention.

本発明の実施の形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする端末装置。
<請求項2>
前記情報取得手段により取得された前記識別情報と前記価格情報とを対応付けて前記商品の価格設定情報を生成する価格設定手段を備えることを特徴とする請求項1に記載の端末装置。
<請求項3>
管理対象商品が登録されている商品マスターを管理する商品マスター管理手段を備え、
前記商品マスター管理手段は、
前記価格設定手段により生成された前記価格設定情報に係る商品が前記商品マスターにおいて未登録である場合には、前記価格設定情報に基づいて前記商品を前記商品マスターに登録し、
前記価格設定手段により生成された前記価格設定情報に係る商品が前記商品マスターにおいて登録済である場合には、前記価格設定情報に基づいて前記商品マスターにおける前記商品の情報を更新する、
ことを特徴とする請求項2に記載の端末装置。
<請求項4>
前記情報取得手段は、前記価格を適用する期間に係る期間情報が前記値札に記載されている場合に、前記撮影画像から前記期間情報を取得し、
前記価格設定手段は、前記商品と前記期間情報とがさらに対応付けられた前記価格設定情報を生成することを特徴とする請求項2又は3に記載の端末装置。
<請求項5>
前記価格設定情報に前記期間情報が含まれている場合に、当該期間情報に対応する商品の価格設定を、前記期間情報に基づく期間内においては前記価格情報の価格に変更し、前記期間の終了後に、当該期間の開始前の価格に戻す価格変更手段を備えることを特徴とする請求項4に記載の端末装置。
<請求項6>
表示手段と、
前記表示手段に前記撮影範囲を表示させる表示制御手段と、
を備え、
前記表示制御手段は、前記撮影手段による撮影時に、前記撮影範囲とともに前記第1範囲及び前記第2範囲を明示する表示を前記表示手段に行わせることを特徴とする請求項1~5のいずれか一項に記載の端末装置。
<請求項7>
前記範囲設定手段により設定された前記第1範囲及び前記第2範囲を、ユーザの指示に応じて読み出し可能なテンプレートとして登録するテンプレート登録手段を備えることを特徴とする請求項1~6のいずれか一項に記載の端末装置。
<請求項8>
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする売上データ処理システム。
<請求項9>
端末装置に設けられたコンピュータを、
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段、
として機能させ、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とするプログラム。
Although the 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 its equivalents.
The inventions described in the claims originally attached to this application are set forth below. The claim numbers in the appended claims are the same as those in the claims originally attached to this application.
[Additional Notes]
<Claim 1>
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A terminal device comprising:
<Claim 2>
2. The terminal device according to claim 1, further comprising a price setting unit that generates price setting information for the product by associating the identification information and the price information acquired by the information acquisition unit.
<Claim 3>
A product master management means for managing a product master in which managed products are registered,
The product master management means includes:
If a product related to the price setting information generated by the price setting means is not registered in the product master, registering the product in the product master based on the price setting information;
if the product related to the price setting information generated by the price setting means has already been registered in the product master, update the information of the product in the product master based on the price setting information;
3. The terminal device according to claim 2.
<Claim 4>
the information acquisition means acquires period information from the photographed image when period information relating to a period during which the price applies is written on the price tag;
4. The terminal device according to claim 2, wherein the price setting means generates the price setting information in which the product and the period information are further associated with each other.
<Claim 5>
The terminal device according to claim 4, further comprising a price changing means for, when the pricing information includes the period information, changing the price setting of a product corresponding to the period information to the price of the price information during a period based on the period information, and returning the price to the price before the start of the period after the period ends.
<Claim 6>
A display means;
a display control means for causing the display means to display the shooting range;
Equipped with
The terminal device according to any one of claims 1 to 5, characterized in that the display control means causes the display means to display a display that clearly indicates the first range and the second range together with the shooting range when the shooting means captures an image.
<Claim 7>
7. The terminal device according to claim 1, further comprising a template registration means for registering the first range and the second range set by the range setting means as a readable template in response to an instruction from a user.
<Claim 8>
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A sales data processing system comprising:
<Claim 9>
A computer provided in the terminal device,
an information acquiring means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Functioning as a
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A program characterized by:

1 売上データ処理システム
10 売上データ処理装置
11 CPU
12 RAM
13 記憶部
14 操作表示部
15 顧客用表示部
16 印刷部
17 ドロア
18 通信部
19 バス
20 端末装置
21 CPU(情報取得手段、範囲設定手段、価格設定手段、商品マスター管理手段、価格変更手段、表示制御手段、テンプレート登録手段)
22 RAM
23 記憶部
24 操作表示部
25 カメラ(撮影手段)
26 通信部
27 バス
30、30s 値札
31a 商品名(識別情報)
31b 商品番号(識別情報)
32 価格(価格情報)
33 期間情報
131 プログラム
132、232 商品マスター
231 会計アプリ(プログラム)
241 更新項目設定画面
242 読取範囲設定画面
242a、243a 設定領域
243 読取範囲確認画面
244 撮影画面
245 読取結果確認画面
245a 結果表示領域
D 価格設定データ(価格設定情報)
F1a、F1b、F2、F3 フレーム
G グリッド
R1a、R1b 読取範囲(第1範囲)
R2 読取範囲(第2範囲)
R3 読取範囲
SR 撮影範囲
1 Sales data processing system 10 Sales data processing device 11 CPU
12 RAM
13 Memory unit 14 Operation display unit 15 Customer display unit 16 Printing unit 17 Drawer 18 Communication unit 19 Bus 20 Terminal device 21 CPU (information acquisition means, range setting means, price setting means, product master management means, price change means, display control means, template registration means)
22 RAM
23 Memory unit 24 Operation display unit 25 Camera (photographing means)
26 Communication unit 27 Bus 30, 30s Price tag 31a Product name (identification information)
31b Product number (identification information)
32 Price (price information)
33 Period information 131 Program 132, 232 Product master 231 Accounting application (program)
241 Update item setting screen 242 Reading range setting screen 242a, 243a Setting area 243 Reading range confirmation screen 244 Photography screen 245 Reading result confirmation screen 245a Result display area D Price setting data (price setting information)
F1a, F1b, F2, F3 Frame G Grid R1a, R1b Reading range (first range)
R2 Reading range (second range)
R3 Reading range SR Shooting range

Claims (9)

商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする端末装置。
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A terminal device comprising:
前記情報取得手段により取得された前記識別情報と前記価格情報とを対応付けて前記商品の価格設定情報を生成する価格設定手段を備えることを特徴とする請求項1に記載の端末装置。 The terminal device according to claim 1, further comprising a price setting means for generating price setting information for the product by associating the identification information acquired by the information acquisition means with the price information. 管理対象商品が登録されている商品マスターを管理する商品マスター管理手段を備え、
前記商品マスター管理手段は、
前記価格設定手段により生成された前記価格設定情報に係る商品が前記商品マスターにおいて未登録である場合には、前記価格設定情報に基づいて前記商品を前記商品マスターに登録し、
前記価格設定手段により生成された前記価格設定情報に係る商品が前記商品マスターにおいて登録済である場合には、前記価格設定情報に基づいて前記商品マスターにおける前記商品の情報を更新する、
ことを特徴とする請求項2に記載の端末装置。
A product master management means for managing a product master in which managed products are registered,
The product master management means includes:
If a product related to the price setting information generated by the price setting means is not registered in the product master, registering the product in the product master based on the price setting information;
if the product related to the price setting information generated by the price setting means has already been registered in the product master, update the information of the product in the product master based on the price setting information;
3. The terminal device according to claim 2.
前記情報取得手段は、前記価格を適用する期間に係る期間情報が前記値札に記載されている場合に、前記撮影画像から前記期間情報を取得し、
前記価格設定手段は、前記商品と前記期間情報とがさらに対応付けられた前記価格設定情報を生成することを特徴とする請求項2又は3に記載の端末装置。
the information acquisition means acquires period information from the photographed image when period information relating to a period during which the price applies is written on the price tag;
4. The terminal device according to claim 2, wherein the price setting means generates the price setting information in which the product and the period information are further associated with each other.
前記価格設定情報に前記期間情報が含まれている場合に、当該期間情報に対応する商品の価格設定を、前記期間情報に基づく期間内においては前記価格情報の価格に変更し、前記期間の終了後に、当該期間の開始前の価格に戻す価格変更手段を備えることを特徴とする請求項4に記載の端末装置。 The terminal device according to claim 4, further comprising a price changing means for changing, when the price setting information includes the period information, the price setting of the product corresponding to the period information to the price of the price information during the period based on the period information, and returning the price to the price before the start of the period after the period ends. 表示手段と、
前記表示手段に前記撮影範囲を表示させる表示制御手段と、
を備え、
前記表示制御手段は、前記撮影手段による撮影時に、前記撮影範囲とともに前記第1範囲及び前記第2範囲を明示する表示を前記表示手段に行わせることを特徴とする請求項1~5のいずれか一項に記載の端末装置。
A display means;
a display control means for causing the display means to display the shooting range;
Equipped with
The terminal device according to any one of claims 1 to 5, characterized in that the display control means causes the display means to display a display that clearly indicates the first range and the second range together with the shooting range when the shooting means captures an image.
前記範囲設定手段により設定された前記第1範囲及び前記第2範囲を、ユーザの指示に応じて読み出し可能なテンプレートとして登録するテンプレート登録手段を備えることを特徴とする請求項1~6のいずれか一項に記載の端末装置。 The terminal device according to any one of claims 1 to 6, further comprising a template registration means for registering the first range and the second range set by the range setting means as a template that can be read in response to a user instruction. 商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段と、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段と、
を備え、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とする売上データ処理システム。
an information acquisition means for acquiring, from a photographed image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Equipped with
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A sales data processing system comprising:
端末装置に設けられたコンピュータを、
商品を識別するための識別情報と、前記商品の価格に係る価格情報と、が記載された値札を撮影手段により撮影して得られた撮影画像から、前記識別情報及び前記価格情報を取得する情報取得手段、
ユーザからの指示に基づいて、前記撮影手段による撮影範囲のうち、前記値札を撮影するときに前記識別情報が位置する第1範囲、及び前記価格情報が位置する第2範囲を設定する範囲設定手段、
として機能させ、
前記情報取得手段は、前記撮影画像のうち前記第1範囲に相当する部分から前記識別情報を取得し、前記第2範囲に相当する部分から前記価格情報を取得する、
ことを特徴とするプログラム。
A computer provided in the terminal device,
an information acquiring means for acquiring, from a captured image obtained by photographing a price tag on which identification information for identifying a product and price information relating to the price of the product are written, the identification information and the price information;
a range setting means for setting, within a photographing range by said photographing means, a first range in which said identification information is located and a second range in which said price information is located when said price tag is photographed, based on an instruction from a user;
Function as a
the information acquisition means acquires the identification information from a portion of the captured image that corresponds to the first range, and acquires the price information from a portion of the captured image that corresponds to the second range.
A program characterized by:
JP2021005952A 2021-01-18 2021-01-18 Terminal device, sales data processing system and program Active JP7571563B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021005952A JP7571563B2 (en) 2021-01-18 2021-01-18 Terminal device, sales data processing system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021005952A JP7571563B2 (en) 2021-01-18 2021-01-18 Terminal device, sales data processing system and program

Publications (2)

Publication Number Publication Date
JP2022110494A JP2022110494A (en) 2022-07-29
JP7571563B2 true JP7571563B2 (en) 2024-10-23

Family

ID=82585448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021005952A Active JP7571563B2 (en) 2021-01-18 2021-01-18 Terminal device, sales data processing system and program

Country Status (1)

Country Link
JP (1) JP7571563B2 (en)

Citations (1)

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

Patent Citations (1)

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

Also Published As

Publication number Publication date
JP2022110494A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
JP7050246B2 (en) Product sales data processing system, registration device and program
JP7571813B2 (en) Purchase management system, server device, purchase management method, and program
CN110400434A (en) Electronic bill system, settlement device, sales promotion bill server and information processing method
JP7532837B2 (en) Information processing device, information processing method, and program
US20170091743A1 (en) Checkout system, accounting machine, and control program
JP2017062703A (en) Compound machine including commodity information input function
US20190180263A1 (en) Card processing apparatus and method by the same
US10776767B2 (en) Checkout system and registration device
JP7524929B2 (en) Payment processing support terminal, transaction processing system, transaction processing device, payment processing support method, and payment processing support program
JP6641776B2 (en) Product registration device, product settlement method, and program
US20170091737A1 (en) Checkout system and method
JP7322928B2 (en) Information processing method, information processing device, program and information processing system
JP7571563B2 (en) Terminal device, sales data processing system and program
JP6665468B2 (en) Electronic receipt system, electronic receipt management server, device, method, and program
US20200104907A1 (en) Shopping support system and information processing apparatus therein
US20230259914A1 (en) Display processing apparatus, transaction support apparatus, and program
JP7142966B2 (en) Settlement device, POS system, and program
JP2018181383A (en) Checkout system, accounting machine, and control program
US20220129939A1 (en) Commodity registration apparatus and commodity registration method
US20240312318A1 (en) Checkout machine, method, and system
US20210256494A1 (en) Payment terminal and control method for a payment terminal
JP7415509B2 (en) Transaction data processing device, terminal device, transaction data processing system and program
JP7195577B2 (en) Registration device and program
JP2022118930A (en) Sales data processor and program
JP2024114361A (en) Product information display device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231215

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240904

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240910

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240923

R150 Certificate of patent or registration of utility model

Ref document number: 7571563

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150