JP7183718B2 - PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM - Google Patents
PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM Download PDFInfo
- Publication number
- JP7183718B2 JP7183718B2 JP2018212748A JP2018212748A JP7183718B2 JP 7183718 B2 JP7183718 B2 JP 7183718B2 JP 2018212748 A JP2018212748 A JP 2018212748A JP 2018212748 A JP2018212748 A JP 2018212748A JP 7183718 B2 JP7183718 B2 JP 7183718B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- identification information
- unit
- printing
- receipt
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 61
- 238000004458 analytical method Methods 0.000 claims description 80
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 93
- 238000012545 processing Methods 0.000 description 54
- 230000006870 function Effects 0.000 description 29
- 238000000034 method Methods 0.000 description 29
- 238000005034 decoration Methods 0.000 description 20
- 238000007726 management method Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 14
- 238000007405 data analysis Methods 0.000 description 12
- 238000013523 data management Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000032258 transport Effects 0.000 description 2
- 230000007723 transport mechanism Effects 0.000 description 2
- 240000001973 Ficus microcarpa Species 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Cash Registers Or Receiving Machines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、印刷装置、及び、情報処理システムに関する。 The present invention relates to a printing device and an information processing system.
従来、決済に関する決済情報に対して情報の紐づけが行われている(例えば、特許文献1参照)。特許文献1記載のシステムは、決済情報に相当する印刷制御データに印刷装置を識別する印刷装置識別情報を対応付け、また、会計を行った顧客の会員番号を示す会員番号情報に印刷装置識別情報を対応付け、印刷装置識別情報により印刷制御データと会員番号情報とを紐づけことで決済情報に対して会員番号情報の紐づけを行う。
Conventionally, information is linked to payment information related to payment (see, for example, Patent Document 1). The system described in
本発明は、決済情報に対する情報の紐づけを精度よく行えるようにすることを目的とする。 An object of the present invention is to enable accurate linking of information to payment information.
上記目的を達成するための一態様は、端末、情報処理装置、及び読取装置と通信可能な印刷装置であって、印刷部と、前記印刷部を制御する制御部と、を備え、前記制御部は、前記端末から決済情報を受信し、受信した前記決済情報を識別する第1識別情報を生成して前記印刷部により前記決済情報と前記第1識別情報とを印刷媒体に印刷し、前記印刷媒体に印刷された前記第1識別情報を前記読取装置により取得し、前記第1識別情報と異なる第2識別情報を記録する情報記録媒体から前記第2識別情報を前記読取装置により取得し、受信した前記決済情報、前記読取装置から取得した前記第1識別情報、及び、前記読取装置から取得した前記第2識別情報を、前記情報処理装置に送信する、印刷装置である。 One aspect for achieving the above object is a printing device capable of communicating with a terminal, an information processing device, and a reading device, comprising: a printing unit; a control unit that controls the printing unit; receives payment information from the terminal, generates first identification information for identifying the received payment information, prints the payment information and the first identification information on a print medium by the printing unit, and prints the payment information and the first identification information on a printing medium. The reading device acquires the first identification information printed on a medium, and the reading device acquires and receives the second identification information from an information recording medium recording second identification information different from the first identification information. and the first identification information acquired from the reading device, and the second identification information acquired from the reading device, to the information processing device.
上記印刷装置において、前記制御部は、前記読取装置により前記第1識別情報を取得した第1時刻を、前記第1識別情報に付加して前記情報処理装置に送信し、前記読取装置により前記第2識別情報を取得した第2時刻を、前記第2識別情報に付加して前記情報処理装置に送信する、構成でもよい。 In the printing apparatus, the control unit adds a first time at which the first identification information is acquired by the reading device to the first identification information and transmits the first identification information to the information processing device. A second time at which the second identification information is acquired may be added to the second identification information and transmitted to the information processing apparatus.
上記印刷装置において、前記印刷装置を識別する印刷装置識別情報を記憶する記憶部を備え、前記制御部は、前記記憶部が記憶する前記印刷装置識別情報を、前記決済情報、前記第1識別情報、及び前記第2識別情報に付加して前記情報処理装置に送信する、構成でもよい。 The above-described printing device includes a storage unit that stores printing-device identification information for identifying the printing device, and the control unit stores the printing-device identification information stored in the storage unit as the payment information and the first identification information. , and added to the second identification information and transmitted to the information processing apparatus.
上記印刷装置において、前記第2識別情報は、前記情報処理装置が提供する所定のサービスを利用する利用者を識別する識別情報であってもよい。 In the printing device, the second identification information may be identification information for identifying a user who uses a predetermined service provided by the information processing device.
上記目的を達成する別の一態様は、第1端末、及び読取装置と通信可能な印刷装置と、前記印刷装置と通信可能な情報処理装置とを備える情報処理システムであって、前記印刷装置は、前記第1端末から決済情報を受信し、受信した前記決済情報を識別する第1識別情報を生成して前記決済情報と前記第1識別情報とを印刷媒体に印刷し、前記印刷媒体に印刷された前記第1識別情報を前記読取装置により取得し、前記第1識別情報と異なる第2識別情報を記録する情報記録媒体から前記第2識別情報を前記読取装置により取得し、受信した前記決済情報、前記読取装置から取得した前記第1識別情報、及び、前記読取装置から取得した前記第2識別情報を、前記情報処理装置に送信し、前記情報処理装置は、前記印刷装置から、前記決済情報、前記第1識別情報、及び前記第2識別情報を受信する、情報処理システムである。 Another aspect of achieving the above object is an information processing system comprising a first terminal, a printing device communicable with a reading device, and an information processing device communicable with the printing device, wherein the printing device receiving payment information from the first terminal, generating first identification information identifying the received payment information, printing the payment information and the first identification information on a print medium, and printing the payment information and the first identification information on the print medium. the reader acquires the first identification information received, the reader acquires the second identification information from an information recording medium recording second identification information different from the first identification information, and the received payment information, the first identification information obtained from the reading device, and the second identification information obtained from the reading device are transmitted to the information processing device, and the information processing device receives the payment from the printing device. An information processing system that receives information, the first identification, and the second identification.
上記情報処理システムにおいて、前記印刷装置は、前記読取装置により前記第1識別情報を取得した第1時刻を、前記第1識別情報に付加して前記情報処理装置に送信し、前記読取装置により前記第2識別情報を取得した第2時刻を、前記第2識別情報に付加して前記情報処理装置に送信し、前記情報処理装置は、前記第1時刻と前記第2時刻との差が所定範囲内である場合、前記第1識別情報と前記第2識別情報とを対応付けて記憶する、構成でもよい。 In the above information processing system, the printing device adds a first time at which the first identification information is acquired by the reading device to the first identification information and transmits the information to the information processing device, and the reading device A second time at which the second identification information is acquired is added to the second identification information and transmitted to the information processing device, and the information processing device detects that the difference between the first time and the second time is within a predetermined range. If it is within, the first identification information and the second identification information may be stored in association with each other.
上記情報処理システムにおいて、前記情報処理装置は、前記決済情報に対応するテキストデータを分析し、分析結果を前記第1識別情報と対応付けて記憶し、前記分析結果に基づいて、前記情報処理装置が提供するサービスに関するサービス関連情報を生成し、生成した前記サービス関連情報を前記第2識別情報と対応付けて記憶し、第2装置から前記第2識別情報を受信した場合、受信した前記第2識別情報に対応付く前記サービス関連情報を前記第2端末に送信する、構成でもよい。 In the above information processing system, the information processing device analyzes text data corresponding to the payment information, stores the analysis result in association with the first identification information, and based on the analysis result, the information processing device generates service-related information relating to a service provided by the second device, stores the generated service-related information in association with the second identification information, and receives the second identification information from the second device; The configuration may be such that the service-related information associated with the identification information is transmitted to the second terminal.
上記情報処理システムにおいて、前記第2識別情報は、前記情報処理装置が提供する所定のサービスを利用する利用者を識別する識別情報であってもよい。 In the above information processing system, the second identification information may be identification information for identifying a user who uses a predetermined service provided by the information processing device.
図1は、情報処理システム1の構成を示す図である。
FIG. 1 is a diagram showing the configuration of an
図1に示すように、情報処理システム1は、複数の店舗システム2を備える。店舗システム2は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の店舗Tに用いられるシステムである。店舗Tは、商品の提供が行われ、商品の提供に応じて、顧客による会計が行われる施設であればよい。本実施形態において、「商品」は、物体として顧客に引き渡される商品だけでなく、顧客に提供されるサービスや、顧客に提供される飲食物等、対価と引き換えに顧客に提供される対象を意味する。
店舗システム2は、顧客が購入した商品に応じた会計を行う機能、会計に応じてレシートRを発行する機能等を備える。
As shown in FIG. 1 , the
The
店舗システム2が適用される店舗Tには、顧客KKが会計を行なうレジカウンターLが設けられる。図1では、1の店舗Tに複数のレジカウンターLが設けられる場合を示しているが、1の店舗Tに設けられるレジカウンターLの数は、1つでもよい。レジカウンターLには、印刷媒体の一態様であるロール紙に印刷する機能を有する印刷装置3が設けられる。また、レジカウンターLには、印刷装置3と無線通信可能に接続され、印刷装置3を制御するPOS端末4が設けられる。POS端末は、端末、及び第1端末に相当する。印刷装置3、及びPOS端末4の詳細については、後述する。
A store T to which the
レジカウンターLにおける会計に際し、レジカウンターLにおいて顧客KKの会計を担当するレジ担当者は、印刷装置3に接続されたコードリーダーCRで商品や商品の包装に付されたコードを読み取り、また、POS端末4に対して会計に対応する入力を行う。印刷装置3は、コードリーダーCRによる読み取りに基づくデータを、POS端末4に送信する。POS端末4は、印刷装置3から受信したコードリーダーCRの読み取りに基づくデータや、レジ担当者による会計に対応する入力に基づいて会計情報を生成し、さらに会計情報に基づき印刷データIDやコマンドを生成し、印刷装置3へ送信して、印刷装置3を制御し、印刷装置3にレシートRを発行させる。印刷装置3により発行されたレシートRは、レジ担当者により顧客に引き渡される。また、本実施形態の会計では、レジ担当者は、顧客KKにより会員カードCDの提示があった場合、印刷装置3に接続されたコードリーダーCRで、会員カードCDに付加されたコードを読み取る。当該コードには、後述する会計番号情報J15が記録されている。
When paying at the checkout counter L, the checkout clerk in charge of checking out the customer KK at the checkout counter L uses a code reader CR connected to the
会員カードCDは、制御サーバー7が提供する所定のサービスを利用する利用者であることを証明するために、当該サービスの会員となった店舗Tの顧客KKに引き渡されるカードである。会員カードCDは、情報記録媒体に相当する。会員カードCDには、少なくとも、制御サーバー7が提供する所定のサービスを利用する利用者を識別する識別情報として、会員ごとに一意な値である会員番号を示す会員番号情報J15が記録される。会員番号情報J15は、第2識別情報に相当する。本実施形態では、会員番号情報J15は、印刷装置3に接続するコードリーダーCRで読み取り可能な態様で会員カードCDに記録されている。
The membership card CD is a card that is handed over to the customer KK of the store T who has become a member of the service in order to prove that the user is a user who uses the predetermined service provided by the
店舗システム2は、ローカルエリアネットワークLNを備える。
ローカルエリアネットワークLNには、印刷装置3、及び通信装置5が接続する。
通信装置5は、ローカルエリアネットワークLNと、インターネット、電話網、その他の通信網を含むグローバルネットワークGNとを接続するインターフェース装置である。通信装置5は、モデム又は、ONU(Optical Network Unit)に係る機能、ルーター機能、NAT(Network Address Translation)機能、及び、DHCP(Dynamic Host Configuration Protocol)サーバー機能等を有する。通信装置5は、ローカルエリアネットワークLNに接続された機器と、グローバルネットワークGNに接続された機器との間で行われる通信に際し、機器間で送受信されるデータを転送する。なお、図1では、通信装置5を1つのブロックで表現するが、通信装置5は、機能に応じた複数の装置を有する構成でもよい。
印刷装置3は、通信装置5を介して、グローバルネットワークGNにアクセス可能である。
The
A
The
The
グローバルネットワークGNには、顧客端末6が接続する。顧客端末6は、第2端末に相当する。顧客端末6は、顧客KKが所有する端末装置であって、タブレット型の携帯電話や、タブレット型のコンピューター等が具体例として挙げられる。図1では、顧客端末6を所有する顧客KKが会員カードCDを所有する場合を図示している。したがって、図1に示す顧客端末6を所有する顧客KKは、制御サーバー7が提供する所定のサービスを利用する利用者である。
A
なお、制御サーバー7が提供する所定のサービスは、例えば、購入金額の合計や購入した商品等に応じたポイント付与のサービスや、電子レシートの発行のサービス等である。本実施形態では、制御サーバー7がポイント付与のサービスを提供する場合を例示する。以下の説明において、ポイント付与のサービスを、ポイント付与サービスという。なお、電子レシートの発行とは、顧客端末6、その他の装置に、顧客KKの要求に応じて、印刷装置3により発行された紙媒体のレシートRに印刷された情報の一部、又は全部の情報を表示させることを示す。
The predetermined service provided by the
制御サーバー7は、情報処理装置に相当する。制御サーバー7は、印刷装置3、及び顧客端末6と通信可能なサーバー装置である。すなわち、制御サーバー7は、クライアントからの要求等をトリガーとして、所定の演算処理を実行する。制御サーバー7は、必要に応じて、演算処理の結果に基づくデータを、クライアントに送信する。なお、図1では、制御サーバー7を、1つのブロックによって表現するが、これは制御サーバー7が単一のサーバー装置により構成されることを意味するものではない。例えば、制御サーバー7は、複数のサーバー装置を含んで構成されたものでもよい。すなわち、制御サーバー7は、後述する各種処理を実行可能な構成であれば、その形態を問わない。
The
図2は、情報処理システム1が備える各装置の機能的構成を示すブロック図である。
FIG. 2 is a block diagram showing the functional configuration of each device included in the
POS端末4は、例えば、前面の広い領域にPOS端末タッチパネル42が設けられたタブレット型の端末装置である。なお、POS端末4は、デスクトップ型等の据え置き型の端末でもよい。POS端末4は、レジカウンターLにおける会計に際し、会計に関する各種処理を実行して印刷装置3を制御するホストコンピューターとして機能する。
The
図2に示すように、POS端末4は、POS端末制御部40と、POS端末通信部41と、POS端末タッチパネル42とを備える。
As shown in FIG. 2 , the
POS端末制御部40は、CPUやMPU等のプログラムを実行するプロセッサーであるPOS端末プロセッサー400、及びPOS端末記憶部410を備え、POS端末4の各部を制御する。POS端末制御部40は、POS端末プロセッサー400が、POS端末記憶部410に記憶された制御プログラム410Aを読み出して処理を実行するように、ハードウェア、及びソフトウェアの協働により各種処理を実行する。POS端末4には、所定のアプリケーションが事前にインストールされる。POS端末プロセッサー400が、この所定のアプリケーション、この所定のアプリケーションに付随するプログラム、その他のプログラムをPOS端末記憶部410から読み出して実行することにより、POS端末制御部40は、アプリケーション実行部4000として機能する。アプリケーション実行部4000については、後述する。
The POS
POS端末記憶部410は、POS端末プロセッサー400が実行するプログラムや、POS端末プロセッサー400により処理されるデータを記憶する記憶領域を有する。POS端末記憶部410は、POS端末プロセッサー400が実行する制御プログラム410A、その他の各種データを記憶する。POS端末記憶部410は、プログラムやデータを不揮発的に記憶する不揮発性記憶領域を有する。また、POS端末記憶部410は、揮発性記憶領域を備え、POS端末プロセッサー400が実行するプログラムや処理対象のデータを一時的に記憶するワークエリアを構成してもよい。
The POS
POS端末通信部41は、所定の通信規格に従った通信ハードウェアにより構成され、POS端末制御部40の制御で、印刷装置3と通信する。なお、通信ハードウェアとしては、通信回路や、通信ポート、通信基板、通信コネクター等のハードウェアが一例として挙げられる。本実施形態のPOS端末通信部41は、所定の無線通信の規格に従って、印刷装置3と通信する。POS端末4と印刷装置3との間で行われる無線通信の通信規格は、アドホックモードに対応する無線LANに係る規格や、インフラストラクチャーモードに対応する無線LANに係る規格、Bluetooth等の近距離無線通信に係る規格等、どのような規格でもよい。Bluetoothは、登録商標である。なお、POS端末通信部41は、所定の有線通信の規格に従って、印刷装置3と通信する構成でもよい。
The POS
POS端末タッチパネル42は、液晶表示パネル等の表示パネルと、表示パネルに重ねて、或いは一体に設けられたタッチセンサーとを備える。表示パネルは、POS端末制御部40の制御で、各種画像を表示する。タッチセンサーは、タッチ操作を検出し、POS端末制御部40に出力する。POS端末制御部40は、タッチセンサーからの入力に基づいて、タッチ操作に対応する処理を実行する。
The POS
印刷装置3は、ロール紙を収容し、収容したロール紙にライン型のサーマルヘッドでドットを形成して文字や画像等を印刷するサーマルプリンターである。なお、本実施形態に係る印刷装置3の印刷方式はサーマル方式であるが、印刷装置3の印刷方式は、サーマル方式に限らず、インクジェット方式等の他の印刷方式でもよい。また、印刷装置3の印刷ヘッドは、ライン型に限らず、シリアル型でもよい。
The
図2に示すように、印刷装置3は、印刷装置制御部30と、印刷部31と、印刷装置通信部32と、印刷装置ネットワーク通信部33と、デバイス通信部34とを備える。印刷装置制御部30は、制御部に相当する。
As shown in FIG. 2 , the
印刷装置制御部30は、CPUやMPU等のプログラムを実行するプロセッサーである印刷装置プロセッサー300、及び印刷装置記憶部310を備え、印刷装置3の各部を制御する。印刷装置記憶部310は、記憶部に相当する。印刷装置制御部30は、印刷装置プロセッサー300が、印刷装置記憶部310に記憶された制御プログラム310Aを読み出して処理を実行するように、ハードウェア、及びソフトウェアの協働により各種処理を実行する。
The printing
印刷装置記憶部310は、印刷装置プロセッサー300が実行するプログラムや、印刷装置プロセッサー300により処理されるデータを記憶する記憶領域を有する。印刷装置記憶部310は、印刷装置プロセッサー300が実行する制御プログラム310A、印刷装置3を識別するシリアル番号J11、その他の各種データを記憶する。シリアル番号J11は、印刷装置識別情報に相当する。シリアル番号J11は、印刷装置3の製造段階で、印刷装置3に一意に割り当てられる識別情報である。印刷装置記憶部310は、プログラムやデータを不揮発的に記憶する不揮発性記憶領域を有する。また、印刷装置記憶部310は、揮発性記憶領域を備え、印刷装置プロセッサー300が実行するプログラムや処理対象のデータを一時的に記憶するワークエリアを構成してもよい。
The printing
印刷部31は、印刷装置3の筐体に収容されたロール紙を搬送する搬送機構や、サーマルヘッドによってロール紙にドットを形成して画像を印刷する印刷機構、ロール紙を所定の位置で切断する切断機構等のロール紙への印刷に関する各種機構を備える。印刷部31は、印刷装置制御部30の制御で、搬送機構によりロール紙を搬送し、印刷機構によりロール紙にレシートRに係る画像を印刷し、切断機構により所定の位置でロール紙を切断して、レシートRを発行する。
The
印刷装置通信部32は、所定の通信規格に従った通信ハードウェアにより構成され、印刷装置制御部30の制御で、POS端末4と通信する。本実施形態の印刷装置通信部32は、所定の無線通信の規格に従って、POS端末4と通信する。なお、印刷装置通信部32は、所定の有線通信の規格に従って、POS端末4と通信する構成でもよい。
The
印刷装置ネットワーク通信部33は、所定の通信規格に従ったネットワークカード等の無線通信する通信ハードウェアを備え、印刷装置制御部30の制御により、グローバルネットワークGNと接続する機器と所定の通信規格に従って通信する。グローバルネットワークGNと接続する機器には、制御サーバー7とが含まれる。印刷装置ネットワーク通信部33が通信に使用する通信規格は、HTTPや、WebSocket等が例として挙げられる。
The printer
デバイス通信部34は、USBの規格に従ったポートや、USB以外のシリアル通信規格に従ったポート、パラレル通信規格に従ったポート、有線LANに係る通信規格に従ったポート、その他ポートを有するインターフェースボードを備える。各ポートには、デバイスが接続可能である。デバイス通信部34は、印刷装置制御部30の制御で、ポートを介して印刷装置3に接続されたデバイスと通信する。なお、デバイス通信部34が、無線通信機能を備え、デバイスと無線通信する構成でもよい。
The
印刷装置3には、デバイスとして、コードリーダーCR、カスタマーディスプレーCDR、及び、自動釣銭機JTが接続される。コードリーダーCRは、読取装置に相当する。
A code reader CR, a customer display CDR, and an automatic change machine JT are connected to the
コードリーダーCRは、商品や、商品の包装等に付されたコードや、レシートRに印刷されたコード、顧客KKが所有する会員カードCDに付されたコード等を光学的に読み取り、読取結果に基づく情報をデバイス通信部34に出力する。コードリーダーCRが読み取り可能なコードは、例えば、バーコードや、2次元コード等のコード(シンボル画像)である。デバイス通信部34は、コードリーダーCRから入力された情報を、印刷装置制御部30に出力する。
The code reader CR optically reads the code attached to the product, the product packaging, etc., the code printed on the receipt R, the code attached to the membership card CD owned by the customer KK, etc. Based information is output to the
カスタマーディスプレーCDRは、印刷装置制御部30の制御で、会計に関する情報を表示する。カスタマーディスプレーCDRに表示された情報は、レジカウンターLで会計を行う顧客が視認できる。
The customer display CDR is controlled by the
自動釣銭機JTは、顧客から受け取った貨幣を投入する貨幣受取口と、釣銭に係る貨幣を排出する釣銭排出口とを備え、印刷装置制御部30の制御で、貨幣受取口を介して貨幣が投入された場合、対応する釣銭を釣銭排出口から排出する。 The automatic change machine JT has a money receipt port into which money received from a customer is inserted and a change discharge port from which money related to change is discharged. When the coin is inserted, the corresponding change is discharged from the change discharge port.
顧客端末6は、顧客端末制御部60と、顧客端末タッチパネル61と、顧客端末通信部62とを備える。
The
顧客端末制御部60は、CPUやMPU等のプログラムを実行するプロセッサーである顧客端末プロセッサー600、及び顧客端末記憶部610を備え、顧客端末6の各部を制御する。顧客端末制御部60は、顧客端末プロセッサー600が、顧客端末記憶部610に記憶された制御プログラム610Aを読み出して処理を実行するように、ハードウェア、及びソフトウェアの協働により各種処理を実行する。顧客端末6には、ブラウザーが事前にインストールされる。顧客端末プロセッサー600が、ブラウザー、その他の付随するプログラムを顧客端末記憶部610から読み出して実行することにより、顧客端末制御部60は、ブラウザー実行部6000として機能する。ブラウザー実行部6000については、後述する。
The customer
顧客端末記憶部610は、顧客端末プロセッサー600が実行するプログラムや、顧客端末プロセッサー600により処理されるデータを記憶する記憶領域を有する。顧客端末記憶部610は、顧客端末プロセッサー600が実行する制御プログラム610A、その他の各種データを記憶する。顧客端末記憶部610は、プログラムやデータを不揮発的に記憶する不揮発性記憶領域を有する。また、顧客端末記憶部610は、揮発性記憶領域を備え、顧客端末プロセッサー600が実行するプログラムや処理対象のデータを一時的に記憶するワークエリアを構成してもよい。
The customer
顧客端末タッチパネル61は、液晶表示パネル等の表示パネルと、表示パネルに重ねて、或いは一体に設けられたタッチセンサーとを備える。表示パネルは、顧客端末制御部60の制御で、各種画像を表示する。タッチセンサーは、タッチ操作を検出し、顧客端末制御部60に出力する。顧客端末制御部60は、タッチセンサーからの入力に基づいて、タッチ操作に対応する処理を実行する。
The customer
顧客端末通信部62は、所定の通信規格に従ったネットワークカード等の無線通信する通信ハードウェアを備え、顧客端末制御部60の制御により、グローバルネットワークGNと接続する機器と所定の通信規格に従って通信する。グローバルネットワークGNと接続する機器には、制御サーバー7が含まれる。顧客端末通信部62が通信に使用する通信規格は、HTTPや、WebSocket等が例として挙げられる。
The customer
制御サーバー7は、サーバー制御部70と、サーバーネットワーク通信部71と、サーバー表示部72と、サーバー入力部73とを備える。
The
サーバー制御部70は、CPUやMPU等のプログラムを実行するプロセッサーであるサーバープロセッサー700、及び、サーバー記憶部710を備え、制御サーバー7の各部を制御する。サーバー制御部70は、サーバープロセッサー700が、サーバー記憶部710に記憶された制御プログラム710Aを読み出して処理を実行するように、ハードウェア、及びソフトウェアの協働により各種処理を実行する。
以下の説明では、サーバープロセッサー700が制御プログラム710Aを実行することにより、サーバー制御部70の各種の機能を実現する構成例を説明する。
The
In the following description, a configuration example in which various functions of the
サーバー記憶部710は、サーバープロセッサー700が実行するプログラムや、サーバープロセッサー700により処理されるデータを記憶する記憶領域を有する。サーバー記憶部710は、サーバープロセッサー700が実行する制御プログラム710A、分析プログラム群管理データベース710B、分析データ管理データベース710C、会員関連データベース710D、ポイント管理データベース710E、その他の各種データを記憶する。これらデータベースの詳細については、後述する。サーバー記憶部710は、プログラムやデータを不揮発的に記憶する不揮発性記憶領域を有する。また、サーバー記憶部710は、揮発性記憶領域を備え、サーバープロセッサー700が実行するプログラムや処理対象のデータを一時的に記憶するワークエリアを構成してもよい。
The
サーバーネットワーク通信部71は、所定の通信規格に従ったネットワークカード等の無線通信する通信ハードウェアを備え、サーバー制御部70の制御により、グローバルネットワークGNと接続する機器と所定の通信規格に従って通信する。ここでいうグローバルネットワークGNと接続する機器には、印刷装置3、及び顧客端末6が含まれる。サーバーネットワーク通信部71が通信に使用する通信規格は、HTTPや、WebSocket等が例として挙げられる。
The server
サーバー表示部72は、表示パネルを備え、サーバー制御部70の制御で、表示パネルに各種情報を表示する。
The
サーバー入力部73は、キーボード、マウス、その他の入力手段を備え、入力手段に対するユーザーの操作を検出し、サーバー制御部70に出力する。サーバー制御部70は、サーバー入力部73からの入力に基づいて、入力手段に対するユーザーの操作に対応する処理を実行する。
The
次に、制御サーバー7のサーバー制御部70の機能ブロックについて説明する。
図3は、制御サーバー7のサーバー制御部70機能ブロックを示す図である。図3では、説明便宜のため、サーバー記憶部710、及びサーバー記憶部710が記憶する4つのデータベースを図示している。
Next, functional blocks of the
FIG. 3 is a diagram showing functional blocks of the
制御サーバー7のサーバー制御部70は、第1処理部701、及び第2処理部702を備える。第1処理部701、及び第2処理部702は、サーバープロセッサー700が制御プログラム710Aを実行することにより実現される機能部である。
The
なお、前述したように、制御サーバー7は、複数のサーバー装置を含んで構成されたものでもよい。したがって、制御サーバー7は、第1処理部701として機能するサーバー装置と、第2処理部702として機能するサーバー装置との2つのサーバー装置により構成されてもよい。この構成の場合、各サーバー装置には、処理部として実現するためにサーバープロセッサー700が実行する制御プログラム710Aが記憶される。
Incidentally, as described above, the
第1処理部701は、第1取得部7011、テキストデータ生成部7012、分析部7013、及び、分析データ取得部7014を備える。
The
第1取得部7011を説明する前に、テキストデータ生成部7012について説明する。
テキストデータ生成部7012は、印刷装置3がPOS端末4から受信した印刷データIDを、印刷装置3からサーバーネットワーク通信部71を介して取得し、取得した印刷データIDに基づいて印刷テキストデータITDを生成する。印刷テキストデータITDは、テキストデータに相当する。なお、テキストデータ生成部7012が取得する印刷データIDには、印刷データIDを送信した印刷装置3のシリアル番号J11が付加されている。
Before describing the first acquisition unit 7011, the text
The text
1の印刷データIDは、POS端末4が生成した1の会計でなされた決済に関する決済情報を有し、決済情報を所定のレイアウトで印刷してレシートRの発行を指示するデータである。印刷データIDには、印刷装置3のコマンド体系に従った複数の制御コマンドを含んで構成される。
The print data ID of 1 is data for printing the payment information in a predetermined layout and instructing the issuance of the receipt R. The print data ID includes a plurality of control commands according to the command system of the
図4は、印刷データIDの一例を示す図である。
図4に示すように、印刷データIDは、グラフィック画像印刷指示コマンドCM1と、文字列印刷関連コマンド群GMと、改行コマンドLFと、カットコマンドCM4とを含む。また、文字列印刷関連コマンド群GMは、文字列装飾コマンドCM2と、文字列印刷指示コマンドCM3とを含む。
FIG. 4 is a diagram showing an example of the print data ID.
As shown in FIG. 4, the print data ID includes a graphic image print instruction command CM1, a character string print-related command group GM, a line feed command LF, and a cut command CM4. The character string printing related command group GM includes a character string decoration command CM2 and a character string printing instruction command CM3.
グラフィック画像印刷指示コマンドCM1は、専用の命令コードと、ビットマップデータ等のイメージデータとを含み、イメージデータに基づくグラフィック画像の印刷を指示する制御コマンドである。後述するロゴ情報J1は、グラフィック画像に相当する。 The graphic image print instruction command CM1 is a control command that includes a dedicated instruction code and image data such as bitmap data, and instructs printing of a graphic image based on the image data. Logo information J1, which will be described later, corresponds to a graphic image.
文字列印刷関連コマンド群GMに含まれる文字列印刷指示コマンドCM3は、1行分の文字列の印刷を指示する制御コマンドである。文字列印刷指示コマンドCM3は、専用の命令コードと、印刷を指示する文字列の情報とを含む。印刷を指示する文字列の情報とは、文字列を構成する1又は複数の文字の文字コードの組み合わせである。文字列印刷関連コマンド群GMに含まれる文字列装飾コマンドCM2は、文字列印刷指示コマンドCM3によって印刷が指示された文字列に施す装飾を指定する制御コマンドである。 A character string print instruction command CM3 included in the character string print-related command group GM is a control command that instructs printing of a character string for one line. The character string print instruction command CM3 includes a dedicated instruction code and character string information for instructing printing. The character string information for instructing printing is a combination of character codes of one or more characters forming the character string. A character string decoration command CM2 included in the character string printing-related command group GM is a control command that designates decoration to be applied to a character string whose printing is instructed by the character string printing instruction command CM3.
改行コマンドLFは、改行を指示するコマンドである。カットコマンドCM4は、ロール紙の切断を指示するコマンドである。 A line feed command LF is a command for instructing a line feed. The cut command CM4 is a command to cut the roll paper.
印刷テキストデータITDは、印刷データIDに基づいてロール紙に印刷される決済情報のうち、文字として印刷される決済情報が、テキストとして記述されたテキストデータである。したがって、印刷テキストデータITDは、決済情報に対応するデータである。以下、一例を挙げて印刷テキストデータITDについて詳述するが、印刷テキストデータITDの理解便宜のため、まず、印刷データIDに基づいて印刷装置3により発行されるレシートRについて説明する。
The print text data ITD is text data in which the payment information printed as characters among the payment information printed on the roll paper based on the print data ID is described as text. Therefore, the print text data ITD is data corresponding to payment information. Hereinafter, the print text data ITD will be described in detail by taking an example. For convenience of understanding the print text data ITD, first, the receipt R issued by the
図5は、POS端末4が生成した印刷データIDに基づいて印刷装置3により発行されるレシートRの一例を示す図である。
FIG. 5 is a diagram showing an example of a receipt R issued by the
図5で例示するレシートRには、先頭に、印刷装置3が属する店舗Tの名称を図案化したロゴ情報J1が印刷される。ロゴ情報J1は、上述したグラフィック画像印刷指示コマンドCM1に基づいて印刷される。
On the receipt R exemplified in FIG. 5, logo information J1 stylized with the name of the store T to which the
レシートRにおいて、ロゴ情報J1の下方には、印刷装置3が属する店舗Tの住所を文字列で表す店舗住所情報J2が一行で印刷される。店舗住所情報J2は、中央寄せに係る装飾を指定する文字列装飾コマンドCM2と、店舗Tの住所を表す文字列の印刷を指示する文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。
On the receipt R, store address information J2 representing the address of the store T to which the
レシートRにおいて店舗住所情報J2の一行下には、印刷装置3が属する店舗Tの電話番号を文字列で表す店舗電話番号情報J3が、店舗住所情報J2の印刷と同様の文字列印刷関連コマンド群GMに基づいて、一行で印刷される。
On the receipt R, below one line of the store address information J2, store telephone number information J3 representing the telephone number of the store T to which the
レシートRにおいて、店舗電話番号情報J3の一行下には、レシートRが発行された日時を文字列で表す発行日時情報J4が印刷される。発行日時情報J4は、印刷装置3がレシートRを発行した日にちを文字列で表す日にち情報J41と、印刷装置3がレシートRを発行した時間(時刻)を文字列で表す時間(時刻)情報J42とを有する。日にち情報J41と時間情報J42は、POS端末4が有しているタイマーにより印刷データIDとして生成してもよく、印刷装置3が有しているタイマーにより印刷してもよい。発行日時情報J4は、中央寄せに係る装飾を指定する文字列装飾コマンドCM2と、レシートRが発行された日時を表す文字列の印刷を指示する文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。ここでの文字列印刷指示コマンドCM3は、日にち情報J41を表す文字列と、1つの空白文字と、時間情報J42を表す文字列とが連続する文字列の印刷を指示する制御コマンドである。
On the receipt R, issuance date/time information J4 representing the date/time when the receipt R was issued by a character string is printed one line below the store telephone number information J3. The issuance date/time information J4 includes date information J41 representing the date when the
レシートRにおいて発行日時情報J4の一行下には、エリア分割情報BK1が印刷される。エリア分割情報BK1は、「-」の文字が一行内で、所定の個数、連続して構成された文字列である。レシートRは、エリア分割情報BK1によって印刷領域が区切られ、エリア分割情報BK1よりも上方がエリア分けされる。以下、レシートRにおいて、エリア分割情報BK1よりも上方のエリアを「エリアAA1」とする。 On the receipt R, area division information BK1 is printed one line below the issue date/time information J4. The area division information BK1 is a character string in which a predetermined number of "-" characters are consecutively formed in one line. The print area of the receipt R is divided by the area division information BK1, and the area above the area division information BK1 is divided into areas. Hereinafter, in the receipt R, the area above the area division information BK1 will be referred to as "area AA1".
レシートRにおいて、エリア分割情報BK1の一行下には、商品情報J5が印刷される。商品情報J5は、顧客が購入した商品に関する情報である。商品情報J5は、顧客が購入した商品の種類ごとに、レシートRに印刷される。従って、例えば、顧客が購入した商品の種類が2つである場合は、2つの種類の商品のそれぞれに対応する2つの商品情報J5が印刷される。レシートRに複数の商品情報J5が印刷される場合、複数の商品情報J5は、異なる行に、1行ずつ連続して印刷される。 On the receipt R, product information J5 is printed one line below the area division information BK1. The product information J5 is information about the product purchased by the customer. The product information J5 is printed on the receipt R for each type of product purchased by the customer. Therefore, for example, if the customer purchases two types of products, two pieces of product information J5 corresponding to each of the two types of products are printed. When a plurality of pieces of product information J5 are printed on the receipt R, the pieces of product information J5 are printed continuously on different lines one line at a time.
商品情報J5は、購入数量情報J51と、商品名情報J52と、単価情報J53とを有する。購入数量情報J51、商品名情報J52、及び、単価情報J53は、同一行に印刷される。購入数量情報J51は、対応する商品の購入数量を文字列で表す情報である。商品名情報J52は、対応する商品の名称を文字列で表す情報である。単価情報J53は、対応する商品の単価を文字列で表す情報である。 The product information J5 includes purchase quantity information J51, product name information J52, and unit price information J53. Purchase quantity information J51, product name information J52, and unit price information J53 are printed on the same line. The purchase quantity information J51 is information representing the purchase quantity of the corresponding product in a character string. The product name information J52 is information representing the name of the corresponding product in a character string. The unit price information J53 is information representing the unit price of the corresponding product in a character string.
商品情報J5は、左寄せに係る装飾を指定する文字列装飾コマンドCM2と、以下の文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。文字列印刷指示コマンドCM3は、購入数量情報J51を表す文字列と、1つの空白文字と、商品名情報J52を表す文字列と、1個又は複数個の空白文字と、単価情報J53を表す文字列とが連続する文字列の印刷を指示する制御コマンドである。商品名情報J52を表す文字列と、単価情報J53を表す文字列との間に挿入される空白文字の個数は、単価情報J53の位置が、「行」の末尾に位置するように、調整される。 The product information J5 is printed based on a character string printing related command group GM including a character string decoration command CM2 for designating left alignment decoration and a character string printing instruction command CM3 below. The character string print instruction command CM3 includes a character string representing purchase quantity information J51, one blank character, a character string representing product name information J52, one or more blank characters, and characters representing unit price information J53. is a control command that instructs printing of consecutive character strings. The number of blank characters inserted between the character string representing the product name information J52 and the character string representing the unit price information J53 is adjusted so that the position of the unit price information J53 is positioned at the end of the "row". be.
レシートRにおいて、最下部に印刷される商品情報J5の一行下には、エリア分割情報BK2が印刷される。エリア分割情報BK2は、エリア分割情報BK1と同様に構成された文字列である。レシートRは、エリア分割情報BK1とエリア分割情報BK2とによって印刷領域が区切られ、これら情報で囲まれた領域がエリア分けされる。以下、レシートRにおいて、エリア分割情報BK1とエリア分割情報BK2とで囲まれたエリアを「エリアAA2」とする。 On the receipt R, area division information BK2 is printed one line below the product information J5 printed at the bottom. The area division information BK2 is a character string configured similarly to the area division information BK1. The print area of the receipt R is divided by area division information BK1 and area division information BK2, and the area surrounded by these pieces of information is divided into areas. Hereinafter, the area surrounded by the area division information BK1 and the area division information BK2 on the receipt R will be referred to as "area AA2".
レシートRにおいて、エリア分割情報BK2の一行下には、小計金額関連情報J6が印刷される。小計金額関連情報J6は、小計金額を文字列で表す小計金額情報J62を有する。また、小計金額関連情報J6は、小計金額情報J62の同一行において、小計金額情報J62の左方に印刷され、小計金額情報J62が小計金額を示す情報であることを明示する情報を文字列によって表す小計金額明示情報J61を有する。図5に示すように、レシートRに係る小計金額明示情報J61は、8個の大文字のアルファベットの文字列「SUBTOTAL」からなる文字列である。 On the receipt R, subtotal related information J6 is printed below the area division information BK2. The subtotal amount-related information J6 has subtotal amount information J62 that expresses the subtotal amount by a character string. Further, the subtotal amount related information J6 is printed to the left of the subtotal amount information J62 in the same row as the subtotal amount information J62. subtotal amount clear information J61. As shown in FIG. 5, the subtotal amount specification information J61 related to the receipt R is a character string consisting of a character string "SUBTOTAL" of eight capital letters.
小計金額関連情報J6は、左寄せに係る装飾を指定する文字列装飾コマンドCM2と、以下の文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。文字列印刷指示コマンドCM3は、小計金額明示情報J61を表す文字列と、1個又は複数個の空白文字と、小計金額情報J62を表す文字列とが連続する文字列の印刷を指示する制御コマンドである。小計金額明示情報J61を表す文字列と、小計金額情報J62を表す文字列との間に挿入される空白文字の個数は、小計金額情報J62の位置が、「行」の末尾に位置するように、調整される。 The subtotal amount related information J6 is printed based on a character string printing related command group GM including a character string decoration command CM2 for designating left alignment decoration and a character string printing instruction command CM3 below. The character string print instruction command CM3 is a control command for instructing printing of a character string in which a character string representing the subtotal amount clear information J61, one or more blank characters, and a character string representing the subtotal amount information J62 are consecutive. is. The number of blank characters inserted between the character string representing the clear subtotal amount information J61 and the character string representing the subtotal amount information J62 is such that the position of the subtotal amount information J62 is positioned at the end of the "line". , is adjusted.
レシートRにおいて、小計金額関連情報J6の一行下には、税関連情報J7が印刷される。税関連情報J7は、税額を文字列で表す税額情報J72を有する。また、税関連情報J7は、税額情報J72の同一行において、税額情報J72の左方に印刷され、税額情報J72が税額を示す情報であることを明示する情報を文字列によって表す税明示情報J71を有する。図5に示すように、レシートRに係る税明示情報J71は、3個の大文字のアルファベットの「TAX」からなる文字列である。 On the receipt R, tax-related information J7 is printed below the subtotal amount-related information J6. The tax-related information J7 has tax amount information J72 representing the tax amount with a character string. The tax-related information J7 is printed to the left of the tax amount information J72 in the same row as the tax amount information J72. have As shown in FIG. 5, the clear tax information J71 related to the receipt R is a character string consisting of three capital letters "TAX".
税関連情報J7は、左寄せに係る装飾を指定する文字列装飾コマンドCM2と、以下の文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。文字列印刷指示コマンドCM3は、税明示情報J71を表す文字列と、1個又は複数個の空白文字と、税額情報J72を表す文字列とが連続する文字列の印刷を指示する制御コマンドである。税明示情報J71を表す文字列と、税額情報J72を表す文字列との間に挿入される空白文字の個数は、税額情報J72の位置が、「行」の末尾に位置するように、調整される。 The tax-related information J7 is printed based on a character string printing related command group GM including a character string decoration command CM2 specifying left-justified decoration and a character string printing instruction command CM3 described below. The character string print instruction command CM3 is a control command for instructing printing of a character string in which a character string representing the explicit tax information J71, one or more blank characters, and a character string representing the tax amount information J72 are consecutive. . The number of blank characters inserted between the character string representing the explicit tax information J71 and the character string representing the tax amount information J72 is adjusted so that the tax amount information J72 is positioned at the end of the "line". be.
レシートRにおいて、税関連情報J7の一行下には、合計金額関連情報J8が印刷される。合計金額関連情報J8は、合計金額を文字列で表す合計金額情報J82を有する。また、合計金額関連情報J8は、合計金額情報J82の同一行において、合計金額情報J82の左方に印刷され、合計金額情報J82が合計金額を示す情報であることを明示する情報を文字列によって表す合計金額明示情報J81を有する。図5に示すように、レシートRに係る合計金額明示情報J81は、5個の大文字のアルファベットの「TOTAL」からなる文字列である。 On the receipt R, the total amount related information J8 is printed below the tax related information J7. The total amount related information J8 has total amount information J82 representing the total amount with a character string. Further, the total amount related information J8 is printed to the left of the total amount information J82 in the same line of the total amount information J82. It has the total amount of money explicit information J81. As shown in FIG. 5, the total amount specification information J81 related to the receipt R is a character string consisting of five capital letters "TOTAL".
合計金額関連情報J8は、左寄せに係る装飾を指定する文字列装飾コマンドCM2と、以下の文字列印刷指示コマンドCM3とを含む文字列印刷関連コマンド群GMに基づいて印刷される。文字列印刷指示コマンドCM3は、合計金額明示情報J81と、1個又は複数個の空白文字と、合計金額情報J82を表す文字列とが連続する文字列の印刷を指示する制御コマンドである。合計金額明示情報J81を表す文字列と、合計金額情報J82を表す文字列との間に挿入される空白文字の個数は、合計金額情報J82の位置が、「行」の末尾に位置するように、調整される。以下、レシートRにおいて、エリア分割情報BK2よりも下方のエリアを「エリアAA3」とする。 The total amount related information J8 is printed based on a character string printing related command group GM including a character string decoration command CM2 specifying left alignment decoration and a character string printing instruction command CM3 below. The character string print instruction command CM3 is a control command that instructs printing of a character string in which the total amount of money specification information J81, one or more blank characters, and a character string representing the total amount of money information J82 are consecutive. The number of blank characters inserted between the character string representing the total amount clear information J81 and the character string representing the total amount information J82 is such that the position of the total amount information J82 is positioned at the end of the "line". , is adjusted. Hereinafter, in the receipt R, the area below the area division information BK2 will be referred to as "area AA3".
レシートRにおいて、合計金額関連情報J8の下方には、レシートRを識別するレシート識別情報J14を示す2次元コードJ9が印刷される。レシート識別情報J14は、印刷装置3が発行するレシートRごとに一意な値とされる。レシートRは会計における決済ごとに発行されるため、レシート識別情報J14は、決済に関する決済情報を識別する第1識別情報に相当する。
On the receipt R, a two-dimensional code J9 indicating receipt identification information J14 for identifying the receipt R is printed below the total amount related information J8. The receipt identification information J14 is a unique value for each receipt R issued by the
2次元コードJ9は、印刷データIDに基づく決済情報の印刷が終了した後に印刷される。本実施形態では、POS端末4から受信する印刷データIDには、2次元コードJ9の印刷を指示する制御コマンドが含まれていない。
The two-dimensional code J9 is printed after printing of payment information based on the print data ID is completed. In this embodiment, the print data ID received from the
このように図5に示すレシートRでは、POS端末4が生成した印刷データIDに基づき、以下のレイアウトで決済情報、及び2次元コードJ9が印刷装置3により印刷される。すなわち、エリアAA1には、ロゴ情報J1、店舗住所情報J2、店舗電話番号情報J3、及び発行日時情報J4がこの順番で印刷される。エリアAA2には、1又は複数の商品情報J5が印刷される。また、商品情報J5は、1行内で、右へ向かって購入数量情報J51、商品名情報J52、及び単価情報J53の順番で印刷される。エリアAA3には、小計金額関連情報J6、税関連情報J7、合計金額関連情報J8、及び2次元コードJ9がこの順番で印刷される。なお、図5において決済情報とは、ロゴ情報J1、店舗住所情報J2、店舗電話番号情報J3、発行日時情報J4、商品情報J5、小計金額関連情報J6、税関連情報J7、及び、合計金額関連情報J8のそれぞれを示す。
As described above, on the receipt R shown in FIG. 5, the payment information and the two-dimensional code J9 are printed by the
テキストデータ生成部7012は、印刷装置3から取得した印刷データIDから、文字列印刷指示コマンドCM3、及び、改行コマンドLFを抽出する。次いで、印刷装置制御部30は、抽出したこれら制御コマンドに基づいて、レシートRに文字として印刷される決済情報がテキストとして記述された印刷テキストデータITDを生成する。ここで、テキストデータ生成部7012は、印刷テキストデータITDに、印刷で行われる改行が反映された状態で決済情報を記述する。また、テキストデータ生成部7012は、印刷テキストデータITDに、文字列装飾コマンドCM2で指定された装飾を反映しない状態で決済情報を記述する。従って、文字列装飾コマンドCM2によって、文字列に施す装飾として、中央寄せ、右寄せが指示された場合でも、印刷テキストデータITDへのテキストの記述に際し、これら装飾は反映されない。
The text
図6は、図5で例示したレシートRに係る印刷データIDに基づいて生成される印刷テキストデータITDの内容を示す図である。図6と、図5との比較で明らかなとおり、印刷テキストデータITDには、レシートRに文字として印刷される決済情報が、印刷における順番、及び、印刷における改行を反映した状態でテキストとして記述される。
なお、ロゴ情報J1は、グラフィック画像であるため、印刷テキストデータITDには、記述されない。すなわち、文字コードに対応するフォントデータに基づいて印刷される文字以外の情報は、印刷テキストデータITDには記述されない。
また、2次元コードJ9は、文字コードに対応するフォントデータに基づいて印刷される文字でないことため、印刷テキストデータITDには記述されない。
FIG. 6 is a diagram showing the contents of print text data ITD generated based on the print data ID of the receipt R illustrated in FIG. As is clear from a comparison between FIG. 6 and FIG. 5, in the print text data ITD, the payment information printed as characters on the receipt R is described as text in a state that reflects the order in printing and line breaks in printing. be done.
Since the logo information J1 is a graphic image, it is not described in the print text data ITD. That is, information other than characters printed based on font data corresponding to character codes is not described in the print text data ITD.
Also, the two-dimensional code J9 is not described in the print text data ITD because it is not a character printed based on the font data corresponding to the character code.
図3を参照して、第1取得部7011は、印刷装置3からサーバーネットワーク通信部71を介して、印刷装置3に接続するコードリーダーCRが読み取った識別情報を取得する。後述にて明らかになる通り、第1取得部7011は、印刷装置3から、レシート識別情報J14と、会員番号情報J15とを取得する。
第1取得部7011が取得するレシート識別情報J14、及び会員番号情報J15には、これら情報を送信した印刷装置3のシリアル番号J11が付加されている。また、第1取得部7011が取得するレシート識別情報J14には、識別情報読取時刻が付加されている。識別情報読取時刻は、印刷装置3に接続するコードリーダーCRが、レシートRに印刷された2次元コードを読み取ってレシート識別情報J14を取得した時刻であり、第1時刻に相当する。また、第1取得部7011が取得する会員番号情報J15には、会員番号読取時刻が付加されている。会員番号読取時刻は、印刷装置3に接続するコードリーダーCRが、会員カードCDに付加されたコードを読み取って会員番号情報J14を取得した時刻であり、第2時刻に相当する。
Referring to FIG. 3 , first acquisition unit 7011 acquires identification information read by code reader CR connected to
The receipt identification information J14 and the member number information J15 acquired by the first acquisition unit 7011 are added with the serial number J11 of the
第1取得部7011は、レシート識別情報J14を取得すると、第1処理部701の分析部7013と、第2処理部702の第2取得部7021とに、取得したレシート識別情報J14を出力する。また、第1取得部7011は、会員番号情報J15を取得すると、第2処理部702の第2取得部7021に、取得した会員番号情報J15を出力する。
第1取得部7011が出力するレシート識別情報J14、会員番号情報J15には、これら情報を送信した印刷装置3のシリアル番号J11が付加されている。また、第1取得部7011が出力するレシート識別情報J14には、識別情報読取時刻が付加されている。また、第1取得部7011が出力する会員番号情報J15には、会員番号読取時刻が付加されている。
After acquiring the receipt identification information J14, the first acquisition unit 7011 outputs the acquired receipt identification information J14 to the
The receipt identification information J14 and the member number information J15 output by the first acquisition unit 7011 are added with the serial number J11 of the
分析部7013は、テキストデータ生成部7012から入力された印刷テキストデータITDと、第1取得部7011から入力されたレシート識別情報J14とに基づいて、テキストデータ分析処理を実行する。
ここで、テキストデータ分析処理について、詳述する。
分析部7013は、分析プログラム群管理データベース710Bから、テキストデータ生成部7012から入力された印刷テキストデータITDに付加されたシリアル番号J11と同じシリアル番号J11が対応付けられた分析プログラム群BPGを取得する。テキストデータ分析処理は、制御サーバー7にインストールされた制御プログラム710A、及び、制御プログラム710Aに付随するプログラムの機能により実行される。
Here, the text data analysis processing will be described in detail.
The
図7は、分析プログラム群管理データベース710Bの1件のレコードが格納する情報を模式的に示す図である。
図7に示すように、分析プログラム群管理データベース710Bの1件のレコードは、シリアル番号J11と分析プログラム群BPGとが格納される。
FIG. 7 is a diagram schematically showing information stored in one record of the analysis program
As shown in FIG. 7, one record of the analysis program
図7では、分析プログラム群BPGは、第1分析プログラムBP1~第7分析プログラムBP7の7個の分析プログラムBPにより構成される。分析プログラムBPのそれぞれについては後述する。 In FIG. 7, the analysis program group BPG is composed of seven analysis programs BP, a first analysis program BP1 to a seventh analysis program BP7. Each analysis program BP will be described later.
テキストデータ分析処理は、印刷テキストデータITDから、決済情報に含まれる項目に対応する項目値を表すテキストを印刷テキストデータITDから取得する処理である。以下では、印刷テキストデータITDから項目値を表すテキストを取得することを、単に、印刷テキストデータITDから項目値を取得すると表現する。テキストデータ分析処理は、印刷テキストデータITDから項目値を抽出し、必要に応じて、抽出した項目値の表記形式をユーザーが活用可能な表記形式に変換することによって、印刷テキストデータITDから項目値を取得する。なお、項目値によっては、表記形式の変換が行われない項目値と、表記形式の変換が行われる項目値とがある。そのため、テキストデータ分析処理では、項目によって、最終的に取得される項目値の表記形式が、印刷テキストデータITDから抽出した時点の表記形式である場合と、変換された表記形式である場合とがある。 The text data analysis process is a process of acquiring, from the print text data ITD, text representing item values corresponding to items included in the payment information. In the following, obtaining the text representing the item value from the print text data ITD is simply expressed as obtaining the item value from the print text data ITD. The text data analysis process extracts item values from the print text data ITD, and if necessary, converts the notation format of the extracted item values into a notation format that can be used by the user, thereby extracting the item values from the print text data ITD. to get Depending on the item value, there are item values for which notation format conversion is not performed and item values for which notation format conversion is performed. Therefore, in the text data analysis process, depending on the item, the notation format of the item value finally acquired may be the notation format at the time of extraction from the print text data ITD or the converted notation format. be.
本実施形態では、決済情報に含まれる項目として、店舗住所情報項目、店舗電話番号情報項目、発行日時情報項目、商品情報項目、小計金額情報項目、税情報項目、及び、合計金額情報項目の7個の項目がある。これら項目については、後述する。 In this embodiment, items included in the payment information are store address information items, store telephone number information items, issue date and time information items, product information items, subtotal amount information items, tax information items, and total amount information items. There are items. These items will be described later.
上述したように、本実施形態の分析プログラム群BPGは、複数の分析プログラムBPを有している。1の分析プログラムBPは、所定のスクリプト言語によって記述されたプログラムであり、記述された処理フローが示す分析ルールに沿って、1の項目について、印刷テキストデータITDから項目値を取得する機能を有するプログラムである。 As described above, the analysis program group BPG of this embodiment has a plurality of analysis programs BP. One analysis program BP is a program written in a predetermined script language, and has a function of acquiring an item value from the print text data ITD for one item in accordance with an analysis rule indicated by the written processing flow. It's a program.
分析プログラム群BPGは、1の印刷テキストデータITDから、分析プログラムBPの数に対応する数分の項目について、項目値を取得する。図7では、分析プログラム群BPGは、第1分析プログラムBP1~第7分析プログラムBP7から構成される。つまり、図7の分析プログラム群BPGは、上記の7の項目のそれぞれについて、項目値を取得する機能を有する。 The analysis program group BPG obtains item values from one set of print text data ITD for items corresponding to the number of analysis programs BP. In FIG. 7, the analysis program group BPG consists of a first analysis program BP1 to a seventh analysis program BP7. In other words, the analysis program group BPG in FIG. 7 has a function of acquiring item values for each of the above seven items.
本実施形態では、分析プログラム群BPGは、店舗住所情報項目に対して、項目値を取得する機能を有する第1分析プログラムBP1を有する。
店舗住所情報項目は、項目値として、レシートRが発行された店舗Tの住所を示す店舗住所情報J2が対応付く項目である。
In this embodiment, the analysis program group BPG has a first analysis program BP1 having a function of acquiring item values for store address information items.
The store address information item is an item associated with store address information J2 indicating the address of the store T where the receipt R was issued as an item value.
また、分析プログラム群BPGは、店舗電話番号情報項目に対して、項目値を取得する機能を有する第2分析プログラムBP2を有する。
電話番号情報項目には、項目値として、レシートRが発行された店舗Tの電話番号を示す店舗電話番号情報J3が対応付く項目である。
Also, the analysis program group BPG has a second analysis program BP2 having a function of acquiring an item value for the store telephone number information item.
The telephone number information item is associated with store telephone number information J3 indicating the telephone number of the store T where the receipt R was issued as an item value.
また、分析プログラム群BPGは、発行日時情報項目に対して、項目値を取得する機能を有する第3分析プログラムBP3を有する。
発行日時情報項目は、項目値として、発行日時情報J4が対応付く項目である。
Also, the analysis program group BPG has a third analysis program BP3 having a function of acquiring an item value for the issue date/time information item.
The issue date/time information item is an item associated with issue date/time information J4 as an item value.
また、分析プログラム群BPGは、商品情報項目に対して、項目値を取得する機能を有する第4分析プログラムBP4を有する。
商品情報項目には、商品名情報項目と、購入数量情報項目と、単価情報項目とが含まれる。
商品名情報項目は、項目値として、商品名情報J52が対応付く項目である。
購入数量情報項目は、項目値として、購入数量情報J51が対応付く項目である。
単価情報項目は、項目値として、単価情報J53が対応付く項目である。
The analysis program group BPG also has a fourth analysis program BP4 having a function of acquiring item values for product information items.
The product information items include product name information items, purchase quantity information items, and unit price information items.
The product name information item is an item associated with the product name information J52 as an item value.
The purchase quantity information item is an item associated with the purchase quantity information J51 as an item value.
The unit price information item is an item associated with the unit price information J53 as an item value.
また、分析プログラム群BPGは、小計金額情報項目に対して、項目値を取得する機能を有する第5分析プログラムBP5を有する。
小計金額情報項目は、項目値として、小計金額情報J62が対応付く項目である。
Further, the analysis program group BPG has a fifth analysis program BP5 having a function of acquiring item values for subtotal amount information items.
The subtotal amount information item is an item associated with the subtotal amount information J62 as an item value.
また、分析プログラム群BPGは、税情報項目に対して、項目値を取得する機能を有する第6分析プログラムBP6を有する。
税情報項目には、項目値として、税額情報J72が対応付く項目である。
The analysis program group BPG also has a sixth analysis program BP6 having a function of acquiring item values for tax information items.
The tax information item is an item associated with the tax amount information J72 as an item value.
また、分析プログラム群BPGは、合計金額情報項目に対して、項目値を取得する機能を有する第7分析プログラムBP7を有する。
合計金額情報項目は、項目値として、合計金額情報J82が対応付く項目である。
Also, the analysis program group BPG has a seventh analysis program BP7 having a function of acquiring item values for the total amount information item.
The total amount information item is an item associated with the total amount information J82 as an item value.
なお、上述した項目値の中には、実際の数値として表現される情報でなく文字列として表現される情報が含まれるが、本実施形態においては項目値として扱う。 It should be noted that although the above-mentioned item values include information expressed as character strings rather than information expressed as actual numerical values, they are treated as item values in the present embodiment.
ここで、第7分析プログラムBP7を例に挙げて分析プログラムBPの分析ルールを具体的に説明する。
例えば、第7分析プログラムBP7の分析ルールは、印刷テキストデータITDのエリアAA3に含まれる文字列「TOTAL」をキーワード検索し、文字列「TOTAL」を有する行において、空白文字を除き、文字列「TOTAL」の右側に位置する文字列を合計金額情報項目の項目値として抽出し、抽出した項目値の表記形式を、桁区切りを示す記号を取り除いた表記形式に変換するというルールである。
Here, the analysis rules of the analysis program BP will be specifically described by taking the seventh analysis program BP7 as an example.
For example, the analysis rule of the seventh analysis program BP7 performs a keyword search for the character string "TOTAL" included in area AA3 of the print text data ITD, and in the line having the character string "TOTAL", the blank characters are removed and the character string " TOTAL” is extracted as the item value of the total amount information item, and the notation format of the extracted item value is converted into the notation format from which the symbol indicating the digit separator is removed.
本実施形態では、分析プログラムBPに対して、第1~第7と識別子を付しているが、この識別子は、項目値を取得する対象の項目が異なることを示している。そのため、例えば、ある分析プログラム群BPGが有する第1分析プログラムBP1と、当該ある分析プログラム群BPGと異なる分析プログラム群BPGが有する第1分析プログラムBP1とは、項目値を取得するための分析ルールが同じであるとは限らない。
In this embodiment,
なお、分析プログラム群BPGが分析する項目は、上述したものに限定されない。分析プログラム群BPGが分析する項目は、上述した項目の他に、例えば、払い戻しの有無を示す情報が項目値として対応付く払戻有無情報項目や、支払方法を示す情報が項目値として対応付く支払方法情報項目等の種々の項目を含んでよい。この場合、分析プログラム群BPGは、対応する項目の分析プログラムBPを含んで構成される。また、分析プログラム群BPGが含む分析プログラムBPの数は、必ずしも8つに限定されず、分析プログラム群BPGごとに異なってもよい。また、分析プログラム群BPGが含む分析プログラムBPの種類は、分析プログラム群BPGごとに異なってもよい。 The items analyzed by the analysis program group BPG are not limited to those described above. Items to be analyzed by the analysis program group BPG are, in addition to the above-mentioned items, for example, a refund existence information item to which information indicating the presence or absence of a refund corresponds as an item value, and a payment method to which information indicating a payment method corresponds as an item value. Various items may be included, such as information items. In this case, the analysis program group BPG includes the analysis program BP of the corresponding item. Also, the number of analysis programs BP included in the analysis program group BPG is not necessarily limited to eight, and may differ for each analysis program group BPG. Also, the types of analysis programs BP included in the analysis program group BPG may differ for each analysis program group BPG.
図3を参照して、分析部7013は、テキストデータ分析処理を実行すると、テキストデータ分析処理の処理結果に基づいて分析データBDを生成する。分析データBDは、テキスト分析処理の分析結果である。分析データBDは、上述した項目のそれぞれと、取得した項目値とが対応付けて記述されたJSON形式のデータである。また、分析データBDは、項目値を印刷テキストデータITDから取得できなかったことを示す情報が必要に応じて項目ごとに記述される。なお、項目値を印刷テキストデータITDから取得できなかったことを示す情報としては、null値が一例として挙げられる。
Referring to FIG. 3,
分析部7013は、分析データBDを生成すると、生成した分析データBD、及び第1取得部7011から入力されたレシート識別情報J14に基づいて、分析データ管理データベース710Cに登録するレコードを生成する。そして、分析部7013は、生成したレコードを分析データ管理データベース710Cに登録する。
After generating the analysis data BD, the
図8は、分析データ管理データベース710Cの1件のレコードが格納する情報を模式的に示す図である。
図8に示すように、分析データ管理データベース710Cの1件のレコードは、統括識別情報J13、シリアル番号J11、店舗識別情報J12、レシート識別情報J14、発行日時情報J4、印刷データID、印刷テキストデータITD、及び、分析データBDを格納する。
FIG. 8 is a diagram schematically showing information stored in one record of the analysis
As shown in FIG. 8, one record in the analysis
統括識別情報J13は、分析データBDを一意に識別する識別情報であり、所定の方法で分析部7013により生成される。
店舗識別情報J12は、印刷装置3が属する店舗Tを一意に識別する識別情報である。分析部7013は、サーバーネットワーク通信部71を介して、印刷装置3から店舗識別情報J12を受信する。
分析部7013は、分析データ管理データベース710Cに登録するレコードを生成する際、第1取得部7011から入力されたレシート識別情報J14を、生成するレコードに格納させる。この際、分析部7013は、テキストデータ分析処理において分析した印刷テキストデータITDに付加されたシリアル番号J11と同じシリアル番号J11が付加されたレシート識別情報J14を、生成するレコードに格納させる。
The integrated identification information J13 is identification information that uniquely identifies the analysis data BD, and is generated by the
The store identification information J12 is identification information that uniquely identifies the store T to which the
When generating a record to be registered in the analysis
図3を参照して、分析データ取得部7014は、分析データ管理データベース710Cを参照して、分析データBDを取得する。分析データ取得部7014は、取得した分析データBDを出力する。本実施形態では、分析データ取得部7014は、第2処理部702のポイント付与部7023に分析データBDを出力する。
Referring to FIG. 3, analysis
図3に示すように、第2処理部702は、第2取得部7021、対応レコード生成部7022、及び、ポイント付与部7023を備える。
As shown in FIG. 3 , the
第2取得部7021は、第1取得部7011から、レシート識別情報J14を取得する。また、第2取得部7021が、第1取得部7011から、会員番号情報J15を取得する。第2取得部7021は、レシート識別情報J14、及び会員番号情報J15を取得すると、取得した順に、レシート識別情報J14、及び会員番号情報J15を対応レコード生成部7022に出力する。
なお、第2取得部7021が取得するレシート識別情報J14には、シリアル番号J11と識別情報読取時刻が付加されている。また、第2取得部7021が取得する会員番号情報J15には、シリアル番号J11と会員番号読取時刻が付加されている。
The receipt identification information J14 obtained by the second obtaining
対応レコード生成部7022は、所定の条件が成立した場合、第2取得部7021から入力されたレシート識別情報J14と会員番号情報J15とが対応付けたレコードを生成する。所定の条件については後述する。対応レコード生成部7022は、生成したレコードを会員関連データベース710Dに登録する。
Correspondence record generation unit 7022 generates a record in which receipt identification information J14 and member number information J15 input from
図9は、会員関連データベース710Dの1件のレコードが格納する情報を模式的に示す図である。
図9に示すように、会員関連データベース710Dの1件のレコードは、レシート識別情報J14と、会員番号情報J15とを格納する。
FIG. 9 is a diagram schematically showing information stored in one record of member-related
As shown in FIG. 9, one record in member-related
対応レコード生成部7022は、レシート識別情報J14と会員番号情報J15とが対応付けたレコードを会員関連データベース710Dに登録すると、レシート識別情報J14をポイント付与部7023に出力する。一方で、対応レコード生成部7022は、上記の所定の条件が満たされずレコードの生成を行わなかった場合、レシート識別情報J14をポイント付与部7023に出力しない。
Corresponding record generation unit 7022 outputs the receipt identification information J14 to point imparting
ポイント付与部7023は、第1処理部701の分析データ取得部7014に、対応レコード生成部7022から入力されたレシート識別情報J14を出力する。分析データ取得部7014は、ポイント付与部7023からレシート識別情報J14が入力されると、分析データ管理データベース710Cを参照して、入力されたレシート識別情報J14を格納するレコードを特定する。そして、分析データ取得部7014は、特定したレコードから分析データBDを取得し、取得した分析データBDをポイント付与部7023に出力する。
The
ポイント付与部7023は、分析データBDを分析データ取得部7014から取得すると、分析データBDに基づいて、付与するポイントを所定のアルゴリズムにより演算する。なお、演算されたポイントは、例えば、顧客KKが次回の会計において料金の支払いに利用できるポイントである。ポイント付与部7023は、会員関連データベース710Dを参照して、分析データ取得部7014に出力したレシート識別情報J14を格納するレコードを特定し、特定したレコードから会員番号情報J15を取得する。次いで、ポイント付与部7023は、演算したポイントを示すポイント情報と、取得した会員番号情報J15とが対応付けたレコードを生成する。ポイント情報は、サービス関連情報に相当する。そして、ポイント付与部7023は、生成したレコードに基づいて、ポイント管理データベース710Eへのレコードの登録、或いは、ポイント管理データベース710Eに登録されたレコードの更新を行う。
When the analysis data BD is acquired from the analysis
図10は、ポイント管理データベース710Eの1件のレコードが格納する情報を模式的に示す図である。
図10に示すように、ポイント管理データベース710Eの1件のレコードは、会員番号情報J15とポイント情報J16とを格納する。ポイント管理データベース710Eの1件のレコードは、会員番号情報J15が示す会員番号が割り当てられた顧客KKが所有するポイントの残高を示すレコードである。
FIG. 10 is a diagram schematically showing information stored in one record of the
As shown in FIG. 10, one record of the
ポイント付与部7023は、会員関連データベース710Dから取得した会員番号情報J15と、演算したポイントを示すポイント情報J16とが対応付けたレコードを生成すると、生成したレコードに格納される会員番号情報J15と同じ会員番号情報J15を格納するレコードがポイント管理データベース710Eに登録されているか否かを判別する。ポイント付与部7023は、登録されていないと判別した場合、生成したレコードをポイント管理データベース710Eに新たなレコードとして登録する。一方で、ポイント付与部7023は、登録されていると判別した場合、生成したレコードが格納するポイント情報J16によって、ポイント管理データベース710Eに登録されていると判別したレコードが格納するポイント情報J16を更新する。すなわち、ポイント付与部7023は、演算したポイントを加えることで、ポイント管理データベース710Eに登録されていると判別したレコードが格納するポイント情報J16が示すポイントの残高を増やす。
When the
次に、レジカウンターLで1の会計が行われた場合の、POS端末4、印刷装置3、及び制御サーバー7の動作について説明する。
Next, operations of the
図11は、レジカウンターLで会計が行われた場合のPOS端末4、印刷装置3、及び制御サーバー7の動作を示すフローチャートである。図11において、フローチャートFAはPOS端末4の動作を示し、フローチャートFBは印刷装置3の動作を示し、フローチャートFCは制御サーバー7の動作をそれぞれ示す。
FIG. 11 is a flow chart showing the operations of the
図11のフローチャートFAに示すように、POS端末4のPOS端末制御部40のアプリケーション実行部4000は、顧客KKの会計に応じて会計処理を実行し、会計処理に基づいて印刷データIDを生成する(ステップSA1)。
As shown in the flowchart FA of FIG. 11, the
ステップSA1の処理について詳述すると、アプリケーション実行部4000は、POS端末タッチパネル42に、会計に対応する入力が可能なユーザーインターフェースを表示させる。アプリケーション実行部4000は、POS端末タッチパネル42に対するレジ担当者の入力や、顧客KKの会計に伴う印刷装置3からの入力に応じて、会計でなされた決済に関する決済情報を生成する。次いで、アプリケーション実行部4000は、生成した決済情報に基づいて、印刷データIDを生成する。
More specifically, the
次いで、ステップSA1で印刷データIDを生成した後、アプリケーション実行部4000は、POS端末通信部41を制御して、生成した印刷データIDを、印刷装置3に送信する(ステップSA2)。
After generating the print data ID in step SA1, the
図11のフローチャートFBに示すように、印刷装置3の印刷装置制御部30は、印刷装置通信部32を制御して、印刷データIDを受信する(ステップSB1)。前述した通り、印刷データIDには決済情報が含まれる。そのため、印刷データIDを受信することは決済情報を受信することに相当する。
As shown in the flowchart FB of FIG. 11, the printing
次いで、印刷装置制御部30は、レシート識別情報J14を生成し、生成したレシート識別情報J14を示す2次元コードJ9の画像データを生成する(ステップSB2)。
Next, the printing
印刷装置制御部30は、印刷装置3が発行するレシートRを一意に識別できるように、所定の方法により、適切にレシート識別情報J14を生成する。また、印刷装置3は、所定の情報に基づいて、この所定の情報を示す2次元コードの画像データを生成する機能を有するプログラムがインストールされている。印刷装置制御部30は、ステップSB2で、このプログラムを実行することによって、レシート識別情報J14を示す2次元コードの画像データを生成する。
The printing
印刷装置制御部30は、ステップSB1で受信した印刷データID、及び、ステップSB2で生成した2次元コードの画像データに基づいて、図5に示すようなレシートRを発行する(ステップSB3)。発行されたレシートRは、顧客KKに引き渡される。
The
ここで、ステップSB3について詳述する。
印刷装置制御部30は、POS端末4から受信した印刷データIDに基づいて印刷部31を制御して、ロール紙に決済情報を印刷する。次いで、印刷装置制御部30は、決済情報の印刷後、生成した2次元コードJ9の画像データに基づいて印刷部31を制御し、ロール紙に2次元コードJ9を印刷する。そして、印刷装置制御部30は、印刷データIDに含まれるカットコマンドCM4に基づいて印刷部31を制御し、ロール紙を切断する。これにより、図5に示すレシートRにように、決済情報、及び2次元コードJ9が印刷されたレシートRが発行される。
Here, step SB3 will be described in detail.
The
印刷装置制御部30は、レシートRを発行すると、シリアル番号J11、及び、店舗識別情報J12を付加してステップSB1で受信した印刷データIDを、制御サーバー7に送信する(ステップSB4)。店舗識別情報J12は、印刷装置3が属する店舗Tを識別する識別情報であり、予め印刷装置記憶部310の所定の記憶領域に記憶される。
When the receipt R is issued, the
顧客KKが会員カードCDを提示し、レジ担当者が提示された会員カードCDに記録された会員番号情報J15をコードリーダーCRで読み取ると(ステップSX1)、印刷装置制御部30は、コードリーダーCRの読み取りで取得した会員番号情報J15を、印刷装置ネットワーク通信部33を介して制御サーバー7に送信する(ステップSB5)。
When the customer KK presents the membership card CD and the member number information J15 recorded on the presented membership card CD is read by the code reader CR (step SX1), the
ステップSB5において、印刷装置制御部30は、会員番号読取時刻とシリアル番号J11とを付加して会計番号情報J15を制御サーバー7に送信する。なお、印刷装置制御部30は、現在時刻を適切に計時可能に構成される。
At step SB5, the
顧客KKに引き渡したレシートRに印刷された2次元コードをレジ担当者がコードリーダーCRで読み取ると(ステップSX2)、印刷装置制御部30は、コードリーダーCRの読み取りによりレシート識別情報J14を取得し、レシート識別情報J14を、印刷装置ネットワーク通信部33を介して制御サーバー7に送信する(ステップSB6)。
When the cashier reads the two-dimensional code printed on the receipt R handed over to the customer KK with the code reader CR (step SX2), the
ステップSB6において、印刷装置制御部30は、識別情報読取時刻とシリアル番号J11とを付加してレシート識別情報J14を制御サーバー7に送信する。
At step SB6, the printing
なお、図11に示すフローチャートFBでは、レジ担当者が会員カードCDの読み取りを行った後に、レシートRに印刷された2次元コードJ9の読み取りを行った場合の印刷装置3の動作を示している。読み取りは、逆の順番で行われることもあり得る。この場合、印刷装置3は、ステップSB6の動作を実行した後に、ステップSB5の動作を実行する。
Note that the flowchart FB shown in FIG. 11 shows the operation of the
図11のフローチャートFCに示すように、制御サーバー7のサーバー制御部70は、サーバーネットワーク通信部71を介して、印刷装置3から、シリアル番号J11と店舗識別情報J12とが付加された印刷データIDを受信する(ステップSC1)。この受信により、サーバー制御部70の第1処理部701のテキストデータ生成部7012は、シリアル番号J11が付加された印刷データIDを取得する。
また、制御サーバー7のサーバー制御部70は、サーバーネットワーク通信部71を介して、印刷装置3から、シリアル番号J11と会員番号読取時刻とが付加された会員番号情報J15を受信する(ステップSC1)。この受信により、サーバー制御部70の第1処理部701の第1取得部7011は、シリアル番号J11と会員番号読取時刻とが付加された会員番号情報J15を取得する。
また、制御サーバー7のサーバー制御部70は、サーバーネットワーク通信部71を介して、印刷装置3から、シリアル番号J11と識別情報読取時刻とが付加されたレシート識別情報J14を受信する(ステップSC1)。この受信により、サーバー制御部70の第1処理部701の第1取得部7011は、シリアル番号J11と識別情報読取時刻とが付加されたレシート識別情報J14を取得する。
As shown in the flowchart FC of FIG. 11, the
Further, the
Further, the
サーバー制御部70の第1処理部701のテキストデータ生成部7012は、取得した印刷データIDから印刷テキストデータITDを生成する(ステップSC2)。テキストデータ生成部7012は、印刷テキストデータITDを生成すると、取得した印刷装置3に付加されたシリアル番号J11を、生成した印刷テキストデータITDに付加して、印刷テキストデータITDを分析部7013に出力する。
The text
次いで、分析部7013は、テキストデータ生成部7012から入力された印刷テキストデータITDに付加されたシリアル番号J11と同じシリアル番号J11が対応付けられた分析プログラム群BPGを取得する(ステップSC3)。
Next, the
次いで、分析部7013は、取得した分析プログラム群BPGに基づいて、テキストデータ生成部7012が生成した印刷テキストデータITDに対してテキストデータ分析処理を実行する(ステップSC4)。
Next, the
次いで、分析部7013は、ステップSC4のテキストデータ分析処理の処理結果に基づいて分析データBDを生成する(ステップSC5)。
Next,
次いで、分析部7013は、分析データBDを生成すると、生成した分析データBDを分析データ管理データベース710Cに1件のレコードとして登録する(ステップSC6)。
After generating the analysis data BD, the
次いで、対応レコード生成部7022は、レコード生成処理を実行する(ステップSC7)。レコード生成処理とは、会員関連データベース710Dに登録するレコードを生成する処理である。
Next, the correspondence record generation unit 7022 executes record generation processing (step SC7). Record generation processing is processing for generating records to be registered in the member-related
図12は、レコード生成処理における制御サーバー7の動作を示す図である。
FIG. 12 is a diagram showing the operation of the
対応レコード生成部7022は、第2取得部7021から入力されたレシート識別情報J14、及び会員番号情報J15から、付加されているシリアル番号J11が同じレシート識別情報J14、及び会員番号情報J15の組み合わせを決定する(ステップSD1)。例えば、対応レコード生成部7022に対して、会員番号情報J15、レシート識別情報J14、会員番号情報J15の順で、第2取得部7021から入力が有ったとする。この場合、対応レコード生成部7022は、ステップSD1において、先に入力された会員番号情報J15と、この会員番号情報J15の後に入力されたレシート識別情報J14との組み合わせに決定する。
The correspondence record generation unit 7022 generates a combination of the receipt identification information J14 and the member number information J15 having the same attached serial number J11 from the receipt identification information J14 and the member number information J15 input from the
次いで、対応レコード生成部7022は、ステップSD1で決定した組み合わせのレシート識別情報J14に付加された識別情報読取時刻と、ステップSD1で決定した組み合わせの会員番号情報J15に付加された会員番号読取時刻との差を算出する(ステップSD2)。 Next, the correspondence record generation unit 7022 generates the identification information reading time added to the combination of receipt identification information J14 determined in step SD1 and the member number reading time added to the combination of membership number information J15 determined in step SD1. is calculated (step SD2).
次いで、対応レコード生成部7022は、算出した差が所定範囲内であるか否かを判別する(ステップSD3)。所定範囲は、レシート識別情報J14の読み取りが行われた会計と、会員番号情報J15の読み取りが行われた会計とが、同一の会計となるような時間の範囲であって、事前のテストやシミュレーション等によって適切に定められている。 Next, the correspondence record generation unit 7022 determines whether or not the calculated difference is within a predetermined range (step SD3). The predetermined range is a range of time such that the transaction for which the receipt identification information J14 is read and the transaction for which the member number information J15 is read are the same transaction, and are used in advance tests and simulations. etc. is appropriately defined.
対応レコード生成部7022は、算出した差が所定範囲内でないと判別した場合(ステップSD3:NO)、会員関連データベース710Dに登録するレコードを生成しない(ステップSD4)。なお、この場合、ポイント付与部7023は、対応レコード生成部7022がステップSD1で決定した組み合わせの会員番号情報J15が示す会員番号の顧客KKに対してポイント付与を行わない。
If the corresponding record generation unit 7022 determines that the calculated difference is not within the predetermined range (step SD3: NO), it does not generate a record to be registered in the member-related
一方で、対応レコード生成部7022は、算出した差が所定範囲内であると判別した場合(ステップSD3:YES)、会員関連データベース710Dに登録するレコードを生成する(ステップSD5)。なお、この場合、ポイント付与部7023は、対応レコード生成部7022がステップSD1で決定した組み合わせの会員番号情報J15が示す会員番号の顧客KKに対してポイント付与を行なう。
On the other hand, when the corresponding record generation unit 7022 determines that the calculated difference is within the predetermined range (step SD3: YES), it generates a record to be registered in the member-related
このように、対応レコード生成部7022は、レシート識別情報J14に付加された識別情報読取時刻と、会員番号情報J15に付加された会員番号読取時刻との差が所定範囲内である場合、会員関連データベース710Dに登録するレコードを生成する。
これは、以下の理由による。例えば、図1に示す顧客KK1がある1のレジカウンターLで会計を行った後に、図1に示す顧客KK2が同じレジカウンターLで会計を行ったとする。また、顧客KK1で会計が行われた際、所定の要因により、顧客KK1の会員番号を示す会員番号情報J15の送信が行われなかったとする。この場合、第2取得部7021は、この2つの会計に亘って、印刷装置3から、顧客KK1に引き渡されたレシートRのレシート識別情報J14、顧客KK2の会員番号情報J15、及び、顧客KK2に引き渡されたレシートRのレシート識別情報J14を、この順番で取得することになる。対応レコード生成部7022は、付加されているシリアル番号J11が同じである場合、第2取得部7021が情報を取得した順に組み合わせを決定する。そのため、この例では、対応レコード生成部7022は、顧客KK1に引き渡されたレシートRのレシート識別情報J14と、顧客KK2の会員番号情報J15とが対応付けたレコードを生成することになってしまう。これでは、顧客KK2に対して、顧客KK1が行った会計に基づくポイントが付与されることになる。そこで、対応レコード生成部7022は、上記の処理を行うことで、異なる会計で読み取られたレシート識別情報J14と会員番号情報J15とを対応付けないようできる。つまり、対応レコード生成部7022は、同一の会計で読み取られたレシート識別情報J14と会員番号情報J15とを正確に対応付けることができ、レシート識別情報J14と会員番号情報J15とを精度よく対応付けることができる。これにより、制御サーバー7が提供するポイント付与サービスにおいて、ポイント付与の精度が低下することを防止できる。
In this way, when the difference between the identification information read time added to the receipt identification information J14 and the member number read time added to the member number information J15 is within a predetermined range, the corresponding record generation unit 7022 Generate a record to be registered in the
This is for the following reasons. For example, suppose that customer KK1 shown in FIG. 1 checks out at a certain checkout counter L, and then customer KK2 shown in FIG. 1 checks out at the same checkout counter L. It is also assumed that the member number information J15 indicating the member number of the customer KK1 was not sent due to a predetermined factor when the customer KK1 made the payment. In this case, the
図11を参照して、対応レコード生成部7022がレコード生成処理でレコードを生成すると、対応レコード生成部7022は、会員関連データベース710Dにレコードを登録する(ステップSC8)。これにより、分析データ管理データベース710C、及び会員関連データベース710Dの2つのデータべースにおいて、レシート識別情報J14により、印刷データIDに対して会員番号情報J15の紐づけが行われたこととなる。
Referring to FIG. 11, when corresponding record generation unit 7022 generates a record in record generation processing, corresponding record generation unit 7022 registers the record in member-related
以上のように、情報処理システム1において、印刷装置3は、決済情報が含まれる印刷データID、レシート識別情報J14、会員番号情報J15を制御サーバー7に送信する。制御サーバー7は、印刷データIDとレシート識別情報J14とを対応付け、レシート識別情報J14と会員番号情報J15とを対応付け、レシート識別情報J14によって印刷データIDと会員番号情報J15とを紐づける。この構成によれば、情報処理システム1は、レシート識別情報J14により、印刷データIDと会員番号情報J15とを紐づけることができるため、精度よく印刷データIDに対して会員番号情報J15を紐づけることができる。前述した通り、印刷データIDは決済情報を有するため、情報処理システム1は、決済情報に対して会員番号情報J15を精度よく紐づけることができる。
As described above, in the
特に、情報処理システム1は、顧客KKが提示した会員カードCDから読み取って取得した会員番号情報J15を、印刷データIDに対して精度よく紐づけることができる。会員番号情報J15を会員カードCDから読み取って取得する場合、印刷装置3は、レシートRと会員カードCDとは互いに独立した媒体であるため、会員カードCDから取得した会員番号情報J15には顧客KKに引き渡されたレシートRのレシート識別情報J14が対応付いていない。そのため、制御サーバー7は、印刷データIDと会員番号情報J15とが紐づけることが難しい。また、会員カードCDの読み取りタイミングは、顧客KKが提示するタイミングやレジ担当者が読み取りを行うタイミングに依存するため、不定である。そのため、制御サーバー7は、会員カードCDの読み取りを行ったタイミングに基づいて、印刷データIDと会員番号情報J15とが紐づけようとすると、処理が複雑になるに加え、紐づけの精度が低下する虞がある。そこで、情報処理システム1において印刷装置3は、レシート識別情報J14を示す2次元コードJ9を決済情報と共にレシートRに印刷する。これにより、レシート識別情報J14の読み取りが行われると、印刷装置3は、印刷データIDと会員番号情報J15とに加え、印刷データIDと会員番号情報J15と紐づけるためのレシート識別情報J14を制御サーバー7に送信できる。したがって、上述したように、情報処理システム1は、レシート識別情報J14により、紐づきを行うことが難しい会員カードCDから取得した会員番号情報J15を、印刷データIDに対して精度よく紐づけることができる。また、これにより、制御サーバー7では、会員カードCDの読み取りを行ったタイミングに基づいて紐づけを行う処理を実行する必要がなく、単純に情報の対応付けを行うだけでよい。したがって、制御サーバー7は、紐づきを行うことが難しい会員カードCDから取得した会員番号情報J15を、印刷データIDに対して簡単に紐づけることができる。
In particular, the
対応レコード生成部7022が生成したレコードを会員関連データベース710Dにレコードを登録すると、ポイント付与部7023は、ポイント付与を行う(ステップSC9)。上述したように、印刷データIDに対して精度よく会員番号情報J15が紐づいているため、ポイント付与部7023は、ある会員番号の顧客KKに対して、当該顧客KKが行っていない会計に基づくポイント付与が行われてしまうといった事態の発生を防止できる。したがって、ポイント付与部7023は、精度よくポイント付与を行える。
When the record generated by the correspondence record generating unit 7022 is registered in the member-related
また、上述したように、情報処理システム1において、POS端末4は、会計処理に基づく印刷データIDの生成、及び、印刷データIDの送信を実行する。つまり、POS端末4の改修を行わなくても、情報処理システム1は、精度よくポイント付与が行える。これにより、ポイント付与サービスの利用に対応していない店舗Tを、ポイント付与サービスの利用に対応した店舗Tへ変更する際、店舗システム2では、少なくともPOS端末4の変更が不要である。したがって、店舗システム2は、大幅な変更を行わなくてもポイント付与サービスの利用に対応した店舗Tを構築できる。
Further, as described above, in the
次に、顧客KKが顧客端末6によって付与されたポイントの残高を閲覧する場合の、顧客端末6と制御サーバー7との動作について説明する。
図13は、顧客端末6と制御サーバー7との動作を示すフローチャートである。図13において、フローチャートFEは顧客端末6の動作を示し、フローチャートFFは制御サーバー7の動作を示す。
Next, operations of the
FIG. 13 is a flow chart showing the operation of the
顧客KKは、顧客端末6のブラウザーを立ち上げ、付与されたポイントの残高を閲覧するための閲覧用ユーザーインターフェースの表示に関わる制御サーバー7の所定のURLへのアクセスを指示する(ステップSY1)。なお、このURLは、所定の方法で、ユーザーに事前に通知されている。
The customer KK launches the browser of the
顧客端末6の顧客端末制御部60のブラウザー実行部6000は、顧客KKの指示に応じて、閲覧用ユーザーインターフェースの表示に係る制御サーバー7の所定のURLにアクセスする(ステップSE1)。
The
フローチャートFFに示すように、制御サーバー7のサーバー制御部70は、ブラウザー実行部6000による所定のURLへのアクセスに応じて、閲覧用ユーザーインターフェースを表示するために会員番号と、会員番号に対応するパスワードとを入力するための入力ユーザーインターフェースを表示させるHTMLファイルをサーバーネットワーク通信部71により顧客端末6へ送信する(ステップSF1)。
As shown in Flowchart FF, the
ブラウザー実行部6000は、顧客端末通信部62により入力ユーザーインターフェースを表示させるHTMLファイルを受信する(ステップSE2)。
The
次いで、ブラウザー実行部6000は、受信したHTMLファイルに基づいて入力ユーザーインターフェースを顧客端末タッチパネル61に表示させる(ステップSE3)。入力ユーザーインターフェースは、会員番号を入力する入力欄、会員番号に対応するパスワードを入力する入力欄、及び、入力欄への入力を確定する確定ボタンを有する。会員番号とパスワードとが対応する入力欄に入力された確定ボタンが操作されると(ステップSY2)、ブラウザー実行部6000は、入力された会員番号を示す会員番号情報J15と、入力されたパスワードを示す情報とを顧客端末通信部62により制御サーバー7へ送信する(ステップSE4)。
Next, the
制御サーバー7のサーバー制御部70は、サーバーネットワーク通信部71によって会員番号情報J15とパスワードを示す情報とを受信する(ステップSF2)。
The
次いで、サーバー制御部70は、受信した情報の組み合わせが示す会員番号とパスワードとの組み合わせが予め登録されている組み合わせと合致するか否かを判別する(ステップSF3)。サーバー制御部70は、合致すると判別した場合(ステップSF3:YES)、ポイント管理データベース710Eを参照して、受信した会員番号情報J15を格納するレコードを特定し、特定したレコードに格納されるポイント情報J16を取得する(ステップSF4)。
Next, the
次いで、サーバー制御部70は、取得したポイント情報J16を表示する閲覧用ユーザーインターフェースを表示させるHTMLファイルを顧客端末6に送信する(ステップSF5)。なお、ステップSF5の処理は、ポイント情報J16を顧客端末6に送信することに相当する。
Next, the
顧客端末6のブラウザー実行部6000は、閲覧用ユーザーインターフェースを表示させるHTMLファイルを顧客端末通信部62により受信する(ステップSE5)。
The
ブラウザー実行部6000は、受信したHTMLファイルに基づいて顧客端末インターフェースを顧客端末タッチパネル61に表示させる(ステップSE6)。
The
このように、情報処理システム1において、制御サーバー7は、顧客端末6から会員番号情報J15を受信した場合、受信した会員番号情報J15に対応付くポイント情報J16を顧客端末6に送信する。これにより、制御サーバー7は、精度よく付与されたポイントの残高を顧客KKに提示できる。
Thus, in the
以上、説明したように、印刷装置3は、POS端末4、制御サーバー7、及びコードリーダーCRと通信可能である。印刷装置3は、印刷部31と、印刷部31を制御する印刷装置制御部30と、を備える。印刷装置制御部30は、POS端末4から決済情報を受信し、受信した決済情報を識別するレシート識別情報J14を生成して印刷部31により決済情報とレシート識別情報J14とをロール紙に印刷し、ロール紙に印刷されたレシート識別情報をコードリーダーCRにより取得し、会員番号情報J15を記録する会員カードCDから会員番号情報J15をコードリーダーCRにより取得し、受信した決済情報、コードリーダーCRから取得したレシート識別情報J14、及び、コードリーダーCRから取得した会員番号情報J15を、制御サーバー7に送信する。
As described above, the
この構成によれば、制御サーバー7が、決済情報、レシート識別情報J14、及び会員番号情報J15を受信できるため、制御サーバー7が、レシート識別情報J14により、印刷データIDに対する会員番号情報J15の紐づけを精度よく行えるようになる。
According to this configuration, the
印刷装置制御部30は、コードリーダーCRによりレシート識別情報J14を取得した識別情報読取時刻を、レシート識別情報J14に付加して制御サーバー7に送信する。また、印刷装置制御部30は、コードリーダーCRにより会員番号情報J15を取得した会員番号読取時刻を、会員番号情報J15に付加して制御サーバー7に送信する。
The printing
この構成によれば、制御サーバー7が、レシート識別情報J14と会員番号情報J15と対応付けられる際、識別情報読取時刻と会員番号読取時刻とに基づいて対応付けを行うことができるようなる。そのため、制御サーバー7は、同じ会計で読み取られたシート識別情報J14と会員番号情報J15とを正確に対応付けることができるようになり、決済情報に対する会員番号情報J15の紐づけを、より精度よく行えるようになる。
According to this configuration, when the
印刷装置3は、印刷装置3を識別するシリアル番号J11を記憶する印刷装置記憶部310を備える。印刷装置制御部30は、印刷装置記憶部310が記憶するシリアル番号J11を、決済情報、レシート識別情報J14、及び会員番号情報J15に付加して制御サーバー7に送信する。
The
この構成によれば、制御サーバー7が、複数の印刷装置3から、決済情報、レシート識別情報J14、及び会員番号情報J15を受信した場合でも、印刷装置3ごとに、決済情報に対する会員番号情報J15の紐づけを精度よく行えるようになる。
According to this configuration, even if the
会員番号情報J15は、制御サーバー7が提供する所定のサービスを利用する利用者を識別する識別情報である。本実施形態において制御サーバー7が提供する所定のサービスは、ポイント付与サービスである。
The member number information J15 is identification information for identifying a user who uses a predetermined service provided by the
この構成によれば、ポイント付与サービスの会員番号を示す会員番号情報J15を、当該会員番号情報J15が示す会員番号が行った会計の決済情報に、精度よく紐づけることができるようになる。 According to this configuration, the member number information J15 indicating the member number of the point-giving service can be accurately linked to the payment information of the accounting performed by the member number indicated by the member number information J15.
情報処理システム1は、POS端末4、及びコードリーダーCRと通信可能な印刷装置3と、制御サーバー7とを備える。印刷装置3は、POS端末4から決済情報を受信し、受信した決済情報を識別するレシート識別情報J14を生成して印刷部31により決済情報とレシート識別情報J14とをロール紙に印刷し、ロール紙に印刷されたレシート識別情報をコードリーダーCRにより取得し、会員番号情報J15を記録する会員カードCDから会員番号情報J15をコードリーダーCRにより取得し、受信した決済情報、コードリーダーCRから取得したレシート識別情報J14、及び、コードリーダーCRから取得した会員番号情報J15を、制御サーバー7に送信する。制御サーバー7は、印刷装置3から、決済情報、レシート識別情報J14、及び会員番号情報J15を受信する。
The
この構成によれば、情報処理システム1は、レシート識別情報J14により、決済情報と会員番号情報J15とを紐づけることができるため、決済情報に対する会員番号情報J15の紐づけを精度よく行える。
According to this configuration, the
印刷装置3は、コードリーダーCRによりレシート識別情報J14を取得した識別情報読取時刻を、レシート識別情報J14に付加して制御サーバー7に送信する。また、印刷装置制御部30は、コードリーダーCRにより会員番号情報J15を取得した会員番号読取時刻を、会員番号情報J15に付加して制御サーバー7に送信する。制御サーバー7は、識別情報読取時刻と会員番号読取時刻との差が所定範囲内である場合、レシート識別情報J14と会員番号情報J15とを対応付けて記憶する。
The
この構成によれば、制御サーバー7は、レシート識別情報J14と会員番号情報J15と対応付けられる際、識別情報読取時刻と会員番号読取時刻とに基づいて対応付けを行える。そのため、制御サーバー7は、同じ会計で読み取られたシート識別情報J14と会員番号情報J15とを対応付けることができる。したがって、制御サーバー7は、精度よくシート識別情報J14と会員番号情報J15とを対応付けることができ、決済情報に対する会員番号情報J15の紐づけを、より精度よく行える。
According to this configuration, the
制御サーバー7は、決済情報に対応する印刷テキストデータITDを分析し、分析結果として分析データBDをレシート識別情報J14と対応付けて記憶する。制御サーバー7は、分析データBDに基づいて、制御サーバー7が提供するポイント付与サービスに関するポイント情報J16を生成し、生成したポイント情報J16を会員番号情報J15と対応付けて記憶する。制御サーバー7は、顧客端末6から会員番号情報J15を受信した場合、受信した会員番号情報J15に対応付くポイント情報J16を顧客端末6に送信する。
The
この構成によれば、制御サーバー7は、精度よく付与されたポイントの残高を顧客KKに提示できる。
According to this configuration, the
なお、上述した実施形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。 Note that the above-described embodiment merely shows one aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
例えば、上述した実施形態では、制御サーバー7が印刷テキストデータITDを生成する構成であったが、印刷装置3が印刷テキストデータITDを生成する構成でもよい。
For example, in the above-described embodiment, the
また、例えば、上述した実施形態では、レシートRの発行を行った後、会員カードCDから会員番号情報J15の読み取りが行われる構成を説明した。しかしながら、会員カードCDの読み取りは、1の会計においてレシートRの発行前に行われてもよい。 Further, for example, in the above-described embodiment, the member number information J15 is read from the member card CD after the receipt R is issued. However, the reading of the membership card CD may be performed before issuing the receipt R in one transaction.
また、例えば、上述した実施形態では、分析部7013がレコードを生成する際、第1取得部7011から入力されたレシート識別情報J14を生成するレコードに格納させる構成を説明した。しかしながら、印刷データIDにレシート識別情報J14が決算情報と含まれる場合、分析部7013は、テキストデータ分析処理によってレシート識別情報J14を取得し、生成するレコードの格納する構成でもよい。この構成の場合、印刷装置3は、印刷データIDに決算情報として含まれるレシート識別情報J14と同じレシート識別情報J14を示す2次元コードJ9をレシートRに印刷する。
Further, for example, in the above-described embodiment, when the
また、例えば、上述した実施形態では、制御サーバー7が提供するサービスとしてポイント付与サービスを例示して説明したが、制御サーバー7が提供するサービスは、上述したように、電子レシートの発行のサービスでもよい。この場合、サービス関連情報は、印刷装置3により発行された紙媒体のレシートRに印刷された情報の一部、又は全部の情報に相当する。また、制御サーバー7が提供するサービスは、分析データBDに基づいて特定の項目の項目値を提供するサービスでもよい。この構成の場合、サービス関連情報は、分析データBDに含まれる項目値の一部、又は全部に相当する。制御サーバー7が提供するサービスがポイント付与サービス以外のサービスでも、制御サーバー7は、サービスを利用する利用者に対して、他の利用者が行った会計に基づいて生成されたサービスに関するサービス関連情報を提供することがない。したがって、制御サーバー7は、サービスを利用する利用者に適切なサービス関連情報を提供できる。
Further, for example, in the above-described embodiment, the point-giving service was exemplified as the service provided by the
また、例えば、上述した実施形態では、読取装置として、コードリーダーCRを例示し、コードリーダーCRが会員カードCDから会員番号情報J15を読み取り、また、コードリーダーCRがレシートRからレシート識別情報J14を読み取り構成を説明した。しかしながら、読取装置は、コードリーダーCRに限定されず、会員カードCD、及びレシートRから対応する識別情報を読み取れる装置であればよい。また、会員カードCD、及びレシートRから対応する識別情報を読み取る読取装置は、同じ装置でなく、異なる装置でもよい。例えば、印刷装置3にカードリーダーと2次元コードリーダーとが接続し、カードリーダーで会員カードCDから会員番号情報J15を読み取り、2次元コードリーダーでレシートRからレシート識別情報J15を読み取る構成でもよい。
Further, for example, in the above-described embodiment, the code reader CR is exemplified as the reading device, the code reader CR reads the membership number information J15 from the membership card CD, and the code reader CR reads the receipt identification information J14 from the receipt R. Read configuration explained. However, the reader is not limited to the code reader CR, and any device that can read the corresponding identification information from the membership card CD and the receipt R may be used. Further, the reading device for reading the corresponding identification information from the member card CD and the receipt R may not be the same device, but may be different devices. For example, a card reader and a two-dimensional code reader may be connected to the
また、例えば、上述した実施形態では、レシート識別情報J14を読み取るためにレシートRに印刷されるコードとして2次元コードJ9を例示したが、レシート識別情報J14を読み取るためにレシートRに印刷されるコードは、バーコードでもよい。 Further, for example, in the above-described embodiment, the two-dimensional code J9 was exemplified as the code printed on the receipt R for reading the receipt identification information J14. may be a barcode.
また、例えば、POS端末制御部40、印刷装置制御部30、顧客端末制御部60、サーバー制御部70の機能は、複数のプロセッサー、又は、半導体チップにより実現してもよい。
Further, for example, the functions of the POS
また、サーバー制御部70の機能は、制御プログラム710Aを記憶した記憶媒体、制御プログラム710Aを配信するサーバー装置、制御プログラム710Aを伝送する伝送媒体、制御プログラム710Aを搬送波内に具現化したデータ信号等の形態で実現することもできる。
The functions of the
また、例えば、図11、図12、及び図13の処理単位は、POS端末4、印刷装置3、顧客端末6、及び、制御サーバー7の処理を理解容易にするために、主な処理内容に応じて分割したものであり、処理単位の分割の仕方や名称によって、本発明が限定されることはない。処理内容に応じて、されに多くの処理単位に分割してもよい。また、1つの処理単位がさらに多くの処理を含むように分割してもよい。また、その処理の順番は、本発明の趣旨に支障のない範囲で適宜に入れ替えてもよい。 Also, for example, the units of processing in FIGS. 11, 12, and 13 are mainly divided into The present invention is not limited by the division method or name of the processing unit. Depending on the processing content, it may be divided into more processing units. Also, one processing unit may be divided to include more processing. Also, the order of the processes may be changed as appropriate within the scope of the present invention.
また、図2に示した各機能部は機能的構成を示すものであって、具体的な実装形態は特に限定されない。つまり、必ずしも各機能部に個別に対応するハードウェアが実装される必要はなく、一つのプロセッサーがプログラムを実行することで複数の機能部の機能を実現する構成とすることも勿論可能である。また、上述した実施形態においてソフトウェアで実現される機能の一部をハードウェアとしてもよく、或いは、ハードウェアで実現される機能の一部をソフトウェアで実現してもよい。その他、POS端末4、印刷装置3、顧客端末6、及び制御サーバー7の他の各部の具体的な細部構成についても、本発明の趣旨を逸脱しない範囲で任意に変更可能である。
Moreover, each functional unit shown in FIG. 2 shows a functional configuration, and a specific implementation form is not particularly limited. In other words, it is not always necessary to mount hardware corresponding to each functional unit individually, and it is of course possible to adopt a configuration in which one processor executes a program to realize the functions of a plurality of functional units. Also, part of the functions implemented by software in the above-described embodiments may be implemented by hardware, or part of the functions implemented by hardware may be implemented by software. In addition, the specific detailed configurations of the
1…情報処理システム、3…印刷装置、4…POS端末(端末、第1端末)、6…顧客端末(第2端末)、7…制御サーバー(情報処理装置)、30…印刷装置制御部(制御部)、31…印刷部、32…印刷装置通信部、33…印刷装置ネットワーク通信部、34…デバイス通信部、40…POS端末制御部、41…POS端末通信部、42…POS端末タッチパネル、5…通信装置、60…顧客端末制御部、61…顧客端末タッチパネル、62…顧客端末通信部、70…サーバー制御部、71…サーバーネットワーク通信部、72…サーバー表示部、73…サーバー入力部、300…印刷装置プロセッサー、310…印刷装置記憶部(記憶部)、310A…制御プログラム、400…POS端末プロセッサー、410…POS端末記憶部、410A…制御プログラム、600…顧客端末プロセッサー、610…顧客端末記憶部、610A…制御プログラム、700…サーバープロセッサー、710…サーバー記憶部、710A…制御プログラム、710B…分析プログラム群管理データベース、710C…分析データ管理データベース、710D…会員関連データベース、710E…ポイント管理データベース、4000…アプリケーション実行部、6000…ブラウザー実行部、BD…分析データ(分析結果)、CD…会員カード(情報記録媒体)、CDP…カスタマーディスプレー、CR…コードリーダー(読取装置)、GN…グローバルネットワーク、ITD…印刷テキストデータ(テキストデータ)、J11…シリアル番号(印刷装置識別情報)、J14…レシート識別情報(第1識別情報)、J15…会員番号(第2識別情報)、J16…ポイント情報(サービス関連情報)、JT…自動釣銭機。
1... Information processing system, 3... Printing apparatus, 4... POS terminal (terminal, first terminal), 6... Customer terminal (second terminal), 7... Control server (information processing apparatus), 30... Printing apparatus control unit ( control unit), 31...printing unit, 32...printing apparatus communication unit, 33...printing apparatus network communication unit, 34...device communication unit, 40...POS terminal control unit, 41...POS terminal communication unit, 42...POS terminal touch panel, 5... communication device, 60... customer terminal control unit, 61... customer terminal touch panel, 62... customer terminal communication unit, 70... server control unit, 71... server network communication unit, 72... server display unit, 73... server input unit, 300...
Claims (7)
印刷部と、
前記印刷部を制御する制御部と、を備え、
前記制御部は、
前記端末から決済情報を受信し、受信した前記決済情報を識別する第1識別情報を生成して前記印刷部により前記決済情報と前記第1識別情報とを印刷媒体に印刷し、
前記印刷媒体に印刷された前記第1識別情報を前記読取装置により取得し、
前記第1識別情報と異なる第2識別情報を記録する情報記録媒体から前記第2識別情報を前記読取装置により取得し、
受信した前記決済情報、前記読取装置から取得した前記第1識別情報、及び、前記読取装置から取得した前記第2識別情報を、前記情報処理装置に送信し、
前記第1識別情報の送信では、前記読取装置により前記第1識別情報を取得した第1時刻を、前記第1識別情報に付加して前記情報処理装置に送信し、
前記第2識別情報の送信では、前記読取装置により前記第2識別情報を取得した第2時刻を、前記第2識別情報に付加して前記情報処理装置に送信する、
印刷装置。 A printing device capable of communicating with a terminal, an information processing device, and a reading device,
a printing unit;
A control unit that controls the printing unit,
The control unit
receiving payment information from the terminal, generating first identification information identifying the received payment information, and printing the payment information and the first identification information on a print medium by the printing unit;
Acquiring the first identification information printed on the print medium by the reading device,
Acquiring the second identification information from an information recording medium recording second identification information different from the first identification information by the reading device,
transmitting the received payment information, the first identification information obtained from the reading device, and the second identification information obtained from the reading device to the information processing device;
In transmitting the first identification information, adding a first time at which the first identification information is acquired by the reading device to the first identification information and transmitting the information to the information processing device;
In the transmission of the second identification information, a second time at which the second identification information is acquired by the reading device is added to the second identification information and transmitted to the information processing device.
printer.
前記制御部は、前記記憶部が記憶する前記印刷装置識別情報を、前記決済情報、前記第1識別情報、及び前記第2識別情報に付加して前記情報処理装置に送信する、
請求項1に記載の印刷装置。 A storage unit that stores printing device identification information that identifies the printing device,
The control unit adds the printing device identification information stored in the storage unit to the payment information, the first identification information, and the second identification information, and transmits the information to the information processing device.
A printing device according to claim 1 .
請求項1又は2に記載の印刷装置。 The second identification information is identification information that identifies a user who uses a predetermined service provided by the information processing device,
3. The printing apparatus according to claim 1 or 2 .
前記印刷装置は、
前記第1端末から決済情報を受信し、受信した前記決済情報を識別する第1識別情報を生成して前記決済情報と前記第1識別情報とを印刷媒体に印刷し、
前記印刷媒体に印刷された前記第1識別情報を前記読取装置により取得し、
前記第1識別情報と異なる第2識別情報を記録する情報記録媒体から前記第2識別情報を前記読取装置により取得し、
受信した前記決済情報、前記読取装置から取得した前記第1識別情報、及び、前記読取装置から取得した前記第2識別情報を、前記情報処理装置に送信し、
前記第1識別情報の送信では、前記読取装置により前記第1識別情報を取得した第1時刻を、前記第1識別情報に付加して前記情報処理装置に送信し、
前記第2識別情報の送信では、前記読取装置により前記第2識別情報を取得した第2時刻を、前記第2識別情報に付加して前記情報処理装置に送信し、
前記情報処理装置は、
前記印刷装置から、前記決済情報、前記第1識別情報、及び前記第2識別情報を受信する、
情報処理システム。 An information processing system comprising a first terminal, a printing device communicable with a reading device, and an information processing device communicable with the printing device,
The printing device
receiving payment information from the first terminal, generating first identification information identifying the received payment information, and printing the payment information and the first identification information on a print medium;
Acquiring the first identification information printed on the print medium by the reading device,
Acquiring the second identification information from an information recording medium recording second identification information different from the first identification information by the reading device,
transmitting the received payment information, the first identification information obtained from the reading device, and the second identification information obtained from the reading device to the information processing device;
In transmitting the first identification information, adding a first time at which the first identification information is acquired by the reading device to the first identification information and transmitting the information to the information processing device;
In transmitting the second identification information, adding a second time at which the second identification information is acquired by the reading device to the second identification information and transmitting the second identification information to the information processing device;
The information processing device is
receiving the payment information, the first identification information, and the second identification information from the printing device;
Information processing system.
前記第1時刻と前記第2時刻との差が所定範囲内である場合、前記第1識別情報と前記第2識別情報とを対応付けて記憶する、
請求項4に記載の情報処理システム。 The information processing device is
When the difference between the first time and the second time is within a predetermined range, the first identification information and the second identification information are associated and stored;
The information processing system according to claim 4 .
前記決済情報に対応するテキストデータを分析し、分析結果を前記第1識別情報と対応付けて記憶し、
前記分析結果に基づいて、前記情報処理装置が提供するサービスに関するサービス関連情報を生成し、生成した前記サービス関連情報を前記第2識別情報と対応付けて記憶し、
第2端末から前記第2識別情報を受信した場合、受信した前記第2識別情報に対応付く前記サービス関連情報を前記第2端末に送信する、
請求項5に記載の情報処理システム。 The information processing device is
analyzing the text data corresponding to the payment information, storing the analysis result in association with the first identification information;
generating service-related information about a service provided by the information processing device based on the analysis result, and storing the generated service-related information in association with the second identification information;
When receiving the second identification information from the second terminal, transmitting the service-related information corresponding to the received second identification information to the second terminal;
The information processing system according to claim 5 .
請求項4から6のいずれか一項に記載の情報処理システム。 The second identification information is identification information that identifies a user who uses a predetermined service provided by the information processing device,
The information processing system according to any one of claims 4 to 6 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018212748A JP7183718B2 (en) | 2018-11-13 | 2018-11-13 | PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018212748A JP7183718B2 (en) | 2018-11-13 | 2018-11-13 | PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020080036A JP2020080036A (en) | 2020-05-28 |
JP7183718B2 true JP7183718B2 (en) | 2022-12-06 |
Family
ID=70801821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018212748A Active JP7183718B2 (en) | 2018-11-13 | 2018-11-13 | PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7183718B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014194745A (en) | 2013-03-01 | 2014-10-09 | Toshiba Tec Corp | Information processing apparatus, program and electronic receipt system |
JP2015041154A (en) | 2013-08-20 | 2015-03-02 | 株式会社寺岡精工 | Pos system, registration device, and adjustment device |
JP2015130080A (en) | 2014-01-08 | 2015-07-16 | セイコーエプソン株式会社 | POS control system and printing apparatus |
-
2018
- 2018-11-13 JP JP2018212748A patent/JP7183718B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014194745A (en) | 2013-03-01 | 2014-10-09 | Toshiba Tec Corp | Information processing apparatus, program and electronic receipt system |
JP2015041154A (en) | 2013-08-20 | 2015-03-02 | 株式会社寺岡精工 | Pos system, registration device, and adjustment device |
JP2015130080A (en) | 2014-01-08 | 2015-07-16 | セイコーエプソン株式会社 | POS control system and printing apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP2020080036A (en) | 2020-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866252B (en) | The control method of POS system, data processing equipment and POS system | |
CN104756164B (en) | Pos system and printer | |
EP3043303A1 (en) | Control device, control method of a control device, and a control system | |
JP2016015108A (en) | Electronic receipt management server, commodity sales data processor, print control device and program | |
JP6759817B2 (en) | Information processing device, control method of information processing device, and control program | |
JPWO2014076930A1 (en) | POS system and printing apparatus | |
JP6379960B2 (en) | Information processing apparatus, accounting system, and recording apparatus | |
JP6657945B2 (en) | Control server, information processing system, and control server control method | |
JP7183718B2 (en) | PRINTING DEVICE AND INFORMATION PROCESSING SYSTEM | |
JP2016095587A (en) | Mobile terminal device, commodity sales data processing device, and program | |
CN110889688B (en) | Information processing apparatus, control method therefor, and recording medium storing program therefor | |
EP3660655B1 (en) | Printer and control method thereof | |
JP7201762B2 (en) | Servers, Programs, and Electronic Receipt Systems | |
JP7205178B2 (en) | Information processing device and control method for information processing device | |
JP7006096B2 (en) | Information processing device and control method of information processing device | |
JP2006195660A (en) | Shopping support card, card issuing system, card issuing method, card issuing program, and storage medium | |
JP2003044940A (en) | Sales data processor | |
JP6766503B2 (en) | Information processing device, control method of information processing device, and control program | |
JP6772636B2 (en) | Information processing device, control method of information processing device, and control program | |
JP2023105224A (en) | Commodity sales data processing device, commodity sales data processing method, and program | |
JP2019067040A (en) | INFORMATION PROCESSING APPARATUS AND CONTROL METHOD OF INFORMATION PROCESSING APPARATUS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210817 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220715 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220726 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220915 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20221025 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221107 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7183718 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |