JP6224558B2 - Product sales data processing apparatus and program - Google Patents

Product sales data processing apparatus and program Download PDF

Info

Publication number
JP6224558B2
JP6224558B2 JP2014180445A JP2014180445A JP6224558B2 JP 6224558 B2 JP6224558 B2 JP 6224558B2 JP 2014180445 A JP2014180445 A JP 2014180445A JP 2014180445 A JP2014180445 A JP 2014180445A JP 6224558 B2 JP6224558 B2 JP 6224558B2
Authority
JP
Japan
Prior art keywords
receipt information
receipt
electronic receipt
identification code
output
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
JP2014180445A
Other languages
Japanese (ja)
Other versions
JP2016053910A (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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2014180445A priority Critical patent/JP6224558B2/en
Priority to US14/832,502 priority patent/US20160071080A1/en
Priority to CN201510558065.2A priority patent/CN105405225B/en
Priority to CN201810153916.9A priority patent/CN108416951B/en
Priority to EP15183829.9A priority patent/EP2993634A1/en
Publication of JP2016053910A publication Critical patent/JP2016053910A/en
Application granted granted Critical
Publication of JP6224558B2 publication Critical patent/JP6224558B2/en
Priority to US16/137,179 priority patent/US20190026714A1/en
Priority to US16/180,831 priority patent/US20190073649A1/en
Priority to US17/665,083 priority patent/US20220156712A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、商品販売データ処理装置及びプログラムに関する。 Embodiments described herein relate generally to a merchandise sales data processing apparatus and a program.

従来、店舗等では、商品の購入等の取引時に、その取引の内容を示すレシートを用紙に印字出力し、顧客に渡すことが行われている。また、電子化したレシート(電子レシート)を顧客の端末に受け渡す電子レシートシステムが知られている。係る電子レシートシステムでは、店舗での取引時に顧客を特定する識別コードが提示されると電子レシートを生成し、その識別コードに対応付けて電子レシートを管理装置で管理する。そして、電子レシートシステムは、予め登録された顧客(識別コード)の送信先アドレス宛に、当該識別コードに対応付けられた電子レシートを送信等することで、顧客の端末に電子レシートを提供している。   Conventionally, at a store or the like, at the time of a transaction such as purchase of a product, a receipt indicating the content of the transaction is printed out on a sheet and delivered to a customer. There is also known an electronic receipt system that delivers an electronic receipt (electronic receipt) to a customer terminal. In such an electronic receipt system, an electronic receipt is generated when an identification code for identifying a customer is presented during a transaction at a store, and the electronic receipt is managed by a management device in association with the identification code. The electronic receipt system provides the electronic receipt to the customer's terminal by transmitting the electronic receipt associated with the identification code to the destination address of the customer (identification code) registered in advance. Yes.

このようにレシートを電子化にすることによって、家計簿も電子的に自動的に簿記ができるなど買物客にとって有益である。また、電子レシートを導入することにより、レシート用紙の消費を減らすことができるため、導入店舗にとっても有益である。   By making the receipt electronic, the household account book can be automatically booked electronically, which is beneficial for shoppers. In addition, introduction of electronic receipts can reduce consumption of receipt paper, which is also beneficial for stores that introduce them.

ところで、店舗と管理装置との間は、一般的に専用線等のネットワークで接続される。このネットワークに障害等が発生すると、店舗と管理装置との間の通信はオフラインとなる。このような場合、店舗から管理装置に電子レシートを送信したとしても不達となり、当該レシートを顧客の端末へ提供することもできなくなる。そのため、顧客は、オフライン時に行われた取引について、その内訳を確認できないという問題があった。   By the way, the store and the management apparatus are generally connected by a network such as a dedicated line. When a failure or the like occurs in this network, communication between the store and the management device becomes offline. In such a case, even if an electronic receipt is transmitted from the store to the management device, the electronic receipt is not delivered, and the receipt cannot be provided to the customer terminal. For this reason, there is a problem that the customer cannot confirm the breakdown of the transactions that are performed offline.

本発明が解決しようとする課題は、外部装置との通信状態に応じてレシート出力を行うことが可能な商品販売データ処理装置及びプログラムを提供することである。 The problem to be solved by the present invention is to provide a merchandise sales data processing apparatus and program capable of outputting a receipt in accordance with a communication state with an external apparatus.

実施形態の商品販売データ処理装置は、商品の取引に係るデータ処理を実行する商品販売データ処理装置であって、取引毎に当該取引の内容を示したレシート情報を生成する生成手段と、前記レシート情報を用紙に印字出力する印字出力手段と、前記レシート情報を自装置とネットワークを介して接続された外部装置に出力する電子レシート出力手段と、前記レシート情報の受取先を特定するための特定文字列が前記レシート情報に含まれる場合に、前記レシート情報を前記電子レシート出力手段から出力させ、当該特定文字列が前記レシート情報に含まれない場合に、前記レシート情報を前記印字出力手段から出力させる制御手段と、前記外部装置との通信状態がオンラインか否かを判定する判定手段と、報知手段と、を備え、前記制御手段は、前記判定手段がオフラインと判定すると、前記特定文字列が含まれた前記レシート情報を前記印字出力手段から出力させるとともに、オンラインに回復後前記電子レシート出力手段から出力することを前記報知手段に報知させ、前記判定手段の判定結果がオフラインからオンラインに切り替わると、前記印字出力手段から出力させた前記特定文字列を含む前記レシート情報を、前記電子レシート出力手段から出力させる。 The merchandise sales data processing apparatus according to the embodiment is a merchandise sales data processing apparatus that performs data processing related to merchandise transactions, and includes a generation unit that generates receipt information indicating the contents of the transaction for each transaction, and the receipt Print output means for printing information on paper, electronic receipt output means for outputting the receipt information to an external device connected to the device via a network, and a specific character for specifying a recipient of the receipt information When the receipt is included in the receipt information, the receipt information is output from the electronic receipt output means. When the specific character string is not included in the receipt information, the receipt information is output from the print output means. Control means, determination means for determining whether or not the communication state with the external device is online, and notification means, If the determining means determines that the information is offline, the notifying means outputs the receipt information including the specific character string from the print output means and outputs from the electronic receipt output means after recovery online. When the notification is made and the determination result of the determination unit is switched from offline to online, the receipt information including the specific character string output from the print output unit is output from the electronic receipt output unit.

図1は、実施形態に係る電子レシートシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of an electronic receipt system according to the embodiment. 図2は、携帯端末に表示された第1識別コードの一例を示す図である。FIG. 2 is a diagram illustrating an example of the first identification code displayed on the mobile terminal. 図3は、POS端末の構成を示すブロック図である。FIG. 3 is a block diagram showing the configuration of the POS terminal. 図4は、ストアサーバの構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of the store server. 図5は、企業サーバの構成を示すブロック図である。FIG. 5 is a block diagram showing the configuration of the company server. 図6は、電子レシートサーバの構成を示すブロック図である。FIG. 6 is a block diagram showing the configuration of the electronic receipt server. 図7は、会員マスタ管理領域のデータ構成の一例を示す図である。FIG. 7 is a diagram illustrating an example of a data configuration of the member master management area. 図8は、携帯端末の構成を示すブロック図である。FIG. 8 is a block diagram showing the configuration of the mobile terminal. 図9は、POS端末の機能構成を示すブロック図である。FIG. 9 is a block diagram showing a functional configuration of the POS terminal. 図10は、レシート情報の一例を模式的に示す図である。FIG. 10 is a diagram schematically illustrating an example of receipt information. 図11は、レシート情報の一例を模式的に示す図である。FIG. 11 is a diagram schematically illustrating an example of receipt information. 図12は、POS端末が実行するレシート生成処理の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of a receipt generation process executed by the POS terminal. 図13は、POS端末が実行するレシート出力処理の一例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of a receipt output process executed by the POS terminal.

図1は、本実施形態に係る電子レシートシステムの構成例を示す図である。同図に示すように、電子レシートシステム1は、POS端末2と、ストアサーバ3と、企業サーバ4と、電子レシートサーバ5と、携帯端末6とを有する。   FIG. 1 is a diagram illustrating a configuration example of an electronic receipt system according to the present embodiment. As shown in the figure, the electronic receipt system 1 includes a POS terminal 2, a store server 3, a company server 4, an electronic receipt server 5, and a portable terminal 6.

POS端末2及びストアサーバ3は、各店舗P1内に設けられる。POS端末2とストアサーバ3とは、LAN(Local Area Network)等のネットワークN1を介して通信可能に接続される。また、POS端末2及びストアサーバ3は、ネットワークN1に接続されたルータ等のネットワーク機器(図示せず)を介して、店舗P1と企業サーバ4とを繋ぐネットワークN2に接続することができる。ネットワークN2は、例えば、インターネットやVPN(Virtual Private Network)等の専用線である。   The POS terminal 2 and the store server 3 are provided in each store P1. The POS terminal 2 and the store server 3 are communicably connected via a network N1 such as a LAN (Local Area Network). The POS terminal 2 and the store server 3 can be connected to a network N2 that connects the store P1 and the company server 4 via a network device (not shown) such as a router connected to the network N1. The network N2 is a dedicated line such as the Internet or VPN (Virtual Private Network).

POS端末2は、本実施形態において印字制御装置として機能する。POS端末2は、商品の売上登録等の各種の取引に係る処理を実行し、その取引内容を示すレシート情報を生成する。また、POS端末2は、生成したレシート情報を後述するプリンタ23で印字することで紙レシートを出力する。また、POS端末2は、レシート情報のデータ形式を変換した電子レシート情報を生成し、ストアサーバ3等を介して電子レシートサーバ5に出力(送信)する。   The POS terminal 2 functions as a print control device in this embodiment. The POS terminal 2 executes processing related to various transactions such as product sales registration, and generates receipt information indicating the transaction content. The POS terminal 2 outputs a paper receipt by printing the generated receipt information with a printer 23 described later. Further, the POS terminal 2 generates electronic receipt information obtained by converting the data format of the receipt information, and outputs (transmits) it to the electronic receipt server 5 via the store server 3 or the like.

ストアサーバ3は、POS端末2で行われる商品販売データ処理等の管理を統括的に行う。例えば、ストアサーバ3は、POS端末2で生成された電子レシート情報を、所定のタイミングで企業サーバ4に送信する。また、ストアサーバ3は、後述する商品マスタや後述する企業会員マスタ等を記憶し管理する。   The store server 3 performs overall management of merchandise sales data processing performed by the POS terminal 2. For example, the store server 3 transmits the electronic receipt information generated by the POS terminal 2 to the company server 4 at a predetermined timing. The store server 3 stores and manages a product master, which will be described later, a company member master, which will be described later, and the like.

なお、店舗P1に設けられるPOS端末2の個数は特に問わず、複数台であってもよい。また、本実施形態では、POS端末2が電子レシート情報を出力する構成を説明するが、これに限らないものとする。例えば、POS端末2で生成されたレシート情報を、ストアサーバ3や図示しない変換装置がデータ形式を変換することで、電子レシート情報として電子レシートサーバ5に出力する構成としてもよい。   The number of POS terminals 2 provided in the store P1 is not particularly limited, and a plurality of POS terminals 2 may be provided. In the present embodiment, the configuration in which the POS terminal 2 outputs electronic receipt information will be described, but it is not limited thereto. For example, the receipt information generated by the POS terminal 2 may be output to the electronic receipt server 5 as electronic receipt information by converting the data format by the store server 3 or a conversion device (not shown).

企業サーバ4は、店舗P1を運営する企業P2毎に設けられる。同企業に属する企業サーバ4と各店舗P1とは、ネットワークN2を介して通信可能に接続される。また、企業サーバ4と電子レシートサーバ5とは、インターネットやVPN等のネットワークN3を介して通信可能に接続される。   The company server 4 is provided for each company P2 that operates the store P1. The company server 4 belonging to the same company and each store P1 are connected via a network N2 so as to be communicable. Further, the company server 4 and the electronic receipt server 5 are communicably connected via a network N3 such as the Internet or VPN.

企業サーバ4は、店舗を運営する企業の売上管理、売上分析、在庫管理等の機能を有する。また、企業サーバ4は、各店舗P1から送信された電子レシート情報を、ネットワークN2を介して受信する。また、企業サーバ4は、各店舗P1の電子レシート情報を、ネットワークN3を介して電子レシートサーバ5に送信する。また、企業サーバ4は、電子レシートサーバ5から受信した後述する企業会員マスタを、ネットワークN2を介して、各店舗P1のストアサーバ3に送信(転送)する。   The company server 4 has functions such as sales management, sales analysis, and inventory management of the company that operates the store. Moreover, the company server 4 receives the electronic receipt information transmitted from each store P1 via the network N2. Moreover, the company server 4 transmits the electronic receipt information of each store P1 to the electronic receipt server 5 via the network N3. Further, the company server 4 transmits (transfers) a company member master (described later) received from the electronic receipt server 5 to the store server 3 of each store P1 via the network N2.

電子レシートサーバ5は、各企業P2の電子レシート情報を一括に管理する。電子レシートサーバ5は、後述する手順等により本システムへの登録を行った各顧客(会員)の会員データを、会員マスタに記憶し管理する。ここで、会員データは、各会員を識別するための第1識別コード、氏名、電子レシート情報の送信先となる携帯端末6の送信先情報(例えば電子メールアドレス)等を含む。また、電子レシートサーバ5は、後述する紐付登録が行われた第1識別コードに対応付けて、企業コードや第2識別コード等を記憶し管理する。   The electronic receipt server 5 collectively manages the electronic receipt information of each company P2. The electronic receipt server 5 stores and manages the member data of each customer (member) who has registered in the system according to a procedure described later in the member master. Here, the member data includes a first identification code for identifying each member, a name, transmission destination information (for example, an e-mail address) of the portable terminal 6 that is a transmission destination of electronic receipt information, and the like. In addition, the electronic receipt server 5 stores and manages a company code, a second identification code, and the like in association with a first identification code that has been associated and registered as described later.

電子レシートサーバ5は、会員マスタに記憶された会員データから、第1識別コードと第2識別コードとの対応関係を示すデータを企業毎に抽出する。そして、電子レシートサーバ5は、抽出したデータを企業会員マスタとして、該当する企業の企業サーバ4に提供(送信)する。   The electronic receipt server 5 extracts data indicating the correspondence between the first identification code and the second identification code for each company from the member data stored in the member master. Then, the electronic receipt server 5 provides (transmits) the extracted data as the company member master to the company server 4 of the corresponding company.

また、電子レシートサーバ5は、各店舗P1から送信された電子レシート情報を、ネットワークN3を介して受信し、後述する電子レシート管理領域に記憶し管理する。より詳細には、電子レシート情報は、取引内容の他、第1識別コード等の要素を含み、対応する会員データと対応付けて管理される。   The electronic receipt server 5 receives electronic receipt information transmitted from each store P1 via the network N3, and stores and manages it in an electronic receipt management area described later. More specifically, the electronic receipt information includes elements such as a first identification code in addition to transaction contents, and is managed in association with corresponding member data.

また、電子レシートサーバ5は、電子レシート管理領域に電子レシート情報を記憶すると、この電子レシート情報の第1識別コードに対応付けされた送信先情報を参照することで、送信先(携帯端末6)を特定する。そして、電子レシートサーバ5は、後述するネットワークN4を介して、電子レシート管理領域に記憶した電子レシート情報をその送信先に提供(送信)する。また、電子レシートサーバ5は、第1識別コードを指定する電子レシート照会を携帯端末6から受け付けると、当該第1識別コードに対応する電子レシートを電子レシート管理領域から抽出し、携帯端末6に提供(送信)する。   Further, when the electronic receipt server 5 stores the electronic receipt information in the electronic receipt management area, the electronic receipt server 5 refers to the transmission destination information associated with the first identification code of the electronic receipt information, thereby transmitting the transmission destination (portable terminal 6). Is identified. The electronic receipt server 5 provides (transmits) the electronic receipt information stored in the electronic receipt management area to the transmission destination via the network N4 described later. When the electronic receipt server 5 receives an electronic receipt inquiry specifying the first identification code from the portable terminal 6, the electronic receipt server 5 extracts the electronic receipt corresponding to the first identification code from the electronic receipt management area and provides it to the portable terminal 6. (Send.

携帯端末6は、本システムのユーザ(顧客ともいう)が使用する端末装置である。携帯端末6としては、例えばスマートフォン、携帯電話機、PDA(Personal Digital Assistant)、タブレット型コンピュータ等が挙げられる。携帯端末6は、ネットワークN4上で提供される各種情報を閲覧するためのWebブラウザ等のアプリケーションを実装する。なお、携帯端末6に代えて、PC等の端末装置を適用してもよい。   The portable terminal 6 is a terminal device used by a user (also referred to as a customer) of this system. Examples of the mobile terminal 6 include a smartphone, a mobile phone, a PDA (Personal Digital Assistant), and a tablet computer. The mobile terminal 6 is mounted with an application such as a Web browser for browsing various information provided on the network N4. Instead of the mobile terminal 6, a terminal device such as a PC may be applied.

携帯端末6は、ネットワークN4を介して電子レシートサーバ5にアクセスすることで、本システムへの会員登録を行う。ここで、ネットワークN4は、インターネットや各種公衆網である。   The portable terminal 6 accesses the electronic receipt server 5 via the network N4 to register as a member in this system. Here, the network N4 is the Internet or various public networks.

ところで、本システムでの顧客の会員登録は、例えば次のような手順で行われる。顧客は、携帯端末6を用いることで、電子レシートサーバ5に対して空メールを送信する。電子レシートサーバ5は、受信したメールアドレスに会員登録のためのページを示すURL(Uniform Resource Locator)を送信する。顧客は、携帯端末6から会員登録のためのページを示すURLにアクセスして会員登録に必要な事項(氏名、送信先情報等)を入力させる入力画面を表示させる。顧客による必要事項の入力終了後、電子レシートサーバ5は、会員マスタに対する会員登録を実行する。その後、電子レシートサーバ5は、携帯端末6に対して第1識別コード等を含む会員登録完了メールを配信する。これにより、会員登録が終了する。   Incidentally, customer membership registration in this system is performed, for example, by the following procedure. The customer transmits a blank mail to the electronic receipt server 5 by using the portable terminal 6. The electronic receipt server 5 transmits a URL (Uniform Resource Locator) indicating a page for member registration to the received mail address. The customer accesses a URL indicating a page for member registration from the mobile terminal 6 and displays an input screen for inputting items (name, destination information, etc.) necessary for member registration. After completing the necessary information input by the customer, the electronic receipt server 5 executes member registration for the member master. Thereafter, the electronic receipt server 5 delivers a member registration completion mail including the first identification code to the mobile terminal 6. This completes member registration.

上述のような会員登録後、携帯端末6は、図2に示すように、顧客の第1識別コードをバーコードや二次元コード等のコードシンボルCSとして表示部63に表示する。顧客は、店舗P1における取引決済時に店員に対して携帯端末6に表示されたコードシンボルCSを提示する。店員は、携帯端末6に表示されたコードシンボルCSをPOS端末2に接続されたコードスキャナ25(図3参照)で読み取る。これにより、各種取引後にPOS端末2で生成されるレシート情報に対して、顧客の第1識別コードを対応付けることが可能になっている。   After the member registration as described above, the mobile terminal 6 displays the first identification code of the customer on the display unit 63 as a code symbol CS such as a barcode or a two-dimensional code, as shown in FIG. The customer presents the code symbol CS displayed on the portable terminal 6 to the store clerk at the time of transaction settlement in the store P1. The store clerk reads the code symbol CS displayed on the mobile terminal 6 with the code scanner 25 (see FIG. 3) connected to the POS terminal 2. Thereby, it is possible to associate the customer's first identification code with the receipt information generated by the POS terminal 2 after various transactions.

また、携帯端末6は、POS端末2での取引後、電子レシートサーバ5から提供される当該取引の電子レシート情報を、ネットワークN4を介して受信する。また、携帯端末6は、第1識別コードを指定した電子レシート照会を、電子レシートサーバ5に送信することで、当該第1識別コードに関係する電子レシート情報を電子レシートサーバ5から受信する。また、携帯端末6は、受信した電子レシート情報を、後述する表示部63に表示する。   Moreover, the portable terminal 6 receives the electronic receipt information of the said transaction provided from the electronic receipt server 5 after the transaction with the POS terminal 2 via the network N4. In addition, the mobile terminal 6 receives the electronic receipt information related to the first identification code from the electronic receipt server 5 by transmitting an electronic receipt inquiry designating the first identification code to the electronic receipt server 5. In addition, the mobile terminal 6 displays the received electronic receipt information on the display unit 63 described later.

また、第1識別コードの登録後、各企業が各顧客に独自に発行した第2識別コードを、第1識別コードに対応付けることが可能である。ここで、第2識別コードは、例えば、企業から配布されたポイントカード等のカード媒体が保持する固有の識別コードである。係る第2識別コードは、例えば、企業内において、顧客の管理や、購入金額等に応じて各顧客に発行されたポイントの管理に用いられる。   In addition, after the registration of the first identification code, the second identification code independently issued to each customer by each company can be associated with the first identification code. Here, the second identification code is a unique identification code held by a card medium such as a point card distributed from a company, for example. Such a second identification code is used, for example, for management of customers in the company and management of points issued to each customer in accordance with the purchase amount.

第1識別コードを、各企業の第2識別コードと対応付ける場合、例えば次のような手順を行う。顧客は、自身の第1識別コードをコードシンボルCSとして携帯端末6の表示部63に表示する。顧客は、店舗P1の店員に対して携帯端末6に表示されたコードシンボルCSを、その店舗P1を運営する企業から配布されたカード媒体とともに提示する。店員は、携帯端末6に表示されたコードシンボルCS(第1識別コード)をPOS端末2に接続されたコードスキャナ25(図3参照)で読み取る。また、店員は、提示されたカード媒体が保持する第2識別コードをPOS端末2に接続されたカードリーダ26(図3参照)で読み取る。POS端末2は、第1識別コード及び第2識別コードを、店舗P1を運営する企業P2の識別コード(企業コード)等とともに、ストアサーバ3や企業サーバ4等を介して電子レシートサーバ5に送信する。これにより、第1識別コードに対して、各企業が各顧客に発行した第2識別コードを対応付けることが可能になっている。以下、第1識別コードと第2識別コードとの対応付けに係る処理を「紐付登録」という。   When the first identification code is associated with the second identification code of each company, for example, the following procedure is performed. The customer displays his / her first identification code as a code symbol CS on the display unit 63 of the portable terminal 6. The customer presents the code symbol CS displayed on the portable terminal 6 to the store clerk of the store P1 together with the card medium distributed from the company that operates the store P1. The store clerk reads the code symbol CS (first identification code) displayed on the portable terminal 6 with the code scanner 25 (see FIG. 3) connected to the POS terminal 2. Further, the store clerk reads the second identification code held by the presented card medium with a card reader 26 (see FIG. 3) connected to the POS terminal 2. The POS terminal 2 transmits the first identification code and the second identification code to the electronic receipt server 5 via the store server 3 and the company server 4 together with the identification code (company code) of the company P2 that operates the store P1. To do. Thus, the second identification code issued by each company to each customer can be associated with the first identification code. Hereinafter, the process related to the association between the first identification code and the second identification code is referred to as “association registration”.

電子レシートシステム1では、店舗P1のPOS端末2で各種の取引が行われると、その取引の内容を示すレシート情報(電子レシート情報)が生成される。生成された電子レシート情報は、電子レシートサーバ5に伝送され、携帯端末6で閲覧可能に記憶される。したがって、Webブラウザ等の閲覧アプリケーションを実装した携帯端末6は、電子レシートサーバ5にアクセスすることで電子レシート情報を閲覧することができる。   In the electronic receipt system 1, when various transactions are performed at the POS terminal 2 of the store P1, receipt information (electronic receipt information) indicating the content of the transaction is generated. The generated electronic receipt information is transmitted to the electronic receipt server 5 and stored so as to be viewable on the portable terminal 6. Therefore, the portable terminal 6 in which a browsing application such as a Web browser is mounted can browse the electronic receipt information by accessing the electronic receipt server 5.

次に、電子レシートシステム1を構成する主要な装置の構成について説明する。   Next, the structure of the main apparatus which comprises the electronic receipt system 1 is demonstrated.

まず、POS端末2について説明する。図3は、POS端末2の構成を示すブロック図である。図3に示すように、POS端末2は、各種演算やPOS端末2の各部を統括的に制御する制御部21を備えている。制御部21は、CPU(Central Processing Unit)、各種プログラムやデータを記憶するROM(Read Only Memory)、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM(Random Access Memory)、現在の日時を計時するRTC(Real Time Clock)部等によって構成されるコンピュータである。   First, the POS terminal 2 will be described. FIG. 3 is a block diagram showing the configuration of the POS terminal 2. As shown in FIG. 3, the POS terminal 2 includes a control unit 21 that controls various operations and each unit of the POS terminal 2. The control unit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) for storing various programs and data, a RAM (Random Access Memory) for temporarily storing various programs and rewritable data, It is a computer configured by an RTC (Real Time Clock) unit that measures the current date and time.

制御部21は、バス29を介して操作部22、プリンタ23、表示部24、コードスキャナ25及びカードリーダ26に接続されている。   The control unit 21 is connected to the operation unit 22, the printer 23, the display unit 24, the code scanner 25, and the card reader 26 via the bus 29.

操作部22は、オペレータが操作入力を行うための各種の操作キーを有している。操作キーとしては、例えば、数値を入力するための置数キー、所定の項目を選択するためのカーソルキーや選択決定キー、取引における売上登録が行われる商品の合計出力を指示する小計キーが設けられている。また、各種取引の開始を宣言する取引開始キーや、一取引の締めを宣言する締めキー等が設けられている。   The operation unit 22 has various operation keys for an operator to input an operation. As operation keys, for example, a numeric key for inputting a numerical value, a cursor key for selecting a predetermined item, a selection determination key, and a subtotal key for instructing a total output of products for which sales are registered in a transaction are provided. It has been. In addition, a transaction start key for declaring the start of various transactions, a lock key for declaring the close of one transaction, and the like are provided.

プリンタ23は、レシートやジャーナル等の印字を行うプリンタ装置である。プリンタ23は、操作部22の制御の下、レシート情報をロール紙等の用紙に印字を行う。   The printer 23 is a printer device that prints receipts, journals, and the like. The printer 23 prints receipt information on paper such as roll paper under the control of the operation unit 22.

表示部24は、例えば液晶ディスプレイ等の表示デバイスである。表示部24は、売上登録された商品の品名、価格、決済が宣言された一取引の合計金額、釣銭額等の各種情報を表示する。表示部24は、キャッシャ向けに各種情報を表示する第1ディスプレイ24aと、主に顧客向けに各種情報を表示する第2ディスプレイ24bとを備える。なお、表示部24をタッチパネル構成としてもよく、この場合、タッチパネルは操作部22として機能する。   The display unit 24 is a display device such as a liquid crystal display. The display unit 24 displays various information such as the product name, the price, the total amount of one transaction for which settlement has been declared, and the change amount of the merchandise registered for sales. The display unit 24 includes a first display 24a that displays various information for the cashier, and a second display 24b that displays various information mainly for the customer. The display unit 24 may have a touch panel configuration. In this case, the touch panel functions as the operation unit 22.

コードスキャナ25は、バーコードや二次元コード等のコードシンボルを光学的に読み取るスキャナ装置である。コードスキャナ25は、例えば、商品に付されたコードシンボルや、携帯端末6に表示されたコードシンボル等を読み取り、読み取った情報を制御部21に出力する。なお、商品に付されたコードシンボルには、その商品を特定するための商品コード等が保持されているとする。また、携帯端末6に表示されるコードシンボルには、その携帯端末6を携帯する顧客を特定するための第1識別コード等が保持されているとする。   The code scanner 25 is a scanner device that optically reads a code symbol such as a barcode or a two-dimensional code. For example, the code scanner 25 reads a code symbol attached to a product, a code symbol displayed on the mobile terminal 6, and the like, and outputs the read information to the control unit 21. It is assumed that a product code or the like for identifying the product is held in the code symbol attached to the product. Further, it is assumed that the code symbol displayed on the mobile terminal 6 holds a first identification code or the like for specifying a customer who carries the mobile terminal 6.

カードリーダ26は、カード媒体が保持する情報を読み取るリーダ装置である。カードリーダ26としては、例えば、カード媒体が保持する情報を磁気的に読み取る磁気カードリーダや、RFID等の近距離無線通信技術を用いて読み取るICカードリーダ等を用いることができる。カードリーダ26は、例えば、顧客が提示するカード媒体から第2識別コード等を読み取り、読み取った情報を制御部21に出力する。   The card reader 26 is a reader device that reads information held in a card medium. As the card reader 26, for example, a magnetic card reader that magnetically reads information held in a card medium, an IC card reader that reads using a short-range wireless communication technology such as RFID, and the like can be used. The card reader 26 reads, for example, a second identification code from a card medium presented by the customer, and outputs the read information to the control unit 21.

また、制御部21は、バス29を介して通信I/F(インターフェース)27に接続される。制御部21は、この通信I/F27を介してネットワークN1やネットワークN2に接続することが可能となっている。   The control unit 21 is connected to a communication I / F (interface) 27 via a bus 29. The control unit 21 can be connected to the network N1 or the network N2 via the communication I / F 27.

また、制御部21は、バス29を介して、記憶部28に接続されている。記憶部28は、例えばHDD(Hard Disk Drive)やSSD(Solid State Drive)等の補助記憶装置である。記憶部28は、各種のPOS業務を実行するためのプログラムや各種設定情報を記憶する。また、記憶部28は、自己のPOS端末2を他のPOS端末2と識別するためのPOS識別情報を識別コード管理領域28aに記憶する。POS識別情報は、例えば、自己のPOS端末2に割り振られたPOSナンバー、企業コード(店舗を運営する企業の識別コード)、当該POS端末2が設置される店舗P1を示す店舗コード等を含む。また、企業コード(店舗を運営する企業の識別コード)については、企業サーバ4が保持する形態としてもよい。   The control unit 21 is connected to the storage unit 28 via the bus 29. The storage unit 28 is an auxiliary storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage unit 28 stores programs for executing various POS operations and various setting information. The storage unit 28 also stores POS identification information for identifying its own POS terminal 2 from other POS terminals 2 in the identification code management area 28a. The POS identification information includes, for example, a POS number allocated to the own POS terminal 2, a company code (an identification code of a company that operates the store), a store code indicating the store P1 where the POS terminal 2 is installed, and the like. The company code (the identification code of the company that operates the store) may be held by the company server 4.

制御部21は、オペレータから指示された取引に係る処理を実行し、当該取引に応じたレシート情報を生成する。また、制御部21は、第1識別コードが入力されたか否かに応じて、生成したレシート情報の出力方法を決定する。   The control part 21 performs the process which concerns on the transaction instruct | indicated from the operator, and produces | generates the receipt information according to the said transaction. Further, the control unit 21 determines an output method of the generated receipt information according to whether or not the first identification code is input.

次に、ストアサーバ3の構成を、図4のブロック図を用いて説明する。図4は、ストアサーバ3の構成を示すブロック図である。図4に示すように、ストアサーバ3は、各種演算やストアサーバ3の各部を統括的に制御する制御部31を備えている。制御部31は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。   Next, the configuration of the store server 3 will be described with reference to the block diagram of FIG. FIG. 4 is a block diagram showing the configuration of the store server 3. As shown in FIG. 4, the store server 3 includes a control unit 31 that comprehensively controls various operations and each unit of the store server 3. The control unit 31 is a computer that includes a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and stores various data in a rewritable manner, an RTC unit that measures the current date and time, and the like. is there.

制御部31は、バス34に接続された通信I/F32を介して、ネットワークN1やネットワークN2に接続することが可能となっている。また、制御部31は、バス34を介して記憶部33に接続されている。   The control unit 31 can be connected to the network N1 or the network N2 via the communication I / F 32 connected to the bus 34. The control unit 31 is connected to the storage unit 33 via the bus 34.

記憶部33は、制御部31(CPU)が実行可能な各種プログラムや各種設定情報を記憶する。また、記憶部33は、自店舗P1内のPOS端末2の各々で生成されたレシート情報を店舗レシート管理領域33aに記憶する。また、記憶部33は、各商品の商品名、商品コード及び単価等の商品データを格納した商品マスタを商品マスタ管理領域33bに記憶する。また、記憶部33は、企業会員マスタを企業会員マスタ管理領域33cに記憶する。なお、商品マスタ及び企業会員マスタは、所定のタイミングで自店舗P1内の各POS端末2に配布する形態としてもよい。   The storage unit 33 stores various programs and various setting information that can be executed by the control unit 31 (CPU). Moreover, the memory | storage part 33 memorize | stores the receipt information produced | generated in each of the POS terminals 2 in the own shop P1 in the shop receipt management area 33a. The storage unit 33 stores a product master storing product data such as a product name, a product code, and a unit price of each product in the product master management area 33b. In addition, the storage unit 33 stores the company member master in the company member master management area 33c. The product master and the corporate member master may be distributed to each POS terminal 2 in the own store P1 at a predetermined timing.

制御部31は、企業サーバ4から企業会員マスタを受信すると、当該企業会員マスタを企業会員マスタ管理領域33cに格納する。また、制御部31は、記憶部33に確保された商品マスタ管理領域33bや企業会員マスタ管理領域33cを、自店舗の各POS端末2が参照可能に公開する。また、制御部31は、各POS端末2で生成されたレシート情報を収集し、店舗レシート管理領域33aに格納する。なお、ストアサーバ3を経由して電子レシート情報を企業サーバ4に送信する構成の場合、制御部31は、各POS端末2で生成された電子レシート情報を受信すると、当該電子レシート情報を企業サーバ4に送信(転送)する。   When receiving the corporate member master from the corporate server 4, the control unit 31 stores the corporate member master in the corporate member master management area 33c. In addition, the control unit 31 discloses the product master management area 33b and the company member master management area 33c secured in the storage unit 33 so that each POS terminal 2 of the own store can refer to it. The control unit 31 collects receipt information generated by each POS terminal 2 and stores it in the store receipt management area 33a. In the case where the electronic receipt information is transmitted to the company server 4 via the store server 3, when the control unit 31 receives the electronic receipt information generated by each POS terminal 2, the electronic receipt information is transmitted to the company server. 4 (transfer).

次に、企業サーバ4の構成を、図5のブロック図を用いて説明する。図5は、企業サーバ4の構成を示すブロック図である。図5に示すように、企業サーバ4は、各種演算や企業サーバ4の各部を統括的に制御する制御部41を備えている。制御部41は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。   Next, the configuration of the company server 4 will be described using the block diagram of FIG. FIG. 5 is a block diagram showing the configuration of the company server 4. As shown in FIG. 5, the enterprise server 4 includes a control unit 41 that controls various operations and each unit of the enterprise server 4. The control unit 41 is a computer that includes a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and stores various data in a rewritable manner, an RTC unit that measures the current date and time, and the like. is there.

制御部41は、バス44に接続された通信I/F42を介して、ネットワークN2やネットワークN3に接続することが可能となっている。また、制御部41は、バス44を介して記憶部43に接続されている。   The control unit 41 can be connected to the network N2 or the network N3 via the communication I / F 42 connected to the bus 44. The control unit 41 is connected to the storage unit 43 via the bus 44.

記憶部43は、制御部41(CPU)が実行可能な各種プログラムや各種設定情報を記憶する。また、記憶部43は、自企業が運営する各店舗P1から送信された電子レシート情報を企業レシート管理領域43aに記憶する。   The storage unit 43 stores various programs and various setting information that can be executed by the control unit 41 (CPU). In addition, the storage unit 43 stores electronic receipt information transmitted from each store P1 operated by the own company in the company receipt management area 43a.

制御部41は、電子レシートサーバ5から企業会員マスタを受信すると、当該企業会員マスタを自企業が運営する各店舗P1のストアサーバ3に送信(転送)する。また、制御部41は、自企業が運営する各店舗(POS端末2、ストアサーバ3)から電子レシート情報を受信すると、当該電子レシート情報を企業レシート管理領域43aに格納する。また、制御部41は、企業レシート管理領域43aに格納した電子レシート情報を、所定のタイミングで電子レシートサーバ5に送信する。ここで、電子レシート情報を送信するタイミングは特に問わないものとする。例えば、電子レシート情報を企業レシート管理領域43aに格納する度に、当該電子レシート情報を送信してもよい。また、1時間に1回等の所定の時間間隔で、企業レシート管理領域43aに格納した電子レシート情報を送信してもよい。   When receiving the corporate member master from the electronic receipt server 5, the control unit 41 transmits (transfers) the corporate member master to the store server 3 of each store P1 operated by the own company. In addition, when receiving the electronic receipt information from each store (POS terminal 2 and store server 3) operated by the company, the control unit 41 stores the electronic receipt information in the company receipt management area 43a. Further, the control unit 41 transmits the electronic receipt information stored in the company receipt management area 43a to the electronic receipt server 5 at a predetermined timing. Here, the timing for transmitting the electronic receipt information is not particularly limited. For example, the electronic receipt information may be transmitted every time the electronic receipt information is stored in the company receipt management area 43a. Further, the electronic receipt information stored in the company receipt management area 43a may be transmitted at a predetermined time interval such as once per hour.

次に、電子レシートサーバ5の構成を、図6のブロック図を用いて説明する。図6は、電子レシートサーバ5の構成を示すブロック図である。図6に示すように、電子レシートサーバ5は、各種演算や電子レシートサーバ5の各部を統括的に制御する制御部51を備えている。制御部51は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。   Next, the configuration of the electronic receipt server 5 will be described with reference to the block diagram of FIG. FIG. 6 is a block diagram showing the configuration of the electronic receipt server 5. As shown in FIG. 6, the electronic receipt server 5 includes a control unit 51 that comprehensively controls various operations and each unit of the electronic receipt server 5. The control unit 51 is a computer that includes a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and stores various data in a rewritable manner, an RTC unit that measures the current date and time, and the like. is there.

制御部51は、バス54に接続された通信I/F52を介して、ネットワークN3及びネットワークN4に接続することが可能となっている。また、制御部51は、バス54を介して、記憶部53に接続されている。   The control unit 51 can be connected to the network N3 and the network N4 via the communication I / F 52 connected to the bus 54. The control unit 51 is connected to the storage unit 53 via the bus 54.

記憶部53は、制御部51(CPU)が実行可能な各種プログラムや各種設定情報を記憶する。また、記憶部53は、会員マスタを会員マスタ管理領域53aに記憶する。   The storage unit 53 stores various programs and various setting information that can be executed by the control unit 51 (CPU). The storage unit 53 stores the member master in the member master management area 53a.

ここで、図7は、会員マスタ管理領域53a(会員マスタ)のデータ構成の一例を示す図である。図7に示すように、会員マスタは、各会員の第1識別コードと対応付けて、氏名、送信先情報等を記憶する。また、会員マスタは、紐付登録が行われた会員の第1識別コードに対応付けて、企業コード及び第2識別コードを記憶する。   Here, FIG. 7 is a diagram illustrating an example of a data configuration of the member master management area 53a (member master). As shown in FIG. 7, the member master stores a name, transmission destination information, and the like in association with the first identification code of each member. Further, the member master stores the company code and the second identification code in association with the first identification code of the member for which the association registration has been performed.

また、記憶部53は、企業サーバ4の各々から送信された電子レシート情報を電子レシート管理領域53bに記憶する。より詳細には、電子レシート管理領域53bは、店舗を運営する各企業の電子レシート情報を会員毎に管理する。電子レシート情報は、第1識別コード、企業コード、店舗コード、POSナンバー、レシートナンバー、商品販売データ(日時データを含む)等を含む。   In addition, the storage unit 53 stores the electronic receipt information transmitted from each of the company servers 4 in the electronic receipt management area 53b. More specifically, the electronic receipt management area 53b manages the electronic receipt information of each company that operates the store for each member. The electronic receipt information includes a first identification code, a company code, a store code, a POS number, a receipt number, merchandise sales data (including date and time data), and the like.

制御部51は、各企業の企業サーバ4から電子レシート情報を受信すると、当該電子レシート情報を電子レシート管理領域53bに格納する。また、制御部51は、電子レシート情報が紐付登録を指示するものである場合、その電子レシート情報に含まれる第1識別コードに対応付けて、企業コード及び第2識別コードを会員マスタ管理領域53aに登録する。また、制御部51は、会員マスタ管理領域53aから、第1識別コードと第2識別コードとの対応関係を示すデータを企業(企業コード)毎に抽出する。そして、制御部51は、抽出したデータを企業会員マスタとして、該当する企業の企業サーバ4に送信する。   When receiving the electronic receipt information from the company server 4 of each company, the control unit 51 stores the electronic receipt information in the electronic receipt management area 53b. In addition, when the electronic receipt information is for instructing the association registration, the control unit 51 associates the company code and the second identification code with the first identification code included in the electronic receipt information, and the member master management area 53a. Register with. Further, the control unit 51 extracts data indicating the correspondence relationship between the first identification code and the second identification code from the member master management area 53a for each company (company code). And the control part 51 transmits the extracted data to the company server 4 of an applicable company as a company member master.

また、制御部51は、電子レシート管理領域53bに電子レシート情報を格納すると、この電子レシート情報の第1識別コードに対応付けされた送信先情報を参照することで、送信先を特定する。そして、制御部51は、電子レシート管理領域53bに格納した電子レシート情報をその送信先に提供(送信)する。また、制御部51は、第1識別コードを指定する電子レシート照会を携帯端末6から受け付けると、当該第1識別コードに対応する電子レシート情報を電子レシート管理領域53bから抽出する。そして、制御部51は、抽出した電子レシート情報を携帯端末6に提供する。   Further, when the electronic receipt information is stored in the electronic receipt management area 53b, the control unit 51 specifies the transmission destination by referring to the transmission destination information associated with the first identification code of the electronic receipt information. Then, the control unit 51 provides (transmits) the electronic receipt information stored in the electronic receipt management area 53b to the transmission destination. In addition, when the electronic receipt inquiry specifying the first identification code is received from the portable terminal 6, the control unit 51 extracts electronic receipt information corresponding to the first identification code from the electronic receipt management area 53b. Then, the control unit 51 provides the extracted electronic receipt information to the mobile terminal 6.

次に、携帯端末6の構成を、図8のブロック図を用いて説明する。図8は、携帯端末6の構成を示すブロック図である。図8に示すように、携帯端末6は、各種演算や携帯端末6の各部を統括的に制御する制御部61を備えている。制御部61は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。   Next, the configuration of the mobile terminal 6 will be described with reference to the block diagram of FIG. FIG. 8 is a block diagram illustrating a configuration of the mobile terminal 6. As shown in FIG. 8, the mobile terminal 6 includes a control unit 61 that comprehensively controls various operations and each unit of the mobile terminal 6. The control unit 61 is a computer that includes a CPU, a ROM that stores various programs and data, a RAM that temporarily stores various programs and stores various data in a rewritable manner, an RTC unit that measures the current date and time, and the like. is there.

操作部62は、バス66を介して操作部62及び表示部63に接続されている。操作部62は、ユーザが操作入力を行うための各種の操作キーや、ポインティングデバイスを有している。表示部63は、例えば液晶ディスプレイ等であり、後述する電子レシート情報等の各種情報を表示する。なお、表示部63をタッチパネル構成としてもよく、この場合、タッチパネルは操作部62として機能する。   The operation unit 62 is connected to the operation unit 62 and the display unit 63 via the bus 66. The operation unit 62 includes various operation keys and a pointing device for the user to perform operation input. The display unit 63 is a liquid crystal display, for example, and displays various types of information such as electronic receipt information to be described later. The display unit 63 may have a touch panel configuration, and in this case, the touch panel functions as the operation unit 62.

また、制御部61は、バス66を介して通信I/F64に接続されており、この通信I/F64を介してネットワークN4に接続することが可能となっている。なお、通信I/F64を介して、ネットワークN1に接続可能な構成としてもよい。   The control unit 61 is connected to the communication I / F 64 via the bus 66, and can be connected to the network N4 via the communication I / F 64. A configuration that can be connected to the network N1 via the communication I / F 64 may be adopted.

また、制御部61は、バス66を介して、記憶部65に接続されている。記憶部65は、各種情報(コンテンツ)を閲覧するためのWebブラウザ等、制御部61(CPU)が実行可能な各種プログラムや各種設定情報を記憶する。また、記憶部65は、第1識別コードを第1識別コード管理領域65aに記憶する。   The control unit 61 is connected to the storage unit 65 via the bus 66. The storage unit 65 stores various programs and various setting information that can be executed by the control unit 61 (CPU), such as a Web browser for browsing various types of information (contents). The storage unit 65 stores the first identification code in the first identification code management area 65a.

制御部61は、電子レシートサーバ5から提供される当該取引の電子レシート情報を受信する。また、制御部61は、第1識別コードを指定した電子レシート照会を、電子レシートサーバ5に送信することで、当該第1識別コードに対応付けされた電子レシート情報を電子レシートサーバ5から受信する。また、制御部61は、受信した電子レシート情報を、表示部63に表示したりする。   The control unit 61 receives the electronic receipt information of the transaction provided from the electronic receipt server 5. In addition, the control unit 61 receives the electronic receipt information associated with the first identification code from the electronic receipt server 5 by transmitting an electronic receipt inquiry specifying the first identification code to the electronic receipt server 5. . Further, the control unit 61 displays the received electronic receipt information on the display unit 63.

次に、電子レシートシステム1を構成する装置のうち、本実施形態の印字制御装置であるPOS端末2の機能構成について説明する。POS端末2のCPUは、ROMや記憶部28に記憶されたプログラムと協働することで、図9に示すように、レシート情報生成部211と、出力処理部212とを機能部として実現する。ここで、図9は、POS端末2の機能構成を示すブロック図である。   Next, the functional configuration of the POS terminal 2 that is the print control device of the present embodiment among the devices constituting the electronic receipt system 1 will be described. The CPU of the POS terminal 2 implements a receipt information generation unit 211 and an output processing unit 212 as functional units as shown in FIG. 9 by cooperating with a program stored in the ROM or the storage unit 28. Here, FIG. 9 is a block diagram showing a functional configuration of the POS terminal 2.

レシート情報生成部211は、各種の取引及びレシートの印字用データ(レシート情報)の生成を主に行う機能部である。具体的に、レシート情報生成部211は、操作部22の取引開始キー等を介して取引の開始が指示されると、当該取引に応じた処理を実行し、その取引に応じた印字用データを生成する。   The receipt information generation unit 211 is a functional unit that mainly generates various transactions and receipt printing data (receipt information). Specifically, when the receipt information generation unit 211 is instructed to start a transaction via the transaction start key or the like of the operation unit 22, the receipt information generation unit 211 executes processing corresponding to the transaction, and prints data corresponding to the transaction. Generate.

例えば、レシート情報生成部211は、取引種別として商品の売上登録の実行が指示されると、コードスキャナ25を介して商品を特定する商品コードを取得する。次いで、レシート情報生成部211は、その商品コードに対応する商品データを商品マスタから読み出す。また、レシート情報生成部211は、読み出した商品データに含まれる単価に基づき決済金額を算出する商品販売データ処理を実行する。そして、レシート情報生成部211は、その取引の内訳を示すレシート情報を生成する。   For example, the receipt information generation unit 211 acquires a product code for specifying a product via the code scanner 25 when an instruction to execute sales registration of the product is instructed as a transaction type. Next, the receipt information generation unit 211 reads product data corresponding to the product code from the product master. In addition, the receipt information generation unit 211 executes product sales data processing for calculating a settlement amount based on the unit price included in the read product data. And the receipt information generation part 211 produces | generates the receipt information which shows the breakdown of the transaction.

また、レシート情報生成部211は、一取引中の何れかのタイミングにおいて、顧客を特定する第1識別コードの入力を受け付ける。具体的に、レシート情報生成部211は、コードスキャナ25を介して第1識別コードが読み取られると、第1識別コードの入力を受け付けたと判定する。また、レシート情報生成部211は、カードリーダ26を介して第2識別コードの入力を受け付けると、この第2識別コードに対応する第1識別コードを企業会員マスタに照会する。そして、レシート情報生成部211は、企業会員マスタから、対応する第1識別コードを取得すると、当該第1識別コードの入力を受け付けたと判定する。   Moreover, the receipt information generation part 211 receives the input of the 1st identification code which identifies a customer at any timing in one transaction. Specifically, when the first identification code is read via the code scanner 25, the receipt information generation unit 211 determines that the input of the first identification code has been received. Further, when receiving the input of the second identification code via the card reader 26, the receipt information generating unit 211 inquires the corporate member master for the first identification code corresponding to the second identification code. And the receipt information generation part 211 will determine with having received the input of the said 1st identification code, if a corresponding 1st identification code is acquired from a corporate member master.

また、レシート情報生成部211は、第1識別コードの入力を受け付けた場合、第1識別コードが入力されたことを示す文字列(以下、フラグ文字列という)をレシート情報に含める。また、レシート情報生成部211は、第1識別コードや第2識別コードの入力を受け付けると、それらの識別コードをレシート情報に含める。   In addition, when receiving the input of the first identification code, the receipt information generation unit 211 includes a character string (hereinafter referred to as a flag character string) indicating that the first identification code is input in the receipt information. Further, when receiving the input of the first identification code or the second identification code, the receipt information generating unit 211 includes these identification codes in the receipt information.

図10、図11は、レシート情報の一例を模式的に示す図である。ここで、レシート情報は、非構造化形式のテキストデータ等であって、プリンタ23での印字に用いられるものである。   10 and 11 are diagrams schematically showing an example of receipt information. Here, the receipt information is unstructured text data or the like, and is used for printing by the printer 23.

図10、図11に示すように、レシート情報は、店舗を運営する企業を示す企業コード(企業名)D1、店舗コードD2、取引日時D3、取引ナンバー(レシートナンバー)D4、レジナンバーD5、担当者名D6等の要素を含む。   As shown in FIGS. 10 and 11, the receipt information includes a company code (company name) D1, a store code D2, a transaction date and time D3, a transaction number (receipt number) D4, a cash register number D5 indicating the company that operates the store. Includes elements such as the name D6.

また、レシート情報は、取引種別に応じた内容の要素を含む。例えば、商品の売上登録が行われた場合、図10に示すように、登録された各商品の商品名(商品コード)や金額、各商品の合計金額、顧客が支払った預かり金額等の取引内容が、領域D7に入力される。また、紐付登録が行われた場合には、例えば図11に示すように、その取引を表す文字列(例えば“紐付”)とともに、後述する第2識別コードD10が領域D7に入力される。   Further, the receipt information includes an element having contents corresponding to the transaction type. For example, when sales of a product is registered, as shown in FIG. 10, the transaction details such as the product name (product code) and amount of each registered product, the total amount of each product, the deposit amount paid by the customer, etc. Is input to the region D7. Further, when the association registration is performed, as shown in FIG. 11, for example, a second identification code D10 described later is input to the area D7 together with a character string (for example, “association”) representing the transaction.

また、第1識別コードが入力された場合、レシート情報生成部211は、図10、図11に示すように、第1識別コードが存在することを示すフラグ文字列D8を含んだレシート情報を生成する。なお、図10、図11では、フラグ文字列D8として“SRID”を用いた例を示しているが、これに限らないものとする。   When the first identification code is input, the receipt information generation unit 211 generates receipt information including a flag character string D8 indicating that the first identification code exists, as shown in FIGS. To do. 10 and 11 show an example in which “SRID” is used as the flag character string D8, but the present invention is not limited to this.

また、第1識別コードや第2識別コードが入力された場合、レシート情報生成部211は、それらの識別コードを示す第1識別コードD9、第2識別コードD10を含んだレシート情報を生成する。具体的に、図10では、第1識別コードが入力された例を示しており、その値が第1識別コードD9としてレシート情報に含まれる。また、図11では、第1識別コード及び第2識別コードが入力された例を示しており、その値が第1識別コードD9及び第2識別コードD10としてレシート情報に含まれる。   When a first identification code or a second identification code is input, the receipt information generation unit 211 generates receipt information including a first identification code D9 and a second identification code D10 indicating the identification codes. Specifically, FIG. 10 shows an example in which the first identification code is input, and the value is included in the receipt information as the first identification code D9. FIG. 11 shows an example in which the first identification code and the second identification code are input, and the values are included in the receipt information as the first identification code D9 and the second identification code D10.

図9に戻り、出力処理部212は、レシート情報生成部211が生成したレシート情報の出力に係る処理を行う機能部である。図9に示すように、出力処理部212は、状態判定部2121と、フィルタ処理部2122と、印字出力部2123と、電子レシート出力部2124とを有する。   Returning to FIG. 9, the output processing unit 212 is a functional unit that performs processing related to output of receipt information generated by the receipt information generation unit 211. As illustrated in FIG. 9, the output processing unit 212 includes a state determination unit 2121, a filter processing unit 2122, a print output unit 2123, and an electronic receipt output unit 2124.

状態判定部2121は、通信I/F27と協働することで、自装置と外部装置との通信状態の判定を行う判定手段として機能する。ここで、外部装置は、例えばストアサーバ3や企業サーバ4等、電子レシート情報の送信先となる装置である。なお、電子レシート情報を電子レシートサーバ5に直接送信する構成の場合には、電子レシートサーバ5との通信状態を確認してもよい。   The state determination unit 2121 functions as a determination unit that determines the communication state between the own device and the external device by cooperating with the communication I / F 27. Here, the external device is a device that is a transmission destination of electronic receipt information, such as the store server 3 and the company server 4. In the case where the electronic receipt information is directly transmitted to the electronic receipt server 5, the communication state with the electronic receipt server 5 may be confirmed.

状態判定部2121は、例えばポーリング等を行うことで、自装置が外部装置と通信可能なオンライン状態か否かを判定する。なお、通信状態の確認を行うタイミングは特に問わないものとする。例えば、所定の時間間隔毎に行ってもよいし、電子レシート情報を外部装置に送信する際に行ってもよい。   The state determination unit 2121 determines whether or not the own device is in an online state in which communication with the external device is possible, for example, by polling. The timing for confirming the communication state is not particularly limited. For example, it may be performed at predetermined time intervals or when electronic receipt information is transmitted to an external device.

フィルタ処理部2122は、制御手段、報知手段として機能する。フィルタ処理部2122は、レシート情報にフラグ文字列が含まれるか否かに応じて、レシート情報の出力先を決定する。具体的に、フィルタ処理部2122は、レシート情報にフラグ文字列が含まれない場合、レシート情報を印字出力部2123に出力することで、レシートに印字させる。また、レシート情報にフラグ文字列が含まれる場合、フィルタ処理部2122は、レシート情報の出力先を電子レシート出力部2124とする。なお、本実施形態では、フラグ文字列がレシート情報に含まれるか否かを判定する形態としたが、第1識別コード自体がレシート情報に含まれるか否かを判定する形態としてもよい。   The filter processing unit 2122 functions as a control unit and a notification unit. The filter processing unit 2122 determines the output destination of the receipt information depending on whether or not the flag character string is included in the receipt information. Specifically, when the flag character string is not included in the receipt information, the filter processing unit 2122 outputs the receipt information to the print output unit 2123 to print on the receipt. When the flag character string is included in the receipt information, the filter processing unit 2122 sets the output destination of the receipt information as the electronic receipt output unit 2124. In this embodiment, it is determined whether or not the flag character string is included in the receipt information. However, it may be determined whether or not the first identification code itself is included in the receipt information.

また、フィルタ処理部2122は、電子レシート出力部2124へレシート情報を出力する際に、状態判定部2121の判定結果を参照する。ここで、状態判定部2121の判定結果がオンライン状態の場合、フィルタ処理部2122は、レシート情報を電子レシート出力部2124に出力する。   The filter processing unit 2122 refers to the determination result of the state determination unit 2121 when outputting receipt information to the electronic receipt output unit 2124. If the determination result of the state determination unit 2121 is online, the filter processing unit 2122 outputs receipt information to the electronic receipt output unit 2124.

一方、状態判定部2121の判定結果がオフライン状態の場合、フィルタ処理部2122は、オフライン状態にあることをオペレータに報知する。報知の方法は特に問わず、例えば、表示部24(第1ディスプレイ24a)にオフライン状態にあることを示すメッセージやアイコン画像等の報知情報を表示してもよい。また、フィルタ処理部2122は、レシート情報をRAM等に一時記憶させることで、電子レシート出力部2124への出力を保留する。また、フィルタ処理部2122は、レシート情報を電子レシート出力部2124に出力することで、レシートに印字させる。そして、状態判定部2121の判定結果がオンライン状態に回復すると、フィルタ処理部2122は、一時記憶させたレシート情報を電子レシート出力部2124に出力することで、外部装置に送信させる。   On the other hand, when the determination result of the state determination unit 2121 is in the offline state, the filter processing unit 2122 notifies the operator that the state is in the offline state. The notification method is not particularly limited. For example, notification information such as a message indicating that the user is in an offline state or an icon image may be displayed on the display unit 24 (first display 24a). Further, the filter processing unit 2122 suspends output to the electronic receipt output unit 2124 by temporarily storing the receipt information in a RAM or the like. Further, the filter processing unit 2122 outputs the receipt information to the electronic receipt output unit 2124 to print on the receipt. Then, when the determination result of the state determination unit 2121 is restored to the online state, the filter processing unit 2122 outputs the temporarily stored receipt information to the electronic receipt output unit 2124 to transmit it to the external device.

このように、自装置がオフライン状態の場合には、レシート情報の送信を一旦保留し、代わりにレシート情報を印字させる。これにより、顧客は、電子レシート情報により取引内容の確認ができない間、印字されたレシート等により取引内容を確認することができる。   As described above, when the own apparatus is in an offline state, the receipt information transmission is temporarily suspended and the receipt information is printed instead. Thereby, the customer can confirm the transaction content by the printed receipt or the like while the transaction content cannot be confirmed by the electronic receipt information.

印字出力部2123は、例えばプリンタドライバ等である。印字出力部2123は、フィルタ処理部2122からレシート情報が入力されると、プリンタ23を制御することで、当該レシート情報を用紙に印字させる。   The print output unit 2123 is, for example, a printer driver. When the receipt information is input from the filter processing unit 2122, the print output unit 2123 controls the printer 23 to print the receipt information on a sheet.

電子レシート出力部2124は、例えばネットワークドライバ等である。電子レシート出力部2124は、フィルタ処理部2122からレシート情報が入力されると、所定の変換規則に従い、レシート情報を所定のデータ形式に変換する。そして、電子レシート出力部2124は、データ形式を変換したレシート情報、つまり電子レシート情報を、通信I/F27を介して企業サーバ4に送信(出力)する。なお、電子レシート情報は、ストアサーバ3等を介して企業サーバ4に送信してもよいし、企業サーバ4に直接送信する構成としてもよい。また、電子レシートサーバ5に直接送信する構成としてもよい。   The electronic receipt output unit 2124 is, for example, a network driver. When receipt information is input from the filter processing unit 2122, the electronic receipt output unit 2124 converts the receipt information into a predetermined data format according to a predetermined conversion rule. Then, the electronic receipt output unit 2124 transmits (outputs) the receipt information obtained by converting the data format, that is, the electronic receipt information to the company server 4 via the communication I / F 27. The electronic receipt information may be transmitted to the company server 4 via the store server 3 or the like, or may be directly transmitted to the company server 4. Moreover, it is good also as a structure which transmits directly to the electronic receipt server 5. FIG.

ここで、電子レシート情報は、例えばXMLやCSV等の構造化形式のデータ(構造化文書)で構成される。レシート情報から電子レシート情報への変換は、予め定められた変換規則に基づき行われる。具体的に、変換規則には、レシート情報を構成する所定の要素と、その要素の属性を示す属性情報(タグ等)とが定義されている。電子レシート出力部2124は、レシート情報の各要素を対応する属性情報を用いて構造化することで、構造化形式の電子レシート情報を生成する。このような、構造化形式の電子レシート情報とすることで、当該電子レシート情報に含まれる要素を効率的に利用することができるため、データ管理の上で様々な利点を得ることができる。   Here, the electronic receipt information is composed of structured format data (structured document) such as XML or CSV. Conversion from receipt information to electronic receipt information is performed based on a predetermined conversion rule. Specifically, the conversion rule defines a predetermined element constituting the receipt information and attribute information (tag or the like) indicating the attribute of the element. The electronic receipt output unit 2124 generates structured electronic receipt information by structuring each element of the receipt information using corresponding attribute information. By using electronic receipt information in such a structured format, elements included in the electronic receipt information can be used efficiently, and various advantages can be obtained in data management.

なお、本実施形態では、状態判定部2121と、電子レシート出力部2124とを別体としたが、電子レシート出力部2124が状態判定部2121の機能を有してもよい。   In this embodiment, the state determination unit 2121 and the electronic receipt output unit 2124 are separated, but the electronic receipt output unit 2124 may have the function of the state determination unit 2121.

以下、図12を参照して、POS端末2の動作について説明する。ここで図12は、POS端末2が実行するレシート生成処理の一例を示すフローチャートである。   Hereinafter, the operation of the POS terminal 2 will be described with reference to FIG. FIG. 12 is a flowchart showing an example of a receipt generation process executed by the POS terminal 2.

まず、POS端末2のレシート情報生成部211は、オペレータから実行の対象とする取引種別が指示されると、その取引種別に応じた処理を開始する(ステップS11)。例えば、取引種別として「売上登録」が指示された場合には、レシート情報生成部211は、商品の売上登録を行うための取引処理を実行する。また、取引種別として「紐付登録」が指示された場合には、紐付登録を行うための取引処理を実行する。   First, the receipt information generation unit 211 of the POS terminal 2 starts processing according to the transaction type when the transaction type to be executed is instructed by the operator (step S11). For example, when “sales registration” is instructed as the transaction type, the receipt information generation unit 211 executes a transaction process for registering the sales of the product. Further, when “registration registration” is instructed as the transaction type, transaction processing for performing association registration is executed.

続いて、レシート情報生成部211は、第1識別コードが入力済か否かを判定する(ステップS12)。ここで、第1識別コードが入力済の場合(ステップS12;Yes)、ステップS15に移行する。   Subsequently, the receipt information generation unit 211 determines whether or not the first identification code has been input (step S12). If the first identification code has already been input (step S12; Yes), the process proceeds to step S15.

第1識別コードが未入力の場合(ステップS12;No)、レシート情報生成部211は、第1識別コードの入力を受け付けたか否かを判定する(ステップS13)。ここで、第1識別コードの入力を受け付けると(ステップS13;Yes)、レシート情報生成部211は、その第1識別コードをRAM等に一時記憶し(ステップS14)、ステップS15に移行する。また、第1識別コードが入力されない場合も(ステップS13;No)、ステップS15に移行する。   When the first identification code has not been input (step S12; No), the receipt information generation unit 211 determines whether or not the input of the first identification code has been received (step S13). Here, when the input of the first identification code is accepted (step S13; Yes), the receipt information generation unit 211 temporarily stores the first identification code in the RAM or the like (step S14), and proceeds to step S15. Moreover, also when a 1st identification code is not input (step S13; No), it transfers to step S15.

続くステップS15では、レシート情報生成部211は、第2識別コードが入力済か否かを判定する(ステップS15)。ここで、第2識別コードが入力済の場合(ステップS15;Yes)、ステップS18に移行する。   In subsequent step S15, the receipt information generating unit 211 determines whether or not the second identification code has been input (step S15). If the second identification code has already been input (step S15; Yes), the process proceeds to step S18.

第2識別コードが未入力の場合(ステップS15;No)、レシート情報生成部211は、第2識別コードの入力を受け付けたか否かを判定する(ステップS16)。ここで、第2識別コードの入力を受け付けると(ステップS16;Yes)、レシート情報生成部211は、その第2識別コードをRAM等に一時記憶し(ステップS17)、ステップS18に移行する。また、第2識別コードが入力されない場合も(ステップS16;No)、ステップS18に移行する。   When the second identification code has not been input (step S15; No), the receipt information generation unit 211 determines whether or not the input of the second identification code has been received (step S16). Here, when receiving the input of the second identification code (step S16; Yes), the receipt information generating unit 211 temporarily stores the second identification code in the RAM or the like (step S17), and proceeds to step S18. Moreover, also when a 2nd identification code is not input (step S16; No), it transfers to step S18.

なお、入力された第2識別コードに対応する第1識別コードが企業会員マスタに登録されている場合、レシート情報生成部211は、その第1識別コードを企業会員マスタから取得する。そして、ステップS13において、第1識別コードの入力を受け付けたと判定する。   In addition, when the 1st identification code corresponding to the input 2nd identification code is registered into the corporate member master, the receipt information generation part 211 acquires the 1st identification code from a corporate member master. In step S13, it is determined that the input of the first identification code has been received.

続いて、レシート情報生成部211は、締めキー等の操作により、オペレータから取引の終了が指示されたか否かを判定する(ステップS18)。取引終了の指示がない場合(ステップS18;No)、レシート情報生成部211は、ステップS12に戻ることで、第1識別コードや第2識別コードの入力を待機する。   Subsequently, the receipt information generation unit 211 determines whether or not the operator has instructed the end of the transaction by operating the closing key or the like (step S18). If there is no instruction to end the transaction (step S18; No), the receipt information generation unit 211 returns to step S12 to wait for input of the first identification code and the second identification code.

ステップS18において、取引終了の指示を受け付けると(ステップS18;Yes)、レシート情報生成部211は、その取引の内容に応じたレシート情報を生成し(ステップS19)、処理を終了する。   In step S18, when an instruction to end the transaction is received (step S18; Yes), the receipt information generation unit 211 generates receipt information corresponding to the content of the transaction (step S19), and ends the process.

ここで、ステップS19で生成されるレシート情報には、ステップS11〜S18の処理結果に応じた文字列が含まれる。例えば、ステップS13で、第1識別コードが入力された場合には、当該第1識別コードが存在することを示す文字列(例えば“SRID”)と、その第1識別コードを表す文字列(数値)とがレシート情報に含まれる。また、ステップS16で第2識別コードが入力された場合には、その第2識別コードを示す文字列(数値)がレシート情報に含まれる。   Here, the receipt information generated in step S19 includes a character string corresponding to the processing results in steps S11 to S18. For example, when a first identification code is input in step S13, a character string (for example, “SRID”) indicating that the first identification code exists and a character string (numerical value) representing the first identification code. ) Is included in the receipt information. When the second identification code is input in step S16, a character string (numerical value) indicating the second identification code is included in the receipt information.

図13は、POS端末2が実行するレシート出力処理の一例を示すフローチャートである。本処理は、上述したレシート生成処理に続いて実行されるものである。なお、状態判定部2121は、本処理のバックグラウンドで通信状態の判定を行うものとする。   FIG. 13 is a flowchart illustrating an example of a receipt output process executed by the POS terminal 2. This process is executed subsequent to the receipt generation process described above. Note that the state determination unit 2121 determines the communication state in the background of this process.

まず、フィルタ処理部2122は、レシート生成処理で生成されたレシート情報に、第1識別コードの存在を示すフラグ文字列が含まれるか否かを判定する(ステップS21)。レシート情報にフラグ文字列が含まれない場合(ステップS21;No)、フィルタ処理部2122は、レシート情報を印字出力部2123に出力することで、用紙に印字させる(ステップS22)。   First, the filter processing unit 2122 determines whether or not a flag character string indicating the presence of the first identification code is included in the receipt information generated in the receipt generation process (step S21). When the receipt character information does not include the flag character string (step S21; No), the filter processing unit 2122 outputs the receipt information to the print output unit 2123 to print on the paper (step S22).

レシート情報にフラグ文字列が含まれる場合(ステップS21;Yes)、フィルタ処理部2122は、状態判定部2121の判定結果を参照し、オンライン状態か否かを判定する(ステップS23)。判定結果がオンライン状態の場合(ステップS23;Yes)、フィルタ処理部2122は、ステップS29に移行する。   When the flag character string is included in the receipt information (step S21; Yes), the filter processing unit 2122 refers to the determination result of the state determination unit 2121 and determines whether or not it is in the online state (step S23). If the determination result is online (step S23; Yes), the filter processing unit 2122 proceeds to step S29.

一方、判定結果がオフライン状態の場合(ステップS23;No)、フィルタ処理部2122は、オフライン状態にあることを報知する報知情報を表示部24(第1ディスプレイ24a)に表示する(ステップS24)。続いて、フィルタ処理部2122は、レシート情報をRAM等に一時記憶した後(ステップS25)、当該レシート情報を印字出力部2123に出力することで、用紙に印字させる(ステップS26)。   On the other hand, when the determination result is in the offline state (step S23; No), the filter processing unit 2122 displays notification information for notifying that it is in the offline state on the display unit 24 (first display 24a) (step S24). Subsequently, the filter processing unit 2122 temporarily stores the receipt information in a RAM or the like (step S25), and then outputs the receipt information to the print output unit 2123, thereby printing the sheet (step S26).

次いで、フィルタ処理部2122は、状態判定部2121の判定結果がオンライン状態に回復するまで待機する(ステップS27;No)。そして、オンライン状態になると(ステップS27;Yes)、フィルタ処理部2122は、表示部24に表示した報知情報を消去することで報知を解除し(ステップS28)、ステップS29に移行する。   Next, the filter processing unit 2122 waits until the determination result of the state determination unit 2121 recovers to the online state (step S27; No). And when it will be in an online state (step S27; Yes), the filter process part 2122 will cancel | release alerting | reporting by deleting the alerting | reporting information displayed on the display part 24 (step S28), and will transfer to step S29.

ステップS29において、フィルタ処理部2122は、レシート情報を電子レシート出力部2124に出力することで、電子レシート情報として外部装置に送信させ(ステップS29)、本処理を終了する。   In step S29, the filter processing unit 2122 outputs the receipt information to the electronic receipt output unit 2124 to transmit the receipt information to the external device as electronic receipt information (step S29), and ends this processing.

なお、出力方法が印字と送信との両方を実行する場合、フィルタ処理部2122は、ステップS22とステップS29(ステップS23〜S29)との両処理を実行するものとする。この場合、自装置がオフライン状態のときに、ステップS22とステップS26とでレシートが重複して印字されないよう、ステップS26をスキップする形態としてもよい。   Note that, when the output method executes both printing and transmission, the filter processing unit 2122 executes both processing of Step S22 and Step S29 (Steps S23 to S29). In this case, when the apparatus is in an off-line state, step S26 may be skipped so that receipts are not printed in duplicate in step S22 and step S26.

以上のように、本実施形態のPOS端末2は、外部装置との通信状態に応じてレシート出力を行うことで、顧客の利便性を確保することができる。具体的に、POS端末2は、レシート情報にフラグ文字列が含まれる場合であっても、状態判定部2121の判定結果がオフライン状態を示す場合には、プリンタ23から出力させる。また、POS端末2は、状態判定部2121の判定結果がオフライン状態からオンライン状態に切り替わる(回復する)と、プリンタ23から出力させた、フラグ文字列を含むレシート情報を外部装置に送信させる。これにより、顧客は、電子レシート情報が提供されるまでの間、印字されたレシートにより取引内容を確認することができるため、利便性を確保することができる。   As described above, the POS terminal 2 of the present embodiment can ensure customer convenience by performing receipt output according to the communication state with the external device. Specifically, even if the receipt character information includes a flag character string, the POS terminal 2 causes the printer 23 to output when the determination result of the state determination unit 2121 indicates an offline state. Further, when the determination result of the state determination unit 2121 is switched from the offline state to the online state (recovered), the POS terminal 2 transmits the receipt information including the flag character string output from the printer 23 to the external device. Thereby, since the customer can confirm the transaction content by the printed receipt until the electronic receipt information is provided, the convenience can be ensured.

以上、本発明の実施形態を説明したが、上記実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。上記実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、追加、組合せ等を行うことができる。また、上記実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As mentioned above, although embodiment of this invention was described, the said embodiment was shown as an example and is not intending limiting the range of invention. The above embodiments can be implemented in various other forms, and various omissions, replacements, changes, additions, combinations, and the like can be made without departing from the scope of the invention. Moreover, the said embodiment and its deformation | transformation are included in the range of the invention, the summary, and the invention described in the claim, and its equal range.

例えば、上記各実施形態では、本発明の印字制御装置をPOS端末2に適用した例を説明したが、適用対象はこれに限らないものとする。   For example, in each of the above embodiments, the example in which the print control apparatus of the present invention is applied to the POS terminal 2 has been described, but the application target is not limited thereto.

また、上記実施形態では、表示部24(第1ディスプレイ24a)に報知情報を表示することで、POS端末2のオペレータにオフラインであることを報知したが、顧客に対して報知する形態としてもよい。例えば、フィルタ処理部2122は、表示部24(第2ディスプレイ24b)に報知情報を表示することで、オフラインであることを顧客に報知してもよい。また、フィルタ処理部2122は、レシート情報とともに報知情報を印字出力部2123に出力することで、プリンタ23が出力する用紙を介して報知する形態としてもよい。なお、顧客に対して報知を行う場合には、例えば、オンラインに回復次第、電子レシート情報を提供する旨を報知してもよい。   In the above embodiment, the notification information is displayed on the display unit 24 (first display 24a) to notify the operator of the POS terminal 2 that the operator is offline. However, the notification may be made to the customer. . For example, the filter processing unit 2122 may notify the customer that the user is offline by displaying notification information on the display unit 24 (second display 24b). In addition, the filter processing unit 2122 may output the notification information together with the receipt information to the print output unit 2123 so that the notification is made via the paper output by the printer 23. When notifying the customer, for example, it may be notified that electronic receipt information is to be provided as soon as recovery is made online.

