Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6279328B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP6279328B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents

COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6279328B2
JP6279328B2 JP2014003275A JP2014003275A JP6279328B2 JP 6279328 B2 JP6279328 B2 JP 6279328B2 JP 2014003275 A JP2014003275 A JP 2014003275A JP 2014003275 A JP2014003275 A JP 2014003275A JP 6279328 B2 JP6279328 B2 JP 6279328B2
Authority
JP
Japan
Prior art keywords
communication
signal
communication method
nfc
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.)
Expired - Fee Related
Application number
JP2014003275A
Other languages
Japanese (ja)
Other versions
JP2015133577A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2014003275A priority Critical patent/JP6279328B2/en
Publication of JP2015133577A publication Critical patent/JP2015133577A/en
Application granted granted Critical
Publication of JP6279328B2 publication Critical patent/JP6279328B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

本発明は、複数の通信方式の中から通信に使用する通信方式を選択する技術に関する。   The present invention relates to a technique for selecting a communication method to be used for communication from a plurality of communication methods.

特許文献1には、複数の通信方式(ISO/IEC 14443のタイプA,タイプB、ISO/IEC 18092のパッシブコミュニケーションモードなど)に対応したICカードがリーダ/ライタが行う通信の通信方式を判定し、判定した通信方式でリーダ/ライタと通信を行うことが記載されている。特許文献1の発明によれば、ICカードは、リーダ/ライタが採用している通信方式と同じ通信方式を選択するため、種々のリーダ/ライタと通信を行うことができる。   In Patent Document 1, an IC card corresponding to a plurality of communication methods (ISO / IEC 14443 Type A, Type B, ISO / IEC 18092 passive communication mode, etc.) determines the communication method of communication performed by the reader / writer. The communication with the reader / writer using the determined communication method is described. According to the invention of Patent Document 1, since the IC card selects the same communication method as the communication method adopted by the reader / writer, it can communicate with various readers / writers.

特開2010−225069号公報JP 2010-225069 A

一方、近距離無線通信を行うリーダ/ライタにおいても、複数の通信方式に対応したものが存在する。このリーダ/ライタは、通信相手となるICカードと通信を行うために、各方式で通信相手のポーリングを行う。リーダ/ライタは、通信相手のICカードが一つの通信方式にのみ対応している場合、ICカードが対応する通信方式でのポーリングの際に相手を検出し、通信で用いる通信方式を特定することができる。   On the other hand, some reader / writers that perform short-range wireless communication are compatible with a plurality of communication methods. This reader / writer polls the communication partner in each method in order to communicate with the IC card that is the communication partner. When the IC card of the communication partner supports only one communication method, the reader / writer detects the partner at the time of polling by the communication method supported by the IC card and specifies the communication method used for communication. Can do.

ところで、近距離無線通信が可能なスマートフォンにおいては、複数の通信方式に対応したものがある。通信方式毎のポーリングのそれぞれについてスマートフォンから応答があった場合、リーダ/ライタ側では、それぞれ通信方式の異なる複数のICカードが近傍に存在していて各ICカードから応答があったのか、複数の通信方式に対応した一台のスマートフォンから各通信方式のポーリングに対して応答があったのか特定することができない。このため、リーダ/ライタは、各通信方式のポーリングに対して応答があった場合にはエラーとして処理し、複数の通信方式に対応した一つの装置が通信相手であったとしても、通信を行わないこととなる。   By the way, some smartphones capable of short-range wireless communication support a plurality of communication methods. When there is a response from the smartphone for each polling for each communication method, on the reader / writer side, there are a plurality of IC cards with different communication methods in the vicinity, and there is a response from each IC card. It is not possible to specify whether there was a response to polling of each communication method from a single smartphone that supports the communication method. For this reason, the reader / writer processes an error when there is a response to polling of each communication method, and performs communication even if one device corresponding to a plurality of communication methods is a communication partner. It will not be.

本発明は、上述した背景の下になされたものであり、複数の通信方式に対応したリーダ/ライタに対して通信を行えるようにする技術を提供することを目的とする。   The present invention has been made under the above-described background, and an object of the present invention is to provide a technique that enables communication with a reader / writer that supports a plurality of communication methods.

上述した課題を解決するために本発明は、複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得手段と、前記選択した通信方式に従ったポーリング信号を前記取得手段が取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答手段と、前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得手段が取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更手段と、前記選択した通信方式に従った信号を前記取得手段が取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力手段と、を備える通信装置を提供する。 In order to solve the above-described problem, the present invention provides an acquisition unit that acquires a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods, and a polling signal according to the selected communication method. When the acquisition unit acquires the response signal, the response unit outputs a response signal that is a response to the polling signal, and the signal according to the selected communication method is predetermined after the response signal is output. When the acquisition unit does not acquire the time, when the acquisition unit acquires a signal according to the selected communication method and a change unit that changes the number of communication methods for communication to be smaller than before the change And an output means for outputting a signal in accordance with a communication method followed by the signal to the device that has transmitted the signal.

また、本発明においては、前記変更手段は、各々通信方式が異なる複数のポーリング信号を前記取得手段が取得した場合、選択する通信方式の数を当該取得したポーリング信号が従う通信方式の数より少なくする構成としてもよい。   Further, in the present invention, when the acquisition unit acquires a plurality of polling signals each having a different communication method, the changing unit reduces the number of communication methods to be selected from the number of communication methods followed by the acquired polling signal. It is good also as composition to do.

また、本発明においては、前記変更手段は、通信可能として選択する通信方式を前記取得手段が受信した信号の強度に応じて変更する構成としてもよい。   In the present invention, the changing unit may change the communication method selected as communicable according to the strength of the signal received by the acquiring unit.

また、本発明は、複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得ステップと、前記選択した通信方式に従ったポーリング信号を前記取得ステップで取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答ステップと、前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得ステップで取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更ステップと、前記選択した通信方式に従った信号を前記取得ステップで取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力ステップと、を備える通信方法を提供する。 According to the present invention, an acquisition step of acquiring a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods, and a polling signal according to the selected communication method are acquired in the acquisition step. A response step of outputting a response signal as a response to the polling signal, and a step of obtaining the signal in accordance with the selected communication method within a predetermined time after the output of the response signal. If it was not acquired in the change step to change the number of communication methods for communication to be less than before the change, and the signal according to the selected communication method was acquired in the acquisition step, the signal was transmitted An output step of outputting a signal in accordance with a communication method that the signal follows to an apparatus is provided.

また、本発明は、コンピュータを、複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得手段と、前記選択した通信方式に従ったポーリング信号を前記取得手段が取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答手段と、前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得手段が取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更手段と、前記選択した通信方式に従った信号を前記取得手段が取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力手段として機能させるためのプログラムを提供する。 Further, the present invention provides an acquisition means for acquiring a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods, and acquiring the polling signal according to the selected communication method. When the means obtains, the response means for outputting a response signal as a response to the polling signal, and the signal in accordance with the selected communication method within a predetermined time after the output of the response signal If the acquisition means does not acquire, the change means for changing the number of communication methods for communication to be less than before the change, and the signal when the acquisition means acquires a signal according to the selected communication method, the signal A program for functioning as an output means for outputting a signal in accordance with a communication method followed by the signal is provided to the device that transmitted the message.

本発明によれば、複数の通信方式に対応したリーダ/ライタに対して通信を行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, it can communicate with respect to the reader / writer corresponding to a some communication system.

本発明の一実施形態に係る装置を示した図である。It is the figure which showed the apparatus which concerns on one Embodiment of this invention. 端末装置10のハードウェア構成を示したブロック図。The block diagram which showed the hardware constitutions of the terminal device 10. 端末装置10の機能構成を示したブロック図。The block diagram which showed the function structure of the terminal device. 電子レジスター20のハードウェア構成を示したブロック図。The block diagram which showed the hardware constitutions of the electronic register 20. FIG. 電子レジスター20の機能構成を示したブロック図。The block diagram which showed the function structure of the electronic register. 第1実施形態の動作を説明するための図。The figure for demonstrating operation | movement of 1st Embodiment. 電子レジスター20が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the electronic register 20 performs. 第1実施形態の端末装置10が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the terminal device 10 of 1st Embodiment performs. 第2実施形態の電子レジスター20が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the electronic register 20 of 2nd Embodiment performs. 第3実施形態の端末装置10が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the terminal device 10 of 3rd Embodiment performs. 第3実施形態の動作を説明するための図。The figure for demonstrating operation | movement of 3rd Embodiment. 第4実施形態の端末装置10が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the terminal device 10 of 4th Embodiment performs. 第5実施形態の端末装置10が行う処理の流れを示したフローチャート。The flowchart which showed the flow of the process which the terminal device 10 of 5th Embodiment performs.

[第1実施形態]
図1は、本発明の実施形態に係る装置を示した図である。本実施形態に係る端末装置10は、所謂スマートフォンである。端末装置10は、本発明に係る通信装置の一例であり、NFC(Near Field Communication)の通信方式のうち、非接触ICカードの通信方式に従った通信を行う機能を備えている。なお、端末装置10は、スマートフォンに限定されるものではなく、移動体通信網を介して通信を行うタブレット端末やフィーチャフォン、データ通信に特化したコンピュータ装置、IEEE802.11規格に従って無線通信を行うコンピュータ装置などであってもよい。
電子レジスター20は、種々の機能を備えた金銭登録機である。電子レジスター20は、NFCの通信方式のうち、非接触ICカードの通信方式に従った通信を行う機能を備えており、スマートフォンやICカードと通信を行い、電子マネーでの決済を行う機能を備えている。
[First Embodiment]
FIG. 1 is a diagram showing an apparatus according to an embodiment of the present invention. The terminal device 10 according to the present embodiment is a so-called smartphone. The terminal device 10 is an example of a communication device according to the present invention, and has a function of performing communication according to a communication method of a non-contact IC card among NFC (Near Field Communication) communication methods. Note that the terminal device 10 is not limited to a smartphone, and performs wireless communication in accordance with a tablet terminal or a feature phone that performs communication via a mobile communication network, a computer device specialized for data communication, or the IEEE 802.11 standard. It may be a computer device or the like.
The electronic register 20 is a cash register machine having various functions. The electronic register 20 has a function of performing communication in accordance with a non-contact IC card communication method among NFC communication methods, and has a function of performing communication with a smartphone or an IC card and making a settlement with electronic money. ing.

(端末装置10の構成)
図2は、端末装置10のハードウェア構成の一例を示した図である。制御部101は、CPU(Central Processing Unit)やRAM(Random Access Memory)、不揮発性メモリを備えており、CPUが不揮発性メモリに記憶されているプログラムを実行すると、スマートフォンのオペレーティングシステムが実現する。
(Configuration of terminal device 10)
FIG. 2 is a diagram illustrating an example of a hardware configuration of the terminal device 10. The control unit 101 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and a non-volatile memory. When the CPU executes a program stored in the non-volatile memory, an operating system of a smartphone is realized.

表示部103は、表示装置(例えば液晶ディスプレイ)と入力装置とが一体化した所謂タッチパネルを備えており、端末装置10を操作するための画面や各種メッセージを表示する。操作部104は、端末装置10を操作するためのボタンを備えている。通信部105は、移動体通信網を介して無線通信を行う通信インターフェースとして機能する。   The display unit 103 includes a so-called touch panel in which a display device (for example, a liquid crystal display) and an input device are integrated, and displays a screen and various messages for operating the terminal device 10. The operation unit 104 includes buttons for operating the terminal device 10. The communication unit 105 functions as a communication interface that performs wireless communication via a mobile communication network.

音声処理部107は、マイクロホンとスピーカを有している。音声処理部107は、端末装置10同士が音声通話を行う場合、通話相手の音声に係るデジタル信号が通信部105から供給されると、供給されたデジタル信号をアナログ信号に変換する。このアナログ信号は、スピーカへ供給され、スピーカからは、通話相手の音声が放音される。また、音声処理部107は、マイクロホンが音声を収音すると、収音した音声をデジタル信号に変換する。音声処理部107は、端末装置10で音声通話を行う場合、ユーザの音声を変換したデジタル信号を通信部105へ供給する。このデジタル信号は、通信部105から移動体通信網へ送信され、通話相手の端末装置10へ送信される。   The audio processing unit 107 has a microphone and a speaker. When the terminal device 10 performs a voice call between the terminal devices 10, when a digital signal related to the voice of the other party is supplied from the communication unit 105, the voice processing unit 107 converts the supplied digital signal into an analog signal. This analog signal is supplied to a speaker, and the voice of the other party is emitted from the speaker. In addition, when the microphone collects sound, the sound processing unit 107 converts the collected sound into a digital signal. The voice processing unit 107 supplies a digital signal obtained by converting a user's voice to the communication unit 105 when the terminal device 10 performs a voice call. This digital signal is transmitted from the communication unit 105 to the mobile communication network and is transmitted to the terminal device 10 of the other party.

近距離通信部108は、NFCの通信方式のうち、非接触ICカードの通信方式に従った通信を行う。本実施形態においては、近距離通信部108は、複数の通信方式に対応しており、ISO/IEC 14443 TypeA(NFC−A)、ISO/IEC 14443 TypeB(NFC−B)、及びISO/IEC 18092の方式(NFC−F)に対応している。
記憶部102は、不揮発性メモリであり、各種アプリケーションプログラムやアプリケーションプログラムが使用するデータを記憶する。記憶部102は、電子マネーによる決済を実現するアプリケーションプログラムを記憶しており、制御部101が、このアプリケーションプログラムを実行すると、電子レジスター20と無線通信を行い、電子マネーを用いて決済を行う機能が実現する。
The short-range communication unit 108 performs communication in accordance with a non-contact IC card communication method among NFC communication methods. In this embodiment, the short-range communication unit 108 supports a plurality of communication methods, and ISO / IEC 14443 Type A (NFC-A), ISO / IEC 14443 Type B (NFC-B), and ISO / IEC 18092. (NFC-F).
The storage unit 102 is a nonvolatile memory, and stores various application programs and data used by the application programs. The storage unit 102 stores an application program that realizes settlement using electronic money. When the control unit 101 executes the application program, the storage unit 102 performs wireless communication with the electronic register 20 and performs settlement using electronic money. Is realized.

(端末装置10の機能構成)
図3は、アプリを実行することにより実現する機能のうち、本発明に係る機能の構成を示したブロック図である。
取得部151は、NFC−A、NFC−B及びNFC−Fのうち、通信可能として選択した通信方式に対応した信号を取得する。
変更部152は、複数の通信方式から通信可能として選択した通信方式に従ったポーリング信号を取得部151が取得した後、通信可能として選択されている通信方式に従った信号を予め定められた時間内に取得部151が取得しなかった場合、通信可能として選択する通信方式を変更する。
出力部153は、複数の通信方式から通信可能として選択した通信方式に従ったポーリング信号を取得部151が取得した後、当該ポーリング信号が従う通信方式に従った信号を予め定められた時間内に取得部151が取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する。
応答部154は、複数の通信方式から通信可能として選択した通信方式に従ったポーリング信号を取得部151が取得した場合、当該ポーリング信号への応答となる応答信号を、近距離通信部108を制御して送信する。
(Functional configuration of terminal device 10)
FIG. 3 is a block diagram showing a configuration of functions according to the present invention among functions realized by executing an application.
The acquisition unit 151 acquires a signal corresponding to the communication method selected as communicable among NFC-A, NFC-B, and NFC-F.
After the acquisition unit 151 acquires a polling signal according to a communication method selected as communicable from a plurality of communication methods, the changing unit 152 sets a signal according to the communication method selected as communicable for a predetermined time. If the acquisition unit 151 does not acquire the communication method, the communication method selected as communicable is changed.
After the acquisition unit 151 acquires a polling signal according to a communication method selected as communicable from a plurality of communication methods, the output unit 153 receives a signal according to the communication method that the polling signal follows within a predetermined time. When the acquisition unit 151 acquires the signal, the signal according to the communication method that the signal follows is output to the device that transmitted the signal.
When the acquisition unit 151 acquires a polling signal according to a communication method selected as communicable from a plurality of communication methods, the response unit 154 controls the short-range communication unit 108 with a response signal as a response to the polling signal. Then send.

(電子レジスター20の構成)
図4は、電子レジスター20のハードウェア構成を示したブロック図である。制御部201は、CPUやRAM、不揮発性メモリを備えており、CPUが不揮発性メモリに記憶されているプログラムを実行すると、商品の販売金額を計算して記録する機能、レシート発行機能、電子マネー決済機能、POS(Point Of Sales)機能、NFCの通信方式に従った通信を行う通信機能などの各種機能が実現する。記憶部202は、不揮発性メモリを有しており、商品の販売金額を記憶する。表示部203は、表示装置(例えば液晶ディスプレイ)と入力装置とが一体化した所謂タッチパネルを備えており、電子レジスター20を操作するための画面や各種メッセージを表示する。操作部204は、電子レジスター20を操作するためのキーやボタンなどを備えている。通信部205は、通信ネットワークに接続されており、電子レジスター20が設置されている店舗の売り上げを管理するサーバ装置と通信を行う。近距離通信部208は、NFCの通信方式のうち、非接触ICカードの通信方式に従った通信を行う。本実施形態においては、近距離通信部208は、複数の通信方式に対応しており、ISO/IEC 14443 TypeA(NFC−A)及びISO/IEC 14443 TypeB(NFC−B)に対応している。ドロワー制御部209は、電子レジスター20が備えるキャッシュドロワーの開閉を制御する。
(Configuration of electronic register 20)
FIG. 4 is a block diagram showing a hardware configuration of the electronic register 20. The control unit 201 includes a CPU, a RAM, and a non-volatile memory. When the CPU executes a program stored in the non-volatile memory, the control unit 201 calculates and records the sales price of the product, a receipt issuing function, and an electronic money. Various functions such as a settlement function, a POS (Point Of Sales) function, and a communication function for performing communication according to the NFC communication method are realized. The storage unit 202 has a non-volatile memory and stores the sales price of the product. The display unit 203 includes a so-called touch panel in which a display device (for example, a liquid crystal display) and an input device are integrated, and displays a screen and various messages for operating the electronic register 20. The operation unit 204 includes keys and buttons for operating the electronic register 20. The communication unit 205 is connected to a communication network and communicates with a server device that manages sales of a store where the electronic register 20 is installed. The short-range communication unit 208 performs communication according to a non-contact IC card communication method among NFC communication methods. In the present embodiment, the short-range communication unit 208 supports a plurality of communication methods, and supports ISO / IEC 14443 Type A (NFC-A) and ISO / IEC 14443 Type B (NFC-B). The drawer control unit 209 controls opening / closing of a cash drawer provided in the electronic register 20.

(電子レジスター20の機能構成)
図5は、電子レジスター20において実現する機能のうち、本発明に係る機能の構成を示したブロック図である。
ポーリング部251は、NFCの通信方式に従った通信を行う装置を検出するため、近距離通信部208を制御してポーリング処理を行う。ポーリング部251は、近距離通信部208を制御し、NFCの通信方式に従った通信を行う装置を検出するためのポーリング信号を送信する。また、ポーリング部251は、近距離通信部208が、ポーリング信号に対する応答である応答信号を取得すると、当該応答信号を取得する。
電子マネー処理部252は、近距離通信部208を制御し、電子マネーの決済に係る信号の送信及び受信を行う。
(Functional configuration of electronic register 20)
FIG. 5 is a block diagram showing a configuration of functions according to the present invention among the functions realized in the electronic register 20.
The polling unit 251 performs a polling process by controlling the short-range communication unit 208 in order to detect a device that performs communication according to the NFC communication method. The polling unit 251 controls the short-range communication unit 208 and transmits a polling signal for detecting a device that performs communication according to the NFC communication method. In addition, when the short-range communication unit 208 acquires a response signal that is a response to the polling signal, the polling unit 251 acquires the response signal.
The electronic money processing unit 252 controls the short-range communication unit 208 to transmit and receive a signal related to electronic money settlement.

(第1実施形態の動作例)
次に第1実施形態の動作例について図6−8を用いて説明する。なお、図6は、本実施形態の動作を説明するためのシーケンス図である。また、図7は、電子レジスター20が行う処理の流れを示したフローチャートであり、図8は、端末装置10が行う処理の流れを示したフローチャートである。以下の説明においては、電子マネーの決済処理を開始する前においては、端末装置10は、通信可能な通信方式として、NFC−A、NFC−B及びNFC−Fの方式を選択している場合を想定して動作の説明を行う。
(Operation example of the first embodiment)
Next, an operation example of the first embodiment will be described with reference to FIGS. FIG. 6 is a sequence diagram for explaining the operation of the present embodiment. FIG. 7 is a flowchart showing the flow of processing performed by the electronic register 20, and FIG. 8 is a flowchart showing the flow of processing performed by the terminal device 10. In the following description, before the electronic money settlement process is started, the terminal device 10 selects NFC-A, NFC-B, and NFC-F as communication methods capable of communication. The operation will be described on the assumption.

端末装置10のユーザは、電子レジスター20を備える店舗において電子マネーで決済を行う場合、電子マネーで決済を行うことを店舗の店員に伝える。店舗の店員は、電子マネーで決済を行うことを伝えられると、電子レジスター20の操作部204を操作し、電子マネーよる決済処理の実行を電子レジスター20へ指示する。   When the user of the terminal device 10 makes a payment with electronic money in a store having the electronic register 20, the user of the terminal device 10 informs the store clerk that the payment is made with electronic money. When a store clerk is informed that payment is to be made with electronic money, the store clerk operates the operation unit 204 of the electronic register 20 to instruct the electronic register 20 to execute a payment process using the electronic money.

電子レジスター20の制御部201は、電子マネーよる決済処理の実行を指示する操作が行われると、電子レジスター20の近傍においてNFCの通信方式に従った通信を行う装置を検出するため、ポーリング処理を行う。具体的には、電子レジスター20の制御部201は、まず、近距離通信部208を制御し、NFC−Aに対応した装置を検知するための信号(第1ポーリング信号)を送信する(ステップSA1,ステップS1)。次に制御部201は、ステップSA1で送信した第1ポーリング信号に対する応答となる信号を受信したか判断する。ここで、制御部201は、予め定められた時間の間、近距離通信部208が第1ポーリング信号に対する応答である応答信号を受信しなかった場合(ステップSA2でNO)、NFC−Aの応答信号を受信しなかったことを記憶する(ステップSA3)。   The control unit 201 of the electronic register 20 performs a polling process in order to detect a device that performs communication according to the NFC communication method in the vicinity of the electronic register 20 when an operation for instructing the execution of the payment process by the electronic money is performed. Do. Specifically, the control unit 201 of the electronic register 20 first controls the short-range communication unit 208 and transmits a signal (first polling signal) for detecting a device compatible with NFC-A (step SA1). , Step S1). Next, the control unit 201 determines whether a signal serving as a response to the first polling signal transmitted in step SA1 has been received. Here, when the short-range communication unit 208 has not received a response signal that is a response to the first polling signal for a predetermined time (NO in step SA2), the control unit 201 returns an NFC-A response. The fact that no signal has been received is stored (step SA3).

次に制御部201は、近距離通信部208を制御し、NFC−Bに対応した装置を検知するための信号(第2ポーリング信号)を送信する(ステップSA5,ステップS2)。また、制御部201は、ステップSA5で送信した第2ポーリング信号に対する応答となる信号を受信したか判断する。ここで、制御部201は、予め定められた時間の間、近距離通信部208が第2ポーリング信号に対する応答である応答信号を受信しなかった場合(ステップSA6でNO)、NFC−Bの応答信号を受信しなかったことを記憶する(ステップSA7)。   Next, the control unit 201 controls the short-range communication unit 208 and transmits a signal (second polling signal) for detecting a device compatible with NFC-B (step SA5, step S2). In addition, the control unit 201 determines whether a signal serving as a response to the second polling signal transmitted in step SA5 has been received. Here, when the short-range communication unit 208 does not receive a response signal that is a response to the second polling signal for a predetermined time (NO in step SA6), the control unit 201 responds with NFC-B. The fact that no signal has been received is stored (step SA7).

制御部201は、ポーリング信号を送信した後のステップで記憶した内容に基いて、端末装置10からの応答信号の有無を判断する。制御部201は、NFC−AとNFC−Bの両方について、端末装置10からの応答信号を受信しなかった場合(ステップSA9でYES)、処理の流れをステップSA1へ戻す。つまり、電子レジスター20は、端末装置10から応答信号を得られない場合、第1ポーリング信号と第2ポーリング信号の送信を繰り返すこととなる。   The control unit 201 determines the presence / absence of a response signal from the terminal device 10 based on the content stored in the step after transmitting the polling signal. When the control unit 201 has not received a response signal from the terminal device 10 for both NFC-A and NFC-B (YES in step SA9), the control unit 201 returns the processing flow to step SA1. That is, when the electronic register 20 cannot obtain the response signal from the terminal device 10, the electronic register 20 repeats transmission of the first polling signal and the second polling signal.

電子レジスター20が繰り返しポーリング処理を行っている状態において、端末装置10が近距離通信部208に近づけられると、端末装置10は、電子レジスター20から送信されているポーリング信号に応答する。
具体的には、電子レジスター20が第1ポーリング信号を送信すると(ステップSA1,ステップS3)、端末装置10の近距離通信部108が、第1ポーリング信号を受信する。近距離通信部108は、受信した信号を解析し、受信した信号がNFC−A、NFC−B及びNFC−Fのうち、いずれの方式に対応した信号であるか判定する。ここで、近距離通信部108は、受信した第1ポーリング信号がNFC−Aの信号であると判定すると、判定結果を制御部101へ通知する。端末装置10は、NFC−Aの通信方式に対応しており、通信可能な通信方式としてNFC−Aを選択しているため、制御部101は(取得部151)、通信可能としている方式のポーリング信号を受信したと判断する(ステップSB1でYES)。次に制御部101(応答部154)は、近距離通信部108を制御し、NFC−Aの通信方式に従った信号であって、第1ポーリング信号への応答となる第1応答信号を送信する(ステップSB2,ステップS4)。また、制御部101は、受信したポーリング信号の通信方式の種別(ここではNFC−A)を記憶する(ステップSB3)。一方、制御部201は、近距離通信部208が第1応答信号を受信すると(ステップSA2でYES)、第1応答信号が従う通信方式の種別である「NFC−A」を記憶する(ステップSA4)。
When the terminal device 10 is brought close to the short-range communication unit 208 in a state where the electronic register 20 repeatedly performs the polling process, the terminal device 10 responds to a polling signal transmitted from the electronic register 20.
Specifically, when the electronic register 20 transmits the first polling signal (Step SA1, Step S3), the short-range communication unit 108 of the terminal device 10 receives the first polling signal. The short-range communication unit 108 analyzes the received signal and determines which of the NFC-A, NFC-B, and NFC-F the received signal corresponds to. If the short-range communication unit 108 determines that the received first polling signal is an NFC-A signal, the short-range communication unit 108 notifies the control unit 101 of the determination result. Since the terminal device 10 corresponds to the NFC-A communication method and NFC-A is selected as a communication method capable of communication, the control unit 101 (acquisition unit 151) performs polling of a method that enables communication. It is determined that the signal has been received (YES in step SB1). Next, the control unit 101 (response unit 154) controls the short-range communication unit 108 and transmits a first response signal that is a signal in accordance with the NFC-A communication method and that is a response to the first polling signal. (Step SB2, Step S4). Further, the control unit 101 stores the type of communication method (here, NFC-A) of the received polling signal (step SB3). On the other hand, when the short-range communication unit 208 receives the first response signal (YES in step SA2), the control unit 201 stores “NFC-A”, which is the type of communication method followed by the first response signal (step SA4). ).

次に、電子レジスター20が第2ポーリング信号を送信すると(ステップSA5,ステップS5)、近距離通信部108が、第2ポーリング信号を受信する。近距離通信部108は、受信した第2ポーリング信号がNFC−Bの信号であると判定すると、判定結果を制御部101へ通知する。端末装置10は、NFC−Bの通信方式に対応しており、通信可能な通信方式としてNFC−Bを選択しているため、制御部101(取得部151)は、通信可能としている方式のポーリング信号を受信したと判断する(ステップSB1でYES)。次に制御部101(応答部154)は、近距離通信部108を制御し、NFC−Bの通信方式に従った信号であって、第2ポーリング信号への応答となる第2応答信号を送信する(ステップSB2,ステップS6)。また、制御部101は、受信したポーリング信号の通信方式の種別(ここではNFC−B)を記憶する(ステップSB3)。一方、制御部201は、近距離通信部208が第2応答信号を受信すると(ステップSA6でYES)、第2応答信号が従う通信方式の種別である「NFC−B」を記憶する(ステップSA8)。   Next, when the electronic register 20 transmits the second polling signal (step SA5, step S5), the short-range communication unit 108 receives the second polling signal. If the short-range communication unit 108 determines that the received second polling signal is an NFC-B signal, the short-range communication unit 108 notifies the control unit 101 of the determination result. Since the terminal device 10 corresponds to the NFC-B communication method and selects NFC-B as a communication method capable of communication, the control unit 101 (acquisition unit 151) performs polling of a method that enables communication. It is determined that the signal has been received (YES in step SB1). Next, the control unit 101 (response unit 154) controls the short-range communication unit 108, and transmits a second response signal that is a signal in accordance with the NFC-B communication method and that is a response to the second polling signal. (Step SB2, Step S6). Further, the control unit 101 stores the type of communication method (here, NFC-B) of the received polling signal (step SB3). On the other hand, when the short-range communication unit 208 receives the second response signal (YES in step SA6), the control unit 201 stores “NFC-B”, which is the type of communication method followed by the second response signal (step SA8). ).

制御部201は、ポーリング信号を送信した後のステップで記憶した内容に基いて、端末装置10からの応答信号の有無を判断する。制御部201は、端末装置10からの応答信号を受信した場合(ステップSA9でNO)、記憶した内容に基いて、複数の通信方式の応答信号を受信したか判断する(ステップSA10)。制御部201は、上述の第1応答信号と第2応答信号の2つを受信した場合のように、複数の通信方式の応答信号を受信した場合(ステップSA10でYES)、NFC−Aに対応したICカードと、NFC−Bに対応したICカードとがあるのか、NFC−AとNFC−Bに対応した一台の端末装置があるのか不明と判断してポーリング処理をエラーとし、記憶した通信方式の種別を消去し(ステップSA11)、処理の流れをステップSA1へ戻す。   The control unit 201 determines the presence / absence of a response signal from the terminal device 10 based on the content stored in the step after transmitting the polling signal. When the control unit 201 receives a response signal from the terminal device 10 (NO in step SA9), the control unit 201 determines whether a response signal of a plurality of communication methods has been received based on the stored content (step SA10). The control unit 201 corresponds to NFC-A when receiving a response signal of a plurality of communication methods (YES in step SA10) as in the case of receiving two of the first response signal and the second response signal described above. Communication that has been determined that it is unclear whether there is an IC card that is compatible with NFC-B or one terminal device that is compatible with NFC-A and NFC-B, and the polling process is an error. The method type is deleted (step SA11), and the process flow returns to step SA1.

一方、制御部101(変更部152)は、応答信号を送信した後、記憶した通信方式の種別に従った信号であって、電子マネーによる決済処理に係る信号が送信されず(ステップSB4でNO)、通信方式の種別を記憶してから所定時間が経過していると(ステップSB5でYES)、通信方式の種別を複数記憶済みであるか判断する(ステップSB7)。ここで制御部101は、通信方式の種別を複数記憶済みである場合(ステップSB7でYES)、通信可能とする通信方式を選択する(ステップSB8)。例えば、制御部101は、上述したように、通信方式の種別として、NFC−AとNFC−Bを記憶した場合、NFC−Aを通信可能な通信方式として選択し、NFC−Bを通信不可の通信方式として選択する。つまり、制御部101(変更部152)は、通信可能とする通信方式を変更する。なお、制御部101は、NFC−Bを通信可能な通信方式として選択し、NFC−Aを通信不可の通信方式として選択してもよい。
制御部101は、ステップSB7でNOと判断した場合、記憶した通信方式の種別を消去し(ステップSB9)、処理の流れをステップSB1に戻す。制御部101は、ステップSB8又はステップSB9から処理の流れをステップSB1へ戻す場合、ステップSB5で判断している時間のカウントを初期化する。
On the other hand, after transmitting the response signal, the control unit 101 (changing unit 152) is a signal according to the type of the stored communication method and does not transmit a signal related to the settlement process using electronic money (NO in step SB4). ) If a predetermined time has elapsed after storing the type of communication method (YES in step SB5), it is determined whether a plurality of types of communication method have been stored (step SB7). If a plurality of types of communication methods have already been stored (YES in step SB7), the control unit 101 selects a communication method that enables communication (step SB8). For example, as described above, when NFC-A and NFC-B are stored as types of communication methods, the control unit 101 selects NFC-A as a communication method capable of communication and cannot communicate with NFC-B. Select as the communication method. That is, the control unit 101 (change unit 152) changes the communication method that enables communication. Note that the control unit 101 may select NFC-B as a communication method capable of communication and select NFC-A as a communication method incapable of communication.
When it is determined NO in Step SB7, the control unit 101 deletes the type of the stored communication method (Step SB9) and returns the process flow to Step SB1. When returning the processing flow from step SB8 or step SB9 to step SB1, the control unit 101 initializes the count of the time determined in step SB5.

制御部201は、ステップSA11の後、処理の流れをステップSA1へ戻すと、近距離通信部208を制御し、第1ポーリング信号を送信する(ステップSA1,ステップS7)。近距離通信部108は、受信した信号が第1ポーリング信号であると判定すると、判定結果を制御部101へ通知する。端末装置10は、NFC−Aの通信方式に対応しており、上述したステップSB8で通信可能な通信方式としてNFC−Aを選択しているため、制御部101は、通信可能としている方式のポーリング信号を受信したと判断する(ステップSB1でYES)。次に制御部101は、近距離通信部108を制御し、第1応答信号を送信する(ステップSB2,ステップS8)。また、制御部101は、受信したポーリング信号の通信方式の種別(ここではNFC−A)を記憶する(ステップSB3)。一方、制御部201は、近距離通信部208が第1応答信号を受信すると、第1応答信号が従う通信方式の種別である「NFC−A」を記憶する(ステップSA4)。   After returning to step SA1 after step SA11, control unit 201 controls short-range communication unit 208 and transmits the first polling signal (step SA1, step S7). If the short-range communication unit 108 determines that the received signal is the first polling signal, the short-range communication unit 108 notifies the control unit 101 of the determination result. Since the terminal device 10 corresponds to the NFC-A communication method and NFC-A is selected as the communication method capable of communication in the above-described step SB8, the control unit 101 performs polling of the method that enables communication. It is determined that the signal has been received (YES in step SB1). Next, the control unit 101 controls the short-range communication unit 108 and transmits a first response signal (step SB2, step S8). Further, the control unit 101 stores the type of communication method (here, NFC-A) of the received polling signal (step SB3). On the other hand, when the short-range communication unit 208 receives the first response signal, the control unit 201 stores “NFC-A”, which is the type of communication method followed by the first response signal (step SA4).

次に、電子レジスター20が第2ポーリング信号を送信すると(ステップSA5,ステップS9)、近距離通信部108が、第2ポーリング信号を受信する。近距離通信部108は、受信した信号が第2ポーリング信号であると判定すると、判定結果を制御部101へ通知する。ここで制御部101は、上述したステップSB8の処理において、NFC−Bを通信不可の通信方式として選択したため、ステップSB1でNOと判断し、第2応答信号を送信しないこととなる。一方、制御部201は、近距離通信部208が第2応答信号を受信しないため、ステップSA6でNOと判断し、第2応答信号を受信しなかったことを記憶する(ステップSA7)。   Next, when the electronic register 20 transmits the second polling signal (step SA5, step S9), the short-range communication unit 108 receives the second polling signal. If the short-range communication unit 108 determines that the received signal is the second polling signal, the short-range communication unit 108 notifies the control unit 101 of the determination result. Here, since the control unit 101 has selected NFC-B as the communication method incapable of communication in the process of step SB8 described above, the control unit 101 determines NO in step SB1 and does not transmit the second response signal. On the other hand, since the short-range communication unit 208 does not receive the second response signal, the control unit 201 determines NO in step SA6 and stores that the second response signal has not been received (step SA7).

制御部201は、ポーリング信号を送信した後のステップで記憶した内容に基いて、端末装置10からの応答信号の有無を判断する。上述したように、制御部201は、端末装置10からの応答信号を受信した場合(ステップSA9でNO)、記憶した内容に基いて、複数の通信方式の応答信号を受信したか判断する(ステップSA10)。制御部201は、上述したように、NFC−Aについて応答信号を受信し、NFC−Bについて応答信号を受信しなかった場合、ステップSA10でNOと判断する。   The control unit 201 determines the presence / absence of a response signal from the terminal device 10 based on the content stored in the step after transmitting the polling signal. As described above, when the control unit 201 receives a response signal from the terminal device 10 (NO in step SA9), the control unit 201 determines whether a response signal of a plurality of communication methods has been received based on the stored contents (step). SA10). As described above, when the control unit 201 receives a response signal for NFC-A and does not receive a response signal for NFC-B, the control unit 201 determines NO in step SA10.

制御部201は、ステップSA10でNOと判断すると、記憶した通信方式の種別(本動作例ではNFC−A)に従って電子マネーの決済処理に係る信号の送信及び受信を行う(ステップSA12,ステップS10)。また、端末装置10(出力部153)は、決済処理に係る信号を受信すると(ステップSB1でYES,ステップSB4でYES)、電子マネーの決済処理に係る信号の送信及び受信を行う(ステップSB6)。   If the control unit 201 determines NO in step SA10, the control unit 201 transmits and receives a signal related to electronic money settlement processing according to the type of communication method stored (NFC-A in this operation example) (step SA12, step S10). . Further, when the terminal device 10 (output unit 153) receives the signal related to the payment process (YES in step SB1, YES in step SB4), the terminal apparatus 10 (output unit 153) transmits and receives the signal related to the electronic money payment process (step SB6). .

以上説明したように、本実施形態によれば、電子レジスター20が、複数の通信方式でのポーリング処理のそれぞれに応答があるとエラーとする構成であっても、端末装置10は、通信可能として応答する通信方式を減らすため、端末装置10は、リーダ/ライタとして機能する電子レジスター20と通信を行うことができる。   As described above, according to the present embodiment, even if the electronic register 20 has a configuration in which an error occurs when there is a response to each of the polling processes in a plurality of communication methods, the terminal device 10 can communicate. In order to reduce the communication method to respond, the terminal device 10 can communicate with the electronic register 20 that functions as a reader / writer.

なお、電子レジスター20が、NFC−AとNFC−Fとに対応したものである場合、制御部101は、NFC−Aのポーリング信号とNFC−Fのポーリング信号に応答した後、所定時間経過しても電子マネーの決済処理に係る信号を受信しない場合には、NFC−AとNFC−Fのいずれか一方の通信方式を、通信可能な通信方式として選択し、他方を通信不可の通信方式として選択するようにしてもよい。
また、電子レジスター20が、NFC−BとNFC−Fとに対応したものである場合、制御部101は、NFC−Bのポーリング信号とNFC−Fのポーリング信号に応答した後、所定時間経過しても電子マネーの決済処理に係る信号を受信しなかった場合には、NFC−BとNFC−Fのいずれか一方の通信方式を、通信可能な通信方式として選択し、他方を通信不可の通信方式として選択するようにしてもよい。
また、電子レジスター20が、NFC−A、NFC−B及びNFC−Fの通信方式に対応したものである場合、制御部101は、それぞれの通信方式のポーリング信号に応答した後、所定時間経過しても電子マネーの決済処理に係る信号を受信しなかった場合には、NFC−A、NFC−B及びNFC−Fのいずれか一つの通信方式を、通信可能な通信方式として選択し、他の通信方式を通信不可の通信方式として選択するようにしてもよい。
また、電子レジスター20が、NFC−A、NFC−B及びNFC−Fの通信方式に対応したものである場合、制御部101は、各通信方式のポーリング信号に応答した後、所定時間経過しても電子マネーの決済処理に係る信号を受信しなかった場合、通信可能とする通信方式を一つ減らすようにしてもよい。
When the electronic register 20 is compatible with NFC-A and NFC-F, the control unit 101 responds to the NFC-A polling signal and the NFC-F polling signal, and then a predetermined time elapses. However, if a signal related to electronic money settlement processing is not received, one of NFC-A and NFC-F is selected as a communicable communication method and the other as a communication method incapable of communication. You may make it select.
When the electronic register 20 is compatible with NFC-B and NFC-F, the control unit 101 responds to the NFC-B polling signal and the NFC-F polling signal, and then a predetermined time elapses. However, if the signal related to the electronic money settlement process is not received, either one of the communication methods of NFC-B and NFC-F is selected as a communication method capable of communication, and the other communication is not possible. You may make it select as a system.
Further, when the electronic register 20 is compatible with NFC-A, NFC-B, and NFC-F communication systems, the control unit 101 responds to a polling signal of each communication system and a predetermined time elapses. However, if a signal related to the electronic money settlement process is not received, one of NFC-A, NFC-B, and NFC-F is selected as a communicable communication method, and the other The communication method may be selected as a communication method incapable of communication.
When the electronic register 20 is compatible with NFC-A, NFC-B, and NFC-F communication systems, the control unit 101 responds to a polling signal for each communication system and a predetermined time elapses. In the case where the signal related to the payment processing of electronic money is not received, the communication method for enabling communication may be reduced by one.

[第2実施形態]
次に、本発明の第2実施形態について説明する。本発明の第2実施形態に係る装置は、第1実施形態と同じく端末装置10と電子レジスター20であり、各装置のハードウェア構成は第1実施形態と同じである。本実施形態においては、各装置が行う処理が第1実施形態と異なる。このため、第1実施形態と同じ構成については説明を省略し、以下では第1実施形態との相違点について説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The device according to the second embodiment of the present invention is the terminal device 10 and the electronic register 20 as in the first embodiment, and the hardware configuration of each device is the same as that in the first embodiment. In the present embodiment, the processing performed by each device is different from the first embodiment. For this reason, description about the same structure as 1st Embodiment is abbreviate | omitted, and the difference with 1st Embodiment is demonstrated below.

図9は、本実施形態に係る電子レジスター20が行う処理の流れを示したフローチャートである。店舗の店員が電子レジスター20の操作部204を操作し、電子マネーよる決済処理の実行を電子レジスター20へ指示すると、電子レジスター20は、図9に示した処理を実行する。   FIG. 9 is a flowchart showing a flow of processing performed by the electronic register 20 according to the present embodiment. When the store clerk operates the operation unit 204 of the electronic cash register 20 to instruct the electronic cash register 20 to execute the settlement process using the electronic money, the electronic cash register 20 executes the process shown in FIG.

具体的には、まず、制御部201は、通信相手となる装置が端末装置であるか問い合わせる信号(問合せ信号)を、近距離通信部208を制御して送信する(ステップSC1)。なお、この信号を送信するときの通信方式は、NFC−A、NFC−B、NFC−Fのいずれかであってもよい。また、この信号は、例えば、近距離通信部108が赤外線通信やIEEE802.11規格に従った通信に対応している場合、赤外線通信やIEEE802.11規格に従った通信で送信してもよい。   Specifically, first, the control unit 201 controls the near field communication unit 208 to transmit a signal (inquiry signal) for inquiring whether the device that is the communication partner is a terminal device (step SC1). Note that the communication method for transmitting this signal may be any one of NFC-A, NFC-B, and NFC-F. For example, when the short-range communication unit 108 supports infrared communication or communication conforming to the IEEE 802.11 standard, this signal may be transmitted via infrared communication or communication conforming to the IEEE 802.11 standard.

本実施形態に係る端末装置10は、問合せ信号を受信すると、問合せ信号に対応する応答となる信号(以下、第3応答信号と称する)を送信する。制御部201は、近距離通信部208が第3応答信号を受信すると(ステップSC2でYES)、通信相手となる装置が、複数の通信方式に対応した通信装置であると判断し、図7に示した処理を実行して上述した第1実施形態の動作を行う。   When receiving the inquiry signal, the terminal device 10 according to the present embodiment transmits a signal (hereinafter referred to as a third response signal) that becomes a response corresponding to the inquiry signal. When the short-range communication unit 208 receives the third response signal (YES in step SC2), the control unit 201 determines that the communication partner device is a communication device that supports a plurality of communication schemes, and FIG. The processing shown is executed to perform the operation of the first embodiment described above.

一方、例えば、ICカードのように、複数の通信方式に対応しておらず、問合せ信号に応答する手段を持たない装置が問合せ信号の送信範囲内にある場合、第3応答信号が送信されてこないため(ステップSC2でNO)、電子レジスター20は、上述した実施形態とは異なる動作となり、ICカード用の処理を実行する(ステップSC3)。
例えば、電子レジスター20においては、店員が電子レジスター20を操作し、ICカードの種類を入力する。電子レジスター20は、ICカードの種類と、ICカードが対応している通信方式とを対応付けて記憶しており、入力されたICカードの種類を取得する。電子レジスター20は、記憶している情報に基いて、取得した種類のICカードが対応している通信方式を特定する。電子レジスター20は、特定した通信方式に従って、電子マネーの決済処理に係る信号の送信及び受信を行う。
On the other hand, for example, when a device that does not support a plurality of communication methods and has no means for responding to an inquiry signal, such as an IC card, is within the transmission range of the inquiry signal, the third response signal is transmitted. Since this is not the case (NO in step SC2), the electronic register 20 operates differently from the above-described embodiment, and executes processing for the IC card (step SC3).
For example, in the electronic register 20, the store clerk operates the electronic register 20 and inputs the type of IC card. The electronic register 20 stores the type of the IC card in association with the communication method supported by the IC card, and acquires the type of the input IC card. The electronic register 20 specifies a communication method supported by the acquired type of IC card based on the stored information. The electronic register 20 transmits and receives signals related to electronic money settlement processing according to the specified communication method.

本実施形態によれば、電子レジスター20が、複数の通信方式でのポーリング処理に応答があった場合にエラーとする構成であっても、端末装置10は、通信可能として応答する通信方式を減らすため、電子レジスター20と端末装置10は、通信を行うことができる。   According to the present embodiment, even if the electronic register 20 has a configuration in which an error occurs when there is a response to polling processing in a plurality of communication methods, the terminal device 10 reduces the communication method that responds as communicable. Therefore, the electronic register 20 and the terminal device 10 can communicate.

[第3実施形態]
次に、本発明の第3実施形態について説明する。本発明の第3実施形態に係る装置は、第1実施形態と同じく端末装置10と電子レジスター20であり、各装置のハードウェア構成は第1実施形態と同じである。本実施形態においては、各装置が行う処理が第1実施形態と異なる。このため、第1実施形態と同じ構成については説明を省略し、以下では第1実施形態との相違点について説明する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. The device according to the third embodiment of the present invention is the terminal device 10 and the electronic register 20 as in the first embodiment, and the hardware configuration of each device is the same as that in the first embodiment. In the present embodiment, the processing performed by each device is different from the first embodiment. For this reason, description about the same structure as 1st Embodiment is abbreviate | omitted, and the difference with 1st Embodiment is demonstrated below.

図10は、本実施形態に係る端末装置10が行う処理の流れを示したフローチャートであり、図11は、本実施形態の動作を説明するためのシーケンス図である。本実施形態においては、端末装置10が実行する処理が第1実施形態と異なる。以下、図6,10,11を参照し、本実施形態の動作例について説明する。なお、以下の説明においては、電子マネーの決済処理を開始する前においては、端末装置10は、通信可能な通信方式として、NFC−A、NFC−B及びNFC−Fの方式を選択している場合を想定して動作の説明を行う。   FIG. 10 is a flowchart showing the flow of processing performed by the terminal device 10 according to the present embodiment, and FIG. 11 is a sequence diagram for explaining the operation of the present embodiment. In this embodiment, the process which the terminal device 10 performs differs from 1st Embodiment. Hereinafter, an operation example of this embodiment will be described with reference to FIGS. In the following description, the terminal device 10 selects the NFC-A, NFC-B, and NFC-F methods as communication methods that allow communication before the electronic money settlement process is started. The operation will be described assuming the case.

