JP7354162B2 - Programs, information processing methods, terminals - Google Patents

Programs, information processing methods, terminals Download PDF

Info

Publication number
JP7354162B2
JP7354162B2 JP2021003246A JP2021003246A JP7354162B2 JP 7354162 B2 JP7354162 B2 JP 7354162B2 JP 2021003246 A JP2021003246 A JP 2021003246A JP 2021003246 A JP2021003246 A JP 2021003246A JP 7354162 B2 JP7354162 B2 JP 7354162B2
Authority
JP
Japan
Prior art keywords
terminal
code
information
display
payment
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
JP2021003246A
Other languages
Japanese (ja)
Other versions
JP2021082307A (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.)
Line Pay Corp
Original Assignee
Line Pay 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
Priority claimed from JP2020160634A external-priority patent/JP6825160B2/en
Application filed by Line Pay Corp filed Critical Line Pay Corp
Priority to JP2021003246A priority Critical patent/JP7354162B2/en
Publication of JP2021082307A publication Critical patent/JP2021082307A/en
Application granted granted Critical
Publication of JP7354162B2 publication Critical patent/JP7354162B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本開示は、プログラム、情報処理方法、端末に関する。 The present disclosure relates to a program, an information processing method, and a terminal.

昨今、スマートフォン等の端末で実行可能なアプリケーションによって、端末、または端末のユーザの電子貨幣(電子マネー)の管理や、電子貨幣による決済等を実現するサービスが普及しつつある。例えば特許文献1には、商品の購買金額の決済を行う技術が開示されている。しかしながら、電子貨幣による決済に関して、例えばユーザインターフェイス(UI)の面で改善の余地がある。 2. Description of the Related Art Recently, services that enable the management of electronic money (electronic money) of terminals or users of terminals, payments using electronic money, etc., have become widespread using applications that can be executed on terminals such as smartphones. For example, Patent Document 1 discloses a technique for settling the purchase price of a product. However, regarding payments using electronic money, there is room for improvement, for example, in terms of user interface (UI).

特開2002-176671号公報Japanese Patent Application Publication No. 2002-176671

本発明の第1の態様によると、コード画像による決済を行うための第1情報に基づいて決済に関する処理を実行する端末によって実行されるプログラムは、複数の第1情報を、端末の通信部を介してサーバから受信することと、受信された複数の第1情報を、端末の制御部によって端末の記憶部に記憶する制御を行うことと、第1情報に基づく第1コード画像を端末の表示領域に表示することと、第1コード画像の表示領域への表示に基づき、決済に関する処理を制御部によって行うこととが端末によって実行され、複数の第1情報のうち、表示領域に表示された第1コード画像に基づく第1情報以外に、決済に利用可能な第1情報が記憶部に記憶されていない場合、表示領域に表示された第1コード画像以外に、決済に利用可能な第1コード画像がないことに関する第1表示と、第1コード画像とを表示領域に表示することが端末によって実行される。
本発明の第2の態様によると、コード画像による決済を行うための第1情報に基づいて決済に関する処理を実行する端末の情報処理方法は、複数の第1情報を、端末の通信部を介してサーバから受信することと、受信された複数の第1情報を、端末の制御部によって端末の記憶部に記憶する制御を行うことと、第1情報に基づく第1コード画像を端末の表示領域に表示することと、第1コード画像の表示領域への表示に基づき、決済に関する処理を制御部によって行うこととを含み、複数の第1情報のうち、表示領域に表示された第1コード画像に基づく第1情報以外に、決済に利用可能な第1情報が記憶部に記憶されていない場合、表示領域に表示された第1コード画像以外に、決済に利用可能な第1コード画像がないことに関する第1表示と、第1コード画像とを表示領域に表示することを含む。
本発明の第3の態様によると、コード画像による決済を行うための第1情報に基づいて決済に関する処理を実行する端末は、複数の第1情報をサーバから受信する通信部と、受信された複数の第1情報を端末の記憶部に記憶する制御を行う制御部と、第1情報に基づく第1コード画像を表示する表示部とを備え、制御部は、第1コード画像の表示部への表示に基づき、決済に関する処理を実行し、表示部は、複数の第1情報のうち、表示部に表示された第1コード画像に基づく第1情報以外に、決済に利用可能な第1情報が記憶部に記憶されていない場合、表示部に表示された第1コード画像以外に、決済に利用可能な第1コード画像がないことに関する第1表示と、第1コード画像とを表示する。
本発明の第4の態様によると、コード画像による決済を行うための第1情報に基づいて決済に関する処理を実行する端末は、プログラムを記憶するメモリからプログラムを読み出し、プログラムに基づく処理を実行するプロセッサーを備え、プロセッサーは、複数の第1情報を、端末の通信部を介してサーバから受信することと、受信された複数の第1情報を、端末の記憶部に記憶することと、第1情報に基づく第1コード画像を、端末の表示領域に表示することと、第1コード画像の表示領域への表示に基づき、決済に関する処理を行うこととを実行し、複数の第1情報のうち、表示領域に表示された第1コード画像に基づく第1情報以外に、決済に利用可能な第1情報が記憶部に記憶されていない場合、表示領域に表示された第1コード画像以外に、決済に利用可能な第1コード画像がないことに関する第1表示と、第1コード画像とを表示領域に表示することを実行する。
According to the first aspect of the present invention, a program executed by a terminal that executes payment-related processing based on first information for making a payment using a code image transmits a plurality of pieces of first information to a communication unit of the terminal. receiving the plurality of pieces of first information from the server via the terminal, controlling the control unit of the terminal to store the received plurality of first information in the storage unit of the terminal, and displaying a first code image based on the first information on the terminal. The terminal displays the first code image in the display area and causes the control unit to perform payment-related processing based on the display of the first code image in the display area. If the first information that can be used for payment is not stored in the storage unit other than the first information based on the first code image, the first information that can be used for payment in addition to the first code image displayed in the display area Displaying a first indication regarding the absence of the code image and the first code image in the display area is performed by the terminal.
According to a second aspect of the present invention, an information processing method for a terminal that executes payment-related processing based on first information for making a payment using a code image includes: the plurality of pieces of first information received from the server; controlling the control unit of the terminal to store the received plurality of first information in the storage unit of the terminal; and displaying the first code image based on the first information in the display area of the terminal. and performing processing related to payment by the control unit based on the display of the first code image in the display area, the first code image displayed in the display area among the plurality of first information. If the first information that can be used for payment other than the first information based on is not stored in the storage unit, there is no first code image that can be used for payment other than the first code image displayed in the display area. The method includes displaying a first display related to the above and a first code image in a display area.
According to the third aspect of the present invention, a terminal that executes payment-related processing based on first information for making a payment using a code image includes a communication unit that receives a plurality of pieces of first information from a server, and a communication unit that receives a plurality of pieces of first information from a server; The controller includes a control unit that controls storing a plurality of pieces of first information in a storage unit of the terminal, and a display unit that displays a first code image based on the first information, and the control unit displays a display unit for displaying the first code image. Based on the display, processing related to payment is executed, and the display unit displays first information that can be used for payment, in addition to the first information based on the first code image displayed on the display unit, among the plurality of first information. is not stored in the storage section, a first display indicating that there is no first code image available for payment other than the first code image displayed on the display section and the first code image are displayed.
According to the fourth aspect of the present invention, a terminal that executes payment-related processing based on first information for payment using a code image reads a program from a memory that stores the program, and executes processing based on the program. The processor includes: receiving a plurality of pieces of first information from the server via a communication unit of the terminal; storing the received pieces of first information in a storage unit of the terminal; displaying a first code image based on the information in the display area of the terminal; and performing processing related to payment based on the display of the first code image in the display area; , if the first information that can be used for payment is not stored in the storage unit other than the first information based on the first code image displayed in the display area, in addition to the first code image displayed in the display area, A first display regarding the fact that there is no first code image available for payment and a first code image are displayed in the display area.

実施形態の一態様における通信システムの構成の一例を示す図。FIG. 1 is a diagram illustrating an example of a configuration of a communication system in one aspect of an embodiment. 実施形態の一態様における店舗POSシステムのシステム構成の一例を示す図。FIG. 1 is a diagram illustrating an example of a system configuration of a store POS system in one aspect of the embodiment. 実施形態の一態様における各種の装置が実行する処理の流れの一例を示すフローチャート。5 is a flowchart illustrating an example of the flow of processing executed by various devices in one aspect of the embodiment. 実施形態の一態様における端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal in one aspect of embodiment. 実施形態の一態様における端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal in one aspect of embodiment. 実施形態の一態様における各種の装置が実行する処理の流れの一例を示すフローチャート。5 is a flowchart illustrating an example of the flow of processing executed by various devices in one aspect of the embodiment. 第1実施例に係るサーバの制御部により実現される機能の一例を示す図。FIG. 3 is a diagram illustrating an example of functions realized by the control unit of the server according to the first embodiment. 第1実施例に係るサーバの記憶部に記憶される情報の一例を示す図。FIG. 3 is a diagram showing an example of information stored in a storage unit of the server according to the first embodiment. 第1実施例に係るユーザ登録データの一例を示す図。FIG. 3 is a diagram showing an example of user registration data according to the first embodiment. 第1実施例に係る店舗登録データの一例を示す図。The figure which shows an example of store registration data based on 1st Example. 第1実施例に係る決済管理データベースの一例を示す図。The figure which shows an example of the payment management database based on 1st Example. 第1実施例に係るコード管理データベースの一例を示す図。The figure which shows an example of the code management database based on 1st Example. 第1実施例に係る端末の制御部により実現される機能の一例を示す図。FIG. 3 is a diagram illustrating an example of functions realized by the control unit of the terminal according to the first embodiment. 第1実施例に係る端末の記憶部に記憶される情報の一例を示す図。FIG. 3 is a diagram showing an example of information stored in a storage unit of the terminal according to the first embodiment. 第1実施例に係る第1の端末表示用コードストックデータの一例を示す図。The figure which shows an example of the code stock data for 1st terminal display based on 1st Example. 第1実施例に係る第2の端末表示用コードストックデータの一例を示す図。The figure which shows an example of the code stock data for a 2nd terminal display based on 1st Example. 第1実施例に係る決済用データの一例を示す図。The figure which shows an example of the data for payment based on 1st Example. 第1実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 1st Example. 第1実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 1st Example. 第1実施例に係る第1のコード表示処理の流れの一例を示すフローチャート。5 is a flowchart illustrating an example of the flow of a first code display process according to the first embodiment. 第1変形例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on the 1st modification. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a second embodiment. 第2実施例に係る第2のコード表示処理の流れの一例を示すフローチャート。7 is a flowchart showing an example of the flow of a second code display process according to the second embodiment. 第2変形例に係る第3のコード表示処理の流れの一例を示すフローチャート。10 is a flowchart illustrating an example of the flow of a third code display process according to a second modification. 第2変形例に係る各種の装置が実行する処理の流れの一例を示すフローチャート。7 is a flowchart illustrating an example of the flow of processing executed by various devices according to a second modification. 第2変形例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on a 2nd modification. 第3実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a third embodiment. 第3実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a third embodiment. 第3実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a third embodiment. 第3実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a third embodiment. 第4実施例に係る第1の端末側コード補充処理及び第1のサーバ側コード補充処理の流れの一例を示すフローチャート。12 is a flowchart showing an example of the flow of the first terminal-side code replenishment process and the first server-side code replenishment process according to the fourth embodiment. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第4実施例に係る端末の表示画面の一例を示す図。The figure which shows an example of the display screen of the terminal based on 4th Example. 第5実施例に係る第2の端末側コード補充処理の流れの一例を示すフローチャート。12 is a flowchart showing an example of the flow of second terminal-side code replenishment processing according to the fifth embodiment. 第5実施例に係る第2の端末側コード補充処理の流れの一例を示すフローチャート。12 is a flowchart showing an example of the flow of second terminal-side code replenishment processing according to the fifth embodiment. 第5実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a fifth embodiment. 第5実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a fifth embodiment. 第5実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a fifth embodiment. 第5実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a fifth embodiment. 第5実施例に係る端末の表示画面の一例を示す図。FIG. 7 is a diagram showing an example of a display screen of a terminal according to a fifth embodiment.

<法的事項の遵守>
本明細書に記載の開示は、通信の秘密など、本開示の実施に必要な実施国の法的事項遵守を前提とすることに留意されたい。
<Compliance with legal matters>
Please note that the disclosures described herein are subject to compliance with the host country's legal requirements necessary for the implementation of the disclosures, such as confidentiality of communications.

本開示に係る情報処理方法等を実施するための実施形態について、図面を参照して説明する。 Embodiments for implementing the information processing method and the like according to the present disclosure will be described with reference to the drawings.

[システム構成]
図1は、本開示の一実施形態に係る通信システム1の構成の一例を示す図である。
図1に開示されるように、通信システム1では、ネットワーク30を介してサーバ10と、端末20(端末20A,端末20B,端末20C,・・・)と、店舗POSシステム40とが接続される。
[System configuration]
FIG. 1 is a diagram illustrating an example of the configuration of a communication system 1 according to an embodiment of the present disclosure.
As disclosed in FIG. 1, in the communication system 1, a server 10, terminals 20 (terminal 20A, terminal 20B, terminal 20C, . . . ), and a store POS system 40 are connected via a network 30. .

サーバ10は、ネットワーク30を介してユーザが所有する端末20に、端末20間でのメッセージ等を含むコンテンツの送受信を実現するサービスを提供する。また、サーバ10は、端末20と通信を行って電子決済(限定ではなく、決済の一例)を実現するサービス(以下、「決済サービス」と称する。)を提供する。なお、ネットワーク30に接続される端末20の数は限定されない。 The server 10 provides the terminals 20 owned by users with a service that enables the transmission and reception of content, including messages, between the terminals 20 via the network 30. Further, the server 10 provides a service (hereinafter referred to as "payment service") that communicates with the terminal 20 to realize electronic payment (an example of payment, not limited to payment). Note that the number of terminals 20 connected to the network 30 is not limited.

ネットワーク30は、1以上の端末20と、1以上のサーバ10と、1以上の店舗POSシステム40とを接続する役割を担う。すなわち、ネットワーク30は、上記の各種の装置が接続した後、データを送受信することができるように接続経路を提供する通信網を意味する。 The network 30 plays a role of connecting one or more terminals 20, one or more servers 10, and one or more store POS systems 40. That is, the network 30 refers to a communication network that provides a connection path so that the various devices described above can transmit and receive data after being connected.

ネットワーク30のうちの1つまたは複数の部分は、有線ネットワークや無線ネットワークであってもよいし、そうでなくてもよい。ネットワーク30は、限定ではなく例として、アドホック・ネットワーク(ad hoc network)、イントラネット、エクストラネット、仮想プライベート・ネットワーク(virtual private network:VPN)、ローカル・エリア・ネットワーク(local area network:LAN)、ワイヤレスLAN(wireless LAN:WLAN)、広域ネットワーク(wide area network:WAN)、ワイヤレスWAN(wireless WAN:WWAN)、大都市圏ネットワーク(metropolitan area network:MAN)、インターネットの一部、公衆交換電話網(Public Switched Telephone Network:PSTN)の一部、携帯電話網、ISDN(integrated service digital networks)、無線LAN、LTE(long term evolution)、CDMA(code division multiple access)、ブルートゥース(Bluetooth(登録商標))、衛星通信など、または、これらの2つ以上の組合せを含むことができる。ネットワーク30は、1つまたは複数のネットワーク30を含むことができる。 One or more portions of network 30 may or may not be a wired network or a wireless network. Network 30 may include, by way of example and not limitation, an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (wireless LAN: WLAN), wide area network (WAN), wireless WAN (WWAN), metropolitan area network (MAN), part of the Internet, public switched telephone network (Public Switched Telephone Network (PSTN), mobile phone network, ISDN (integrated service digital networks), wireless LAN, LTE (long term evolution), CDMA (code division multiple access), Bluetooth (registered trademark), satellite communication, etc., or a combination of two or more of these. Network 30 may include one or more networks 30.

端末20(端末20A,端末20B,端末20C,・・・)(限定ではなく、端末、情報処理装置の一例)は、各実施形態において記載する機能を実現できる情報処理端末であればどのような端末であってもよい。端末20は、限定ではなく例として、スマートフォン、携帯電話(フィーチャーフォン)、コンピュータ(限定ではなく例として、デスクトップ、ラップトップ、タブレットなど)、メディアコンピュータプラットホーム(限定ではなく例として、ケーブル、衛星セットトップボックス、デジタルビデオレコーダ)、ハンドヘルドコンピュータデバイス(限定ではなく例として、PDA・(personal digital assistant)、電子メールクライアントなど)、ウェアラブル端末(メガネ型デバイス、時計型デバイスなど)、または他種のコンピュータ、またはコミュニケーションプラットホームを含む。また、端末20は情報処理端末と表現されてもよい。 The terminals 20 (terminal 20A, terminal 20B, terminal 20C, ...) (not limited to, but an example of a terminal or information processing device) may be any information processing terminal that can realize the functions described in each embodiment. It may be a terminal. Terminal 20 may include, by way of example and not limitation, a smartphone, a mobile phone (feature phone), a computer (desktop, laptop, tablet, etc., by way of example and not limitation), a media computer platform (by way of example and not limitation, cable, satellite set, etc.). top boxes, digital video recorders), handheld computing devices (by way of example and not limitation, personal digital assistants, e-mail clients, etc.), wearables (such as glasses-like devices, watch-like devices, etc.), or other types of computers. , or communication platform. Further, the terminal 20 may be expressed as an information processing terminal.

端末20A、端末20Bおよび端末20Cの構成は基本的には同一であるため、以下の説明においては、端末20について説明する。また、必要に応じて、ユーザXが利用する端末を端末20Xと表現し、ユーザXまたは端末20Xに対応付けられた、所定のサービスにおけるユーザ情報をユーザ情報Xと表現する。なお、ユーザ情報とは、所定のサービスにおいてユーザが利用するアカウントに対応付けられたユーザの情報である。ユーザ情報は、限定ではなく例として、ユーザにより入力される、または、所定のサービスにより付与される、ユーザの名前、ユーザのアイコン画像、ユーザの年齢、ユーザの性別、ユーザの住所、ユーザの趣味趣向、ユーザの識別子などのユーザに対応付けられた情報を含み、これらのいずれか一つまたは、組み合わせであってもよいし、そうでなくてもよい。 Since the configurations of terminal 20A, terminal 20B, and terminal 20C are basically the same, in the following description, only terminal 20 will be described. Furthermore, if necessary, the terminal used by user X will be expressed as terminal 20X, and the user information in a predetermined service associated with user X or terminal 20X will be expressed as user information X. Note that the user information is user information associated with an account used by the user in a predetermined service. User information includes, by way of example and not limitation, the user's name, the user's icon image, the user's age, the user's gender, the user's address, and the user's hobbies, entered by the user or provided by a given service. It includes information associated with the user such as preferences and user identifiers, and may be any one or a combination of these, or may not be the same.

サーバ10(限定ではなく、サーバ、情報処理装置、情報管理装置の一例)は、端末20に対して、所定のサービスを提供する機能を備える。サーバ10は、各実施形態において記載する機能を実現できる情報処理装置であればどのような装置であってもよい。サーバ10は、限定ではなく例として、サーバ装置、コンピュータ(限定ではなく例として、デスクトップ、ラップトップ、タブレットなど)、メディアコンピュータプラットホーム(限定ではなく例として、ケーブル、衛星セットトップボックス、デジタルビデオレコーダ)、ハンドヘルドコンピュータデバイス(限定ではなく例として、PDA、電子メールクライアントなど)、あるいは他種のコンピュータ、またはコミュニケーションプラットホームを含む。また、サーバ10は情報処理装置と表現されてもよい。サーバ10と端末20とを区別する必要がない場合は、サーバ10と端末20とは、それぞれ情報処理装置と表現されてもよいし、されなくてもよい。 The server 10 (not limited to, but an example of a server, an information processing device, or an information management device) has a function of providing a predetermined service to the terminal 20. The server 10 may be any information processing device that can implement the functions described in each embodiment. Server 10 may include, by way of example and not limitation, a server device, a computer (such as, by way of example and not limitation, a desktop, laptop, tablet, etc.), a media computer platform (by way of example and not limitation, a cable, satellite set-top box, digital video recorder, etc.). ), handheld computing devices (by way of example and not limitation, PDAs, email clients, etc.), or other types of computers or communication platforms. Further, the server 10 may be expressed as an information processing device. If there is no need to distinguish between the server 10 and the terminal 20, the server 10 and the terminal 20 may or may not be each expressed as an information processing device.

以下説明する実施形態では、サーバ10は、決済アプリケーションによる決済サービスを提供する機能を有していることとして説明する。 In the embodiment described below, the server 10 will be described as having a function of providing a payment service using a payment application.

店舗POSシステム40は、サーバ10を運用する事業者と提携している店舗に導入されて使用されるPOSシステムである。
この店舗POSシステム40には、限定ではなく例として、店舗コードリーダ装置50と、コードレジ60と、店舗サーバ70とが含まれる。
The store POS system 40 is a POS system that is installed and used in a store affiliated with a business operator that operates the server 10.
This store POS system 40 includes, by way of example and not limitation, a store code reader device 50, a code register 60, and a store server 70.

[各装置のハードウェア(HW)構成]
通信システム1に含まれる各装置のHW構成について説明する。
[Hardware (HW) configuration of each device]
The HW configuration of each device included in the communication system 1 will be explained.

(1)端末のHW構成
図1には、端末20のHW構成の一例を示している。
端末20は、制御部21(CPU:central processing unit(中央処理装置))、記憶部28、通信I/F22(インタフェース)、入出力部23、表示部24、マイク25、スピーカ26、カメラ27、時計部29A、位置算出用情報検出部29Bを備える。端末20のHWの各構成要素は、限定ではなく例として、バスBを介して相互に接続される。なお、端末20のHW構成として、すべての構成要素を含むことは必須ではない。限定ではなく例として、端末20は、マイク25、カメラ27等、個々の構成要素、または複数の構成要素を取り外すような構成であってもよいし、そうでなくてもよい。
(1) HW configuration of terminal FIG. 1 shows an example of the HW configuration of the terminal 20.
The terminal 20 includes a control unit 21 (CPU: central processing unit), a storage unit 28, a communication I/F 22 (interface), an input/output unit 23, a display unit 24, a microphone 25, a speaker 26, a camera 27, It includes a clock section 29A and a position calculation information detection section 29B. Each component of the HW of terminal 20 is interconnected via bus B, by way of example and not limitation. Note that it is not essential that the HW configuration of the terminal 20 includes all the components. By way of example and not limitation, terminal 20 may or may not be configured to remove an individual component or components, such as microphone 25, camera 27, etc.

通信I/F22は、ネットワーク30を介して各種データの送受信を行う。通信は、有線、無線のいずれで実行されてもよく、互いの通信が実行できるのであれば、どのような通信プロトコルを用いてもよい。通信I/F22は、ネットワーク30を介して、サーバ10等の各種装置との通信を実行する機能を有する。通信I/F22は、各種データを制御部21からの指示に従って、サーバ10等の各種装置に送信する。また、通信I/F22は、サーバ10等の各種装置から送信された各種データを受信し、制御部21に伝達する。また、通信I/F22を単に通信部と表現する場合もある。また、通信I/F22が物理的に構造化された回路で構成される場合には、通信回路と表現する場合もある。 The communication I/F 22 transmits and receives various data via the network 30. Communication may be performed by wire or wirelessly, and any communication protocol may be used as long as mutual communication can be performed. The communication I/F 22 has a function of communicating with various devices such as the server 10 via the network 30. The communication I/F 22 transmits various data to various devices such as the server 10 according to instructions from the control unit 21. Furthermore, the communication I/F 22 receives various data transmitted from various devices such as the server 10 and transmits the received data to the control unit 21 . Moreover, the communication I/F 22 may be simply expressed as a communication section. In addition, when the communication I/F 22 is composed of a physically structured circuit, it may be expressed as a communication circuit.

入出力部23は、端末20に対する各種操作を入力する装置、および、端末20で処理された処理結果を出力する装置を含む。入出力部23は、入力部と出力部が一体化していてもよいし、入力部と出力部に分離していてもよいし、そうでなくてもよい。 The input/output unit 23 includes a device for inputting various operations to the terminal 20 and a device for outputting processing results processed by the terminal 20. In the input/output section 23, the input section and the output section may be integrated, or may be separated into an input section and an output section, or may not be.

入力部は、ユーザからの入力を受け付けて、入力に係る情報を制御部21に伝達できる全ての種類の装置のいずれかまたはその組み合わせにより実現される。入力部は、限定ではなく例として、タッチパネル、タッチディスプレイ、キーボード等のハードウェアキーや、マウス等のポインティングデバイス、カメラ(動画像を介した操作入力)、マイク(音声による操作入力)を含む。 The input unit is realized by any one or a combination of all types of devices that can receive input from the user and transmit information related to the input to the control unit 21. The input unit includes, by way of example and not limitation, a touch panel, a touch display, hardware keys such as a keyboard, a pointing device such as a mouse, a camera (operation input via moving images), and a microphone (operation input via voice).

出力部は、制御部21で処理された処理結果を出力することができる全ての種類の装置のいずれかまたはその組み合わせにより実現される。出力部は、限定ではなく例として、 タッチパネル、タッチディスプレイ、スピーカ(音声出力)、レンズ(限定ではなく例として3D(three dimensions)出力や、ホログラム出力)、プリンターなどを含む。 The output unit is realized by any one of all types of devices capable of outputting the processing results processed by the control unit 21 or a combination thereof. Output units include, by way of example and not limitation, a touch panel, a touch display, a speaker (audio output), a lens (including, by way of non-limiting example, three dimensions output or hologram output), a printer, and the like.

表示部24は、フレームバッファに書き込まれた表示データに従って、表示することができる全ての種類の装置のいずれかまたはその組み合わせにより実現される。表示部24は、限定ではなく例として、タッチパネル、タッチディスプレイ、モニタ(限定ではなく例として、液晶ディスプレイやOELD(organic electroluminescence display))、ヘッドマウントディスプレイ(HDM:Head Mounted Display)、プロジェクションマッピング、ホログラム、空気中など(真空であってもよいし、そうでなくてもよい)に画像やテキスト情報等を表示可能な装置を含む。なお、これらの表示部24は、3Dで表示データを表示可能であってもよいし、そうでなくてもよい。 The display unit 24 is realized by any one or a combination of all types of devices capable of displaying data according to the display data written in the frame buffer. The display unit 24 includes, by way of example and not limitation, a touch panel, a touch display, a monitor (by way of example and not limitation, a liquid crystal display or an OELD (organic electroluminescence display)), a head mounted display (HDM), a projection mapping, and a hologram. , devices capable of displaying images, text information, etc. in air (which may or may not be a vacuum). Note that these display units 24 may or may not be capable of displaying display data in 3D.

入出力部23がタッチパネルの場合、入出力部23と表示部24とは、略同一の大きさおよび形状で対向して配置されていてもよい。 When the input/output unit 23 is a touch panel, the input/output unit 23 and the display unit 24 may have substantially the same size and shape and may be disposed facing each other.

時計部29Aは、端末20の内蔵時計であり、時刻情報(計時情報)を出力する。時計部29Aは、限定ではなく例として、水晶発振器を利用したクロック等を有して構成される。時計部29Aは、限定ではなく例として、計時部や時刻情報検出部と表現することもできる。 The clock unit 29A is a built-in clock of the terminal 20, and outputs time information (timekeeping information). The clock section 29A includes, by way of example and not limitation, a clock using a crystal oscillator. The clock section 29A can also be expressed as a clock section or a time information detection section, by way of example and not limitation.

なお、時計部29Aは、NITZ(Network Identity and Time Zone)規格等を適用したクロックを有していてもよいし、有していなくてもよい。 Note that the clock unit 29A may or may not have a clock to which the NITZ (Network Identity and Time Zone) standard or the like is applied.

位置算出用情報検出部29Bは、制御部21が自己の端末20の位置を算出(測定)するために必要な情報(以下、「位置算出用情報」と称する。)を検出(計測)する機能部である。位置算出用情報検出部29Bは、限定ではなく例として、位置算出用センサ部と表現することもできる。
なお、位置算出用情報検出部29Bは必須ではなく、端末20の構成要件から除外してもよい。
The position calculation information detection unit 29B has a function of detecting (measuring) information (hereinafter referred to as “position calculation information”) necessary for the control unit 21 to calculate (measure) the position of its own terminal 20. Department. The position calculation information detection unit 29B can also be expressed as a position calculation sensor unit, by way of example and not limitation.
Note that the position calculation information detection unit 29B is not essential and may be excluded from the configuration requirements of the terminal 20.

位置算出用情報検出部29Bは、限定ではなく例として、GPS(Global Positioning System)等の衛星測位システムを利用して端末20の位置を算出するためのセンサやユニットである衛星測位センサ(衛星測位ユニット)や、慣性航法システムを利用して端末20の位置を算出するためのセンサやユニットである慣性計測センサ(慣性計測ユニット(IMU(Inertial Measurement Unit)))等を含む。 The position calculation information detection unit 29B includes, by way of example and not limitation, a satellite positioning sensor (satellite positioning sensor) which is a sensor or unit for calculating the position of the terminal 20 using a satellite positioning system such as GPS (Global Positioning System). unit), and an inertial measurement sensor (IMU (Inertial Measurement Unit)) that is a sensor or unit for calculating the position of the terminal 20 using an inertial navigation system.

衛星測位ユニットは、限定ではなく例として、不図示のアンテナで受信される測位用衛星から発信されている測位用衛星信号を含むRF(Radio Frequency)信号をデジタル信号に変換するRF受信回路や、RF受信回路から出力されるデジタル信号に対して相関演算処理等を行って測位用衛星信号を捕捉し、測位用衛星信号から取り出した衛星軌道データや時刻データ等の情報を、位置算出用情報として出力するベースバンド処理回路等を有する。 The satellite positioning unit includes, by way of example and not limitation, an RF receiving circuit that converts an RF (Radio Frequency) signal including a positioning satellite signal transmitted from a positioning satellite received by an antenna (not shown) into a digital signal; A positioning satellite signal is captured by performing correlation calculation processing on the digital signal output from the RF receiving circuit, and information such as satellite orbit data and time data extracted from the positioning satellite signal is used as position calculation information. It has a baseband processing circuit etc. for output.

慣性計測ユニットは、慣性航法演算によって端末20の位置を算出するために必要な情報を検出するセンサである慣性センサを有する。慣性センサには、限定ではなく例として、3軸の加速度センサや3軸のジャイロセンサが含まれ、加速度センサによって検出された加速度と、ジャイロセンサによって検出された角速度とを、位置算出用情報として出力する。 The inertial measurement unit has an inertial sensor that is a sensor that detects information necessary for calculating the position of the terminal 20 by inertial navigation calculation. Inertial sensors include, by way of example and not limitation, a 3-axis acceleration sensor and a 3-axis gyro sensor, and use the acceleration detected by the acceleration sensor and the angular velocity detected by the gyro sensor as position calculation information. Output.

制御部21は、プログラム内に含まれたコードまたは命令によって実現する機能を実行するために物理的に構造化された回路を有し、限定ではなく例として、ハードウェアに内蔵されたデータ処理装置により実現される。そのため、制御部21は、制御回路と表現されてもよいし、されなくてもよい。 The control unit 21 has a physically structured circuit for executing functions realized by codes or instructions included in a program, and includes, by way of example and not limitation, a data processing device built into hardware. This is realized by Therefore, the control unit 21 may or may not be expressed as a control circuit.

制御部21は、限定ではなく例として、中央処理装置(CPU)、マイクロプロセッサ(microprocessor)、プロセッサコア(processor core)、マルチプロセッサ(multiprocessor)、ASIC(application-specific integrated circuit)、FPGA(field programmable gate array)を含む。 The control unit 21 may include, by way of example and not limitation, a central processing unit (CPU), a microprocessor, a processor core, a multiprocessor, an ASIC (application-specific integrated circuit), and a FPGA (field programmable). gate array).

記憶部28は、端末20が動作するうえで必要とする各種プログラムや各種データを記憶する機能を有する。記憶部28は、限定ではなく例として、HDD(hard disk drive)、SSD(solid state drive)、フラッシュメモリ、RAM(random access memory)、ROM(read only memory)など各種の記憶媒体を含む。また、記憶部28は、メモリ(memory)と表現されてもよいし、されなくてもよい。 The storage unit 28 has a function of storing various programs and various data necessary for the terminal 20 to operate. The storage unit 28 includes various storage media such as, by way of example and not limitation, an HDD (hard disk drive), an SSD (solid state drive), a flash memory, a RAM (random access memory), and a ROM (read only memory). Furthermore, the storage unit 28 may or may not be expressed as a memory.

端末20は、プログラムPを記憶部28に記憶し、このプログラムPを実行することで、制御部21が、制御部21に含まれる各部としての処理を実行する。つまり、記憶部28に記憶されるプログラムPは、端末20に、制御部21が実行する各機能を実現させる。また、このプログラムPは、プログラムモジュールと表現されてもよいし、されなくてもよい。 In the terminal 20, the program P is stored in the storage unit 28, and by executing the program P, the control unit 21 executes processing as each unit included in the control unit 21. That is, the program P stored in the storage unit 28 causes the terminal 20 to realize each function executed by the control unit 21. Furthermore, this program P may or may not be expressed as a program module.

マイク25は、音声データの入力に利用される。スピーカ26は、音声データの出力に利用される。カメラ27は、動画像データの取得に利用される。 The microphone 25 is used for inputting audio data. The speaker 26 is used to output audio data. The camera 27 is used to obtain moving image data.

(2)サーバのHW構成
図1には、サーバ10のHW構成の一例を示している。
サーバ10は、制御部11(CPU)、記憶部15、通信I/F14(インタフェース)、入出力部12、ディスプレイ13、時計部19を備える。サーバ10のHWの各構成要素は、限定ではなく例として、バスBを介して相互に接続される。なお、サーバ10のHWは、サーバ10のHWの構成として、全ての構成要素を含むことは必須ではない。限定ではなく例として、サーバ10のHWは、ディスプレイ13を取り外すような構成であってもよいし、そうでなくてもよい。
(2) HW configuration of server FIG. 1 shows an example of the HW configuration of the server 10.
The server 10 includes a control section 11 (CPU), a storage section 15, a communication I/F 14 (interface), an input/output section 12, a display 13, and a clock section 19. The HW components of server 10 are interconnected via bus B, by way of example and not limitation. Note that the HW of the server 10 does not necessarily include all the components as the HW configuration of the server 10 . By way of example and not limitation, the HW of the server 10 may or may not be configured to remove the display 13.

制御部11は、プログラム内に含まれたコードまたは命令によって実現する機能を実行するために物理的に構造化された回路を有し、限定ではなく例として、ハードウェアに内蔵されたデータ処理装置により実現される。 The control unit 11 has a physically structured circuit for executing functions realized by codes or instructions included in a program, and includes, by way of example and not limitation, a data processing device built into hardware. This is realized by

制御部11は、代表的には中央処理装置(CPU)、であり、その他にマイクロプロセッサ、プロセッサコア、マルチプロセッサ、ASIC、FPGAであってもよいし、そうでなくてもよい。本開示において、制御部11は、これらに限定されない。 The control unit 11 is typically a central processing unit (CPU), and may or may not be a microprocessor, processor core, multiprocessor, ASIC, or FPGA. In the present disclosure, the control unit 11 is not limited to these.

記憶部15は、サーバ10が動作するうえで必要とする各種プログラムや各種データを記憶する機能を有する。記憶部15は、HDD、SSD、フラッシュメモリなど各種の記憶媒体により実現される。ただし、本開示において、記憶部15は、これらに限定されない。また、記憶部15は、メモリ(memory)と表現されてもよいし、されなくてもよい。 The storage unit 15 has a function of storing various programs and various data necessary for the operation of the server 10. The storage unit 15 is realized by various storage media such as HDD, SSD, and flash memory. However, in the present disclosure, the storage unit 15 is not limited to these. Furthermore, the storage unit 15 may or may not be expressed as a memory.

通信I/F14は、ネットワーク30を介して各種データの送受信を行う。通信は、有線、無線のいずれで実行されてもよく、互いの通信が実行できるのであれば、どのような通信プロトコルを用いてもよい。通信I/F14は、ネットワーク30を介して、端末20等の各種装置との通信を実行する機能を有する。通信I/F14は、各種データを制御部11からの指示に従って、端末20等の各種装置に送信する。また、通信I/F14は、端末20等の各種装置から送信された各種データを受信し、制御部11に伝達する。また、通信I/F14を単に通信部と表現する場合もある。また、通信I/F14が物理的に構造化された回路で構成される場合には、通信回路と表現する場合もある。 The communication I/F 14 transmits and receives various data via the network 30. Communication may be performed by wire or wirelessly, and any communication protocol may be used as long as mutual communication can be performed. The communication I/F 14 has a function of communicating with various devices such as the terminal 20 via the network 30. The communication I/F 14 transmits various data to various devices such as the terminal 20 according to instructions from the control unit 11. Further, the communication I/F 14 receives various data transmitted from various devices such as the terminal 20 and transmits the received data to the control unit 11. Moreover, the communication I/F 14 may be simply expressed as a communication section. Furthermore, when the communication I/F 14 is composed of a physically structured circuit, it may be expressed as a communication circuit.

入出力部12は、サーバ10に対する各種操作を入力する装置により実現される。入出力部12は、ユーザからの入力を受け付けて、入力に係る情報を制御部11に伝達できる全ての種類の装置のいずれかまたはその組み合わせにより実現される。入出力部12は、代表的にはキーボード等に代表されるハードウェアキーや、マウス等のポインティングデバイスで実現される。なお、入出力部12、限定ではなく例として、タッチパネルやカメラ(動画像を介した操作入力)、マイク(音声による操作入力)を含んでいてもよいし、そうでなくてもよい。ただし、本開示において、入出力部12は、これらに限定されない。 The input/output unit 12 is realized by a device that inputs various operations to the server 10. The input/output unit 12 is realized by any one or a combination of all types of devices that can receive input from a user and transmit information related to the input to the control unit 11. The input/output unit 12 is typically implemented using hardware keys such as a keyboard or a pointing device such as a mouse. Note that the input/output unit 12 may or may not include, by way of example and not limitation, a touch panel, a camera (operation input via moving images), and a microphone (operation input via voice). However, in the present disclosure, the input/output unit 12 is not limited to these.

ディスプレイ13は、代表的にはモニタ(限定ではなく例として、液晶ディスプレイやOELD(organic electroluminescence display))で実現される。なお、ディスプレイ13は、ヘッドマウントディスプレイ(HDM)などであってもよいし、そうでなくてもよい。なお、これらのディスプレイ13は、3Dで表示データを表示可能であってもよいし、そうでなくてもよい。本開示において、ディスプレイ13は、これらに限定されない。 The display 13 is typically realized by a monitor (for example, but not limited to, a liquid crystal display or an organic electroluminescence display (OELD)). Note that the display 13 may or may not be a head mounted display (HDM). Note that these displays 13 may or may not be capable of displaying display data in 3D. In the present disclosure, the display 13 is not limited to these.

時計部19は、サーバ10の内蔵時計であり、時刻情報(計時情報)を出力する。時計部19は、限定ではなく例として、ハードウェアクロックとしてのRTC(Real Time Clock)やシステムクロック等を有して構成される。時計部19は、限定ではなく例として、計時部や時刻情報検出部と表現することもできる。 The clock unit 19 is a built-in clock of the server 10, and outputs time information (timekeeping information). The clock unit 19 includes, by way of example and not limitation, an RTC (Real Time Clock) as a hardware clock, a system clock, and the like. The clock section 19 can also be expressed as a timekeeping section or a time information detection section, by way of example and not limitation.

(3)店舗POSのシステム構成
図2には、店舗POSシステム40のシステム構成の一例を示している。
店舗POSシステム40は、サーバ10を運用する事業者と提携している店舗に導入されて使用されるPOSシステムであり、限定ではなく例として、店舗コードリーダ装置50と、コードレジ60と、店舗サーバ70とを含む。
(3) System configuration of store POS FIG. 2 shows an example of the system configuration of the store POS system 40.
The store POS system 40 is a POS system that is introduced and used in a store affiliated with a business operator that operates the server 10, and includes, by way of example and not limitation, a store code reader device 50, a code register 60, and a store. server 70.

店舗コードリーダ装置50は、POS通信I/F57(限定ではなく例として、店舗内の有線通信I/Fや無線通信I/F)によってコードレジ60や店舗サーバ70と通信接続され、コードレジ60での会計の際に、端末20の表示部24に表示される端末表示用コード画像を読み取る。そして、端末表示用コード画像を読み取ったことに基づいて、決済要求情報を通信I/F54によってサーバ10に送信し、サーバ10で決済が行われた後、決済結果に関する情報(例えば、後述する店舗用決済完了通知)を通信I/F54によってサーバ10から受信する。 The store code reader device 50 is communicatively connected to a code register 60 and a store server 70 via a POS communication I/F 57 (for example, but not limited to, a wired communication I/F or a wireless communication I/F in the store), and the code register 60 At the time of checkout, the terminal display code image displayed on the display section 24 of the terminal 20 is read. Then, based on reading the terminal display code image, payment request information is transmitted to the server 10 via the communication I/F 54, and after the payment is made in the server 10, information regarding the payment result (for example, the store payment completion notification) is received from the server 10 via the communication I/F 54.

店舗コードリーダ装置50は、限定ではなく例として、制御部51と、入出力部52と、表示部53と、通信I/F54と、記憶部55と、音出力部56と、POS通信I/F57と、コードリーダ58、時計部59とを有する。 The store code reader device 50 includes, by way of example and not limitation, a control section 51, an input/output section 52, a display section 53, a communication I/F 54, a storage section 55, a sound output section 56, and a POS communication I/F section. F57, a code reader 58, and a clock section 59.

コードリーダ58は、二次元コードを読み取るためのコードリーダであり、本明細書では、端末20の表示部24に表示され、端末20のユーザによって提示される二次元コード(例えばQRコード(登録商標))としての端末表示用コードを読み取るための二次元コードリーダ(例えばQRコードリーダ)を含む。 The code reader 58 is a code reader for reading a two-dimensional code, and in this specification, the two-dimensional code (for example, QR code (registered trademark)) displayed on the display unit 24 of the terminal 20 and presented by the user of the terminal 20 )) includes a two-dimensional code reader (for example, a QR code reader) for reading a terminal display code.

コードレジ60は、限定ではなく例として、POS通信I/F57によって店舗コードリーダ装置50や店舗サーバ70と通信接続され、店舗コードリーダ装置50がサーバ10から受信した店舗用決済完了通知に基づいて、販売した商品の総額や、端末20のユーザの電子貨幣の残高等の情報を印字したレシートを発行する。また、限定ではなく例として、コードレジ60と一体として、またはコードレジ60と別体として設けられ、客側に表示面が向けられたディスプレイを構成するようにしてもよい。コードレジ60は、決済アプリケーションに対応可能に構成されたレジであり、決済アプリケーション対応の据置端末と言うこともできる。 By way of example and not limitation, the code register 60 is communicatively connected to the store code reader device 50 and the store server 70 via the POS communication I/F 57, and based on the store payment completion notification received by the store code reader device 50 from the server 10. , a receipt is printed with information on the total amount of sold products and the electronic currency balance of the user of the terminal 20. Further, by way of example and not limitation, a display may be configured that is provided integrally with the code register 60 or separately from the code register 60, and has a display surface facing the customer side. The code register 60 is a cash register configured to be compatible with a payment application, and can also be called a stationary terminal compatible with a payment application.

店舗サーバ70は、限定ではなく例として、自店舗に関する店舗情報や、自店舗で販売される商品に関する情報や自店舗で提供されるサービスに関する情報、自店舗での商品の販売やサービスの提供に伴う売上げに関する情報等の各種の情報を管理する。店舗サーバ70は、POS通信I/F57によって店舗コードリーダ装置50やコードレジ60と通信可能に構成されているとともに、ネットワーク30を介してサーバ10等の外部装置と通信可能に構成されている。 The store server 70 may, by way of example and not limitation, store information regarding its own store, information regarding products sold at its own store, information regarding services provided at its own store, and information on sales of products and provision of services at its own store. Manage various information such as information related to sales. The store server 70 is configured to be able to communicate with the store code reader device 50 and the code register 60 via the POS communication I/F 57, and is also configured to be able to communicate with external devices such as the server 10 via the network 30.

なお、店舗サーバ70は、必ずしも店舗コードリーダ装置50と直接的に通信可能に構成されている必要はなく、コードレジ60を介して店舗コードリーダ装置50と通信可能に構成されていてもよい。例えば、店舗コードリーダ装置50がサーバ10から受信した店舗用決済完了通知はコードレジ60に送られ、その後、コードレジ60から店舗サーバ70に送られるようにするなどすることもできる。 Note that the store server 70 does not necessarily need to be configured to be able to communicate directly with the store code reader device 50, and may be configured to be able to communicate with the store code reader device 50 via the code register 60. For example, the store payment completion notification received by the store code reader device 50 from the server 10 may be sent to the code register 60, and then sent from the code register 60 to the store server 70.

(4)その他
サーバ10は、プログラムPを記憶部15に記憶し、このプログラムPを実行することで、制御部11が、制御部11に含まれる各部としての処理を実行する。つまり、記憶部15に記憶されるプログラムPは、サーバ10に、制御部11が実行する各機能を実現させる。このプログラムPは、プログラムモジュールと表現されてもよいし、されなくてもよい。
他の装置についても同様である。
(4) Others The server 10 stores the program P in the storage unit 15, and by executing the program P, the control unit 11 executes processing as each unit included in the control unit 11. That is, the program P stored in the storage unit 15 causes the server 10 to realize each function executed by the control unit 11. This program P may or may not be expressed as a program module.
The same applies to other devices.

本開示の各実施形態においては、端末20および/またはサーバ10のCPUがプログラムPを実行することにより、実現するものとして説明する。
他の装置についても同様である。
In each embodiment of the present disclosure, description will be made assuming that the CPU of the terminal 20 and/or the server 10 executes the program P.
The same applies to other devices.

なお、端末20の制御部21、および/または、サーバ10の制御部11は、制御回路を有するCPUだけでなく、集積回路(IC(Integrated Circuit)チップ、LSI(Large Scale Integration))等に形成された論理回路(ハードウェア)や専用回路によって各処理を実現してもよいし、そうでなくてもよい。また、これらの回路は、1または複数の集積回路により実現されてよく、各実施形態に示す複数の処理を1つの集積回路により実現されることとしてもよいし、そうでなくてもよい。また、LSIは、集積度の違いにより、VLSI、スーパーLSI、ウルトラLSIなどと呼称されることもある。そのため、制御部21は、制御回路と表現されてもよいし、されなくてもよい。
他の装置についても同様である。
Note that the control unit 21 of the terminal 20 and/or the control unit 11 of the server 10 may be formed not only in a CPU having a control circuit but also in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)), etc. Each process may or may not be realized by a dedicated logic circuit (hardware) or a dedicated circuit. Further, these circuits may be realized by one or more integrated circuits, and the plurality of processes shown in each embodiment may or may not be realized by one integrated circuit. Furthermore, LSIs are sometimes called VLSIs, super LSIs, ultra LSIs, etc. depending on the degree of integration. Therefore, the control unit 21 may or may not be expressed as a control circuit.
The same applies to other devices.

また、本開示の各実施形態のプログラムP(限定ではなく例として、ソフトウェアプログラム、コンピュータプログラム、またはプログラムモジュール)は、コンピュータに読み取り可能な記憶媒体に記憶された状態で提供されてもよいし、されなくてもよい。 記憶媒体は、「一時的でない有形の媒体」に、プログラムPを記憶可能である。また、プログラムPは、本開示の各実施形態の機能の一部を実現するためのものであってもよいし、そうでなくてもよい。さらに、本開示の各実施形態の機能を記憶媒体にすでに記録されているプログラムPとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよいし、そうでなくてもよい。 Further, the program P (by way of example, but not limitation, a software program, computer program, or program module) of each embodiment of the present disclosure may be provided in a state stored in a computer-readable storage medium, or It doesn't have to be done. The storage medium can store the program P in a "non-temporary tangible medium". Further, the program P may or may not be for realizing a part of the functions of each embodiment of the present disclosure. Furthermore, it may or may not be a so-called difference file (difference program) that can realize the functions of each embodiment of the present disclosure in combination with a program P already recorded on a storage medium.

記憶媒体は、1つまたは複数の半導体ベースの、または他の集積回路(IC)(限定ではなく例として、フィールド・プログラマブル・ゲート・アレイ(FPGA)または特定用途向けIC(ASIC)など)、ハード・ディスク・ドライブ(HDD)、ハイブリッド・ハード・ドライブ(HHD)、光ディスク、光ディスクドライブ(ODD)、光磁気ディスク、光磁気ドライブ、フロッピィ・ディスケット、フロッピィ・ディスク・ドライブ(FDD)、磁気テープ、固体ドライブ(SSD)、RAMドライブ、セキュア・デジタル・カード、またはドライブ、任意の他の適切な記憶媒体、またはこれらの2つ以上の適切な組合せを含むことができる。記憶媒体は、適切な場合、揮発性、不揮発性、または揮発性と不揮発性の組合せでよい。なお、記憶媒体はこれらの例に限られず、プログラムPを記憶可能であれば、どのようなデバイスまたは媒体であってもよい。また、記憶媒体をメモリ(memory)と表現されてもよいし、されなくてもよい。 The storage medium may include one or more semiconductor-based or other integrated circuits (ICs), such as, by way of example and not limitation, a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), a hard・Disk drive (HDD), hybrid hard drive (HHD), optical disk, optical disk drive (ODD), magneto-optical disk, magneto-optical drive, floppy diskette, floppy disk drive (FDD), magnetic tape, solid state (SSD), a RAM drive, a secure digital card, or any other suitable storage medium, or a suitable combination of two or more thereof. Storage media may be volatile, non-volatile, or a combination of volatile and non-volatile, where appropriate. Note that the storage medium is not limited to these examples, and may be any device or medium as long as it can store the program P. Further, the storage medium may or may not be expressed as a memory.

サーバ10および/または端末20は、記憶媒体に記憶されたプログラムPを読み出し、読み出したプログラムPを実行することによって、各実施形態に示す複数の機能部の機能を実現することができる。
他の装置についても同様である。
The server 10 and/or the terminal 20 can realize the functions of the plurality of functional units shown in each embodiment by reading the program P stored in the storage medium and executing the read program P.
The same applies to other devices.

また、本開示のプログラムPは、プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して、サーバ10および/または端末20に提供されてもよいし、されなくてもよい。サーバ10および/または端末20は、限定ではなく例として、インターネット等を介してダウンロードしたプログラムPを実行することにより、各実施形態に示す複数の機能部の機能を実現する。
他の装置についても同様である。
Further, the program P of the present disclosure may or may not be provided to the server 10 and/or the terminal 20 via any transmission medium (communication network, broadcast waves, etc.) that can transmit the program. . By way of example and not limitation, the server 10 and/or the terminal 20 realize the functions of the plurality of functional units shown in each embodiment by executing a program P downloaded via the Internet or the like.
The same applies to other devices.

また、本開示の各実施形態は、プログラムPが電子的な伝送によって具現化されたデータ信号の形態でも実現され得る。
サーバ10および/または端末20における処理の少なくとも一部は、1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよいし、そうでなくてもよい。
端末20における処理の少なくとも一部を、サーバ10により行う構成としてもよいし、そうでなくてもよい。この場合、端末20の制御部21の各機能部の処理のうち少なくとも一部の処理を、サーバ10で行う構成としてもよいし、そうでなくてもよい。
サーバ10における処理の少なくとも一部を、端末20により行う構成としてもよいし、そうでなくてもよい。この場合、サーバ10の制御部11の各機能部の処理のうち少なくとも一部の処理を、端末20で行う構成としてもよいし、そうでなくてもよい。
明示的な言及のない限り、本開示の実施形態における判定の構成は必須でなく、判定条件を満たした場合に所定の処理が動作されたり、判定条件を満たさない場合に所定の処理がされたりしてもよいし、そうでなくてもよい。
Furthermore, each embodiment of the present disclosure may be implemented in the form of a data signal in which the program P is embodied by electronic transmission.
At least part of the processing in the server 10 and/or the terminal 20 may or may not be realized by cloud computing configured by one or more computers.
At least part of the processing in the terminal 20 may or may not be performed by the server 10. In this case, at least part of the processing of each functional unit of the control unit 21 of the terminal 20 may or may not be performed by the server 10.
At least part of the processing in the server 10 may or may not be performed by the terminal 20. In this case, at least part of the processing of each functional unit of the control unit 11 of the server 10 may or may not be performed by the terminal 20.
Unless explicitly stated, the configuration of the determination in the embodiments of the present disclosure is not essential, and a predetermined process may be performed when the determination condition is met, or a predetermined process is performed when the determination condition is not met. You may or may not.

なお、本開示のプログラムは、限定ではなく例として、ActionScript、JavaScript(登録商標)などのスクリプト言語、Objective-C、Java(登録商標)などのコンパイラ言語、HTML5などのマークアップ言語などを用いて実装される。 Note that the program of this disclosure uses, by way of example and not limitation, a scripting language such as ActionScript or JavaScript (registered trademark), a compiler language such as Objective-C or Java (registered trademark), or a markup language such as HTML5. Implemented.

また、本明細書では、適宜「通信I/Fによって」という表現を使用する。これは、装置が、限定ではなく例として、制御部(プロセッサー等)の制御に基づいて、通信I/Fを介して(通信部を介して)、各種の情報やデータを送受信することを示す。 Further, in this specification, the expression "by communication I/F" is used as appropriate. This indicates, by way of example and not limitation, that the device transmits and receives various information and data via the communication I/F (via the communication unit) based on the control of the control unit (processor, etc.) .

また、本明細書では、「期限」の用語は、一定の期間を示すものとして説明する。ただし、「期限」の用語に代えて、「期間」の用語を用いるようにしてもよい。
また、「期限」の用語を、期間が終了する時刻や日時(一定の時刻や一定の日時)の意味で用いるようにしてもよい。
Further, in this specification, the term "deadline" is explained as indicating a certain period of time. However, instead of the term "deadline", the term "period" may be used.
Further, the term "deadline" may be used to mean the time or date and time (fixed time or fixed date and time) at which a period ends.

<第1実施例>
近年、ネットワークサービスに関連するアプリケーション(アプリケーションソフトウェア)として、電子貨幣による電子決済用のアプリケーション(決済アプリケーション)、電子貨幣の送金用のアプリケーション(送金アプリケーション)といったアプリケーションや、これらのアプリケーションの一部の機能または全部の機能を集約した決済アプリケーションが普及しつつあり、端末20のユーザが、これらのアプリケーションを用いて、電子貨幣に関する各種のサービスを受けることが可能になってきている。
<First example>
In recent years, applications (application software) related to network services include applications for electronic payment using electronic money (payment application), applications for remittance of electronic money (remittance application), and some functions of these applications. Alternatively, payment applications that integrate all functions are becoming popular, and it has become possible for users of the terminal 20 to use these applications to receive various services related to electronic money.

以下説明する実施例は、限定ではなく例として、端末20のユーザが、端末20に記憶されて実行される決済アプリケーションを利用して、決済を行う実施例である。具体的には、オンライン状態と、オフライン状態とにおいて、共通に決済を行うための手法を提案する。 The embodiments described below are, by way of example and not limitation, in which a user of the terminal 20 makes a payment using a payment application stored and executed on the terminal 20. Specifically, we propose a method for making payments in both online and offline states.

以下では、決済アプリケーションによる決済サービスを提供する事業者のことを「決済サービスの事業者」と称する。なお、決済サービスの事業者は、決済アプリケーションを提供する事業者や、サーバ10の事業者と表現してもよいし、しなくてもよい。 Hereinafter, a business that provides payment services using a payment application will be referred to as a "payment service business". Note that the payment service provider may or may not be expressed as a provider of a payment application or a provider of the server 10.

また、以下では、決済サービスの事業者によって、サーバ10が運用・管理されることとして説明する。また、以下では、決済アプリケーションの名称を、適宜「Payment App」と称して図示・説明する。 Further, in the following description, it is assumed that the server 10 is operated and managed by a payment service provider. Further, in the following, the name of the payment application will be appropriately referred to as "Payment App" for illustration and explanation.

また、決済アプリケーションは、いわゆるメッセージングサービス(MS:Messaging Service)の機能を有さない単体のアプリケーションとしてサーバ10によって提供されるようにしてもよいし、MSの機能を有する複合的なアプリケーションとしてサーバ10によって提供されるようにしてもよい。また、メッセージングサービスには、端末20間での簡単なメッセージ等のコンテンツの送受信を可能とするインスタントメッセージングサービス(IMS:Instant Messaging Service)を含めてもよいし、含めなくてもよい。 Further, the payment application may be provided by the server 10 as a standalone application that does not have the functions of a so-called messaging service (MS), or may be provided by the server 10 as a composite application that has the functions of an MS. It may be provided by Further, the messaging service may or may not include an instant messaging service (IMS) that enables the transmission and reception of content such as simple messages between the terminals 20.

また、決済アプリケーションは、いわゆるソーシャルネットワーキングサービス(SNS:Social Networking Service)の機能を有さない単体のアプリケーションとしてサーバ10によって提供されるようにしてもよいし、SNSの機能を有する複合的なアプリケーションとしてサーバ10によって提供されるようにしてもよい。 Further, the payment application may be provided by the server 10 as a standalone application that does not have a so-called social networking service (SNS) function, or as a composite application that has a SNS function. It may also be provided by the server 10.

なお、MS(IMSを含む。)は、SNSの1つの形態(一形態)と考えることもできる。このため、MSとSNSとは区別してもよいし、区別しなくてもよい。 Note that MS (including IMS) can also be considered as one form (one form) of SNS. Therefore, MS and SNS may or may not be distinguished.

また、決済サービスの事業者と提携している店舗を「加盟店(加盟店舗)」と称し、図1では「加盟店S1」、「加盟店S2」、・・・、のように示している。 In addition, stores that are affiliated with payment service providers are referred to as "affiliated stores (affiliated stores)," and are indicated in Figure 1 as "affiliated stores S1," "affiliated stores S2," etc. .

また、「電子貨幣」とは、物理的貨幣と区別される電子的な貨幣であって、決済アプリケーションにおいて管理される端末20または端末20のユーザが所有する電子的な貨幣を意味し、「決済」とは、この電子貨幣を利用した電子決済を意味する。 In addition, "electronic money" refers to electronic money that is distinguished from physical money and is owned by the terminal 20 managed by the payment application or the user of the terminal 20. ' means electronic payment using this electronic money.

なお、電子貨幣は、「電子マネー」や「デジタル通貨(デジタル貨幣)」と表現してもよいし、そのようにしなくてもよい。
また、「電子貨幣(電子マネー)」や「デジタル通貨(デジタル貨幣)」として、法定通貨を用いてもよいし、仮想通貨を用いてもよい。
また、「電子貨幣(電子マネー)」や「デジタル通貨(デジタル貨幣)」には、暗号通貨(暗号資産)を含めてもよい。
また、仮想通貨には、クーポンなどの物的貨幣を含めてもよい。
Note that electronic money may or may not be expressed as "electronic money" or "digital currency (digital money)."
Further, legal currency or virtual currency may be used as "electronic money" or "digital currency".
Furthermore, "electronic money (electronic money)" and "digital currency (digital money)" may include cryptocurrencies (cryptoassets).
Further, virtual currency may include physical money such as coupons.

<決済方法>
(1)オンライン決済
まず、一態様として、オンライン決済の手法についてフローチャートを参照して説明する。
<Payment method>
(1) Online Payment First, as one aspect, an online payment method will be described with reference to a flowchart.

以下では、「オンライン」とは、端末20がサーバ10と通信可能であることを示し、「オンライン状態」とは、このオンラインの状態を示すものとする。また、「オンライン決済」とは、オンライン状態でサーバ10によって決済が行われることを示すものとする。 In the following, "online" indicates that the terminal 20 can communicate with the server 10, and "online state" indicates this online state. Furthermore, "online payment" indicates that payment is performed by the server 10 in an online state.

なお、以下では、端末20とサーバ10との通信は、限定ではなく例として、通信会社(通信キャリア)が設置する基地局等を介在して実現される、無線LAN通信とは異なる周波数帯を用いた第1通信方式によって実現されることとする。第1通信方式には、限定ではなく例として、パケット通信(いわゆる端末20におけるモバイルデータ通信)が含まれる。 Note that, in the following, communication between the terminal 20 and the server 10 is performed using a frequency band different from that of wireless LAN communication, which is realized through a base station installed by a communication company (communication carrier), by way of example and not limitation. It is assumed that this is realized by the first communication method used. The first communication method includes, by way of example and not limitation, packet communication (so-called mobile data communication at terminal 20).

また、通信方式として、第1通信方式とは異なる第2通信方式を用いてもよいし、そのようにしなくてもよい。第2通信方式には、限定ではなく例として、無線LAN(例えばWiFi(登録商標))が含まれる。 Further, as the communication method, a second communication method different from the first communication method may or may not be used. The second communication method includes, by way of example and not limitation, wireless LAN (eg, WiFi (registered trademark)).

また、第1通信方式と第2通信方式とのうちの少なくともいずれか一方の通信方式により端末20とサーバ10とが通信可能であることを「オンライン状態」と定義してもよいし、しなくてもよい。 Furthermore, the "online state" may or may not be defined as the terminal 20 and the server 10 being able to communicate using at least one of the first communication method and the second communication method. It's okay.

図3-1は、この場合における各装置が実行する処理の流れの一例を示すフローチャートである。左側から順に、端末20の制御部21が実行する処理、店舗コードリーダ装置50の制御部51が実行する処理、サーバ10の制御部11が実行する処理の一例をそれぞれ示している。 FIG. 3-1 is a flowchart showing an example of the flow of processing executed by each device in this case. Examples of processing executed by the control unit 21 of the terminal 20, processing executed by the control unit 51 of the store code reader device 50, and processing executed by the control unit 11 of the server 10 are shown in order from the left.

各処理における各ステップをアルファベットの大文字と数字の組み合わせで示し、本明細書では「ステップ」の用語は省略する。
また、以下説明するフローチャートは、あくまでも本実施例における処理を例示するものであり、以下説明するフローチャートにおいて、一部のステップを実行しなくてもよいし、追加のステップを挿入してもよい。
これらは、本明細書における他のフローチャートについても同様である。
Each step in each process is indicated by a combination of uppercase letters and numbers, and the term "step" is omitted in this specification.
Further, the flowchart described below is merely an example of the processing in this embodiment, and in the flowchart described below, some steps may not be executed, or additional steps may be inserted.
The same applies to other flowcharts in this specification.

まず、制御部21は、端末表示用コードの生成を依頼するためのコード生成依頼情報を、通信I/F22によって(通信I/F22を介して)サーバ10に送信する(A110)。 First, the control unit 21 transmits code generation request information for requesting generation of a terminal display code to the server 10 using the communication I/F 22 (via the communication I/F 22) (A110).

以下では、限定ではなく例として、「コード情報」とは、符号化(エンコード)等によってコード画像に格納される情報やコード画像に格納されている情報(以下、元の情報という意味で「元情報」と称する。)と、元情報が格納された「コード画像」とを含む概念として説明する。つまり、「コード情報」には、「元情報」と「コード画像」とが含まれる。
「元情報」は、「エンコード情報」や「格納情報」等のように表現してもよいし、そのように表現しなくてもよい。
In the following, by way of example and not limitation, "code information" refers to information stored in a code image through encoding, etc., and information stored in a code image (hereinafter referred to as "original information"). This will be explained as a concept that includes "information") and "code image" in which original information is stored. In other words, "code information" includes "original information" and "code image."
"Original information" may be expressed as "encoded information" or "stored information," or may not be expressed as such.

また、以下では、限定ではなく例として、「コード」といった場合、「コード情報」と実質的に同じ意味合いであるものとする。 Furthermore, hereinafter, by way of example and not limitation, the term "code" is assumed to have substantially the same meaning as "code information."

ただし、これらの定義はあくまでも一例に過ぎず、これらに限定されるものではない。
例えば、「コード情報」の用語を「元情報」の意味で用いるようにしてもよいし、そのようにしなくてもよい。
また、例えば、「コード」の用語を「コード画像」の意味で用いるようにしてもよいし、そのようにしなくてもよい。
However, these definitions are just examples and are not limited to these.
For example, the term "code information" may or may not be used to mean "original information."
Furthermore, for example, the term "code" may or may not be used to mean "code image."

本実施例では、上記の元情報の一例として、サーバ10によってコード生成依頼情報の送信元の端末20毎、または端末20のユーザ毎にユニークに生成される番号であって、所定の桁数のランダムな番号である「決済用番号」を例示する。決済用番号は、端末20、または端末20のユーザと関連付けられた情報であって、サーバ10による決済に用いられる情報とも言える。 In this embodiment, as an example of the above source information, a number that is uniquely generated by the server 10 for each terminal 20 that sends the code generation request information or for each user of the terminal 20, and that has a predetermined number of digits. A "payment number" which is a random number is exemplified. The payment number is information associated with the terminal 20 or the user of the terminal 20, and can also be said to be information used for payment by the server 10.

以下では、コード生成依頼情報に基づきサーバ10によって生成される決済用のコードを「端末表示用コード」と称し、この端末表示用コードのコード画像を「端末表示用コード画像」と称する。 Hereinafter, the payment code generated by the server 10 based on the code generation request information will be referred to as a "terminal display code", and the code image of this terminal display code will be referred to as a "terminal display code image".

詳細は後述するが、端末表示用コード画像には、上記の決済用番号が格納される。
端末表示用コード画像や決済用番号は、コード画像による決済を行うための「第1情報」の一例であり、サーバ10から送信される。
Although details will be described later, the above-mentioned payment number is stored in the terminal display code image.
The terminal display code image and the payment number are examples of "first information" for making payment using the code image, and are transmitted from the server 10.

以下では、上記の端末表示用コード画像の生成をサーバ10に依頼する情報をコード生成依頼情報とする場合を例示する。つまり、本処理では、限定ではなく例として、端末表示用コード画像の生成を端末20からサーバ10に依頼することとし、A110では、端末表示用コード画像の生成を依頼するコード生成依頼情報をサーバ10に送信する。 In the following, a case will be exemplified in which information for requesting the server 10 to generate the above code image for terminal display is code generation request information. That is, in this process, by way of example and not limitation, the terminal 20 requests the server 10 to generate a code image for terminal display, and in A110, code generation request information for requesting generation of the code image for terminal display is sent to the server. Send to 10.

また、本明細書において、「端末表示用コード」とは、決済種別「端末コード表示」での決済に使用されるコードとして説明する。
決済種別「端末コード表示」では、端末20のユーザが店舗等で支払いを行う際に、端末20に記憶されている決済アプリケーションを用いて、端末20で表示される端末表示用コード画像を店舗のコードレジ60で店員に提示する。そして、この端末表示用コード画像を店舗コードリーダ装置50等で読み取ってもらうことで決済を実現する。
端末表示用コードは、端末20のユーザによって店舗等の店員に提示されるコード(コード画像)であるため、「提示用コード」や「ユーザ提示用コード」と表現することもできる。
In addition, in this specification, a "terminal display code" is explained as a code used for payment with the payment type "terminal code display".
In the payment type "terminal code display", when the user of the terminal 20 makes a payment at a store, etc., the user of the terminal 20 uses the payment application stored in the terminal 20 to display the terminal display code image displayed on the terminal 20 at the store. Present the code to the clerk at the cash register 60. Then, payment is realized by having this terminal display code image read by a store code reader device 50 or the like.
Since the terminal display code is a code (code image) presented by the user of the terminal 20 to a clerk at a store or the like, it can also be expressed as a "presentation code" or "user presentation code."

A110で送信するコード生成依頼情報には、限定ではなく例として、端末20、または端末20のユーザを識別するための識別情報を含めることができる。例えば、自己の端末20を識別するための端末識別情報(例えば端末ID)、自己の端末20のユーザを識別するためのユーザ識別情報(例えばユーザID)、決済アプリケーションのアカウント情報(例えばアプリケーションID)等の情報がこれに含まれる。 The code generation request information transmitted in A110 can include, by way of example and not limitation, identification information for identifying the terminal 20 or the user of the terminal 20. For example, terminal identification information for identifying one's own terminal 20 (for example, terminal ID), user identification information for identifying the user of one's own terminal 20 (for example, user ID), account information for a payment application (for example, application ID) This includes information such as:

通信I/F14によって端末20からコード生成依頼情報を受信すると(C110)、制御部11は、端末表示用コード生成処理を行う(C120)。 When receiving code generation request information from the terminal 20 through the communication I/F 14 (C110), the control unit 11 performs a terminal display code generation process (C120).

具体的には、限定ではなく例として、所定の桁数(例えば10桁~12桁程度の桁数)のランダムな数字を発生させる手法(アルゴリズム)を用いて、所定の桁数のランダムな数字を決済用番号として発生させる。そして、限定ではなく例として、少なくとも決済用番号を元情報として含む端末表示用コード画像を生成する。より具体的には、少なくとも決済用番号をエンコード(符号化)し、図形化(画像化)して、二次元コード(例えばQRコード)の画像で表される端末表示用コード画像を生成する。また、受信したコード生成依頼情報に含まれる端末20または端末20のユーザの識別情報と、発生させた決済用番号とを関連付けて記憶部15に記憶させる。 Specifically, as an example and not a limitation, a method (algorithm) that generates a random number of a predetermined number of digits (for example, about 10 to 12 digits) is used to generate a random number of a predetermined number of digits. will be generated as a payment number. Then, by way of example and not limitation, a code image for terminal display is generated that includes at least the payment number as original information. More specifically, at least the payment number is encoded (encoded) and graphically (imaged) to generate a code image for terminal display represented by an image of a two-dimensional code (for example, a QR code). Further, the identification information of the terminal 20 or the user of the terminal 20 included in the received code generation request information and the generated payment number are stored in the storage unit 15 in association with each other.

次いで、制御部11は、生成された端末表示用コード(この例では端末表示用コード画像)を、通信I/F14によって端末20に送信する(C130)。端末20は、通信I/F22によってサーバ10から端末表示用コード(この例では端末表示用コード画像)を受信する(A130)。この場合、制御部21は、限定ではなく例として、受信された端末表示用コード画像を表示部24に表示させる。 Next, the control unit 11 transmits the generated terminal display code (in this example, a terminal display code image) to the terminal 20 via the communication I/F 14 (C130). The terminal 20 receives a terminal display code (in this example, a terminal display code image) from the server 10 via the communication I/F 22 (A130). In this case, the control unit 21 causes the display unit 24 to display the received terminal display code image, by way of example and not limitation.

その後、表示部24に表示された端末表示用コード画像が、端末20のユーザによって店舗の店員等に提示されると、制御部51は、端末20の表示部24に表示された端末表示用コード画像をコードリーダ58に読み取らせる制御を行う(B150)。 Thereafter, when the terminal display code image displayed on the display unit 24 is presented to a store clerk or the like by the user of the terminal 20, the control unit 51 controls the terminal display code image displayed on the display unit 24 of the terminal 20. Control is performed to cause the code reader 58 to read the image (B150).

その後、制御部51は、決済サービスの事業者によって提供(配布)される、決済アプリケーションと関連付けられたアプリケーションインターフェイス(API)等を用いて通信I/F54によってサーバ10にアクセスし、少なくとも、読み取った端末表示用コード画像からデコードによって取得した決済用番号と、店舗または店舗コードリーダ装置50を識別するための識別情報(以下、「店舗識別情報」と称する。)と、決済予定の金額(以下、「決済予定金額」と称する。)とを含む決済要求情報を、通信I/F54によってサーバ10に送信する(B160)。 Thereafter, the control unit 51 accesses the server 10 through the communication I/F 54 using an application interface (API) associated with the payment application provided (distributed) by the payment service provider, and at least reads the data. The payment number obtained by decoding from the terminal display code image, identification information for identifying the store or store code reader device 50 (hereinafter referred to as "store identification information"), and the scheduled payment amount (hereinafter referred to as "store identification information"). (referred to as "scheduled payment amount") is transmitted to the server 10 via the communication I/F 54 (B160).

通信I/F14によって店舗コードリーダ装置50から決済要求情報を受信すると(C160)、制御部11は、決済処理を行う(C170)。具体的には、受信した決済要求情報に含まれる決済用番号が、端末20または端末20のユーザの識別情報と関連付けて記憶部15に記憶されているか否かを判定する。そして、記憶されている場合は「決済可能」と判定し、その決済用番号と関連付けて記憶されている識別情報から識別される端末20または端末20のユーザの電子貨幣の残高(決済アプリケーションのアプリケーションIDに関連付けられた電子貨幣の残高)(以下、単に「残高」と称する。)から決済予定金額を減算して決済する。 When the communication I/F 14 receives payment request information from the store code reader device 50 (C160), the control unit 11 performs payment processing (C170). Specifically, it is determined whether the payment number included in the received payment request information is stored in the storage unit 15 in association with the identification information of the terminal 20 or the user of the terminal 20. If the payment number is stored, it is determined that "payment is possible", and the electronic money balance of the terminal 20 or the user of the terminal 20 identified from the identification information stored in association with the payment number (payment application application Payment is made by subtracting the scheduled payment amount from the electronic money balance associated with the ID (hereinafter simply referred to as the "balance").

その後、制御部11は、店舗用の決済完了通知(以下、「店舗用決済完了通知」と称する。)を、通信I/F14によって店舗コードリーダ装置50に送信する(C180)。店舗用決済完了通知には、限定ではなく例として、決済が完了(成功)した旨と、決済した日時(決済日時)と、決済した金額(決済金額)等の店舗用決済情報とが含まれる。 Thereafter, the control unit 11 transmits a store payment completion notification (hereinafter referred to as "store payment completion notification") to the store code reader device 50 via the communication I/F 14 (C180). The store payment completion notification includes, by way of example and not limitation, the fact that the payment has been completed (successful), the date and time of payment (payment date and time), and store payment information such as the payment amount (payment amount). .

また、制御部11は、端末用の決済完了通知(以下、「端末用決済完了通知」と称する。)を、通信I/F14によって端末20に送信する(C190)。端末用決済完了通知には、限定ではなく例として、決済が完了(成功)した旨と、決済した日時(決済日時)、決済した店舗の店舗識別情報(決済店舗識別情報)、決済した金額(決済金額)等の端末用決済情報とが含まれる。そして、制御部11は、処理を終了する。 Further, the control unit 11 transmits a terminal payment completion notification (hereinafter referred to as "terminal payment completion notification") to the terminal 20 via the communication I/F 14 (C190). The terminal payment completion notification includes, by way of example and not limitation, the fact that the payment was completed (successful), the date and time of the payment (payment date and time), the store identification information of the store where the payment was made (payment store identification information), and the payment amount ( payment information for the terminal, such as payment amount). Then, the control unit 11 ends the process.

なお、ここでは、サーバ10による決済が成功した場合に、店舗用決済完了通知と端末用決済完了通知とがサーバ10から送信されることとするが、残高の不足等により、サーバ10が決済を行うことができない場合がある。この場合は、決済を行うことができなかった旨の通知(例えば決済エラー通知、決済NG通知)を、店舗コードリーダ装置50と端末20とに送信するようにすればよい。
他の処理においても同様である。
Here, it is assumed that when the payment by the server 10 is successful, the server 10 sends a payment completion notification for the store and a payment completion notification for the terminal. It may not be possible to do so. In this case, a notification to the effect that the payment could not be made (for example, a payment error notification or a payment NG notification) may be sent to the store code reader device 50 and the terminal 20.
The same applies to other processes.

通信I/F54によってサーバ10から店舗用決済完了通知を受信すると(B180)、制御部51は、処理を終了する。 When the communication I/F 54 receives the store payment completion notification from the server 10 (B180), the control unit 51 ends the process.

また、通信I/F22によって端末用決済完了通知をサーバ10から受信すると、制御部21は、受信された端末用決済完了通知に基づき、決済アプリケーションのデータとして端末20で記憶している残高を更新する。また、制御部21は、決済結果を表示部24に表示させる(A190)。そして、制御部21は、処理を終了する。 Further, when receiving a terminal payment completion notification from the server 10 through the communication I/F 22, the control unit 21 updates the balance stored in the terminal 20 as payment application data based on the received terminal payment completion notification. do. Further, the control unit 21 causes the display unit 24 to display the payment result (A190). Then, the control unit 21 ends the process.

図3-2は、端末20で実行される決済アプリケーションで表示されるトップ画面の一例を示す図である。
このトップ画面は、決済アプリケーションを起動した際に表示される表示画面であり、画面上部に、決済アプリケーションの名称である「Payment APP」が表示されている。その下の枠内には、残高(ここでは「3000円」)が表示されており、その横には、電子貨幣をチャージ(追加)するためのチャージボタンが表示されている。また、その下には、決済アプリケーションの各種の機能に対応する複数の機能アイコンが表示されている。
FIG. 3-2 is a diagram showing an example of the top screen displayed by the payment application executed on the terminal 20.
This top screen is a display screen that is displayed when the payment application is started, and the name of the payment application, "Payment APP", is displayed at the top of the screen. The balance (here, "3000 yen") is displayed in the frame below, and next to it, a charge button for charging (adding) electronic money is displayed. Further, below that, a plurality of function icons corresponding to various functions of the payment application are displayed.

これらの機能アイコンのうち、「コード」と示されたアイコンは、限定ではなく例として、表示部24にコード表示画面を表示させるための「コードアイコン」である。このコードアイコンが端末20のユーザによりタッチ操作されると、限定ではなく例として、端末20からサーバ10にコード生成依頼情報が送信され、サーバ10によって端末表示用コードが生成される。そして、生成された端末表示用コードがサーバ10から端末20に送信されて、図3-3に示すコード表示画面が端末20の表示部24に表示される。 Among these function icons, the icon labeled "Code" is, by way of example and not limitation, a "code icon" for displaying a code display screen on the display unit 24. When this code icon is touched by the user of the terminal 20, by way of example and not limitation, code generation request information is transmitted from the terminal 20 to the server 10, and the server 10 generates a terminal display code. The generated terminal display code is then transmitted from the server 10 to the terminal 20, and the code display screen shown in FIG. 3-3 is displayed on the display section 24 of the terminal 20.

図3-3は、コード表示画面の一例を示す図である。
このコード表示画面には、画面上部に「コード」の文字が表示され、その下に、決済方法と、ユーザが所有しているポイントと、そのポイントを利用して決済を行うか否かを設定するためのポイントタブとが表示されている。
FIG. 3-3 is a diagram showing an example of a code display screen.
On this code display screen, the word "code" is displayed at the top of the screen, and below it, the payment method, the points the user owns, and whether or not to use those points for payment are set. Points tab and are displayed.

また、その下には、サーバ10から取得した端末表示用コードのコード画像として、バーコードで表される一次元の端末表示用コード画像と、QRコードで表される二次元の端末表示用コード画像QC0とが、表示画面内の異なる領域にそれぞれ表示されている。また、限定ではなく例として、一次元の端末表示用コード画像の下には、12桁の決済用番号が表示されている。 Below that, as the code image of the terminal display code obtained from the server 10, there is a one-dimensional terminal display code image represented by a barcode, and a two-dimensional terminal display code represented by a QR code. Images QC0 are displayed in different areas within the display screen. Furthermore, by way of example and not limitation, a 12-digit payment number is displayed below the one-dimensional terminal display code image.

また、この例では、コード表示画面に表示される端末表示用コードには、そのコードを表示する期限(以下、「コード表示期限」と称する。)がある。 Further, in this example, the terminal display code displayed on the code display screen has a deadline for displaying the code (hereinafter referred to as "code display deadline").

コード表示期限は、限定ではなく例として、端末20で端末表示用コードが表示される期間である。コード表示期限は、限定ではなく例として、「端末で端末表示用コードが表示された(表示が開始された)時刻(日時)からコード表示時間が経過するまでの期間」とすることができる。コード表示時間は、適宜設定変更可能であるが、限定ではなく例として「5分」とすることができる。 The code display deadline is, by way of example and not limitation, a period during which the terminal display code is displayed on the terminal 20. The code display time limit may be, by way of example and not limitation, "the period from the time (date and time) when the terminal display code is displayed (display started) on the terminal until the code display time has elapsed." Although the code display time can be changed as appropriate, it can be set to "5 minutes" by way of example and not limitation.

なお、コード表示期限を、端末20で端末表示用コードが表示される期間と定義するのではなく、端末20で端末表示用コードが表示される期間が終了(満了)する時刻(日時)と定義するようにしてもよいし、そのようにしなくてもよい。 Note that the code display deadline is not defined as the period during which the terminal display code is displayed on the terminal 20, but is defined as the time (date and time) when the period during which the terminal display code is displayed on the terminal 20 ends (expires). You may or may not do so.

そして、二次元の端末表示用コード画像QC0の下には、更新のマークおよび更新の文字とともに、コード表示期限の残り時間がカウントダウン形式で表示されている。この残り時間は、端末20の時計部29Aによって計時される情報に基づき表示される。
残り時間が「0」になると、コード表示画面は閉じられ、端末表示用コードは非表示とされる。その後に端末20のユーザが決済を行いたい場合は、サーバ10から端末表示用コードを再取得することが必要となる。
Under the two-dimensional terminal display code image QC0, the remaining time of the code display deadline is displayed in a countdown format along with an update mark and update characters. This remaining time is displayed based on information measured by the clock section 29A of the terminal 20.
When the remaining time reaches "0", the code display screen is closed and the terminal display code is hidden. If the user of the terminal 20 subsequently wishes to make a payment, it is necessary to reacquire the terminal display code from the server 10.

端末20のユーザは、コード表示期限内に、図3-3のコード表示画面をコードレジ60で店舗の店員に提示し、店舗コードリーダ装置50で端末表示用コード画像を読み取ってもらうことで決済を行う。この場合、店舗コードリーダ装置50は、前述したAPI等を用いて通信I/F54によってサーバ10にアクセスして、決済に必要な情報をサーバ10に送信する。これにより、サーバ10によって決済処理が行われる。 The user of the terminal 20 can make a payment by presenting the code display screen shown in FIG. 3-3 to the store clerk at the code register 60 and having the store code reader device 50 read the terminal display code image within the code display period. I do. In this case, the store code reader device 50 accesses the server 10 through the communication I/F 54 using the above-mentioned API, etc., and transmits information necessary for payment to the server 10. As a result, the server 10 performs payment processing.

ここまで、オンライン決済を実現するための処理を例示した。この処理では、サーバ10によって生成されて端末20に送信された端末表示用コードが、限定ではなく例として、すぐに決済に利用される。 Up to this point, we have illustrated the processing for realizing online payment. In this process, the terminal display code generated by the server 10 and sent to the terminal 20 is immediately used for payment, by way of example and not limitation.

しかしながら、ユーザによっては、サーバ10から受信された端末表示用コードをすぐに利用して決済を行うのではなく、後から利用して決済を行うことを希望するような場合もある。 However, some users may not wish to use the terminal display code received from the server 10 immediately to make a payment, but to use it later to make a payment.

また、上記の処理を適用するためには、端末20とサーバ10とが通信可能な状態(オンライン状態)であることが必要となる。勿論、店舗コードリーダ装置50とサーバ10とが通信可能な状態であることも必要である。 Furthermore, in order to apply the above processing, it is necessary that the terminal 20 and the server 10 be in a communicable state (online state). Of course, it is also necessary that the store code reader device 50 and the server 10 be in a communicable state.

しかしながら、地下などの電波状況が悪い場所で決済を行う場合や、イベント会場などの回線が混雑している状況で決済を行う場合、端末20の一定期間(例えばひと月)における通信量が一定量を超えるなどして通信制限や通信の速度制限かかけられている場合等において、端末20とサーバ10とが通信不能(または通信困難)となった結果、決済を行うのが困難になる場合が想定される。 However, when making a payment in a place where the signal strength is poor, such as underground, or when making a payment in a situation where the line is congested, such as at an event venue, the communication amount of the terminal 20 for a certain period (for example, one month) is limited. It is assumed that in cases where communication restrictions or communication speed limits are imposed due to exceedance, etc., the terminal 20 and the server 10 become unable to communicate (or have communication difficulties), making it difficult to make payments. be done.

そこで、以下では、これらの場合であっても決済を実現するための手法を例示する。
なお、以下説明する決済の手法は、オンライン状態と、オフライン状態とのいずれについても同様に適用可能であるが、ここでは、オフライン状態における決済を実現するための手法として説明する。
Therefore, below, we will exemplify a method for realizing payment even in these cases.
Note that although the payment method described below is similarly applicable to both the online state and the offline state, it will be described here as a method for realizing payment in the offline state.

(2)オフライン決済
本開示の手法の一態様としてのオフライン決済の手法について、フローチャートを参照して説明する。
以下では、「オフライン」とは、端末20がサーバ10と通信することができないことをを示し、「オフライン状態」とは、このオフラインの状態を示すものとする。また、「オフライン決済」とは、オフライン状態においてサーバ10によって決済が行われることを示すものとする。また、前提として、店舗コードリーダ装置50はサーバ10と通信することができるものとする。
(2) Offline Payment An offline payment method as one aspect of the disclosed method will be described with reference to a flowchart.
In the following, "offline" indicates that the terminal 20 cannot communicate with the server 10, and "offline state" indicates this offline state. Furthermore, "offline payment" indicates that payment is performed by the server 10 in an offline state. Furthermore, it is assumed that the store code reader device 50 can communicate with the server 10.

図3-4は、この場合における各装置が実行する処理の流れの一例を示すフローチャートである。図の見方は、前述したフローチャートと同様である。 FIG. 3-4 is a flowchart showing an example of the flow of processing executed by each device in this case. The diagram can be viewed in the same way as the flowchart described above.

図3-4のフローチャートは、図3-1のフローチャートをオフライン仕様に書き換えたものである。図3-1のフローチャートとは、限定ではなく例として、オンライン状態での処理ステップ(例えばA240)、オフライン状態での処理ステップ(例えばA250、B250、B280)、オフライン状態からオンライン状態に復帰した場合の処理ステップ(例えばA290、C290)が異なる。 The flowchart in FIG. 3-4 is a rewrite of the flowchart in FIG. 3-1 into offline specifications. The flowchart in Figure 3-1 includes, by way of example and not limitation, processing steps in an online state (for example, A240), processing steps in an offline state (for example, A250, B250, B280), and a case when returning from an offline state to an online state. The processing steps (for example, A290, C290) are different.

A130の後、制御部21は、受信された端末表示用コード(この例では端末表示用コード画像)を記憶部28にストックする(A240)。 After A130, the control unit 21 stores the received terminal display code (in this example, a terminal display code image) in the storage unit 28 (A240).

ここで、「ストック」とは、受信された端末表示用コードを後で利用可能とするために、記憶部28に記憶させることを意味する。
なお、本明細書では、「ストック」のことを、単に「記憶」と表現することもある。また、端末表示用コードをストックすることを、「端末表示用コードを端末表示用コードストックデータに記憶させる」と表現することもある。
Here, "stock" means storing the received terminal display code in the storage unit 28 so that it can be used later.
Note that in this specification, "stock" is sometimes simply expressed as "memory." Furthermore, storing the terminal display code is sometimes expressed as "storing the terminal display code in the terminal display code stock data."

この処理では、オフライン決済を可能とするために、オンライン状態においてサーバ10から取得した端末表示用コード(この例では端末表示用コード画像)を端末20の記憶部28にストック(記憶)させておく。そして、オフライン状態での決済が必要となった場合に、ストックされた端末表示用コードを用いて、サーバ10と通信する必要なく決済ができるようにする。 In this process, in order to enable offline payment, the terminal display code (terminal display code image in this example) acquired from the server 10 in the online state is stocked (stored) in the storage unit 28 of the terminal 20. . When payment needs to be made offline, the stocked terminal display code can be used to make the payment without having to communicate with the server 10.

具体的に説明する。A240の後、オフライン状態になったとする。
ここで、端末20は、限定ではなく例として、以下のいずれかの手法によってオフライン状態となったことを検出する。
I will explain in detail. Assume that after A240, the state becomes offline.
Here, by way of example and not limitation, the terminal 20 detects that it is in an offline state using one of the following methods.

(A)端末20での決済アプリケーションの実行中、定期的なタイミングや特定のタイミングで、サーバ10から接続確認要求が端末20に送信され、端末20からは、その接続確認要求に対して、識別情報(例えばアプリケーションID)を含む接続応答がサーバ10に送信されるようにする。この場合、端末20の制御部21は、サーバ10から接続確認要求を受信しなくなった場合に、オフライン状態になったと判定する。 (A) While the payment application is being executed on the terminal 20, a connection confirmation request is sent from the server 10 to the terminal 20 at regular timing or at a specific timing. A connection response including information (for example, application ID) is sent to the server 10. In this case, when the control unit 21 of the terminal 20 no longer receives a connection confirmation request from the server 10, it determines that the terminal 20 is in an offline state.

(B)端末20での決済アプリケーションの実行中、定期的なタイミングや特定のタイミングで、端末20から識別情報(例えばアプリケーションID)を含む接続通知がサーバ10に送信され、サーバ10からは、その接続通知に対して、接続確認が端末20に送信されるようにする。オフライン状態では、端末20からサーバ10に接続通知を送信することができない。このため、限定ではなく例として、端末20の制御部21は、接続通知の送信エラーの発生を検知した場合に、オフライン状態となったと判定する。 (B) While the payment application is being executed on the terminal 20, a connection notification containing identification information (for example, application ID) is sent from the terminal 20 to the server 10 at regular timing or at a specific timing, and the server 10 A connection confirmation is sent to the terminal 20 in response to the connection notification. In the offline state, a connection notification cannot be sent from the terminal 20 to the server 10. Therefore, by way of example and not limitation, the control unit 21 of the terminal 20 determines that the terminal is in an offline state when detecting the occurrence of a connection notification transmission error.

なお、端末20が、限定ではなく例として、ネットワークの接続状況を取得するライブラリやアプリケーション等を用いて、自己の端末20の通信状況に関する情報を取得して、オフライン状態となったか否かを判定するようにしてもよいし、そのようにしなくてもよい。 Note that, by way of example and not limitation, the terminal 20 may use a library or application that obtains the network connection status to obtain information regarding the communication status of its own terminal 20 and determine whether or not it has become offline. You may or may not do so.

オフライン状態において、限定ではなく例として、端末20のユーザによってコード表示操作がなされると、制御部21は、コード表示処理を行う(A250)。具体的には、A240でストックされた端末表示用コード画像を表示部24に表示させる。そして、表示された端末表示用コード画像が端末20のユーザによって店舗の店員等に提示されると、制御部51は、端末20の表示部24に表示された端末表示用コード画像を、コードリーダ58に読み取らせる制御を行う(B250)。そして、制御部51は、B160へと処理を移す。 In the offline state, by way of example and not limitation, when the user of the terminal 20 performs a code display operation, the control unit 21 performs code display processing (A250). Specifically, the terminal display code image stocked in A240 is displayed on the display section 24. Then, when the displayed code image for terminal display is presented to a store clerk or the like by the user of the terminal 20, the control unit 51 transfers the code image for terminal display displayed on the display unit 24 of the terminal 20 to the code reader. 58 is controlled to read (B250). The control unit 51 then moves the process to B160.

B160の後、通信I/F54によってサーバ10から店舗用決済完了通知を受信すると(B280)、受信された店舗用決済完了通知に基づき、店舗の店員等はオフライン決済が完了(成功)したことを端末20のユーザに口頭で通知する。 After B160, when a store payment completion notification is received from the server 10 via the communication I/F 54 (B280), the store clerk, etc. receives a notification that the offline payment has been completed (successful) based on the received store payment completion notification. The user of the terminal 20 is notified orally.

C180の後、制御部11は、端末用決済完了通知を端末20に送信する(C290)。しかし、オフライン状態では、端末20は端末用決済完了通知を受信できない。端末20がオンライン状態に復帰すると、サーバ10から送信された端末用決済完了通知が端末20で受信される。そして、通信I/F22によって端末用決済完了通知をサーバ10から受信すると、制御部21は、受信された端末用決済完了通知に基づき、決済結果を表示部24に表示させる(A290)。 After C180, the control unit 11 transmits a terminal payment completion notification to the terminal 20 (C290). However, in the offline state, the terminal 20 cannot receive the terminal payment completion notification. When the terminal 20 returns to the online state, the terminal 20 receives the terminal payment completion notification sent from the server 10. Then, when the terminal payment completion notification is received from the server 10 through the communication I/F 22, the control unit 21 causes the display unit 24 to display the payment result based on the received terminal payment completion notification (A290).

以上説明した処理が、オフライン決済を行うための処理の一例である。 The process described above is an example of a process for performing offline payment.

なお、コード生成依頼情報は、1個の端末表示用コードの生成を依頼する情報としてもよいが、複数(2以上)の端末表示用コードの生成を依頼する情報としてもよい。具体的には、限定ではなく例として、端末表示用コードを1つ1つ追加するようにするのではなく、端末20側またはサーバ10側で、端末20が一度に生成を依頼するコードの数(サーバ10が一度に生成するコードの数)の上限を設定しておく。そして、この上限の数の端末表示用コードを、端末20のユーザが1回の操作で一気に取得するようにしてもよい。この場合、サーバ10によって複数の端末表示用コードが生成され、生成された複数の端末表示用コードが端末20に送信されて、受信された複数の端末表示用コードを端末20でストックするようにすればよい。 Note that the code generation request information may be information requesting generation of one terminal display code, but may also be information requesting generation of multiple (two or more) terminal display codes. Specifically, as an example and not a limitation, instead of adding terminal display codes one by one, the number of codes that the terminal 20 requests to be generated at one time on the terminal 20 side or the server 10 side. (the number of codes that the server 10 generates at one time) is set. Then, the user of the terminal 20 may acquire this upper limit number of terminal display codes at once with one operation. In this case, multiple terminal display codes are generated by the server 10, the generated multiple terminal display codes are transmitted to the terminal 20, and the received multiple terminal display codes are stored in the terminal 20. do it.

上記の処理は、オンライン状態においても同様に適用可能である。つまり、
(1)オンライン状態において後から端末表示用コードを利用して決済を行う場合
(2)オフライン決済を行う場合
のいずれかの場合に、上記のように、オンライン状態においてサーバ10によって生成されて送信された端末表示用コードを端末20でストックしておく。そして、端末20でストックしておいた端末表示用コードを用いて決済を行う。
The above process can be applied in the online state as well. In other words,
(1) When making a payment using the terminal display code later in the online state; (2) When making an offline payment; as described above, it is generated and transmitted by the server 10 in the online state. The terminal display code obtained is stored in the terminal 20. Then, payment is made using the terminal display code stored on the terminal 20.

しかしながら、ユーザによっては、端末表示用コードを端末20にストックさせたことを忘れてしまう場合がある。
また、例えば複数の端末表示用コードを端末20にストックさせるような場合、既に決済に利用された端末表示用コードの数や、未だ決済に利用されていない端末表示用コードの数を、ユーザが把握することが困難な場合がある。
However, some users may forget that they have stored the terminal display code in the terminal 20.
In addition, for example, when storing multiple terminal display codes in the terminal 20, the user can check the number of terminal display codes that have already been used for payment and the number of terminal display codes that have not yet been used for payment. It can be difficult to understand.

<機能構成>
(1)サーバの機能構成
図4-1は、本実施例におけるサーバ10の制御部11により実現される機能の一例を示す図である。
<Functional configuration>
(1) Functional Configuration of Server FIG. 4-1 is a diagram showing an example of functions realized by the control unit 11 of the server 10 in this embodiment.

以下では、端末20のユーザが、端末20に記憶されている決済アプリケーションを用いて、限定ではなく例として、前述した決済種別「端末コード表示」による決済を行う場合を例示する。 In the following, a case will be described in which the user of the terminal 20 uses a payment application stored in the terminal 20 to make a payment using the above-mentioned payment type "terminal code display", by way of example and not limitation.

サーバ10は、制御部11により実現される機能として、決済管理処理部111を有する。 The server 10 has a payment management processing section 111 as a function realized by the control section 11.

決済管理処理部111は、記憶部15に記憶されている決済管理処理プログラム151に従って、端末20で実行される決済アプリケーションに関する各種の情報やデータの管理や、端末20または端末20のユーザの電子貨幣による決済を管理するための決済管理処理を実行する機能を有している。 The payment management processing unit 111 manages various information and data related to the payment application executed on the terminal 20, and manages electronic money of the terminal 20 or the user of the terminal 20, according to the payment management processing program 151 stored in the storage unit 15. It has the function of executing payment management processing to manage payments made by

本実施例において、決済管理処理部111は、記憶部15に記憶されている決済管理処理プログラム151に従って、例えば図3-4に示した処理を決済管理処理として実行する。 In this embodiment, the payment management processing unit 111 executes, for example, the process shown in FIGS. 3-4 as the payment management process, according to the payment management processing program 151 stored in the storage unit 15.

決済管理処理部111は、限定ではなく例として、端末表示用コード生成処理によって端末表示用コードを生成する端末表示用コード生成処理部1111と、決済処理によって決済を実行する決済処理部1113とを機能部として含む。 By way of example and not limitation, the payment management processing unit 111 includes a terminal display code generation processing unit 1111 that generates a terminal display code through terminal display code generation processing, and a payment processing unit 1113 that executes payment through payment processing. Included as a functional part.

端末表示用コード生成処理部1111は、限定ではなく例として、二次元コードで表される端末表示用コード画像を生成する。二次元コードとは、水平方向と垂直方向とに情報を持つ表示方式のコードであり、小さな正方形を上下左右に配列させたマトリックス式のコード(以下、「マトリックスコード」と称す。)や、一次元コード(限定ではなく例としてバーコード)を上下に複数重ねたスタック式のコード(以下、「スタックコード」と称す。)等がある。 The terminal display code generation processing unit 1111 generates a terminal display code image represented by a two-dimensional code, by way of example and not limitation. A two-dimensional code is a display type code that has information in the horizontal and vertical directions, and includes a matrix code in which small squares are arranged vertically and horizontally (hereinafter referred to as "matrix code"), and a one-dimensional code. There are stacked codes (hereinafter referred to as "stacked codes") in which a plurality of original codes (barcodes, as an example, not limited) are stacked one above the other.

本実施例では、説明の簡明化のため、広く用いられているマトリックスコードの一例であるQRコード(登録商標)を、端末表示用コードの一例として説明する。 In this embodiment, in order to simplify the explanation, a QR code (registered trademark), which is an example of a widely used matrix code, will be described as an example of a terminal display code.

なお、本実施例とは異なり、QRコード以外のマトリックスコードとして、SPコードやベリコード、マキシコード、CPコード、カメレオンコード等のコードを用いてもよいし、用いなくてもよい。また、マトリックスコードではなく、各種のスタックコードを用いてもよいし、用いなくてもよい。 Note that, unlike the present embodiment, as a matrix code other than the QR code, a code such as an SP code, Vericode, maxi code, CP code, or Chameleon code may or may not be used. Furthermore, instead of the matrix code, various stack codes may or may not be used.

また、端末表示用コード生成処理部1111が、端末表示用コードとして、二次元コード(限定ではなく例として、QRコード)に加えて、一次元コード(限定ではなく例として、バーコード)を生成するようにしてもよいし、そのようにしなくてもよい。これは、店舗によっては、二次元コードの読み取りには対応していないが、一次元コードの読み取りには対応可能な場合があるためである。 In addition, the terminal display code generation processing unit 1111 generates a one-dimensional code (by way of example and not limitation, a barcode) in addition to a two-dimensional code (by way of example and not limitation, a QR code). You may or may not do so. This is because some stores may not be able to read two-dimensional codes, but may be able to read one-dimensional codes.

決済処理部1113は、限定ではなく例として、店舗POSシステム40から送信される情報や、端末20から送信される情報に基づいて、決済処理を行う機能を有している。 The payment processing unit 1113 has, by way of example and not limitation, a function of performing payment processing based on information transmitted from the store POS system 40 or information transmitted from the terminal 20.

図4-2は、本実施例におけるサーバ10の記憶部15に記憶される情報の一例を示す図である。
記憶部15には、限定ではなく例として、プログラムとして、制御部11により読み出され、決済管理処理として実行される決済管理処理プログラム151が記憶される。
FIG. 4-2 is a diagram showing an example of information stored in the storage unit 15 of the server 10 in this embodiment.
The storage unit 15 stores, by way of example and not limitation, a payment management processing program 151 that is read out by the control unit 11 and executed as payment management processing.

また、記憶部15には、限定ではなく例として、データとして、ユーザ登録データ153と、店舗登録データ155と、決済管理データベース157と、コード管理データベース159とが記憶される。 Further, the storage unit 15 stores user registration data 153, store registration data 155, payment management database 157, and code management database 159 as data, by way of example and not limitation.

ユーザ登録データ153は、決済サービスを利用する端末20および端末20のユーザの登録データであり、そのデータ構成の一例を図4-3に示す。
ユーザ登録データ153には、限定ではなく例として、ユーザ名と、端末電話番号と、端末メールアドレスと、アプリケーションIDと、認証パスワードと、その他登録情報とが関連付けて記憶される。
The user registration data 153 is registration data of the terminal 20 that uses the payment service and the user of the terminal 20, and an example of the data structure is shown in FIG. 4-3.
The user registration data 153 stores, by way of example and not limitation, a user name, a terminal telephone number, a terminal e-mail address, an application ID, an authentication password, and other registration information in association with each other.

ユーザ名は、決済サービスを利用する端末20のユーザの名称であり、端末20のユーザが決済サービスを利用する際に登録する名称が記憶される。 The user name is the name of the user of the terminal 20 who uses the payment service, and stores the name that the user of the terminal 20 registers when using the payment service.

端末電話番号は、このユーザ名のユーザの端末20の電話番号であり、端末20のユーザが決済アプリケーションを利用する際に登録する端末20の電話番号が記憶される。
端末メールアドレスは、このユーザ名のユーザの端末20のメールアドレスであり、端末20のユーザが決済アプリケーションを利用する際に登録する端末20のメールアドレスが記憶される。
端末電話番号や端末メールアドレスは、端末20を識別するための識別情報(以下、「端末識別情報」と称す。)の一例である。
The terminal phone number is the phone number of the terminal 20 of the user with this user name, and stores the phone number of the terminal 20 that the user of the terminal 20 registers when using the payment application.
The terminal email address is the email address of the terminal 20 of the user with this user name, and stores the email address of the terminal 20 that the user of the terminal 20 registers when using the payment application.
The terminal telephone number and the terminal email address are examples of identification information for identifying the terminal 20 (hereinafter referred to as "terminal identification information").

アプリケーションIDは、決済アプリケーションのアカウント(アカウント情報)であって、端末20、または端末20のユーザを識別可能とするIDである。このアプリケーションIDは、限定ではなく例として、サーバ10によって固有のIDが設定されて記憶される。 The application ID is an account (account information) of the payment application, and is an ID that allows the terminal 20 or the user of the terminal 20 to be identified. This application ID is set and stored as a unique ID by the server 10, by way of example and not limitation.

認証パスワードは、このユーザ名のユーザの端末20において、決済用の認証処理(以下、単に「認証処理」と称す。)を行う際にユーザに入力を要求する認証用のパスワードであり、ユーザによって設定されたパスワードが記憶される。 The authentication password is an authentication password that the user is required to input when performing payment authentication processing (hereinafter simply referred to as "authentication processing") on the terminal 20 of the user with this user name. The password you set will be remembered.

なお、決済用の認証処理は、必ずしも行わなければならないわけではなく、行わないようにすることも可能である。この場合は、認証パスワードをユーザ登録データ153に記憶させておく必要はない。 Note that the authentication process for payment does not necessarily have to be performed, and may not be performed. In this case, there is no need to store the authentication password in the user registration data 153.

その他登録情報は、このユーザ名のユーザのその他の登録情報であり、限定ではなく例として、決済アプリケーションにおいてユーザが使用するアイコンの画像データであるユーザアイコン画像やユーザのプロフィール等がこれに含まれる。 Other registered information is other registered information of the user with this username, and includes, by way of example and not limitation, a user icon image, which is the image data of the icon used by the user in the payment application, the user's profile, etc. .

店舗登録データ155は、決済アプリケーションを提供する事業者(サーバ10の事業者)と提携している店舗の登録データである。この店舗登録データ155の一例である店舗登録データ155Aのデータ構成例を、図4-4に示す。
店舗登録データ155Aには、限定ではなく例として、業種と、店舗名と、店舗位置情報と、店舗POSシステム情報と、店舗IDとが店舗情報として関連付けて記憶される。
Store registration data 155 is registration data of stores that are affiliated with a business that provides a payment application (business of server 10). An example of the data structure of store registration data 155A, which is an example of this store registration data 155, is shown in FIG. 4-4.
In the store registration data 155A, by way of example and not limitation, industry type, store name, store location information, store POS system information, and store ID are stored in association with each other as store information.

業種には、店舗の業種が記憶される。この業種には、限定ではなく例として、「コンビニエンスストア」、「スーパーマーケット」、「薬局」、「居酒屋」、「百貨店」、「レストラン」、「本屋」、「時計店」といった各種の業種が含まれる。 The industry type stores the industry type of the store. This industry includes, by way of example and not limitation, "convenience stores," "supermarkets," "pharmacies," "izakayas," "department stores," "restaurants," "bookstores," and "watch stores." It will be done.

店舗名には、各業種それぞれについて、その業種に含まれる(属する)店舗の店舗名が記憶される。 In the store name field, for each business type, store names of stores included in (belonging to) that business type are stored.

店舗位置情報には、この店舗名の店舗の所在地の位置情報(以下、「店舗位置情報」と称す。)が記憶される。この店舗位置情報は、店舗の所在地を2次元または3次元の位置座標で表したものとしてもよいし、店舗の所在地を経緯度(緯度、経度、場合によっては高度)で表したものとしてもよい。 The store location information stores location information of the location of the store with this store name (hereinafter referred to as "store location information"). This store location information may represent the store location using two-dimensional or three-dimensional location coordinates, or may represent the store location using longitude and latitude (latitude, longitude, and altitude in some cases). .

店舗POSシステム情報には、この店舗で使用される店舗POSシステム40に関する情報が記憶される。この店舗POSシステム情報には、限定ではなく例として、サーバ10が、店舗コードリーダ装置50や店舗サーバ70と通信を行うために必要な情報が含まれる。 The store POS system information stores information regarding the store POS system 40 used at this store. This store POS system information includes, by way of example and not limitation, information necessary for server 10 to communicate with store code reader device 50 and store server 70.

店舗POSシステム40は、サーバ10と連携して処理を行うため、限定ではなく例として、サーバ10から提供(配布)される決済アプリケーション用のソフトウェアパッケージをあらかじめ取得して店舗コードリーダ装置50や店舗サーバ70に記憶させておき、このソフトウェアパッケージを、店舗での決済処理用のプログラムから呼び出して使用するようにすることができる。アプリケーションプログラミングインターフェース(API)が一例であり、店舗コードリーダ装置50は、例えばAPIを起動して、サーバ10への情報の送信と、サーバ10からの情報の受信とを実現する。 Since the store POS system 40 performs processing in cooperation with the server 10, by way of example and not limitation, the store POS system 40 acquires in advance a software package for a payment application provided (distributed) from the server 10, and stores it in the store code reader device 50 or the store. This software package can be stored in the server 70 and used by being called from a program for payment processing at a store. An application programming interface (API) is an example, and the store code reader device 50 activates the API, for example, to transmit information to the server 10 and receive information from the server 10.

また、サーバ10は、限定ではなく例として、店舗の業種、店舗名、店舗位置情報、店舗POSシステム情報等の情報を、その店舗の店舗サーバ70から受信して、店舗登録データ155に記憶させておくようにすることができる。 In addition, the server 10 receives information such as the store's industry type, store name, store location information, store POS system information, etc. from the store server 70 of the store, and stores it in the store registration data 155, by way of example and not limitation. You can keep it as is.

店舗IDは、この店舗名の店舗を識別するための識別情報として機能するIDである。この店舗IDは、限定ではなく例として、サーバ10によって店舗ごとに固有のIDが設定されて記憶される。
店舗IDは、店舗識別情報の一例である。
The store ID is an ID that functions as identification information for identifying the store with this store name. This store ID is set and stored as a unique ID for each store by the server 10, by way of example and not limitation.
The store ID is an example of store identification information.

決済管理データベース157は、各端末20のユーザの決済に関する情報を管理するためのデータを蓄積的に記憶したデータベースであり、その一例である決済管理データベース157Aの構成例を図4-5に示す。
決済管理データベース157Aには、端末20毎、または端末20のユーザ毎に生成される決済管理データが記憶される。
The payment management database 157 is a database that cumulatively stores data for managing information regarding payments of users of each terminal 20, and an example of the configuration of the payment management database 157A is shown in FIGS. 4-5.
Payment management data generated for each terminal 20 or each user of the terminal 20 is stored in the payment management database 157A.

各決済管理データには、限定ではなく例として、アプリケーションIDと、残高と、ポイントと、1日上限設定金額と、オートチャージ設定と、決済履歴データとが記憶される。 Each payment management data stores, by way of example and not limitation, an application ID, balance, points, daily upper limit setting, auto charge setting, and payment history data.

アプリケーションIDには、ユーザ登録データ153に記憶されているアプリケーションIDが記憶される。
残高には、このアプリケーションIDに関連付けられている残高が記憶される。
The application ID stored in the user registration data 153 is stored in the application ID.
The balance field stores the balance associated with this application ID.

ポイントには、決済アプリケーションと関連付けられた各種のサービスや、決済アプリケーションの事業者と提携している加盟店舗で貯めることのできるポイントが記憶される。ポイントは、限定ではなく例として、1ポイントあたり1円相当の価値を有し、ギフト券や商品等に交換することができる他、決済アプリケーションにおいて現金化して決済に利用することもできる。 The points store stores points that can be earned at various services associated with the payment application and at affiliated stores affiliated with the payment application operator. By way of example and not limitation, points have a value equivalent to 1 yen per point, and can be exchanged for gift certificates, products, etc., and can also be converted into cash in a payment application and used for payment.

1日上限設定金額には、このアプリケーションIDを所有する端末20、または端末20のユーザが決済に使用可能な金額の1日あたりの上限金額が記憶される。 The daily upper limit set amount stores the upper limit amount per day that can be used for payment by the terminal 20 that owns this application ID or the user of the terminal 20.

オートチャージ設定は、残高が残り少ない金額(例えば「500円」)や「0円」となった場合に、電子貨幣を自動的に補充(オートチャージ)するか否かの設定であり、端末20のユーザによってオートチャージの設定がなされた場合は「ON」が記憶され、それ以外の場合は「OFF」が記憶される。オートチャージは、限定ではなく例として、端末20のユーザが登録している銀行口座等から行われるようにすることができる。 The auto charge setting is a setting for whether or not to automatically replenish electronic money (auto charge) when the balance reaches a small amount (for example, "500 yen") or "0 yen". "ON" is stored when the auto charge setting is made by the user, and "OFF" is stored otherwise. By way of example and not limitation, auto-charging can be performed from a bank account registered by the user of the terminal 20, or the like.

決済履歴データは、このアプリケーションIDのユーザの決済の履歴に関するデータであり、限定ではなく例として、このアプリケーションIDについて、サーバ10によって決済が行われた日時である決済日時と、決済した店舗のIDである店舗IDと、その店舗IDの店舗の名称である決済店舗名と、決済した金額である決済金額とが関連付けて時系列に記憶される。 The payment history data is data related to the payment history of the user of this application ID, and includes, by way of example and not limitation, the payment date and time that is the date and time when the payment was made by the server 10 for this application ID, and the ID of the store where the payment was made. A store ID, a payment store name that is the name of the store with the store ID, and a payment amount that is the paid amount are stored in chronological order in association with each other.

なお、上記の決済管理データには、必ずしも上記の全ての情報を記憶させるようにする必要はない。限定ではなく例として、ポイント、1日上限設定金額、オートチャージ設定のうちの一部または全部は、決済管理データに記憶させないようにしてもよい。
また、決済を行う度に、決済履歴の情報を端末20に送信して端末20に記憶させるようにして、サーバ10には決済履歴データを記憶させないようにしてもよい。
Note that it is not necessary to store all of the above information in the above payment management data. By way of example and not limitation, some or all of the points, daily maximum set amount, and auto charge settings may not be stored in the payment management data.
Furthermore, each time a payment is made, payment history information may be transmitted to the terminal 20 and stored in the terminal 20, but the payment history data may not be stored in the server 10.

コード管理データベース159は、コード(本実施例では端末表示用コード)を管理するためのデータベースであり、そのデータ構成の一例を図4-6に示す。
コード管理データベース159には、限定ではなく例として、決済アプリケーションのアプリケーションIDごとに生成されるデータとして、アプリケーションIDとともに、コード生成日時と、コードNoと、決済用番号とが関連付けて時系列に記憶されたコード管理データが含まれる。
The code management database 159 is a database for managing codes (terminal display codes in this embodiment), and an example of its data structure is shown in FIG. 4-6.
By way of example and not limitation, the code management database 159 stores, in chronological order, the code generation date and time, code number, and payment number in association with the application ID, as data generated for each application ID of a payment application. Contains code management data.

コード生成日時には、時計部19によって計時される情報に基づいて、その端末表示用コードを生成した日時が記憶される。
コードNoには、そのコードを識別するための番号が記憶される。例えば、古い順に通し番号が設定されて記憶される。
決済用番号には、その端末表示用コードを生成する際に発行した決済用番号が記憶される。
In the code generation date and time, the date and time when the terminal display code was generated is stored based on information timed by the clock section 19.
The code No. stores a number for identifying the code. For example, serial numbers are set and stored in chronological order.
The payment number issued when generating the terminal display code is stored in the payment number.

コード管理データに記憶される端末表示用コードのデータは、限定ではなく例として、その端末表示用コードを利用して決済処理を行った後、コード管理データから削除するようにすることができる。 By way of example and not limitation, the data of the terminal display code stored in the code management data can be deleted from the code management data after a payment process is performed using the terminal display code.

なお、上記のように、利用不可となった端末表示用コードのデータをコード管理データから削除するのではなく、限定ではなく例として、端末表示用コードのデータと関連付けて、その端末表示用コードの利用可否を示すフラグ「利用可能/利用不可」を設定する。そして、利用不可となった端末表示用コードについては、フラグを「利用不可」に設定するようにしてもよいし、そのようにしなくてもよい。 As mentioned above, instead of deleting the data of the terminal display code that is no longer available from the code management data, as an example and not a limitation, the data of the terminal display code is Set a flag "Available/Unavailable" to indicate whether or not it can be used. Then, for the terminal display code that is no longer available, the flag may be set to "unusable", or it may not be necessary to do so.

また、上記のうち、例えばコード生成日時は、コード管理データに記憶させないようにしてもよい。
また、アプリケーションIDに代えて、または、これに加えて、ユーザ登録データ153に記憶されている端末電話番号等の端末識別情報を、コード管理データに記憶させるようにしてもよいし、しなくてもよい。
Moreover, among the above, for example, the code generation date and time may not be stored in the code management data.
Further, instead of or in addition to the application ID, terminal identification information such as the terminal phone number stored in the user registration data 153 may or may not be stored in the code management data. Good too.

(2)端末の機能構成
図4-7は、本実施例において端末20の制御部21により実現される機能の一例を示す図である。
端末20は、制御部21により実現される機能として、決済アプリケーション処理部211を有する。
(2) Functional configuration of terminal FIG. 4-7 is a diagram showing an example of the functions realized by the control unit 21 of the terminal 20 in this embodiment.
The terminal 20 has a payment application processing section 211 as a function realized by the control section 21 .

決済アプリケーション処理部211は、記憶部28に記憶されている決済アプリケーションソフトウェア281に基づいて、決済に関する処理を行うための処理の一例である決済アプリケーション処理を実行する機能を有している。 The payment application processing unit 211 has a function of executing payment application processing, which is an example of processing for processing payments, based on the payment application software 281 stored in the storage unit 28.

本実施例において、決済アプリケーション処理部211は、記憶部28に記憶された決済アプリケーションプログラム282に従って、例えば図3-4に示した処理を決済アプリケーション処理として実行する。 In this embodiment, the payment application processing unit 211 executes, for example, the process shown in FIGS. 3-4 as the payment application process, according to the payment application program 282 stored in the storage unit 28.

本実施例において、決済に関する処理とは、限定ではなく例として、端末表示用コードをサーバ10から取得する処理(端末表示用コードの生成をサーバ10に依頼する処理や、生成された端末表示用コードをサーバ10から受信する処理を含む。)、サーバ10から取得した端末表示用コードをストックする処理、ストックした端末表示用コード画像を表示する処理(コード表示処理)、表示した端末表示用コード画像を店舗コードリーダ装置50に読み取らせるようにユーザに指示(案内)する処理、サーバ10によって決済が行われた後に端末用決済完了通知をサーバ10から受信(取得)する処理などの、決済を行う上で何らかの関連のある処理、より具体的には、決済を行う上で関連のある処理として端末20で実行される処理全般を含む概念である。 In this embodiment, the processing related to payment includes, by way of example and not limitation, a process of obtaining a terminal display code from the server 10 (a process of requesting the server 10 to generate a terminal display code, a process of requesting the server 10 to generate a terminal display code, ), processing to stock terminal display codes acquired from server 10, processing to display stocked terminal display code images (code display processing), and displayed terminal display codes. Processing of instructing (guiding) the user to read the image with the store code reader device 50, processing of receiving (obtaining) a terminal payment completion notification from the server 10 after the payment is made by the server 10, etc. This is a concept that includes all processes that are executed by the terminal 20 as processes that are somehow related to the payment process, more specifically, processes that are related to the payment process.

決済アプリケーション処理部211は、限定ではなく例として、コード表示処理を実行するコード表示処理部2113を機能部として含む。 The payment application processing unit 211 includes, by way of example and not limitation, a code display processing unit 2113 that executes code display processing as a functional unit.

本実施例において、コード表示処理部2113は、端末表示用コード画像を含むコード表示画面を表示させる処理を行う他、端末表示用コードストックデータ2831に記憶されている端末表示用コードの数によって特定される「コード残数」に関する情報(以下、「コード残数関連情報」と称する。)を表示させる処理を行う。コード残数関連情報には、種々の情報が含まれるが、これについては詳細に後述する。 In this embodiment, the code display processing unit 2113 performs a process of displaying a code display screen including a code image for terminal display, and also specifies the code based on the number of codes for terminal display stored in the code stock data for terminal display 2831. A process is performed to display information regarding the "remaining number of codes" (hereinafter referred to as "remaining code related information"). The remaining code number related information includes various information, which will be described in detail later.

本実施例では、端末表示用コードストックデータ2831に記憶されている端末表示用コードの総数を「コード残数」としてカウントすることとして説明する。端末表示用コードストックデータ2831に端末表示用コードが1個も記憶されていない場合は「コード残数=0」となる。 In this embodiment, the total number of terminal display codes stored in the terminal display code stock data 2831 is counted as the "remaining number of codes". If no terminal display code is stored in the terminal display code stock data 2831, "remaining code number=0".

なお、コード残数は、ストックされているコードの数という意味で「ストックコード数」や「ストック数」と表現することもできる。 Note that the remaining number of codes can also be expressed as a "stock code number" or "stock number" in the sense of the number of stored codes.

図4-8は、本実施例における端末20の記憶部28に記憶される情報の一例を示す図である。
記憶部28には、限定ではなく例として、サーバ10からあらかじめダウンロードするなどして取得されるアプリケーションソフトウェアとして、決済アプリケーションソフトウェア281が記憶される。
FIG. 4-8 is a diagram showing an example of information stored in the storage unit 28 of the terminal 20 in this embodiment.
By way of example and not limitation, payment application software 281 is stored in the storage unit 28 as application software obtained by downloading or the like from the server 10 in advance.

決済アプリケーションソフトウェア281には、限定ではなく例として、決済アプリケーションプログラム282と、決済アプリケーションデータ283とが含まれる。 Payment application software 281 includes, by way of example and not limitation, payment application program 282 and payment application data 283.

決済アプリケーションプログラム282は、制御部21によって読み出され、決済アプリケーション処理として実行されるプログラムであり、限定ではなく例として、コード表示処理として実行されるコード表示処理プログラム2823をサブルーチンプログラムとして含む。 The payment application program 282 is a program read by the control unit 21 and executed as a payment application process, and includes, by way of example and not limitation, a code display processing program 2823 executed as a code display process as a subroutine program.

決済アプリケーションデータ283には、決済アプリケーションソフトウェアで用いられる各種のデータが記憶される。この決済アプリケーションデータ283には、限定ではなく例として、端末表示用コードストックデータ2831と、決済用データ2832と、店舗データ2833と、コード残数関連情報表示設定データ2835とが記憶される。 The payment application data 283 stores various data used in the payment application software. This payment application data 283 stores, by way of example and not limitation, terminal display code stock data 2831, payment data 2832, store data 2833, and remaining code related information display setting data 2835.

端末表示用コードストックデータ2831には、オンライン状態においてサーバ10から取得した端末表示用コードがストックされたデータであり、そのデータの一例である第1の端末表示用コードストックデータ2831Aのデータ構成例を図4-9に示す。
第1の端末表示用コードストックデータ2831Aには、限定ではなく例として、コード受信日時と、コードNoと、コードデータとが関連付けて時系列に記憶される。
The terminal display code stock data 2831 is data in which terminal display codes acquired from the server 10 in the online state are stored, and an example of the data structure of the first terminal display code stock data 2831A is an example of this data. is shown in Figure 4-9.
In the first terminal display code stock data 2831A, by way of example and not limitation, code reception date and time, code number, and code data are stored in chronological order in association with each other.

コード受信日時には、限定ではなく例として、端末20がその端末表示用コードをサーバ10から受信した日時が記憶される。
コードNoには、端末20がその端末表示用コードとともにサーバ10から受信したコードNoが記憶される。
コードデータには、限定ではなく例として、端末20がサーバ10から受信した端末表示用コードのコード画像のデータが記憶される。
As an example and not a limitation, the code reception date and time stores the date and time when the terminal 20 received the terminal display code from the server 10.
The code number that the terminal 20 receives from the server 10 together with the terminal display code is stored in the code number.
The code data stores, by way of example and not limitation, data of a code image of a terminal display code received by the terminal 20 from the server 10.

第1の端末表示用コードストックデータ2831Aに記憶される端末表示用コードのデータは、限定ではなく例として、その端末表示用コードを利用してサーバ10によって決済処理が行われ、サーバ10から端末用決済完了通知を受信した後(オフライン決済を行った場合は、オンライン状態に復帰してサーバ10から端末用決済完了通知を受信した後)、第1の端末表示用コードストックデータ2831Aから削除するようにすることができる。 The data of the terminal display code stored in the first terminal display code stock data 2831A is, by way of example and not limitation, used by the server 10 to perform payment processing using the terminal display code, and from the server 10 to the terminal. After receiving the payment completion notification for the terminal (in the case of offline payment, after returning to the online state and receiving the terminal payment completion notification from the server 10), delete it from the first terminal display code stock data 2831A. You can do it like this.

なお、上記のように、利用不可となった端末表示用コードのデータを端末表示用コードストックデータ2831から削除するのではなく、例えば図4-10の第2の端末表示用コードストックデータ2831Bのように、限定ではなく例として、端末表示用コードのデータと関連付けて、その端末表示用コードの使用状況の情報を関連付けて記憶しておくようにすることもできる。そして、未だ使用していない端末表示用コードには「未使用」を、使用済みの端末表示用コードには「使用済み」をそれぞれ関連付けて記憶させるようにしてもよいし、そのようにしなくてもよい。 Note that instead of deleting the data of the terminal display code that is no longer available from the terminal display code stock data 2831 as described above, for example, the data of the second terminal display code stock data 2831B in Figure 4-10 is deleted. As an example and not a limitation, it is also possible to store information on the usage status of the terminal display code in association with data of the terminal display code. Then, it may be possible to associate and store "unused" for terminal display codes that have not yet been used, and "used" for terminal display codes that have been used, or it is not necessary to do so. Good too.

また、上記のうち、例えばコード受信日時は、端末表示用コードストックデータ2831(第1の端末表示用コードストックデータ2831Aや第2の端末表示用コードストックデータ2831B)に記憶させないようにしてもよい。 Further, among the above, for example, the code reception date and time may not be stored in the terminal display code stock data 2831 (first terminal display code stock data 2831A or second terminal display code stock data 2831B). .

また、コード受信日時に代えて、または、これに加えて、限定ではなく例として、サーバ10から受信した端末表示用コードを端末表示用コードストックデータ2831(第1の端末表示用コードストックデータ2831Aや第2の端末表示用コードストックデータ2831B)に記憶させた日時(以下、「コード記憶日時」と称する。)を記憶させるようにしてもよいし、そのようにしなくてもよい。 Also, instead of or in addition to the code reception date and time, by way of example and not limitation, the terminal display code received from the server 10 may be stored in the terminal display code stock data 2831 (first terminal display code stock data 2831A). or the second terminal display code stock data 2831B) (hereinafter referred to as the "code storage date and time"), or it is not necessary to do so.