また、上記実施形態の各装置で実行されるプログラムは、各装置が備える記憶媒体(ROM又は記憶部)に予め組み込んで提供するが、これに限らないものとする。例えば、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供してもよい。更に、記憶媒体は、コンピュータ或いは組み込みシステムと独立した媒体に限らないものとする。例えば、LANやインターネット等により伝達されたプログラムをダウンロードして記憶又は一時記憶した記憶媒体も含まれる。   In addition, the program executed by each device of the above embodiment is provided by being incorporated in advance in a storage medium (ROM or storage unit) included in each device, but is not limited thereto. For example, an installable or executable file is recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). Also good. Further, the storage medium is not limited to a medium independent of a computer or an embedded system. For example, a storage medium in which a program transmitted via a LAN or the Internet is downloaded and stored or temporarily stored is also included.

また、上記実施形態の各装置で実行されるプログラムを、インターネット等のネットワーク経由で提供又は配布するように構成してもよい。   Further, the program executed by each device of the above embodiment may be configured to be provided or distributed via a network such as the Internet.

1 電子レシートシステム
2 POS端末
3 ストアサーバ
4 企業サーバ
5 電子レシートサーバ
6 携帯端末
211 レシート情報生成部
212 出力処理部
2121 状態判定部
2122 フィルタ処理部
2123 印字出力部
2124 電子レシート出力部
DESCRIPTION OF SYMBOLS 1 Electronic receipt system 2 POS terminal 3 Store server 4 Corporate server 5 Electronic receipt server 6 Portable terminal 211 Receipt information generation part 212 Output processing part 2121 State determination part 2122 Filter processing part 2123 Print output part 2124 Electronic receipt output part

特開2011−90375号公報JP 2011-90375 A

Claims (5)

商品の取引に係るデータ処理を実行する商品販売データ処理装置であって、
取引毎に当該取引の内容を示したレシート情報を生成する生成手段と、
前記レシート情報を用紙に印字出力する印字出力手段と、
前記レシート情報を自装置とネットワークを介して接続された外部装置に出力する電子レシート出力手段と、
前記レシート情報の受取先を特定するための特定文字列が前記レシート情報に含まれる場合に、前記レシート情報を前記電子レシート出力手段から出力させ、当該特定文字列が前記レシート情報に含まれない場合に、前記レシート情報を前記印字出力手段から出力させる制御手段と、
前記外部装置との通信状態がオンラインか否かを判定する判定手段と、
報知手段と、
を備え、
前記制御手段は、前記判定手段がオフラインと判定すると、前記特定文字列が含まれた前記レシート情報を前記印字出力手段から出力させるとともに、オンラインに回復後前記電子レシート出力手段から出力することを前記報知手段に報知させ、前記判定手段の判定結果がオフラインからオンラインに切り替わると、前記印字出力手段から出力させた前記特定文字列を含む前記レシート情報を、前記電子レシート出力手段から出力させる商品販売データ処理装置。
A product sales data processing device that executes data processing related to product transactions,
Generating means for generating receipt information indicating the contents of the transaction for each transaction;
Print output means for printing the receipt information on paper;
An electronic receipt output means for outputting the receipt information to an external device connected to the device via a network ;
When the receipt information includes a specific character string for specifying a receipt destination of the receipt information, the receipt information is output from the electronic receipt output means, and the specific character string is not included in the receipt information. Control means for outputting the receipt information from the print output means;
Determining means for determining whether the communication state with the external device is online;
Notification means;
With
When the determination means determines that the determination means is offline, the control means causes the receipt information including the specific character string to be output from the print output means, and outputs from the electronic receipt output means after recovery online. Product sales data for causing the notification means to output the receipt information including the specific character string output from the print output means when the determination result of the determination means is switched from offline to online. Processing equipment.
前記レシート情報の受取先を特定する識別コードの入力を受け付ける入力手段を更に備え、
前記生成手段は、前記入力手段が前記識別コードの入力を受け付けた場合に、当該識別コードが入力されたことを示すフラグ文字列と前記識別コードを示す前記特定文字列とを前記レシート情報に含め、
前記制御手段は、前記フラグ文字列又は前記特定文字列が前記レシート情報に含まれる場合に、当該レシート情報を前記電子レシート出力手段から出力させる請求項に記載の商品販売データ処理装置
An input means for receiving an input of an identification code for specifying a receipt destination of the receipt information;
When the input unit receives the input of the identification code, the generation unit includes a flag character string indicating that the identification code is input and the specific character string indicating the identification code in the receipt information. ,
The merchandise sales data processing apparatus according to claim 1 , wherein the control means causes the electronic receipt output means to output the receipt information when the flag character string or the specific character string is included in the receipt information.
前記報知手段は、前記判定手段がオフラインと判定した場合に報知を行う請求項1又は2に記載の商品販売データ処理装置The merchandise sales data processing apparatus according to claim 1 , wherein the notification unit performs notification when the determination unit determines to be offline. 前記報知手段は、前記印字出力手段が印字出力する用紙を介して報知を行う請求項1〜3の何れか一項に記載の商品販売データ処理装置The merchandise sales data processing apparatus according to any one of claims 1 to 3, wherein the notification unit performs notification via a sheet printed by the print output unit . 商品の取引に係るデータ処理を実行する商品販売データ処理装置のコンピュータを、
取引毎に当該取引の内容を示したレシート情報を生成する生成手段と、
前記レシート情報を用紙に印字出力する印字出力手段と、
前記レシート情報を自装置とネットワークを介して接続された外部装置に出力する電子レシート出力手段と、
前記レシート情報の受取先を特定するための特定文字列が前記レシート情報に含まれる場合に、前記レシート情報を前記電子レシート出力手段から出力させ、当該特定文字列が前記レシート情報に含まれない場合に、前記レシート情報を前記印字出力手段から出力させる制御手段と、
前記外部装置との通信状態がオンラインか否かを判定する判定手段と、
報知手段と、
して機能させ、
前記制御手段は、前記判定手段がオフラインと判定すると、前記特定文字列が含まれた前記レシート情報を前記印字出力手段から出力させるとともに、オンラインに回復後前記電子レシート出力手段から出力することを前記報知手段に報知させ、前記判定手段の判定結果がオフラインからオンラインに切り替わると、前記印字出力手段から出力させた前記特定文字列を含む前記レシート情報を、前記電子レシート出力手段から出力させるプログラム。
A product sales data processing apparatus for executing data processing related to product transactions ;
Generating means for generating receipt information indicating the contents of the transaction for each transaction;
Print output means for printing the receipt information on paper;
An electronic receipt output means for outputting the receipt information to an external device connected to the device via a network ;
When the receipt information includes a specific character string for specifying a receipt destination of the receipt information, the receipt information is output from the electronic receipt output means, and the specific character string is not included in the receipt information. Control means for outputting the receipt information from the print output means;
Determining means for determining whether the communication state with the external device is online;
Notification means;
To function,
When the determination means determines that the determination means is offline, the control means causes the receipt information including the specific character string to be output from the print output means, and outputs from the electronic receipt output means after recovery online. A program for causing the notifying means to output the receipt information including the specific character string output from the print output means from the electronic receipt output means when the determination result of the determining means is switched from offline to online .
JP2014180445A 2014-09-04 2014-09-04 Product sales data processing apparatus and program Active JP6224558B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2014180445A JP6224558B2 (en) 2014-09-04 2014-09-04 Product sales data processing apparatus and program
US14/832,502 US20160071080A1 (en) 2014-09-04 2015-08-21 Transaction data processing apparatus connected to an external device for data communication
CN201810153916.9A CN108416951B (en) 2014-09-04 2015-09-02 POS terminal and control method
CN201510558065.2A CN105405225B (en) 2014-09-04 2015-09-02 Print control unit and print control program
EP15183829.9A EP2993634A1 (en) 2014-09-04 2015-09-04 Apparatus and method for communicating an electronic receipt
US16/137,179 US20190026714A1 (en) 2014-09-04 2018-09-20 Transaction data processing apparatus connected to an external device for data communication
US16/180,831 US20190073649A1 (en) 2014-09-04 2018-11-05 Transaction data processing apparatus connected to an external device for data communication
US17/665,083 US20220156712A1 (en) 2014-09-04 2022-02-04 Transaction data processing apparatus connected to an external device for data communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014180445A JP6224558B2 (en) 2014-09-04 2014-09-04 Product sales data processing apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017194532A Division JP2018010690A (en) 2017-10-04 2017-10-04 Commodity sales data processor and program

Publications (2)

Publication Number Publication Date
JP2016053910A JP2016053910A (en) 2016-04-14
JP6224558B2 true JP6224558B2 (en) 2017-11-01

Family

ID=55744222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014180445A Active JP6224558B2 (en) 2014-09-04 2014-09-04 Product sales data processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6224558B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2509995B2 (en) * 1989-01-20 1996-06-26 株式会社テック Credit terminal
JP6056262B2 (en) * 2012-08-24 2017-01-11 セイコーエプソン株式会社 RECORDING DEVICE, TERMINAL DEVICE, RECORDING SYSTEM, AND RECORDING DEVICE CONTROL METHOD
CN104603851B (en) * 2012-10-10 2017-07-14 精工爱普生株式会社 The control method of receipt issuing device, receipt issuing device

Also Published As

Publication number Publication date
JP2016053910A (en) 2016-04-14

Similar Documents

Publication Publication Date Title
JP5738918B2 (en) Sales data processing apparatus and program
JP2014206790A (en) Merchandise sales data processor and program
JP2015232756A (en) Sales data processor and program
JP6218679B2 (en) Electronic receipt management server and program
US20220156712A1 (en) Transaction data processing apparatus connected to an external device for data communication
JP2016015108A (en) Electronic receipt management server, commodity sales data processor, print control device and program
JP5744295B1 (en) POS terminal, print control apparatus, print control method, and program
JP2016015109A (en) Merchandise sales data processor, electronic receipt management server, printing control device, and program
JP2019204447A (en) Server device and program
JP2022183299A (en) Electronic receipt management server, electronic receipt system and program
JP6404648B2 (en) Information processing apparatus, server apparatus, and program
JP6918997B2 (en) Server equipment, programs, information processing systems and information processing methods
JP2018010690A (en) Commodity sales data processor and program
JP6224558B2 (en) Product sales data processing apparatus and program
JP6461292B2 (en) Electronic receipt management server and program
JP6633710B2 (en) Electronic receipt issuing method, POS terminal and program
JP2020095739A (en) Transaction data processing device, program and transaction data processing method
JP6410864B2 (en) Electronic receipt issuing method, POS terminal and program
JP6889235B2 (en) Electronic receipt issuance method, information processing device and program
JP6166820B2 (en) Server device, transaction data processing system, and program
JP6651589B2 (en) Server device, program, information processing system and information processing method
JP6118365B2 (en) POS terminal and program
JP7140880B2 (en) Electronic receipt issuing method, information processing device and program
JP5933074B2 (en) Transaction data processing apparatus, transaction data processing method and program
JP6749436B2 (en) Electronic receipt management server, program and electronic receipt management system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20160201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170523

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170721

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171005

R150 Certificate of patent or registration of utility model

Ref document number: 6224558

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150