電子レジスター20の制御部201は、電子マネーよる決済処理の実行を指示する操作が行われると、電子レジスター20の近傍においてNFCの通信方式に従った通信を行う装置を検出するため、ポーリング処理を行う。
電子レジスター20が第1ポーリング信号を送信すると(ステップSA1,ステップ20)、近距離通信部108が、送信された第1ポーリング信号を受信する。端末装置10は、NFC−Aの通信方式に対応しており、通信可能な通信方式としてNFC−Aを選択しているため(ステップSD1でYES)、第1応答信号を送信する(ステップSD2,ステップS21)。一方、制御部201は、近距離通信部208が第1応答信号を受信すると(ステップSA2でYES)、第1応答信号が従う通信方式の種別である「NFC−A」を記憶する(ステップSA4)。
The control unit 201 of the electronic register 20 performs a polling process in order to detect a device that performs communication according to the NFC communication method in the vicinity of the electronic register 20 when an operation for instructing the execution of the payment process by the electronic money is performed. Do.
When the electronic register 20 transmits the first polling signal (step SA1, step 20), the short-range communication unit 108 receives the transmitted first polling signal. Since the terminal device 10 is compatible with the NFC-A communication method and has selected NFC-A as a communicable communication method (YES in step SD1), the terminal device 10 transmits a first response signal (step SD2, Step S21). On the other hand, when the short-range communication unit 208 receives the first response signal (YES in step SA2), the control unit 201 stores “NFC-A”, which is the type of communication method followed by the first response signal (step SA4). ).

次に、電子レジスター20が第2ポーリング信号を送信すると(ステップSA5,ステップS22)、近距離通信部108が、送信された第2ポーリング信号を受信する。端末装置10は、NFC−Bの通信方式に対応しており、通信可能な通信方式としてNFC−Bを選択しているため(ステップSD1でYES)、第2応答信号を送信する(ステップSD2,ステップS23)。一方、制御部201は、近距離通信部208が第2応答信号を受信すると(ステップSA6でYES)、第2応答信号が従う通信方式の種別である「NFC−B」を記憶する(ステップSA8)。   Next, when the electronic register 20 transmits the second polling signal (steps SA5 and S22), the short-range communication unit 108 receives the transmitted second polling signal. Since the terminal device 10 is compatible with the NFC-B communication method and selects NFC-B as the communication method capable of communication (YES in step SD1), the terminal device 10 transmits a second response signal (step SD2, Step S23). On the other hand, when the short-range communication unit 208 receives the second response signal (YES in step SA6), the control unit 201 stores “NFC-B”, which is the type of communication method followed by the second response signal (step SA8). ).

制御部201は、ポーリング信号を送信した後のステップで記憶した内容に基いて、端末装置10からの応答信号の有無を判断する。制御部201は、端末装置10からの応答信号を受信した場合(ステップSA9でNO)、記憶した内容に基いて、複数の通信方式の応答信号を受信したか判断する(ステップSA10)。制御部201は、上述の第1応答信号と第2応答信号の2つを受信した場合のように、複数の通信方式の応答信号を受信した場合(ステップSA10でYES)、NFC−Aに対応したICカードと、NFC−Bに対応したICカードとがあるのか、NFC−AとNFC−Bに対応した一台の端末装置があるのか不明と判断してポーリング処理をエラーとし、記憶した通信方式の種別を消去し(ステップSA11)、処理の流れをステップSA1へ戻す。   The control unit 201 determines the presence / absence of a response signal from the terminal device 10 based on the content stored in the step after transmitting the polling signal. When the control unit 201 receives a response signal from the terminal device 10 (NO in step SA9), the control unit 201 determines whether a response signal of a plurality of communication methods has been received based on the stored content (step SA10). The control unit 201 corresponds to NFC-A when receiving a response signal of a plurality of communication methods (YES in step SA10) as in the case of receiving two of the first response signal and the second response signal described above. Communication that has been determined that it is unclear whether there is an IC card that is compatible with NFC-B or one terminal device that is compatible with NFC-A and NFC-B, and the polling process is an error. The method type is deleted (step SA11), and the process flow returns to step SA1.

一方、制御部101は、応答信号を送信した後、通信可能としている通信方式の種別に従った信号であって、電子マネーによる決済処理に係る信号が送信されず(ステップSD4でNO)、通信可能な通信方式を選択してから所定時間が経過していると(ステップSD5でYES)、通信可能とする通信方式を変更する(ステップSD7)。例えば、制御部101は、上述したように、通信可能な通信方式を、NFC−A、NFC−B及びNFC−Fとしている場合、NFC−AとNFC−Fを通信可能な通信方式とし、NFC−Bを通信不可の通信方式とする。なお、制御部101は、ステップSD7から処理の流れをステップSD1へ戻す場合、ステップSD5で判断している時間のカウントを初期化する。   On the other hand, after transmitting the response signal, the control unit 101 is a signal according to the type of communication method that is communicable, and the signal related to the payment processing by electronic money is not transmitted (NO in step SD4). If a predetermined time has elapsed after selecting a possible communication method (YES in step SD5), the communication method to enable communication is changed (step SD7). For example, as described above, when the communication method capable of communication is NFC-A, NFC-B, and NFC-F, the control unit 101 sets NFC-A and NFC-F to be able to communicate with each other. -B is a communication method incapable of communication. Note that, when returning the processing flow from step SD7 to step SD1, the control unit 101 initializes the count of the time determined in step SD5.

制御部201は、ステップSA11の後、処理の流れをステップSA1へ戻すと、近距離通信部208を制御し、第1ポーリング信号を送信する(ステップSA1、ステップS24)。端末装置10の近距離通信部108は、第1ポーリング信号を受信する。端末装置10は、NFC−Aの通信方式に対応しており、ここでは通信可能な通信方式としてNFC−Aを選択しているため(ステップSD1でYES)、制御部101は、近距離通信部108を制御して第1応答信号を送信する(ステップSD2,ステップS25)。一方、制御部201は、近距離通信部208が第1応答信号を受信すると(ステップSA2でYES)、応答信号の種別「NFC−A」を記憶する(ステップSA4)。   After returning to step SA1 after step SA11, control unit 201 controls short-range communication unit 208 and transmits the first polling signal (step SA1, step S24). The short-range communication unit 108 of the terminal device 10 receives the first polling signal. Since the terminal device 10 corresponds to the NFC-A communication method, and NFC-A is selected as a communicable communication method here (YES in step SD1), the control unit 101 is a short-range communication unit. The first response signal is transmitted by controlling 108 (step SD2, step S25). On the other hand, when the short-range communication unit 208 receives the first response signal (YES in step SA2), the control unit 201 stores the response signal type “NFC-A” (step SA4).

次に、電子レジスター20が第2ポーリング信号を送信すると(ステップSA5,ステップS26)、近距離通信部108が、第2ポーリング信号を受信する。近距離通信部108は、受信した信号が第2ポーリング信号であると判定すると、判定結果を制御部101へ通知する。ここで制御部101は、上述したステップSD7の処理において、NFC−Bを通信不可の通信方式として選択したため、ステップSD1でNOと判断し、第2応答信号を送信しないこととなる。
一方、制御部201は、近距離通信部208が第2応答信号を受信しないため、ステップSA6でNOと判断し、第2応答信号を受信しなかったことを記憶する(ステップSA7)。
Next, when the electronic register 20 transmits the second polling signal (step SA5, step S26), the short-range communication unit 108 receives the second polling signal. If the short-range communication unit 108 determines that the received signal is the second polling signal, the short-range communication unit 108 notifies the control unit 101 of the determination result. Here, since the control unit 101 has selected NFC-B as the communication method incapable of communication in the process of step SD7 described above, it determines NO in step SD1 and does not transmit the second response signal.
On the other hand, since the short-range communication unit 208 does not receive the second response signal, the control unit 201 determines NO in step SA6 and stores that the second response signal has not been received (step SA7).

制御部201は、ポーリング信号を送信した後で記憶した内容に基いて、端末装置10からの応答信号の有無を判断する。上述したように、制御部201は、端末装置10からの応答信号を受信した場合(ステップSA9でNO)、記憶した内容に基いて、複数の通信方式の応答信号を受信したか判断する(ステップSA10)。制御部201は、上述したように、NFC−Aについて応答信号を受信し、NFC−Bについて応答信号を受信しなかった場合、ステップSA10でNOと判断する。   The control unit 201 determines the presence or absence of a response signal from the terminal device 10 based on the content stored after transmitting the polling signal. As described above, when the control unit 201 receives a response signal from the terminal device 10 (NO in step SA9), the control unit 201 determines whether a response signal of a plurality of communication methods has been received based on the stored contents (step). SA10). As described above, when the control unit 201 receives a response signal for NFC-A and does not receive a response signal for NFC-B, the control unit 201 determines NO in step SA10.

制御部201は、ステップSA10でNOと判断すると、記憶した通信方式の種別(本動作例ではNFC−A)に従って電子マネーの決済処理に係る信号の送信及び受信を行う(ステップSA12,ステップS27)。また、端末装置10は、決済処理に係る信号を受信すると(ステップSD1でYES、ステップSD4でYES)、電子マネーの決済処理に係る信号の送信及び受信を行う(ステップSD6)。   If the control unit 201 determines NO in step SA10, the control unit 201 transmits and receives a signal related to electronic money settlement processing according to the type of communication method stored (NFC-A in this operation example) (step SA12, step S27). . Further, when receiving the signal related to the payment process (YES in step SD1, YES in step SD4), the terminal device 10 transmits and receives a signal related to the payment process for electronic money (step SD6).

以上説明したように、本実施形態によれば、電子レジスター20が、複数の通信方式でのポーリング処理のそれぞれに応答があるとエラーとする構成であっても、端末装置10は、通信可能として応答する通信方式を変更するため、端末装置10は、リーダ/ライタとして機能する電子レジスター20と通信を行うことができる。   As described above, according to the present embodiment, even if the electronic register 20 has a configuration in which an error occurs when there is a response to each of the polling processes in a plurality of communication methods, the terminal device 10 can communicate. In order to change the communication method to respond, the terminal device 10 can communicate with the electronic register 20 that functions as a reader / writer.