また、詳細は後述するが、コードデータには、必ずしも端末表示用コードのコード画像のデータを記憶させなければならないわけではなく、これに代えて、または、これに加えて、端末表示用コードの元情報(本実施例では決済用番号)を記憶させるようにしてもよいし、そのようにしなくてもよい。
また、端末表示用コードストックデータ2831に、オンライン状態においてサーバ10から取得した1個のコードを記憶させることとしてもよいし、そのようにしなくてもよい。
Further, although details will be described later, the code data does not necessarily have to store the code image data of the terminal display code; instead of or in addition to this, the code image data of the terminal display code may be stored. The original information (in this embodiment, the payment number) may or may not be stored.
Further, one code acquired from the server 10 in the online state may or may not be stored in the terminal display code stock data 2831.

決済用データ2832は、端末20で記憶される決済用のデータであり、その一例である決済用データ2832Aの構成を図4-11に示す。
決済用データ2832Aには、限定ではなく例として、アプリケーションIDと、ポイントと、残高と、1日上限設定金額と、オートチャージ設定と、決済履歴データとが記憶される。
The payment data 2832 is payment data stored in the terminal 20, and the structure of the payment data 2832A, which is an example thereof, is shown in FIG. 4-11.
The payment data 2832A stores, by way of example and not limitation, an application ID, points, balance, daily upper limit setting, auto charge setting, and payment history data.

制御部21は、オンライン状態に復帰した後にサーバ10から受信した端末用決済完了通知に基づき、限定ではなく例として、サーバ10によって決済された日時である決済日時と、サーバ10によって決済された店舗のIDである店舗IDと、その店舗IDの店舗の名称である決済店舗名と、サーバ10によって決済された金額である決済金額とを関連付けて決済履歴データに時系列に記憶させる。 Based on the terminal payment completion notification received from the server 10 after returning to the online state, the control unit 21 determines, by way of example and not limitation, the date and time of payment by the server 10 and the store where the payment was made by the server 10. A store ID which is the ID of the store ID, a payment store name which is the name of the store with the store ID, and a payment amount which is the amount paid by the server 10 are associated and stored in payment history data in chronological order.

店舗データ2833には、限定でなく例として、サーバ10の店舗登録データ155Aに記憶されている各種の店舗情報が記憶される。 The store data 2833 stores various store information stored in the store registration data 155A of the server 10, by way of example and not limitation.

店舗データ2833は、限定ではなく例として、決済アプリケーションソフトウェア281のアップデートのタイミングで、サーバ10から最新の店舗情報が端末20に配信されて更新されるようにすることができる。 By way of example and not limitation, the store data 2833 can be updated by distributing the latest store information from the server 10 to the terminal 20 at the timing of updating the payment application software 281.

コード残数関連情報表示設定データ2835は、コード残数関連情報の表示に関する設定(以下、「表示設定」と称する。)の情報が記憶されたデータである。
表示設定には、限定ではなく例として、表示態様の設定が含まれる。また、表示態様には、表示形式や表示位置、表示色といった、各種の表示態様が含まれる。
The remaining code number-related information display setting data 2835 is data in which information about settings regarding the display of remaining code number-related information (hereinafter referred to as "display settings") is stored.
Display settings include, by way of example and not limitation, display mode settings. Furthermore, the display mode includes various display modes such as display format, display position, and display color.

本実施例では、コード表示処理部2113が、コード残数関連情報の一例として、コード残数(ストック数)がゼロであることを示す「コード残数ゼロ情報」を表示させる。
コード残数ゼロ情報は、コード残数がゼロであることを示す情報、またはコード残数がゼロであることを示唆する情報である。このコード残数ゼロ情報には、限定ではなく例として、端末表示用コードが端末表示用コードストックデータ2831に記憶されていないことを示すメッセージや画像等が含まれる。コード残数関連情報表示設定データ2835には、コード残数ゼロ情報の表示設定の情報が記憶されている。
In this embodiment, the code display processing unit 2113 displays "remaining code number zero information" indicating that the number of remaining codes (stock number) is zero, as an example of information related to the number of remaining codes.
The remaining number of codes zero information is information indicating that the number of remaining codes is zero or information suggesting that the number of remaining codes is zero. This zero code remaining information includes, by way of example and not limitation, a message or image indicating that the terminal display code is not stored in the terminal display code stock data 2831. The remaining code number related information display setting data 2835 stores information on the display setting of zero code remaining number information.

コード残数ゼロ情報は、第1情報が記憶部に記憶されていないことに関する第2情報の一例であるとともに、第1情報が記憶部に記憶されていないことを端末のユーザに通知する情報の一例である。
また、コード残数ゼロ情報は、ストック数がゼロであるという意味で「ストック数ゼロ情報」と表現することもできる。
The zero code remaining information is an example of second information regarding the fact that the first information is not stored in the storage unit, and information that notifies the user of the terminal that the first information is not stored in the storage unit. This is an example.
Further, the code remaining number zero information can also be expressed as "stock number zero information" in the sense that the stock number is zero.

また、記憶部28には、限定ではなく例として、端末データ289が記憶される。
端末データ289は、この端末20に関するデータであり、限定ではなく例として、端末電話番号や端末メールアドレス等の端末識別情報や、端末20側での各種の設定情報等がこれに含まれる。
Additionally, terminal data 289 is stored in the storage unit 28, by way of example and not limitation.
The terminal data 289 is data related to the terminal 20, and includes, by way of example and not limitation, terminal identification information such as a terminal telephone number and terminal email address, and various setting information on the terminal 20 side.

<表示画面例>
図4-12は、本実施例において端末20の表示部24に表示される決済アプリケーションのトップ画面の一例を示す図である。
このトップ画面の構成は、図3-2と同様であり、ここでは、端末20のユーザによって「コードアイコン」がタッチ操作された状態が示されている。
<Display screen example>
FIG. 4-12 is a diagram showing an example of the top screen of the payment application displayed on the display unit 24 of the terminal 20 in this embodiment.
The configuration of this top screen is similar to that shown in FIG. 3-2, and here a state in which the "code icon" is touched by the user of the terminal 20 is shown.

図4-13は、本実施例において端末20の表示部24に表示されるコード表示画面の一例を示す図である。このコード表示画面は、限定ではなく例として、図4-12のように「コードアイコン」がタッチ操作されることで表示される画面であって、端末表示用コードストックデータ2831に端末表示用コードが1個も記憶されていない場合に表示されるコード表示画面の一例である。 FIG. 4-13 is a diagram showing an example of a code display screen displayed on the display unit 24 of the terminal 20 in this embodiment. This code display screen is, by way of example and not limitation, a screen that is displayed when the "code icon" is touched as shown in Figure 4-12, and the terminal display code is included in the terminal display code stock data 2831. This is an example of a code display screen that is displayed when no code is stored.

このコード表示画面では、限定ではなく例として、コード残数ゼロ情報の一例として、「コード残数がありません 現在利用可能なコードがストックされていません」というメッセージが、「OK」のアイコンとともに表示されている。「OK」のアイコンは、端末20のユーザが、コード残数ゼロ情報を承認する場合に操作するためのアイコンであり、「OK」のアイコンがタッチ操作されると、コード残数ゼロ情報の表示は消去される。 On this code display screen, as an example and not a limitation, the message "There are no codes remaining. There are currently no available codes in stock" is displayed along with the "OK" icon, as an example of information with zero codes remaining. has been done. The "OK" icon is an icon operated by the user of the terminal 20 when approving the information on the number of remaining codes. When the "OK" icon is touched, the information on the number of remaining codes is displayed. will be deleted.

一方、図4-12の決済アプリケーションのトップ画面において「コードアイコン」がタッチ操作された場合であって、端末表示用コードストックデータ2831に端末表示用コードが少なくとも1個記憶されている場合は、限定ではなく例として、図3-3と同様の端末表示用コード画像を含むコード表示画面が表示される。 On the other hand, if the "code icon" is touched on the top screen of the payment application in FIG. 4-12, and at least one terminal display code is stored in the terminal display code stock data 2831, By way of example and not limitation, a code display screen is displayed that includes a code image for terminal display similar to that of FIG. 3-3.

オフライン決済を行う場合、端末20のユーザは、上記の端末表示用コード画像を含むコード表示画面をコードレジ60で店舗の店員に提示し、端末表示用コード画像を店舗コードリーダ装置50で読み取ってもらうことで決済を行う。この場合、店舗コードリーダ装置50は、限定ではなく例として、読み取った端末表示用コード画像からデコードによって取得した情報(この例では決済用番号)や、端末表示用コード画像を読み取った時刻の情報等を含む決済要求情報をサーバ10に送信して、サーバ10に決済を行わせる。 When making an offline payment, the user of the terminal 20 presents the code display screen containing the above terminal display code image to the store clerk at the code register 60, reads the terminal display code image with the store code reader device 50, Payment is made by receiving it. In this case, the store code reader device 50 may, by way of example and not limitation, information acquired by decoding the read terminal display code image (in this example, a payment number), and information about the time when the terminal display code image was read. etc., to the server 10, and causes the server 10 to perform the payment.

上記の表示画面例では、端末20のユーザが、オンライン状態/オフライン状態のいずれであるかを意識することなく、例えばコードアイコンをタッチすることでコード表示画面を表示させることができるため、ユーザの利便性を向上させることができる。 In the above display screen example, the user of the terminal 20 can display the code display screen by, for example, touching the code icon without being aware of whether the user is online or offline. Convenience can be improved.

なお、端末20でストックされる端末表示用コードは、オフライン決済のみならず、オンライン決済にも使用可能とすることができる。つまり、端末20側でオフライン状態であるか否かを判定(検出)することは必須ではなく、オンライン状態/オフライン状態を問わず、端末20でストックされる端末表示用コードを用いて決済を行うようにすることが可能である。 Note that the terminal display code stored in the terminal 20 can be used not only for offline payment but also for online payment. In other words, it is not necessary to determine (detect) whether the terminal 20 is in an offline state or not, and the payment can be made using the terminal display code stored in the terminal 20 regardless of whether it is online or offline. It is possible to do so.

<処理>
図4-14は、本実施例において、端末20のコード表示処理部2113が、コード表示処理プログラム2823の一例である第1のコード表示処理プログラムに従って実行する第1のコード表示処理の流れの一例を示すフローチャートである。この第1のコード表示処理は、限定ではなく例として、図3-4の処理のA250のステップで実行される。
<Processing>
FIG. 4-14 is an example of the flow of the first code display processing that is executed by the code display processing unit 2113 of the terminal 20 according to the first code display processing program, which is an example of the code display processing program 2823, in this embodiment. It is a flowchart which shows. This first code display process is performed, by way of example and not limitation, in step A250 of the process of FIGS. 3-4.

ここで、図3-4の処理では、A290の後、処理が終了するように示しているが、実際には、処理はループされる。 Here, in the process of FIG. 3-4, the process is shown to end after A290, but in reality, the process is looped.

具体的には、限定ではなく例として、A290の後、端末20のユーザによるコード取得操作を検出した場合、制御部21は、A110に処理を戻す。一方、A290の後、端末20のユーザによるコード表示操作を検出した場合、制御部21は、A250に処理を戻す。 Specifically, by way of example and not limitation, if a code acquisition operation by the user of the terminal 20 is detected after A290, the control unit 21 returns the process to A110. On the other hand, if a code display operation by the user of the terminal 20 is detected after A290, the control unit 21 returns the process to A250.

前述したように、端末表示用コードストックデータ2831に記憶される端末表示用コードのデータは、限定ではなく例として、その端末表示用コードを利用してサーバ10によって決済処理が行われ(C170)、A290においてサーバ10から端末用決済完了通知を受信した後(オフライン決済を行った場合は、オンライン状態に復帰してサーバ10から端末用決済完了通知を受信した後)、端末表示用コードストックデータ2831から削除される。従って、A290の後にA250に処理を戻した場合、ストックされている端末表示用コードを使い切ってしまっており、コード残数がゼロとなっている場合がある。 As described above, the terminal display code data stored in the terminal display code stock data 2831 is, by way of example and not limitation, used to perform payment processing by the server 10 using the terminal display code (C170). , After receiving the terminal payment completion notification from the server 10 in A290 (if offline payment is made, after returning to the online state and receiving the terminal payment completion notification from the server 10), the terminal display code stock data Deleted from 2831. Therefore, when the process returns to A250 after A290, the stored terminal display codes may have been used up and the remaining number of codes may be zero.

第1のコード表示処理では、コード表示処理部2113は、コード残数をカウントする(D110)。そして、コード表示処理部2113は、カウントしたコード残数がゼロであるか否かを判定する(D120)。 In the first code display process, the code display processing unit 2113 counts the number of remaining codes (D110). Then, the code display processing unit 2113 determines whether the counted number of remaining codes is zero (D120).

コード残数がゼロであると判定した場合(D120:YES)、コード表示処理部2113は、コード残数関連情報表示設定データ2835に記憶されているコード残数ゼロ情報の表示設定を取得する(D130)。 If it is determined that the remaining number of codes is zero (D120: YES), the code display processing unit 2113 acquires the display setting of the remaining code number zero information stored in the remaining code number related information display setting data 2835 ( D130).

その後、コード表示処理部2113は、D130で取得した表示設定(例えば、表示態様の設定を含む。)に基づいて、コード残数ゼロ情報を含むコード表示画面を表示部24に表示させる(D140)。 Thereafter, the code display processing unit 2113 causes the display unit 24 to display a code display screen including information on the number of remaining codes with zero based on the display settings (including display mode settings, for example) acquired in D130 (D140). .

その後、コード表示処理部2113は、第1表示終了条件が成立したか否かを判定する(D180)。第1表示終了条件は、例えば、端末20のユーザによるコード残数ゼロ情報の承認操作を検出したことや、端末20のユーザによるコード表示画面の非表示操作を検出したこと等であってもよいし、そうでなくてもよい。 Thereafter, the code display processing unit 2113 determines whether the first display end condition is satisfied (D180). The first display termination condition may be, for example, detecting an operation by the user of the terminal 20 to approve the information with zero remaining codes, or detecting an operation to hide the code display screen by the user of the terminal 20. But it doesn't have to be that way.

第1表示終了条件が成立しないと判定した場合(D180:NO)、コード表示処理部2113は、そのまま待機する。一方、第1表示終了条件が成立したと判定した場合(D180:YES)、コード表示処理部2113は、第1のコード表示処理を終了する。 If it is determined that the first display end condition is not satisfied (D180: NO), the code display processing unit 2113 remains on standby. On the other hand, if it is determined that the first display end condition is satisfied (D180: YES), the code display processing unit 2113 ends the first code display processing.

一方、コード残数がゼロではないと判定した場合(D120:NO)、コード表示処理部2113は、端末表示用コードストックデータ2831に記憶されている端末表示用コードのコード画像(例えば、取得が最も古い端末表示用コードのコード画像)を含むコード表示画面を表示部24に表示させる(D150)。 On the other hand, if it is determined that the remaining number of codes is not zero (D120: NO), the code display processing unit 2113 displays the code image of the terminal display code stored in the terminal display code stock data 2831 (e.g., A code display screen including the code image of the oldest terminal display code is displayed on the display unit 24 (D150).

その後、コード表示処理部2113は、第2表示終了条件が成立したか否かを判定する(D190)。第2表示終了条件は、例えば、端末20のユーザによるコード表示画面の非表示操作を検出したことや、前述したコード表示期限が経過したこと等であってもよいし、そうでなくてもよい。 Thereafter, the code display processing unit 2113 determines whether the second display end condition is satisfied (D190). The second display termination condition may be, for example, detecting an operation to hide the code display screen by the user of the terminal 20, or the expiration of the above-mentioned code display deadline, or may be other than that. .

第2表示終了条件が成立しないと判定した場合(D190:NO)、コード表示処理部2113は、そのまま待機する。一方、第2表示終了条件が成立したと判定した場合(D190:YES)、コード表示処理部2113は、第1のコード表示処理を終了する。 If it is determined that the second display end condition is not satisfied (D190: NO), the code display processing unit 2113 remains on standby. On the other hand, if it is determined that the second display termination condition is satisfied (D190: YES), the code display processing unit 2113 terminates the first code display processing.

なお、前述したように、本開示の手法は、端末20で端末表示用コードがストックされていれば適用可能である。このため、上記の第1のコード表示処理は、オンライン状態/オフライン状態を問わず、同様に適用することができる。 Note that, as described above, the method of the present disclosure is applicable if terminal display codes are stocked in the terminal 20. Therefore, the first code display process described above can be applied in the same way regardless of whether the device is online or offline.

<コード>
上記の処理では、端末20が、端末表示用コード画像の生成をサーバ10に依頼することとし、サーバ10によって生成された端末表示用コード画像が、端末20に送信される例を示したが、これに限定されない。例えば、端末20が、元情報(この例では決済用番号)の生成をサーバ10に依頼することとし、サーバ10によって生成された元情報が、端末20に送信されるようにしてもよいし、そのようにしなくてもよい。
<Code>
In the above process, an example is shown in which the terminal 20 requests the server 10 to generate a terminal display code image, and the terminal display code image generated by the server 10 is transmitted to the terminal 20. It is not limited to this. For example, the terminal 20 may request the server 10 to generate original information (in this example, a payment number), and the original information generated by the server 10 may be sent to the terminal 20, You don't have to do it that way.

具体的には、図3-1の処理では、A110において、制御部21は、元情報(この例では決済用番号)の生成をサーバ10に依頼するコード生成依頼情報を送信する。そして、このコード生成依頼情報に基づき、C120において、制御部11は元情報を生成し、C130において、生成した元情報を端末20に送信する。A130において元情報をサーバ10から受信すると、制御部21は、受信された元情報(この例では決済用番号)に基づいて端末表示用コード画像を生成する。そして、制御部21は、生成した端末表示用コード画像を表示部24に表示させる。 Specifically, in the process of FIG. 3-1, at A110, the control unit 21 transmits code generation request information requesting the server 10 to generate original information (in this example, a payment number). Based on this code generation request information, the control unit 11 generates original information in C120, and transmits the generated original information to the terminal 20 in C130. Upon receiving the original information from the server 10 at A130, the control unit 21 generates a terminal display code image based on the received original information (in this example, the payment number). Then, the control unit 21 causes the display unit 24 to display the generated code image for terminal display.

同様に、図3-4の処理では、A130において元情報(この例では決済用番号)をサーバ10から受信すると、A240において、制御部21は、受信された元情報(この例では決済用番号)を端末表示用コードストックデータ2831に記憶させる。そして、制御部21は、ストックされている元情報を端末表示用コードストックデータ2831から読み出し、読み出した元情報に基づいて端末表示用コード画像を生成する。そして、A250において、制御部21は、生成した端末表示用コード画像を表示部24に表示させる。 Similarly, in the process of FIG. 3-4, when the original information (in this example, the payment number) is received from the server 10 at A130, the control unit 21 receives the received original information (in this example, the payment number) at A240. ) is stored in the terminal display code stock data 2831. Then, the control unit 21 reads the stocked original information from the terminal display code stock data 2831, and generates a terminal display code image based on the read original information. Then, at A250, the control unit 21 causes the display unit 24 to display the generated terminal display code image.

また、上記とは異なり、端末20が、端末表示用コード画像の生成をサーバ10に依頼し、サーバ10によって生成された端末表示用コード画像が端末20に送信されるが、端末20側では、サーバ10から受信した端末表示用コード画像をストックするのではなく、サーバ10から受信した端末表示用コード画像からデコードによって取得した元情報をストックするようにしてもよいし、そのようにしなくてもよい。 Also, unlike the above, the terminal 20 requests the server 10 to generate a terminal display code image, and the terminal display code image generated by the server 10 is sent to the terminal 20, but on the terminal 20 side, Instead of stocking the terminal display code image received from the server 10, the original information obtained by decoding the terminal display code image received from the server 10 may be stocked, or it may not be necessary to do so. good.

<第1実施例の効果>
第1実施例は、端末20が、サーバ10から送信された端末表示用コードのコード画像や元情報(限定ではなく、第1情報の一例)を、通信I/F22を介して受信する。そして、端末20は、受信された端末表示用コードのコード画像や元情報を、制御部21によって記憶部28の端末表示用コードストックデータ2831に記憶する。
また、端末20は、記憶された端末表示用コードのコード画像や元情報に基づく端末表示用コード画像(限定ではなく、第1コード画像の一例)を、コード表示画面(限定ではなく、端末の表示領域の一例)に表示する。
また、端末20は、端末表示用コード画像のコード表示画面への表示に基づき、サーバ10によって決済が行われた後に端末用決済完了通知をサーバ10から受信(取得)する処理(限定ではなく、決済に関する処理の一例)を実行する。
そして、端末20は、端末用決済完了通知を受信した後、端末表示用コードのコード画像や元情報が端末表示用コードストックデータ2831に記憶されていない場合に、コード残数ゼロ情報(限定ではなく、第2情報の一例)を表示する構成を示している。
このような構成により得られる効果の一例として、決済に関する処理に基づき、第1情報が記憶部に記憶されていないことに関する第2情報を端末の表示領域に表示することで、第1情報が記憶されていないことをユーザに報知することができ、ユーザの利便性を向上させることができる。
<Effects of the first embodiment>
In the first embodiment, the terminal 20 receives the code image and original information (not limited, but an example of first information) of the terminal display code transmitted from the server 10 via the communication I/F 22. Then, in the terminal 20, the control unit 21 stores the received code image and original information of the terminal display code in the terminal display code stock data 2831 of the storage unit 28.
In addition, the terminal 20 displays a code image of the stored terminal display code and a terminal display code image based on the original information (an example of the first code image, not a limitation) on the code display screen (not a limitation, but the terminal display code image is an example of the first code image). example of the display area).
Furthermore, the terminal 20 performs a process (not limited to An example of processing related to payment) is executed.
Then, after receiving the terminal payment completion notification, if the code image or original information of the terminal display code is not stored in the terminal display code stock data 2831, the terminal 20 receives the code remaining zero information (limited to The configuration is shown in which an example of the second information is displayed.
As an example of the effect obtained by such a configuration, based on processing related to payment, second information indicating that the first information is not stored in the storage unit is displayed in the display area of the terminal, so that the first information is not stored in the storage unit. It is possible to notify the user that the information has not been updated, and it is possible to improve the user's convenience.

また、第1実施例は、端末20が、プログラムを記憶するメモリから決済アプリケーションプログラム282を読み出し、読み出した決済アプリケーションプログラム282に基づく決済アプリケーション処理を実行するプロセッサーを備える。そして、プロセッサーは、サーバ10から送信された端末表示用コードのコード画像や元情報(限定ではなく、第1情報の一例)を、通信I/F22を介して受信することと、受信された端末表示用コードのコード画像や元情報を、記憶部28の端末表示用コードストックデータ2831に記憶することと、記憶された端末表示用コードのコード画像や元情報に基づく端末表示用コード画像(限定ではなく、第1コード画像の一例)を、コード表示画面(限定ではなく、端末の表示領域の一例)に表示することと、端末表示用コード画像のコード表示画面への表示に基づき、サーバ10による決済完了後に、端末用決済完了通知をサーバ10から受信する処理(限定ではなく、決済に関する処理の一例)を実行することと、端末用決済完了通知を受信した後、端末表示用コードのコード画像や元情報が端末表示用コードストックデータ2831に記憶されていない場合に、コード残数ゼロ情報(限定ではなく、第2情報の一例)を表示することとを実行する構成を示している。
このような構成によっても、上記と同様の効果を得ることができる。
Further, in the first embodiment, the terminal 20 includes a processor that reads the payment application program 282 from the memory that stores the program and executes payment application processing based on the read payment application program 282. Then, the processor receives, via the communication I/F 22, the code image and original information (not limited to, an example of the first information) of the terminal display code transmitted from the server 10, and the received terminal The code image and original information of the display code are stored in the terminal display code stock data 2831 of the storage unit 28, and the terminal display code image (limited) is stored based on the code image and original information of the stored terminal display code. The server 10 After completing the payment, execute the process of receiving a terminal payment completion notification from the server 10 (not limited to this, but an example of processing related to payment), and after receiving the terminal payment completion notification, execute the process of receiving the terminal payment completion notification from the server 10. This shows a configuration that displays zero code remaining information (not a limitation, but an example of second information) when no image or original information is stored in the terminal display code stock data 2831.
With such a configuration, the same effects as described above can be obtained.

また、第1実施例は、端末表示用コードストックデータ2831には、複数の端末表示用コードのコード画像や元情報が記憶される。そして、コード残数ゼロ情報は、端末表示用コードストックデータ2831に記憶された複数の端末表示用コードのコード画像や元情報の数(コード残数)に対する条件の判定結果に基づいて、コード表示画面に表示される構成を示している。
このような構成により得られる効果の一例として、複数の第1情報を端末の記憶部に記憶させておくことができるため、ユーザの利便性を向上させることができる。また、記憶部に記憶された複数の第1情報に基づいて、適切なタイミングで第2情報が端末の表示領域に表示されるようにすることができる。
Further, in the first embodiment, code images and original information of a plurality of terminal display codes are stored in the terminal display code stock data 2831. The zero code remaining information is displayed based on the determination result of the condition for the number of code images and original information (remaining code number) of multiple terminal display codes stored in the terminal display code stock data 2831. Shows the configuration displayed on the screen.
As an example of the effect obtained by such a configuration, since a plurality of pieces of first information can be stored in the storage section of the terminal, convenience for the user can be improved. Further, the second information can be displayed in the display area of the terminal at an appropriate timing based on the plurality of pieces of first information stored in the storage unit.

また、第1実施例は、コード残数ゼロ情報(限定ではなく、第2情報の一例)は、端末表示用コードのコード画像や元情報が端末表示用コードストックデータ2831に記憶されていないことを端末20のユーザに通知する情報である構成を示している。
このような構成により得られる効果の一例として、第1情報が記憶部に記憶されていないことを端末のユーザに通知することができるため、ユーザの利便性を向上させることができる。
Furthermore, in the first embodiment, the zero code remaining information (not limited, but an example of second information) indicates that the code image or original information of the terminal display code is not stored in the terminal display code stock data 2831. The configuration is shown as information for notifying the user of the terminal 20.
As an example of the effect obtained by such a configuration, it is possible to notify the user of the terminal that the first information is not stored in the storage unit, thereby improving convenience for the user.

<第1変形例(1)>
第1実施例において、緊急時に利用可能な端末表示用コード画像として、少なくとも1個の端末表示用コード画像が端末表示用コードストックデータ2831に記憶されるようにすることもできる。この場合は、限定ではなく例として、端末表示用コードストックデータ2831において、緊急時用の端末表示用コードには、緊急時用であることを示すフラグを関連付けて設定しておくようにすることができる。
<First modification (1)>
In the first embodiment, at least one terminal display code image may be stored in the terminal display code stock data 2831 as a terminal display code image that can be used in an emergency. In this case, as an example and not a limitation, in the terminal display code stock data 2831, the terminal display code for emergencies should be associated with a flag indicating that it is for emergencies. I can do it.

また、この場合、緊急時用の端末表示用コードは、例えば端末20のユーザが選択操作を行って、端末20に設定させるようにすることができる。限定ではなく例として、決済アプリケーション内で、端末表示用コードストックデータ2831に記憶されている端末表示用コードの一覧を表示させる。そして、緊急時用としたい端末表示用コードをユーザに選択(例えばタッチ操作によって選択)させ、選択された端末表示用コードに関連付けて緊急時用であることを示すフラグを設定するようにすることができる。 Furthermore, in this case, the terminal display code for emergencies can be set on the terminal 20 by, for example, the user of the terminal 20 performing a selection operation. By way of example and not limitation, a list of terminal display codes stored in the terminal display code stock data 2831 is displayed within the payment application. Then, the user is allowed to select (for example, select by touch operation) the terminal display code that he or she wants to use for emergencies, and a flag indicating that the terminal display code is used for emergencies is set in association with the selected terminal display code. I can do it.

なお、複数(2以上)の端末表示用コードを、緊急時用の端末表示用コードとして設定可能としてもよいし、そのようにしなくてもよい。
また、この場合、複数(2以上)の端末表示用コードを緊急時用の端末表示用コードとしてユーザに選択させるようにしてもよいし、そのようにしなくてもよい。
Note that a plurality of (two or more) terminal display codes may or may not be set as terminal display codes for emergencies.
Further, in this case, the user may or may not be allowed to select a plurality of (two or more) terminal display codes as terminal display codes for emergency situations.

この場合、上記のD110のコード残数のカウントでは、緊急時用であることを示すフラグが設定された端末表示用コード画像をコード残数のカウントから除外して、コード残数(ストック数)がゼロであるか否かを判定するようにすることができる。 In this case, when counting the number of remaining codes in D110 above, the terminal display code image with the flag indicating that it is for emergency use is excluded from the counting of the remaining number of codes, and the remaining number of codes (stock number) is calculated. It can be determined whether or not is zero.

本変形例は、端末表示用コードストックデータ2831に記憶される端末表示用コードのコード画像や元情報のうち、緊急時に利用可能なものを除き、端末表示用コードストックデータ2831に端末表示用コードのコード画像や元情報が記憶されていない場合、コード残数ゼロ情報がコード表示画面に表示される構成を示している。
このような構成により得られる効果の一例として、緊急時に利用可能な第1情報を確保しつつ、第1情報が記憶されていないことをユーザに報知することができ、ユーザの利便性を向上させることができる。
In this modification, among the code images and original information of the terminal display code stored in the terminal display code stock data 2831, those that can be used in an emergency are excluded, and the terminal display code is stored in the terminal display code stock data 2831. This shows a configuration in which when no code image or original information is stored, information on the number of remaining codes (zero) is displayed on the code display screen.
As an example of the effect obtained by such a configuration, it is possible to ensure the first information that can be used in an emergency, while notifying the user that the first information is not stored, improving user convenience. be able to.

<第1変形例(2)>
第1実施例において、コード表示画面に表示される端末表示用コードは、コード残数のカウントから除外するようにしてもよいし、そのようにしなくてもよい。
<First modification (2)>
In the first embodiment, the terminal display code displayed on the code display screen may or may not be excluded from counting the remaining number of codes.

具体的には、限定ではなく例として、端末表示用コードストックデータ2831に記憶されている端末表示用コードから1個の端末表示用コードを読み出して表示する際に、その端末表示用コードのデータを記憶部28のアクティブな記憶領域(以下、「アクティブ記憶領域」と称する。)に保存して、端末表示用コードストックデータ2831からは削除する。その後、端末表示用コードストックデータ2831に記憶されている端末表示用コードの総数をコード残数としてカウントする。このようにすることで、コード表示画面に表示される端末表示用コードは、コード残数のカウントから除外される。 Specifically, as an example and not a limitation, when reading and displaying one terminal display code from the terminal display codes stored in the terminal display code stock data 2831, the data of that terminal display code is stored in the active storage area (hereinafter referred to as "active storage area") of the storage unit 28 and deleted from the terminal display code stock data 2831. Thereafter, the total number of terminal display codes stored in the terminal display code stock data 2831 is counted as the remaining number of codes. By doing this, the terminal display code displayed on the code display screen is excluded from the count of the remaining number of codes.

図4-15は、本変形例におけるコード表示画面の一例を示す図である。
このコード表示画面は、限定ではなく例として、図4-12のように「コードアイコン」がタッチ操作されることで表示される画面であって、端末表示用コードストックデータ2831に端末表示用コードが1個記憶されている場合に表示されるコード表示画面の一例である。
FIG. 4-15 is a diagram showing an example of a code display screen in this modification.
This code display screen is, by way of example and not limitation, a screen that is displayed when the "code icon" is touched as shown in Figure 4-12, and the terminal display code is included in the terminal display code stock data 2831. This is an example of a code display screen that is displayed when one code is stored.

このコード表示画面には、アクティブ記憶領域に記憶された端末表示用コードのコード画像として、バーコードで表される一次元の端末表示用コード画像と、QRコードで表される二次元の端末表示用コード画像QC1とが、表示画面内の異なる領域にそれぞれ表示されている。また、限定ではなく例として、一次元の端末表示用コード画像の下には、12桁の決済用番号が表示されている。 This code display screen includes a one-dimensional terminal display code image represented by a barcode and a two-dimensional terminal display code image represented by a QR code as the code image of the terminal display code stored in the active storage area. The code images QC1 are displayed in different areas on the display screen. Furthermore, by way of example and not limitation, a 12-digit payment number is displayed below the one-dimensional terminal display code image.

また、このコード表示画面の下部には、コード残数ゼロ情報の一例として、「表示中のコード以外に、利用可能なコードがありません。」というメッセージが表示されている
このような表示を行うことで、端末は、表示領域に表示している第1情報以外に第1情報が記憶部に記憶されていないことを、端末のユーザに報知することができる。
Additionally, at the bottom of this code display screen, the message "There are no codes available other than the one currently displayed." is displayed as an example of information on the number of codes remaining. Then, the terminal can notify the user of the terminal that the first information other than the first information displayed in the display area is not stored in the storage unit.

<第1変形例(3)>
第1実施例では、本開示における「第1情報(コード情報)」を、決済用番号や、決済用番号を含む端末表示用コード画像としたが、これに限定されない。例えば、認証情報の一種であるトークンや、トークンを含む端末表示用コード画像を、本開示における「第1情報(コード情報)」とすることもできる。
<First modification (3)>
In the first embodiment, the "first information (code information)" in the present disclosure is a payment number or a terminal display code image including the payment number, but is not limited thereto. For example, a token, which is a type of authentication information, or a terminal display code image including the token can also be used as the "first information (code information)" in the present disclosure.

この場合、決済用番号を端末表示用コード画像に含めるのではなく、限定ではなく例として、ランダムなトークンを発生させる手法(アルゴリズム)を用いて発行したトークンを端末表示用コード画像に含めるようにしてもよいし、そのようにしなくてもよい。この場合は、サーバ10側で、端末20、または端末20のユーザを識別するための識別情報と、発行したトークンとを関連付けて記憶部15のコード管理データベース159のコード管理データに記憶させておくようにすればよい。 In this case, instead of including the payment number in the terminal display code image, as an example and not a limitation, a token issued using a method (algorithm) that generates random tokens should be included in the terminal display code image. You may or may not have to do so. In this case, on the server 10 side, identification information for identifying the terminal 20 or the user of the terminal 20 and the issued token are associated and stored in the code management data of the code management database 159 of the storage unit 15. Just do it like this.

「トークン」は、限定ではなく例として、サーバ10が、端末20、または端末20のユーザが、正規の端末20、または正規の端末20のユーザであることを認証するための認証情報の一種である。「認証情報」は、認証局が発行する情報であり、上記のトークンは、サーバ10が認証局となって、端末20、または端末20のユーザを認証するために発行する認証情報として機能する。 A "token" is, by way of example and not limitation, a type of authentication information used by the server 10 to authenticate that the terminal 20 or the user of the terminal 20 is the authorized terminal 20 or the authorized user of the terminal 20. be. "Authentication information" is information issued by a certification authority, and the above token functions as authentication information issued by the server 10 as a certification authority to authenticate the terminal 20 or the user of the terminal 20.

なお、トークンは、例えば、「ランダムトークン」、「アクセストークン」、「決済用トークン」などのように表現することもできる。トークンは、上記のようにランダムに発行されるため、端末表示用コードが生成される毎に異なるトークンとなる。このため、トークンは、いわばワンタイムパスワードとして機能する。 Note that the token can also be expressed as a "random token," "access token," "payment token," etc., for example. Since the tokens are issued randomly as described above, the tokens will be different each time the terminal display code is generated. Therefore, the token functions as a one-time password.

また、決済用番号やトークンの他に、端末表示用コード画像を読み取った店舗コードリーダ装置50が、サーバ10が提供するウェブサイトやウェブページにアクセスするためのアクセス情報の一例として、サーバ10が提供するウェブページの一種である決済用ページにアクセスするためのURL(Uniform Resource Locator)等の情報を含めるようにしてもよいし、そのようにしなくてもよい。 In addition to the payment number and token, the server 10 also provides an example of access information for the store code reader device 50 that has read the terminal display code image to access a website or web page provided by the server 10. Information such as a URL (Uniform Resource Locator) for accessing a payment page, which is a type of web page provided, may or may not be included.

<第1変形例(4)>
第1実施例において、端末20が端末表示用コード画像を表示部24に表示させる場合に、限定ではなく例として、制御部21が、表示した端末表示用コード画像を店舗コードリーダ装置50に読み取らせるようにユーザに指示(案内)する処理を行うようにしてもよいし、そのようにしなくてもよい。この処理は、決済に関する処理の一例である。
<First modification (4)>
In the first embodiment, when the terminal 20 causes the display section 24 to display a terminal display code image, by way of example and not limitation, the control section 21 causes the store code reader device 50 to read the displayed terminal display code image. You may or may not need to perform a process of instructing (guiding) the user to do so. This process is an example of a process related to payment.

具体的には、限定ではなく例として、端末表示用コード画像を表示するコード表示画面において、端末表示用コード画像を表示させる領域とは異なる領域に、「表示されているコード画像を店舗のコードリーダで読み取ってもらってください。」といったメッセージを表示させるようにすることができる。 Specifically, as an example and not a limitation, on the code display screen that displays the code image for terminal display, in an area different from the area where the code image for terminal display is displayed, there is a message that says ``The displayed code image is the store code.'' A message such as "Please read it with a reader." can be displayed.

<第1変形例(5)>
第1実施例では、コード残数がゼロの場合に、コード残数ゼロ情報を表示させることとしたが、これに限定されない。例えば、コード残数が一定数(例えば「1個」~「3個」のいずれかの数)以下または未満となった場合に、端末20が、コード残数が不足していることを示す情報、またはコード残数が不足していることを示唆する情報を表示部24に表示させるようにしてもよいし、そのようにしなくてもよい。
<First modification (5)>
In the first embodiment, when the number of remaining codes is zero, information on the number of remaining codes of zero is displayed, but the present invention is not limited to this. For example, when the number of codes remaining is less than or equal to a certain number (for example, one of "1" to "3"), the terminal 20 receives information indicating that the number of codes remaining is insufficient. , or information suggesting that the remaining number of codes is insufficient may or may not be displayed on the display unit 24.

<第1変形例(6)>
第1実施例で説明した決済アプリケーションの表示画面は、あくまでも一例に過ぎず、適宜設計変更可能である。例えば、決済アプリケーションのトップ画面に、前述した「コードアイコン」とは別に、「コード(オフライン)」と示された「コード(オフライン)アイコン」を表示させる。そして、端末20がオンライン状態であると判定した場合は、「コードアイコン」が操作された場合に端末表示用コードを表示させるようにし、端末20がオフライン状態であると判定した場合は、「コード(オフライン)アイコン」が操作された場合に端末表示用コードを表示させるようにしてもよいし、そのようにしなくてもよい。
<First modification (6)>
The display screen of the payment application described in the first embodiment is merely an example, and the design can be changed as appropriate. For example, a ``code (offline) icon'' labeled ``code (offline)'' is displayed on the top screen of the payment application, in addition to the above-mentioned ``code icon.'' If it is determined that the terminal 20 is in the online state, the terminal display code is displayed when the "code icon" is operated, and if it is determined that the terminal 20 is in the offline state, the "code (offline) icon" may or may not be displayed.

<第1変形例(7)>
図3-4の処理のA130において、端末20がサーバ10から端末表示用コードを受信したタイミングで、A240およびA250の処理を行って、端末表示用コードを表示部24に表示させるようにしてもよいし、そのようにしなくてもよい。
<First modification (7)>
Even if the terminal display code is displayed on the display unit 24 by performing the processes of A240 and A250 at the timing when the terminal 20 receives the terminal display code from the server 10 in A130 of the process in FIG. That's fine, and you don't have to do it that way.

この場合、限定ではなく例として、決済アプリケーションのトップ画面(例えば図3-2)においてコードアイコンがタッチ操作された後、そのまま端末表示用コードのコード表示画面に表示が切り替わるようにすることができる。 In this case, as an example and not a limitation, after the code icon is touched on the top screen of the payment application (for example, Figure 3-2), the display may be switched directly to the code display screen of the code for terminal display. .

<第2実施例>
第2実施例は、コード残数関連情報の別例として、コード残数を示す情報、またはコード残数を示唆する情報(以下、包括的に「コード残数情報」と称する。)を端末20の表示部24に表示させる実施例である。
<Second example>
In the second embodiment, as another example of the information related to the number of remaining codes, information indicating the number of remaining codes or information suggesting the number of remaining codes (hereinafter comprehensively referred to as "remaining code number information") is sent to the terminal 20. This is an example of displaying on the display section 24 of.

第2実施例に記載の内容は、他の各実施例や他の各変形例のいずれにも適用可能である。
また、既出の構成要素と同一の構成要素については同一の符号を付して、再度の説明を省略する。
The content described in the second embodiment is applicable to any of the other embodiments and other modifications.
In addition, the same reference numerals are given to the same constituent elements as those already mentioned, and the explanation thereof will be omitted.

本実施例におけるコード残数情報には、限定ではなく例として、
・コード残数を数字で表したもの
・コード残数を色の違いで表したもの
・コード残数を色の濃さで表したもの
・コード残数を大きさで表したもの
・コード残数を画像で表したもの
の少なくとも一つ、またはこれらの組み合わせなどを含めることができる。
The code remaining number information in this embodiment includes, by way of example and not limitation,
・Representation of the number of remaining codes by numbers ・Representation of the number of remaining codes by different colors ・Representation of the number of remaining codes by color intensity ・Representation of the number of remaining codes by size ・Number of remaining codes It can include at least one image representation of, or a combination of these.

また、コード残数を画像で表したものには、限定ではなく例として、
・コード残数をマークやアイコン、絵等で表したもの
・コード残数をゲージで表したもの(ゲージ形式)
・コード残数をカードで表したもの(カード形式)
・コード残数をグラフで表したもの(グラフ形式)
の少なくとも一つ、またはこれらの組み合わせなどを含めることができる。
In addition, the number of remaining codes is shown as an example, not as a limitation.
- Representing the number of remaining codes with marks, icons, pictures, etc. - Representing the number of remaining codes with a gauge (gauge format)
・Remaining number of codes expressed as a card (card format)
・Graphic representation of the number of remaining codes (graph format)
or a combination thereof.

例えば、図4-12の決済アプリケーションのトップ画面において「コードアイコン」がタッチ操作された場合であって、端末表示用コードストックデータ2831に端末表示用コードが少なくとも1個記憶されている場合、コード表示処理部2113は、限定ではなく例として、以下のようなコード表示画面を表示させるようにすることができる。 For example, when the "code icon" is touched on the top screen of the payment application in Figure 4-12, and at least one terminal display code is stored in the terminal display code stock data 2831, the code By way of example and not limitation, the display processing unit 2113 can display the following code display screen.

<表示画面例>
図5-1は、本実施例におけるコード表示画面の一例を示す図である。
このコード表示画面では、一次元の端末表示用コードが表示される領域の上に、コード残数を画像で表したコード残数情報の一例として、カウントされたコード残数分の、例えば矩形で表されるコード残数画像が表示されている。この表示例では、コード残数が5個であるため、5個のコード残数画像が並べて表示されている。この表示例では、コード残数を端末20のユーザが一見して把握することができる。
<Display screen example>
FIG. 5-1 is a diagram showing an example of a code display screen in this embodiment.
On this code display screen, as an example of remaining code information that represents the remaining number of codes as an image, on the area where the one-dimensional terminal display code is displayed, a rectangle for the number of codes remaining that has been counted is displayed. An image of the number of codes remaining is displayed. In this display example, since the number of remaining codes is five, five remaining code number images are displayed side by side. In this display example, the user of the terminal 20 can grasp the number of remaining codes at a glance.

図5-2は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、一次元の端末表示用コードが表示される領域の上に、コード残数を画像と数字の組み合わせで表したコード残数情報の一例として、二次元コードの画像と、コード残数を示す数字「×1,×2,×3,・・・」とを組み合わせた情報が表示されている。この表示例でも、コード残数を端末20のユーザが一見して把握することができる。
FIG. 5-2 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, above the area where the one-dimensional terminal display code is displayed, an image of the two-dimensional code and the code are displayed as an example of remaining code information that represents the remaining number of codes as a combination of images and numbers. Information that is a combination of numbers "x1, x2, x3, . . ." indicating the remaining number is displayed. Even in this display example, the user of the terminal 20 can grasp the number of remaining codes at a glance.

図5-3は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、一次元の端末表示用コードが表示される領域の上に、コード残数を画像で表したコード残数情報の一例として、横方向に構成されたゲージで表されるコード残数ゲージが表示されている。
FIG. 5-3 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, above the area where the one-dimensional terminal display code is displayed, as an example of remaining code information that represents the remaining number of codes as an image, the code is displayed as a gauge configured horizontally. The remaining number gauge is displayed.

コード残数ゲージは、複数の領域に分割されており、コード残数に相当する数の領域に色が付されて表示されている。この表示例では、コード残数ゲージが5つの領域に分割されており、コード残数が「4個」とカウントされたことで、左から4つ分の領域に色が付されて表示されている。この表示例でも、コード残数を端末20のユーザが一見して把握することができる。 The remaining code gauge is divided into a plurality of areas, and the areas corresponding to the number of remaining codes are colored and displayed. In this display example, the remaining code gauge is divided into five areas, and when the number of remaining codes is counted as "4," the four areas from the left are displayed in color. There is. Even in this display example, the user of the terminal 20 can grasp the number of remaining codes at a glance.

図5-4は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、図5-3と同様に、一次元の端末表示用コードが表示される領域の上に、コード残数ゲージが表示されている。この表示例では、コード残数が「5個」とカウントされたことで、左から5つ分の領域(全ての領域)に色が付されて表示されている。また、コード残数ゲージの右側には、コード残数が満タンであることを示す「FULL」の文字が表示されている。
FIG. 5-4 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, as in FIG. 5-3, a remaining code gauge is displayed above the area where the one-dimensional terminal display code is displayed. In this display example, since the number of remaining codes is counted as "5", five areas from the left (all areas) are displayed in color. Furthermore, on the right side of the remaining code gauge, the word "FULL" is displayed to indicate that the remaining number of codes is full.

図5-5は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、一次元の端末表示用コードが表示される領域の上に、コード残数を画像で表したコード残数情報の一例として、顔の画像で表されるコード残数マークが表示されている。この表示例では、コード残数に関わらず同じ表情(例えば笑顔)のコード残数マークが表示されるが、コード残数に応じてその色(顔の色)が異なるように表示される。具体的には、限定ではなく例として、コード残数が少ないほど色が濃くなり、逆に、コード残数が多いほど色が薄くなるように表示される。
FIG. 5-5 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, above the area where the one-dimensional terminal display code is displayed, there is a remaining code mark, which is represented by an image of a face, as an example of remaining code information, which shows the number of remaining codes as an image. Displayed. In this display example, the code remaining mark is displayed with the same facial expression (for example, a smiling face) regardless of the remaining code number, but the color (face color) is displayed differently depending on the remaining code number. Specifically, by way of example and not limitation, the smaller the number of remaining codes, the darker the color, and conversely, the larger the number of remaining codes, the lighter the color.

なお、コード残数マークの色の濃さを変えるのではなく、コード残数マークの色を変えるようにしてもよいし、そのようにしなくてもよい。
例えば、コード残数が最も少ない状態を「赤色」、コード残数が最も多い状態を「青色」とし、「赤色→橙色→黄色→緑色→青色」のようにコード残数マークの色を変化させて表示するようにしてもよいし、そのようにしなくてもよい。
Note that instead of changing the color density of the remaining code mark, the color of the remaining code mark may or may not be changed.
For example, the state with the least number of codes remaining is "red", the state with the most codes remaining is "blue", and the color of the remaining code mark is changed as follows: "red → orange → yellow → green → blue". It may or may not be displayed.

図5-6は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、上記のコード表示画面と同様に、一次元の端末表示用コードが表示される領域の上に、顔の画像で表されるコード残数マークが表示されるが、この表示例では、コード残数に応じて異なる表情のコード残数マークが表示される。具体的には、限定ではなく例として、コード残数が多いほど表情が明るくなり、逆に、コード残数が少ないほど表情が暗くなるように表示される。
FIG. 5-6 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, like the code display screen above, a code remaining mark represented by a face image is displayed above the area where the one-dimensional terminal display code is displayed. In the illustrated example, a code remaining mark with a different facial expression is displayed depending on the remaining code number. Specifically, by way of example and not limitation, the more codes remaining, the brighter the expression, and conversely, the fewer the remaining codes, the darker the expression.

なお、図5-5の態様と、図5-6の態様とを組み合わせた態様で、コード残数マークを表示させるようにすることもできる。つまり、コード残数に応じて異なる表情、かつ、異なる顔の色のコード残数マークが表示されるようにすることもできる。 Note that it is also possible to display the remaining code mark in a combination of the mode shown in FIG. 5-5 and the mode shown in FIG. 5-6. In other words, it is also possible to display a code remaining mark with a different facial expression and a different face color depending on the remaining code number.

<処理>
図5-7は、本実施例において、端末20のコード表示処理部2113が、コード表示処理プログラム2823の一例である第2のコード表示処理プログラムに従って実行する第2のコード表示処理の流れの一例を示すフローチャートである。この第2のコード表示処理は、限定ではなく例として、図3-4の処理のA250のステップで実行される。
なお、第1のコード表示処理(図4-14)と同一のステップについては同一の符号を付して、再度の説明を省略する。
<Processing>
FIG. 5-7 shows an example of the flow of the second code display process executed by the code display processing unit 2113 of the terminal 20 according to the second code display process program, which is an example of the code display process program 2823, in this embodiment. It is a flowchart which shows. This second code display process is performed, by way of example and not limitation, at step A250 of the process of FIGS. 3-4.
Note that the same steps as those in the first code display process (FIG. 4-14) are given the same reference numerals and will not be described again.

図5-7の処理は、第1のコード表示処理(図4-14)のD110の後の処理を書き換えたものである。 The process in FIG. 5-7 is a rewrite of the process after D110 in the first code display process (FIG. 4-14).

D110の後、コード表示処理部2113は、コード残数関連情報表示設定データ2835に記憶されているコード残数情報の表示設定を取得する(E130)。その後、コード表示処理部2113は、E130で取得した表示設定(例えば表示態様の設定を含む。)に基づいて、コード残数情報と、端末表示用コード画像とを含むコード表示画面を表示部24に表示させる(E140)。 After D110, the code display processing unit 2113 acquires the display setting for the remaining code number information stored in the remaining code number related information display setting data 2835 (E130). Thereafter, the code display processing unit 2113 displays a code display screen including the remaining code number information and the code image for terminal display on the display unit 24 based on the display settings (including display mode settings, for example) acquired in E130. (E140).

その後、コード表示処理部2113は、第3表示終了条件が成立したか否かを判定する(E190)。第3表示終了条件は、例えば、端末20のユーザによるコード表示画面の非表示操作を検出したことや、前述したコード表示期限が経過したこと等であってもよいし、そうでなくてもよい。 Thereafter, the code display processing unit 2113 determines whether the third display end condition is satisfied (E190). The third display termination condition may be, for example, detection of an operation to hide the code display screen by the user of the terminal 20, or the expiration of the above-mentioned code display deadline, or may be other than that. .

第3表示終了条件が成立しないと判定した場合(E190:NO)、コード表示処理部2113は、そのまま待機する。一方、第3表示終了条件が成立したと判定した場合(E190:YES)、コード表示処理部2113は、第2のコード表示処理を終了する。 If it is determined that the third display end condition is not satisfied (E190: NO), the code display processing unit 2113 remains on standby. On the other hand, if it is determined that the third display end condition is satisfied (E190: YES), the code display processing unit 2113 ends the second code display processing.

<第2実施例の効果>
第2実施例は、端末表示用コードのコード画像や元情報(限定ではなく、第1情報の一例)が端末表示用コードストックデータ2831に記憶されている数、つまりコード残数(ストック数)を示すコード残数情報(限定ではなく、第1情報が記憶部に記憶されている数に関する情報の一例)をコード表示画面に表示する構成を示している。
このような構成により得られる効果の一例として、端末は、第1情報が記憶部に記憶されている数に関する情報を表示領域に表示することで、第1情報が記憶部に記憶されている数をユーザに報知することができる。
<Effects of the second embodiment>
In the second embodiment, the number of code images and original information (not limited, but an example of first information) of terminal display codes stored in the terminal display code stock data 2831, that is, the remaining number of codes (stock number) A configuration is shown in which code remaining number information indicating the number of remaining codes (not limited, but an example of information regarding the number of first information stored in the storage unit) is displayed on the code display screen.
As an example of the effect obtained by such a configuration, the terminal displays information regarding the number of first information stored in the storage unit in the display area, thereby displaying information regarding the number of first information stored in the storage unit. can be notified to the user.

また、この場合、第1実施例で示したコード残数ゼロ情報は、コード残数情報のうち、端末表示用コードストックデータ2831に記憶された端末表示用コードのコード画像や元情報の数がゼロであることを示す情報である構成を示している。
このような構成により得られる効果の一例として、端末は、第1情報が記憶部に記憶されている数とともに、記憶部に記憶された第1情報の数がゼロであることをユーザに報知することができる。
In this case, the code remaining number zero information shown in the first embodiment is the number of code images and original information of the terminal display code stored in the terminal display code stock data 2831 among the remaining code number information. It shows a configuration that is information indicating that it is zero.
As an example of the effect obtained by such a configuration, the terminal notifies the user of the number of pieces of first information stored in the storage unit and that the number of first information items stored in the storage unit is zero. be able to.

また、第2実施例は、コード残数情報は、端末表示用コードストックデータ2831に記憶された端末表示用コードのコード画像や元情報の数に基づいて表示態様を異ならせて表示される構成を示している。
このような構成により得られる効果の一例として、端末は、記憶部に記憶された第1情報の数をユーザが容易に把握可能(一見して把握可能)に表示することができる。
Further, in the second embodiment, the remaining code information is displayed in different display modes based on the number of code images and original information of the terminal display code stored in the terminal display code stock data 2831. It shows.
As an example of the effect obtained by such a configuration, the terminal can display the number of pieces of first information stored in the storage unit in a manner that allows the user to easily understand (can understand at a glance).

また、第2実施例は、端末20は、端末表示用コード画像をコード表示画面に表示することに基づき、コード残数情報の表示態様を変更する制御を制御部21によって実行する構成を示している。
このような構成により得られる効果の一例として、端末は、第1コード画像を表示領域に表示することに基づき、数に関する情報の表示態様を変更する制御を行うことで、第1コード画像の表示に応じて、記憶部に記憶された第1情報の数を適切にユーザに報知することができる。
Further, the second embodiment shows a configuration in which the terminal 20 executes control by the control unit 21 to change the display mode of the remaining code number information based on displaying the terminal display code image on the code display screen. There is.
As an example of the effect obtained by such a configuration, the terminal performs control to change the display mode of information related to numbers based on displaying the first code image in the display area, thereby controlling the display of the first code image. Accordingly, the number of pieces of first information stored in the storage unit can be appropriately notified to the user.

<第2変形例(1)>
第2実施例において、コード残数が比較的多い場合、コード残数情報の表示方法によっては、コード残数情報を画面内に表示しきれなかったり、見栄えが悪くなる可能性がある。そこで、表示するコード残数情報の上限数を設定するようにしてもよいし、そのようにしなくてもよい。
<Second modification (1)>
In the second embodiment, when the number of remaining codes is relatively large, depending on the method of displaying the remaining code number information, the remaining code number information may not be completely displayed on the screen or may look bad. Therefore, an upper limit number of remaining code information to be displayed may or may not be set.

また、この場合、コード残数が上限数を超えている場合、コード残数が上限数と同数である場合と同じ態様で、コード残数情報を表示するようにしてもよいし、そのようにしなくてもよい。例えば、上限数を「5個」と設定するのであれば、コード残数が5個を超えている場合、コード残数が5個である場合と同じ態様で、コード残数情報を表示させるようにすることができる。 In addition, in this case, if the number of remaining codes exceeds the upper limit, the information on the number of remaining codes may be displayed in the same manner as when the number of remaining codes is the same as the upper limit. You don't have to. For example, if you set the upper limit to 5, if the number of remaining codes exceeds 5, the remaining code information will be displayed in the same manner as when there are 5 remaining codes. It can be done.

例えば、前述した図5-4のコード表示画面は、コード残数が「5個」の場合であり、コード残数ゲージの5つの領域(全ての領域)に色が付されて表示されるとともに、コード残数ゲージの右側に「FULL」の文字が表示されている。この場合、コード残数が5個を超える場合にも、図5-4のコード表示画面と同じ態様でコード残数情報を表示するようにしてもよいし、そのようにしなくてもよい。 For example, the code display screen shown in Figure 5-4 above is for the case where the number of remaining codes is "5", and the five areas (all areas) of the remaining code number gauge are displayed in color. , the word "FULL" is displayed on the right side of the remaining code gauge. In this case, even when the number of remaining codes exceeds five, the remaining code information may or may not be displayed in the same manner as the code display screen shown in FIG. 5-4.

また、これとは異なり、コード残数が5個の場合は、コード残数ゲージの5つの領域(全ての領域)に色を付して表示するが「FULL」の文字は表示させないようにし、コード残数が5個を超える場合に「FULL」の文字を表示させるようにしてもよいし、そのようにしなくてもよい。 Also, different from this, if there are 5 codes remaining, the 5 areas (all areas) of the remaining code number gauge are displayed in color, but the word "FULL" is not displayed. If the number of remaining codes exceeds five, the characters "FULL" may or may not be displayed.

また、ここでは、図5-3、図5-4のゲージ形式でコード残数情報を表示する場合を例示したが、他の方式でコード残数情報を表示する場合も同様である。 In addition, although the case where the remaining code number information is displayed in the gauge format shown in FIGS. 5-3 and 5-4 has been exemplified here, the same applies to the case where the remaining code number information is displayed in other formats.

具体的には、例えば、コード残数を数字で表すのであれば、コード残数が上限数を超えている場合の数字を、コード残数が上限数と同数である場合と同じ数字で表すようにすればよい。
また、例えば、コード残数を色の濃さで表すのであれば、コード残数が上限数を超えている場合の色の濃さを、コード残数が上限数と同数である場合と同じ色の濃さで表すようにすればよい。
Specifically, for example, if the number of remaining codes is expressed as a number, the number when the number of remaining codes exceeds the upper limit should be expressed as the same number as the number when the number of remaining codes is the same as the upper limit. Just do it.
For example, if the number of remaining codes is expressed by the intensity of a color, the intensity of the color when the number of remaining codes exceeds the upper limit is the same as that when the number of remaining codes is the same as the upper limit. It may be expressed by the density of .

<第2変形例(2)>
第1変形例(2)で説明したように、コード表示画面に表示される端末表示用コードは、コード残数のカウントから除外するようにすることもできる。
<Second modification (2)>
As explained in the first modification (2), the terminal display code displayed on the code display screen may be excluded from the count of the remaining number of codes.

この場合は、前述したように、端末表示用コードストックデータ2831に記憶されている端末表示用コードから1個の端末表示用コードを読み出して表示する際に、その端末表示用コードのデータを記憶部28のアクティブ記憶領域に移して、端末表示用コードストックデータ2831から削除する。 In this case, as described above, when reading and displaying one terminal display code from the terminal display codes stored in the terminal display code stock data 2831, the data of that terminal display code is stored. 28 and deleted from the terminal display code stock data 2831.

その後、端末表示用コードストックデータ2831に記憶されている端末表示用コードの総数をコード残数としてカウントする。このようにすることで、コード表示画面に表示される端末表示用コードは、コード残数のカウントから除外される。そして、このようにしてカウントされたコード残数に基づき、例えば図5-1~図5-6に示したような態様でコード残数情報が表示されるようにすることができる。 Thereafter, the total number of terminal display codes stored in the terminal display code stock data 2831 is counted as the remaining number of codes. By doing this, the terminal display code displayed on the code display screen is excluded from the count of the remaining number of codes. Based on the number of remaining codes counted in this way, the remaining number of codes information can be displayed in the manner shown in FIGS. 5-1 to 5-6, for example.

<第2変形例(3)>
第1実施例で説明したコード残数ゼロ情報の表示と、第2実施例で説明したコード残数情報の表示とを組み合わせた処理を実行するようにしてもよいし、そのようにしなくてもよい。
<Second modification (3)>
It may be possible to perform a process that combines the display of the zero remaining code information explained in the first embodiment and the display of the remaining code number information explained in the second embodiment, or it is not necessary to do so. good.

図5-8は、本変形例において、端末20のコード表示処理部2113が、コード表示処理プログラム2823の一例である第3のコード表示処理プログラムに従って実行する第3のコード表示処理の流れの一例を示すフローチャートである。この第3のコード表示処理は、限定ではなく例として、図3-4の処理のA250のステップで実行される。
なお、既出の処理と同一のステップについては同一の符号を付して、再度の説明を省略する。
FIG. 5-8 is an example of the flow of the third code display process executed by the code display processing unit 2113 of the terminal 20 according to the third code display process program, which is an example of the code display process program 2823, in this modification example. It is a flowchart which shows. This third code display process is performed, by way of example and not limitation, in step A250 of the process of FIGS. 3-4.
Note that steps that are the same as those already described are given the same reference numerals, and repeated explanations will be omitted.

図5-8の処理は、第1のコード表示処理(図4-14)と、第2のコード表示処理(図5-7)とを組み合わせたものである。 The process in FIG. 5-8 is a combination of the first code display process (FIG. 4-14) and the second code display process (FIG. 5-7).

D110の後、カウントしたコード残数がゼロであると判定した場合(D120:YES)、コード表示処理部2113は、D130~D180の処理を行った後、第3のコード表示処理を終了する。 After D110, if it is determined that the counted remaining number of codes is zero (D120: YES), the code display processing unit 2113 performs the processes of D130 to D180, and then ends the third code display process.

一方、カウントしたコード残数がゼロではないと判定した場合(D120:NO)、コード表示処理部2113は、E130~E190の処理を行った後、第3のコード表示処理を終了する。 On the other hand, if it is determined that the counted remaining number of codes is not zero (D120: NO), the code display processing unit 2113 completes the third code display processing after performing the processing from E130 to E190.

<第2変形例(4)>
サーバ10によって生成される端末表示用コードに、その端末表示用コードを利用して決済を行うことのできる期限(以下、「コード有効期限」と称する。)を設定しておき、このコード有効期限の情報を端末20のユーザが認識可能な態様で表示させるようにすることもできる。
<Second modification (4)>
A time limit (hereinafter referred to as "code expiration date") within which payment can be made using the terminal display code generated by the server 10 is set, and this code expiration date It is also possible to display the information in a manner that the user of the terminal 20 can recognize.

コード有効期限は、生成した端末表示用コード毎にサーバ10側で管理される期限とすることができる。例えば、サーバ10が端末表示用コードを生成した日時を「コード生成日時」とし、サーバ10によって設定されるコードの有効時間を「コード有効時間」とする。この場合、限定ではなく例として、「コード生成日時からコード有効時間が経過するまでの期間」がコード有効期限として設定される。 The code expiration date can be a term managed on the server 10 side for each generated terminal display code. For example, the date and time when the server 10 generated the terminal display code is defined as the "code generation date and time", and the validity period of the code set by the server 10 is defined as the "code validity period". In this case, as an example and not a limitation, "the period from the code generation date and time until the code validity time elapses" is set as the code validity period.

図5-9は、本変形例において各装置が実行する処理の流れの一例を示すフローチャートである。左側から順に、端末20の制御部21が実行する処理、店舗コードリーダ装置50の制御部51が実行する処理、サーバ10の制御部11が実行する処理の一例をそれぞれ示している。 FIG. 5-9 is a flowchart showing an example of the flow of processing executed by each device in this modification. Examples of processing executed by the control unit 21 of the terminal 20, processing executed by the control unit 51 of the store code reader device 50, and processing executed by the control unit 11 of the server 10 are shown in order from the left.

図5-9のフローチャートは、図3-4のフローチャートを一部書き換えたものである。図3-4のフローチャートとは、限定ではなく例として、A330~A350、B350、B360、C320、C330、C370等のステップが異なる。 The flowchart in FIG. 5-9 is a partial rewrite of the flowchart in FIG. 3-4. The flowchart of FIG. 3-4 differs from the flowchart in steps A330 to A350, B350, B360, C320, C330, C370, etc., by way of example and not limitation.

この処理では、一例として、端末20、または端末20のユーザを識別するための識別情報を、前述したアプリケーションIDとして説明する。 In this process, as an example, identification information for identifying the terminal 20 or the user of the terminal 20 will be described as the above-mentioned application ID.

C110の後、サーバ10の制御部11は、端末表示用コード生成処理を行う(C320)。具体的には、限定ではなく例として、所定の桁数(例えば10桁~12桁程度の桁数)のランダムな数字を発生させる手法(アルゴリズム)を用いて、所定の桁数のランダムな数字を決済用番号として発生させる。そして、限定ではなく例として、少なくとも決済用番号を元情報として含む端末表示用コード画像を生成する。より具体的には、少なくとも決済用番号をエンコード(符号化)し、図形化(画像化)して、二次元コード(例えばQRコード)の画像で表される端末表示用コード画像を生成する。 After C110, the control unit 11 of the server 10 performs terminal display code generation processing (C320). Specifically, as an example and not a limitation, a method (algorithm) that generates a random number of a predetermined number of digits (for example, about 10 to 12 digits) is used to generate a random number of a predetermined number of digits. will be generated as a payment number. Then, by way of example and not limitation, a code image for terminal display is generated that includes at least the payment number as original information. More specifically, at least the payment number is encoded (encoded) and graphically (imaged) to generate a code image for terminal display represented by an image of a two-dimensional code (for example, a QR code).

また、制御部11は、コード管理データベース159のうち、受信されたコード生成依頼情報に含まれるアプリケーションIDのコード管理データに、限定ではなく例として、時計部19の計時情報に基づくコード生成日時と、コードNoと、発生させた決済用番号と、生成した端末表示用コードについて設定したコード有効期限とを関連付けて記憶させる。 In addition, the control unit 11 adds the code generation date and time based on the clock information of the clock unit 19 to the code management data of the application ID included in the received code generation request information in the code management database 159, by way of example and not limitation. , the code number, the generated payment number, and the code expiration date set for the generated terminal display code are stored in association with each other.

次いで、制御部11は、限定ではなく例として、コードNoとともに、生成した端末表示用コード(この例では端末表示用コード画像)と、その端末表示用コードについて設定したコード有効期限とを、通信I/F14によって端末20に送信する(C330)。 Next, the control unit 11 transmits, by way of example and not limitation, the generated terminal display code (in this example, the terminal display code image) and the code expiration date set for the terminal display code together with the code number. It is transmitted to the terminal 20 via the I/F 14 (C330).

通信I/F22によってサーバ10から端末表示用コード(この例では端末表示用コード画像)と、コード有効期限とを受信すると(A330)、端末20の制御部21は、受信された端末表示用コード(この例では端末表示用コード画像)をストックする(A340)。具体的には、受信された端末表示用コードのコードデータと、受信されたコード有効期限とを、コード受信日時やコードNoと関連付けて、端末表示用コードストックデータ2831に記憶させる。 When the communication I/F 22 receives the terminal display code (terminal display code image in this example) and the code expiration date from the server 10 (A330), the control unit 21 of the terminal 20 receives the received terminal display code. (in this example, a code image for terminal display) is stocked (A340). Specifically, the code data of the received terminal display code and the received code expiration date are stored in the terminal display code stock data 2831 in association with the code reception date and time and code number.

オフライン状態において、限定ではなく例として、端末20のユーザによってコード表示操作がなされると、コード表示処理部2113が、コード表示処理を行う(A350)。 In the offline state, by way of example and not limitation, when the user of the terminal 20 performs a code display operation, the code display processing unit 2113 performs code display processing (A350).

具体的には、コード表示処理部2113は、限定ではなく例として、端末表示用コードストックデータ2831に記憶されている端末表示用コードのコードデータを読み出して、端末表示用コード画像を含むコード表示画面を表示部24に表示させる。この際、コード表示処理部2113は、限定ではなく例として、コード残数情報と、コード有効期限の情報とを関連付けてコード表示画面に表示させる。 Specifically, by way of example and not limitation, the code display processing unit 2113 reads the code data of the terminal display code stored in the terminal display code stock data 2831, and displays the code including the terminal display code image. The screen is displayed on the display unit 24. At this time, the code display processing unit 2113 associates the remaining code information with the code expiration date information and displays them on the code display screen, by way of example and not limitation.

その後、表示部24に表示された端末表示用コード画像が端末20のユーザによって店舗の店員等に提示されると、制御部51は、端末20の表示部24に表示された端末表示用コード画像を、コードリーダ58に読み取らせる制御を行う(B350)。 Thereafter, when the user of the terminal 20 presents the terminal display code image displayed on the display unit 24 to a store clerk or the like, the control unit 51 controls the terminal display code image displayed on the display unit 24 of the terminal 20. is controlled to be read by the code reader 58 (B350).

その後、制御部51は、前述したアプリケーションインターフェイス(API)等を用いて通信I/F54によってサーバ10にアクセスし、少なくとも、読み取った端末表示用コード画像からデコードによって取得した決済用番号と、店舗識別情報と、決済予定金額と、端末表示用コード画像を読み取った時刻(以下、「コード読み取り時刻」と称する。)とを含む決済要求情報を、通信I/F54によってサーバ10に送信する(B360)。 Thereafter, the control unit 51 accesses the server 10 through the communication I/F 54 using the above-mentioned application interface (API), etc., and obtains at least the payment number obtained by decoding the read terminal display code image and the store identification number. Payment request information including the information, the scheduled payment amount, and the time when the terminal display code image was read (hereinafter referred to as "code reading time") is transmitted to the server 10 via the communication I/F 54 (B360). .

店舗コードリーダ装置50から通信I/F14によって決済要求情報を受信すると(C160)、制御部11は、決済処理を行う(C370)。 When payment request information is received from the store code reader device 50 through the communication I/F 14 (C160), the control unit 11 performs payment processing (C370).

具体的には、受信された決済要求情報に含まれる決済用番号が、アプリケーションIDと関連付けてコード管理データベース159に記憶されているか否かを判定する。そして、記憶されていると判定した場合、受信された決済要求情報に含まれるコード読み取り時刻が、そのアプリケーションIDのコード管理データにおける、その決済用番号と関連付けて記憶されているコード有効期限内であるか否かを判定する。そして、この条件を満たす場合は「決済可能」と判定し、決済管理データベース157Aのうち、そのアプリケーションIDの決済管理データに記憶されている残高から決済予定金額を減算して決済する。 Specifically, it is determined whether the payment number included in the received payment request information is stored in the code management database 159 in association with the application ID. If it is determined that the code has been stored, the code reading time included in the received payment request information is within the code expiration date stored in association with the payment number in the code management data of the application ID. Determine whether it exists or not. If this condition is satisfied, it is determined that "payment is possible", and the scheduled payment amount is subtracted from the balance stored in the payment management data of the application ID in the payment management database 157A, and the payment is made.

図5-10は、本変形例におけるコード表示画面の一例を示す図である。このコード表示画面は、限定ではなく例として、図5-9の処理のA350で表示される。
このコード表示画面では、図5-1のコード表示画面と同様に、一次元の端末表示用コードが表示される領域の上に、カウントされたコード残数分の、例えば矩形で表されるコード残数画像が表示されている。ただし、図5-1のコード表示画面とは異なり、それぞれの端末表示用コードに対応するコード残数画像の色の濃さが、対応する端末表示用コードに関連付けられたコード有効期限に基づく濃さで表示されている。
FIG. 5-10 is a diagram showing an example of a code display screen in this modification. This code display screen is displayed at A350 in the process of FIG. 5-9, by way of example and not limitation.
On this code display screen, similar to the code display screen in Figure 5-1, on the area where the one-dimensional terminal display code is displayed, a code for the number of remaining codes that has been counted is displayed, for example, in a rectangular shape. The remaining images are displayed. However, unlike the code display screen in Figure 5-1, the color density of the remaining code image corresponding to each terminal display code is based on the code expiration date associated with the corresponding terminal display code. is displayed.

この場合、コード表示処理部2113は、限定ではなく例として、コード有効期限の残り時間が短い端末表示用コードに対応するコード残数画像ほど、色を薄くして表示させる。逆に、コード有効期限の残り時間が長い端末表示用コードに対応するコード残数画像ほど、色を濃くして表示させる。 In this case, as an example and not a limitation, the code display processing unit 2113 displays the code remaining number image corresponding to the terminal display code with a shorter remaining code expiration date in a lighter color. Conversely, the code remaining number image corresponding to the terminal display code with a longer remaining code expiration time is displayed in a darker color.

なお、コード有効期限に基づいてコード残数画像の色の濃さを変えるのではなく、コード有効期限に基づいてコード残数画像の色を変えるようにしてもよいし、そのようにしなくてもよい。例えば、コード有効期限の残り時間が短い順に「赤色→橙色→黄色→緑色→青色」のようにコード残数画像の色を変えるようにすることができる。 In addition, instead of changing the color density of the remaining code image based on the code expiration date, you may change the color of the remaining code image based on the code expiration date, or you may not do so. good. For example, the color of the remaining code number image can be changed in order of shortest remaining code expiration time, such as "red → orange → yellow → green → blue."

このようにすることで、端末は、記憶部に記憶されている第1情報(コード情報)の数とともに、それぞれの第1情報(コード情報)に関連付けられている有効期限の情報(例えば有効期限の残り時間)を端末のユーザに報知することができる。 By doing so, the terminal can display the number of pieces of first information (code information) stored in the storage unit as well as the information on the expiration date (for example, the expiration date) associated with each piece of first information (code information). (remaining time) can be notified to the terminal user.

この手法は、例えば、端末表示用コードを時間をずらしてサーバ10から取得した場合や、端末表示用コードを時間をずらしてサーバ10から補充したような場合に、それぞれの端末表示用コードの有効期限の情報を端末のユーザが一見して把握可能となるため、有用である。 This method is effective when, for example, the terminal display codes are acquired from the server 10 at different times, or when the terminal display codes are replenished from the server 10 at different times. This is useful because the terminal user can grasp the deadline information at a glance.

なお、上記の処理では、サーバ10から、端末表示用コードと、コード有効期限(限定ではなく、有効期限に関する情報の一例)とが端末20に送信され、これを端末20で受信することとしたが、これに限定されない。 In addition, in the above process, the terminal display code and the code expiration date (not a limitation, but an example of information regarding the expiration date) are transmitted from the server 10 to the terminal 20, and the terminal 20 receives the code. However, it is not limited to this.

具体的には、限定ではなく例として、端末20の決済アプリケーションデータ283に、あらかじめコード有効時間を記憶させておく。そして、限定ではなく例として、コード生成日時(限定ではなく、有効期限に関する情報の一例)がサーバ10から送信されるようにし、端末20が、サーバ10からコード生成日時を受信するようにしてもよいし、そのようにしなくてもよい。この場合、端末20は、受信されたコード生成日時と、決済アプリケーションデータ283に記憶されているコード有効時間とに基づいて、コード有効期限を特定することができる。 Specifically, by way of example and not limitation, the code validity period is stored in advance in the payment application data 283 of the terminal 20. As an example and not a limitation, the code generation date and time (not a limitation, but an example of information regarding the expiration date) may be transmitted from the server 10, and the terminal 20 may be configured to receive the code generation date and time from the server 10. That's fine, and you don't have to do it that way. In this case, the terminal 20 can specify the code expiration date based on the received code generation date and time and the code expiration time stored in the payment application data 283.

また、コード有効期限が開始する日時をコード生成日時とするのではなく、サーバ10から端末20に端末表示用コードが送信された日時(以下、「コード送信日時」と称する。)とすることもできる。この場合、端末20は、限定ではなく例として、コード送信日時と、決済アプリケーションデータ283に記憶されているコード有効時間とに基づいて、コード有効期限を特定することができる。 Furthermore, instead of setting the date and time at which the code expiration date starts as the code generation date and time, the date and time at which the terminal display code was sent from the server 10 to the terminal 20 (hereinafter referred to as the "code transmission date and time") may be used. can. In this case, the terminal 20 can identify the code expiration date based on the code transmission date and time and the code expiration time stored in the payment application data 283, by way of example and not limitation.

また、この他にも、限定ではなく例として、コード有効期限が終了する日時の情報が、有効期限に関する情報としてサーバ10から端末20に送信されるようにする。そして、端末20が、コード有効時間と、受信されたコード有効期限が終了する日時とに基づいて、コード有効期限を特定するようにすることもできる。 In addition to this, by way of example and not limitation, information on the date and time when the code expiration date ends is transmitted from the server 10 to the terminal 20 as information regarding the expiration date. The terminal 20 can also specify the code expiration date based on the code expiration time and the date and time when the received code expiration date ends.

また、端末表示用コードに関連付けられたコード有効期限はサーバ10から端末20に送信されないようにし、端末20側では、サーバ10で設定されたコード有効期限が分からないようにしてもよい。この場合、端末表示用コードストックデータ2831には、コード有効期限を記憶させず、限定ではなく例として、コード受信日時と、コードNoと、コードデータとを関連付けて記憶させるようにすることができる。 Further, the code expiration date associated with the terminal display code may not be transmitted from the server 10 to the terminal 20, so that the terminal 20 side may not know the code expiration date set by the server 10. In this case, the terminal display code stock data 2831 may not store the code expiration date, but may store the code reception date and time, code number, and code data in association with each other, by way of example and not limitation. .

また、この場合、端末20側で、仮のコード有効期限(以下、「仮コード有効期限」と称する。)を設定するようにしてもよいし、そのようにしなくてもよい。具体的には、限定ではなく例として、「コード受信日時(またはコード記憶日時)からコード有効時間が経過するまでの期間」を仮コード有効期限として設定するようにしてもよいし、そのようにしなくてもよい。 Further, in this case, a temporary code expiration date (hereinafter referred to as "temporary code expiration date") may or may not be set on the terminal 20 side. Specifically, as an example and not a limitation, the temporary code expiration date may be set as "the period from the code reception date and time (or code storage date and time) until the code validity time elapses." You don't have to.

<第3実施例>
第2実施例では、コード表示画面にコード残数情報を表示させたが、前述したように、コード残数のカウント方法には2通りがある。このため、ユーザにとっては、コード表示画面に表示されている端末表示用コードが、コード残数情報から認識されるコード残数に含まれているのか、それとも含まれていないのか、分かりにくいという問題がある。
<Third Example>
In the second embodiment, information on the number of remaining codes is displayed on the code display screen, but as described above, there are two methods for counting the number of remaining codes. Therefore, it is difficult for the user to understand whether the terminal display code displayed on the code display screen is included in the number of remaining codes recognized from the remaining number of codes information or not. There is.

第3実施例に記載の内容は、他の各実施例や他の各変形例のいずれにも適用可能である。
また、既出の構成要素と同一の構成要素については同一の符号を付して、再度の説明を省略する。
The content described in the third embodiment is applicable to any of the other embodiments and other modifications.
In addition, the same reference numerals are given to the same constituent elements as those already mentioned, and the explanation thereof will be omitted.

図6-1は、本実施例におけるコード表示画面の一例を示す図である。
このコード表示画面では、一次元の端末表示用コード画像が表示される領域の上に、カウントされたコード残数分の、例えば内部に数字が付された矩形で表される第1のガイド画像が表示されている。
FIG. 6-1 is a diagram showing an example of a code display screen in this embodiment.
On this code display screen, a first guide image represented by a rectangle with a number inside, for example, corresponding to the counted number of remaining codes is displayed above the area where the one-dimensional code image for terminal display is displayed. is displayed.

この表示例では、5個の第1のガイド画像が表示されており、限定ではなく例として、一番左に表示された第1のガイド画像の色が黒色に変化し、手前側に浮き上がった状態として強調表示されている。また、残りの4個の第1のガイド画像はデフォルトの状態で表示されている。残りの4個の第1のガイド画像のいずれかをタッチ操作すると、その第1のガイド画像に対応する端末表示用コード画像が画面中央に表示される。 In this display example, five first guide images are displayed, and as an example and not a limitation, the color of the first guide image displayed on the far left changes to black and it floats toward the front. Highlighted as a condition. Further, the remaining four first guide images are displayed in a default state. When any one of the remaining four first guide images is touched, a terminal display code image corresponding to the first guide image is displayed at the center of the screen.

図6-2は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、一次元の端末表示用コード画像が表示される領域の上に、カウントされたコード残数分の、例えば二次元コードを模式化(模擬)した第2のガイド画像が表示されている。
FIG. 6-2 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, a second guide image that is a simplified (simulated) two-dimensional code is displayed, for example, for the number of remaining codes counted, above the area where the one-dimensional code image for terminal display is displayed. has been done.

この表示例では、5個の第2のガイド画像が表示されており、いずれかの第2のガイド画像がユーザによってタッチ操作されると、限定ではなく例として、タッチ操作された第2のガイド画像に対応する端末表示用コードのデータに基づき、アニメーションによって、端末表示用コード画像が画面中央に表示される。 In this display example, five second guide images are displayed, and when any of the second guide images is touched by the user, the touch-operated second guide Based on the data of the terminal display code corresponding to the image, the terminal display code image is displayed in the center of the screen by animation.

この表示例では、一番左の第2のガイド画像がタッチ操作されたことで、この一番左の第2のガイド画像の表示位置を基準として、端末表示用コード画像を含む画像全体が、表示部24の表示画面のサイズに基づく規定サイズとなるように徐々に拡大処理されていき、最終的に、規定サイズとなった時点で拡大処理が終了して、図6-2の図面右に示した状態で表示される。また、拡大処理が終了すると、対応する第2のガイド画像の表示は消去された上で、残りの4個の第2のガイド画像が左に詰めて表示される。 In this display example, when the leftmost second guide image is touched, the entire image including the terminal display code image is changed based on the display position of the leftmost second guide image. The enlargement process is gradually performed to a specified size based on the size of the display screen of the display unit 24, and finally, when the specified size is reached, the enlargement process ends, and the image shown on the right side of the drawing in Figure 6-2 It will be displayed as shown. Further, when the enlargement process is completed, the display of the corresponding second guide image is erased, and the remaining four second guide images are displayed shifted to the left.

なお、この例のように、表示させた端末表示用コード画像に対応するガイド画像の表示を消去した上で、残りのガイド画像を詰めて表示させるのではなく、表示させた端末表示用コード画像に対応するガイド画像の表示は消去するが、残りのガイド画像は詰めずにそのまま同じ位置に表示させるようにしてもよいし、そのようにしなくてもよい。 Note that instead of erasing the display of the guide image corresponding to the displayed code image for terminal display and then filling in the remaining guide images and displaying the displayed code image for terminal display, as in this example, The display of the guide image corresponding to is deleted, but the remaining guide images may or may not be displayed in the same position without being packed together.

図6-3は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、図6-2のコード表示画面と同様に、一次元の端末表示用コード画像が表示される領域の上に、カウントされたコード残数分の、例えば矩形で表される第3のガイド画像が表示されているが、この例では、タッチ操作された第3のガイド画像はそのままの状態(アクティブ状態)で表示され、残りの第3のガイド画像は非アクティブ状態に変化して表示される点が異なる。
FIG. 6-3 is a diagram showing another example of the code display screen in this embodiment.
On this code display screen, similar to the code display screen in Figure 6-2, on the area where the one-dimensional code image for terminal display is displayed, the number of remaining codes that have been counted is displayed, for example, as a rectangle. The third guide image is displayed, but in this example, the third guide image that was touched is displayed as is (active state), and the remaining third guide images change to inactive state. The difference is that it is displayed as

具体的には、この表示例では、5個の第3のガイド画像が表示されており、いずれかの第3のガイド画像がユーザによってタッチ操作されると、図6-2と同様に、タッチ操作された第3のガイド画像に対応する端末表示用コードのデータに基づき、アニメーションによって、端末表示用コード画像が画面中央に表示される。 Specifically, in this display example, five third guide images are displayed, and when the user performs a touch operation on any third guide image, the touch operation is performed as in FIG. 6-2. Based on the data of the terminal display code corresponding to the operated third guide image, the terminal display code image is displayed in the center of the screen by animation.

この表示例では、一番左の第3のガイド画像がタッチ操作されたことで、この一番左の第3のガイド画像の表示位置を基準として、端末表示用コード画像を含む画像全体が、表示部24の表示画面のサイズに基づく規定サイズとなるように徐々に拡大処理されていき、最終的に、規定サイズとなった時点で拡大処理が終了して、図6-3の図面右に示した状態で表示される。また、タッチ操作された一番左の第3のガイド画像はそのままの状態(アクティブ状態)で表示され、残りの4個の第3のガイド画像は非アクティブ状態に変化して表示される。 In this display example, when the leftmost third guide image is touched, the entire image including the terminal display code image is changed based on the display position of the leftmost third guide image. The enlargement process is gradually performed to a specified size based on the size of the display screen of the display unit 24, and finally, when the specified size is reached, the enlargement process is completed, and the image shown on the right side of the drawing in Figure 6-3 is It will be displayed as shown. Furthermore, the leftmost third guide image that has been touched is displayed as is (active state), and the remaining four third guide images are changed to inactive states and displayed.

なお、上記の第2のガイド画像や第3のガイド画像は、あくまでも二次元のコード画像(例えばQRコードの画像)を模擬したアイコン(マーク)であって、本物のコード画像ではない。このため、当然ではあるが、これらのガイド画像をコードリーダで読み取ることはできず、決済に利用することはできない。 Note that the second guide image and the third guide image described above are just icons (marks) that simulate two-dimensional code images (for example, QR code images), and are not real code images. Therefore, it goes without saying that these guide images cannot be read by a code reader and cannot be used for payment.

図6-4は、本実施例におけるコード表示画面の別例を示す図である。
このコード表示画面では、端末表示用コードストックデータ2831に記憶されている複数の端末表示用コード(端末表示用コード画像)を、限定ではなく例として、端末20のユーザがスワイプ操作を行うことによって、スライド式に切替表示可能に構成されている。
FIG. 6-4 is a diagram showing another example of the code display screen in this embodiment.
In this code display screen, a plurality of terminal display codes (terminal display code images) stored in the terminal display code stock data 2831 are displayed by way of example, not limitation, when the user of the terminal 20 performs a swipe operation. , which can be switched and displayed in a sliding manner.

具体的には、限定ではなく例として、一次元の端末表示用コード画像が表示される領域の上に、端末表示用コードストックデータ2831に記憶されている端末表示用コードと同数(つまりコード残数(ストック数)と同数)の、例えば丸(○)で表される第4のガイド画像が横方向に並べて表示されている。 Specifically, as an example and not a limitation, the same number of terminal display codes (that is, remaining codes) as the terminal display codes stored in the terminal display code stock data 2831 may be placed above the area where the one-dimensional terminal display code image is displayed. (the same number as the stock number), for example, fourth guide images represented by circles (◯) are displayed side by side in the horizontal direction.

第4のガイド画像は、限定ではなく例として、左から順に、1番目の端末表示用コード、2番目の端末表示用コード、3番目の端末表示用コード、・・・、にそれぞれ対応しており、対応する端末表示用コードのコード画像が画面中央に表示された際に、白色で表されていた第4のガイド画像が黒色に変化して表示される。 As an example and not a limitation, the fourth guide image corresponds to the first terminal display code, the second terminal display code, the third terminal display code, etc. in order from the left. Therefore, when the code image of the corresponding terminal display code is displayed in the center of the screen, the fourth guide image, which was displayed in white, changes to black and is displayed.

この表示例では、コード残数(ストック数)が5個であることにより、5個の端末表示用コードがスライド式に切替表示可能に構成されており、それぞれに対応する5個の丸で表される第4のガイド画像が表示されている。 In this display example, since there are 5 codes remaining (stock number), 5 terminal display codes can be switched and displayed in a sliding manner, and each is represented by 5 circles. A fourth guide image is displayed.

図面左は、二次元の端末表示用コード画像QC1を含む1個目のコード画像が表示された状態を示しており、左から1番目の第4のガイド画像が黒丸で表示され、その他の第4のガイド画像は白丸で表示されている。
図面中央は、端末20のユーザが表示画面をタッチ操作した後、その位置から左方向にスワイプ操作した状態を示している。左方向にスワイプ操作することで、二次元の端末表示用コード画像QC1を含む1番目のコード画像の表示が、二次元の端末表示用コード画像QC2を含む2つ目の端末表示用コードの表示に切り替わる。
図面右は、このスワイプ操作によって二次元の端末表示用コード画像QC2を含む2つ目の端末表示用コードが表示された状態を示しており、左から2番目の第4のガイド画像が黒丸で表示され、その他の第4のガイド画像は白丸で表示されている。
The left side of the drawing shows a state where the first code image including the two-dimensional terminal display code image QC1 is displayed, the fourth guide image first from the left is displayed as a black circle, and the other The guide image No. 4 is displayed as a white circle.
The center of the drawing shows a state in which the user of the terminal 20 performs a touch operation on the display screen and then performs a swipe operation to the left from that position. By swiping leftward, the display of the first code image containing the two-dimensional terminal display code image QC1 changes to the display of the second terminal display code containing the two-dimensional terminal display code image QC2. Switch to .
The right side of the drawing shows a state where the second terminal display code including the two-dimensional terminal display code image QC2 is displayed by this swipe operation, and the fourth guide image second from the left is a black circle. The other fourth guide image is displayed as a white circle.

上記に例示した各種のガイド画像は、コード残数情報(限定ではなく、第1情報が記憶部に記憶されている数に関する情報の一例)であるとともに、表示される端末表示用コード画像や元情報(限定ではなく、第1情報の一例)との対応関係を端末20のユーザに案内する(知らせる)ための案内情報(ガイド情報)の一例である。 The various guide images exemplified above are information on the remaining number of codes (not limited to this, but is an example of information regarding the number of first information stored in the storage unit), as well as code images for terminal display and original information. This is an example of guidance information (guide information) for guiding (informing) the user of the terminal 20 of the correspondence relationship with information (not limited, but an example of first information).

なお、上記の表示例におけるガイド画像・端末表示用コード画像の表示の順序は、限定ではなく例として、左から順に、端末表示用コードストックデータ2831に記憶されている端末表示用コードのうち、その取得が古い順とすることができる。 Note that the display order of the guide image/terminal display code image in the above display example is not a limitation, but is an example, starting from the left, of the terminal display codes stored in the terminal display code stock data 2831. The acquisition can be done in order of oldest acquisition.

ただし、表示の順序はこれに限定されるわけではなく、例えば、左から順に、端末表示用コードストックデータ2831に記憶されている端末表示用コードのうち、その取得が新しい順に表示させるようにしてもよいし、そのようにしなくてもよい。
また、完全にランダムな順序で表示させるようにしてもよいし、そのようにしなくてもよい。
However, the display order is not limited to this. For example, the terminal display codes stored in the terminal display code stock data 2831 may be displayed from the left to the most recently acquired. You may or may not have to do it that way.
Further, the images may or may not be displayed in a completely random order.

<第3実施例の効果>
第3実施例は、端末20の表示部24に表示されるコード表示画面において、コード残数に基づくガイド画像(限定ではなく、数に関する情報の一例)が表示され、このガイド画像の表示位置を基準として、端末表示用コード画像を含む全体的な画像が、表示部24の表示画面いっぱいのサイズとなるように徐々に拡大され(限定ではなく、数に関する情報が表示領域に表示された位置に近い第1領域に第1コード画像を表示することの一例)、最終的に、表示部24の表示画面いっぱいのサイズとなった時点で拡大が終了して端末表示用コード画像が表示される(限定ではなく、第1領域に第1コード画像が表示された後、数に関する情報が表示領域に表示された位置から第1領域よりも遠い第2領域に第1コード画像を表示することの一例)構成を示している。
このような構成により得られる効果の一例として、端末は、第1情報が記憶部に記憶されている数に関する情報と、表示される第1情報との対応関係を端末のユーザが容易に把握可能(認識可能)に表示することができる。
<Effects of the third embodiment>
In the third embodiment, on the code display screen displayed on the display unit 24 of the terminal 20, a guide image based on the remaining number of codes (an example of information regarding the number, not a limitation) is displayed, and the display position of this guide image is displayed. As a standard, the entire image including the code image for terminal display is gradually enlarged to fill the display screen of the display unit 24 (not limited to, the number information is displayed at the position where it is displayed in the display area). An example of displaying the first code image in a nearby first area), and finally, when the size reaches the full display screen of the display unit 24, the expansion ends and the terminal display code image is displayed ( This is not a limitation, but is an example of displaying the first code image in the first area, and then displaying the first code image in the second area, which is further away from the position where the information regarding the number is displayed in the display area than the first area. ) shows the configuration.
As an example of the effect obtained by such a configuration, the terminal allows the user of the terminal to easily understand the correspondence between information regarding the number of first information stored in the storage unit and the displayed first information. (recognizable).

<第3変形例(1)>
第3実施例では、コード表示画面に表示される端末表示用コードが、コード残数のカウントに含まれる場合の表示方法を例示したが、コード表示画面に表示される端末表示用コードをコード残数のカウントから除外する場合も同様である。
<Third modification (1)>
In the third embodiment, the display method when the terminal display code displayed on the code display screen is included in the count of remaining codes, but the terminal display code displayed on the code display screen is The same applies when excluding from counting.

第2変形例(2)で説明したように、コード表示画面に表示される端末表示用コードをコード残数のカウントから除外して、コード残数情報を表示させる手法も考えられる。
この場合、コード表示画面に表示されている端末表示用コード(コード画像)がコード残数に含まれていないことをユーザに報知する必要がある。そこで、限定ではなく例として、以下のような表示を行うようにすることができる。
As explained in the second modification (2), it is also conceivable to exclude the terminal display code displayed on the code display screen from counting the remaining code number and display the remaining code information.
In this case, it is necessary to inform the user that the terminal display code (code image) displayed on the code display screen is not included in the remaining number of codes. Therefore, by way of example and not limitation, the following display may be performed.

例えば図6-1のように、矩形のガイド画像を表示させる手法を適用するのであれば、制御部21は、限定ではなく例として、ストックされている一の端末表示用コードのコード画像をコード表示画面の画面中央に表示させるとともに、表示させた一の端末表示用コードを除外してカウントしたコード残数分のガイド画像を表示させる。この際、制御部21は、ガイド画像を、全てデフォルトの状態で表示させる(いずれのガイド画像も強調表示させない)。 For example, if a method of displaying a rectangular guide image is applied as shown in FIG. The display screen is displayed at the center of the display screen, and guide images corresponding to the remaining number of codes counted after excluding one displayed terminal display code are displayed. At this time, the control unit 21 displays all guide images in a default state (does not highlight any guide images).

また、例えば図6-2や図6-3のように、二次元コードを模擬したガイド画像を表示させる手法を適用するのであれば、制御部21は、限定ではなく例として、一の端末表示用コードのコード画像をコード表示画面の画面中央に表示させるとともに、表示させた一の端末表示用コードを除外してカウントしたコード残数分のガイド画像を表示させる。この際、制御部21は、ガイド画像を、全て非アクティブ状態で表示させる(いずれのガイド画像もアクティブ状態で表示させない)。 Furthermore, if a method of displaying a guide image simulating a two-dimensional code as shown in FIGS. 6-2 and 6-3 is applied, the control unit 21 may be configured to The code image of the code for use is displayed in the center of the code display screen, and guide images for the remaining number of codes counted after excluding the displayed one terminal display code are displayed. At this time, the control unit 21 displays all guide images in an inactive state (does not display any guide images in an active state).

より具体的には、例えば、コード表示画面に表示させた端末表示用コードを除外してカウントしたコード残数が「5個」である場合、上記のような表示態様で「5個」のガイド画像をコード表示画面に表示させるようにする。 More specifically, for example, if the remaining number of codes counted after excluding the terminal display code displayed on the code display screen is "5", a guide of "5" will be displayed in the above display mode. Display the image on the code display screen.

このようにすることで、表示されている端末表示用コード画像がガイド画像とは対応していないこと(対応関係にないこと)をユーザが認識可能となり、その結果、表示中のコード(コード画像)はコード残数に含まれていないことをユーザは把握することができる。 By doing this, the user can recognize that the displayed code image for terminal display does not correspond to the guide image (there is no correspondence relationship), and as a result, the displayed code (code image ) is not included in the number of remaining codes.

<第3変形例(2)>
本開示における端末表示用コードは、前述したように、オンライン状態ばかりでなく、オフライン状態でも利用することができる。オンライン状態であれば、端末20は、サーバ10によって決済が行われた後、すぐにサーバ10から端末用決済完了通知を受信することができる。このため、端末20は、限定ではなく例として、端末用決済完了通知を受信した後、決済に利用した端末表示用コードのデータを端末表示用コードストックデータ2831から削除することができる。
<Third modification (2)>
As described above, the terminal display code in the present disclosure can be used not only in an online state but also in an offline state. In the online state, the terminal 20 can receive a terminal payment completion notification from the server 10 immediately after the server 10 performs the payment. Therefore, by way of example and not limitation, after receiving the terminal payment completion notification, the terminal 20 can delete the data of the terminal display code used for the payment from the terminal display code stock data 2831.

しかしながら、オフライン状態では、端末20は、オンライン状態に復帰するまでは、サーバ10から端末用決済完了通知を受信することができないため、サーバ10によって決済が行われたかどうかを知ることができない。このため、オフライン状態において、例えば端末20のユーザが、コード表示画面に表示された一の端末表示用コードを決済に使用したとしても(店舗コードリーダ装置50に読み取らせたとしても)、端末20は、その端末表示用コードを削除することはできない。よって、例えば、端末20のユーザが、一度決済に使用した端末表示用コードをコード表示画面に再表示させて、再び決済に使用しようとするおそれがある。 However, in the offline state, the terminal 20 cannot receive the terminal payment completion notification from the server 10 until it returns to the online state, and therefore cannot know whether the server 10 has made the payment. Therefore, in the offline state, for example, even if the user of the terminal 20 uses one terminal display code displayed on the code display screen for payment (even if the store code reader device 50 reads it), the terminal 20 cannot delete the terminal display code. Therefore, for example, there is a possibility that the user of the terminal 20 may attempt to re-display the terminal display code once used for payment on the code display screen and use it for payment again.

そこで、例えば図6-4に示したコード表示画面において、端末20の制御部21が、ユーザのスワイプ操作を検知し、次の端末表示用コード画像に表示を切り替えた場合、切り替える前に表示していた端末表示用コードのデータを削除(破棄)するなどして、再表示することができないようにしてもよいし、そのようにしなくてもよい。 Therefore, for example, on the code display screen shown in Figure 6-4, when the control unit 21 of the terminal 20 detects a swipe operation by the user and switches the display to the next terminal display code image, the code image is displayed before switching. The terminal display code data that was displayed may be deleted (discarded) so that it cannot be displayed again, or it may not be necessary to do so.

なお、これは、他の表示方法(例えば図6-1~図6-3の表示方法)についても同様である。つまり、一旦表示して非表示とした端末表示用コードについては、そのデータを削除するなどして、再表示することができない(つまり決済に使用することができない)ようにすることができる。 Note that this also applies to other display methods (for example, the display methods shown in FIGS. 6-1 to 6-3). In other words, for a terminal display code that has been displayed and then hidden, the data can be deleted so that it cannot be displayed again (that is, cannot be used for payment).

また、他の手法として、次のようにすることもできる。
端末20は、オンライン状態であることを検出した場合、一旦表示して非表示とした端末表示用コードは削除せずに再表示することを可能とする。
それに対し、端末20は、オフライン状態であることを検出した場合、一旦表示して非表示とした端末表示用コードは削除して再表示することができないようにする。
Further, as another method, the following can also be used.
When the terminal 20 detects that it is in an online state, it is possible to redisplay the terminal display code that has been displayed and then hidden without deleting it.
On the other hand, when the terminal 20 detects that it is offline, the terminal display code that was once displayed and then hidden is deleted so that it cannot be displayed again.

<第3変形例(3)>
前述した各種のコード残数情報の表示方法の他にも、限定ではなく例として、いわゆる日めくりカレンダーのように、一の端末表示用コードが表示されたページを端末20のユーザがスワイプ操作(例えば下から上へのスワイプ操作)によってめくる操作を行うと、次の端末表示用コードが表示されたページが現れるような表示方法を適用することもできる。
<Third modification (3)>
In addition to the various methods of displaying remaining code information described above, by way of example and not limitation, the user of the terminal 20 may perform a swipe operation (e.g. It is also possible to apply a display method in which when a user performs a flipping operation (by swiping from the bottom to the top), a page displaying the next terminal display code appears.

また、この場合、第3変形例(2)と同様に、一旦ページをめくると、前のページに表示させていた端末表示用コードのデータは削除するなどして再表示することができないようにしてもよいし、そのようにしなくてもよい。 In addition, in this case, as in the third variation (2), once a page is turned, the terminal display code data displayed on the previous page is deleted so that it cannot be displayed again. You may or may not have to do so.

<第3変形例(4)>
第3実施例では、ガイド画像に対するタッチ操作をトリガーとして、端末表示用コード画像を表示させる例を示したが、これに限定されない。具体的には、前述した各種のガイド画像を、あくまでもコード残数(ストック数)を示す情報(コード残数情報)とし、ガイド画像に対するタッチ操作とは異なる操作をトリガーとして、端末表示用コード画像を表示させるようにしてもよいし、そのようにしなくてもよい。
<Third modification (4)>
In the third embodiment, an example was shown in which a terminal display code image is displayed using a touch operation on a guide image as a trigger, but the present invention is not limited to this. Specifically, the various guide images mentioned above are used as information (remaining code information) that indicates the number of codes remaining (stock number), and an operation different from a touch operation on the guide image is used as a trigger to display the code image for terminal display. may or may not be displayed.

端末20は、限定ではなく例として、決済アプリケーションのトップ画面に表示されるコードアイコンがタッチ操作されたことに基づいて、コード残数分のコード画像を含むコード表示画面を表示させる。この際、限定ではなく例として、コード情報(コード画像や元情報を含む。)の表示・切替を行うボタンや、ページの表示・切替を行うボタン等の操作用画像も、コード表示画面に表示させる。 By way of example and not limitation, the terminal 20 displays a code display screen including code images for the remaining number of codes based on a touch operation of a code icon displayed on the top screen of the payment application. In this case, as an example and not a limitation, operation images such as buttons for displaying and switching code information (including code images and original information) and buttons for displaying and switching pages are also displayed on the code display screen. let

そして、端末20は、上記の操作用画像に対する操作(例えばタッチ操作)を検知する度に、限定ではなく例として、ガイド画像に対応する端末表示用コードの中から、ランダムな順や取得が古い順に端末表示用コード画像を表示させるとともに、ガイド画像の表示態様を変更する。 Then, each time the terminal 20 detects an operation (for example, a touch operation) on the above-mentioned operation image, the terminal 20 selects, by way of example and not limitation, a random order or an older one of the terminal display codes corresponding to the guide image. The code images for terminal display are displayed in order, and the display mode of the guide image is changed.

<第4実施例>
第4実施例は、端末20でストックされた端末表示用コードのストックの補充、及び、そのユーザインターフェイスに関する実施例である。
<Fourth Example>
The fourth embodiment is an embodiment related to replenishing the stock of terminal display codes stored in the terminal 20 and its user interface.

第4実施例に記載の内容は、他の各実施例や他の各変形例のいずれにも適用可能である。
また、既出の構成要素と同一の構成要素については同一の符号を付して、再度の説明を省略する。
The content described in the fourth embodiment is applicable to any of the other embodiments and other modifications.
In addition, the same reference numerals are given to the same constituent elements as those already mentioned, and the explanation thereof will be omitted.

<処理>
図7-1は、本実施例における各装置が実行する処理の流れの一例を示すフローチャートである。左側に、端末20の制御部21が実行する第1の端末側コード補充処理を示し、右側に、サーバ10の制御部11が実行する第1のサーバ側コード補充処理を示す。
<Processing>
FIG. 7-1 is a flowchart showing an example of the flow of processing executed by each device in this embodiment. The left side shows the first terminal-side code replenishment process executed by the control unit 21 of the terminal 20, and the right side shows the first server-side code replenishment process executed by the control unit 11 of the server 10.

これらの処理は、限定ではなく例として、前述した端末20の決済アプリケーション処理と、前述したサーバ10の決済管理処理とのそれぞれのサブ処理として実行される(例えばバックグラウンドで実行される)処理である。 These processes are, by way of example and not limitation, processes that are executed as sub-processes (for example, executed in the background) of the payment application process of the terminal 20 described above and the payment management process of the server 10 described above. be.

最初に、制御部21は、コード補充条件判定処理を行う(F110)。コード補充条件としては、例えば以下のような条件を定めておくことができる。
(1)コード残数ゼロ情報を表示&承認操作を検知したこと。
(2)コード補充操作を検知したこと。
(3)端末の電磁波環境(通信環境)が変化したこと。
(4)コードの更新タイミングや更新時刻となったこと。
First, the control unit 21 performs code replenishment condition determination processing (F110). As code replenishment conditions, the following conditions can be defined, for example.
(1) Detection of display and approval operation of zero code remaining information.
(2) Detection of code replenishment operation.
(3) The electromagnetic wave environment (communication environment) of the terminal has changed.
(4) Code update timing or update time has arrived.

(1)の条件は、制御部21がコード残数ゼロ情報を表示部24に表示させた後、そのコード残数ゼロ情報に対する端末20のユーザによる承認操作を検知した場合に、コードを補充することを示す条件である。
なお、承認操作の検知を条件に含めないようにしてもよい。具体的には、制御部21がコード残数ゼロ情報を表示部24に表示させた場合に、自動的にコードを補充するようにしてもよいし、そのようにしなくてもよい。
Condition (1) is such that, after the control unit 21 displays the zero code remaining information on the display unit 24, if an approval operation by the user of the terminal 20 is detected for the zero code remaining information, the code is replenished. This is a condition that indicates that
Note that detection of an approval operation may not be included in the conditions. Specifically, when the control unit 21 causes the display unit 24 to display information on the number of remaining codes, the code may or may not be automatically replenished.

(2)の条件は、端末20のユーザによるコードを補充するための操作(以下、「コード補充操作」と称する。)を検知した場合に、コードを補充することを示す条件である。 Condition (2) is a condition indicating that the code is to be replenished when an operation for replenishing the code by the user of the terminal 20 (hereinafter referred to as "code replenishment operation") is detected.

(3)の条件は、端末20の電磁波環境(通信環境)が変化した場合に、コードを補充することを示す条件である。なお、一般的に通信には電波が使用されるため、電磁波環境の変化ではなく、電波環境の変化としてもよい。 Condition (3) is a condition indicating that the code is to be replenished when the electromagnetic wave environment (communication environment) of the terminal 20 changes. Note that since radio waves are generally used for communication, it may be a change in the radio wave environment instead of a change in the electromagnetic wave environment.

限定ではなく例として、電磁波の強さに基づき、端末20の電磁波環境が「中電磁波環境」から「弱電磁波環境」に変化したことを検知した場合に、オフライン状態となる可能性があるため、端末表示用コードを補充するようにすることができる。 As an example and not a limitation, if it is detected that the electromagnetic environment of the terminal 20 has changed from a "medium electromagnetic environment" to a "weak electromagnetic environment" based on the strength of the electromagnetic waves, there is a possibility that the terminal 20 will go into an offline state. It is possible to supplement the terminal display code.

(4)の条件は、例えば定期的なタイミング(例えば12時間や24時間に1回)や、特定の時刻(例えば深夜0時)となった場合に、コードを補充することを示す条件である。 Condition (4) is a condition that indicates that the code is to be replenished, for example, at regular timing (for example, once every 12 hours or 24 hours) or at a specific time (for example, midnight). .

F110では、制御部21は、限定ではなく例として、例えば上記の複数のコード補充条件のうちの少なくともいずれか1つの条件が成立したか否かを判定する。 In F110, the control unit 21 determines, by way of example and not limitation, whether at least one of the plurality of code replenishment conditions described above is satisfied.

なお、上記のコード補充条件は、あくまでも一例を示したものに過ぎず、これら以外の条件を定めておくようにすることもできる。
また、限定ではなく例として、上記のコード補充条件のうちの2以上の条件を組み合わせた条件を、コード補充条件として定めておくようにすることもできる。
また、限定ではなく例として、上記のコード補充条件のうちのいずれの条件を適用するかを、端末20のユーザに選択させるなどして設定しておくようにすることもできる。
Note that the above code replenishment conditions are merely examples, and conditions other than these may also be determined.
Also, by way of example and not limitation, a condition that is a combination of two or more of the above code replenishment conditions may be defined as the code replenishment condition.
Furthermore, by way of example and not limitation, the user of the terminal 20 may be allowed to select which of the above code replenishment conditions is to be applied.

コード補充条件が成立したと判定したならば(F120:YES)、制御部21は、オンライン状態であるか否かを判定する(F130)。そして、オンライン状態であると判定したならば(F130:YES)、制御部21は、限定ではなく例として、少なくともアプリケーションIDを含むコード補充依頼情報を、通信I/F22によってサーバ10に送信する(F140)。 If it is determined that the code replenishment condition is satisfied (F120: YES), the control unit 21 determines whether or not the online state is established (F130). If it is determined that the online state is established (F130: YES), the control unit 21 transmits code replenishment request information including at least the application ID to the server 10 via the communication I/F 22, by way of example and not limitation. F140).

なお、コード補充依頼情報に代えて、先に説明したコード生成依頼情報を端末20からサーバ10に送信するようにしてもよいし、そのようにしなくてもよい。 Note that instead of the code replenishment request information, the code generation request information described above may or may not be transmitted from the terminal 20 to the server 10.

サーバ10の制御部11は、端末20からコード補充依頼情報を受信したか否かを判定する(G110)。そして、受信したと判定したならば(G110:YES)、端末表示用コード生成処理を行う(G120)。そして、制御部21は、生成した端末表示用コードを、通信I/F14によって端末20に送信する(G150)。 The control unit 11 of the server 10 determines whether code replenishment request information has been received from the terminal 20 (G110). If it is determined that the message has been received (G110: YES), a terminal display code generation process is performed (G120). Then, the control unit 21 transmits the generated terminal display code to the terminal 20 via the communication I/F 14 (G150).

その後、制御部11は、処理を終了するか否かを判定し(G190)、処理を継続すると判定したならば(G190:NO)、G110に処理を戻す。また、処理を終了すると判定したならば(G190:YES)、第1のサーバ側コード補充処理を終了する。 Thereafter, the control unit 11 determines whether or not to end the process (G190), and if it is determined to continue the process (G190: NO), returns the process to G110. Furthermore, if it is determined that the process is to be terminated (G190: YES), the first server-side code replenishment process is terminated.

また、端末20からコード生成依頼情報を受信しなかった場合(G110:NO)、制御部11は、G190へと処理を移す。 Further, if the code generation request information is not received from the terminal 20 (G110: NO), the control unit 11 shifts the process to G190.

通信I/F22によってサーバ10から端末表示用コードを受信すると(F150)、制御部21は、受信された端末表示用コードを端末表示用コードストックデータ2831に追加・記憶させる(F160)。 When the terminal display code is received from the server 10 through the communication I/F 22 (F150), the control unit 21 adds and stores the received terminal display code to the terminal display code stock data 2831 (F160).

その後、制御部21は、コード補充通知処理を行う(F170)。このコード補充通知処理では、端末表示用コードのストックが補充されたことを通知する情報(以下、「コード補充通知情報」と称する。)を表示部24に表示させる処理を行う。 After that, the control unit 21 performs code replenishment notification processing (F170). In this code replenishment notification process, information notifying that the stock of terminal display codes has been replenished (hereinafter referred to as "code replenishment notification information") is displayed on the display unit 24.

具体的には、限定ではなく例として、決済アプリケーションを実行中ではない場合は、コード補充通知情報を、決済アプリケーションと関連付けられたプッシュ通知によって表示部24に表示する。
一方、決済アプリケーションを実行中である場合は、コード補充通知情報を、決済アプリケーション内の画面(例えばコード表示画面)に表示させる。
Specifically, by way of example and not limitation, if the payment application is not being executed, the code replenishment notification information is displayed on the display unit 24 by means of a push notification associated with the payment application.
On the other hand, when the payment application is being executed, code replenishment notification information is displayed on a screen (for example, a code display screen) within the payment application.

その後、制御部21は、処理を終了するか否かを判定し(F190)、処理を継続すると判定したならば(F190:NO)、F110に処理を戻す。また、処理を終了すると判定したならば(F190:YES)、第1の端末側コード補充処理を終了する。 Thereafter, the control unit 21 determines whether or not to end the process (F190), and if it is determined to continue the process (F190: NO), returns the process to F110. Furthermore, if it is determined that the process is to be terminated (F190: YES), the first terminal side code replenishment process is terminated.

また、コード補充条件が成立しないと判定された場合(F120:NO)、または、オンライン状態ではないと判定された場合(F130:NO)、制御部11は、F190へと処理を移す。 Further, if it is determined that the code replenishment condition is not satisfied (F120: NO), or if it is determined that the online state is not established (F130: NO), the control unit 11 shifts the process to F190.

なお、コード補充依頼情報は、1個の端末表示用コードの補充を依頼する情報としてもよいが、複数(2以上)の端末表示用コードの補充を依頼する情報としてもよい。具体的には、限定ではなく例として、端末表示用コードを1つ1つ補充するようにするのではなく、端末20側またはサーバ10側で、端末20が一度に補充を依頼するコードの数(サーバ10が補充用に一度に生成するコードの数)の上限を設定しておく。そして、この上限の数の端末表示用コードを、端末20のユーザが1回の操作で一気に補充するようにしてもよい。この場合、サーバ10によって複数の端末表示用コードが生成され、生成された複数の端末表示用コードが端末20に送信されて、受信された複数の端末表示用コードを端末20で補充するようにすればよい。 Note that the code replenishment request information may be information requesting replenishment of one terminal display code, but may also be information requesting replenishment of multiple (two or more) terminal display codes. Specifically, as an example and not a limitation, instead of replenishing the terminal display codes one by one, the number of codes that the terminal 20 requests replenishment at once on the terminal 20 side or the server 10 side. (The number of codes that the server 10 generates at one time for replenishment) is set in advance. Then, the user of the terminal 20 may replenish this upper limit number of terminal display codes at once with one operation. In this case, a plurality of terminal display codes are generated by the server 10, the generated plurality of terminal display codes are transmitted to the terminal 20, and the terminal 20 replenishes the received plurality of terminal display codes. do it.

<表示画面例>
図7-2は、本実施例におけるコード表示画面の一例を示す図である。
このコード表示画面には、図6-3のコード表示画面と同様に、一次元の端末表示用コード画像が表示される領域の上に、コード残数情報の一例として、二次元コードを模式化したガイド画像が表示されている。また、ガイド画像が表示される領域の右には、端末20のユーザがコード補充操作を行うための操作用画像の一例として、「+」の文字が内部に描かれた丸で示されるコード補充アイコンが表示されている。このコード補充アイコンが端末20のユーザによってタッチ操作されると、上記の処理によって、端末表示用コードのストックが補充される。
<Display screen example>
FIG. 7-2 is a diagram showing an example of a code display screen in this embodiment.
Similar to the code display screen in Figure 6-3, this code display screen shows a two-dimensional code as an example of remaining code information above the area where the one-dimensional code image for terminal display is displayed. The guide image you created is displayed. In addition, on the right side of the area where the guide image is displayed, a code replenishment image indicated by a circle with a "+" character drawn inside is displayed as an example of an operation image for the user of the terminal 20 to perform a code replenishment operation. icon is displayed. When this code replenishment icon is touched by the user of the terminal 20, the stock of terminal display codes is replenished by the above process.

図7-3は、本実施例におけるコード補充通知の一例を示す図である。
このコード表示画面では、コード補充通知の一例として、「コードストック追加 コードのストックが1個追加されました。」というメッセージが、OKのアイコンとともに画面中央にポップアップ表示されている。
FIG. 7-3 is a diagram showing an example of a code replenishment notification in this embodiment.
On this code display screen, as an example of a code replenishment notification, the message "Code stock added. One code stock has been added." is displayed as a pop-up in the center of the screen along with an OK icon.

図7-4は、図7-3においてOKのアイコンがタッチ操作された場合に表示される画面の一例を示す図である。
このコード表示画面では、端末表示用コードのストックが1個補充されたことで、図7-1のコード表示画面で表示されていたガイド画像の右側に、補充された1個の端末表示用コードに対応する1個のガイド画像が追加表示されている。また、追加表示された1個の端末表示用コードに対応するガイド画像は、非アクティブ状態で表示されている。
FIG. 7-4 is a diagram showing an example of a screen displayed when the OK icon in FIG. 7-3 is touched.
On this code display screen, as the stock of terminal display codes has been replenished, one terminal display code has been replenished to the right of the guide image that was displayed on the code display screen in Figure 7-1. One guide image corresponding to is additionally displayed. Further, the guide image corresponding to one additionally displayed terminal display code is displayed in an inactive state.

これは、コード補充依頼情報として、1個の端末表示用コードの補充を依頼する情報が端末20からサーバ10に送信され、サーバ10によって1個の端末表示用コードが生成され、生成された1個の端末表示用コードが端末20に送信されて、受信された1個の端末表示用コードが端末20で補充された場合の表示画面例である。 This means that information requesting replenishment of one terminal display code is sent from the terminal 20 to the server 10 as code replenishment request information, one terminal display code is generated by the server 10, and the generated one This is an example of a display screen when two terminal display codes are transmitted to the terminal 20 and one received terminal display code is supplemented at the terminal 20.

図7-5は、本実施例におけるコード補充通知の一例を示す図である。
このコード表示画面では、コード補充通知の一例として、「コードストック追加 コードのストックが4個追加されました。」というメッセージが、OKのアイコンとともに画面中央にポップアップ表示されている。
FIG. 7-5 is a diagram showing an example of a code replenishment notification in this embodiment.
On this code display screen, as an example of a code replenishment notification, the message ``Code stock addition 4 code stocks have been added.'' is displayed as a pop-up in the center of the screen along with an OK icon.

図7-6は、図7-5においてOKのアイコンがタッチ操作された場合に表示される画面の一例を示す図である。
このコード表示画面では、端末表示用コードのストックが4個補充されたことで、図7-1のコード表示画面で表示されていたガイド画像の右側に、補充された4個の端末表示用コードに対応する4個のガイド画像が追加表示されている。また、追加表示された4個の端末表示用コードに対応するガイド画像は、非アクティブ状態で表示されている。
FIG. 7-6 is a diagram showing an example of a screen displayed when the OK icon in FIG. 7-5 is touched.
On this code display screen, since the stock of four terminal display codes has been replenished, the four terminal display codes that have been replenished are displayed on the right side of the guide image that was displayed on the code display screen in Figure 7-1. Four guide images corresponding to are additionally displayed. Further, the guide images corresponding to the four additionally displayed terminal display codes are displayed in an inactive state.

これは、コード補充依頼情報として、4個の端末表示用コードの補充を依頼する情報が端末20からサーバ10に送信され、サーバ10によって4個の端末表示用コードが生成され、生成された4個の端末表示用コードが端末20に送信されて、受信された4個の端末表示用コードが端末20で補充された場合の表示画面例である。 This means that information requesting replenishment of four terminal display codes is sent from the terminal 20 to the server 10 as code replenishment request information, and the server 10 generates four terminal display codes. This is an example of a display screen when four terminal display codes are sent to the terminal 20 and the four received terminal display codes are supplemented at the terminal 20.

なお、この他にも、例えば端末20のユーザがコード補充操作を行ってコードを補充する場合に、補充するコード数を端末20のユーザに選択させるようにすることもできる。 In addition, for example, when the user of the terminal 20 performs a code replenishment operation to replenish codes, the user of the terminal 20 may be allowed to select the number of codes to be replenished.

図7-7は、この場合におけるコード表示画面の一例を示す図である。
このコード表示画面では、「コードストック追加 ストックするコード数を選択してください。」というメッセージとともに、補充するコード数を端末20のユーザが選択するための「選択してください。」の文字が入力されたボックスとが表示されている。
FIG. 7-7 is a diagram showing an example of a code display screen in this case.
On this code display screen, the message "Add code stock. Please select the number of codes to stock." and the characters "Please select." for the user of the terminal 20 to select the number of codes to be stocked are input. box is displayed.

「選択してください。」の文字が入力されたボックスをタッチ操作すると、例えば図7-8に示すように、限定ではなく例として、補充するコード数をドラムロール式で選択可能とする、複数のコード数の候補を含むドラムロールが表示される。例えば、端末20のユーザによって「2個」が選択されると、例えば図7-9に示すようにボックス内に「2個」が入力されて表示され、「OK」のアイコンがタッチ操作されることで、2個のコードが補充される。 If you touch the box in which the words "Please select" have been entered, you can select the number of codes to be replenished in a drum roll manner, as shown in Figure 7-8. A drum roll containing possible chord numbers will be displayed. For example, when the user of the terminal 20 selects "2", "2" is entered and displayed in the box as shown in Figure 7-9, and the "OK" icon is touched. This adds two codes.

図7-10は、図7-9においてOKのアイコンがタッチ操作された場合に表示される画面の一例を示す図である。
このコード表示画面では、端末表示用コードのストックが2個補充されたことで、図7-1のコード表示画面で表示されていたガイド画像の右側に、補充された2個の端末表示用コードに対応する2個のガイド画像が追加表示されている。また、追加表示された2個の端末表示用コードに対応するガイド画像は、非アクティブ状態で表示されている。
FIG. 7-10 is a diagram showing an example of a screen displayed when the OK icon in FIG. 7-9 is touched.
On this code display screen, since the stock of two terminal display codes has been replenished, the two replenished terminal display codes are displayed on the right side of the guide image that was displayed on the code display screen in Figure 7-1. Two guide images corresponding to are additionally displayed. Further, the guide images corresponding to the two additionally displayed terminal display codes are displayed in an inactive state.

<第4実施例の効果>
第4実施例は、端末20が、通信I/F22を介した端末表示用コードの受信に基づいて、コード残数情報の表示態様を制御部21によって変更する構成を示している。
このような構成により得られる効果の一例として、端末は、第1情報が記憶部に記憶されている数に関する情報の表示態様を変更することで、例えば、通信部を介して第1情報が補充されたことを端末のユーザに報知することができる。
<Effects of the fourth embodiment>
The fourth embodiment shows a configuration in which the terminal 20 changes the display mode of the remaining code number information by the control unit 21 based on reception of the terminal display code via the communication I/F 22.
As an example of the effect obtained by such a configuration, the terminal changes the display mode of information regarding the number of first information stored in the storage unit, so that, for example, the first information is replenished via the communication unit. It is possible to notify the user of the terminal that this has been done.

また、第4実施例は、端末20が、通信I/F22を介した端末表示用コードの受信に基づいて、コード補充通知(限定ではなく、第1情報を受信したことを示す通知の一例)を端末20のユーザに制御部21によって行う構成を示している。
このような構成により得られる効果の一例として、端末は、第1情報を受信したことを端末のユーザに対して通知することができる。
Further, in the fourth embodiment, the terminal 20 receives a code replenishment notification (not limited to this, but is an example of a notification indicating that the first information has been received) based on the reception of the terminal display code via the communication I/F 22. A configuration is shown in which the control section 21 performs this for the user of the terminal 20.
As an example of the effect obtained by such a configuration, the terminal can notify the user of the terminal that the first information has been received.

また、第4実施例は、端末20が、コード残数関連情報(限定ではなく、第2情報の一例)の表示部24への表示に基づき、コード生成依頼情報またはコード補充依頼情報(限定ではなく、第1情報の送信に関するリクエストの一例)を、通信I/F22を介してサーバ10に送信する構成を示している。
このような構成により得られる効果の一例として、端末は、第2情報の表示に基づき、第1情報の送信に関するリクエストをサーバに送信して、サーバから第1情報を取得することができる。
Further, in the fourth embodiment, the terminal 20 displays code generation request information or code replenishment request information (not a limitation, but an example of second information) on the display unit 24 based on information related to the remaining number of codes (not a limitation, but an example of second information). A configuration is shown in which an example of a request regarding transmission of first information is transmitted to the server 10 via the communication I/F 22.
As an example of the effect obtained by such a configuration, the terminal can transmit a request regarding transmission of the first information to the server based on the display of the second information, and can acquire the first information from the server.

<第5実施例>
第5実施例は、オフライン状態からの端末表示用コードのストックの補充を実現する実施例である。
<Fifth example>
The fifth embodiment is an embodiment that realizes replenishment of the stock of terminal display codes from an offline state.

第5実施例に記載の内容は、他の各実施例や他の各変形例のいずれにも適用可能である。
また、既出の構成要素と同一の構成要素については同一の符号を付して、再度の説明を省略する。
The contents described in the fifth embodiment can be applied to any of the other embodiments and other modifications.
In addition, the same reference numerals are given to the same constituent elements as those already mentioned, and the explanation thereof will be omitted.

本実施例では、前述した第1通信方式により端末20とサーバ10とが通信不能であることを「オフライン状態」とする。また、前述した第2通信方式を利用することで、端末20はサーバ10と通信することができることとする。 In this embodiment, a state where the terminal 20 and the server 10 are unable to communicate using the first communication method described above is defined as an "offline state." Furthermore, it is assumed that the terminal 20 can communicate with the server 10 by using the second communication method described above.

<処理>
図8-1、図8-2は、本実施例における各装置が実行する処理の流れの一例を示すフローチャートである。左側に、端末20の制御部21が実行する第2の端末側コード補充処理を示し、右側に、サーバ10の制御部11が実行する第1のサーバ側コード補充処理を示す。
これらの処理は、限定ではなく例として、前述した端末20の決済アプリケーション処理と、前述したサーバ10の決済管理処理とのそれぞれのサブ処理として実行される(例えばバックグラウンドで実行される)処理である。
<Processing>
FIGS. 8-1 and 8-2 are flowcharts showing an example of the flow of processing executed by each device in this embodiment. The left side shows the second terminal-side code replenishment process executed by the control unit 21 of the terminal 20, and the right side shows the first server-side code replenishment process executed by the control unit 11 of the server 10.
These processes are, by way of example and not limitation, processes that are executed as sub-processes (for example, executed in the background) of the payment application process of the terminal 20 described above and the payment management process of the server 10 described above. be.

図8-1、図8-2のフローチャートは、図7-1のフローチャートに、F130:NOの場合における処理(F210~F280)を追加したものである。 The flowcharts in FIGS. 8-1 and 8-2 are obtained by adding processing (F210 to F280) in the case of F130: NO to the flowchart in FIG. 7-1.

F130においてオンライン状態ではないと判定したならば(F130:NO)、制御部21は、コード残数がゼロであるか否かを判定する(F210)。 If it is determined in F130 that the online state is not present (F130: NO), the control unit 21 determines whether the remaining number of codes is zero (F210).

コード残数がゼロであると判定したならば(F210:YES)、制御部21は、コード残数ゼロ通知と、オフライン通知とを行う(F220)。具体的には、限定ではなく例として、コード残数ゼロ情報とともに、第1通信方式によるサーバ10との通信が不能(オフライン状態)であることを示す情報を表示部24に表示させる。 If it is determined that the remaining number of codes is zero (F210: YES), the control unit 21 issues a zero remaining code notification and offline notification (F220). Specifically, as an example and not a limitation, information indicating that communication with the server 10 using the first communication method is impossible (offline state) is displayed on the display unit 24, along with information on the number of remaining codes being zero.

一方、コード残数がゼロではないと判定したならば(F210:NO)、制御部21は、オフライン通知とを行う(F230)。具体的には、限定ではなく例として、第1通信方式によるサーバ10との通信が不能(オフライン状態)であることを示す情報を表示部24に表示させる。 On the other hand, if it is determined that the remaining number of codes is not zero (F210: NO), the control unit 21 issues an offline notification (F230). Specifically, by way of example and not limitation, information indicating that communication with the server 10 using the first communication method is impossible (offline state) is displayed on the display unit 24.

F220またはF230の後、制御部21は、第2通信方式によるコード補充確認通知を行う(F240)。具体的には、限定ではなく例として、第2通信方式で通信を行って、端末表示用コードの補充を行うか否かを端末20のユーザに意思確認するための情報を表示部24に表示させる。 After F220 or F230, the control unit 21 issues a code replenishment confirmation notification using the second communication method (F240). Specifically, as an example and not a limitation, information for confirming the intention of the user of the terminal 20 as to whether or not to communicate using the second communication method and replenish the terminal display code may be displayed on the display unit 24. let

次いで、制御部21は、第2通信方式によるコード補充を行うことが端末20のユーザによって選択されたか否かを判定し(F250)、選択されたと判定したならば(F250:YES)、第2通信方式による通信を試行する(F260)。 Next, the control unit 21 determines whether or not the user of the terminal 20 has selected to perform code replenishment using the second communication method (F250), and if it is determined that it has been selected (F250: YES), the second communication method Communication using the communication method is attempted (F260).

第2通信方式による通信に成功したならば(F270:YES)、制御部21は、コード補充処理を行う(F280)。具体的には、前述したコード補充依頼情報をサーバ10に送信して、サーバ10から端末表示用コードを取得して、端末表示用コードストックデータ2831に記憶させて補充する。そして、制御部21は、F190へと処理を移す。 If the communication using the second communication method is successful (F270: YES), the control unit 21 performs code replenishment processing (F280). Specifically, the above-mentioned code replenishment request information is transmitted to the server 10, a terminal display code is acquired from the server 10, and the terminal display code stock data 2831 is stored and replenished. The control unit 21 then moves the process to F190.

なお、第2通信方式によるコード補充を行うために、限定ではなく例として、決済アプリケーションと連携可能なアプリケーションとして、例えば第2通信方式の一例である無線LAN(例えばWiFi(登録商標))を利用可能な店舗や施設等の場所(スポット)を検索するための検索アプリケーションを、あらかじめ端末20でダウンロードして記憶部28に記憶しておく。 Note that in order to replenish the code using the second communication method, by way of example and not limitation, a wireless LAN (e.g., WiFi (registered trademark)), which is an example of the second communication method, may be used as an application that can cooperate with the payment application. A search application for searching for possible locations (spots) of stores, facilities, etc. is downloaded in advance by the terminal 20 and stored in the storage unit 28.

そして、例えば、F240の第2通信方式によるコード補充確認通知を行った結果、第2通信方式によるコード補充を行うことが端末20のユーザによって選択された場合に、制御部21が、端末20に記憶されている検索アプリケーションを起動し、第2通信方式を利用可能なスポットを検索する処理を行うようにしてもよいし、そのようにしなくてもよい。 For example, when the user of the terminal 20 selects to perform code replenishment using the second communication method as a result of issuing the code replenishment confirmation notification using the second communication method of F240, the control unit 21 The stored search application may be activated to perform a process of searching for a spot where the second communication method can be used, or it may not be necessary to do so.

<表示画面例>
図8-3は、本実施例におけるコード表示画面の一例を示す図である。このコード表示画面では、限定ではなく例として、図8-2のF220で表示される。
このコード表示画面では、コード残数ゼロ情報の一例として「コード残数がありません」というメッセージと、第1通信方式によるサーバ10との通信が不能であることを示す情報の一例として「現在オフラインです。オンラインになるとストックが補充されます。」というメッセージとが、コード残数ゼロ通知及びオフライン通知として、画面中央にポップアップ表示されている。また、この通知内容に承認の意思を示すための「OK」のアイコンが表示されている。
<Display screen example>
FIG. 8-3 is a diagram showing an example of a code display screen in this embodiment. On this code display screen, F220 in FIG. 8-2 is displayed by way of example and not limitation.
On this code display screen, the message "There are no codes remaining" is displayed as an example of information on the number of codes remaining, and the message "Currently offline" is displayed as an example of information indicating that communication with the server 10 using the first communication method is not possible. The message "Stock will be replenished when you go online." pops up in the center of the screen as a notification that there are zero codes remaining and as an offline notification. Further, an "OK" icon is displayed to indicate the intention to approve the content of the notification.

図8-4は、図8-3のコード表示画面において「OK」のアイコンがタッチ操作された場合に表示される画面の一例を示す図である。この画面は、限定ではなく例として、図8-2のF240で表示される。
この画面では、第2通信方式で通信を行って端末表示用コードの補充を行うか否かを端末20のユーザに意思確認するための情報の一例として「ワイヤレスネットワークに接続してコードを取得しますか?」というメッセージが、第2通信方式によるコード補充確認通知として画面中央にポップアップ表示されている。また、この通知内容に承認の意思を示すための「OK」のアイコンと、この通信内容に今は承認しない意思を示すための「今はしない」のアイコンとが表示されている。
FIG. 8-4 is a diagram showing an example of a screen displayed when the "OK" icon is touched on the code display screen of FIG. 8-3. This screen is displayed at F240 in FIG. 8-2 by way of example and not limitation.
On this screen, as an example of information for confirming with the user of the terminal 20 whether or not to communicate using the second communication method and replenish the terminal display code, "Connect to a wireless network to obtain a code" is displayed. ” is displayed as a pop-up in the center of the screen as a code replenishment confirmation notification using the second communication method. Further, an "OK" icon for indicating an intention to approve the content of the notification and a "not now" icon for indicating an intention to not approve the communication content at this time are displayed.

図8-4において「OK」のアイコンがタッチ操作されると、例えば図8-5に示すような画面が表示される。
この画面では、ワイヤレスネットワークを選択するための選択ボックスが画面中央に表示されており、端末20のユーザは、この選択ボックス内に表示されたワイヤレスネットワークの候補の中から一の候補を選択する。
When the "OK" icon is touched in FIG. 8-4, a screen as shown in FIG. 8-5 is displayed, for example.
On this screen, a selection box for selecting a wireless network is displayed in the center of the screen, and the user of the terminal 20 selects one candidate from among the wireless network candidates displayed in this selection box.

図8-5においてワイヤレスネットワークが選択されると、選択されたワイヤレスネットワークによる通信が試行される。そして、通信OKとなると、サーバ10から端末表示用コードが取得され、例えば図8-6に示すような画面が表示される。
この表示例では、コード補充依頼情報として、5個の端末表示用コードの補充を依頼する情報が端末20からサーバ10に送信され、サーバ10によって5個の端末表示用コードが生成され、生成された5個の端末表示用コードが端末20に送信されて、受信された5個の端末表示用コードが端末20で補充された場合を示しており、「コードストック追加 コードのストックが5個追加されました。」というメッセージが画面中央にポップアップ表示されている。
When a wireless network is selected in FIG. 8-5, communication via the selected wireless network is attempted. Then, when the communication is OK, a terminal display code is acquired from the server 10, and a screen as shown in FIG. 8-6, for example, is displayed.
In this display example, information requesting replenishment of five terminal display codes is sent from the terminal 20 to the server 10 as code replenishment request information, and the server 10 generates five terminal display codes. 5 terminal display codes are sent to the terminal 20, and the received 5 terminal display codes are replenished on the terminal 20. ” pops up in the center of the screen.

図8-7は、図8-6においてOKのアイコンがタッチ操作された場合に表示される画面の一例を示す図である。
このコード表示画面では、端末表示用コードのストックが5個補充されたことで、補充された5個の端末表示用コードに対応する5個のガイド画像が表示されている。また、一番左のガイド画像に対応する端末表示用コード画像が画面中央に表示されており、一番左のガイド画像以外の4個のガイド画像は、非アクティブ状態で表示されている。
FIG. 8-7 is a diagram showing an example of a screen displayed when the OK icon in FIG. 8-6 is touched.
On this code display screen, since the stock of five terminal display codes has been replenished, five guide images corresponding to the five terminal display codes that have been replenished are displayed. Further, the terminal display code image corresponding to the leftmost guide image is displayed in the center of the screen, and the four guide images other than the leftmost guide image are displayed in an inactive state.

<第5実施例の効果>
第5実施例は、端末20が、オフライン状態であることを示す情報(限定ではなく、端末による通信ができないことを示す情報の一例)をコード表示画面に表示する。そして、端末20は、このオフライン状態であることを示す情報に対する端末20のユーザのタッチ操作(限定ではなく、端末のユーザの入力の一例)に基づいて、第2通信方式によってコード補充を行うための情報(限定ではなく、端末の通信の設定に関する情報)をコード表示画面に表示する構成を示している。
このような構成により得られる効果の一例として、端末による通信ができないことを端末のユーザに報知することができるとともに、端末のユーザの入力に基づいて、端末の通信の設定を行うことができる。これにより、例えば、第1通信方式による通信が不能な場合であっても、第2通信方式の設定を行って、第2通信方式によってサーバと通信を行うといったことが可能となる。
<Effects of the fifth embodiment>
In the fifth embodiment, information indicating that the terminal 20 is in an offline state (not a limitation, but an example of information indicating that communication by the terminal is not possible) is displayed on the code display screen. Then, the terminal 20 replenishes the code using the second communication method based on the touch operation by the user of the terminal 20 (not limited to, but an example of input by the terminal user) in response to the information indicating the offline state. This shows a configuration in which information about (not limited to, information about the communication settings of the terminal) is displayed on the code display screen.
As an example of the effect obtained by such a configuration, it is possible to notify the user of the terminal that communication by the terminal is not possible, and it is also possible to configure the communication settings of the terminal based on input by the terminal user. Thereby, for example, even if communication using the first communication method is impossible, it becomes possible to set the second communication method and communicate with the server using the second communication method.

1 通信システム
10 サーバ
20 端末
30 ネットワーク
40 店舗POSシステム
50 店舗コードリーダ装置
60 コードレジ
70 店舗サーバ
1 communication system 10 server 20 terminal 30 network 40 store POS system 50 store code reader device 60 code register 70 store server

Claims (16)

コード画像による決済を行うための第1情報に基づいて前記決済に関する処理を実行する端末によって実行されるプログラムであって、
複数の前記第1情報を、前記端末の通信部を介してサーバから受信することと、
受信された複数の前記第1情報を、前記端末の制御部によって前記端末の記憶部に記憶する制御を行うことと、
前記第1情報に基づく第1コード画像を前記端末の表示領域に表示することと、
前記第1コード画像の前記表示領域への表示に基づき、前記決済に関する処理を前記制御部によって行うこととが前記端末によって実行され、
複数の前記第1情報のうち、前記表示領域に表示された前記第1コード画像に基づく前記第1情報以外に、前記決済に利用可能な前記第1情報が前記記憶部に記憶されていない場合、前記表示領域に表示された前記第1コード画像以外に、前記決済に利用可能な前記第1コード画像がないことに関する第1表示と、前記第1コード画像とを前記表示領域に表示することが前記端末によって実行される。
A program executed by a terminal that executes processing related to payment based on first information for performing payment using a code image,
receiving a plurality of pieces of first information from a server via a communication unit of the terminal;
performing control to store the received plurality of first information in a storage unit of the terminal by a control unit of the terminal;
Displaying a first code image based on the first information in a display area of the terminal;
The terminal performs processing related to the payment by the control unit based on the display of the first code image in the display area,
Among the plurality of first information, the first information that can be used for the payment other than the first information based on the first code image displayed in the display area is not stored in the storage unit. , displaying in the display area a first display indicating that there is no first code image available for the payment other than the first code image displayed in the display area, and the first code image; is executed by the terminal.
請求項1に記載のプログラムであって、
前記第1表示は、前記決済に利用可能な前記第1コード画像がないことに関する文章の情報を含む。
The program according to claim 1,
The first display includes textual information regarding the fact that the first code image is not available for the payment.
請求項1に記載のプログラムであって、
前記第1表示は、前記決済に利用可能な前記第1コード画像の数が1つであることを示す情報を含む。
The program according to claim 1,
The first display includes information indicating that the number of the first code images that can be used for the payment is one.
請求項3に記載のプログラムであって、
複数の前記第1情報のうち、前記決済に利用可能な前記第1情報が前記記憶部に記憶されている数に関する情報を前記表示領域に表示することが前記端末によって実行され、
前記数に関する情報は、前記第1表示の情報を含む。
4. The program according to claim 3,
Displaying in the display area information regarding the number of pieces of first information that can be used for the payment stored in the storage unit among the plurality of pieces of first information,
The information regarding the number includes information on the first display.
請求項4に記載のプログラムであって、
前記数に関する情報は、前記決済に利用可能な前記第1情報の数に基づいて表示態様を異ならせて表示される。
5. The program according to claim 4,
The information regarding the number is displayed in a different manner based on the number of pieces of first information that can be used for the payment.
請求項4または請求項5に記載のプログラムであって、
前記通信部を介した前記第1情報の受信に基づいて、前記数に関する情報の表示態様を変更することが前記端末によって実行される。
The program according to claim 4 or claim 5,
Based on the reception of the first information via the communication unit, the terminal executes changing the display mode of the information regarding the number.
請求項1から請求項6のいずれか一項に記載のプログラムであって、
前記通信部を介した前記第1情報の受信に基づいて、前記第1情報を受信したことを示す通知を前記端末のユーザに前記制御部によって行うことが前記端末によって実行される。
The program according to any one of claims 1 to 6,
Based on the reception of the first information via the communication unit, the terminal may cause the control unit to notify a user of the terminal that the first information has been received.
請求項1から請求項7のいずれか一項に記載のプログラムであって、
前記第1表示を前記表示領域に表示し、前記決済に関する処理の後、前記決済に利用可能な前記第1情報が前記記憶部に記憶されていないことに関する第2情報を前記表示領域に表示することが前記端末に実行される。
The program according to any one of claims 1 to 7,
Displaying the first display in the display area, and after processing regarding the payment, displaying in the display area second information regarding the fact that the first information that can be used for the payment is not stored in the storage unit. is performed on the terminal.
請求項8に記載のプログラムであって、
前記第2情報の表示に基づき、前記第1情報の送信に関するリクエストを、前記通信部を介して前記サーバに送信することが前記端末によって実行される。
9. The program according to claim 8,
Based on the display of the second information, the terminal transmits a request regarding transmission of the first information to the server via the communication unit.
請求項1から請求項9のいずれか一項に記載のプログラムであって、
前記端末による通信ができないことを示す第2表示を前記表示領域に表示することと、
前記第2表示に対する前記端末のユーザの入力に基づいて、前記端末の通信の設定に関する情報を前記表示領域に表示することとが前記端末によって実行される。
The program according to any one of claims 1 to 9,
Displaying a second display indicating that communication by the terminal is not possible in the display area;
The terminal displays information regarding communication settings of the terminal in the display area based on an input by a user of the terminal on the second display.
請求項1から請求項10のいずれか一項に記載のプログラムであって、
前記決済に関する処理に基づき、前記表示領域に表示された前記第1コード画像に基づく前記第1情報を利用不可にする制御を前記制御部によって行うことが前記端末によって実行される。
The program according to any one of claims 1 to 10,
Based on the processing related to the payment, the terminal performs control by the control unit to make the first information based on the first code image displayed in the display area unavailable.
請求項1から請求項11のいずれか一項に記載のプログラムであって、
複数の前記第1情報は、前記端末のユーザによる、前記端末に対する1回の操作に基づいて、前記サーバから送信される。
The program according to any one of claims 1 to 11,
The plural pieces of first information are transmitted from the server based on one operation on the terminal by a user of the terminal.
請求項1から請求項12のいずれか一項に記載のプログラムであって、
複数の前記第1情報は、互いに異なる決済用情報を含む。
The program according to any one of claims 1 to 12,
The plurality of pieces of first information include mutually different payment information.
コード画像による決済を行うための第1情報に基づいて前記決済に関する処理を実行する端末の情報処理方法であって、
複数の前記第1情報を、前記端末の通信部を介してサーバから受信することと、
受信された複数の前記第1情報を、前記端末の制御部によって前記端末の記憶部に記憶する制御を行うことと、
前記第1情報に基づく第1コード画像を前記端末の表示領域に表示することと、
前記第1コード画像の前記表示領域への表示に基づき、前記決済に関する処理を前記制御部によって行うこととを含み、
複数の前記第1情報のうち、前記表示領域に表示された前記第1コード画像に基づく前記第1情報以外に、前記決済に利用可能な前記第1情報が前記記憶部に記憶されていない場合、前記表示領域に表示された前記第1コード画像以外に、前記決済に利用可能な前記第1コード画像がないことに関する第1表示と、前記第1コード画像とを前記表示領域に表示することを含む。
An information processing method for a terminal that executes processing related to payment based on first information for performing payment using a code image, the method comprising:
receiving a plurality of pieces of first information from a server via a communication unit of the terminal;
performing control to store the received plurality of first information in a storage unit of the terminal by a control unit of the terminal;
Displaying a first code image based on the first information in a display area of the terminal;
performing processing related to the payment by the control unit based on display of the first code image in the display area;
Among the plurality of first information, the first information that can be used for the payment other than the first information based on the first code image displayed in the display area is not stored in the storage unit. , displaying in the display area a first display indicating that there is no first code image available for the payment other than the first code image displayed in the display area, and the first code image; including.
コード画像による決済を行うための第1情報に基づいて前記決済に関する処理を実行する端末であって、
複数の前記第1情報をサーバから受信する通信部と、
受信された複数の前記第1情報を前記端末の記憶部に記憶する制御を行う制御部と、
前記第1情報に基づく第1コード画像を表示する表示部とを備え、
前記制御部は、前記第1コード画像の前記表示部への表示に基づき、前記決済に関する処理を実行し、
前記表示部は、複数の前記第1情報のうち、前記表示部に表示された前記第1コード画像に基づく前記第1情報以外に、前記決済に利用可能な前記第1情報が前記記憶部に記憶されていない場合、前記表示部に表示された前記第1コード画像以外に、前記決済に利用可能な前記第1コード画像がないことに関する第1表示と、前記第1コード画像とを表示する。
A terminal that executes processing related to payment based on first information for payment using a code image,
a communication unit that receives a plurality of pieces of first information from a server;
a control unit that performs control to store the received plurality of first information in a storage unit of the terminal;
a display unit that displays a first code image based on the first information,
The control unit executes processing related to the payment based on the display of the first code image on the display unit,
The display unit stores, in the storage unit, the first information that can be used for the payment, out of the plurality of first information, in addition to the first information based on the first code image displayed on the display unit. If not stored, a first display indicating that there is no first code image available for the payment other than the first code image displayed on the display unit, and the first code image are displayed. .
コード画像による決済を行うための第1情報に基づいて前記決済に関する処理を実行する端末であって、
プログラムを記憶するメモリから前記プログラムを読み出し、前記プログラムに基づく処理を実行するプロセッサーを備え、
前記プロセッサーは、
複数の前記第1情報を、前記端末の通信部を介してサーバから受信することと、
受信された複数の前記第1情報を、前記端末の記憶部に記憶することと、
前記第1情報に基づく第1コード画像を、前記端末の表示領域に表示することと、
前記第1コード画像の前記表示領域への表示に基づき、前記決済に関する処理を行うこととを実行し、
複数の前記第1情報のうち、前記表示領域に表示された前記第1コード画像に基づく前記第1情報以外に、前記決済に利用可能な前記第1情報が前記記憶部に記憶されていない場合、前記表示領域に表示された前記第1コード画像以外に、前記決済に利用可能な前記第1コード画像がないことに関する第1表示と、前記第1コード画像とを前記表示領域に表示することを実行する。
A terminal that executes processing related to payment based on first information for payment using a code image,
comprising a processor that reads the program from a memory that stores the program and executes processing based on the program;
The processor includes:
receiving a plurality of pieces of first information from a server via a communication unit of the terminal;
storing the plurality of received first information in a storage unit of the terminal;
Displaying a first code image based on the first information in a display area of the terminal;
performing processing related to the payment based on displaying the first code image in the display area;
Among the plurality of first information, the first information that can be used for the payment other than the first information based on the first code image displayed in the display area is not stored in the storage unit. , displaying in the display area a first display indicating that there is no first code image available for the payment other than the first code image displayed in the display area, and the first code image; Execute.
JP2021003246A 2020-09-25 2021-01-13 Programs, information processing methods, terminals Active JP7354162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021003246A JP7354162B2 (en) 2020-09-25 2021-01-13 Programs, information processing methods, terminals

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020160634A JP6825160B2 (en) 2020-09-25 2020-09-25 Programs, information processing methods, terminals
JP2021003246A JP7354162B2 (en) 2020-09-25 2021-01-13 Programs, information processing methods, terminals

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020160634A Division JP6825160B2 (en) 2020-09-25 2020-09-25 Programs, information processing methods, terminals

Publications (2)

Publication Number Publication Date
JP2021082307A JP2021082307A (en) 2021-05-27
JP7354162B2 true JP7354162B2 (en) 2023-10-02

Family

ID=88198172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021003246A Active JP7354162B2 (en) 2020-09-25 2021-01-13 Programs, information processing methods, terminals

Country Status (1)

Country Link
JP (1) JP7354162B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7223899B1 (en) 2022-02-14 2023-02-16 PayPay株式会社 Information processing program
JP7090217B1 (en) 2022-02-14 2022-06-23 PayPay株式会社 Information processing equipment, information processing methods and information processing programs

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213362A (en) 2002-12-27 2004-07-29 Japan Research Institute Ltd Electronic image display device and method, and program for making computer implement this method
JP2005301482A (en) 2004-04-08 2005-10-27 Matsushita Electric Ind Co Ltd Secure system and secure device
JP2007086949A (en) 2005-09-21 2007-04-05 Felica Networks Inc Information processing system, user terminal, service client, information processing method and computer program
JP2007293834A (en) 2006-03-31 2007-11-08 Beru Shokai:Kk Attendance management system
JP2017027252A (en) 2015-07-17 2017-02-02 東芝テック株式会社 Electronic receipt system, server apparatus, and program for the same
WO2017221358A1 (en) 2016-06-22 2017-12-28 富士通株式会社 Payment program, payment method, payment device, payment request program, payment request method, and payment request device
JP2018022451A (en) 2016-08-05 2018-02-08 株式会社東芝 Terminal device, settlement device and display control program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213362A (en) 2002-12-27 2004-07-29 Japan Research Institute Ltd Electronic image display device and method, and program for making computer implement this method
JP2005301482A (en) 2004-04-08 2005-10-27 Matsushita Electric Ind Co Ltd Secure system and secure device
JP2007086949A (en) 2005-09-21 2007-04-05 Felica Networks Inc Information processing system, user terminal, service client, information processing method and computer program
JP2007293834A (en) 2006-03-31 2007-11-08 Beru Shokai:Kk Attendance management system
JP2017027252A (en) 2015-07-17 2017-02-02 東芝テック株式会社 Electronic receipt system, server apparatus, and program for the same
WO2017221358A1 (en) 2016-06-22 2017-12-28 富士通株式会社 Payment program, payment method, payment device, payment request program, payment request method, and payment request device
JP2018022451A (en) 2016-08-05 2018-02-08 株式会社東芝 Terminal device, settlement device and display control program

Also Published As

Publication number Publication date
JP2021082307A (en) 2021-05-27

Similar Documents

Publication Publication Date Title
US10552820B2 (en) User-friendly transaction interface
JP6815447B1 (en) Programs, information processing methods, terminals
JP7354162B2 (en) Programs, information processing methods, terminals
WO2020255621A1 (en) Information processing method, program, terminal and server
JP6825160B2 (en) Programs, information processing methods, terminals
WO2020261831A1 (en) Information processing method, program, and terminal
JP2020204882A (en) Information processing method, program, and terminal
JP7306770B2 (en) program, information processing method, terminal
JP7064046B1 (en) Application programs, service delivery systems, and terminal devices
JP6765483B1 (en) Information processing method, program, terminal
JP2020204883A (en) Information processing method, program, and terminal
KR20200085026A (en) Method, system, and non-transitory computer readable record medium for providing convenience functions related to bank account transaction history based on messenger
KR102572825B1 (en) Information processing method, program, terminal
JP7306771B2 (en) program, information processing method, terminal
US20210201287A1 (en) Wallet server, computer readable recording medium, and wallet system
JP7417795B2 (en) Programs, information processing methods, servers, systems, terminals
US11797975B1 (en) Pre-authorized transfer
JP6914315B2 (en) Programs, information processing methods, terminals
US20240046031A1 (en) Account management
KR20220020267A (en) Information processing method, program, terminal
KR20220107259A (en) Program, information processing method, terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230920

R150 Certificate of patent or registration of utility model

Ref document number: 7354162

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150