JP7316082B2 - Server device, information system, information processing method, and program - Google Patents

Server device, information system, information processing method, and program Download PDF

Info

Publication number
JP7316082B2
JP7316082B2 JP2019075743A JP2019075743A JP7316082B2 JP 7316082 B2 JP7316082 B2 JP 7316082B2 JP 2019075743 A JP2019075743 A JP 2019075743A JP 2019075743 A JP2019075743 A JP 2019075743A JP 7316082 B2 JP7316082 B2 JP 7316082B2
Authority
JP
Japan
Prior art keywords
code
output
generated
information
unit
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
JP2019075743A
Other languages
Japanese (ja)
Other versions
JP2020173664A (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.)
Japan Research Institute Ltd
Original Assignee
Japan Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Research Institute Ltd filed Critical Japan Research Institute Ltd
Priority to JP2019075743A priority Critical patent/JP7316082B2/en
Publication of JP2020173664A publication Critical patent/JP2020173664A/en
Application granted granted Critical
Publication of JP7316082B2 publication Critical patent/JP7316082B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、QRコード(登録商標:以下同様)等のコードを用いて決済のための処理を行う情報システムにおいて、コードの差し替えを検知するサーバ装置等に関するものである。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server device or the like that detects code replacement in an information system that performs processing for settlement using a code such as a QR code (registered trademark; the same shall apply hereinafter).

従来、業者端末で、請求金額を入力して二次元コードをディスプレイに表示し、ユーザ携帯端末で、二次元コードを撮影して請求金額をディスプレイに表示し、これを承認した時、カード指定情報とユーザ特定IDを運用会社サーバに送信し、運用会社サーバで、ユーザ特定情報に基づきユーザ携帯端末のセキュリティチェックをした後、カード指定情報に基づき取得したカード情報に基づいて金融機関との間で決済手続をする、決済システムが存在した(例えば、特許文献1参照)。 Conventionally, the merchant terminal inputs the billing amount and displays the two-dimensional code on the display, and the user's portable terminal photographs the two-dimensional code and displays the billing amount on the display. and the user identification ID to the operation company server, and after the operation company server performs a security check of the user mobile terminal based on the user identification information, based on the card information acquired based on the card designation information Between the financial institution There is a settlement system that performs settlement procedures (see Patent Document 1, for example).

国際公開WO2017/029824号公報International publication WO2017/029824

近年、正規のQRコードが、犯罪者グループによって偽物のQRコードに差し替えられ、犯罪者グループの口座に代金が振り込まれてしまう事件が発生した。 In recent years, an incident occurred in which a legitimate QR code was replaced with a fake QR code by a group of criminals, and money was transferred to the bank account of the group of criminals.

上記のような従来の決済システムにおいても、端末装置で読み取るコードが差し替えられ、本来の支払先とは異なる不正な支払先への支払いが行われる可能性があった。 Even in the conventional payment system as described above, there is a possibility that the code read by the terminal device is replaced and the payment is made to an illegal payee other than the original payee.

なお、以下で差し替えとは、通常、読み取られるコードを別のコードに変更することであるが、例えば、コードの一部または全部に変更を加えること(いわゆる改ざん)でもよい。差し替えは、読み取られるコードの少なくとも一部が、結果として変化するものであればよく、その態様は問わない。 In the following description, "replacement" usually refers to changing a code to be read into another code, but it may also mean, for example, changing part or all of the code (so-called falsification). The replacement may be performed in any manner as long as at least part of the code to be read is changed as a result.

本第一の発明のサーバ装置は、生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部と、生成コードを出力する出力装置によって出力された出力コードを撮影する撮影装置から、出力コードを撮影した画像または画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部と、生成コード格納部に格納されている格納コード情報と、出力コード受信部が受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する判断部と、判断部による判断の結果に関する判断結果情報を端末装置に送信する判断結果送信部とを具備するサーバ装置である。 The server device of the first aspect of the invention captures the output code output by the generated code storage unit in which the generated code information about the generated code is to be stored and the output device for outputting the generated code. An output code receiving unit for receiving output code information including an image obtained by capturing the output code or an output code extracted from the image, stored code information stored in a generated code storage unit, and an output code receiving unit. a judgment unit for judging whether the output code matches the generated code by using the output code information received by the judgment unit; It is a server device comprising

なお、生成コード格納部には、生成コード情報が格納されるべきであり、生成コード格納部に格納されている生成コード情報が不正なコード情報に差し替えられることは、通常、ない。 The generated code information should be stored in the generated code storage unit, and the generated code information stored in the generated code storage unit is normally not replaced with incorrect code information.

かかる構成により、コードの差し替えを検知できる。 With such a configuration, replacement of the code can be detected.

また、本第二の発明のサーバ装置は、第一の発明に対して、コードを生成するコード生成サーバから生成コード情報を受信する生成コード受信部と、生成コード受信部が受信した生成コード情報を生成コード格納部に蓄積する蓄積部とをさらに具備するサーバ装置である。 In addition, in the server device of the second invention, in contrast to the first invention, the generated code receiving unit receives generated code information from the code generation server that generates the code, and the generated code information received by the generated code receiving unit in the generated code storage unit.

かかる構成により、コード生成サーバから生成コード情報を受信し、サーバ装置内に蓄積することで、可変的なコードの差し替えも検知できる。 With such a configuration, by receiving generated code information from the code generation server and storing it in the server device, variable code replacement can also be detected.

なお、第二の発明において、コードは、可変的なコードであり、出力コード受信部は、コード生成サーバによって新たなコードが生成される度に、当該新たなコードに関する生成コード情報を受信し、蓄積部は、生成コード受信部が新たなコードに関する生成コード情報を受信したことに応じて、生成コード格納部に格納されている格納コード情報を、受信された生成コード情報で更新してもよい。 In the second invention, the code is a variable code, and the output code receiving unit receives generated code information about the new code each time the code generation server generates the new code, The storage unit may update the stored code information stored in the generated code storage unit with the received generated code information in response to the generated code receiving unit receiving the generated code information about the new code. .

かかる構成により、生成コード格納部の容量を削減できる。 With such a configuration, the capacity of the generated code storage unit can be reduced.

また、本第三の発明のサーバ装置は、第一または第二の発明に対して、出力装置は、生成コードを表示器に表示し、撮影装置は、表示器に表示されているコードを撮影し、端末装置は、出力コードを用いて決済のための処理を行うサーバ装置である。 Further, in the server device of the third invention, in contrast to the first or second invention, the output device displays the generated code on the display, and the imaging device captures the code displayed on the display. The terminal device is a server device that performs processing for settlement using the output code.

かかる構成により、表示器に表示されているコードを用いて決済を行う場合に、コードの差し替えによる不正な支払先への支払いを防止できる。 With such a configuration, when the code displayed on the display is used for payment, payment to an unauthorized payee due to replacement of the code can be prevented.

また、本第四の発明のサーバ装置は、第三の発明に対して、出力装置は、店舗の端末である店舗端末であり、表示器は、店舗端末が有するディスプレイであり、端末装置は、ユーザの端末であるユーザ端末である。 In addition, in the server device of the fourth invention, in contrast to the third invention, the output device is a store terminal that is a terminal of the store, the display is a display of the store terminal, and the terminal device is: A user terminal is a user terminal.

かかる構成により、店舗端末が有するディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、コードの差し替えによる不正な支払先への支払いを防止できる。 With such a configuration, it is possible to prevent payment to an unauthorized payee due to replacement of the code when the code displayed on the display of the store terminal is used to make a payment at the user terminal.

また、本第五の発明のサーバ装置は、第四の発明に対して、撮影装置は、ディスプレイに表示されている出力コードを監視する監視カメラであるサーバ装置である。 Further, in the server device of the fifth invention, in contrast to the fourth invention, the photographing device is a surveillance camera that monitors the output code displayed on the display.

かかる構成により、店舗のディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、表示されているコードを監視カメラで監視することで、コードの差し替えによる不正な支払先への支払いを防止できる。 With this configuration, when the code displayed on the display of the store is used to make a payment at the user terminal, the displayed code is monitored by the surveillance camera, thereby preventing unauthorized payment to the payment destination by replacing the code. payment can be prevented.

また、本第六の発明のサーバ装置は、第五の発明に対して、監視カメラは、ディスプレイに表示されている出力コードを定期的または不定期に撮影し、撮影した画像をメモリに蓄積し、撮影した画像がメモリに格納されている画像に対して変化したか否かを判断し、撮影した画像がメモリに格納されている画像に対して変化したと判断した場合に、撮影した画像を有する出力コード情報を送信し、出力コード受信部が監視カメラから出力コード情報を受信したことに応じて、出力コード情報が有する画像から出力コードを抽出する抽出部をさらに具備し、判断部は、生成コード格納部に格納されている格納コード情報と、抽出部が抽出した出力コードとを用いて、出力コードが生成コードと一致するか否かを判断するサーバ装置である。 In addition, in the server device of the sixth invention, in contrast to the fifth invention, the monitor camera regularly or irregularly captures the output code displayed on the display and accumulates the captured image in the memory. , determine whether the captured image has changed from the image stored in the memory, and if it is determined that the captured image has changed from the image stored in the memory, change the captured image and an extracting unit for extracting the output code from the image included in the output code information in response to the output code receiving unit receiving the output code information from the surveillance camera, the determining unit comprising: The server device determines whether or not the output code matches the generated code by using the stored code information stored in the generated code storage unit and the output code extracted by the extraction unit.

かかる構成により、監視カメラで撮影された画像が変化した場合にだけ、画像を有する出力コード情報を受信し、画像が変化していない場合には出力コード情報を受信しないので、監視カメラから受信する出力コード情報のデータ量を抑制しつつ、コードの差し替えによる不正な支払先への支払いを防止できる。 With this configuration, the output code information having the image is received only when the image captured by the surveillance camera changes, and the output code information is not received when the image does not change, so that the output code information is received from the surveillance camera. While suppressing the data amount of the output code information, it is possible to prevent payment to an unauthorized payee due to replacement of the code.

また、本第七の発明のサーバ装置は、第三の発明に対して、撮影装置は、ユーザ端末が有するカメラであるサーバ装置である。 Further, the server device of the seventh invention is a server device in which the photographing device is a camera possessed by the user terminal, in contrast to the third invention.

かかる構成により、店舗のディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、表示されているコードを当該ユーザ端末が有するカメラで撮影することにより、簡単な構成で、コードの差し替えによる不正な支払先への支払いを防止できる。 With such a configuration, when the user terminal uses the code displayed on the display of the store to make a payment, the displayed code is photographed by the camera of the user terminal. It is possible to prevent payments to unauthorized payees due to replacement of

また、本第八の発明のサーバ装置は、第七の発明に対して、ユーザ端末は、ディスプレイに表示されている出力コードをカメラで撮影した画像から出力コードを抽出し、抽出した出力コードを用いて決済のための処理を行う前に、抽出した出力コードを有する出力コード情報を送信し、判断部は、生成コード格納部に格納されている生成コード情報と、出力コード受信部がユーザ端末から受信した出力コード情報が有する出力コードとを用いて、出力コードが生成コードと一致するか否かを判断するサーバ装置である。 Further, in the server device of the eighth invention, in contrast to the seventh invention, the user terminal extracts the output code displayed on the display from an image captured by a camera, and converts the extracted output code to before performing processing for payment using the user terminal, the output code information having the extracted output code is transmitted, and the determination unit receives the generated code information stored in the generated code storage unit and the output code reception unit receives the user terminal It is a server device that judges whether or not the output code matches the generated code by using the output code included in the output code information received from.

かかる構成により、ユーザ端末がカメラで撮影した画像から抽出した出力コードを用いた決済を行う前に、その抽出された出力コードを有する出力コード情報をユーザ端末から受信し、出力コードが生成コードと一致するか否かを判断するので、ユーザ端末から受信する出力コード情報のデータ量を抑制しつつ、コードの差し替えによる不正な支払先への支払いを防止できる。 With this configuration, before the user terminal makes a payment using the output code extracted from the image captured by the camera, the output code information having the extracted output code is received from the user terminal, and the output code is the generated code. Since it is determined whether or not the codes match, it is possible to suppress the data amount of the output code information received from the user terminal and prevent payment to an unauthorized payee due to code replacement.

また、本第九の発明のサーバ装置は、第一から第八いずれか1つの発明に対して、生成コード格納部は、一の生成コードに対応する3以上の生成コード情報が格納されるべき3以上の格納手段を含み、判断部は、3以上の格納手段に格納されている3以上の格納コード情報を用いて、3以上の格納コード情報に対応する3以上の格納コードの中に、一致する2以上の格納コードの組が1組以上存在するか否かを判断する第一判断手段と、第一判断手段が3以上の格納コードの中に組が1組以上存在すると判断した場合に、一の組を構成する格納コードであり、他のどの組を構成する格納コードよりも数が多い格納コードである最多数格納コードが唯一つ存在するか否かを判断する第二判断手段と、第二判断手段が最多数格納コードが唯一つ存在すると判断した場合に、当該最多数格納コードを生成コードに決定する決定手段と、決定手段が決定した生成コードと、出力コード受信部が受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する第三判断手段とを含むサーバ装置である。 Further, in the server device of the ninth invention, for any one of the first to eighth inventions, the generated code storage unit should store three or more pieces of generated code information corresponding to one generated code. including three or more storage means, and using the three or more stored code information stored in the three or more storage means, the determination unit stores, in the three or more stored codes corresponding to the three or more stored code information, a first judging means for judging whether or not one or more pairs of two or more matching stored codes exist; and when the first judging means judges that one or more pairs exist among the three or more stored codes. second judgment means for judging whether or not there is only one stored code that constitutes one group and that is a stored code that is larger in number than the stored codes that constitute any other group. and, when the second determining means determines that there is only one code stored in the largest number of stored codes, the determining means for determining the stored code in the largest number of stored codes as the generated code, the generated code determined by the determining means, and the output code receiving section, a third judging means for judging whether the output code matches the generated code using the received output code information.

かかる構成により、一の生成コードに対応する3以上の生成コード情報を3以上の格納手段に格納しておくことで、例えば、3以上の格納手段に格納されている3以上の格納コード情報のいずれかが不正な情報に差し替えられた場合でも、多数決により、3以上の格納コードのうち最多数の格納コードを生成コードとみなし、出力コードが生成コードと一致するか否かの判断を行うことができる。 With this configuration, by storing three or more generated code information corresponding to one generated code in three or more storage means, for example, three or more stored code information stored in three or more storage means Even if one of them is replaced with incorrect information, the stored code with the greatest number of stored codes of 3 or more is regarded as the generated code by majority vote, and it is determined whether the output code matches the generated code. can be done.

従って、生成コード格納部に格納されている生成コード情報が不正なコード情報に差し替えられる可能性がある場合でも、コードの差し替えを検知できる。 Therefore, even if there is a possibility that the generated code information stored in the generated code storage unit is replaced with illegal code information, the code replacement can be detected.

また、本第十の発明のサーバ装置は、第九の発明に対して、判断結果送信部は、第一判断手段が組が存在しないと判断した場合、または第二判断手段が最多数格納コードが2以上存在すると判断した場合、または第三判断手段が出力コードが生成コードと一致しないと判断した場合に、否定的な判断結果を示す判断結果情報を送信するサーバ装置である。 Further, in the server device of the tenth invention, in contrast to the ninth invention, when the first determination means determines that the set does not exist, or when the second determination means determines that the maximum number of stored code is present, or when the third determining means determines that the output code does not match the generated code, it transmits determination result information indicating a negative determination result.

かかる構成により、生成コードと出力コードとの不一致を通知できる。 With such a configuration, a mismatch between generated code and output code can be notified.

なお、第一から第十いずれか1つの発明において、否定的な判断結果を示す判断結果情報は、コードが差し替えられている可能性についての警告を有し、端末装置は、判断結果情報を受信し、否定的な判断結果を示す判断結果情報を受信した場合に、当該判断結果情報が有する警告を出力してもよい。 In addition, in any one of the first to tenth inventions, the judgment result information indicating a negative judgment result has a warning about the possibility that the code has been replaced, and the terminal device receives the judgment result information However, when judgment result information indicating a negative judgment result is received, a warning included in the judgment result information may be output.

かかる構成により、コードが差し替えられている可能性を、端末装置の操作者に警告できる。特に、例えば、端末装置がコードを用いて決済のための処理を行う場合に、端末装置を操作するユーザまたは店員に警告することで、不正な支払先への支払いを効果的に防止できる。 With such a configuration, the operator of the terminal device can be warned of the possibility that the code has been replaced. In particular, for example, when the terminal device uses a code to perform processing for payment, by warning the user or store clerk operating the terminal device, payment to an unauthorized payee can be effectively prevented.

また、第三から第十いずれか1つの発明において、端末装置は、サーバ装置から否定的な判断結果を示す判断結果情報を受信した場合に、決済のための処理の実行を抑制してもよい。 In addition, in any one of the third to tenth inventions, the terminal device may suppress execution of processing for settlement when receiving determination result information indicating a negative determination result from the server device. .

かかる構成により、コードの差し替えによる不正な支払先への支払いをより効果的に防止できる。 With such a configuration, it is possible to more effectively prevent payment to an unauthorized payee due to code replacement.

また、本第十一の発明の情報システムは、生成される又は生成された生成コードを出力する出力装置と、出力装置によって出力された出力コードを撮影する撮影装置と、サーバ装置と、端末装置とを含み、サーバ装置は、生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部と、撮影装置から、出力コードを撮影した画像または画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部と、生成コード格納部に格納されている格納コード情報と、出力コード受信部が受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する判断部と、判断部による判断の結果に関する判断結果情報を端末装置に送信する判断結果送信部とを具備する情報システムである。 Further, the information system of the eleventh aspect of the present invention comprises an output device that outputs generated or generated generated code, a photographing device that captures the output code output by the output device, a server device, and a terminal device. The server device includes a generated code storage unit in which generated code information about the generated or generated generated code is to be stored, and an image obtained by capturing the output code from the imaging device or the output code extracted from the image. and the stored code information stored in the generated code storage unit and the output code information received by the output code receiving unit, the output code matches the generated code and a determination result transmission unit for transmitting determination result information on the result of determination by the determination unit to a terminal device.

かかる構成により、コードの差し替えを検知できる。 With such a configuration, replacement of the code can be detected.

本発明によれば、コードの差し替えを検知できる。その結果、例えば、コードの差し替えによる不正な支払先への支払いを防止できる。 According to the present invention, code replacement can be detected. As a result, for example, payment to an unauthorized payee due to code replacement can be prevented.

実施の形態における情報システムのブロック図Block diagram of an information system according to an embodiment 同サーバ装置の動作を説明するフローチャートFlowchart explaining the operation of the same server device 同判断処理を説明するフローチャートFlowchart explaining the judgment process 同端末装置の動作を説明するフローチャートFlowchart explaining the operation of the terminal device 同生成コード格納部の内容を示す図Diagram showing the contents of the generated code storage unit 同端末装置の画面の一例を示す図A diagram showing an example of the screen of the terminal device 同端末装置の画面の他の例を示す図A diagram showing another example of the screen of the terminal device 変形例1における判断処理を説明するフローチャートFlowchart for explaining determination processing in modification 1 コンピュータシステムの外観図External view of computer system コンピュータシステムの内部構成の一例を示す図A diagram showing an example of the internal configuration of a computer system

以下、サーバ装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 Embodiments of a server device and the like will be described below with reference to the drawings. It should be noted that, since components denoted by the same reference numerals in the embodiments perform similar operations, repetitive description may be omitted.

図1は、本実施の形態における情報システムのブロック図である。情報システムは、サーバ装置1、コード生成サーバ2、1または2以上の出力装置3、1または2以上の撮影装置4、および1または2以上の端末装置5を備える。 FIG. 1 is a block diagram of an information system according to this embodiment. The information system includes a server device 1 , a code generation server 2 , one or more output devices 3 , one or more imaging devices 4 , and one or more terminal devices 5 .

サーバ装置1は、例えば、LANやインターネット等のネットワーク、無線または有線の通信回線などを介して、コード生成サーバ2、1以上の出力装置3、1以上の撮影装置4、および1以上の端末装置5の各々と、通信可能に接続される。なお、サーバ装置1とコード生成サーバ2とは、例えば、専用の通信回線を介して接続されることは好適である。 The server device 1 includes, for example, a code generation server 2, one or more output devices 3, one or more photographing devices 4, and one or more terminal devices via a network such as a LAN or the Internet, or a wireless or wired communication line. 5 are communicatively connected. The server device 1 and the code generation server 2 are preferably connected via a dedicated communication line, for example.

サーバ装置1は、コードの差し替えを検知するサーバである。詳しくは、サーバ装置1は、コード生成サーバ2によって生成されたコードと、出力装置3から出力されたコードとを用いて、コードが差し替えられているか否かを判断し、判断結果に関する情報(以下、判断結果情報と記す場合がある)を端末装置5に送信する。 The server device 1 is a server that detects code replacement. Specifically, the server device 1 uses the code generated by the code generation server 2 and the code output from the output device 3 to determine whether or not the code has been replaced, and information on the determination result (hereinafter referred to as , may be referred to as judgment result information) to the terminal device 5 .

サーバ装置1は、例えば、情報システムを運営する企業や団体等の組織のサーバであるが、クラウドサーバやASPサーバ等でもよく、そのタイプや所在は問わない。 The server device 1 is, for example, a server of an organization such as a company or an organization that manages an information system, but it may be a cloud server, an ASP server, or the like, regardless of its type or location.

コード生成サーバ2は、コードを生成するサーバである。コードとは、例えば、情報を表現する符号である、といってもよい。情報とは、コードを生成する元データである、といってもよい。情報は、例えば、URL、決済情報等であるが、その種類は問わない。なお、決済情報とは、決済に関する情報である。決済情報は、例えば、金額に関する金額情報、支払先に関する支払先情報(例えば、口座番号、名義人名等)などであるが、決済に関する情報であれば何でもよい。 The code generation server 2 is a server that generates code. A code may be said to be, for example, a code that expresses information. It can be said that the information is the original data for generating the code. The information is, for example, URL, payment information, etc., but the type is not limited. The payment information is information related to payment. The settlement information includes, for example, amount information regarding the amount of money, payee information regarding the payee (for example, account number, name of the holder, etc.), but any information regarding settlement may be used.

コードは、例えば、情報を埋め込んだ図柄である。この種のコードは、例えば、QRコードであるが、QRコード以外の二次元コードでもよいし、バーコード等の一次元コードでも構わない。QRコード以外の二次元コードとは、例えば、SPコードやCPコード等であるが、その種類は問わない。ただし、コードは、例えば、情報を表現する又は情報に対応付いた1または2以上の文字や記号等の配列でもよく、その種類は問わない。 A code is, for example, a pattern in which information is embedded. This type of code is, for example, a QR code, but may be a two-dimensional code other than the QR code, or may be a one-dimensional code such as a bar code. A two-dimensional code other than a QR code is, for example, an SP code, a CP code, or the like, but the type is not limited. However, the code may be, for example, an array of one or more characters, symbols, or the like expressing information or associated with information, and any type of code may be used.

コードは、例えば、可変的なコードであることは好適である。可変的なコードとは、変化し得るコードである。可変的なコードは、例えば、定期的または不定期に変化するコードであるが、一の決済にのみ使えるワンタイムコードでもよい。可変的なコードは、通常、ディスプレイ等の表示器に表示されるが、変化する度に、用紙やシールや商品等の表面(以下、「紙面等」)に印刷されてもよい。 The code is preferably a variable code, for example. A variable code is a code that can change. A variable code is, for example, a code that changes periodically or irregularly, but may be a one-time code that can be used only for one payment. The variable code is usually displayed on a display device such as a display, but may be printed on the surface of paper, stickers, products, etc. (hereinafter referred to as "paper surface, etc.") each time it changes.

ただし、コードは、固定的なコードでもよい。固定的なコードとは、変化しないコードである。固定的なコードは、例えば、紙面等に印刷されるが、表示器に表示されてもよい。 However, the code may be a fixed code. Fixed code is code that does not change. The fixed code, for example, is printed on paper or the like, but may be displayed on a display.

コード生成サーバ2は、例えば、上記組織のサーバであるが、別の組織のサーバでもよいし、クラウドサーバ等でもよく、そのタイプや所在は問わない。ただし、コード生成サーバ2は、必須ではない。例えば、予め生成されたコードを用いる場合、情報システムは、コード生成サーバ2を備えていなくてもよい。 The code generation server 2 is, for example, a server of the above organization, but may be a server of another organization, a cloud server, or the like, regardless of its type or location. However, the code generation server 2 is not essential. For example, when using pre-generated code, the information system does not need to include the code generation server 2 .

出力装置3は、コードを出力する装置である。出力装置3は、通常、コード生成サーバ2によって生成されたコード(以下、生成コードと記す場合がある)を出力するが、予め生成されたコードを出力してもよい。なお、生成コードは、正規のコードであり、正規のコードは、真のコードといってもよい。また、出力装置3による出力は、通常、表示器への表示であるが、プリンタでの印刷でもよい。 The output device 3 is a device that outputs a code. The output device 3 normally outputs code generated by the code generation server 2 (hereinafter sometimes referred to as generated code), but may output code generated in advance. Note that the generated code is normal code, and the normal code can be said to be true code. Also, the output from the output device 3 is normally displayed on a display device, but may be printed by a printer.

本実施の形態における表示器は、店舗端末が有するディスプレイである。店舗端末とは、店舗の端末である。店舗とは、商品またはサービスの購入が可能な場所である、といってもよい。店舗は、例えば、百貨店、ショッピングモール、各種の商店、飲食店、宿泊施設等であるが、その種類は問わない。 A display device in the present embodiment is a display included in a store terminal. A store terminal is a terminal of a store. A store may be said to be a place where goods or services can be purchased. The stores are, for example, department stores, shopping malls, various shops, restaurants, accommodation facilities, etc., but the type is not limited.

店舗端末は、例えば、店舗のレジに設置されたレジ端末であるが、店員の携帯端末などでもよく、そのタイプは問わない。携帯端末とは、携帯可能な端末である。なお、携帯端末は、例えば、タブレット端末、スマートフォン、ノートPC、携帯電話機等であるが、その種類は問わない。 The store terminal is, for example, a cash register terminal installed at a cash register in a store, but may be a store clerk's mobile terminal or the like, and the type is not limited. A portable terminal is a portable terminal. Note that the mobile terminal is, for example, a tablet terminal, a smart phone, a notebook PC, a mobile phone, or the like, but the type of mobile terminal does not matter.

店舗端末は、例えば、定期的または不定期に、店舗識別子を送信する。店舗識別子とは、店舗を識別する情報である。店舗識別子は、例えば、固定電話番号、メールアドレス、IDなどであるが、店舗を識別し得る情報であれば何でもよい。ただし、店舗端末は、例えば、ユーザ端末からの要求に応じて店舗識別子を送信してもよく、店舗識別子の送信のタイミングやトリガは問わない。または、店舗識別子は、例えば、監視カメラである撮影装置4から送信されてもよく、店舗内の装置であれば、その送信元も問わない。 The store terminal, for example, periodically or irregularly transmits the store identifier. A store identifier is information that identifies a store. The store identifier is, for example, a fixed telephone number, e-mail address, ID, etc., but any information that can identify the store may be used. However, the store terminal may, for example, transmit the store identifier in response to a request from the user terminal, regardless of the timing or trigger of transmission of the store identifier. Alternatively, the store identifier may be transmitted from, for example, the photographing device 4, which is a surveillance camera, and the source of the transmission is irrelevant as long as it is a device in the store.

撮影装置4は、出力装置3によって出力されたコード(以下、出力コード)を撮影する装置である。なお、出力コードは、通常、生成コードと同一であるが、第三者によって差し替えられた不正なコードである可能性がある。不正なコードは、偽のコードといってもよい。 The photographing device 4 is a device for photographing the code output by the output device 3 (hereinafter referred to as output code). Note that the output code is usually the same as the generated code, but there is a possibility that it is an illegal code replaced by a third party. Bad code can be said to be bogus code.

撮影装置4は、通常、表示器に表示されている出力コードを撮影するが、例えば、紙面等に印刷されたコードを撮影してもよい。なお、後者の場合、コードが印刷された紙面等は、店舗内の適宜な場所(例えば、レジ、陳列棚、商品等)に貼り付けられる。撮影装置4は、出力コードを撮影し、出力コード情報を、通常、装置識別子と対に、サーバ装置1に送信する。出力コード情報とは、出力コードに関する情報である。出力コード情報は、例えば、出力コードを撮影した画像であるが、画像から抽出された出力コードでもよい。 The photographing device 4 normally photographs the output code displayed on the display, but may photograph the code printed on paper or the like. In the latter case, the code-printed paper or the like is pasted on an appropriate place in the store (for example, cash register, display shelf, merchandise, etc.). The photographing device 4 photographs the output code, and normally transmits the output code information to the server device 1 together with the device identifier. The output code information is information about the output code. The output code information is, for example, a photographed image of the output code, but may be an output code extracted from the image.

装置識別子とは、撮影装置4を識別する情報である。装置識別子は、例えば、MACアドレスやIPアドレス等のアドレスであるが、店舗識別子、IDなどでもよく、撮影装置4を識別し得る情報であれば何でもよい。なお、本実施の形態において、装置識別子は、店舗識別子であるとする。 A device identifier is information for identifying the imaging device 4 . The device identifier is, for example, an address such as a MAC address or an IP address, but may be a shop identifier, an ID, or any other information that can identify the photographing device 4 . In this embodiment, the device identifier is assumed to be a store identifier.

本実施の形態における撮影装置4は、通常、監視カメラである。監視カメラは、店舗端末が有するディスプレイに表示されている出力コードを監視するカメラである。監視カメラは、ディスプレイに表示されている出力コードを撮影し、撮影した画像を有する出力コード情報をサーバ装置1に送信する。 The photographing device 4 in this embodiment is normally a surveillance camera. The monitoring camera is a camera that monitors the output code displayed on the display of the store terminal. The monitoring camera captures the output code displayed on the display and transmits output code information including the captured image to the server device 1 .

監視カメラは、例えば、表示されている出力コードを定期的または不定期に撮影し、撮影した2以上の画像に対応する2以上の出力コード情報をサーバ装置1に送信してもよい。 The monitoring camera may, for example, periodically or irregularly photograph the displayed output code, and transmit two or more pieces of output code information corresponding to the two or more photographed images to the server device 1 .

または、監視カメラは、表示されている出力コードを定期的または不定期に撮影し、撮影した2以上の画像における変化を検知し、変化前の1または2以上の画像に対応する1または2以上の出力コード情報を送信せず、変化後の1または2以上の画像に対応する1または2以上の出力コード情報のみを送信することは好適である。これによって、監視カメラから送信される出力コード情報のデータ量を抑制できる。 Alternatively, the surveillance camera periodically or irregularly captures the displayed output code, detects a change in the captured two or more images, and detects one or more images corresponding to the one or more images before the change. It is preferable to transmit only the one or more output code information corresponding to the one or more images after the change without transmitting the output code information of the . As a result, the data amount of the output code information transmitted from the monitoring camera can be suppressed.

具体的には、監視カメラは、例えば、店舗端末のディスプレイに表示されている出力コードを定期的または不定期に撮影し、撮影した画像をメモリに蓄積しつつ、当該撮影した画像が、メモリに格納されている1または2以上の画像に対して変化したか否かを判断し、変化したと判断した場合に、当該撮影した画像を有する出力コード情報を送信してもよい。これによって、監視カメラから送信される出力コード情報のデータ量を一層抑制できる。 Specifically, for example, the surveillance camera periodically or irregularly captures the output code displayed on the display of the store terminal, accumulates the captured image in the memory, and stores the captured image in the memory. It may be determined whether or not there is a change in one or more stored images, and if it is determined that there is a change, the output code information having the captured image may be transmitted. As a result, the data amount of the output code information transmitted from the surveillance camera can be further reduced.

ただし、撮影装置4は、例えば、店舗の店員の携帯端末でもよい。店舗の店員の携帯端末である撮影装置4は、同じく店舗の店員の携帯端末である出力装置3のディスプレイに表示されている出力コードを撮影する。つまり、出力装置3と撮影装置4とは、店舗の店員が保有する一の携帯端末によっても実現可能である。この携帯端末は、例えば、当該携帯端末自身のディスプレイに表示されている画面を仮想カメラで撮影し、出力コードを含む画面のキャプチャ画像(スナップショットといってもよい)を取得する、と考えてもよい。 However, the photographing device 4 may be, for example, a mobile terminal of a store clerk. A photographing device 4, which is a store clerk's mobile terminal, shoots an output code displayed on the display of an output device 3, which is also a store clerk's mobile terminal. That is, the output device 3 and the photographing device 4 can be realized by one mobile terminal owned by a store clerk. For example, this mobile terminal captures a screen displayed on the display of the mobile terminal itself with a virtual camera, and obtains a captured image (a snapshot) of the screen including the output code. good too.

端末装置5は、例えば、出力装置3によって出力された出力コードを用いて、予め決められた処理を行う装置である。予め決められた処理は、例えば、決済のための処理である。決済のための処理とは、例えば、図示しない決済サーバへの決済情報の送信であるが、決済でもよい。または、決済のための処理は、例えば、決済を行う前のユーザ登録、決済が完了した旨の通知の受信などでもよい。このように、決済のための処理は、結果として決済が完了する処理であればよいが、決済に必要な処理、決済に付随する処理なども含んでよく、その種類や内容は問わない。 The terminal device 5 is, for example, a device that uses the output code output by the output device 3 to perform predetermined processing. The predetermined processing is, for example, processing for payment. The processing for payment is, for example, transmission of payment information to a payment server (not shown), but may be payment. Alternatively, the processing for payment may be, for example, user registration before payment, reception of notification that payment has been completed, or the like. In this way, the processing for payment may be processing that completes payment as a result, but may include processing necessary for payment, processing incidental to payment, and the like, regardless of the type or content thereof.

端末装置5は、サーバ装置1から判断結果情報を受信し、受信した判断結果情報が否定的な判断結果を示す場合に、決済のための処理の実行を抑制する処理(以下、抑制処理)を行う。なお、抑制処理については後述する。 The terminal device 5 receives determination result information from the server device 1, and when the received determination result information indicates a negative determination result, performs processing for suppressing execution of processing for settlement (hereinafter referred to as suppression processing). conduct. Note that the suppression process will be described later.

または、端末装置5は、サーバ装置1から受信した判断結果情報が否定的な判断結果を示す場合に、出力コードを用いて、決済のための処理を行ってもよい。 Alternatively, when the determination result information received from the server device 1 indicates a negative determination result, the terminal device 5 may use the output code to perform processing for settlement.

ただし、予め決められた処理は、例えば、ウェブページを表示する処理などでもよく、コードを用いた処理であれば何でもよい。なお、QRコード等のコードを用いてウェブページを表示する処理は公知であり、説明を省略する。 However, the predetermined process may be, for example, a process of displaying a web page, or any process using code. Note that the process of displaying a web page using a code such as a QR code is well known and will not be described.

本実施の形態における端末装置5は、例えば、ユーザ端末である。ユーザ端末とは、ユーザの端末である。ユーザ端末は、通常、特定のユーザの携帯端末であるが、例えば、店舗で買い物をする客である不特定のユーザが利用可能な端末でもよい。 The terminal device 5 in this embodiment is, for example, a user terminal. A user terminal is a terminal of a user. A user terminal is usually a mobile terminal of a specific user, but may be a terminal that can be used by unspecified users who are customers shopping at a store, for example.

ただし、端末装置5は、例えば、上記組織の職員によって操作される端末でもよく、そのタイプや所在は問わない。この種の端末装置5は、例えば、サーバ装置1から判断結果情報を受信し、受信した判断結果情報を出力する。職員は、否定的な判断結果情報が出力された場合に、例えば、コードが差し替えられた可能性がある旨を、店舗や金融機関などに連絡し、コードを用いた決済の実行を回避させてもよい。 However, the terminal device 5 may be, for example, a terminal operated by an employee of the above organization, regardless of its type or location. This type of terminal device 5 receives, for example, determination result information from the server device 1 and outputs the received determination result information. If negative judgment result information is output, the staff should, for example, inform the store or financial institution that the code may have been replaced, and have them avoid making payments using the code. good too.

サーバ装置1は、格納部11、受付部12、受信部13、処理部14、および送信部15を備える。格納部11は、生成コード格納部111を備える。受信部13は、出力コード受信部131、および生成コード受信部132を備える。処理部14は、判断部141、抽出部142、および蓄積部143を備える。送信部15は、判断結果送信部151を備える。 The server device 1 includes a storage unit 11 , a reception unit 12 , a reception unit 13 , a processing unit 14 and a transmission unit 15 . The storage unit 11 includes a generated code storage unit 111 . The receiver 13 includes an output code receiver 131 and a generated code receiver 132 . The processing unit 14 includes a determination unit 141 , an extraction unit 142 and an accumulation unit 143 . The transmitter 15 includes a determination result transmitter 151 .

端末装置5は、端末格納部51、端末受付部52、端末処理部53、端末送信部54、端末受信部55、および端末出力部56を備える。 The terminal device 5 includes a terminal storage section 51 , a terminal reception section 52 , a terminal processing section 53 , a terminal transmission section 54 , a terminal reception section 55 and a terminal output section 56 .

サーバ装置1を構成する格納部11は、各種の情報を格納し得る。各種の情報とは、例えば、生成コード情報である。なお、その他の情報については、適時説明する。 The storage unit 11 configuring the server device 1 can store various types of information. Various types of information are, for example, generated code information. Other information will be explained as appropriate.

生成コード格納部111には、生成コード情報が格納される。本実施の形態において、生成コード格納部111には、例えば、店舗識別子に対応付けて、2以上の生成コード情報が格納される。 The generated code information is stored in the generated code storage unit 111 . In the present embodiment, the generated code storage unit 111 stores, for example, two or more pieces of generated code information in association with store identifiers.

生成コード情報とは、生成コードに関する情報である。生成コードとは、生成される又は生成されたコードである。生成コードは、例えば、コード生成サーバ2によって生成される又は生成されたコードである。生成コード情報は、通常、生成されたコードを有するが、コードを生成する元データ(前述)を有していてもよい。 Generated code information is information about generated code. Generated code is code that is or has been generated. The generated code is, for example, code generated or generated by the code generation server 2 . Generated code information typically includes generated code, but may also include the original data (described above) that generates the code.

または、生成コード情報は、例えば、元データから取得される値を有していてもよい。元データから取得される値とは、例えば、元データを関数に代入することにより計算される値である。関数は、例えば、ハッシュ関数であり、元データから取得される値は、元データをハッシュ関数に代入することにより計算されるハッシュ値でもよい。ただし、関数の種類や関数で計算される値は問わない。 Alternatively, the generated code information may have values obtained from the original data, for example. A value obtained from original data is, for example, a value calculated by substituting the original data into a function. The function is, for example, a hash function, and the value obtained from the original data may be a hash value calculated by substituting the original data for the hash function. However, the type of function and the value calculated by the function do not matter.

なお、生成コード情報は、例えば、予め生成コード格納部111に格納されていてもよい。または、生成コード情報は、例えば、受付部12によって受け付けられ又は生成コード受信部132によって受信され、処理部14によって生成コード格納部111に蓄積されてもよい。 Note that the generated code information may be stored in the generated code storage unit 111 in advance, for example. Alternatively, the generated code information may be received by the receiving unit 12 or received by the generated code receiving unit 132 and accumulated in the generated code storage unit 111 by the processing unit 14, for example.

具体的には、例えば、元データが受け付けられ又は受信され、処理部14は、その元データからハッシュ関数を用いてハッシュ値を取得し、取得したハッシュ値を、生成コード格納部111に蓄積してもよい。 Specifically, for example, original data is accepted or received, the processing unit 14 acquires a hash value from the original data using a hash function, and stores the acquired hash value in the generated code storage unit 111. may

または、例えば、格納部11に、元データと値との対の集合である対応情報が格納されており、処理部14は、この対応情報を用いて、元データに対応する値を取得してもよく、元データから値を取得する手法は問わない。 Alternatively, for example, the storage unit 11 stores correspondence information that is a set of pairs of original data and values, and the processing unit 14 uses this correspondence information to acquire the value corresponding to the original data. It doesn't matter which method you use to get the value from the original data.

なお、コード識別子と生成コード情報との対もまた、例えば、予め生成コード格納部111に格納されていてもよいし、受付部12によって受け付けられ又は生成コード受信部132によって受信され、処理部14によって生成コード格納部111に蓄積されてもよい。 The pair of code identifier and generated code information may also be stored in the generated code storage unit 111 in advance, received by the reception unit 12 or received by the generated code reception unit 132, and processed by the processing unit 14. may be accumulated in the generated code storage unit 111 by

受付部12は、各種の情報を受け付ける。各種の情報とは、例えば、元データである。受付部12は、通常、キーボードやタッチパネル等の入力デバイスを介して入力された情報を受け付けるが、例えば、ネットワークまたは通信回線を介して送信された情報を受信してもよいし、ディスクや半導体メモリなどの記録媒体から読み出された情報を受け付けてもよく、受け付けの態様は問わない。なお、かかる事項は、後述する端末受付部52についても当てはまる。 The reception unit 12 receives various kinds of information. Various types of information are, for example, original data. The reception unit 12 normally receives information input via an input device such as a keyboard or touch panel, but may receive information transmitted via a network or a communication line, or may receive information transmitted via a disk or semiconductor memory. Information read out from a recording medium such as a . This matter also applies to the terminal reception unit 52, which will be described later.

ただし、元データは、例えば、後述する端末受付部52によって受け付けられてもよい。また、サーバ装置1は、受付部12を備えていなくてもよい。 However, the original data may be received by, for example, a terminal receiving unit 52, which will be described later. Also, the server device 1 does not have to include the receiving unit 12 .

受信部13は、各種の情報を受信する。各種の情報とは、出力コード情報、生成コード情報などである。また、受信部13は、例えば、端末装置5から問合せを受信する。問い合わせとは、コードが差し替えられているか否かの判断結果に関する問い合わせである。問い合わせは、例えば、店舗識別子とユーザ識別子とを有する。 The receiving unit 13 receives various kinds of information. Various information includes output code information, generated code information, and the like. Further, the receiving unit 13 receives an inquiry from the terminal device 5, for example. An inquiry is an inquiry about the judgment result as to whether or not the code has been replaced. The inquiry has, for example, a store identifier and a user identifier.

出力コード受信部131は、撮影装置4から送信される出力コード情報を受信する。受信される出力コード情報は、前述したように、通常、出力コードを撮影した画像を有するが、画像から抽出された出力コードを有していてもよい。なお、後者の場合、撮影装置4は、撮影した画像から出力コードを抽出する機能を有する。 The output code receiving unit 131 receives output code information transmitted from the imaging device 4 . The received output code information, as described above, typically comprises an image taken of the output code, but may also comprise the output code extracted from the image. In the latter case, the photographing device 4 has a function of extracting the output code from the photographed image.

出力コード受信部131は、通常、撮影装置4から店舗識別子と対に送信される出力コード情報を受信する。 The output code receiving unit 131 normally receives output code information transmitted from the photographing device 4 in combination with the shop identifier.

生成コード受信部132は、コード生成サーバ2から生成コード情報を受信する。生成コード受信部132は、例えば、店舗識別子と対に、生成コード情報を受信してもよい。受信される生成コード情報は、例えば、生成コードを有するが、生成コードに代えて、またはこれに加えて、生成コードの元データ、または生成コードから取得される値のうち1種類以上の情報を有していてもよい。 The generated code receiving unit 132 receives generated code information from the code generation server 2 . The generated code receiving unit 132 may receive the generated code information paired with the shop identifier, for example. The received generated code information includes, for example, the generated code, but instead of or in addition to the generated code, one or more types of original data of the generated code or values obtained from the generated code. may have.

なお、コードが可変的なコードである場合、生成コード受信部132は、コード生成サーバ2によって新たなコードが生成される度に、当該新たなコードに関する生成コード情報をコード生成サーバ2から受信してもよい。 Note that if the code is a variable code, the generated code receiving unit 132 receives generated code information about the new code from the code generation server 2 every time the code generation server 2 generates a new code. may

処理部14は、各種の処理を行う。各種の処理とは、例えば、判断部141、抽出部142、蓄積部143などの処理である。また、処理部14は、例えば、フローチャートで説明する各種の判断なども行う。なお、その他の処理については、適時説明する。 The processing unit 14 performs various types of processing. Various processes are, for example, processes of the determination unit 141, the extraction unit 142, the accumulation unit 143, and the like. In addition, the processing unit 14 also makes various judgments described in flowcharts, for example. Note that other processing will be explained as appropriate.

判断部141は、生成コード格納部111に格納されている格納コード情報と、出力コード受信部131が受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する。 The determination unit 141 determines whether or not the output code matches the generated code using the stored code information stored in the generated code storage unit 111 and the output code information received by the output code reception unit 131. .

本実施の形態において、格納コード情報は、生成コード情報である。つまり、生成コード格納部111には、コード生成サーバ2によって生成された正規のコードまたはその元データ等が格納されており、正規なコードまたはその元データ等の、不正なコードまたはその元データ等への差し替えは、困難であるとする。 In this embodiment, the stored code information is generated code information. That is, the generated code storage unit 111 stores the legitimate code generated by the code generation server 2 or its original data, etc., and the legitimate code or its original data, etc., or the illegal code or its original data, etc. It is difficult to replace the

また、本実施の形態では、前述したように、通常、画像を有する出力コード情報が受信される。この場合、例えば、後述する抽出部142が、受信された出力コード情報が有する画像から出力コードを抽出し、判断部141は、格納されている格納コード情報と、抽出された出力コードとを用いて、出力コードが生成コードと一致するか否かを判断する。 Also, in this embodiment, as described above, output code information typically comprising an image is received. In this case, for example, the extraction unit 142, which will be described later, extracts the output code from the image included in the received output code information, and the determination unit 141 uses the stored stored code information and the extracted output code. to determine whether the output code matches the generated code.

なお、出力コードを有する出力コード情報が受信される場合には、判断部141は、格納されている格納コード情報と、受信された出力コード情報が有する出力コードとを用いて、出力コードが生成コードと一致するか否かを判断すればよい。 Note that when the output code information having the output code is received, the determination unit 141 generates the output code using the stored stored code information and the output code included in the received output code information. It suffices to determine whether or not the code matches.

他方、格納コード情報は、前述したように、通常、生成コードであるが、生成コードの元データでもよいし、元データから取得される値でもよい。 On the other hand, the stored code information is usually the generated code as described above, but may be the original data of the generated code or a value obtained from the original data.

例えば、格納コード情報が生成コードであり、画像を有する出力コード情報が受信される場合、判断部141は、生成コード格納部111に格納されている生成コードと、後述する抽出部142が、受信された画像から抽出した出力コードとを照合して、出力コードが生成コードと一致するか否かを判断する。 For example, when the stored code information is a generated code and output code information having an image is received, the determination unit 141 determines that the generated code stored in the generated code storage unit 111 and the extraction unit 142 (to be described later) receive the generated code. The output code extracted from the generated image is collated to determine whether the output code matches the generated code.

なお、格納コード情報が生成コードの元データであり、画像を有する出力コード情報が受信される場合、例えば、処理部14が、生成コード格納部111に格納されている元データから生成コードを生成し、判断部141は、生成された生成コードと、画像から抽出された出力コードとを照合して、出力コードが生成コードと一致するか否かを判断する。 When the stored code information is the original data of the generated code and the output code information having an image is received, for example, the processing unit 14 generates the generated code from the original data stored in the generated code storage unit 111. Then, the determination unit 141 compares the generated generated code with the output code extracted from the image, and determines whether the output code matches the generated code.

または、格納コード情報が生成コードの元データから取得された値であり、画像を有する出力コード情報が受信される場合、例えば、処理部14が、格納されている値から元データを計算し、計算した元データから生成コードを生成する。判断部141は、生成された生成コードと、画像から抽出された出力コードとを照合して、出力コードが生成コードと一致するか否かを判断する。 Alternatively, if the stored code information is a value obtained from the original data of the generated code and the output code information having an image is received, for example, the processing unit 14 calculates the original data from the stored values, Generate generated code from the calculated original data. The determination unit 141 compares the generated generated code with the output code extracted from the image, and determines whether the output code matches the generated code.

抽出部142は、出力コード受信部131が受信した出力コード情報が有する画像から出力コードを抽出する。抽出部142は、例えば、受信された画像に対し、二値化による輪郭線検出を行うことにより、出力コードを抽出する。なお、画像からのコード抽出は公知技術であり、詳しい説明は省略する。 The extraction unit 142 extracts the output code from the image included in the output code information received by the output code reception unit 131 . The extraction unit 142 extracts an output code, for example, by performing edge detection by binarization on the received image. It should be noted that the code extraction from the image is a well-known technique, and a detailed description thereof will be omitted.

蓄積部143は、生成コード受信部132が受信した生成コード情報を生成コード格納部111に蓄積する。蓄積部143は、例えば、生成コード受信部132が店舗識別子と対に受信した生成コード情報を、店舗識別子に対応付けて、生成コード格納部111に蓄積する。 The accumulation unit 143 accumulates the generated code information received by the generated code reception unit 132 in the generated code storage unit 111 . For example, the storage unit 143 associates the generated code information received by the generated code receiving unit 132 with the store identifier with the store identifier and stores the generated code information in the generated code storage unit 111 .

なお、例えば、コードが可変的なコードである場合、蓄積部143は、生成コード受信部132が新たなコードに関する生成コード情報を受信したことに応じて、生成コード格納部111に格納されている格納コード情報を、受信された生成コード情報で更新してもよい。それによって、可変的なコードを用いて決済を行う場合に、コードの差し替えによる不正な支払先への支払いを防止できる。 For example, when the code is a variable code, the storage unit 143 stores the code in the generated code storage unit 111 in response to the generated code reception unit 132 receiving the generated code information about the new code. The stored code information may be updated with the received generated code information. As a result, when a variable code is used for payment, payment to an unauthorized payee due to replacement of the code can be prevented.

送信部15は、各種の情報を送信する。各種の情報とは、例えば、判断結果情報である。 The transmission unit 15 transmits various kinds of information. Various types of information are, for example, judgment result information.

判断結果送信部151は、判断部141による判断の結果に関する判断結果情報を端末装置5に送信する。 The determination result transmission unit 151 transmits determination result information regarding the result of determination by the determination unit 141 to the terminal device 5 .

判断結果送信部151は、例えば、受信部13が端末装置5から問い合わせを受信したことに応じて、当該問い合わせが有する店舗識別子に対応する格納コード情報に関する判断結果情報を、当該問い合わせが有するユーザ識別子に対応する端末装置5に送信してもよい。なお、端末装置5からの問い合わせに応じた処理については、フローチャートで説明する。 For example, when the receiving unit 13 receives an inquiry from the terminal device 5, the determination result transmitting unit 151 sends determination result information related to the stored code information corresponding to the store identifier included in the inquiry to the user identifier included in the inquiry. may be transmitted to the terminal device 5 corresponding to . Processing in response to an inquiry from the terminal device 5 will be explained using a flowchart.

端末装置5を構成する端末格納部51には、各種の情報が格納される。各種の情報とは、例えば、端末識別子、警告情報などである。端末識別子とは、端末装置5を識別する情報である。端末識別子は、例えば、MACアドレスやIPアドレス等のアドレスであるが、ユーザ識別子、IDなどでもよく、端末装置5を識別し得る情報であれば何でもよい。ユーザ識別子とは、端末装置5のユーザを識別する情報である。ユーザ識別子は、例えば、携帯電話番号、メールアドレス、住所・氏名などであるが、ユーザを識別し得る情報であれば何でもよい。なお、本実施の形態において、端末識別子は、ユーザ識別子であるとする。 Various types of information are stored in the terminal storage unit 51 that constitutes the terminal device 5 . Various types of information are, for example, a terminal identifier, warning information, and the like. A terminal identifier is information for identifying the terminal device 5 . The terminal identifier is, for example, an address such as a MAC address or an IP address, but may be a user identifier, an ID, or any other information that can identify the terminal device 5 . A user identifier is information that identifies a user of the terminal device 5 . The user identifier is, for example, a mobile phone number, e-mail address, address/name, etc., but any information that can identify the user may be used. In addition, in this embodiment, the terminal identifier is assumed to be a user identifier.

警告情報とは、コードが差し替えられている可能性について、端末装置5のユーザに警告する情報である。警告情報は、例えば、“コードが差し替えられている可能性があります”等の文字列であるが、コードの差し替えを示唆するマークでもよいし、単なる警告音の音声データなどでもよく、その種類は問わない。 The warning information is information that warns the user of the terminal device 5 about the possibility that the code has been replaced. The warning information is, for example, a character string such as "the code may have been replaced", but it may be a mark suggesting the replacement of the code, or simply audio data of a warning sound. I don't mind.

端末受付部52は、各種の情報や各種の指示を受け付ける。各種の情報とは、例えば、元データである。各種の指示とは、例えば、決済指示、キャンセル指示などである。決済指示とは、コードを用いた決済のための処理を実行する指示である。キャンセル指示と、コードを用いた決済のための処理をキャンセルする指示である。 The terminal reception unit 52 receives various information and various instructions. Various types of information are, for example, original data. Various instructions are, for example, payment instructions, cancellation instructions, and the like. A payment instruction is an instruction to execute processing for payment using a code. One is a cancel instruction and the other is an instruction to cancel processing for payment using a code.

端末処理部53は、各種の処理を行う。各種の処理とは、例えば、出力コードの読み取り、決済のための処理などである。また、端末処理部53は、例えば、フローチャートで説明する各種の判別なども行う。 The terminal processing unit 53 performs various types of processing. Various types of processing include, for example, reading of output codes, processing for payment, and the like. In addition, the terminal processing unit 53 also performs various determinations described in flowcharts, for example.

端末処理部53は、例えば、店舗端末のディスプレイに表示されている出力コードを内蔵カメラで読み取る。詳しくは、端末処理部53は、表示されている出力コードを内蔵カメラで撮影し、撮影した又は撮影中の画像から出力コードを抽出する。そして、出力コードの読み取りの後、端末受付部52が決済指示を受け付けたことに応じて、端末処理部53は、当該出力コードを用いて決済のための処理を行う。 The terminal processing unit 53 reads, for example, the output code displayed on the display of the shop terminal with a built-in camera. Specifically, the terminal processing unit 53 takes an image of the displayed output code with the built-in camera and extracts the output code from the image taken or being taken. After reading the output code, the terminal processing unit 53 uses the output code to perform processing for settlement in response to the terminal accepting unit 52 accepting a settlement instruction.

また、端末処理部53は、例えば、撮影した又は撮影中の画像から出力コードを抽出し、さらに、店舗端末である出力装置3から店舗識別子を受信したことに応じて、受信した店舗識別子と、端末格納部51に格納されているユーザ識別子とを有する問合せを、端末送信部54を介してサーバ装置1に送信する。 Further, the terminal processing unit 53, for example, extracts an output code from an image that has been shot or is being shot, and in response to receiving a store identifier from the output device 3 that is a store terminal, the received store identifier, A query including the user identifier stored in the terminal storage unit 51 is transmitted to the server device 1 via the terminal transmission unit 54 .

また、端末処理部53は、例えば、上記のような問い合わせの送信に応じて、端末受信部55がサーバ装置1から否定的な判断結果を示す判断結果情報を受信した場合に、抑制処理を実行する。抑制処理とは、決済のための処理の実行を抑制する処理である。抑制処理は、例えば、コードが差し替えられている可能性についての警告を、端末格納部51に格納されている警告情報を用いて、端末出力部56を介して出力する処理である。 Further, the terminal processing unit 53 executes the suppression process when, for example, the terminal receiving unit 55 receives judgment result information indicating a negative judgment result from the server device 1 in response to the transmission of the inquiry as described above. do. The suppression process is a process for suppressing the execution of the process for payment. The suppression process is, for example, a process of outputting a warning about the possibility of code replacement via the terminal output unit 56 using the warning information stored in the terminal storage unit 51 .

または、抑制処理は、例えば、受信された判断結果情報を出力することでもよい。なお、出力される判断結果情報は、受信された判断結果情報と同じでなくてもよい。出力される判断結果情報は、例えば、“表示されているコードは正規のコードと一致しません”または“表示されているコードは正規のコードと一致します”などであるが、その表現形式は問わない。 Alternatively, the suppression process may, for example, output the received determination result information. Note that the judgment result information to be output does not have to be the same as the received judgment result information. The judgment result information that is output is, for example, "The displayed code does not match the regular code" or "The displayed code matches the regular code". I don't mind.

または、抑制処理は、例えば、決済のための処理を行わないことでもよい。詳しくは、例えば、端末受信部55がサーバ装置1から否定的な判断結果を示す判断結果情報を受信した場合、端末処理部53は、端末受付部52が決済指示を受け付けても、決済のための処理を行わなくてもよい。 Alternatively, the suppression process may be, for example, not performing the process for payment. Specifically, for example, when the terminal receiving unit 55 receives determination result information indicating a negative determination result from the server device 1, the terminal processing unit 53 receives the settlement instruction even if the terminal receiving unit 52 receives the settlement instruction. You do not have to process

または、抑制処理は、例えば、決済指示を受け付けないことでもよい。詳しくは、端末処理部53は、例えば、端末受信部55がサーバ装置1から肯定的な判断結果を示す判断結果情報を受信した場合にだけ、端末受付部52を介して入力された決済指示を受け付け、否定的な判断結果を示す判断結果情報を受信した場合には、決済指示の受け付けを行わなくてもよい。 Alternatively, the suppression process may be, for example, not accepting payment instructions. Specifically, the terminal processing unit 53 accepts the payment instruction input via the terminal accepting unit 52 only when the terminal receiving unit 55 receives determination result information indicating a positive determination result from the server device 1, for example. If the determination result information indicating the acceptance or negative determination result is received, the settlement instruction need not be accepted.

このように、抑制処理は、サーバ装置1から否定的な判断結果を示す判断結果情報が受信された場合に、決済のための処理の実行が、結果として抑制されるような処理であれば、どのような処理でもよい。 In this way, if the suppression process is such that the execution of the process for payment is suppressed as a result when determination result information indicating a negative determination result is received from the server device 1, Any processing can be used.

端末送信部54は、端末受付部52が受け付けた各種の情報や各種の指示をサーバ装置1に送信する。端末送信部54は、受け付けられた各種の情報や各種の指示を、例えば、端末格納部51に格納されている端末識別子と対に、サーバ装置1に送信してもよい。 The terminal transmission unit 54 transmits various kinds of information and various instructions received by the terminal reception unit 52 to the server device 1 . The terminal transmission unit 54 may transmit the received various information and various instructions to the server device 1 in pairs with the terminal identifiers stored in the terminal storage unit 51, for example.

端末受信部55は、サーバ装置1から判断結果情報を受信する。また、端末受信部55は、例えば、店舗端末である出力装置3から店舗識別子を受信する。 The terminal reception unit 55 receives determination result information from the server device 1 . In addition, the terminal receiving unit 55 receives a store identifier from the output device 3, which is a store terminal, for example.

端末出力部56は、各種の情報を出力する。各種の情報とは、例えば、内蔵カメラで撮影された画像または当該画像から抽出された出力コード、警告、判断結果情報などである。 The terminal output unit 56 outputs various information. Various types of information are, for example, an image captured by a built-in camera or an output code extracted from the image, a warning, judgment result information, and the like.

端末出力部56は、例えば、端末受信部55がサーバ装置1から否定的な判断結果を示す判断結果情報を受信した場合に、端末格納部51に格納されている警告情報に基づく警告を出力する。 For example, when the terminal receiving unit 55 receives judgment result information indicating a negative judgment result from the server device 1, the terminal output unit 56 outputs a warning based on the warning information stored in the terminal storage unit 51. .

格納部11、生成コード格納部111、および端末格納部51は、例えば、ハードディスクやフラッシュメモリといった不揮発性の記録媒体が好適であるが、RAMなど揮発性の記録媒体でも実現可能である。 The storage unit 11, the generated code storage unit 111, and the terminal storage unit 51 are preferably non-volatile recording media such as hard disks and flash memories, but can also be realized by volatile recording media such as RAM.

なお、格納部11等に情報が記憶される過程は問わない。例えば、記録媒体を介して情報が格納部11等で記憶されるようになってもよく、ネットワークや通信回線等を介して送信された情報が格納部11等で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された情報が格納部11等で記憶されるようになってもよい。入力デバイスは、例えば、キーボード、マウス、タッチパネル等、何でもよい。 Note that the process of storing information in the storage unit 11 or the like does not matter. For example, information may be stored in the storage unit 11 or the like via a recording medium, or information transmitted via a network, a communication line, or the like may be stored in the storage unit 11 or the like. Alternatively, information input via an input device may be stored in the storage unit 11 or the like. Any input device such as a keyboard, mouse, touch panel, or the like may be used.

受付部12、および端末受付部52は、入力デバイスを含むと考えても、含まないと考えてもよい。受付部12等は、入力デバイスのドライバーソフトによって、または入力デバイスとそのドライバーソフトとで実現され得る。 The reception unit 12 and the terminal reception unit 52 may or may not include input devices. The reception unit 12 and the like can be realized by the driver software of the input device, or by the input device and its driver software.

受信部13、出力コード受信部131、生成コード受信部132、および端末受信部55は、通常、有線または無線の通信手段(例えば、NIC(Network interface controller)やモデム等の通信モジュール)で実現されるが、放送を受信する手段(例えば、放送受信モジュール)で実現されてもよい。 The receiving unit 13, the output code receiving unit 131, the generated code receiving unit 132, and the terminal receiving unit 55 are usually realized by wired or wireless communication means (for example, a communication module such as a NIC (Network interface controller) or a modem). However, it may be realized by a means for receiving broadcasts (for example, a broadcast reception module).

処理部14、判断部141、蓄積部143、および端末処理部53は、通常、MPUやメモリ等から実現され得る。処理部14等の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。ただし、処理手順は、ハードウェア(専用回路)で実現してもよい。 The processing unit 14, the determination unit 141, the storage unit 143, and the terminal processing unit 53 can usually be implemented by an MPU, memory, or the like. The processing procedure of the processing unit 14 and the like is normally realized by software, and the software is recorded in a recording medium such as a ROM. However, the processing procedure may be realized by hardware (dedicated circuit).

送信部15、判断結果送信部151、および端末送信部54は、通常、有線または無線の通信手段で実現されるが、放送手段(例えば、放送モジュール)で実現されてもよい。 The transmitting unit 15, the determination result transmitting unit 151, and the terminal transmitting unit 54 are usually implemented by wired or wireless communication means, but may be implemented by broadcasting means (for example, a broadcasting module).

端末出力部56は、ディスプレイやスピーカ等の出力デバイスを含むと考えても含まないと考えてもよい。端末出力部56は、出力デバイスのドライバーソフトによって、または出力デバイスとそのドライバーソフトとで実現され得る。 The terminal output unit 56 may or may not include an output device such as a display or speaker. The terminal output unit 56 can be realized by the driver software of the output device, or by the output device and its driver software.

次に、情報システムの動作について、図2~図4のフローチャートを用いて説明する。なお、図2~図4のフローチャートには、生成コードの元データから取得される値が生成コード格納部111に格納されており、撮影装置4から画像を有する出力コード情報が送信される場合の処理が示されている。 Next, the operation of the information system will be explained using the flow charts of FIGS. 2 to 4. FIG. In the flowcharts of FIGS. 2 to 4, values obtained from the original data of the generated code are stored in the generated code storage unit 111, and output code information having an image is transmitted from the imaging device 4. Processing is shown.

図2は、本実施の形態におけるサーバ装置1の動作を説明するフローチャートである。 FIG. 2 is a flow chart for explaining the operation of the server device 1 according to this embodiment.

(ステップS201)処理部14は、出力コード受信部131が出力コード情報を店舗識別子と対に受信したか否かを判別する。出力コード受信部131が出力コード情報を店舗識別子と対に受信したと判別されるとステップS202に進み、受信していないと判別されるとステップS207に進む。 (Step S201) The processing unit 14 determines whether or not the output code receiving unit 131 has received the output code information paired with the store identifier. If it is determined that the output code receiving unit 131 has received the output code information paired with the store identifier, the process proceeds to step S202, and if it is determined that the output code information has not been received, the process proceeds to step S207.

(ステップS202)抽出部142は、ステップS201で受信された出力コード情報が有する画像から出力コードを抽出する。 (Step S202) The extraction unit 142 extracts the output code from the image included in the output code information received in step S201.

(ステップS203)判断部141等は、ステップS202で抽出された出力コードが生成コードと一致するか否かを判断する判断処理を行う。なお、この判断処理については、図3のフローチャートを用いて説明する。 (Step S203) The determination unit 141 and the like perform determination processing for determining whether or not the output code extracted in step S202 matches the generated code. Note that this determination processing will be described with reference to the flowchart of FIG.

(ステップS204)処理部14は、ステップS203の判断結果が肯定的か否かを、後述する変数を用いて判別する。ステップS203の判断結果が肯定的である場合はステップS205に進み、否定的である場合はステップS206に進む。 (Step S204) The processing unit 14 determines whether or not the determination result of step S203 is affirmative using variables described later. If the determination result of step S203 is affirmative, the process proceeds to step S205, and if negative, the process proceeds to step S206.

(ステップS205)処理部14は、肯定的な判断結果を示す判断結果情報を、ステップS201で受信された店舗識別子に対応付けて格納部11に蓄積する。その後、ステップS201に戻る。 (Step S205) The processing unit 14 stores judgment result information indicating a positive judgment result in the storage unit 11 in association with the store identifier received in step S201. After that, the process returns to step S201.

(ステップS206)処理部14は、否定的な判断結果を示す判断結果情報を、ステップS201で受信された店舗識別子に対応付けて格納部11に蓄積する。その後、ステップS201に戻る。 (Step S206) The processing unit 14 stores judgment result information indicating a negative judgment result in the storage unit 11 in association with the store identifier received in step S201. After that, the process returns to step S201.

(ステップS207)処理部14は、生成コード受信部132が生成コード情報を店舗識別子と対に受信したか否かを判別する。生成コード受信部132が生成コード情報を店舗識別子と対に受信したと判別された場合はステップS208に進み、受信していないと判別された場合はステップS209に進む。 (Step S207) The processing unit 14 determines whether or not the generated code receiving unit 132 has received the generated code information paired with the store identifier. If it is determined that the generated code receiving unit 132 has received the generated code information paired with the store identifier, the process proceeds to step S208, and if it is determined that the generated code information has not been received, the process proceeds to step S209.

(ステップS208)蓄積部143は、ステップS207で店舗識別子と対に受信された生成コード情報を、当該店舗識別子に対応付けて生成コード格納部111に蓄積する。その後、ステップS201に戻る。 (Step S208) The storage unit 143 associates the generated code information received in step S207 with the store identifier in the generated code storage unit 111 in association with the store identifier. After that, the process returns to step S201.

(ステップS209)処理部14は、受信部13が問い合わせを受信したか否かを判別する。受信部13が問い合わせを受信したと判別された場合はステップS210に進み、受信していないと判別された場合はステップS201に戻る。 (Step S209) The processing unit 14 determines whether or not the receiving unit 13 has received an inquiry. If it is determined that the receiving unit 13 has received the inquiry, the process proceeds to step S210, and if it is determined that the inquiry has not been received, the process returns to step S201.

(ステップS210)処理部14は、ステップS209で受信された問い合わせが有する店舗識別子に対応する判断結果情報を、格納部11から取得する。 (Step S<b>210 ) The processing unit 14 acquires from the storage unit 11 determination result information corresponding to the store identifier included in the inquiry received in step S<b>209 .

(ステップS211)判断結果送信部151は、ステップS210で取得された判断結果情報を、ステップS209で受信された問い合わせが有するユーザ識別子で識別される端末装置5に送信する。なお、送信される判断結果情報は、ステップS210で取得された判断結果情報と同じでなくてもよい。例えば、処理部13が、ステップS210で取得した判断結果情報のフォーマットを、送信用のフォーマットに変換する処理を行い、判断結果送信部151は、変換後の判断結果情報を送信してもよい。その後、ステップS201に戻る。 (Step S211) The determination result transmitting unit 151 transmits the determination result information acquired in step S210 to the terminal device 5 identified by the user identifier included in the inquiry received in step S209. Note that the transmitted determination result information may not be the same as the determination result information acquired in step S210. For example, the processing unit 13 may convert the format of the determination result information acquired in step S210 into a format for transmission, and the determination result transmission unit 151 may transmit the converted determination result information. After that, the process returns to step S201.

なお、図2のフローチャートにおいて、サーバ装置1の電源オンやプログラムの起動に応じて処理が開始し、電源オフや処理終了の割り込みにより処理は終了する。ただし、処理の開始または終了のトリガは問わない。 In the flowchart of FIG. 2, the process starts when the power of the server device 1 is turned on or when the program is started, and the process ends when the power is turned off or an interruption to end the process occurs. However, the trigger for starting or ending processing does not matter.

図3は、ステップS203の判断処理を説明するフローチャートである。 FIG. 3 is a flowchart for explaining the judgment processing in step S203.

(ステップS301)処理部14は、生成コード格納部111に格納されている1以上の生成コード情報のうち、ステップS201で受信された店舗識別子に対応する格納コード情報を参照する。 (Step S301) The processing unit 14 refers to the stored code information corresponding to the store identifier received in step S201 among the one or more pieces of generated code information stored in the generated code storage unit 111 .

(ステップS302)処理部14は、ステップS301で参照した生成コード情報から値を取得する。 (Step S302) The processing unit 14 acquires a value from the generated code information referred to in step S301.

(ステップS303)処理部14は、ステップS302で取得した値から元データを取得する。 (Step S303) The processing unit 14 acquires original data from the values acquired in step S302.

(ステップS304)処理部14は、ステップS303で取得した元データから生成コードを生成する。 (Step S304) The processing unit 14 generates generated code from the original data acquired in step S303.

(ステップS305)判断部141は、ステップS202で抽出された出力コードが、ステップS304で再構成された生成コードと一致するか否かを判断する。出力コードが生成コードと一致すると判断された場合はステップS306に進み、一致しないと判断された場合はステップS307に進む。 (Step S305) The determination unit 141 determines whether or not the output code extracted in step S202 matches the generated code reconstructed in step S304. If it is determined that the output code matches the generated code, the process proceeds to step S306, and if it is determined that they do not match, the process proceeds to step S307.

(ステップS306)判断部141は、判断結果を示す変数に“肯定的”をセットする。その後、上位の処理にリターンする。 (Step S306) The determination unit 141 sets the variable indicating the determination result to "positive". After that, it returns to the upper processing.

(ステップS307)判断部141は、上記変数に“否定的”をセットする。その後、上位の処理にリターンする。 (Step S307) The determination unit 141 sets "negative" to the variable. After that, it returns to the upper processing.

図4は、本実施の形態における端末装置5の動作を説明するフローチャートである。ユーザの携帯端末である端末装置5の内蔵カメラが、出力装置30のディスプレイに向けられており、端末処理部53は、ディスプレイに表示されている出力コードを撮影している。 FIG. 4 is a flow chart for explaining the operation of the terminal device 5 according to this embodiment. A built-in camera of the terminal device 5, which is the user's portable terminal, is aimed at the display of the output device 30, and the terminal processing unit 53 captures the output code displayed on the display.

(ステップS401)端末処理部53は、撮影中の画像から出力コードを抽出したか否かを判別する。撮影中の画像から出力コードを抽出したと判別されるとステップS402に進み、抽出していないと判別されるとステップS401に戻る。 (Step S401) The terminal processing unit 53 determines whether or not the output code has been extracted from the image being captured. If it is determined that the output code has been extracted from the image being captured, the process proceeds to step S402, and if it is determined that the output code has not been extracted, the process returns to step S401.

(ステップS402)端末処理部53は、端末受信部55が店舗識別子を受信したか否かを判別する。端末受信部55が店舗識別子を受信したと判別されるとステップS403に進み、受信していないと判別されるとステップS401に戻る。 (Step S402) The terminal processing unit 53 determines whether or not the terminal receiving unit 55 has received the store identifier. If it is determined that the terminal receiver 55 has received the store identifier, the process proceeds to step S403, and if it is determined that the terminal receiver 55 has not received the shop identifier, the process returns to step S401.

(ステップS403)端末送信部54は、ステップS402で受信した店舗識別子と、端末格納部51に格納されているユーザ識別子とを有する問い合わせをサーバ装置1に送信する。 (Step S<b>403 ) The terminal transmission unit 54 transmits to the server device 1 an inquiry having the store identifier received in step S<b>402 and the user identifier stored in the terminal storage unit 51 .

(ステップS404)端末処理部53は、端末受信部55が判断結果情報を受信したか否かを判別する。端末受信部55が判断結果情報を受信したと判別されるとステップS405に進み、受信していないと判別されるとステップS404に戻る。 (Step S404) The terminal processing unit 53 determines whether or not the terminal receiving unit 55 has received the determination result information. If it is determined that the terminal receiving section 55 has received the determination result information, the process proceeds to step S405, and if it is determined that the terminal receiving section 55 has not received the determination result information, the process returns to step S404.

(ステップS405)端末処理部53は、ステップS404で受信された判断結果情報が否定的な判断結果を示すか否かを判別する。受信された判断結果情報が、否定的な判断結果を示すと判別された場合はステップS406に進み、肯定的な判断結果を示すと判別された場合はステップS407に進む。 (Step S405) The terminal processing unit 53 determines whether or not the determination result information received in step S404 indicates a negative determination result. If it is determined that the received determination result information indicates a negative determination result, the process proceeds to step S406, and if it is determined that the received determination result information indicates a positive determination result, the process proceeds to step S407.

(ステップS406)端末出力部56は、コードが差し替えられている可能性についての警告を出力する。 (Step S406) The terminal output unit 56 outputs a warning about the possibility that the code has been replaced.

(ステップS407)端末処理部53は、端末受付部52が決済指示を受け付けたか否かを判別する。端末受付部52が決済指示を受け付けたと判別された場合はステップS408に進み、受け付けていないと判別された場合はステップS409に進む。 (Step S407) The terminal processing unit 53 determines whether or not the terminal accepting unit 52 has accepted a settlement instruction. If it is determined that the terminal reception unit 52 has received the payment instruction, the process proceeds to step S408, and if it is determined that the payment instruction has not been received, the process proceeds to step S409.

(ステップS408)端末処理部53は、ステップS401で抽出した出力コードを用いて決済のための処理を実行する。その後、ステップS401に戻る。 (Step S408) The terminal processing unit 53 executes processing for payment using the output code extracted in step S401. After that, the process returns to step S401.

(ステップS409)端末処理部53は、端末受付部52がキャンセル指示を受け付けたか否かを判別する。端末受付部52がキャンセル指示を受け付けたと判別された場合はステップS401に戻り、受け付けていないと判別された場合はステップS407に戻る。 (Step S409) The terminal processing unit 53 determines whether or not the terminal accepting unit 52 has accepted a cancel instruction. If it is determined that the terminal reception unit 52 has received the cancellation instruction, the process returns to step S401, and if it is determined that the cancellation instruction has not been received, the process returns to step S407.

なお、図4のフローチャートにおいて、端末装置5の電源オンやプログラムの起動に応じて処理が開始し、電源オフや処理終了の割り込みにより処理は終了する。ただし、処理の開始または終了のトリガは問わない。 In the flowchart of FIG. 4, the process starts when the power of the terminal device 5 is turned on or when the program is started, and ends when the power is turned off or an interrupt to end the process is detected. However, the trigger for starting or ending processing does not matter.

以下、本実施の形態における情報システムの具体的な動作例について説明する。なお、以下の説明は、種々の変更が可能であり、本発明の範囲を何ら制限するものではない。 A specific operation example of the information system according to the present embodiment will be described below. Various modifications are possible in the following description, and the scope of the present invention is not limited in any way.

本例における情報システムは、サーバ装置1、コード生成サーバ2、2以上の出力装置3、2以上の撮影装置4、および2以上の端末装置5を備える。 The information system in this example includes a server device 1 , a code generation server 2 , two or more output devices 3 , two or more photographing devices 4 , and two or more terminal devices 5 .

2以上の出力装置3のうち1つ(以下、出力装置3X)は、店舗Xのレジ端末であり、当該レジ端末が有するディスプレイに、店舗X用のコードを表示する。2以上の出力装置3のうち他の1つ(以下、出力装置3Y)は、店舗Yの店員の携帯端末であり、当該携帯端末が有するディスプレイに、店舗Y用のコードを表示する。 One of the two or more output devices 3 (hereinafter referred to as output device 3X) is a cashier terminal of store X, and displays a code for store X on the display of the cashier terminal. Another one of the two or more output devices 3 (output device 3Y hereinafter) is a mobile terminal of a store clerk at store Y, and displays a code for store Y on the display of the mobile terminal.

なお、出力装置3Xからは、店舗識別子“X”が、出力装置3Yからは、店舗識別子“Y”が、それぞれ定期的に送信されている。 The store identifier "X" is periodically transmitted from the output device 3X, and the store identifier "Y" is periodically transmitted from the output device 3Y.

2以上の撮影装置4のうち1つ(以下、撮影装置4X)は、店舗Xの監視カメラであり、店舗Xのレジ端末である出力装置3Xのディスプレイに表示されているコードを定期的に撮影している。 One of the two or more photographing devices 4 (hereinafter referred to as photographing device 4X) is a surveillance camera of store X, and periodically photographs a code displayed on the display of output device 3X, which is a cash register terminal of store X. are doing.

2以上の撮影装置4のうち他の1つ(以下、撮影装置4Y)は、店舗Yの店員の携帯端末であり、同じく店舗Yの店員の携帯端末である出力装置3Yのディスプレイに表示されているコードを定期的に撮影している。つまり、出力装置3Yと撮影装置4Yとは、店舗Yの店員が保有する一の携帯端末で実現され、この携帯端末は、当該携帯端末自身のディスプレイに表示されている画面であり、コードを含む画面を、仮想カメラで定期的に撮影している。 The other one of the two or more photographing devices 4 (hereinafter referred to as photographing device 4Y) is a mobile terminal of a store clerk at store Y, and is displayed on the display of output device 3Y, which is also a mobile terminal of a store Y store clerk. I regularly shoot the code that I have. In other words, the output device 3Y and the photographing device 4Y are implemented by a single mobile terminal owned by the store clerk of the store Y, and this mobile terminal is a screen displayed on the display of the mobile terminal itself and includes a code. The screen is periodically captured by a virtual camera.

2以上の端末装置5のうち、1つ(以下、端末装置5A)は、ユーザAの携帯端末であり、他の1つ(以下、端末装置5B)は、ユーザBの携帯端末である。 Of the two or more terminal devices 5, one (hereinafter referred to as terminal device 5A) is user A's mobile terminal, and the other (hereinafter referred to as terminal device 5B) is user B's mobile terminal.

格納部11には、例えば、画面構成情報が格納される。画面構成情報とは、画面を構成するための情報である。画面構成情報は、例えば、1または2以上のオブジェクト、およびレイアウト情報などを有する。オブジェクトとは、画面を構成する要素である。オブジェクトは、例えば、画像である。画像は、例えば、ボタンの画像である。ボタンは、例えば、決済指示を入力するための“決済する”ボタンである。または、オブジェクトは、文字列でもよい。文字列は、例えば、警告文である。レイアウト情報とは、画面内における1以上のオブジェクトの配置を示す情報である。レイアウト情報は、例えば、1以上の各オブジェクトの画面内における位置を示す情報(例えば、座標)の集合であるが、そのデータ構造は問わない。 The storage unit 11 stores, for example, screen configuration information. Screen configuration information is information for configuring a screen. Screen configuration information includes, for example, one or more objects, layout information, and the like. An object is an element that configures a screen. An object is, for example, an image. The image is, for example, an image of a button. The button is, for example, a "settlement" button for inputting a settlement instruction. Alternatively, the object can be a string. A character string is, for example, a warning message. Layout information is information indicating the arrangement of one or more objects within the screen. The layout information is, for example, a set of information (for example, coordinates) indicating the positions of one or more objects within the screen, but the data structure of the information does not matter.

格納部11には、例えば、図5に示すような、店舗識別子と生成コード情報との対の集合が格納されている。店舗識別子と生成コード情報の対とは、例えば、店舗識別子“X”と生成コード情報“aaaa”との対、店舗識別子“Y”と生成コード情報“bbbb”との対などである。 The storage unit 11 stores, for example, a set of pairs of shop identifiers and generated code information as shown in FIG. The pair of store identifier and generated code information is, for example, a pair of store identifier “X” and generated code information “aaaa”, a pair of store identifier “Y” and generated code information “bbbb”, and the like.

生成コード情報“aaaa”は、コード生成サーバ2が店舗X用に生成したコードの元データからハッシュ関数で計算されたハッシュ値である。生成コード情報“bbbb”は、コード生成サーバ2が店舗Y用に生成したコードの元データからハッシュ関数で計算されたハッシュ値である。従って、生成コード情報“aaaa”および生成コード情報“bbbb”は、いずれも正規の生成コード情報である。 The generated code information “aaaa” is a hash value calculated from the original data of the code generated for the store X by the code generation server 2 using a hash function. The generated code information “bbbb” is a hash value calculated from the original data of the code generated for the store Y by the code generation server 2 using a hash function. Therefore, the generated code information "aaaa" and the generated code information "bbbb" are both normal generated code information.

端末装置5Aの端末格納部51には、ユーザ識別子“A”が、端末装置5Bの端末格納部51には、ユーザ識別子“B”が、それぞれ格納されている。 A user identifier "A" is stored in the terminal storage section 51 of the terminal device 5A, and a user identifier "B" is stored in the terminal storage section 51 of the terminal device 5B.

店舗Xにおいて、レジ端末である出力装置3Xのディスプレイに、コードが表示されており、監視カメラである撮影装置4Xは、ディスプレイに表示されているコードを定期的に撮影している。撮影装置4Xは、コードを撮影する度に、撮影した画像を有する出力コード情報を、店舗識別子“X”と対にサーバ装置1に送信する。 At store X, a code is displayed on the display of output device 3X, which is a cash register terminal, and photographing device 4X, which is a surveillance camera, regularly photographs the code displayed on the display. The photographing device 4X transmits the output code information including the photographed image to the server device 1 together with the store identifier “X” each time the photographing device 4X photographs the code.

サーバ装置1において、出力コード受信部131が上記出力コード情報を店舗識別子“X”と対に受信し、抽出部142は、受信された出力コード情報が有する画像から出力コードを抽出する。 In the server device 1, the output code receiving section 131 receives the output code information paired with the shop identifier "X", and the extracting section 142 extracts the output code from the image included in the received output code information.

処理部14は、生成コード格納部111に格納されている2以上の生成コード情報のうち、受信された店舗識別子“X”に対応する生成コード情報を参照する。そして、当該生成コード情報からハッシュ値“aaaa”を取得し、取得したハッシュ値からハッシュ関数を用いて元データを算出し、算出した元データからコードを生成する。 The processing unit 14 refers to the generated code information corresponding to the received store identifier “X” among the two or more pieces of generated code information stored in the generated code storage unit 111 . Then, a hash value "aaaa" is obtained from the generated code information, original data is calculated using a hash function from the obtained hash value, and a code is generated from the calculated original data.

判断部141は、画像から抽出された出力コードが、生成コード情報を基に生成された生成コードと一致するか否かを判断する。ここでは、出力コードが生成コードと一致すると判断され、処理部14は、肯定的な判断結果を示す判断結果情報を、店舗識別子“X”に対応付けて格納部11に蓄積する。 The determination unit 141 determines whether or not the output code extracted from the image matches the generated code generated based on the generated code information. Here, it is determined that the output code matches the generated code, and the processing unit 14 stores determination result information indicating a positive determination result in the storage unit 11 in association with the store identifier “X”.

なお、店舗Yについても、上記と同様の処理が行われ、肯定的な判断結果を示す判断結果情報が、店舗識別子“Y”に対応付けて格納部11に蓄積される。 For store Y, the same process as described above is performed, and determination result information indicating a positive determination result is stored in the storage unit 11 in association with the store identifier "Y".

ユーザAは、店舗Xで買い物をし、コードを用いて決済を行おうとしている。ユーザAは、自分の携帯端末である端末装置5Aの内蔵カメラを出力装置3Xのディスプレイに向け、表示されているコードを撮影する。 User A is shopping at store X and is about to make a payment using a code. The user A directs the built-in camera of the terminal device 5A, which is his mobile terminal, toward the display of the output device 3X, and photographs the displayed code.

端末装置5Aにおいて、端末処理部53が、撮影中の画像からコードを抽出し、さらに、端末受信部55が、出力装置3Xから店舗識別子“X”を受信すると、端末送信部54は、受信した店舗識別子“X”と、端末格納部51に格納されているユーザ識別子“A”とを有する問い合わせを、サーバ装置1に送信する。 In the terminal device 5A, when the terminal processing unit 53 extracts the code from the image being captured and the terminal receiving unit 55 receives the store identifier “X” from the output device 3X, the terminal transmitting unit 54 receives An inquiry having a store identifier “X” and a user identifier “A” stored in the terminal storage unit 51 is transmitted to the server device 1 .

サーバ装置1において、受信部13が上記問い合わせを受信し、処理部14は、受信された問い合わせが有する店舗識別子“X”に対応する判断結果情報を格納部11から取得する。判断結果送信部151は、取得された判断結果情報を、受信された問い合わせが有するユーザ識別子“A”で識別される端末装置5Aに送信する。 In the server device 1 , the receiving section 13 receives the inquiry, and the processing section 14 acquires from the storage section 11 the determination result information corresponding to the store identifier “X” included in the received inquiry. The determination result transmitting unit 151 transmits the acquired determination result information to the terminal device 5A identified by the user identifier "A" included in the received inquiry.

端末装置5Aにおいて、端末受信部55が上記判断結果情報を受信し、端末処理部53は、受信された判断結果情報が肯定的な判断結果を示すことから、決済指示を行うための“決済する”ボタンを有する画面を構成する。端末出力部56は、構成された画面を、ディスプレイを介して出力する。 In the terminal device 5A, the terminal receiving unit 55 receives the determination result information, and the terminal processing unit 53 receives the determination result information indicating a positive determination result. Construct a screen with a " button. The terminal output unit 56 outputs the configured screen through the display.

これにより、端末装置5Aのディスプレイには、例えば、図6に示すような、“決済する”ボタンを有する画面が表示される。ユーザAが“決済する”ボタンを押下すると、端末受付部52は、決済指示を受け付け、端末処理部53は、抽出した出力コードを用いて決済のための処理を実行する。 As a result, a screen having a "settlement" button as shown in FIG. 6, for example, is displayed on the display of the terminal device 5A. When the user A presses the "settlement" button, the terminal accepting unit 52 accepts the settlement instruction, and the terminal processing unit 53 uses the extracted output code to execute processing for settlement.

なお、生成コード情報が不正なコードに差し替えられた場合の動作は、以下のようになる。例えば、店舗Yの出力装置3Yから出力される出力コードが、第三者によって不正なコードに差し替えられたとすると、店舗Yにおいて、店員の携帯端末である出力装置3Yのディスプレイには、それまで表示されていた正規のコードに代えて、不正なコードが表示される。 The operation when the generated code information is replaced with an invalid code is as follows. For example, if the output code output from the output device 3Y of the store Y is replaced with an illegal code by a third party, at the store Y, the display of the output device 3Y, which is the clerk's mobile terminal, will not display until then. An unauthorized code is displayed instead of the legitimate code that was displayed.

同じ店員の携帯端末である撮影装置4Yは、不正なコードを含む画面のキャプチャ画像取得し、取得したキャプチャ画像を有する出力コード情報を、店舗識別子“Y”と対にサーバ装置1に送信する。 The photographing device 4Y, which is the mobile terminal of the same store clerk, acquires the captured image of the screen containing the unauthorized code, and transmits the output code information including the acquired captured image to the server device 1 together with the store identifier "Y".

サーバ装置1において、出力コード受信部131が上記出力コード情報を店舗識別子“Y”と対に受信し、抽出部142は、受信された出力コード情報が有するキャプチャ画像から出力コードを抽出する。処理部14は、受信された店舗識別子“Y”に対応する生成コード情報を参照して、当該生成コード情報からハッシュ値“bbbb”を取得し、取得したハッシュ値からハッシュ関数を用いて元データを算出し、算出した元データから生成コードを生成する。 In the server device 1, the output code receiving section 131 receives the output code information paired with the shop identifier "Y", and the extracting section 142 extracts the output code from the captured image included in the received output code information. The processing unit 14 refers to the generated code information corresponding to the received store identifier “Y”, acquires the hash value “bbbb” from the generated code information, and extracts the original data from the acquired hash value using the hash function. is calculated, and generated code is generated from the calculated original data.

ここでは、判断部141によって、出力コードが生成コードと一致しないと判断され、処理部14は、否定的な判断結果を示す判断結果情報を、店舗識別子“Y”に対応付けて格納部11に蓄積する。 Here, the determination unit 141 determines that the output code does not match the generated code, and the processing unit 14 associates determination result information indicating a negative determination result with the shop identifier “Y” and stores it in the storage unit 11. accumulate.

ユーザBは、店舗Yで買い物をした後、自分の携帯端末である端末装置5Bの内蔵カメラを、店員の携帯端末である出力装置3Yのディスプレイに向け、表示されているコードを撮影する。 After shopping at the store Y, the user B directs the built-in camera of the terminal device 5B, which is his mobile terminal, to the display of the output device 3Y, which is the clerk's mobile terminal, and photographs the displayed code.

端末装置5Bにおいて、端末処理部53が撮影中の画像からコードを抽出し、端末受信部55が出力装置3Yから店舗識別子“Y”を受信すると、端末送信部54は、受信された店舗識別子“Y”と、端末格納部51のユーザ識別子“B”とを有する問い合わせをサーバ装置1に送信する。 In the terminal device 5B, when the terminal processing unit 53 extracts the code from the image being captured and the terminal receiving unit 55 receives the store identifier “Y” from the output device 3Y, the terminal transmitting unit 54 transmits the received store identifier “ Y” and the user identifier “B” of the terminal storage unit 51 is transmitted to the server device 1 .

サーバ装置1において、受信部13が上記問い合わせを受信し、処理部14は、当該問い合わせが有する店舗識別子“Y”に対応する判断結果情報を取得し、判断結果送信部151は、取得された判断結果情報を、当該問い合わせが有するユーザ識別子“B”で識別される端末装置5Bに送信する。 In the server device 1, the receiving unit 13 receives the inquiry, the processing unit 14 acquires judgment result information corresponding to the store identifier “Y” included in the inquiry, and the judgment result transmission unit 151 transmits the acquired judgment The result information is transmitted to the terminal device 5B identified by the user identifier "B" included in the inquiry.

端末装置5Bにおいて、端末受信部55が上記判断結果情報を受信し、端末処理部53は、当該判断結果情報が否定的な判断結果を示すことから、コードが差し替えられている可能性についての警告を有する画面を構成する。端末出力部56は、構成された画面を、ディスプレイを介して出力する。 In the terminal device 5B, the terminal receiving unit 55 receives the determination result information, and the terminal processing unit 53 issues a warning about the possibility that the code has been replaced because the determination result information indicates a negative determination result. Configure a screen with The terminal output unit 56 outputs the configured screen through the display.

これにより、端末装置5Bのディスプレイには、例えば、図7に示すような、警告文“QRコードが不正なコードに差し替えられた可能性があります。別の方法で決済を行って下さい”を有する画面が表示される。例えば、ユーザBがホームボタンの押下を行うと、キャンセル操作が受け付けられ、コードを用いた決済はキャンセルされる。 As a result, the display of the terminal device 5B has, for example, a warning message "The QR code may have been replaced with an unauthorized code. Please make a payment using another method" as shown in FIG. A screen appears. For example, when user B presses the home button, a cancel operation is accepted and the payment using the code is cancelled.

(変形例1) (Modification 1)

実施の形態では、生成コード格納部111に格納されている格納コード情報は、正規のコードに関する情報であり、不正なコードに差し替えられることはなかったが、本変形例1では、格納コード情報も、不正なコードに関する情報に差し替えられる可能性がある。 In the embodiment, the stored code information stored in the generated code storage unit 111 is information related to legitimate code and is not replaced with unauthorized code. , may be replaced with information about malicious code.

本変形例1において、生成コード格納部111は、図示しない3以上の格納手段を含む。なお、3以上の格納手段は、例えば、3以上の記録媒体で実現されることは好適であるが、1つまたは2つの記録媒体で実現されてもよい。 In Modification 1, the generated code storage unit 111 includes three or more storage means (not shown). It should be noted that the three or more storage units are preferably realized by, for example, three or more recording media, but may be realized by one or two recording media.

生成コード格納部111を構成する3以上の格納手段には、一の生成コードに対応する3以上の生成コード情報が格納される。3以上の格納手段には、2以上の各店舗識別子ごとに、生成コードに対応する3以上の生成コード情報が格納されてもよい。例えば、コード生成サーバ2によって、一の店舗識別子に対応するコードが生成されると、処理部14は、生成されたコードに関する3以上の格納コード情報を構成し、当該端末識別子に対応付けて3以上の格納手段に蓄積する。なお、以下では、生成コード情報は、生成コードであるとする。 Three or more storage means constituting the generated code storage unit 111 store three or more pieces of generated code information corresponding to one generated code. The three or more storage means may store three or more pieces of generated code information corresponding to the generated code for each of the two or more store identifiers. For example, when a code corresponding to one store identifier is generated by the code generation server 2, the processing unit 14 configures three or more pieces of stored code information related to the generated code, associates the terminal identifier with three store code information, It accumulates in the storage means described above. In the following, it is assumed that the generated code information is generated code.

一の店舗識別子に対応付けて3以上の格納手段に格納されている3以上の生成コード情報は、通常、どれも正規のコードに関する情報であるが、そのうち1つ又は2つ以上が、第三者によって不正なコードに差し替えられる可能性がある。 The three or more pieces of generated code information stored in the three or more storage means in association with one store identifier are usually all information related to legitimate codes, but one or more of them are third party identifiers. There is a possibility that it will be replaced with an illegal code by an unauthorized person.

変形例1において、生成コード格納部111を構成する格納手段の数は、通常、3である。格納手段の数が2であると、一の格納コード情報が差し替えられた場合に、2つの格納コード情報のどちらが真のコードか判断することは容易でない。これに対して、格納手段の数が3であれば、一の格納コード情報が差し替えられても、他の2つの格納コード情報が同じであることから、これら2つの格納コード情報が最多数(過半数といってもよい)であり、真のコードであることを容易に判断にできる。 In Modified Example 1, the number of storage units constituting the generated code storage unit 111 is normally three. If the number of storage means is two, it is not easy to determine which of the two pieces of stored code information is the true code when one piece of stored code information is replaced. On the other hand, if the number of storage means is three, even if one stored code information is replaced, the other two stored code information are the same. can be said to be the majority), and it can be easily judged that it is a true code.

ただし、格納手段の数は、4以上でもよい。その場合でも、格納手段の数は、奇数(例えば、5、7等)であることは好適である。格納手段の数が2m(例えば、m=2)であると、m個の格納コード情報が同じ不正なコード情報に差し替えられた場合に、差し替えられていないm個の格納コード情報の組と、差し替えられたm個のコード情報の組のどちらが真のコードの組かを判断することは困難となる。これに対して、格納手段の数が2m+1であれば、m個の格納コードの格納コード情報が差し替えられた場合に、残りのm+1個の格納コード情報が同じであることから、これらm+1の格納コード情報が最多数であり、真のコードであることを容易に判断にできる。 However, the number of storage means may be four or more. Even then, the number of storage means is preferably an odd number (eg, 5, 7, etc.). If the number of storage means is 2m (for example, m=2), and m pieces of stored code information are replaced with the same illegal code information, a set of m pieces of stored code information that have not been replaced; It becomes difficult to determine which of the replaced sets of m pieces of code information is the true code set. On the other hand, if the number of storage means is 2m+1, when the stored code information of m stored codes is replaced, the remaining m+1 stored code information is the same. It has the largest number of code information and can be easily determined to be a true code.

なお、例えば、格納手段の数が3m(例えば、m=2)である場合、m個の格納コード情報が同じ第一の不正なコード情報に差し替えられ、他のm個の格納コード情報が同じ第二の不正なコード情報に差し替えられた場合に、差し替えられていないm個の格納コード情報の組と、第一の不正なコード情報に差し替えられたm個のコード情報の組と、第二の不正なコード情報に差し替えられたm個のコード情報の組とは、それを構成する格納コード情報の数が同数なので、最多数の格納コードである最多数格納コードは一意に決まらず、どの組の格納コード情報が真のコードかを判断することは困難となる。 For example, when the number of storage means is 3m (for example, m=2), m stored code information is replaced with the same first illegal code information, and the other m stored code information is replaced with the same first illegal code information. When replaced with the second incorrect code information, a set of m pieces of stored code information that have not been replaced, a set of m pieces of code information that have been replaced with the first incorrect code information, and a second Since the set of m pieces of code information replaced with the incorrect code information in the above has the same number of pieces of stored code information that constitute it, the largest number of stored codes, which is the largest number of stored codes, cannot be uniquely determined. It becomes difficult to determine whether the set of stored code information is a true code.

これに対して、格納手段の数が3m+1であれば、m個の格納手段の格納コード情報が同じ第一の不正なコード情報に差し替えられ、他のm個の格納手段の格納コード情報が同じ第二の不正なコード情報に差し替えられた場合に、その他のm+1個の格納コード情報が最多数であることから、最多数格納コードが一意に決まり、真のコードを容易に判断にできる。 On the other hand, if the number of storage means is 3m+1, the stored code information of m storage means is replaced with the same first illegal code information, and the stored code information of other m storage means is the same. When replaced with the second incorrect code information, since the other m+1 stored code information is the largest number, the largest number of stored codes is uniquely determined, and the true code can be easily determined.

このように、格納手段の数が3以上の奇数であれば、2以上の偶数の場合と比べ、最多数格納コードが一意に決まる可能性が高まり、真のコードを容易に判断にできる。 In this way, if the number of storage means is an odd number of 3 or more, compared to the case of an even number of 2 or more, the probability that the most stored code is uniquely determined increases, and the true code can be easily determined.

判断部141を構成する第一判断手段は、3以上の格納手段に格納されている3以上の格納コード情報を用いて、3以上の格納コード情報に対応する3以上の格納コードの中に、一致する2以上の格納コードの組が1組以上存在するか否かを判断する。 The first determination means constituting the determination unit 141 uses the three or more stored code information stored in the three or more storage means, and among the three or more stored codes corresponding to the three or more stored code information, It is determined whether there is one or more sets of two or more matching stored codes.

第二判断手段は、第一判断手段が3以上の格納コードの中に、上記のような組が1組以上存在すると判断した場合に、一の組を構成する格納コードであり、他のどの組を構成する格納コードよりも数が多い格納コードである最多数格納コードが唯一つ存在するか否かを判断する。 If the first determination means determines that one or more of the above-described sets exist among the three or more stored codes, the second determination means determines which of the stored codes constitutes one set, and which other set. It is determined whether or not there is only one stored code having the largest number of stored codes, which is more stored codes than the stored codes forming the set.

決定手段は、第二判断手段が最多数格納コードが唯一つ存在すると判断した場合に、最多数格納コードを生成コードに決定する。 The determining means determines the most stored code to be the generated code when the second determining means determines that there is only one most stored code.

第三判断手段は、決定手段が決定した生成コードと、出力コード受信部131が受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する。 The third determining means determines whether or not the output code matches the generated code using the generated code determined by the determining means and the output code information received by the output code receiving section 131 .

例えば、3つの生成コード情報が格納され、それらに対応する3つの格納コードの中に、一致する2以上の格納コードの組が存在する場合は、当該組を構成する格納コードが、最も数が多い格納コードであるため、生成コードに決定される。
(2n+1)個の生成コード情報が格納され、対応する(2n+1)個の格納コードの中に、一致する2以上の格納コードの組が1組だけ存在する場合は、当該組を構成する格納コードが、最も数が多い格納コードであるため、生成コードに決定される。
対応する(2n+1)個の格納コードの中に、一致する2以上の格納コードの組が2組~n組存在する場合は、一の組を構成する格納コードであり、他のどの組を構成する格納コードよりも数が多い最多数格納コードが、生成コードに決定される。なお、2以上の組の間で、格納コードの数が同数の場合は、その数が最多でも、最多数格納コードは存在しないと判断される。
For example, when three pieces of generated code information are stored and there is a set of two or more matching stored codes among the three stored codes corresponding to them, the stored code that constitutes the set has the largest number of stored codes. Since it is a large amount of stored code, it is determined to be the generated code.
(2n+1) pieces of generated code information are stored, and if there is only one set of two or more matching stored codes among the corresponding (2n+1) stored codes, the stored codes that make up that set is the stored code with the largest number, so it is determined to be the generated code.
If there are 2 to n sets of two or more matching stored codes among the corresponding (2n+1) stored codes, then the stored code constitutes one set and any other set. The stored code with the largest number of stored codes, which is larger in number than the stored codes to be generated, is determined to be the generated code. If two or more pairs have the same number of stored codes, it is determined that the largest number of stored codes does not exist even if the number of stored codes is the largest.

判断結果送信部151は、例えば、第一判断手段が上記組が存在しないと判断した場合、または第二判断手段が最多数格納コードが存在しないと判断した場合、または第三判断手段が出力コードが生成コードと一致しないと判断した場合に、コードが差し替えられている可能性についての警告を有する判断結果情報を送信する。 For example, when the first determining means determines that the above set does not exist, or when the second determining means determines that the largest number of stored codes do not exist, or when the third determining means determines that the output code does not match the generated code, it sends determination result information with a warning about the possibility that the code has been replaced.

また、判断結果送信部151は、例えば、第三判断手段が出力コードが生成コードと一致すると判断した場合に、出力コードを用いて決済のための処理を行うことを許容する情報を送信してもよい。 Further, for example, when the third determining means determines that the output code matches the generated code, the determination result transmitting unit 151 transmits information permitting processing for settlement using the output code. good too.

本変形例1における情報システムの動作は、ステップS203の判断処理、およびステップS208の蓄積処理を除いて、実施の形態と同様である。 The operation of the information system in Modification 1 is the same as that of the embodiment except for the judgment processing in step S203 and the accumulation processing in step S208.

ステップS208では、受信された生成コード情報と同じ3以上の生成コード情報を構成し、店舗識別子に対応付けて3以上の格納手段に蓄積する。 In step S208, three or more pieces of generated code information that are the same as the received generated code information are configured and stored in three or more storage means in association with the shop identifier.

図8は、本変形例1におけるステップS203の判断処理を説明するフローチャートである。 FIG. 8 is a flowchart for explaining the judgment processing in step S203 in the first modification.

(ステップS801)処理部14は、生成コード格納部111を構成する3以上の格納手段から、ステップS201で受信された店舗識別子に対応する3以上の格納コード情報を取得する。 (Step S801) The processing unit 14 acquires three or more pieces of stored code information corresponding to the shop identifier received in step S201 from three or more storage means that constitute the generated code storage unit 111. FIG.

(ステップS802)判断部141を構成する第一判断手段は、3以上の格納手段に格納されている3以上の格納コード情報を用いて、3以上の格納コード情報に対応する3以上の格納コードの中に、一致する2以上の格納コードの組が1組以上存在するか否かを判断する。一致する2以上の格納コードの組が、1組以上存在すると判断された場合はステップS803に進み、1組も存在しないと判断された場合はステップS807に進む。 (Step S802) The first determination means constituting the determination unit 141 uses the three or more stored code information stored in the three or more storage means to store three or more stored code information corresponding to the three or more stored code information. , it is determined whether or not there is one or more sets of two or more matching stored codes. If it is determined that there is at least one matching set of two or more stored codes, the process advances to step S803, and if it is determined that there is not even one set, the process advances to step S807.

(ステップS803)第二判断手段は、上記1以上の組のうち、一の組を構成する格納コードであり、他のどの組を構成する格納コードよりも数が多い格納コードである最多数格納コードが唯一つ存在するか否かを判断する。最多数格納コードが、唯一つ存在すると判断された場合はステップS804に進み、2つ以上存在すると判断された場合はステップS807に進む。 (Step S803) The second determination means is the stored code that constitutes one of the above one or more sets, and is the stored code that is greater in number than the stored codes that constitute any of the other sets. Determine if the code is unique. If it is determined that there is only one maximum number of stored codes, the process proceeds to step S804, and if it is determined that there are two or more, the process proceeds to step S807.

(ステップS804)決定手段は、ステップS804で唯一つ存在すると判断された最多数格納コードを生成コードに決定する。 (Step S804) The determining means determines the code stored in the largest number determined to exist alone in step S804 to be the generated code.

(ステップS805)第三判断手段は、ステップS202で抽出された出力コードが、ステップS804で決定された生成コードと一致するか否かを判断する。出力コードが生成コードと一致すると判断された場合はステップS806に進み、一致しないと判断された場合はステップS807に進む。 (Step S805) The third determination means determines whether or not the output code extracted in step S202 matches the generated code determined in step S804. If it is determined that the output code matches the generated code, the process proceeds to step S806, and if it is determined that they do not match, the process proceeds to step S807.

(ステップS806)第三判断手段は、判断結果を示す変数に“肯定的”をセットする。その後、上位の処理にリターンする。 (Step S806) The third judging means sets "positive" to the variable indicating the judgment result. After that, it returns to the upper processing.

(ステップS807)第三判断手段は、上記変数に“否定的”をセットする。その後、上位の処理にリターンする。 (Step S807) The third determination means sets "negative" to the variable. After that, it returns to the upper processing.

(変形例2) (Modification 2)

実施の形態では、出力装置3は、店舗端末(例えば、レジ端末または店員の携帯端末)であり、端末装置5は、ユーザ端末(例えば、ユーザの携帯端末)であったが、本変形例2では、例えば、ユーザの携帯端末が出力装置3であり、レジ端末または店員の携帯端末が端末装置5である。 In the embodiment, the output device 3 is a store terminal (for example, a cash register terminal or a clerk's mobile terminal), and the terminal device 5 is a user terminal (for example, a user's mobile terminal). Then, for example, the user's portable terminal is the output device 3, and the cash register terminal or the clerk's portable terminal is the terminal device 5. FIG.

従って、本変形例2において、装置識別子は、ユーザ識別子であり、端末識別子は、店舗識別子である。表示器は、例えば、ユーザの携帯端末が有するディスプレイであり、撮影装置4は、例えば、レジ端末が有するスキャナ、または店員の携帯端末が有する内蔵カメラなどである。生成コードは、ユーザの携帯端末が有するディスプレイに表示され、レジ端末が有するスキャナ、または店員の携帯端末が有する内蔵カメラで撮影される。そして、撮影された画像を有する出力コード情報が、サーバ装置1に送信される。なお、サーバ装置1の動作は、実施の形態と同様である。 Therefore, in Modification 2, the device identifier is the user identifier, and the terminal identifier is the store identifier. The display is, for example, a display of a user's mobile terminal, and the imaging device 4 is, for example, a scanner of a cash register terminal or a built-in camera of a store clerk's mobile terminal. The generated code is displayed on the display of the mobile terminal of the user and captured by the scanner of the cash register terminal or the built-in camera of the mobile terminal of the clerk. Output code information having the captured image is then sent to the server device 1 . Note that the operation of the server device 1 is the same as that of the embodiment.

サーバ装置1から送信された判断結果情報が、レジ端末または店員の携帯端末によって受信され、レジ端末または店員の携帯端末は、受信した判断結果情報が否定的な判断結果を示す場合に、抑制処理を行う。 The judgment result information transmitted from the server device 1 is received by the cashier terminal or the mobile terminal of the salesclerk, and the cashier terminal or the mobile terminal of the salesclerk performs the suppression process when the received judgment result information indicates a negative judgment result. I do.

ユーザの携帯端末は、レジ端末等のディスプレイに表示されている出力コードをカメラで撮影した画像から出力コードを抽出し、抽出した出力コードを用いて決済のための処理を行う前に、抽出した出力コードを有する出力コード情報をサーバ装置1に送信する。 The mobile terminal of the user extracts the output code displayed on the display of the cash register terminal, etc., from the image captured by the camera, and extracts the output code before performing processing for payment using the extracted output code. Output code information having an output code is transmitted to the server device 1 .

サーバ装置1を構成する出力コード受信部131は、ユーザ端末から送信された出力コード情報を受信し、判断部141は、生成コード格納部111に格納されている生成コード情報と、受信された出力コード情報が有する出力コードとを用いて、出力コードが生成コードと一致するか否かを判断する。 The output code receiving unit 131 constituting the server device 1 receives the output code information transmitted from the user terminal, and the determining unit 141 receives the generated code information stored in the generated code storage unit 111 and the received output. Using the output code included in the code information, it is determined whether the output code matches the generated code.

なお、情報システムのフローチャートは、実施の形態ではレジ端末または店員の携帯端末であった出力装置3が、本変形例3ではユーザの携帯端末であり、実施の形態ではユーザの携帯端末であった端末装置5が、本変形例3ではレジ端末または店員の携帯端末である点を除いて、図2~図4と同様である。具体例も、実施の形態の具体例において、出力装置3をレジ端末または店員の携帯端末からユーザの携帯端末に変更し、端末装置5をユーザの携帯端末からレジ端末または店員の携帯端末に変更すればよい。 In the flow chart of the information system, the output device 3, which is a cash register terminal or a clerk's mobile terminal in the embodiment, is a user's mobile terminal in the third modification, and is a user's mobile terminal in the embodiment. 2 to 4 except that the terminal device 5 is a cash register terminal or a store clerk's mobile terminal in the third modification. As a specific example, in the specific example of the embodiment, the output device 3 is changed from the cashier terminal or the clerk's mobile terminal to the user's mobile terminal, and the terminal device 5 is changed from the user's mobile terminal to the cashier terminal or the clerk's mobile terminal. do it.

(変形例3) (Modification 3)

実施の形態における撮影装置4は、監視カメラ、または店員の携帯端末が有する内蔵カメラであったが、本変形例3における撮影装置4は、ユーザの携帯端末が有する内蔵カメラである。 The photographing device 4 in the embodiment is a monitoring camera or a built-in camera of the store clerk's mobile terminal, but the photographing device 4 in Modification 3 is a built-in camera of the user's mobile terminal.

他の要素は、実施の形態と同様でよい。すなわち、出力装置3は、例えば、店舗端末(例えば、レジ端末、またはユーザの携帯端末)であり、表示器は、例えば、店舗端末が有するディスプレイであり、端末装置5は、例えば、ユーザの携帯端末である。つまり、本変形例3において、撮影装置4および端末装置5は、ユーザが保有する一の携帯端末によって実現される。従って、本変形例3において、装置識別子および端末識別子は、いずれもユーザ識別子である。 Other elements may be the same as in the embodiment. That is, the output device 3 is, for example, a store terminal (eg, a cash register terminal or a user's mobile terminal), the display is, for example, a display of the store terminal, and the terminal device 5 is, for example, a user's mobile terminal. Terminal. That is, in Modification 3, the photographing device 4 and the terminal device 5 are realized by one portable terminal owned by the user. Therefore, in Modification 3, both the device identifier and the terminal identifier are user identifiers.

かかる端末装置5を構成する端末処理部53は、例えば、店舗端末が有するディスプレイに表示されている出力コードを内蔵カメラで撮影し、撮影した画像から出力コードを抽出し、抽出した出力コードを用いて決済のための処理を行う前に、当該抽出した出力コードを有する出力コード情報をサーバ装置1に端末出力部56を介して送信する。そして、端末処理部53は、サーバ装置1からの判断結果情報を端末送信部54を介して受信し、受信した判断結果情報が否定的な判断結果を示す場合に、抑制処理を行うことは好適である。 The terminal processing unit 53 constituting the terminal device 5 captures, for example, an output code displayed on the display of the store terminal with a built-in camera, extracts the output code from the captured image, and uses the extracted output code. Before performing processing for payment, the output code information having the extracted output code is transmitted to the server device 1 via the terminal output unit 56 . Then, it is preferable that the terminal processing unit 53 receives the determination result information from the server device 1 via the terminal transmission unit 54 and performs the suppression process when the received determination result information indicates a negative determination result. is.

従って、本変形例3では、図4のステップS401が、下記ステップS401aに置き換えられる。 Therefore, in Modification 3, step S401 in FIG. 4 is replaced with step S401a below.

(ステップS402a)端末送信部54は、ステップS401で抽出した出力コードを、ステップS402で受信した店舗識別子、および端末格納部51に格納されているユーザ識別子と対に、サーバ装置1に送信する。 (Step S402a) The terminal transmission unit 54 transmits the output code extracted in step S401 to the server device 1 in combination with the shop identifier received in step S402 and the user identifier stored in the terminal storage unit 51.

サーバ装置1の動作は、画像からの出力コードの抽出が不要である点を除いて、実施の形態と同様である。従って、本変形例3では、図2のフローチャートから、ステップS202が削除される。 The operation of the server device 1 is the same as that of the embodiment except that it is unnecessary to extract the output code from the image. Therefore, in the present modified example 3, step S202 is deleted from the flowchart of FIG.

以上、本実施の形態によれば、生成コード格納部111に、生成される又は生成された生成コードに関する生成コード情報が格納されるべきであり、サーバ装置1は、生成コードを出力する出力装置3によって出力された出力コードを撮影する撮影装置4から、出力コードを撮影した画像または画像から抽出された出力コードを有する出力コード情報を受信し、生成コード格納部111に格納されている格納コード情報と、受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断し、判断の結果に関する判断結果情報を端末装置に送信することにより、コードの差し替えを検知できる。 As described above, according to the present embodiment, the generated code information regarding the generated code that is generated or generated should be stored in the generated code storage unit 111, and the server device 1 is an output device that outputs the generated code. 3, receives output code information having an image obtained by capturing the output code or an output code extracted from the image, and stores the stored code in the generated code storage unit 111. Information and the received output code information are used to determine whether or not the output code matches the generated code, and the determination result information regarding the determination result is transmitted to the terminal device, whereby code replacement can be detected. .

また、サーバ装置1は、コードを生成するコード生成サーバ2から生成コード情報を受信し、受信した生成コード情報を生成コード格納部111に蓄積することにより、可変的なコードの差し替えも検知できる。 Further, the server device 1 receives generated code information from the code generation server 2 that generates code, and stores the received generated code information in the generated code storage unit 111, thereby detecting variable code replacement.

なお、上記構成において、コードは、可変的なコードであり、サーバ装置1は、コード生成サーバ2によって新たなコードが生成される度に、当該新たなコードに関する生成コード情報を受信し、新たなコードに関する生成コード情報を受信したことに応じて、生成コード格納部111に格納されている格納コード情報を、受信された生成コード情報で更新してもよく、これによって、生成コード格納部111の容量を削減できる。 In the above configuration, the code is a variable code, and each time a new code is generated by the code generation server 2, the server device 1 receives generated code information about the new code, and generates a new code. In response to receiving the generated code information about the code, the stored code information stored in the generated code storage unit 111 may be updated with the received generated code information. capacity can be reduced.

また、上記構成において、出力装置3は、生成コードを表示器に表示し、撮影装置4は、表示器に表示されているコードを撮影し、端末装置5は、出力コードを用いて決済のための処理を行うことにより、端末装置5が表示器に表示されているコードを用いて決済を行う場合に、サーバ装置1は、コードの差し替えによる不正な支払先への支払いを防止できる。 In the above configuration, the output device 3 displays the generated code on the display, the image capturing device 4 captures the code displayed on the display, and the terminal device 5 uses the output code for payment. By performing the processing of (1), when the terminal device 5 uses the code displayed on the display device to make a payment, the server device 1 can prevent payment to an unauthorized payee due to replacement of the code.

また、上記構成において、出力装置3は、店舗の端末である店舗端末であり、表示器は、店舗端末が有するディスプレイであり、端末装置5は、ユーザの端末であるユーザ端末であることにより、店舗端末が有するディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、サーバ装置1は、コードの差し替えによる不正な支払先への支払いを防止できる。 In the above configuration, the output device 3 is a store terminal that is a terminal of the store, the display is a display that the store terminal has, and the terminal device 5 is a user terminal that is a user terminal. When a user terminal makes a payment using a code displayed on a display of a store terminal, the server device 1 can prevent payment to an unauthorized payee due to code replacement.

また、上記構成において、撮影装置4は、ディスプレイに表示されている出力コードを監視する監視カメラであることにより、店舗のディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、表示されているコードを監視カメラで監視することで、サーバ装置1は、コードの差し替えによる不正な支払先への支払いを防止できる。 Further, in the above configuration, the photographing device 4 is a surveillance camera that monitors the output code displayed on the display. By monitoring the displayed code with a surveillance camera, the server device 1 can prevent payment to an unauthorized payee due to replacement of the code.

また、上記構成において、監視カメラは、ディスプレイに表示されている出力コードを定期的または不定期に撮影し、撮影した画像をメモリに蓄積し、撮影した画像がメモリに格納されている画像に対して変化したか否かを判断し、撮影した画像がメモリに格納されている画像に対して変化したと判断した場合に、撮影した画像を有する出力コード情報を送信し、サーバ装置1は、監視カメラから出力コード情報を受信したことに応じて、出力コード情報が有する画像から出力コードを抽出し、生成コード格納部111に格納されている格納コード情報と、抽出した出力コードとを用いて、出力コードが生成コードと一致するか否かを判断する。こうして、監視カメラで撮影された画像が変化した場合にだけ、サーバ装置1は、画像を有する出力コード情報を受信し、画像が変化していない場合には出力コード情報を受信しないので、監視カメラから受信する出力コード情報のデータ量を抑制しつつ、コードの差し替えによる不正な支払先への支払いを防止できる。 In the above configuration, the surveillance camera periodically or irregularly captures the output code displayed on the display, accumulates the captured image in the memory, and stores the captured image in the memory. If it is determined that the photographed image has changed with respect to the image stored in the memory, the server device 1 transmits the output code information having the photographed image, and the server device 1 monitors In response to receiving the output code information from the camera, the output code is extracted from the image included in the output code information, and using the stored code information stored in the generated code storage unit 111 and the extracted output code, Determine whether the output code matches the generated code. Thus, the server apparatus 1 receives the output code information having the image only when the image captured by the surveillance camera changes, and does not receive the output code information when the image does not change. While suppressing the data amount of the output code information received from, it is possible to prevent payment to an unauthorized payee due to code replacement.

また、上記構成において、撮影装置4は、ユーザ端末が有するカメラであることにより、店舗のディスプレイに表示されているコードを用いて、ユーザ端末で決済を行う場合に、サーバ装置1は、簡単な構成で、コードの差し替えによる不正な支払先への支払いを防止できる。 Further, in the above configuration, the imaging device 4 is a camera that the user terminal has. The configuration can prevent payments to fraudulent payees due to code replacement.

また、上記構成において、ユーザ端末は、ディスプレイに表示されている出力コードをカメラで撮影した画像から出力コードを抽出し、抽出した出力コードを用いて決済のための処理を行う前に、抽出した出力コードを有する出力コード情報を送信し、サーバ装置1は、生成コード格納部111に格納されている生成コード情報と、ユーザ端末から受信した出力コード情報が有する出力コードとを用いて、出力コードが生成コードと一致するか否かを判断することにより、ユーザ端末から受信する出力コード情報のデータ量を抑制しつつ、コードの差し替えによる不正な支払先への支払いを防止できる。 In the above configuration, the user terminal extracts the output code displayed on the display from the image captured by the camera, and extracts the output code before performing processing for payment using the extracted output code. Output code information having an output code is transmitted, and the server apparatus 1 uses the generated code information stored in the generated code storage unit 111 and the output code included in the output code information received from the user terminal to generate the output code. matches the generated code, it is possible to suppress the data amount of the output code information received from the user terminal and prevent payment to an unauthorized payee due to code replacement.

また、上記構成において、生成コード格納部111は、一の生成コードに対応する3以上の生成コード情報が格納されるべき3以上の格納手段を含み、サーバ装置1は、3以上の格納手段に格納されている3以上の格納コード情報を用いて、3以上の格納コード情報に対応する3以上の格納コードの中に、一致する2以上の格納コードの組が1組以上存在するか否かを判断し、3以上の格納コードの中に組が1組以上存在すると判断した場合に、一の組を構成する格納コードであり、他のどの組を構成する格納コードよりも数が多い格納コードである最多数格納コードが唯一つ存在するか否かを判断し、最多数格納コードが唯一つ存在すると判断した場合に、当該最多数格納コードを生成コードに決定し、決定した生成コードと、受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断する。 In the above configuration, the generated code storage unit 111 includes three or more storage means in which three or more pieces of generated code information corresponding to one generated code are to be stored, and the server device 1 stores the three or more storage means. Using three or more stored code information stored, whether or not one or more sets of two or more matching stored codes exist among the three or more stored codes corresponding to the three or more stored code information is determined, and if it is determined that one or more sets exist among three or more stored codes, the stored code that constitutes one set and has a larger number of stored codes than those that constitute any other set It is determined whether or not there is only one code storing the largest number of codes, and if it is determined that there is only one code storing the largest number of codes, the code storing the largest number of codes is determined to be the generated code, and the determined generated code is , and the received output code information to determine whether the output code matches the generated code.

こうして、一の生成コードに対応する3以上の生成コード情報を3以上の格納手段に格納しておくことにより、3以上の格納手段に格納されている3以上の格納コード情報のいずれかが不正なコード情報に差し替えられた場合でも、サーバ装置1は、多数決により、3以上の格納コードのうち最多数の格納コードを生成コードとみなし、出力コードが生成コードと一致するか否かの判断を行うことができる。 By storing three or more pieces of generated code information corresponding to one generated code in three or more storage means in this manner, any one of the three or more stored code information stored in the three or more storage means is illegal. Even if the code information is replaced with such code information, the server device 1 regards the stored code with the largest number of stored codes of 3 or more as the generated code by majority vote, and determines whether the output code matches the generated code. It can be carried out.

従って、生成コード格納部111に格納されている生成コード情報が差し替えられる可能性がある場合でも、コードの差し替えを検知できる。 Therefore, even if there is a possibility that the generated code information stored in the generated code storage unit 111 will be replaced, the code replacement can be detected.

また、サーバ装置1は、上記組が存在しないと判断した場合、または最多数格納コードが2以上存在すると判断した場合、または出力コードが生成コードと一致しないと判断した場合に、否定的な判断結果を示す判断結果情報を送信することにより、生成コードと出力コードとの不一致を通知できる。 If the server device 1 determines that the above set does not exist, or determines that there are two or more stored codes, or determines that the output code does not match the generated code, the server device 1 makes a negative determination. A discrepancy between the generated code and the output code can be notified by transmitting judgment result information indicating the result.

なお、上記構成において、否定的な判断結果を示す判断結果情報は、コードが差し替えられている可能性についての警告を有し、端末装置5は、判断結果情報を受信し、否定的な判断結果情報を受信した場合に、当該判断結果情報が有する警告を出力することにより、コードが差し替えられている可能性を、端末装置5の操作者に警告できる。例えば、コードを用いて決済のための処理を行う端末装置5を操作するユーザまたは店員に警告することで、不正な支払先への支払いを効果的に防止できる。 In the above configuration, the judgment result information indicating a negative judgment result has a warning about the possibility that the code has been replaced, and the terminal device 5 receives the judgment result information and By outputting a warning contained in the determination result information when information is received, the operator of the terminal device 5 can be warned of the possibility that the code has been replaced. For example, by warning a user or a store clerk who operates the terminal device 5 that performs processing for settlement using a code, it is possible to effectively prevent payment to an unauthorized payee.

また、コードを用いて決済のための処理を行う端末装置5は、否定的な判断結果を示す判断結果情報を受信した場合に、決済のための処理の実行を抑制することにより、コードの差し替えによる不正な支払先への支払いを防止できる。 Further, the terminal device 5, which performs processing for settlement using a code, suppresses the execution of the processing for settlement when receiving determination result information indicating a negative determination result. Payments to unauthorized payees can be prevented.

また、情報システムは、生成された生成コードを出力する出力装置3と、出力装置3によって出力された出力コードを撮影する撮影装置4と、サーバ装置1と、端末装置5とを含み、生成コード格納部111には、生成される又は生成された生成コードに関する生成コード情報が格納されるべきであり、サーバ装置1は、撮影装置4から、出力コードを撮影した画像または画像から抽出された出力コードを有する出力コード情報を受信し、生成コード格納部111に格納されている格納コード情報と、受信した出力コード情報とを用いて、出力コードが生成コードと一致するか否かを判断し、判断の結果に関する判断結果情報を端末装置5に送信することにより、コードの差し替えを検知できる。その結果、例えば、コードの差し替えによる不正な支払先への支払いを防止できる。 Further, the information system includes an output device 3 for outputting the generated generated code, a photographing device 4 for capturing the output code output by the output device 3, a server device 1, and a terminal device 5. The storage unit 111 should store generated code information related to the generated or generated generated code. receiving output code information having a code, determining whether the output code matches the generated code using the stored code information stored in the generated code storage unit 111 and the received output code information; By transmitting judgment result information about the judgment result to the terminal device 5, the replacement of the code can be detected. As a result, for example, payment to an unauthorized payee due to code replacement can be prevented.

さらに、本実施の形態における処理は、ソフトウェアで実現してもよい。そして、このソフトウェアをソフトウェアダウンロード等により配布してもよい。また、このソフトウェアをCD-ROMなどの記録媒体に記録して流布してもよい。 Furthermore, the processing in this embodiment may be realized by software. Then, this software may be distributed by software download or the like. Also, this software may be recorded on a recording medium such as a CD-ROM and distributed.

本実施の形態におけるサーバ装置1を実現するソフトウェアは、例えば、以下のようなプログラムである。つまり、コンピュータがアクセス可能な記録媒体は、生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部111を具備し、このプログラムは、前記コンピュータを、前記生成コードを出力する出力装置3によって出力された出力コードを撮影する撮影装置4から、当該出力コードを撮影した画像または当該画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部131と、前記生成コード格納部111に格納されている格納コード情報と、前記出力コード受信部131が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する判断部141と、前記判断部141による判断の結果に関する判断結果情報を端末装置5に送信する判断結果送信部151として機能させるためのプログラムである。 The software that implements the server device 1 in this embodiment is, for example, the following program. That is, the computer-accessible recording medium has a generated code storage unit 111 in which generated code information about the generated or generated generated code is stored, and this program causes the computer to store the generated code. an output code receiving unit 131 for receiving an image obtained by capturing the output code or output code information including the output code extracted from the image, from the image capturing device 4 capturing the output code output by the output device 3 for output; Judgment for judging whether the output code matches the generated code by using the stored code information stored in the generated code storage unit 111 and the output code information received by the output code receiving unit 131 It is a program for functioning as a unit 141 and a determination result transmission unit 151 that transmits determination result information regarding the result of determination by the determination unit 141 to the terminal device 5 .

なお、端末装置5を実現するソフトウェアは、例えば、以下のようなプログラムであってもよい。つまり、このプログラムは、コンピュータを、上記サーバ装置1から前記判断結果情報を受信する端末受信部55と、前記端末受信部55が受信した判断結果情報を出力する端末出力部56として機能させるためのプログラムである。 The software that implements the terminal device 5 may be, for example, the following program. That is, this program causes the computer to function as a terminal receiving section 55 for receiving the determination result information from the server device 1 and a terminal output section 56 for outputting the determination result information received by the terminal receiving section 55. It's a program.

また、上記構成において、否定的な判断結果を示す判断結果情報は、コードが差し替えられている可能性についての警告を有し、前記端末出力部56は、前記端末受信部55が否定的な判断結果を示す判断結果情報を受信した場合に、当該判断結果情報が有する警告を出力するプログラムである。 Further, in the above configuration, the determination result information indicating a negative determination result has a warning about the possibility that the code has been replaced, and the terminal output unit 56 receives the negative determination result from the terminal reception unit 55. A program for outputting a warning contained in judgment result information when judgment result information indicating a result is received.

また、上記プログラムは、前記コンピュータを、前記出力装置3によって出力された出力コードを用いて決済のための処理を行う端末処理部53としてさらに機能させ、前記端末処理部53は、前記端末受信部55が否定的な判断結果を示す判断結果情報を受信した場合に、前記決済のための処理の実行を抑制するプログラムである。 In addition, the program causes the computer to further function as a terminal processing unit 53 that performs processing for settlement using the output code output by the output device 3, and the terminal processing unit 53 performs the terminal receiving unit 55 is a program for suppressing execution of the processing for settlement when receiving judgment result information indicating a negative judgment result.

図9は、本実施の形態におけるプログラムを実行して、サーバ装置1等を実現するコンピュータシステム900の外観図である。本実施の形態は、コンピュータハードウェアおよびその上で実行されるコンピュータプログラムによって実現され得る。図9において、コンピュータシステム900は、ディスクドライブ905を含むコンピュータ901と、キーボード902と、マウス903と、ディスプレイ904とを備える。なお、キーボード902やマウス903やディスプレイ904をも含むシステム全体をコンピュータと呼んでもよい。 FIG. 9 is an external view of a computer system 900 that implements the server device 1 and the like by executing the program in this embodiment. The embodiments can be implemented by computer hardware and computer programs executed thereon. In FIG. 9, computer system 900 comprises computer 901 including disk drive 905 , keyboard 902 , mouse 903 and display 904 . The entire system including the keyboard 902, mouse 903, and display 904 may be called a computer.

図10は、コンピュータシステム900の内部構成の一例を示す図である。図10において、コンピュータ901は、ディスクドライブ905に加えて、MPU911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM913と、アプリケーションプログラム、システムプログラム、およびデータを記憶するストレージ914と、MPU911、ROM912等を相互に接続するバス915と、外部ネットワークや内部ネットワーク等のネットワークへの接続を提供するネットワークカード916と、を備える。ストレージ914は、例えば、ハードディスク、SSD、フラッシュメモリなどである。 FIG. 10 is a diagram showing an example of the internal configuration of the computer system 900. As shown in FIG. In FIG. 10, a computer 901 includes a disk drive 905, an MPU 911, a ROM 912 for storing programs such as a boot-up program, and a computer 901 connected to the MPU 911 for temporarily storing application program instructions and temporarily A RAM 913 that provides storage space, a storage 914 that stores application programs, system programs, and data, a bus 915 that interconnects the MPU 911, ROM 912, etc., and provides connections to networks such as external networks and internal networks. a network card 916; The storage 914 is, for example, a hard disk, SSD, flash memory, or the like.

コンピュータシステム900に、サーバ装置1等の機能を実行させるプログラムは、例えば、DVD、CD-ROM等のディスク921に記憶されて、ディスクドライブ905に挿入され、ストレージ914に転送されてもよい。これに代えて、そのプログラムは、ネットワークを介してコンピュータ901に送信され、ストレージ914に記憶されてもよい。プログラムは、実行の際にRAM913にロードされる。なお、プログラムは、ディスク921、またはネットワークから直接、ロードされてもよい。また、ディスク921に代えて他の着脱可能な記録媒体(例えば、DVDやメモリカード等)を介して、プログラムがコンピュータシステム900に読み込まれてもよい。 A program that causes the computer system 900 to execute the functions of the server device 1 or the like may be stored in a disk 921 such as a DVD or CD-ROM, inserted into the disk drive 905 , and transferred to the storage 914 . Alternatively, the program may be transmitted to computer 901 over a network and stored in storage 914 . Programs are loaded into RAM 913 during execution. Note that the program may be loaded directly from disk 921 or from the network. Also, the program may be read into the computer system 900 via another removable recording medium (eg, DVD, memory card, etc.) instead of the disk 921 .

プログラムは、コンピュータの詳細を示す901に、サーバ装置1等の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能やモジュールを呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。 The program does not necessarily include an operating system (OS) or a third-party program that causes the functions of the server device 1 or the like to be executed in the computer details 901 . A program may contain only those portions of instructions that call the appropriate functions or modules in a controlled manner to produce the desired result. How the computer system 900 operates is well known and will not be described in detail.

なお、上述したコンピュータシステム900は、サーバまたは据え置き型のPCであるが、端末装置5は、例えば、タブレット端末やスマートフォンやノートPCといった、携帯端末で実現されてもよい。この場合、例えば、キーボード902およびマウス903はタッチパネルに、ディスクドライブ905はメモリカードスロットに、ディスク921はメモリカードに、それぞれ置き換えられることが望ましい。出力装置3や撮影装置4のコンピュータも、基本的なハードウェア構成は、図10のコンピュータ901と同様でよい。ただし、以上は例示であり、サーバ装置1等を実現するコンピュータのハードウェア構成は問わない。 The computer system 900 described above is a server or a stationary PC, but the terminal device 5 may be realized by a portable terminal such as a tablet terminal, a smartphone, or a notebook PC. In this case, for example, it is desirable to replace the keyboard 902 and mouse 903 with a touch panel, the disk drive 905 with a memory card slot, and the disk 921 with a memory card. The computers of the output device 3 and the imaging device 4 may also have the same basic hardware configuration as the computer 901 in FIG. However, the above is just an example, and the hardware configuration of the computer that implements the server device 1 and the like is irrelevant.

なお、上記プログラムにおいて、情報を送信する送信ステップや、情報を受信する受信ステップなどでは、ハードウェアによって行われる処理、例えば、送信ステップにおけるモデムやインターフェースカードなどで行われる処理(ハードウェアでしか行われない処理)は含まれない。 In the above program, the transmission step for transmitting information and the reception step for receiving information are performed by hardware. not included).

また、上記プログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、一のコンピュータが集中処理を行ってもよく、あるいは複数のコンピュータが分散処理を行ってもよい。 Also, the number of computers that execute the above programs may be singular or plural. That is, one computer may perform centralized processing, or a plurality of computers may perform distributed processing.

また、上記実施の形態において、一の装置に存在する2以上の通信手段(受信部13、および送信部15など)は、物理的に一の媒体で実現されてもよいことは言うまでもない。 Further, in the above embodiments, two or more communication means (receiving unit 13, transmitting unit 15, etc.) existing in one device may be physically realized by one medium.

また、上記実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。 In the above embodiments, each process (each function) may be implemented by centralized processing by a single device (system), or may be implemented by distributed processing by a plurality of devices. may

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 It goes without saying that the present invention is not limited to the above-described embodiments, and that various modifications are possible and are also included within the scope of the present invention.

以上のように、本発明にかかるサーバ装置は、コードの差し替えを検知できるという効果を有し、サーバ装置等として有用である。 INDUSTRIAL APPLICABILITY As described above, the server device according to the present invention has the effect of being able to detect code replacement, and is useful as a server device or the like.

1 サーバ装置
2 コード生成サーバ
3 出力装置
4 撮影装置
5 端末装置
11 格納部
12 受付部
13 受信部
14 処理部
15 送信部
51 端末格納部
52 端末受付部
53 端末処理部
54 端末送信部
55 端末受信部
56 端末出力部
111 生成コード格納部
131 出力コード受信部
132 生成コード受信部
141 判断部
142 抽出部
143 蓄積部
151 判断結果送信部
1 server device 2 code generation server 3 output device 4 photographing device 5 terminal device 11 storage unit 12 reception unit 13 reception unit 14 processing unit 15 transmission unit 51 terminal storage unit 52 terminal reception unit 53 terminal processing unit 54 terminal transmission unit 55 terminal reception Unit 56 Terminal output unit 111 Generated code storage unit 131 Output code reception unit 132 Generated code reception unit 141 Judgment unit 142 Extraction unit 143 Storage unit 151 Judgment result transmission unit

Claims (13)

生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部と、
前記生成コードを出力する出力装置によって出力された出力コードを撮影する撮影装置から、当該出力コードを撮影した画像または当該画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部と、
前記生成コード格納部に格納されている生成コード情報と、前記出力コード受信部が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する判断部と、
前記判断部による判断の結果に関する判断結果情報を端末装置に送信する判断結果送信部とを具備するサーバ装置。
a generated code storage unit in which generated code information relating to generated or generated code is to be stored;
an output code receiving unit that receives an image obtained by capturing the output code or output code information having the output code extracted from the image, from a capturing device that captures the output code output by the output device that outputs the generated code; ,
a determination unit that determines whether the output code matches the generated code using the generated code information stored in the generated code storage unit and the output code information received by the output code receiving unit; ,
A server device comprising a determination result transmission unit that transmits determination result information regarding a result of determination by the determination unit to a terminal device.
コードを生成するコード生成サーバから前記生成コード情報を受信する生成コード受信部と、
前記生成コード受信部が受信した生成コード情報を前記生成コード格納部に蓄積する蓄積部とをさらに具備する請求項1記載のサーバ装置。
a generated code receiving unit that receives the generated code information from a code generation server that generates code;
2. The server device according to claim 1, further comprising an accumulation unit for accumulating the generated code information received by said generated code receiving unit in said generated code storage unit.
前記出力装置は、前記生成コードを表示器に表示し、
前記撮影装置は、前記表示器に表示されているコードを撮影し、
前記端末装置は、前記出力コードを用いて決済のための処理を行う請求項1または請求項2記載のサーバ装置。
The output device displays the generated code on a display,
The photographing device photographs the code displayed on the display,
3. The server device according to claim 1, wherein said terminal device performs processing for settlement using said output code.
前記出力装置は、店舗の端末である店舗端末であり、
前記表示器は、前記店舗端末が有するディスプレイであり、
前記端末装置は、ユーザの端末であるユーザ端末である請求項3記載のサーバ装置。
The output device is a store terminal that is a store terminal,
The display is a display that the store terminal has,
4. The server device according to claim 3, wherein said terminal device is a user terminal which is a user's terminal.
前記撮影装置は、前記ディスプレイに表示されている出力コードを監視する監視カメラである請求項4記載のサーバ装置。 5. The server device according to claim 4, wherein said photographing device is a monitoring camera for monitoring output codes displayed on said display. 前記監視カメラは、前記ディスプレイに表示されている出力コードを定期的または不定期に撮影し、撮影した画像をメモリに蓄積し、当該撮影した画像がメモリに格納されている画像に対して変化したか否かを判断し、当該撮影した画像がメモリに格納されている画像に対して変化したと判断した場合に、当該撮影した画像を有する出力コード情報を送信し、
前記出力コード受信部が前記監視カメラから出力コード情報を受信したことに応じて、当該出力コード情報が有する画像から出力コードを抽出する抽出部をさらに具備し、
前記判断部は、
前記生成コード格納部に格納されている生成コード情報と、前記抽出部が抽出した出力コードとを用いて、当該出力コードが前記生成コードと一致するか否かを判断する請求項5記載のサーバ装置。
The surveillance camera regularly or irregularly captures the output code displayed on the display, accumulates the captured image in a memory, and changes the captured image with respect to the image stored in the memory. If it is determined that the captured image has changed from the image stored in the memory, transmitting output code information having the captured image,
further comprising an extracting unit for extracting an output code from an image included in the output code information in response to the output code receiving unit receiving the output code information from the surveillance camera;
The determination unit
6. The server according to claim 5, wherein the generated code information stored in the generated code storage unit and the output code extracted by the extraction unit are used to determine whether the output code matches the generated code. Device.
前記撮影装置はユーザ端末が有するカメラである請求項3記載のサーバ装置。 4. The server device according to claim 3 , wherein the photographing device is a camera of a user terminal. 前記ユーザ端末はディスプレイに表示されている出力コードを前記カメラで撮影した画像から出力コードを抽出し、抽出した出力コードを用いて前記決済のための処理を行う前に、当該抽出した出力コードを有する出力コード情報を送信し、
前記判断部は、
前記生成コード格納部に格納されている生成コード情報と、前記出力コード受信部が前記ユーザ端末から受信した出力コード情報が有する出力コードとを用いて、当該出力コードが前記生成コードと一致するか否かを判断する請求項7記載のサーバ装置。
The user terminal extracts the output code displayed on the display from the image captured by the camera, and before performing the processing for the settlement using the extracted output code, extracts the extracted output code. and send the output code information having
The determination unit
whether the output code matches the generated code by using the generated code information stored in the generated code storage unit and the output code included in the output code information received by the output code receiving unit from the user terminal; 8. The server device according to claim 7, which determines whether or not.
前記生成コード格納部は、
一の生成コードに対応する3以上の生成コード情報が格納されるべき3以上の格納手段を含み、
前記判断部は、
前記3以上の格納手段に格納されている3以上の生成コード情報を用いて、当該3以上の生成コード情報に対応する3以上の生成コードの中に、一致する2以上の生成コードの組が1組以上存在するか否かを判断する第一判断手段と、
前記第一判断手段が前記3以上の生成コードの中に前記組が1組以上存在すると判断した場合に、一の組を構成する生成コードであり、他のどの組を構成する生成コードよりも数が多い生成コードである最多数格納コードが唯一つ存在するか否かを判断する第二判断手段と、
前記第二判断手段が前記最多数格納コードが唯一つ存在すると判断した場合に、当該最多数格納コードを前記生成コードに決定する決定手段と、
前記決定手段が決定した生成コードと、前記出力コード受信部が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する第三判断手段とを含む請求項1から請求項8いずれか一項に記載のサーバ装置。
The generated code storage unit
three or more storage means for storing three or more pieces of generated code information corresponding to one generated code;
The determination unit
using the three or more pieces of generated code information stored in the three or more storage means, and among the three or more pieces of generated code corresponding to the three or more pieces of generated code information, a pair of two or more pieces of generated code that match each other; a first determination means for determining whether or not one or more pairs exist;
If the first determination means determines that one or more of the sets exist in the three or more generated codes, the generated code that constitutes one set is more than the generated code that constitutes any other set. a second judgment means for judging whether or not there is only one largest stored code, which is a generated code with a large number;
determination means for determining the maximum number of stored codes to be the generated code when the second determination means determines that there is only one stored code of the highest number;
a third determining means for determining whether the output code matches the generated code by using the generated code determined by the determining means and the output code information received by the output code receiving section; The server device according to any one of claims 1 to 8.
前記判断結果送信部は、
前記第一判断手段が前記組が存在しないと判断した場合、または前記第二判断手段が前記最多数格納コードが2以上存在すると判断した場合、または前記第三判断手段が前記出力コードが前記生成コードと一致しないと判断した場合に、否定的な判断結果を示す判断結果情報を前記端末装置に送信する請求項9記載のサーバ装置。
The judgment result transmission unit is
When the first determination means determines that the set does not exist, or when the second determination means determines that two or more of the most stored codes exist, or when the third determination means determines that the output code is the generated 10. The server device according to claim 9, which transmits judgment result information indicating a negative judgment result to said terminal device when it judges that the code does not match.
生成された生成コードを出力する出力装置と、
前記出力装置によって出力された出力コードを撮影する撮影装置と、
サーバ装置と、
端末装置とを含み、
前記サーバ装置は、
生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部と、
前記撮影装置から、前記出力コードを撮影した画像または当該画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部と、
前記生成コード格納部に格納されている生成コード情報と、前記出力コード受信部が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する判断部と、
前記判断部による判断の結果に関する判断結果情報を前記端末装置に送信する判断結果送信部とを具備する情報システム。
an output device that outputs the generated generated code;
a photographing device for photographing the output code output by the output device;
a server device;
a terminal device;
The server device
a generated code storage unit in which generated code information relating to generated or generated code is to be stored;
an output code receiving unit that receives output code information having an image obtained by capturing the output code or an output code extracted from the image, from the imaging device;
a determination unit that determines whether the output code matches the generated code using the generated code information stored in the generated code storage unit and the output code information received by the output code receiving unit; ,
and a determination result transmitting unit configured to transmit determination result information regarding a result of determination by the determination unit to the terminal device.
生成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部、出力コード受信部、判断部、および判断結果送信部によって実現される情報処理方法であって、
前記出力コード受信部が、前記生成コードを出力する出力装置によって出力された出力コードを撮影する撮影装置から、当該出力コードを撮影した画像または当該画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信ステップと、
前記判断部が、前記生成コード格納部に格納されている生成コード情報と、前記出力コード受信部が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する判断ステップと、
前記判断結果送信部が、前記判断部による判断の結果に関する判断結果情報を端末装置に送信する判断結果送信ステップとを含む情報処理方法。
An information processing method implemented by a generated code storage unit, an output code receiving unit, a determining unit, and a determination result transmitting unit in which generated code information about generated or generated code is to be stored, comprising:
The output code receiving unit receives output code information having an image obtained by photographing the output code or an output code extracted from the image from a photographing device that photographs the output code output by the output device that outputs the generated code. a receiving output code receiving step;
The determining unit determines whether the output code matches the generated code using the generated code information stored in the generated code storage unit and the output code information received by the output code receiving unit. a judgment step for judging;
and a determination result transmission step in which the determination result transmission unit transmits determination result information regarding a result of determination by the determination unit to a terminal device.
成される又は生成された生成コードに関する生成コード情報が格納されるべき生成コード格納部にアクセス可能なコンピュータを、
前記生成コードを出力する出力装置によって出力された出力コードを撮影する撮影装置から、当該出力コードを撮影した画像または当該画像から抽出された出力コードを有する出力コード情報を受信する出力コード受信部と、
前記生成コード格納部に格納されている生成コード情報と、前記出力コード受信部が受信した出力コード情報とを用いて、前記出力コードが前記生成コードと一致するか否かを判断する判断部と、
前記判断部による判断の結果に関する判断結果情報を端末装置に送信する判断結果送信部として機能させるためのプログラム。
a computer having access to a generated code store in which generated code information relating to the generated code that is or has been generated is to be stored;
an output code receiving unit that receives an image obtained by capturing the output code or output code information having the output code extracted from the image, from a capturing device that captures the output code output by the output device that outputs the generated code; ,
a determination unit that determines whether the output code matches the generated code using the generated code information stored in the generated code storage unit and the output code information received by the output code receiving unit; ,
A program for functioning as a determination result transmission unit that transmits determination result information regarding a result of determination by the determination unit to a terminal device.
JP2019075743A 2019-04-11 2019-04-11 Server device, information system, information processing method, and program Active JP7316082B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019075743A JP7316082B2 (en) 2019-04-11 2019-04-11 Server device, information system, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019075743A JP7316082B2 (en) 2019-04-11 2019-04-11 Server device, information system, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2020173664A JP2020173664A (en) 2020-10-22
JP7316082B2 true JP7316082B2 (en) 2023-07-27

Family

ID=72831398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019075743A Active JP7316082B2 (en) 2019-04-11 2019-04-11 Server device, information system, information processing method, and program

Country Status (1)

Country Link
JP (1) JP7316082B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318333A (en) 2006-05-24 2007-12-06 Mitsubishi Electric Corp Monitoring camera system
JP2012216155A (en) 2011-04-01 2012-11-08 Japan Research Institute Ltd Settlement server and settlement system
US20130246200A1 (en) 2010-08-31 2013-09-19 At&T Intellectual Property I, L.P. Mobile Payment Using Picture Messaging
WO2014103971A1 (en) 2012-12-25 2014-07-03 株式会社若本昌紀事務所 Payment collection method and payment collection system using verifiable image information
JP2016149086A (en) 2015-02-13 2016-08-18 エヌ・ティ・ティ・インターネット株式会社 Biometric authentication platform system, biometric authentication information management apparatus, biometric authentication information management method, and biometric authentication information management program
US20180197176A1 (en) 2012-05-31 2018-07-12 Paypal, Inc. In-store mobile payment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318333A (en) 2006-05-24 2007-12-06 Mitsubishi Electric Corp Monitoring camera system
US20130246200A1 (en) 2010-08-31 2013-09-19 At&T Intellectual Property I, L.P. Mobile Payment Using Picture Messaging
JP2012216155A (en) 2011-04-01 2012-11-08 Japan Research Institute Ltd Settlement server and settlement system
US20180197176A1 (en) 2012-05-31 2018-07-12 Paypal, Inc. In-store mobile payment
WO2014103971A1 (en) 2012-12-25 2014-07-03 株式会社若本昌紀事務所 Payment collection method and payment collection system using verifiable image information
JP2016149086A (en) 2015-02-13 2016-08-18 エヌ・ティ・ティ・インターネット株式会社 Biometric authentication platform system, biometric authentication information management apparatus, biometric authentication information management method, and biometric authentication information management program

Also Published As

Publication number Publication date
JP2020173664A (en) 2020-10-22

Similar Documents

Publication Publication Date Title
US8556164B1 (en) Transaction-specific codes
JP6542455B1 (en) INFORMATION PROCESSING METHOD, INFORMATION PROCESSING DEVICE, AND PROGRAM
CN110945552B (en) Product sales reporting method, payment method and terminal equipment
WO2017113790A1 (en) Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system
JP5865550B1 (en) Card verification system, card unauthorized use detection method, and card unauthorized use detection program
JP2020173830A (en) System and method for tokenization
JP6542454B1 (en) INFORMATION PROCESSING METHOD, INFORMATION PROCESSING DEVICE, AND PROGRAM
US20120127315A1 (en) Software, systems, and methods for video recording of a transaction involving protected data
JP2012053701A (en) Code reader and program
WO2021079549A1 (en) Network system, suspicious person detection device, and suspicious person detection method
WO2018074027A1 (en) Anomaly detection device, control method, and program
JP7316082B2 (en) Server device, information system, information processing method, and program
JP6517480B2 (en) Customer service management system, customer terminal, server device, customer service management method, and customer service method
JP7103459B2 (en) system
CN110930142A (en) Information processing method and device, and non-transitory computer-readable storage medium
JP2016136310A (en) Accounting information management system
US9846982B2 (en) Document geometric deformation watermarking and tracking
KR101676528B1 (en) System and method for error reporting of financial apparatus
JP2006018812A (en) User information management device, control program and control method
JP7317535B2 (en) Terminal device, server device, information processing method, and program
JP2021117835A (en) Settlement system, server device, and sales data processor
JP2021033338A (en) Monitoring system utilizing electronic settlement terminal
JP2020184209A (en) Information processing method, information processing device, and information processing program
JPWO2018159224A1 (en) Operation support device, operation support method, and program
CN111865600B (en) Coupon providing system and coupon providing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230706

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230714

R150 Certificate of patent or registration of utility model

Ref document number: 7316082

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150