なお、端末装置10は、応答信号を送信した後、決済に係る信号を所定時間内に受信しなかった場合、ステップSD7において、通信可能とする通信方式を変更するが、通信可能とする通信方式は、所定時間が経過する毎に、「NFC−A、NFC−B及びNFC−F」→「NFC−A」→「NFC−B」→「NFC−F」→「NFC−A、NFC−B及びNFC−F」→・・・、という順番で変更してもよい。また、通信可能とする通信方式を変更する順番は、上述の順番に限定されるものではなく、他の順番で変更してもよい。   If the terminal device 10 does not receive a signal related to payment within a predetermined time after transmitting the response signal, the terminal device 10 changes the communication method that enables communication in step SD7. Is “NFC-A, NFC-B and NFC-F” → “NFC-A” → “NFC-B” → “NFC-F” → “NFC-A, NFC-B” And NFC-F ”→... Further, the order of changing the communication method that enables communication is not limited to the above-described order, and may be changed in another order.

[第4実施形態]
次に、本発明の第4実施形態について説明する。本発明の第4実施形態に係る装置は、第1実施形態と同じく端末装置10と電子レジスター20であり、各装置のハードウェア構成は第1実施形態と同じである。本実施形態においては、各装置が行う処理が第1実施形態と異なる。このため、第1実施形態と同じ構成については説明を省略し、以下では第1実施形態との相違点について説明する。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described. The device according to the fourth embodiment of the present invention is the terminal device 10 and the electronic register 20 as in the first embodiment, and the hardware configuration of each device is the same as in the first embodiment. In the present embodiment, the processing performed by each device is different from the first embodiment. For this reason, description about the same structure as 1st Embodiment is abbreviate | omitted, and the difference with 1st Embodiment is demonstrated below.

本実施形態においては、端末装置10の近距離通信部108は、NFCの通信における搬送波の電界強度を測定する機能を有する。端末装置10は、NFCの通信で電子レジスター20から出力される搬送波の電界強度に応じて、通信可能とする通信方式を選択する。図12は、本実施形態に係る端末装置10の制御部101が行う処理の流れを示したフローチャートである。   In the present embodiment, the short-range communication unit 108 of the terminal device 10 has a function of measuring the electric field strength of a carrier wave in NFC communication. The terminal device 10 selects a communication method that enables communication according to the electric field strength of the carrier wave output from the electronic register 20 in NFC communication. FIG. 12 is a flowchart illustrating a flow of processing performed by the control unit 101 of the terminal device 10 according to the present embodiment.

制御部101は、搬送波の電界強度が予め定められた閾値以上である場合(ステップSE1でYES)、通信可能とする通信方式をNFC−Fとする(ステップSE2)。また、制御部101は、搬送波の電界強度が予め定められた閾値未満である場合(ステップSE1でNO)、通信可能とする通信方式をNFC−A及びNFC−Bとする(ステップSE3)。   When the electric field strength of the carrier wave is equal to or higher than a predetermined threshold (YES in step SE1), the control unit 101 sets NFC-F as a communication method that enables communication (step SE2). Further, when the electric field strength of the carrier wave is less than a predetermined threshold value (NO in step SE1), the control unit 101 sets NFC-A and NFC-B as communication methods that enable communication (step SE3).

[第5実施形態]
次に、本発明の第5実施形態について説明する。本発明の第5実施形態に係る装置は、第1実施形態と同じく端末装置10と電子レジスター20であり、各装置のハードウェア構成は第1実施形態と同じである。本実施形態においては、各装置が行う処理が第1実施形態と異なる。このため、第1実施形態と同じ構成については説明を省略し、以下では第1実施形態との相違点について説明する。
[Fifth Embodiment]
Next, a fifth embodiment of the present invention will be described. The device according to the fifth embodiment of the present invention is the terminal device 10 and the electronic register 20 as in the first embodiment, and the hardware configuration of each device is the same as in the first embodiment. In the present embodiment, the processing performed by each device is different from the first embodiment. For this reason, description about the same structure as 1st Embodiment is abbreviate | omitted, and the difference with 1st Embodiment is demonstrated below.

上述した実施形態においては、端末装置10は、応答信号を送信してから所定時間内に決済に係る信号が送信されてこないと、通信可能とする通信方式を変更しているが、本実施形態においては、通信可能とする通信方式を予め定められた周期で変更する。   In the above-described embodiment, the terminal device 10 changes the communication method that enables communication if a signal related to payment is not transmitted within a predetermined time after transmitting the response signal. In, the communication method enabling communication is changed at a predetermined cycle.

図13は、本実施形態に係る端末装置10の制御部101が行う処理の流れを示したフローチャートである。端末装置10は、所定時間が経過する毎に、「NFC−A、NFC−B及びNFC−F」→「NFC−A」→「NFC−B」→「NFC−F」→「NFC−A、NFC−B及びNFC−F」→・・・、という順番で通信可能とする通信方式を変更する。
具体的には、本実施形態に係る端末装置10の制御部101は、所定時間が経過すると(ステップSF1でYES)、通信可能な通信方式として、NFC−A、NFC−B及びNFC−Fを選択しているか判断する。制御部101は、通信可能な通信方式として、NFC−A、NFC−B及びNFC−Fを選択している場合(ステップSF2でYES)、通信可能な通信方式としてNFC−Aを選択する(ステップSF3)。
制御部101は、ステップSF2でNOと判断した場合、通信可能な通信方式として、NFC−Aを選択しているか判断する。制御部101は、通信可能な通信方式として、NFC−Aを選択している場合(ステップSF4でYES)、通信可能な通信方式としてNFC−Bを選択する(ステップSF5)。
制御部101は、ステップSF4でNOと判断した場合、通信可能な通信方式として、NFC−Bを選択しているか判断する。制御部101は、通信可能な通信方式として、NFC−Bを選択している場合(ステップSF6でYES)、通信可能な通信方式としてNFC−Fを選択する(ステップSF7)。一方、制御部101は、ステップSF6でNOと判断した場合、通信可能な通信方式として、NFC−A、NFC−B及びNFC−Fを選択する(ステップSF8)。
FIG. 13 is a flowchart illustrating a flow of processing performed by the control unit 101 of the terminal device 10 according to the present embodiment. Each time the predetermined time elapses, the terminal device 10 “NFC-A, NFC-B and NFC-F” → “NFC-A” → “NFC-B” → “NFC-F” → “NFC-A, NFC-B and NFC-F ”→... Are changed in order of communication.
Specifically, when a predetermined time has elapsed (YES in step SF1), the control unit 101 of the terminal device 10 according to the present embodiment selects NFC-A, NFC-B, and NFC-F as communication methods capable of communication. Determine if it is selected. When NFC-A, NFC-B, and NFC-F are selected as communication methods capable of communication (YES in step SF2), the control unit 101 selects NFC-A as a communication method capable of communication (step S1). SF3).
If the control unit 101 determines NO in step SF2, the control unit 101 determines whether NFC-A is selected as a communicable communication method. When NFC-A is selected as the communication method capable of communication (YES in step SF4), the control unit 101 selects NFC-B as the communication method capable of communication (step SF5).
If the control unit 101 determines NO in step SF4, the control unit 101 determines whether NFC-B is selected as a communicable communication method. When NFC-B is selected as a communication method capable of communication (YES in step SF6), the control unit 101 selects NFC-F as a communication method capable of communication (step SF7). On the other hand, if the control unit 101 determines NO in step SF6, the control unit 101 selects NFC-A, NFC-B, and NFC-F as communicable communication methods (step SF8).

なお、本実施形態においては、「NFC−A、NFC−B及びNFC−F」を選択している期間を第1期間、「NFC−A」を選択している期間を第2期間、「NFC−B」を選択している期間を第3期間、「NFC−F」を選択している期間を第4期間とした場合、第1期間から第4期間のそれぞれの長さが異なるようにしてもよい。つまり、ステップSF1で計時する所定時間を、通信可能として選択している通信方式に応じて異なるものとしてもよい。   In this embodiment, the period in which “NFC-A, NFC-B, and NFC-F” are selected is the first period, the period in which “NFC-A” is selected is the second period, When the period in which “-B” is selected is the third period and the period in which “NFC-F” is selected is the fourth period, the lengths of the first period to the fourth period are different. Also good. That is, the predetermined time measured in step SF1 may be different depending on the communication method selected as communicable.

[変形例]
以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限定されることなく、他の様々な形態で実施可能である。例えば、上述の実施形態を以下のように変形して本発明を実施してもよく、各変形例を組み合わせて実施してもよい。
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to embodiment mentioned above, It can implement with another various form. For example, the above-described embodiment may be modified as follows to implement the present invention, or may be implemented in combination with each modification.

上述した実施形態においては、電子レジスター20と通信を行うのは端末装置10であるが、端末装置10に限定されるものではなく、例えば、複数の通信方式に対応し、上述した端末装置10の処理を実行するICカードであってもよい。   In the embodiment described above, the terminal device 10 communicates with the electronic register 20, but is not limited to the terminal device 10. For example, the terminal device 10 corresponds to a plurality of communication methods, and It may be an IC card that executes processing.

上述した第3実施形態においては、端末装置10は、ステップSD5で監視している所定時間を、NFCの通信で出力される搬送波の電界強度に応じて変更するようにしてもよい。例えば、端末装置10は、電子レジスター20から出力される搬送波の電界強度が大きくなるにつれて監視している所定時間を短くし、電界強度が小さくなるにつれて監視している所定時間を長くするようにしてもよい。   In the third embodiment described above, the terminal device 10 may change the predetermined time monitored in step SD5 according to the electric field strength of the carrier wave output by NFC communication. For example, the terminal device 10 shortens the predetermined time monitored as the electric field strength of the carrier wave output from the electronic register 20 increases, and lengthens the predetermined time monitored as the electric field strength decreases. Also good.

上述した実施形態においては、端末装置10は、電子レジスター20と通信を行うが、端末装置10と通信を行う装置は、電子レジスター20に限定されるものではない。例えば、自動改札機や自動販売機、入館ゲートなどであってもよい。   In the embodiment described above, the terminal device 10 communicates with the electronic register 20, but the device that communicates with the terminal device 10 is not limited to the electronic register 20. For example, it may be an automatic ticket gate, a vending machine, an entrance gate, or the like.

上述した実施形態においては、複数の通信方式に対応したリーダ/ライタに対して通信を行うことが可能な構成となっているが、通信方式を、通信規格に置き換えた構成としてもよい。   In the above-described embodiment, the configuration is such that communication can be performed with a reader / writer that supports a plurality of communication methods, but the communication method may be replaced with a communication standard.

端末装置10や電子レジスター20のプログラムは、磁気記録媒体(磁気テープ、磁気ディスク(HDD(Hard Disk Drive)、FD(Flexible Disk))など)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどのコンピュータ読取り可能な記録媒体に記憶した状態で提供し、インストールしてもよい。また、通信回線を介してプログラムをダウンロードしてインストールしてもよい。   The program of the terminal device 10 and the electronic register 20 includes a magnetic recording medium (magnetic tape, magnetic disk (HDD (Hard Disk Drive), FD (Flexible Disk), etc.)), optical recording medium (optical disk, etc.), magneto-optical recording medium, It may be provided and installed in a state stored in a computer-readable recording medium such as a semiconductor memory. Alternatively, the program may be downloaded and installed via a communication line.

10…端末装置、20…電子レジスター、101…制御部、102…記憶部、103…表示部、104…操作部、105…通信部、107…音声処理部、108…近距離通信部、151…取得部、152…変更部、153…出力部、154…応答部、201…制御部、202…記憶部、203…表示部、204…操作部、205…通信部、208…近距離通信部、209…ドロワー制御部、251…ポーリング部、252…電子マネー処理部 DESCRIPTION OF SYMBOLS 10 ... Terminal device, 20 ... Electronic register, 101 ... Control part, 102 ... Memory | storage part, 103 ... Display part, 104 ... Operation part, 105 ... Communication part, 107 ... Voice processing part, 108 ... Short-range communication part, 151 ... Acquiring unit 152 ... Changing unit 153 ... Output unit 154 ... Response unit 201 ... Control unit 202 ... Storage unit 203 ... Display unit 204 ... Operation unit 205 ... Communication unit 208 ... Short-range communication unit 209 ... Drawer control unit, 251 ... Polling unit, 252 ... Electronic money processing unit

Claims (5)

複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得手段と、
前記選択した通信方式に従ったポーリング信号を前記取得手段が取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答手段と、
前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得手段が取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更手段と、
前記選択した通信方式に従った信号を前記取得手段が取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力手段と、
を備える通信装置。
An acquisition means for acquiring a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods;
When the acquisition unit acquires a polling signal according to the selected communication method, a response unit that outputs a response signal as a response to the polling signal;
If the acquisition unit does not acquire the signal in accordance with the selected communication method within a predetermined time after the output of the response signal, the number of communication methods for communication is changed before the change. Change means to make less ,
When the acquisition unit acquires a signal according to the selected communication method, an output unit that outputs a signal according to the communication method followed by the signal to the device that transmitted the signal;
A communication device comprising:
前記変更手段は、各々通信方式が異なる複数のポーリング信号を前記取得手段が取得した場合、選択する通信方式の数を当該取得したポーリング信号が従う通信方式の数より少なくする請求項1に記載の通信装置。 2. The change unit according to claim 1, wherein when the acquisition unit acquires a plurality of polling signals each having a different communication method, the change unit reduces the number of communication methods to be selected from the number of communication methods followed by the acquired polling signal. Communication device. 前記変更手段は、通信可能として選択する通信方式を前記取得手段が受信した信号の強度に応じて変更する請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the changing unit changes a communication method to be selected as communicable according to a strength of a signal received by the acquiring unit. 複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得ステップと、
前記選択した通信方式に従ったポーリング信号を前記取得ステップで取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答ステップと、
前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得ステップで取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更ステップと、
前記選択した通信方式に従った信号を前記取得ステップで取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力ステップと、
を備える通信方法。
An acquisition step of acquiring a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods;
When acquiring the polling signal according to the selected communication method in the acquisition step, a response step of outputting a response signal as a response to the polling signal;
If the signal according to the selected communication method is not acquired in the acquisition step within a predetermined time after the output of the response signal, the number of communication methods for communication is changed before the change. Fewer change steps,
When acquiring the signal according to the selected communication method in the acquisition step, an output step of outputting a signal according to the communication method followed by the signal to the device that transmitted the signal;
A communication method comprising:
コンピュータを、
複数の通信方式のうち、通信を行う通信方式として選択した通信方式に対応した信号を取得する取得手段と、
前記選択した通信方式に従ったポーリング信号を前記取得手段が取得した場合、当該ポーリング信号への応答となる応答信号を出力する応答手段と、
前記選択した通信方式に従った信号を、前記応答信号の出力がされてから予め定められた時間内に前記取得手段が取得しなかった場合、通信を行う通信方式の数を変更して変更前より少なくする変更手段と、
前記選択した通信方式に従った信号を前記取得手段が取得した場合、当該信号を送信した装置に対して当該信号が従う通信方式に従った信号を出力する出力手段
として機能させるためのプログラム。
Computer
An acquisition means for acquiring a signal corresponding to a communication method selected as a communication method for performing communication among a plurality of communication methods;
When the acquisition unit acquires a polling signal according to the selected communication method, a response unit that outputs a response signal as a response to the polling signal;
If the acquisition unit does not acquire the signal in accordance with the selected communication method within a predetermined time after the output of the response signal, the number of communication methods for communication is changed before the change. Change means to make less ,
A program for causing an apparatus that has transmitted a signal to function as an output unit that outputs a signal according to the communication method that the signal conforms to when the acquisition unit acquires a signal that conforms to the selected communication method.
JP2014003275A 2014-01-10 2014-01-10 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Expired - Fee Related JP6279328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014003275A JP6279328B2 (en) 2014-01-10 2014-01-10 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014003275A JP6279328B2 (en) 2014-01-10 2014-01-10 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2015133577A JP2015133577A (en) 2015-07-23
JP6279328B2 true JP6279328B2 (en) 2018-02-14

Family

ID=53900503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014003275A Expired - Fee Related JP6279328B2 (en) 2014-01-10 2014-01-10 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6279328B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018159579A1 (en) * 2017-02-28 2018-09-07 株式会社teamS Display/operation terminal and display/operation separation system using same
JP7643984B2 (en) * 2021-10-20 2025-03-11 株式会社ジェーシービー Reading device, reading method, program, and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7375616B2 (en) * 2004-09-08 2008-05-20 Nokia Corporation Electronic near field communication enabled multifunctional device and method of its operation
JP5113566B2 (en) * 2008-03-13 2013-01-09 公益財団法人鉄道総合技術研究所 Communication control method, guide cane, portable electronic device, and control program
JP2009303107A (en) * 2008-06-17 2009-12-24 Sony Corp Information processing apparatus, information processing method, and program
JP2010178002A (en) * 2009-01-29 2010-08-12 Casio Computer Co Ltd Radio communication device and program
JP2011259386A (en) * 2010-06-11 2011-12-22 Tokai Rika Co Ltd Wireless communication system
US8977195B2 (en) * 2011-01-06 2015-03-10 Texas Insruments Incorporated Multiple NFC card applications in multiple execution environments
JP2013012858A (en) * 2011-06-28 2013-01-17 Sharp Corp Communication apparatus, communication apparatus control method, portable communication apparatus provided with communication apparatus, communication apparatus control program, and computer readable recording medium

Also Published As

Publication number Publication date
JP2015133577A (en) 2015-07-23

Similar Documents

Publication Publication Date Title
US10290013B2 (en) Methods and apparatus for standard approach to coupon selection
US11741455B2 (en) Systems and methods for providing near field communications
US10614439B2 (en) Methods and apparatus to obtain transaction confirmation
US20140209673A1 (en) Automated opening of electronic wallet function in mobile device
US20120254031A1 (en) Communication system providing near field communication (nfc) transaction features and related methods
CN106503986B (en) Virtual resource transfer method and device
US20160034864A1 (en) Payment Mode Selection
EP3009977A1 (en) Privilege imparting system, server device, and privilege imparting method
CN118646451B (en) Near field communication method and device
JP6279328B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN1964538B (en) Mobile communication terminal capable of using action influence of user to control and its control method
EP3276583A1 (en) Mobile terminal having offline transaction notification function and notification method
JP6368532B2 (en) Terminal device, electronic payment limiting method and program
EP2506203B1 (en) Communication system providing near field communication (NFC) transaction features and related methods
KR20150009072A (en) Method for controlling operating mode and an electronic device thereof
CN105991145A (en) Sound generating and transmitting system and method using radio transmitting device
WO2016068192A1 (en) Electronic device, control method, and control program
CA2830109C (en) Methods and apparatus to obtain transaction confirmation
JP6155104B2 (en) Terminal device, information acquisition system, information acquisition method, and program
JP4582706B2 (en) Display system, portable terminal, information processing method, program
KR101534231B1 (en) Data recording method and system thereof
JP2015146159A (en) Communication system, communication method, server device, and program
KR20140044231A (en) Terminal apparatus and method for controlling thereof
KR20060107263A (en) Wireless Calling System
HK40000159B (en) Data interaction method, device and equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170705

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180117

R150 Certificate of patent or registration of utility model

Ref document number: 6279328

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees