JP2010109988A - Communication terminal device and program for communication control processing - Google Patents

Communication terminal device and program for communication control processing Download PDF

Info

Publication number
JP2010109988A
JP2010109988A JP2009269699A JP2009269699A JP2010109988A JP 2010109988 A JP2010109988 A JP 2010109988A JP 2009269699 A JP2009269699 A JP 2009269699A JP 2009269699 A JP2009269699 A JP 2009269699A JP 2010109988 A JP2010109988 A JP 2010109988A
Authority
JP
Japan
Prior art keywords
payment
switch
incoming call
processing
communication
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.)
Granted
Application number
JP2009269699A
Other languages
Japanese (ja)
Other versions
JP5170070B2 (en
Inventor
Nobuhiro Goto
悦宏 後藤
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009269699A priority Critical patent/JP5170070B2/en
Publication of JP2010109988A publication Critical patent/JP2010109988A/en
Application granted granted Critical
Publication of JP5170070B2 publication Critical patent/JP5170070B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent payment for a product or service by radio communication between a non-contact IC 10 and a register part 11 from being hindered by an incoming call or mail to a cellular phone. <P>SOLUTION: An RF block 4 of a cellular phone detects an incoming call or mail from outside through a communication line. A non-contact IC 10 performs payment processing for a product or service by a radio signal electronically. A CPU 1 of the cellular phone, when the non-contact IC 10 is not performing payment processing, proceeds to call processing by an off-hook operation according to an incoming call if the call from outside is detected by the RF block 4. During payment processing by the non-contact IC 10, the CPU 1 automatically terminates the call from outside, generates a hold sound, and transmits it to a partner, thus interrupting shift to call processing for the call from outside. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、通信端末装置およびその通信制御処理のプログラムに関し、特に、商品又はサービスに対する対価を無線信号によって電子的に支払処理を行う機能を有する通信端末装置および通信制御処理のプログラムに関するものである。   The present invention relates to a communication terminal device and a communication control processing program thereof, and more particularly to a communication terminal device having a function of electronically paying a price for a product or service by a radio signal and a communication control processing program. .

非接触方式で情報の授受を行う非接触IC又はICタグが新しい電子デバイスとして注目されている。非接触ICは、ICカードよりもさらに小型であるので、携帯電話、PHS、PDA(Personal Digital Assistants : 携帯情報端末)などの小型の通信端末装置内に容易に収容できる。このため、通信端末装置に収容された非接触ICと店舗等の精算機とをISM(産業科学医療用)帯域の無線通信によって接続し、商品やサービスに対する対価の支払を行う精算システムの提案やその他の提案が従来なされている。
例えば、商品購入の精算にかかる時間、特にクレジットカード払いにおける精算時間を短縮するための精算システムの提案がある。この提案においては、少なくとも個々の商品を一意に特定する商品識別子を含む商品情報を記録した商品識別手段と、予め顧客に配布された非接触型ICタグおよび顧客が所有する携帯電話を、顧客の一人一人を特定する顧客情報を記録した顧客識別手段として、顧客自らが商品を購入する際に商品情報を携帯電話内の非接触ICタグに記憶し、購入の終了後に顧客情報と記憶した商品情報とを精算機に送信する。(特許文献1)
その他の提案として、例えば、法人等の組織に対する旅費・交通費の一括請求システムがある。この提案においては、交通機関、宿泊施設などの手配を行う旅行会社システムと、交通機関、宿泊施設などを提供する提供機関システムとを含み構成され、予約を行う際に個人と特定するための個人IDは、磁気カード、ICカード、非接触式ICタグ、携帯電話に記憶されている。(特許文献2)
また、その他の別の提案として、ビル利用者支援装置がある。この提案においては、ビル内で所定サービスを受け取るサービス受益体と、このサービス受益体へ所定サービスを提供するサービス提供体とを有する構成において、サービス受益体を特定する識別情報を出力する識別情報出力手段として、ISM帯域の近距離無線装置、携帯電話帯域の無線装置、PHS帯域の無線装置、無線周波数帯域の非接触ICタグなどを用いている。(特許文献3)
また、別の提案の間違い電話防止方式においては、電話番号に公知のチェックデジットを付加して、電話機から電話番号をダイヤルすると、交換機が電話番号とチェックデジットを受け付けて電話番号確認装置に送信し、電話番号確認装置が電話番号とチェックデジットの正誤の判断結果を交換機に出力し、電話番号が正しい場合に交換機はチェックデジットを消去して、ネットワークを介して接続する。電話番号確認装置が電話番号の誤りを確認すると、交換機は電話機に電話番号の誤りを通知する。(特許文献3)
Non-contact ICs or IC tags that exchange information in a non-contact manner are attracting attention as new electronic devices. Since the non-contact IC is further smaller than the IC card, it can be easily accommodated in a small communication terminal device such as a mobile phone, PHS, or PDA (Personal Digital Assistants). For this reason, a proposal is made for a settlement system that connects a non-contact IC accommodated in a communication terminal device to a settlement machine such as a store by wireless communication in the ISM (industrial science and medical) band and pays for products and services. Other proposals have been made in the past.
For example, there is a proposal of a settlement system for shortening the time required for settlement of product purchases, in particular, the settlement time for credit card payment. In this proposal, at least a product identification unit that records product information including a product identifier that uniquely identifies each product, a non-contact IC tag distributed to a customer in advance, and a mobile phone owned by the customer are Product information stored in a contactless IC tag in the mobile phone when the customer purchases the product as customer identification means that records customer information that identifies each person, and the customer information and the product information stored after the purchase is completed To the checkout machine. (Patent Document 1)
Other proposals include, for example, a collective billing system for travel expenses and transportation expenses for organizations such as corporations. This proposal consists of a travel agency system that arranges transportation and accommodation facilities, and a provider system that provides transportation and accommodation facilities. The ID is stored in a magnetic card, IC card, non-contact IC tag, or mobile phone. (Patent Document 2)
As another proposal, there is a building user support device. In this proposal, in a configuration having a service beneficiary that receives a predetermined service in a building and a service provider that provides the predetermined service to the service beneficiary, an identification information output that outputs identification information that identifies the service beneficiary is output. As means, a short-range wireless device in the ISM band, a wireless device in the mobile phone band, a wireless device in the PHS band, a contactless IC tag in the wireless frequency band, or the like is used. (Patent Document 3)
In another proposed wrong call prevention system, when a known check digit is added to the telephone number and the telephone number is dialed from the telephone, the exchange accepts the telephone number and the check digit and sends it to the telephone number confirmation device. The telephone number confirmation device outputs the judgment result of whether the telephone number and the check digit are correct or not, and when the telephone number is correct, the exchange erases the check digit and connects via the network. When the telephone number confirmation device confirms an error in the telephone number, the exchange notifies the telephone of the error in the telephone number. (Patent Document 3)

特開2004−48623号公報JP 2004-48623 A 特開平11−177683号公報JP-A-11-177683 特開2001−111692号公報Japanese Patent Laid-Open No. 2001-111162 特開2003−256520号公報JP 2003-256520 A

携帯電話などのように通話が可能な通信端末装置内に収容した非接触ICによって、商品やサービスに対する対価の支払を無線通信によって行う場合において、支払中に電話やメールの着信を受けたときは、あわてて支払の操作を誤るおそれがあり、電話の着信に対するオフフックやメールの自動着信によって、非接触ICと精算機との無線通信が妨害されるおそれもある。一方、電話をかけた相手側においては、着信音が聞こえるにもかかわらず、相手が電話に出ない場合には不安を抱いてしまうことになる。
本発明は、このような従来の課題を解決するためのものであり、通信端末装置への電話やメールの着信によって、その通信端末装置内に収容した非接触ICと精算機との無線通信による商品やサービスに対する対価の支払に支障がきたすのを未然に防止することを目的とする。
When receiving payment for goods or services by wireless communication using a non-contact IC housed in a communication terminal device that can make a call such as a mobile phone, when receiving an incoming call or email during payment There is a possibility that the payment operation may be mistaken, and the wireless communication between the contactless IC and the checkout machine may be hindered by off-hook for incoming calls or automatic incoming mail. On the other hand, when the other party does not answer the call, he / she feels uneasy at the other party who made the call, even though he can hear the ringtone.
The present invention is for solving such a conventional problem, and is based on wireless communication between a non-contact IC accommodated in a communication terminal device and a settlement machine when a call or mail arrives at the communication terminal device. The purpose is to prevent the payment of consideration for goods and services.

請求項1に記載の通信端末装置は、所定の通信回線を介して外部からの着信を検知する着信検知手段(実施形態においては、図1のRFブロック4に相当する)と、商品又はサービスの提供に対して当該提供側からの支払要求に応じて無線信号によって電子的に支払処理を行う電子支払手段(実施形態においては、非接触IC10に相当する)と、電子支払手段による支払処理中でない場合には外部からの着信を着信検知手段によって検知したときは当該着信に対する通信処理に遷移し、電子支払手段による支払処理中においては外部からの着信に対する通信処理への遷移を禁止する通信制御手段(実施形態においては、図1のCPU1に相当する)と、を備えた構成になっている。   The communication terminal device according to claim 1 includes an incoming call detection means (corresponding to the RF block 4 in FIG. 1 in the embodiment) for detecting an incoming call from outside via a predetermined communication line, and a product or service. An electronic payment means that electronically performs payment processing by radio signal in response to a payment request from the providing side for provision (in the embodiment, it corresponds to the non-contact IC 10), and payment processing by the electronic payment means is not in progress In this case, when an incoming call from the outside is detected by the incoming call detection means, the communication control means is shifted to the communication process for the incoming call, and during the payment process by the electronic payment means, the communication control means is prohibited from changing to the communication process for the incoming call (Corresponding to the CPU 1 of FIG. 1 in the embodiment).

請求項1の通信端末装置において、請求項2に記載したように、通信制御手段は、電子支払手段による支払処理中においては着信検知手段の着信検知機能を停止させるような構成にしてもよい。
請求項1の通信端末装置において、請求項3に記載したように、通信制御手段は、電子支払手段による支払処理中においては着信検知手段によって着信が検知されたときは、当該着信の発信側に対して自動応答処理を行って特定の情報(実施形態においては、保留音に相当する)を送信するような構成にしてもよい。
請求項3の通信端末装置において、請求項4に記載したように、通信制御手段は、自動応答処理によって回線接続された発信側が回線切断を行う前に電子支払手段による支払処理が終了したときは、発信側との通信処理に遷移するような構成にしてもよい。
In the communication terminal device according to claim 1, as described in claim 2, the communication control means may be configured to stop the incoming call detection function of the incoming call detection means during the payment processing by the electronic payment means.
In the communication terminal device according to claim 1, as described in claim 3, when the incoming call detecting means detects the incoming call during the payment process by the electronic payment means, the communication control means Alternatively, the automatic response process may be performed to transmit specific information (corresponding to a holding tone in the embodiment).
In the communication terminal device according to claim 3, as described in claim 4, the communication control means, when the payment processing by the electronic payment means is completed before the calling party connected by the automatic response process disconnects the line. Alternatively, a configuration may be adopted in which a transition is made to communication processing with the calling side.

請求項5に記載の通信制御処理のプログラムは、所定の通信回線を介して外部からの着信を検知する第1のステップと、商品又はサービスの提供に対して当該提供側からの支払要求に応じて無線信号によって電子的に支払処理を行う第2のステップと、第2のステップによる支払処理中でない場合には外部からの着信を第1のステップによって検知したときは当該着信に対する通信処理に遷移し、第2のステップによる支払処理中においては外部からの着信に対する通信処理への遷移を禁止する第3のステップと、を実行する構成になっている。
実施形態においては、第1のステップはRFブロック4の処理に相当し、第2のステップは図1の非接触IC10の処理に相当し、第3のステップはCPU1の処理に相当する。
The communication control processing program according to claim 5 is a first step of detecting an incoming call from the outside via a predetermined communication line, and responds to a payment request from the provider for provision of goods or services. The second step of electronically performing payment processing by radio signal, and when payment processing by the second step is not in progress, when an incoming call from the outside is detected by the first step, a transition is made to communication processing for the incoming call In addition, during the payment process in the second step, the third step for prohibiting the transition to the communication process for incoming calls from the outside is executed.
In the embodiment, the first step corresponds to the processing of the RF block 4, the second step corresponds to the processing of the non-contact IC 10 in FIG. 1, and the third step corresponds to the processing of the CPU 1.

本発明の通信端末装置および通信制御処理のプログラムによれば、通信端末装置への電話やメールの着信によって、その通信端末装置内に収容した非接触ICと精算機との無線通信による商品やサービスに対する対価の支払に支障がきたすのを未然に防止するという効果が得られる。   According to the communication terminal device and the communication control processing program of the present invention, when a call or mail arrives at the communication terminal device, a product or service by wireless communication between the non-contact IC accommodated in the communication terminal device and the settlement machine The effect of preventing the payment of the compensation for is obstructed.

本発明の各実施形態における携帯電話を適用したシステムの構成を示す図。The figure which shows the structure of the system to which the mobile telephone in each embodiment of this invention is applied. 第1実施形態における携帯電話のメインルーチンのフローチャート。The flowchart of the main routine of the mobile telephone in 1st Embodiment. 図2に続く携帯電話のメインルーチンのフローチャート。The flowchart of the main routine of the mobile phone following FIG. 図3に続く携帯電話のメインルーチンのフローチャート。The flowchart of the main routine of the mobile phone following FIG. 図4に続く携帯電話のメインルーチンのフローチャート。The flowchart of the main routine of the mobile phone following FIG. 図4に続く携帯電話のメインルーチンのフローチャート。着信検知処理のフローチャート。The flowchart of the main routine of the mobile phone following FIG. The flowchart of an incoming call detection process. 第1実施形態における図5のリセット処理のフローチャート。The flowchart of the reset process of FIG. 5 in 1st Embodiment. 第1実施形態における図5の一括削除処理のフローチャート。The flowchart of the batch deletion process of FIG. 5 in 1st Embodiment. 第1実施形態における図5の累計表示処理のフローチャート。6 is a flowchart of the cumulative display process of FIG. 5 in the first embodiment. 第1実施形態における図3のレシートデータストア処理のフローチャート。The flowchart of the receipt data store process of FIG. 3 in 1st Embodiment. 図1のRAMにおけるレシートデータベースの内容を示す図。The figure which shows the content of the receipt database in RAM of FIG. 第1実施形態におけるタイマインタラプトのフローチャート。The flowchart of the timer interrupt in 1st Embodiment. 第1実施形態における着信検知処理のフローチャート。The flowchart of the incoming call detection process in 1st Embodiment. 図1のシステムにおける非接触ICの動作を示すフローチャート。The flowchart which shows operation | movement of the non-contact IC in the system of FIG. 図1のシステムにおけるレジスタ部の動作を示すフローチャート。2 is a flowchart showing an operation of a register unit in the system of FIG. 第2実施形態における携帯電話のメインルーチンの一部のフローチャート。The flowchart of a part of main routine of the mobile telephone in 2nd Embodiment. 第2実施形態における着信検知処理のフローチャート。The flowchart of the incoming call detection process in 2nd Embodiment. 第3実施形態におけるメインルーチンの通話処理のフローチャート。The flowchart of the telephone call process of the main routine in 3rd Embodiment.

以下、本発明による通信端末装置の第1実施形態ないし第3実施形態について、携帯電話を例に採って図を参照して説明する。
図1は、各実施形態における携帯電話を適用したシステムの構成を示す図である。図1において、CPU1は、ベースバンド信号処理のDSP(ディジタル・シグナル・プロセッサ)を内蔵したワンチップICで構成されている。CPU1のシステムバスには、ROM2、RAM3、RFブロック4、スイッチ部5、表示ドライバ6、およびGPS部7が接続されている。CPU1は、これら各部との間でコマンドおよびデータの授受を行ってこの携帯電話を制御する。また、CPU1の入出力ポートには、マイク8、スピーカ9が接続されている。
Hereinafter, first to third embodiments of a communication terminal device according to the present invention will be described with reference to the drawings by taking a mobile phone as an example.
FIG. 1 is a diagram illustrating a configuration of a system to which a mobile phone according to each embodiment is applied. In FIG. 1, a CPU 1 is composed of a one-chip IC with a built-in DSP (digital signal processor) for baseband signal processing. A ROM 2, a RAM 3, an RF block 4, a switch unit 5, a display driver 6, and a GPS unit 7 are connected to the system bus of the CPU 1. The CPU 1 exchanges commands and data with these units and controls the cellular phone. A microphone 8 and a speaker 9 are connected to the input / output port of the CPU 1.

さらに、CPU1は、非接触IC10と専用の通信バスによって接続されている。非接触IC10は、商品の販売やサービスを提供する店舗のレジスタ部11すなわち精算機との間で、ISM帯域などの無線通信によって、電子的に支払処理を行うことができる。非接触IC10は、この携帯電話に着脱自在に装着されており、図には示していないが、非接触IC10内には、CPU、プログラムROM、不揮発性のメモリからなるデータRAMが設けられている。このデータRAMには、ユーザが電子支払をする金融機関の口座にある預金金額のデータがストアされており、預金金額の設定や更新については、その金融機関のみによって行われ、ユーザによるデータ操作は禁止されている。   Further, the CPU 1 is connected to the non-contact IC 10 through a dedicated communication bus. The non-contact IC 10 can electronically perform payment processing with a register unit 11 of a store that provides merchandise sales or services, that is, a payment machine, by wireless communication such as an ISM band. The non-contact IC 10 is detachably attached to the mobile phone, and although not shown in the figure, the non-contact IC 10 is provided with a data RAM including a CPU, a program ROM, and a nonvolatile memory. . This data RAM stores deposit amount data stored in an account of a financial institution where the user pays electronically, and the setting or updating of the deposit amount is performed only by the financial institution, and data manipulation by the user is performed. prohibited.

ROM2には、他の携帯電話と通話やメールを送受信する機能、システムバスに接続された各部を制御する機能、非接触IC10との間でコマンドやデータを送受信する機能を実行する通信制御処理のプログラムなどが格納されている。RAM3は、CPU1によって処理されるデータを一時的にストアするワークエリアであり、通信制御処理のプログラムの実行に必要な各種のレジスタやフラグのエリア、受信したメールおよび送信したメールを記録する受信BOXおよび送信BOX、非接触IC10によって支払った支払金額のレシートを保存するレシートデータベース(DB)のエリアなどが設けられている。RFブロック4は、図には示していないが、電話通信網との間で通話やメールを送受信するための無線送受信部、無線信号処理部などを備えている。   The ROM 2 has a communication control process for executing functions for transmitting / receiving calls and mails with other mobile phones, functions for controlling each unit connected to the system bus, and functions for transmitting / receiving commands and data to / from the non-contact IC 10. Stores programs. The RAM 3 is a work area for temporarily storing data processed by the CPU 1, and includes various register and flag areas necessary for executing the communication control processing program, a received BOX for recording received mail and transmitted mail. And an area of a receipt database (DB) for storing a receipt of the payment amount paid by the transmission BOX and the non-contact IC 10. Although not shown in the figure, the RF block 4 includes a wireless transmission / reception unit, a wireless signal processing unit, and the like for transmitting and receiving calls and mails with the telephone communication network.

スイッチ部5は、電源スイッチ、オフフックスイッチ、オンフックスイッチ、メールスイッチ、発信スイッチ、OKスイッチ、カーソルスイッチ、数字/文字入力スイッチ、支払スイッチ、レシートスイッチ、スケジュール/カレンダスイッチ、保留スイッチ、累計スイッチ、その他のスイッチなどで構成されている。表示ドライバ6には、LCD(液晶ディスプレイ)などからなる表示部12が接続されており、スイッチ部5の操作に応じたメニュー画面などを表示する。なお、上記各スイッチの中には、そのときの状態に従って、同一のスイッチで複数の機能を兼用するものも含まれているとともに、表示部12に表示されたアイコンスイッチと連動して、スイッチ機能を果たすものもある。各スイッチの機能については後述する。
スピーカ9は、発信時の呼出報知や着信時の着信報知を行うほか、マイク8とともに通話処理における音声の入出力を行う。
Switch unit 5 includes power switch, off-hook switch, on-hook switch, mail switch, outgoing switch, OK switch, cursor switch, numeric / character input switch, payment switch, receipt switch, schedule / calendar switch, hold switch, cumulative switch, etc. It consists of switches. A display unit 12 including an LCD (liquid crystal display) or the like is connected to the display driver 6, and a menu screen or the like corresponding to the operation of the switch unit 5 is displayed. In addition, some of the above-mentioned switches include those having a plurality of functions with the same switch according to the state at that time, and in conjunction with the icon switch displayed on the display unit 12, Some of them fulfill The function of each switch will be described later.
The speaker 9 performs call notification at the time of outgoing call and incoming call notification at the time of incoming call, and also inputs and outputs voice in the call processing together with the microphone 8.

電源部13は、この携帯電話内の各部に電源を供給するが、電源経路がPOW1、POW2、POW3の3系統で構成されている。POW2の電源経路は非接触IC10のみに接続され、POW3の電源経路はRFブロック4のみに接続され、POW1の電源経路はCPU1を含む他の各部に接続されている。電源スイッチのオン操作によって、POW1およびPOW3の電源経路はオンとなるが、POW1の電源経路のオンによってCPU1が動作状態になった後は、POW2およびPOW3の電源経路はCPU1によってオン/オフが制御される。すなわち、非接触IC10およびRFブロック4は、CPU1の制御によってオン/オフが制御される。   The power supply unit 13 supplies power to each unit in the mobile phone, and the power supply path is configured by three systems of POW1, POW2, and POW3. The power path of POW 2 is connected only to the non-contact IC 10, the power path of POW 3 is connected only to the RF block 4, and the power path of POW 1 is connected to other parts including the CPU 1. By turning on the power switch, the power paths of POW1 and POW3 are turned on. However, after the CPU1 is activated by turning on the power path of POW1, the power paths of POW2 and POW3 are controlled by the CPU1. Is done. That is, ON / OFF of the non-contact IC 10 and the RF block 4 is controlled by the control of the CPU 1.

次に、図1の構成による第1実施形態の動作について説明する。
図2ないし図6は、第1実施形態におけるCPU1のメインルーチンのフローチャートである。図2において、所定のイニシャライズ(ステップSA1)の後、表示部12に待受画面を表示する(ステップSA2)。次に、オフフックスイッチがオンされたか否かを判別する(ステップSA3)。このスイッチがオンされたときは、番号入力の画面を表示して(ステップSA4)、入力された番号をRAM3にストアし、表示部12に表示する番号入力処理を行う(ステップSA5)。次に、発信スイッチのオン操作に応じて発信処理を行い(ステップSA6)、スピーカ9によって呼出報知を行う(ステップSA7)。そして、回線接続が確立したか否かを判別する(ステップSA8)。回線接続が確立したときは通話処理に遷移し(ステップSA9)、相手先のユーザとの通話が行われる。その後は、オンフックスイッチがオンされたか否かを判別し(ステップSA10)、このスイッチがオンされたときは回線切断などの終話処理を行って(ステップSA11)、ステップSA2に移行して再び待受画面を表示する。
Next, the operation of the first embodiment having the configuration shown in FIG. 1 will be described.
2 to 6 are flowcharts of the main routine of the CPU 1 in the first embodiment. In FIG. 2, after predetermined initialization (step SA1), a standby screen is displayed on the display unit 12 (step SA2). Next, it is determined whether or not the off-hook switch is turned on (step SA3). When this switch is turned on, a number input screen is displayed (step SA4), the input number is stored in the RAM 3, and a number input process for displaying on the display unit 12 is performed (step SA5). Next, a calling process is performed in response to the ON operation of the calling switch (step SA6), and a call notification is given by the speaker 9 (step SA7). Then, it is determined whether or not a line connection has been established (step SA8). When the line connection is established, the process shifts to a call process (step SA9), and a call is made with the partner user. Thereafter, it is determined whether or not the on-hook switch has been turned on (step SA10). When this switch is turned on, a call termination process such as line disconnection is performed (step SA11), and the process proceeds to step SA2 and waits again. Display the reception screen.

ステップSA3において、オフフックスイッチがオンされない場合には、図3のフローチャートにおいて、支払スイッチがオンされたか否かを判別する(ステップSA12)。このスイッチがオンされたときは、POW2をオンにして非接触IC10の動作をスタートさせ(ステップSA13)、POW3をオフにしてRFブロック4をオフにする(ステップSA14)。
次に、非接触IC10から支払金額を受信したか否かを判別する(ステップSA15)。支払金額を受信したときは、RAM3のレジスタPAYに支払金額をストアする(ステップSA16)。さらに、レジスタTPAYにPAYの支払金額を累算して支払金額の累計値を更新する(ステップSA17)。次に、非接触IC10からレシートデータを受信したか否かを判別する(ステップSA18)。レシートデータを受信したときは、レシートデータストア処理を行ない(ステップSA19)、レシートデータの内容を表示する(ステップSA20)。
ステップSA15において、非接触IC10から支払金額を受信しない場合には、支払不可信号を受信したか否かを判別する(ステップSA21)。この信号を受信したときは、残高不足の警告を表示する(ステップSA22)。
ステップSA20においてレシートデータの内容を表示した後、又は、ステップSA22において残高不足の警告を表示した後は、OKスイッチがオンされたか否かを判別し(ステップSA23)、このスイッチがオンされたときは、非接触IC10の動作を停止し(ステップSA24)、RFブロック4をオンにして(ステップSA25)、図2のステップSA2に移行して待受画面を表示する。
If the off-hook switch is not turned on in step SA3, it is determined whether or not the payment switch is turned on in the flowchart of FIG. 3 (step SA12). When this switch is turned on, POW2 is turned on to start the operation of the non-contact IC 10 (step SA13), POW3 is turned off and the RF block 4 is turned off (step SA14).
Next, it is determined whether or not a payment amount has been received from the non-contact IC 10 (step SA15). When the payment amount is received, the payment amount is stored in the register PAY of the RAM 3 (step SA16). Further, the payment amount of PAY is accumulated in the register TPAY to update the accumulated value of the payment amount (step SA17). Next, it is determined whether or not receipt data is received from the non-contact IC 10 (step SA18). When receipt data is received, receipt data store processing is performed (step SA19), and the contents of the receipt data are displayed (step SA20).
If the payment amount is not received from the non-contact IC 10 in step SA15, it is determined whether or not a payment impossible signal is received (step SA21). When this signal is received, a balance shortage warning is displayed (step SA22).
After displaying the contents of the receipt data in step SA20, or after displaying an insufficient balance warning in step SA22, it is determined whether or not the OK switch is turned on (step SA23), and when this switch is turned on. Stops the operation of the non-contact IC 10 (step SA24), turns on the RF block 4 (step SA25), moves to step SA2 in FIG. 2, and displays a standby screen.

図3のステップSA12において、支払スイッチがオンでない場合には、図4のフローチャートにおいて、レシートスイッチがオンされたか否かを判別する(ステップSA26)。このスイッチがオンされたときは、レシートリスト画面を表示する(ステップSA27)。レシートリスト画面には、RAM3のレシートデータベースに保存されているレシートリストの複数の項目とともに、OKスイッチ、クリアスイッチ、サブメニュースイッチのアイコンスイッチが表示される。レシートリストが1つの画面に収まらない場合には、カーソルスイッチの操作によってスクロール表示される。表示されたレシートリストの複数の項目において、ひとつの項目にフォーカスを当てる(ステップSA28)。例えば、その項目の表示を反転させて他の項目と区別する。   If it is determined in step SA12 in FIG. 3 that the payment switch is not turned on, it is determined whether or not the receipt switch is turned on in the flowchart in FIG. 4 (step SA26). When this switch is turned on, a receipt list screen is displayed (step SA27). On the receipt list screen, icon switches such as an OK switch, a clear switch, and a submenu switch are displayed together with a plurality of items in the receipt list stored in the receipt database of the RAM 3. If the receipt list does not fit on one screen, it is scrolled by operating the cursor switch. One item is focused on a plurality of items in the displayed receipt list (step SA28). For example, the display of the item is reversed to distinguish it from other items.

次に、カーソルスイッチがオンされたか否かを判別し(ステップSA29)、このスイッチがオンされたときは、フォーカス位置を移動する(ステップSA30)。そして、画面に表示されたOKスイッチがオンされたか否かを判別し(ステップSA31)、このスイッチがオンされない場合には、クリアスイッチがオンされたか否かを判別する(ステップSA32)。このスイッチがオンされたときは、レシートリスト画面を消去し、図2のステップSA2に移行して、待受画面を表示する。   Next, it is determined whether or not the cursor switch is turned on (step SA29). When this switch is turned on, the focus position is moved (step SA30). Then, it is determined whether or not the OK switch displayed on the screen is turned on (step SA31). If this switch is not turned on, it is determined whether or not the clear switch is turned on (step SA32). When this switch is turned on, the receipt list screen is deleted, the process proceeds to step SA2 in FIG. 2, and the standby screen is displayed.

図4のステップSA31において、OKスイッチがオンされたときは、そのときのフォーカス位置におけるレシートの内容を表示する(ステップSA33)。この表示画面には、OKスイッチ、クリアスイッチ、削除スイッチのアイコンも表示される。次に、クリアスイッチがオンされたか否かを判別し(ステップSA34)、このスイッチがオンされたときは、レシートの内容の画面を消去し、ステップSA27に移行してレシートリスト画面を表示する。クリアスイッチがオンでない場合には、削除スイッチがオンされたか否かを判別し(ステップSA35)、このスイッチがオンされたときは、表示されているレシートデータを削除し(ステップSA36)、削除完了の表示を行う(ステップSA37)。そして、OKスイッチがオンされたか否かを判別し(ステップSA38)、このスイッチがオンされたときは、ステップSA27に移行してレシートリスト画面を表示する。   In step SA31 in FIG. 4, when the OK switch is turned on, the contents of the receipt at the focus position at that time are displayed (step SA33). This display screen also displays OK switch, clear switch, and delete switch icons. Next, it is determined whether or not the clear switch is turned on (step SA34). When this switch is turned on, the receipt contents screen is erased, and the process proceeds to step SA27 to display the receipt list screen. If the clear switch is not turned on, it is determined whether or not the delete switch is turned on (step SA35). If this switch is turned on, the displayed receipt data is deleted (step SA36), and the deletion is completed. Is displayed (step SA37). Then, it is determined whether or not the OK switch is turned on (step SA38). When this switch is turned on, the process proceeds to step SA27 to display a receipt list screen.

ステップSA32において、クリアスイッチがオンでない場合には、図5のフローチャートにおいて、レシートリスト画面のサブメニュースイッチがオンされたか否かを判別する(ステップSA39)。このスイッチがオンされたときは、サブメニュー画面を表示する(ステップSA40)。このサブメニュー画面には、複数の項目として、一括削除、累計表示、リセット、その他のサブメニューが表示され、OKスイッチおよびクリアスイッチのアイコンスイッチが表示される。そして、ひとつの項目にフォーカスする(ステップSA41)。
次に、カーソルスイッチがオンされたか否かを判別し(ステップSA42)、このスイッチがオンされたときは、フォーカス位置を移動する(ステップSA43)。そして、OKスイッチがオンされたか否かを判別し(ステップSA44)、このスイッチがオンされない場合には、クリアスイッチがオンされたか否かを判別する(ステップSA45)。このスイッチがオンされたときは、サブメニュー画面を消去し、図4のステップSA27に移行して、レシートリスト画面を表示する。
If the clear switch is not on in step SA32, it is determined whether or not the submenu switch on the receipt list screen is turned on in the flowchart of FIG. 5 (step SA39). When this switch is turned on, a submenu screen is displayed (step SA40). This submenu screen displays a plurality of items, such as batch deletion, cumulative display, reset, and other submenus, and OK switch and clear switch icon switches. Then, focus on one item (step SA41).
Next, it is determined whether or not the cursor switch is turned on (step SA42). When this switch is turned on, the focus position is moved (step SA43). Then, it is determined whether or not the OK switch is turned on (step SA44). If this switch is not turned on, it is determined whether or not the clear switch is turned on (step SA45). When this switch is turned on, the submenu screen is deleted, and the process proceeds to step SA27 in FIG. 4 to display the receipt list screen.

図5のステップSA44において、OKスイッチがオンされたときは、そのときのフォーカス位置が一括削除であるか否かを判別し(ステップSA46)、一括削除の位置である場合には、一括削除処理を行う(ステップSA47)。一括削除の位置でない場合には、フォーカス位置が累計表示であるか否かを判別し(ステップSA48)、累計表示の位置である場合には累計表示処理を行う(ステップSA49)。累計表示の位置でない場合には、フォーカス位置がリセットであるか否かを判別し(ステップSA50)、リセットの位置である場合には、リセット処理を行う(ステップSA51)。リセットの位置でない場合には、フォーカス位置に応じたその他のサブメニュー処理を行う(ステップSA52)。フォーカス位置に応じた処理を行った後は、図4のステップSA27に移行して、レシートリスト画面を表示する。図5のステップSA39において、サブメニュースイッチがオンでない場合には、図4のステップSA29に移行して、カーソルスイッチのオンを判別する。   In step SA44 of FIG. 5, when the OK switch is turned on, it is determined whether or not the focus position at that time is batch deletion (step SA46). Is performed (step SA47). If it is not the batch deletion position, it is determined whether or not the focus position is cumulative display (step SA48). If it is the cumulative display position, cumulative display processing is performed (step SA49). If it is not the cumulative display position, it is determined whether or not the focus position is reset (step SA50), and if it is the reset position, reset processing is performed (step SA51). If it is not the reset position, other submenu processing corresponding to the focus position is performed (step SA52). After performing processing according to the focus position, the process proceeds to step SA27 in FIG. 4 to display a receipt list screen. If the submenu switch is not on in step SA39 in FIG. 5, the process proceeds to step SA29 in FIG. 4 to determine whether the cursor switch is on.

図4のステップSA26において、レシートスイッチがオンでない場合には、図6のフローチャートにおいて、スケジュール/カレンダスイッチがオンされたか否かを判別する(ステップSA53)。このスイッチがオンでない場合、すなわち、スイッチ部5のいずれのスイッチもオンでない場合には、図2のステップSA3に移行して、オフスイッチのオンを判別する。
スケジュール/カレンダスイッチがオンされたときは、現在の月日を取得して(ステップSA54)、取得した月日に基づきカレンダデータを検索して表示する(ステップSA55)。さらに、取得した日に基づいてカレンダ上の日付をフォーカスする(ステップSA56)。このカレンダの画面には、クリアスイッチおよびスケジュール設定スイッチも表示される。
If it is determined in step SA26 in FIG. 4 that the receipt switch is not on, it is determined whether or not the schedule / calendar switch is turned on in the flowchart in FIG. 6 (step SA53). If this switch is not on, that is, if none of the switches of the switch unit 5 is on, the process proceeds to step SA3 in FIG. 2 to determine whether the off switch is on.
When the schedule / calendar switch is turned on, the current month and day are acquired (step SA54), and the calendar data is retrieved and displayed based on the acquired month and day (step SA55). Further, the date on the calendar is focused based on the acquired date (step SA56). On this calendar screen, a clear switch and a schedule setting switch are also displayed.

次に、フォーカスした月日にスケジュールがあるか否かを判別する(ステップSA57)。スケジュールがある場合には、そのスケジュール内容を表示する(ステップSA58)。一方、フォーカスした月日にスケジュールがない場合、又は、フォーカスした月日のスケジュールを表示した後は、カーソルスイッチがオンされたか否かを判別し(ステップSA59)、このスイッチがオンされたときは、フォーカスする月日を移動して(ステップSA60)、ステップSA57に移行する。カーソルスイッチがオンでない場合には、クリアスイッチがオンされたか否かを判別する(ステップSA61)。このスイッチがオンでない場合には、スケジュール設定スイッチがオンされたか否かを判別し(ステップSA62)、このスイッチがオンされたときは、スケジュール設定処理を行う(ステップSA63)。スケジュール設定処理の後は、ステップSA55に移行して、取得した月日に基づき再びカレンダデータを検索して表示する。
ステップSA61において、クリアスイッチがオンされたときは、図2のステップSA2に移行して待受画面を表示する。
Next, it is determined whether or not there is a schedule on the focused month and day (step SA57). If there is a schedule, the contents of the schedule are displayed (step SA58). On the other hand, when there is no schedule on the focused month or day, or after the focused month and day schedule is displayed, it is determined whether or not the cursor switch is turned on (step SA59). Then, the month and day to be focused are moved (step SA60), and the process proceeds to step SA57. If the cursor switch is not on, it is determined whether or not the clear switch is on (step SA61). If this switch is not turned on, it is determined whether or not the schedule setting switch is turned on (step SA62). If this switch is turned on, a schedule setting process is performed (step SA63). After the schedule setting process, the process proceeds to step SA55, where the calendar data is again retrieved and displayed based on the acquired date.
If the clear switch is turned on in step SA61, the process proceeds to step SA2 in FIG. 2 to display a standby screen.

図7は、図5のメインルーチンにおけるステップSA51のリセット処理のフローチャートである。この処理では、レジスタTPAYにストアされている支払金額累計をリセットして(ステップSB1)、リセット完了画面を表示する(ステップSB2)。そして、OKスイッチがオンされたか否かを判別し(ステップSB3)、このスイッチがオンされたときは、メインルーチンに戻って、図4のステップSA27においてレシートリスト画面を表示する。   FIG. 7 is a flowchart of the reset process of step SA51 in the main routine of FIG. In this process, the accumulated payment amount stored in the register TPAY is reset (step SB1), and a reset completion screen is displayed (step SB2). Then, it is determined whether or not the OK switch is turned on (step SB3). When this switch is turned on, the process returns to the main routine and the receipt list screen is displayed in step SA27 in FIG.

ステップSB3において、OKスイッチがオンでない場合には、累計スイッチがオンされたか否かを判別し(ステップSB4)、このスイッチがオンされたときは、変数nを「1」にセットして(ステップSB5)、レシートデータベースにおける各レシートデータを変数nによって指定して、nの値をインクリメントしながら、ステップSB6ないしステップSB8のループ処理を繰り返す。
すなわち、レシートデータ(n)の支払金額をレジスタTPAYに累計し(ステップSB6)、nの値を「1」だけインクリメントする(ステップSB7)。そして、インクリメントしたnの値が最大値より大きくなったか否かを判別し(ステップSB8)、nの値が最大値以下である場合には、ステップSB6に移行して、上記ループ処理を繰り返す。ステップSB8において、nの値が最大値より大きくなったとき、すなわち、すべてのレシートデータにおける支払金額が累計値としてTPAYにストアされたときは、メインルーチンに戻って、図4のステップSA27においてレシートリスト画面を表示する。
If the OK switch is not turned on in step SB3, it is determined whether or not the cumulative switch is turned on (step SB4). If this switch is turned on, the variable n is set to “1” (step SB3). SB5) Each receipt data in the receipt database is designated by a variable n, and the loop processing from step SB6 to step SB8 is repeated while incrementing the value of n.
That is, the payment amount of the receipt data (n) is accumulated in the register TPAY (step SB6), and the value of n is incremented by “1” (step SB7). Then, it is determined whether or not the incremented value of n is greater than the maximum value (step SB8). If the value of n is equal to or less than the maximum value, the process proceeds to step SB6 and the above loop processing is repeated. In step SB8, when the value of n becomes larger than the maximum value, that is, when the payment amount in all the receipt data is stored in TPAY as a cumulative value, the process returns to the main routine, and in step SA27 of FIG. Display the list screen.

図8は、図5におけるステップSA47の一括削除処理のフローチャートである。まず、一括削除選択画面を表示する(ステップSC1)。この画面には、2つの項目であるカテゴリ別および期間指定を選択するメニューとともに、OKスイッチおよびクリアスイッチのアイコンが表示される。そして、ひとつの項目にフォーカスする(ステップSC2)。次に、カーソルスイッチがオンされたか否かを判別し(ステップSC3)、このスイッチがオンされたときは、フォーカス位置を移動する(ステップSC4)。そして、OKスイッチがオンされたか否かを判別し(ステップSC5)、このスイッチがオンされない場合には、クリアスイッチがオンされたか否かを判別する(ステップSC6)。クリアスイッチがオンでない場合には、ステップSC3においてカーソルスイッチのオンを判別するが、クリアスイッチがオンされたときは、メインルーチンに戻って、図4のステップSA27においてレシートリスト画面を表示する。   FIG. 8 is a flowchart of the batch deletion process in step SA47 in FIG. First, a batch deletion selection screen is displayed (step SC1). On this screen, icons for OK switch and clear switch are displayed together with a menu for selecting two items, category designation and period designation. Then, focus on one item (step SC2). Next, it is determined whether or not the cursor switch is turned on (step SC3). When this switch is turned on, the focus position is moved (step SC4). Then, it is determined whether or not the OK switch is turned on (step SC5). If this switch is not turned on, it is determined whether or not the clear switch is turned on (step SC6). If the clear switch is not on, it is determined in step SC3 that the cursor switch is on. If the clear switch is on, the process returns to the main routine and the receipt list screen is displayed in step SA27 in FIG.

図8のステップSC5において、OKスイッチがオンされたときは、そのときのフォーカス位置に応じた処理を行う。すなわち、フォーカス位置がカテゴリ別であるか又は期間指定であるかを判別する(ステップSC7)。カテゴリ別である場合には、カテゴリ選択画面を表示する(ステップSC8)。この画面には、レシートが発行されたカテゴリである店舗、例えば、コンビニ、ファーストフード、ビデオショップ、ガソリンスタンド、ホテルなどを選択するメニューが表示される。ユーザは削除したい店舗をカーソルスイッチおよびOKスイッチで選択する。カテゴリが選択されたときは、選択されたカテゴリに含まれるレシートデータを削除する(ステップSC9)。   In step SC5 of FIG. 8, when the OK switch is turned on, processing corresponding to the focus position at that time is performed. That is, it is determined whether the focus position is category-specific or period-designated (step SC7). If the category is selected, a category selection screen is displayed (step SC8). On this screen, a menu for selecting a store in which the receipt is issued, for example, a convenience store, a fast food, a video shop, a gas station, or a hotel, is displayed. The user selects a store to be deleted with the cursor switch and the OK switch. When the category is selected, the receipt data included in the selected category is deleted (step SC9).

一方、フォーカス位置が期間指定である場合には、期間指定の画面を表示する(ステップSC10)。この画面には、削除する期間の年月日を入力するためのエリアが表示される。ユーザは削除する期間を数字/文字入力スイッチによって入力し、OKスイッチによって期間指定を決定する。削除期間が指定されたときは、指定された期間に含まれるレシートデータを削除する(ステップSC11)。
ステップSC9又はステップSC11において、レシートデータを削除した後は、削除完了画面を表示し(ステップSC12)、OKスイッチがオンされたか否かを判別する(ステップSC13)。このスイッチがオンされたときは、メインルーチンに戻って、図4のステップSA27においてレシートリスト画面を表示する。
On the other hand, if the focus position is a period designation, a period designation screen is displayed (step SC10). On this screen, an area for inputting the date of the period to be deleted is displayed. The user inputs the period to be deleted using the number / character input switch, and determines the period specification using the OK switch. When the deletion period is designated, the receipt data included in the designated period is deleted (step SC11).
After deleting the receipt data in step SC9 or step SC11, a deletion completion screen is displayed (step SC12), and it is determined whether or not the OK switch is turned on (step SC13). When this switch is turned on, the process returns to the main routine and the receipt list screen is displayed in step SA27 in FIG.

図9は、図5のメインルーチンにおけるステップSA49の累計表示処理のフローチャートである。まず、累計選択画面を表示する(ステップSD1)。この画面には、2つの項目であるレシートデータの累計および支払金額の累計を選択するメニューとともに、OKスイッチおよびクリアスイッチのアイコンスイッチが表示される。そして、ひとつの項目にフォーカスする(ステップSD2)。
次に、カーソルスイッチがオンされたか否かを判別し(ステップSD3)、このスイッチがオンされたときは、フォーカス位置を移動する(ステップSD4)。そして、OKスイッチがオンされたか否かを判別し(ステップSD5)、このスイッチがオンでない場合には、クリアスイッチがオンされたか否かを判別する(ステップSD6)。クリアスイッチがオンでない場合には、ステップSD3においてカーソルスイッチのオンを判別するが、クリアスイッチがオンされたときは、メインルーチンに戻って、図4のステップSA27においてレシートリスト画面を表示する。
FIG. 9 is a flowchart of the cumulative display process of step SA49 in the main routine of FIG. First, a cumulative selection screen is displayed (step SD1). On this screen, an OK switch and a clear switch icon switch are displayed together with a menu for selecting the receipt data accumulation and the payment amount accumulation as two items. Then, one item is focused (step SD2).
Next, it is determined whether or not the cursor switch is turned on (step SD3). When this switch is turned on, the focus position is moved (step SD4). Then, it is determined whether or not the OK switch is turned on (step SD5). If the switch is not turned on, it is determined whether or not the clear switch is turned on (step SD6). If the clear switch is not on, it is determined in step SD3 that the cursor switch is on. If the clear switch is on, the process returns to the main routine and the receipt list screen is displayed in step SA27 in FIG.

図9のステップSD5において、OKスイッチがオンされたときは、フォーカス位置がレシートの累計であるか又は支払金額の累計であるかを判別する(ステップSD7)。フォーカス位置がレシートの累計である場合には、RAM3のレシート累計のレジスタにストアされているレシートデータの累計値を表示する(ステップSD8)。一方、フォーカス位置が支払金額の累計である場合には、RAM3のレジスタTPAYにストアされている支払金額の累計値および預金の残額を表示する(ステップSD9)。レシートデータ又は支払金額の累計を表示した後は、OKスイッチがオンされたか否かを判別する(ステップSD10)。このスイッチがオンされたときは、ステップSD1において再び累計選択画面を表示する。   In step SD5 of FIG. 9, when the OK switch is turned on, it is determined whether the focus position is the cumulative amount of receipts or the cumulative amount of payment (step SD7). If the focus position is the cumulative number of receipts, the cumulative value of the receipt data stored in the receipt cumulative register of the RAM 3 is displayed (step SD8). On the other hand, when the focus position is the accumulated payment amount, the accumulated payment amount stored in the register TPAY of the RAM 3 and the balance of the deposit are displayed (step SD9). After displaying the receipt data or the accumulated payment amount, it is determined whether or not the OK switch is turned on (step SD10). When this switch is turned on, the cumulative selection screen is displayed again in step SD1.

ステップSD10において、OKスイッチがオンでない場合には、カテゴリ別に表示されているレシートデータの中から、カーソルスイッチおよびOKスイッチの操作によって、特定のカテゴリが選択されたか否かを判別する(ステップSD11)。特定のカテゴリが選択されたときは、累計スイッチがオンされたか否かを判別し(ステップSD12)、このスイッチがオンされたときは、選択されているカテゴリのレシートデータにおける支払金額の累計値を演算によって算出し、表示部12に表示する(ステップSD13)。
選択カテゴリの支払金額の累計値を表示した後、又は、ステップSD11においてカテゴリが選択されない場合、若しくは、ステップSD12において累計スイッチがオンされない場合には、ステップSD10において、OKスイッチがオンされたか否かを判別する。
すなわち、ステップSD11ないしステップSD13の処理によって、カテゴリを選択して累計スイッチをオンにすると、選択されたカテゴリの店舗、例えば、コンビニ、ファーストフード、ビデオショップ、ガソリンスタンド、ホテルごとの支払金額の累計値を表示することができる。
In step SD10, if the OK switch is not on, it is determined whether or not a specific category has been selected by operating the cursor switch and the OK switch from the receipt data displayed for each category (step SD11). . When a specific category is selected, it is determined whether or not the cumulative switch is turned on (step SD12). When this switch is turned on, the cumulative value of the payment amount in the receipt data of the selected category is determined. Calculated by calculation and displayed on the display unit 12 (step SD13).
After displaying the accumulated value of the payment amount of the selected category, or when the category is not selected at step SD11, or when the accumulated switch is not turned on at step SD12, whether or not the OK switch is turned on at step SD10. Is determined.
That is, when the category is selected and the accumulation switch is turned on by the processing of step SD11 to step SD13, the accumulation of the payment amount for each store of the selected category, for example, convenience store, fast food, video shop, gas station, hotel. The value can be displayed.

図10は、図3のメインルーチンにおけるステップSA19のレシートデータストア処理のフローチャートである。まず、レシートデータをRAM3のレシートデータベースにストアする(ステップSE1)。図11は、レシートデータベースの内容を示す図である。レシートデータベースには、図11(1)に示すように、複数のレシートデータ(1)〜(N)がストアされており、各レシートデータには、レシート番号、日付、カテゴリすなわち店舗の名称、商品名やサービス名、支払金額のデータがストアされるとともに、その店舗にキャンペーンがある場合には、そのキャンペーン情報のデータがストアされる。キャンペーン情報には、図11(2)に示すように、店舗の住所、店舗の緯度・経度情報であるGPS情報、キャンペーン内容、およびキャンペーン期間のデータがストアされている。キャンペーン期間としては、例えば、「○月△日まで」のように絶対的な期間、又は、「当月末まで」若しくは「本日より○○日間若しくは××週間」のように相対的な期間がある。   FIG. 10 is a flowchart of the receipt data store process of step SA19 in the main routine of FIG. First, the receipt data is stored in the receipt database of the RAM 3 (step SE1). FIG. 11 is a diagram showing the contents of the receipt database. As shown in FIG. 11 (1), a plurality of receipt data (1) to (N) are stored in the receipt database, and each receipt data includes a receipt number, date, category, that is, store name, product. The name, service name, and payment amount data are stored, and if there is a campaign in the store, the campaign information data is stored. In the campaign information, as shown in FIG. 11 (2), store address, GPS information as latitude / longitude information of the store, campaign contents, and campaign period data are stored. The campaign period is, for example, an absolute period such as “until the day of XX” or a relative period such as “until the end of the current month” or “XX days or XX weeks from today”. .

したがって、図10のステップSE1において、レシートデータをレシートデータベースにストアした後に、キャンペーン情報があるか否かを判別する(ステップSE2)。キャンペーン情報がない場合には、メインルーチンに戻るが、キャンペーン情報がある場合において、そのキャンペーン期間が相対的なデータであるならば、レシートの日付およびその相対的なキャンペーン期間に基づいて、日付を確定できる絶対的な基づきキャンペーン期間を検出して(ステップSE3)、スケジュール/カレンダデータベースの対応する日付エリアに、キャンペーン内容、店舗の名称、住所、GPS情報をストアする(ステップSE4)。そして、図3のメインルーチンに戻る。   Therefore, in step SE1 in FIG. 10, it is determined whether or not there is campaign information after the receipt data is stored in the receipt database (step SE2). If there is no campaign information, return to the main routine, but if there is campaign information and the campaign period is relative data, the date will be set based on the date of receipt and the relative campaign period. A campaign period is detected based on an absolute value that can be determined (step SE3), and the campaign contents, store name, address, and GPS information are stored in the corresponding date area of the schedule / calendar database (step SE4). Then, the process returns to the main routine of FIG.

図12は、一定時間ごとのタイマインタラプトのフローチャートである。一定時間ごとに現在月日を取得して(ステップSF1)、その取得した現在月日にキャンペーン情報のスケジュールがあるか否かを判別する(ステップSF2)。キャンペーン情報のスケジュールがある場合には、そのスケジュールにGPS情報があるか否かを判別する(ステップSF3)。GPS情報がある場合には、GPS部7により位置情報を取得する(ステップSF4)。そして、スケジュール内のGPS情報とGPS部から取得したGPS情報における位置同士が近いか否かを判別する(ステップSF5)。位置同士が近い場合には、キャンペーン内容を表示部12に表示して(ステップSF6)、スピーカ9などによって一定時間報知する(ステップSF7)。この後は、OKスイッチがオンされたか否かを判別し(ステップSF8)、このスイッチがオンされたときは、メインルーチンに戻る。   FIG. 12 is a flowchart of a timer interrupt at regular intervals. The current month and day are acquired at regular intervals (step SF1), and it is determined whether or not there is a campaign information schedule on the acquired current month (step SF2). If there is a schedule for the campaign information, it is determined whether or not there is GPS information in the schedule (step SF3). If there is GPS information, position information is acquired by the GPS unit 7 (step SF4). And it is discriminate | determined whether the positions in the GPS information in a schedule and the GPS information acquired from the GPS part are near (step SF5). If the positions are close to each other, the contents of the campaign are displayed on the display unit 12 (step SF6), and are notified for a certain time by the speaker 9 or the like (step SF7). Thereafter, it is determined whether or not the OK switch is turned on (step SF8). When this switch is turned on, the process returns to the main routine.

図13は、着信検知処理のフローチャートである。図1の電源経路POW3がオンでRFブロック4が動作中の場合に、電話の着信があるとスピーカ9によってその着信を報知する(ステップSG1)。そして、オフフックスイッチがオンされたか否かを判別し(ステップSG2)、このスイッチがオンされたときは通話処理に遷移して、マイク8およびスピーカ9によって通話がなされる(ステップSG3)。通話処理においては、オンフックスイッチがオンされたか否かを判別し(ステップSG4)、このスイッチがオンされたときは、回線切断などの終話処理を行って(ステップSG5)、図2のメインルーチンに戻って待受画面を表示する。   FIG. 13 is a flowchart of incoming call detection processing. When the power path POW3 in FIG. 1 is on and the RF block 4 is operating, if there is an incoming call, the speaker 9 notifies the incoming call (step SG1). Then, it is determined whether or not the off-hook switch is turned on (step SG2). When this switch is turned on, the call processing is performed, and a call is made by the microphone 8 and the speaker 9 (step SG3). In the call processing, it is determined whether or not the on-hook switch is turned on (step SG4). When this switch is turned on, the call termination processing such as line disconnection is performed (step SG5), and the main routine of FIG. Return to and display the standby screen.

図14は、非接触IC10のフローチャートである。非接触IC10のCPUは、図3における携帯電話のメインルーチンにおいて、ステップSA12の支払スイッチがオンされたときは、プログラムROMに格納されている通信制御処理のプログラムに従ってこのフローチャートを実行する。まず、店舗のレジスタ部11と無線通信を行ない、レジスタ部から支払準備がOKであるかの問い合わせ信号を受信したか否かを判別し(ステップSH1)、この問い合わせ信号を受信したときは、レジスタ部11に対してOK信号を送信する(ステップSH2)。そして、支払額要求信号をレジスタ部11から受信したか否かを判別し(ステップSH3)、この信号を受信したときは、データRAMに記憶されている蓄積金額すなわち金融機関の預金残高の金額が支払金額以上であるか否かを判別する(ステップSH4)。
蓄積金額が支払金額以上である場合には、蓄積金額から支払金額を減算する(ステップSH5)。次に、レジスタ部11に対して、支払OK信号を送信し(ステップSH6)、支払金額のデータを送信する(ステップSH7)。そして、レジスタ部11からレシートデータを受信したか否かを判別し(ステップSH8)、受信したときは、そのレシートデータを携帯電話機のCPU1に送信する(ステップSH9)。
一方、ステップSH4において、蓄積金額が支払金額未満である場合には、支払不可信号を携帯電話機のCPU1に送信する(ステップSH10)。
ステップSH9においてレシートデータを送信した後、又は、ステップSH10において支払不可信号を送信した後は、図3における携帯電話のメインルーチンにおいて、ステップSA24の動作停止によって動作を終了する。
FIG. 14 is a flowchart of the non-contact IC 10. When the payment switch in step SA12 is turned on in the main routine of the mobile phone in FIG. 3, the CPU of the non-contact IC 10 executes this flowchart according to the communication control processing program stored in the program ROM. First, wireless communication is performed with the register unit 11 of the store, and it is determined whether or not an inquiry signal indicating whether payment preparation is OK is received from the register unit (step SH1). An OK signal is transmitted to the unit 11 (step SH2). Then, it is determined whether or not a payment amount request signal has been received from the register unit 11 (step SH3). When this signal is received, the accumulated amount stored in the data RAM, that is, the deposit balance amount of the financial institution is determined. It is determined whether or not the payment amount is greater than or equal to (step SH4).
If the accumulated amount is equal to or greater than the payment amount, the payment amount is subtracted from the accumulated amount (step SH5). Next, a payment OK signal is transmitted to the register unit 11 (step SH6), and payment amount data is transmitted (step SH7). And it is discriminate | determined whether the receipt data were received from the register | resistor part 11 (step SH8), and if received, the receipt data will be transmitted to CPU1 of a mobile telephone (step SH9).
On the other hand, if the accumulated amount is less than the payment amount in step SH4, a payment impossible signal is transmitted to the CPU 1 of the mobile phone (step SH10).
After the receipt data is transmitted in step SH9 or the payment impossible signal is transmitted in step SH10, the operation is terminated by stopping the operation in step SA24 in the main routine of the mobile phone in FIG.

図15は、非接触IC10と無線通信を行うレジスタ部11のフローチャートである。オペレータの操作によって支払データが入力されたか否かを判別し(ステップSJ1)、支払データが入力されたときは、支払準備がよいか否かを問い合わせる支払準備OK信号を非接触IC10に送信する(ステップSJ2)。この後、非接触IC10から支払準備がよい旨のOK信号を受信したか否かを判別し(ステップSJ3)、OK信号を受信したときは、支払金額の要求信号を非接触IC10に送信する(ステップSJ4)。そして、非接触IC10から支払が可能である旨の支払OK信号を受信したか否かを判別する(ステップSJ5)。この信号を受信したときは、続いて非接触IC10から支払金額のデータを受信したか否かを判別する(ステップSJ6)。例えば、金融機関の口座番号、支払金額、アカウントIDなどによって、その金融機関に支払を依頼する内容からなる支払金額のデータを受信したか否かを判別する。このデータを受信したときは、レシートデータを作成して(ステップSJ7)、作成したレシートデータを送信する(ステップSJ8)。   FIG. 15 is a flowchart of the register unit 11 that performs wireless communication with the non-contact IC 10. It is determined whether or not payment data is input by an operator's operation (step SJ1). When payment data is input, a payment preparation OK signal for inquiring whether or not payment preparation is good is transmitted to the non-contact IC 10 ( Step SJ2). Thereafter, it is determined whether or not an OK signal indicating that the payment preparation is good is received from the non-contact IC 10 (step SJ3). When the OK signal is received, a request signal for the payment amount is transmitted to the non-contact IC 10 ( Step SJ4). And it is discriminate | determined whether the payment OK signal to the effect of payment from the non-contact IC10 was received (step SJ5). When this signal is received, it is subsequently determined whether or not payment amount data has been received from the non-contact IC 10 (step SJ6). For example, it is determined whether or not payment amount data including contents for requesting payment from the financial institution is received based on the account number of the financial institution, the payment amount, the account ID, and the like. When this data is received, receipt data is created (step SJ7), and the created receipt data is transmitted (step SJ8).

ステップSJ5において、支払OK信号を受信しなかった場合には、支払不可信号を受信したか否かを判別する(ステップSJ9)。この信号を受信したときは、現金などによる他の支払方法による処理を行う(ステップSJ10)。
ステップSJ8において、レシートデータを送信した後、又は、ステップSJ10において、他の支払方法による処理を行った後は、ステップSJ1において、オペレータの操作によって他の顧客に対する支払データの入力を待つ。
If the payment OK signal is not received in step SJ5, it is determined whether or not a payment impossible signal is received (step SJ9). When this signal is received, processing by another payment method using cash or the like is performed (step SJ10).
After receipt data is transmitted in step SJ8 or after processing by another payment method is performed in step SJ10, in step SJ1, input of payment data to another customer is awaited by an operator's operation.

以上のように、この第1実施形態によれば、非接触IC10は、商品又はサービスの提供に対して、提供側である店舗のレジスタ部11からの支払要求に応じて無線信号によって電子的に支払処理を行う。携帯電話のCPU1は、非接触IC10による支払処理中でない場合には、外部からの着信をRFブロック4によって検知したときは、着信に応じたオフフック操作により通話処理に遷移し、非接触IC10による支払処理中においては、電源経路POW3をオフにしてRFブロック4の機能を停止させ、外部からの着信に対する通話処理への遷移を禁止する。
したがって、携帯電話への電話やメールの着信によって、その携帯電話内に収容した非接触IC10とレジスタ部11との無線通信による商品やサービスに対する対価の支払に支障がきたすのを未然に防止できる。
なお、上記実施形態1においては、外部からの電話の着信に対する通話処理を制御するようにしたが、外部からのメールの着信に対する制御についても同様である。すなわち、非接触IC10による支払処理中でない場合には外部からの着信を検知したときは当該着信に対する通信処理に遷移し、非接触IC10による支払処理中においては外部からの着信に対する通信処理への遷移を禁止する。
As described above, according to the first embodiment, the contactless IC 10 electronically provides a product or service electronically by a wireless signal in response to a payment request from the register unit 11 of the store on the providing side. Perform payment processing. When the payment processing by the non-contact IC 10 is not in progress, when the CPU 1 of the mobile phone detects an incoming call from the outside by the RF block 4, the CPU 1 shifts to a call processing by an off-hook operation according to the incoming call, and the payment by the non-contact IC 10. During processing, the power supply path POW3 is turned off to stop the function of the RF block 4, and the transition to call processing for incoming calls from outside is prohibited.
Therefore, it is possible to prevent the payment of the price for goods and services by wireless communication between the contactless IC 10 accommodated in the mobile phone and the register unit 11 due to the incoming call or mail to the mobile phone.
In the first embodiment, the call processing for incoming calls from outside is controlled, but the same applies to the control for incoming mails from outside. In other words, when payment processing by the non-contact IC 10 is not in progress, when an incoming call from the outside is detected, the communication processing for the incoming call is made. Is prohibited.

また、上記第1実施形態によれば、図10および図12のフローチャート、並びに、図11のレシートデータベースに示すように、CPU1は、非接触IC10による支払処理に応じて、レジスタ部11から受信したレシートデータにキャンペーン情報が含まれている場合には、店舗の所在位置の情報とともに、そのキャンペーン情報をRAM3のレシートデータベースに記憶し、GPS部7によって検出された現在位置のデータに対して、レシートデータベースに記憶されているレシートデータに含まれている任意の店舗の所在位置のデータを参照して、GPS部7で検出された現在位置と店舗の所在位置との距離が所定範囲内であるか否かを演算し、現在位置と店舗の所在位置との距離が所定範囲内である場合には、そのレシートデータに含まれている店舗のキャンペーン情報を表示部12に表示する。
したがって、商品又はサービスを提供する提供側である店舗の近くに来たときは、自動的にその店舗のキャンペーン情報を知ることにより、キャンペーン情報を有効に活用できる。一方、店舗の側は、顧客に対するサービスを向上させることにより、ビジネスの拡大を図ることができる。
Further, according to the first embodiment, as shown in the flowcharts of FIGS. 10 and 12 and the receipt database of FIG. 11, the CPU 1 receives from the register unit 11 in accordance with the payment processing by the non-contact IC 10. When the receipt data includes campaign information, the campaign information is stored in the receipt database of the RAM 3 together with the store location information, and the receipt data for the current position data detected by the GPS unit 7 is stored. Whether the distance between the current location detected by the GPS unit 7 and the location of the store is within a predetermined range with reference to the data of the location of an arbitrary store included in the receipt data stored in the database If the distance between the current position and the store location is within a predetermined range, the receipt data Campaign information of the included store is displayed on the display unit 12.
Accordingly, when the customer comes close to a store that provides a product or service, the campaign information can be effectively used by automatically knowing the store's campaign information. On the other hand, the store side can expand the business by improving the service for customers.

この場合において、CPU1は、キャンペーン情報に含まれているキャンペーン期間内に現在の日付が含まれるか否かを検索して、キャンペーン期間内に現在の日付が含まれる場合にキャンペーン情報を表示する。
したがって、ユーザは、うっかりしてキャンペーン期間を見逃すことがないので、キャンペーンの特典を享受する機会を逸するおそれがなくなる。
さらに、CPU1は、レジスタ部11から受信したレシートデータのキャンペーン情報に含まれているキャンペーン期間をカレンダデータと連動したスケジュールデータをRAM3に記憶し、そのスケジュールデータによってキャンペーン期間内に現在の日付が含まれるか否かを検索する。
したがって、ユーザは、スケジュールデータで確認しながら、計画的に店舗のキャンペーンを利用することができる。
In this case, the CPU 1 searches for whether or not the current date is included in the campaign period included in the campaign information, and displays the campaign information when the current date is included in the campaign period.
Therefore, since the user does not inadvertently miss the campaign period, there is no possibility of missing the opportunity to enjoy the benefits of the campaign.
Further, the CPU 1 stores in the RAM 3 schedule data linked to calendar data for the campaign period included in the campaign information of the receipt data received from the register unit 11, and the schedule data includes the current date within the campaign period. Search whether or not.
Therefore, the user can use the store campaign systematically while confirming the schedule data.

上記第1実施形態の変形例として、地図データが記憶されているメモリを携帯電話に着脱自在に装着できる構成にしてもよい。あるいは、RFブロック4を介してアクセスした外部のサーバから、GPS部7によって検出された現在位置および店舗の所在位置を示す地図データを受信する構成にしてもよい。いずれの構成においても、CPU1は、現在位置および店舗の所在位置を示す地図データをキャンペーン情報とともに表示することができるので、ユーザは、キャンペーンを行っている店舗に迷わずに行くことができる。   As a modification of the first embodiment, a memory in which map data is stored may be detachably attached to a mobile phone. Or you may make it the structure which receives the map data which show the present location detected by the GPS part 7, and the location of a shop from the external server accessed via the RF block 4. FIG. In any configuration, the CPU 1 can display the map data indicating the current position and the location of the store together with the campaign information, so that the user can go without hesitation to the store that is carrying out the campaign.

また、他の変形例として、店舗のレジスタ部11に顧客データベースを有するサーバを接続して、顧客データベースに登録されている顧客のメールアドレスに基づいて、キャンペーン情報をメールで送信する構成にしてもよい。さらにこの場合、サーバが携帯電話の基地局にアクセスできる構成にすれば、顧客データベースに登録されている顧客の電話番号に基づいて、顧客が店舗の近くに居ることが基地局によって判明した場合には、サーバからその顧客の携帯電話に対してキャンペーン情報および地図データをメールで送信することもできる。この場合には、顧客に対するサービスをより一層向上させることにより、ビジネスの拡大を図ることができる。   As another modification, a server having a customer database is connected to the register unit 11 of the store, and campaign information is transmitted by email based on the customer's email address registered in the customer database. Good. Furthermore, in this case, if the server is configured to be able to access the mobile phone base station, if the base station finds that the customer is near the store based on the customer phone number registered in the customer database. Can also send campaign information and map data by mail from the server to the mobile phone of the customer. In this case, the business can be expanded by further improving the service to customers.

また、上記第1実施形態によれば、図3のフローチャートに示すように、CPU1は、商品又はサービスの提供に対してレジスタ部11からの支払要求に応じて、非接触IC10が無線信号によって電子的に支払処理を行ったときは、支払処理に応じて非接触IC10がレジスタ部11から受信した支払処理に対するレシートデータをRAM3のレシートデータベースに記憶するとともに、レシートデータを記憶するたびに、そのレシートデータにおける支払金額のデータをRAM3のレジスタTPAYに累計して累計金額データとして記憶する。そして、カーソルスイッチおよびOKスイッチなどのスイッチ操作によって入力されるレシート削除の指令に応じて、RAM3のレシートデータベースのレシートデータを削除し、カーソルスイッチおよびOKスイッチなどの他のスイッチ操作によって入力された累計削除の指令に応じて、RAM3のレジスタTPAYの累計金額データを削除する。すなわち、レシートデータの削除と累計金額データの削除とが別のスイッチ操作によって行われる。
したがって、レシートデータの累積によってRAM3のエリアが少なくなって、内容を確認済みで保存の必要がなくなったレシートデータを削除した場合でも、支払金額の累計値は保存することができるので、支払処理の増加に伴って増加するレシートデータを削除して、支払処理が増加してもデータが更新されるだけの支払金額の累計値を保存することで、RAM3のエリアを節約できるとともに、必要なデータを保存することができる。
Further, according to the first embodiment, as shown in the flowchart of FIG. 3, in response to a payment request from the register unit 11 for the provision of goods or services, the CPU 1 performs electronic communication with the non-contact IC 10 via a wireless signal. When the payment process is performed, the receipt data for the payment process received from the register unit 11 by the non-contact IC 10 according to the payment process is stored in the receipt database of the RAM 3, and the receipt data is stored each time the receipt data is stored. The payment amount data in the data is accumulated in the register TPAY of the RAM 3 and stored as accumulated amount data. Then, the receipt data in the receipt database in the RAM 3 is deleted in response to a receipt deletion command input by a switch operation such as a cursor switch or an OK switch, and the cumulative total input by another switch operation such as a cursor switch or an OK switch. In response to the deletion command, the accumulated amount data in the register TPAY of the RAM 3 is deleted. That is, the receipt data is deleted and the accumulated amount data is deleted by another switch operation.
Therefore, even if the receipt data is deleted and the receipt data that has been confirmed and no longer needs to be saved is deleted due to the accumulation of receipt data, the accumulated value of the payment amount can be saved. By deleting the receipt data that increases with the increase and saving the accumulated value of the payment amount that can be updated even if the payment processing increases, the RAM 3 area can be saved and the necessary data can be saved. Can be saved.

また、図8のフローチャートに示すように、CPU1は、カーソルスイッチおよびOKスイッチの操作に応じて期間が指定されたときは、その指定期間内のレシートデータ又は累計金額データを削除する。したがって、ユーザにとって保存の必要のない期間のレシートデータを選択して削除することができる。例えば、毎月の初めに家計簿をつける場合には、先月の支払金額の累計値を家計簿に転記した後は、先月の期間を指定して削除ことにより、ユーザにとって保存の必要のないデータによって、RAM3のエリアが無駄に占有されることがなくなる。   As shown in the flowchart of FIG. 8, when a period is designated according to the operation of the cursor switch and the OK switch, the CPU 1 deletes the receipt data or the accumulated amount data within the designated period. Therefore, it is possible to select and delete receipt data for a period that is not necessary for the user. For example, when adding a household account book at the beginning of each month, after posting the accumulated value of the last month's payment amount to the household account book, specify the period of the previous month and delete it according to data that the user does not need to save. The area of the RAM 3 is not occupied unnecessarily.

また、同じく図8のフローチャートに示すように、CPU1は、カーソルスイッチおよびOKスイッチの操作に応じて店舗のカテゴリが指定されたときは、そのカテゴリに対応するレシートデータを削除する。したがって、ユーザにとって保存の必要のないカテゴリのレシートデータを選択して削除することができる。例えば、勤め先の仕事でホテルなどを利用して支払を行った場合には、レシートを勤め先に提出する必要があるので、そのレシートデータは保存し、私用で利用したコンビニなどのレシートデータを削除することができる。すなわち、カテゴリごとにレシートデータを取捨選択することができる。   Similarly, as shown in the flowchart of FIG. 8, when the store category is designated in accordance with the operation of the cursor switch and the OK switch, the CPU 1 deletes the receipt data corresponding to the category. Therefore, it is possible to select and delete receipt data of a category that does not need to be saved for the user. For example, if you paid for a job at a hotel using a hotel, you must submit the receipt to the company, so save the receipt data and delete the receipt data such as a convenience store used for private use. can do. That is, the receipt data can be selected for each category.

さらに、図7のフローチャートに示すように、CPU1は、RAM3のレシートデータベースにおける一部のレシートデータ、および、レジスタTPAYの累計金額データを削除した後に、累計スイッチが操作された場合には、レシートデータベースにおける残りのレシートデータにおける支払金額を累計して、新たな累計金額データとしてレジスタTPAYに記憶する。したがって、レシートデータベースに記憶されているレシートデータの中から必要なものを残して削除して、残りのレシートデータにおける支払金額の累計値を改めて算出することができる。例えば、公的なレシートデータと私的なレシートデータがレシートデータベースに混在して保存されている場合に、いずれか一方のレシートデータを削除して、他方のレシートデータにおける支払金額の累計値のみを保存することができる。
あるいは、図9のフローチャートに示すように、CPU1は、レシートデータベースに保存されているレシートデータの中から、カーソルスイッチおよびOKスイッチの操作に応じて、特定のカテゴリの店舗を選択して、累計スイッチの操作に応じて、その選択された店舗に対応するレシートデータにおける支払金額の累計値を表示部12に表示する。したがって、カテゴリ別の支払金額の累計値を表示することができる。
Further, as shown in the flowchart of FIG. 7, the CPU 1 deletes a part of the receipt data in the receipt database of the RAM 3 and the accumulated amount data in the register TPAY, and then operates the receipt switch when the accumulated switch is operated. Are accumulated in the remaining receipt data and stored in the register TPAY as new accumulated amount data. Therefore, it is possible to delete necessary receipt data stored in the receipt database, delete it, and recalculate the accumulated value of the payment amount in the remaining receipt data. For example, if both public receipt data and private receipt data are stored in the receipt database, delete one of the receipt data and use only the cumulative payment amount in the other receipt data. Can be saved.
Alternatively, as shown in the flowchart of FIG. 9, the CPU 1 selects a store in a specific category from the receipt data stored in the receipt database according to the operation of the cursor switch and the OK switch, and the cumulative switch In response to this operation, the cumulative value of the payment amount in the receipt data corresponding to the selected store is displayed on the display unit 12. Therefore, the cumulative value of the payment amount for each category can be displayed.

次に、図1の構成による第2実施形態の動作について、図16および図17を参照して説明する。第2実施形態においては、CPU1のメインルーチンの一部、および電話又はメールの着信検知処理だけが第1実施形態と異なっている。したがって、必要に応じて、第1実施形態の図面を援用して第2実施形態を説明する。
図16は、第1実施形態におけるメインルーチンの図3に対応する処理である。図2のステップSA3において、オフフックスイッチがオンでない場合には、図16のフローチャートにおいて、支払スイッチがオンされたか否かを判別する(ステップSA71)。このスイッチがオンされたときは、POW2をオンにして非接触IC10の動作をスタートさせ(ステップSA72)、保留フラグを「1」にセットにする(ステップSA73)。
Next, the operation of the second embodiment having the configuration shown in FIG. 1 will be described with reference to FIGS. In the second embodiment, only a part of the main routine of the CPU 1 and the incoming call detection process of the telephone or mail are different from the first embodiment. Therefore, if necessary, the second embodiment will be described with the aid of the drawing of the first embodiment.
FIG. 16 is a process corresponding to FIG. 3 of the main routine in the first embodiment. If the off-hook switch is not on in step SA3 in FIG. 2, it is determined whether or not the payment switch is turned on in the flowchart in FIG. 16 (step SA71). When this switch is turned on, POW2 is turned on to start the operation of the non-contact IC 10 (step SA72), and the hold flag is set to “1” (step SA73).

次に、非接触IC10から支払金額を受信したか否かを判別する(ステップSA74)。支払金額を受信したときは、RAM3のレジスタPAYに支払金額をストアする(ステップSA75)。さらに、レジスタTPAYにPAYの支払金額を累算して累算値を更新する(ステップSA76)。次に、非接触IC10からレシートデータを受信したか否かを判別する(ステップSA77)。レシートデータを受信したときは、レシートデータストア処理を行ない(ステップSA78)、レシートデータの内容を表示する(ステップSA79)。
ステップSA74において、非接触IC10から支払金額を受信しない場合には、支払不可信号を受信したか否かを判別する(ステップSA80)。この信号を受信したときは、残高不足の警告を表示する(ステップSA81)。
Next, it is determined whether or not a payment amount has been received from the non-contact IC 10 (step SA74). When the payment amount is received, the payment amount is stored in the register PAY of the RAM 3 (step SA75). Further, the payment amount of PAY is accumulated in the register TPAY to update the accumulated value (step SA76). Next, it is determined whether or not receipt data is received from the non-contact IC 10 (step SA77). When receipt data is received, receipt data store processing is performed (step SA78), and the contents of the receipt data are displayed (step SA79).
If the payment amount is not received from the non-contact IC 10 in step SA74, it is determined whether or not a payment impossible signal is received (step SA80). When this signal is received, an insufficient balance warning is displayed (step SA81).

ステップSA79においてレシートデータの内容を表示した後、又は、ステップSA81において残高不足の警告を表示した後は、OKスイッチがオンされたか否かを判別し(ステップSA82)、このスイッチがオンされたときは、非接触IC10の動作を停止し(ステップSA83)、保留フラグを「0」にリセットして(ステップSA84)、図2のステップSA2に移行して待受画面を表示する。   After displaying the contents of the receipt data in step SA79, or after displaying a balance shortage warning in step SA81, it is determined whether or not the OK switch is turned on (step SA82), and when this switch is turned on. Stops the operation of the non-contact IC 10 (step SA83), resets the hold flag to “0” (step SA84), moves to step SA2 in FIG. 2, and displays a standby screen.

図17は、第2実施形態における電話の着信検知処理のフローチャートである。RFブロック4によって電話の着信を検知したときは、このフローチャートを実行する。まず、保留フラグが「1」であるか否かを判別し(ステップSK1)、このフラグが「1」である場合には、オフフックして自動着信を行なう(ステップSK2)。そして、保留音を発生して相手に送信する(ステップSK3)。例えば、「今電話に出られません。しばらくお待ち頂くか、おかけ直し下さい」などのメッセージを相手に送信する。この後、相手のオンフックによって回線が切断されたか否かを判別する(ステップSK4)。回線が切断されたときは、メインルーチンに戻る。
回線が切断されない場合、すなわち、電話の相手がオンフックせずに通話できるのを待っている場合には、保留フラグが「0」にリセットされたか否かを判別する(ステップSK5)。保留フラグが「0」にリセットされたとき、すなわち、非接触IC10による電子支払処理が終了して、図16のステップSA84において保留フラグが「0」にリセットされたときは、スピーカ9によって所定時間だけ着信報知を行う(ステップSK6)。すなわち、相手が通話できるのを待っていることをユーザに報知する。
FIG. 17 is a flowchart of incoming call detection processing in the second embodiment. When an incoming call is detected by the RF block 4, this flowchart is executed. First, it is determined whether or not the hold flag is “1” (step SK1), and when this flag is “1”, it is off-hooked and an automatic call is received (step SK2). Then, a holding sound is generated and transmitted to the other party (step SK3). For example, a message such as “Can't answer the phone now. Please wait or try again” is sent to the other party. Thereafter, it is determined whether or not the line is disconnected due to the other party's on-hook (step SK4). When the line is disconnected, the process returns to the main routine.
If the line is not disconnected, that is, waiting for the other party to talk without being on-hook, it is determined whether or not the hold flag is reset to “0” (step SK5). When the hold flag is reset to “0”, that is, when the electronic payment process by the non-contact IC 10 is finished and the hold flag is reset to “0” in step SA84 in FIG. Only the incoming call notification is performed (step SK6). That is, the user is informed that the other party is waiting for a call.

ステップSK1において、保留フラグが「0」である場合、すなわち、非接触IC10による電子支払処理が行われていない場合には、スピーカ9によって着信報知を行う(ステップSK7)。そして、オフフックスイッチがオンされたか否かを判別する(ステップSK8)。オフフックスイッチがオンされたとき、又は、ステップSK6において、相手が通話できるのを待っている旨の着信報知を行った後は、通話処理に遷移する(ステップSK9)。通話処理においては、オンフックスイッチがオンされたか否かを判別し(ステップSK10)、このスイッチがオンされたときは、回線切断などの終話処理を行って(ステップSK11)、メインルーチンに戻る。   In step SK1, when the hold flag is “0”, that is, when the electronic payment processing by the non-contact IC 10 is not performed, the incoming call notification is performed by the speaker 9 (step SK7). Then, it is determined whether or not the off-hook switch is turned on (step SK8). When the off-hook switch is turned on or after an incoming call notification is made that the other party is waiting for a call in step SK6, the process proceeds to a call process (step SK9). In the call process, it is determined whether or not the on-hook switch is turned on (step SK10). When this switch is turned on, the call-end process such as line disconnection is performed (step SK11), and the process returns to the main routine.

以上のように、この第2実施形態によれば、携帯電話のRFブロック4は、通信回線を介して外部からの電話やメールの着信を検知する。非接触IC10は、商品又はサービスに対する対価を無線信号によって電子的に支払処理を行う。携帯電話のCPU1は、非接触IC10による支払処理中でない場合には、外部からの着信をRFブロック4によって検知したときは、着信に応じたオフフック操作により通話処理に遷移し、非接触IC10による支払処理中においては、外部からの着信に対して自動着信を行って保留音を発生して相手に送信して、外部からの着信に対して通話処理への遷移を中断する。
したがって、第1実施形態と同様に、携帯電話への電話やメールの着信によって、その携帯電話内に収容した非接触IC10とレジスタ部11との無線通信による商品やサービスに対する対価の支払に支障がきたすのを未然に防止できる。
As described above, according to the second embodiment, the RF block 4 of the mobile phone detects an incoming call or mail from the outside via the communication line. The non-contact IC 10 electronically pays for the goods or services using radio signals. When the payment processing by the non-contact IC 10 is not in progress, when the CPU 1 of the mobile phone detects an incoming call from the outside by the RF block 4, the CPU 1 shifts to a call processing by an off-hook operation according to the incoming call, and the payment by the non-contact IC 10. During the processing, an automatic incoming call is made in response to an incoming call from outside, a holding tone is generated and transmitted to the other party, and the transition to the call process is interrupted for the incoming call from outside.
Accordingly, as in the first embodiment, when a call or mail arrives at a mobile phone, there is an obstacle to payment for the goods or services by wireless communication between the contactless IC 10 accommodated in the mobile phone and the register unit 11. It can be prevented in advance.

次に、図1の構成による第3実施形態の動作について、図18を参照して説明する。第3実施形態においては、CPU1のメインルーチンにおける図2のステップSA9の通話処理が第1実施形態および第2実施形態と異なっている。第3実施形態は、電話で相手と通話をしている途中で非接触IC10による電子支払処理を行う場合の動作の説明である。例えば、店舗内で支払待ちをしているときに、電話の着信を受けて相手との通話中に、レジスタ部11から支払準備がOKであるか否かを問い合わせる信号を受信したときは、そのまま通話を継続することができない。   Next, the operation of the third embodiment having the configuration shown in FIG. 1 will be described with reference to FIG. In the third embodiment, the call processing in step SA9 of FIG. 2 in the main routine of the CPU 1 is different from the first embodiment and the second embodiment. The third embodiment is an explanation of an operation in the case where electronic payment processing is performed by the non-contact IC 10 while talking with the other party on the telephone. For example, when waiting for payment in the store and receiving a call and receiving a signal from the register unit 11 asking whether payment preparation is OK or not during a call with the other party, The call cannot be continued.

図18は、このような場合の通話処理のフローチャートである。保留スイッチがオンされたか否かを判別し(ステップSL1)、このスイッチがオンされたときは、マイク8およびスピーカ9をオフ又はミュートにして(ステップSL2)、音声メッセージ又はメロディ音を相手に送信する(ステップSL3)。音声メッセージなどを送信中においては、再び保留スイッチがオンされたか否かを判別し(ステップSL4)、このスイッチが再びオンされたときは、マイク8およびスピーカ9をオン又はミュート解除にして、再び通常の通話処理に遷移する。   FIG. 18 is a flowchart of a call process in such a case. It is determined whether or not the hold switch is turned on (step SL1). When this switch is turned on, the microphone 8 and the speaker 9 are turned off or muted (step SL2), and a voice message or melody sound is transmitted to the other party. (Step SL3). While a voice message or the like is being transmitted, it is determined again whether or not the hold switch is turned on (step SL4). When this switch is turned on again, the microphone 8 and the speaker 9 are turned on or unmuted, and again Transition to normal call processing.

以上のように、この第3実施形態によれば、CPU1は、外部との間で通話が可能な通話状態において、保留スイッチのオン操作に応じて通話状態から保留状態に移行して、音声メッセージを通話相手に送信し、保留状態において、保留スイッチのオン操作に応じて保留状態から通話状態に戻す。すなわち、通話状態において相手との通話中に、レジスタ部11から支払準備がOKであるか否かを問い合わせる信号を受信したときは、保留スイッチをオンにすることにより、保留状態に移行して音声メッセージを送信し、非接触IC10によって電子的に支払処理を行い、支払が終了したときは、保留スイッチをオンにして通話を再開することができる。
したがって、第1実施形態と同様に、携帯電話への電話やメールの着信によって、その携帯電話内に収容した非接触IC10とレジスタ部11との無線通信による商品やサービスに対する対価の支払に支障がきたすのを未然に防止できる。
As described above, according to the third embodiment, in a call state in which a call can be made with the outside, the CPU 1 shifts from the call state to the hold state in response to an ON operation of the hold switch, and the voice message Is sent to the other party, and in the hold state, the call is returned from the hold state to the call state in response to an ON operation of the hold switch. That is, when a signal inquiring whether payment preparation is OK or not is received from the register unit 11 during a call with the other party in the call state, by turning on the hold switch, the voice is transferred to the hold state. A message is transmitted, the payment process is electronically performed by the non-contact IC 10, and when the payment is completed, the call can be resumed by turning on the hold switch.
Accordingly, as in the first embodiment, when a call or mail arrives at a mobile phone, there is an obstacle to payment for the goods or services by wireless communication between the contactless IC 10 accommodated in the mobile phone and the register unit 11. It can be prevented in advance.

上記各実施形態においては、携帯電話を例に採って本発明の通信端末装置を説明したが、本発明の適用できる範囲は上記各実施形態に限定されない。携帯電話以外の端末装置であるPHSやPDAにも適用することが可能であり、非接触ICを収容することによって、電卓などの持ち歩くことのできる小型の装置にも適用が可能である。要するに、装置内に収容した非接触ICによって、商品又はサービスの提供に対して、無線信号によって電子的に支払処理を行うことができるすべての小型装置にも適用できることは明らかである。
また、無線通信によって電子的に支払処理を行う電子支払手段は、実施の形態の非接触IC10に限定されるものではない。ICカード若しくは磁気カード、又はその他のデバイスのように、非接触で電子的に支払処理を行うことが可能なものであればよい。
In each of the above embodiments, the communication terminal device of the present invention has been described by taking a mobile phone as an example. However, the applicable range of the present invention is not limited to each of the above embodiments. The present invention can also be applied to PHS and PDA that are terminal devices other than mobile phones, and can also be applied to small devices that can be carried around, such as a calculator, by accommodating a non-contact IC. In short, it is obvious that the present invention can be applied to all small devices that can perform payment processing electronically by radio signals for providing goods or services by contactless ICs housed in the devices.
Also, the electronic payment means that electronically performs payment processing by wireless communication is not limited to the contactless IC 10 of the embodiment. Any IC card or magnetic card or any other device that can electronically perform payment processing without contact may be used.

なお、上記各実施形態においては、ROM2にあらかじめ記憶されている通信制御処理のプログラムをCPU1が実行する装置の発明について説明したが、RFブロック4によってネットワークを介して、外部のサーバーなどからダウンロードされた通信制御処理のプログラム、又は、USBインターフェースなどのように、携帯電話機の接続端子から外部の記憶媒体に記憶された通信制御処理のプログラムを、書き込み可能な不揮発性メモリなどにインストールし、その通信制御処理のプログラムをCPU1が実行するような構成も可能である。この場合には、プログラムの発明を実現する。   In each of the above embodiments, the invention of an apparatus in which the CPU 1 executes a communication control processing program stored in advance in the ROM 2 has been described. However, the RF block 4 is downloaded from an external server or the like via a network. The communication control processing program or the communication control processing program stored in the external storage medium from the connection terminal of the mobile phone, such as a USB interface, is installed in a writable nonvolatile memory and the communication is performed. A configuration in which the CPU 1 executes a control processing program is also possible. In this case, the invention of the program is realized.

すなわち、そのプログラムは、
所定の通信回線を介して外部からの着信を検知する第1のステップと、商品又はサービスの提供に対して当該提供側からの支払要求に応じて無線信号によって電子的に支払処理を行う第2のステップと、前記第2のステップによる支払処理中でない場合には外部からの着信を前記第1のステップによって検知したときは当該着信に対する通信処理に遷移し、前記第2のステップによる支払処理中においては外部からの着信に対する通信処理への遷移を禁止する第3のステップと、を実行する。
That is, the program is
A first step of detecting an incoming call from outside via a predetermined communication line; and a second step of electronically performing payment processing by radio signal in response to a payment request from the provider side for providing goods or services And when the payment process in the second step is not in progress, when an incoming call from the outside is detected in the first step, a transition is made to the communication process for the incoming call, and the payment process in the second step is in progress. The third step of prohibiting transition to communication processing for incoming calls from outside is executed.

1 CPU
2 ROM
3 RAM
4 RFブロック
5 スイッチ部
6 表示ドライバ
7 GPS部
8 マイク
9 スピーカ
10 非接触IC
11 レジスタ部
12 表示部
1 CPU
2 ROM
3 RAM
4 RF block 5 Switch unit 6 Display driver 7 GPS unit 8 Microphone 9 Speaker 10 Non-contact IC
11 Register section 12 Display section

Claims (5)

所定の通信回線を介して外部からの着信を検知する着信検知手段と、
商品又はサービスの提供に対して当該提供側からの支払要求に応じて無線信号によって電子的に支払処理を行う電子支払手段と、
前記電子支払手段による支払処理中でない場合には外部からの着信を前記着信検知手段によって検知したときは当該着信に対する通信処理に遷移し、前記電子支払手段による支払処理中においては外部からの着信に対する通信処理への遷移を禁止する通信制御手段と、
を備えた通信端末装置。
An incoming call detection means for detecting an incoming call from outside via a predetermined communication line;
Electronic payment means for electronically performing payment processing by radio signal in response to a payment request from the provider for providing goods or services;
When payment processing by the electronic payment means is not in progress, when an incoming call from the outside is detected by the incoming call detection means, a transition is made to communication processing for the incoming call, and during payment processing by the electronic payment means, an incoming call from the outside is handled. Communication control means for prohibiting transition to communication processing;
A communication terminal device.
前記通信制御手段は、前記電子支払手段による支払処理中においては前記着信検知手段の着信検知機能を停止させることを特徴とする請求項1に記載の通信端末装置。   2. The communication terminal apparatus according to claim 1, wherein the communication control unit stops an incoming call detection function of the incoming call detection unit during a payment process by the electronic payment unit. 前記通信制御手段は、前記電子支払手段による支払処理中においては前記着信検知手段によって着信が検知されたときは、当該着信の発信側に対して自動応答処理を行って特定の情報を送信することを特徴とする請求項1に記載の通信端末装置。   The communication control means, when an incoming call is detected by the incoming call detection means during the payment process by the electronic payment means, performs automatic response processing on the caller side of the incoming call and transmits specific information. The communication terminal device according to claim 1. 前記通信制御手段は、前記自動応答処理によって回線接続された発信側が回線切断を行う前に前記電子支払手段による支払処理が終了したときは、前記発信側との通信処理に遷移することを特徴とする請求項3に記載の通信端末装置。   The communication control means transitions to communication processing with the calling side when payment processing by the electronic payment means is completed before the calling side connected by the automatic response processing disconnects the line. The communication terminal device according to claim 3. 所定の通信回線を介して外部からの着信を検知する第1のステップと、
商品又はサービスの提供に対して当該提供側からの支払要求に応じて無線信号によって電子的に支払処理を行う第2のステップと、
前記第2のステップによる支払処理中でない場合には外部からの着信を前記第1のステップによって検知したときは当該着信に対する通信処理に遷移し、前記第2のステップによる支払処理中においては外部からの着信に対する通信処理への遷移を禁止する第3のステップと、
を実行する通信制御処理のプログラム。
A first step of detecting an incoming call from outside via a predetermined communication line;
A second step of electronically processing payment by wireless signal in response to a payment request from the provider for providing goods or services;
When the payment process in the second step is not in progress, when an incoming call from the outside is detected in the first step, the process shifts to a communication process for the call incoming, and from the outside during the payment process in the second step A third step of prohibiting transition to communication processing for incoming calls;
Communication control processing program that executes
JP2009269699A 2009-11-27 2009-11-27 Communication terminal device and program Active JP5170070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009269699A JP5170070B2 (en) 2009-11-27 2009-11-27 Communication terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009269699A JP5170070B2 (en) 2009-11-27 2009-11-27 Communication terminal device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004144364A Division JP2005328321A (en) 2004-05-14 2004-05-14 Communication terminal device and program for communication control processing

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012144880A Division JP5392381B2 (en) 2012-06-28 2012-06-28 Communication terminal device and communication control processing program

Publications (2)

Publication Number Publication Date
JP2010109988A true JP2010109988A (en) 2010-05-13
JP5170070B2 JP5170070B2 (en) 2013-03-27

Family

ID=42298901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009269699A Active JP5170070B2 (en) 2009-11-27 2009-11-27 Communication terminal device and program

Country Status (1)

Country Link
JP (1) JP5170070B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3051748U (en) * 1998-02-23 1998-09-02 第二電電株式会社 Portable wireless telephone
JP2000311145A (en) * 1999-04-28 2000-11-07 Matsushita Electric Ind Co Ltd Device and method for managing schedule and recording medium storing schedule managing program
JP2001078078A (en) * 1999-09-02 2001-03-23 Canon Inc Photographing device and its control method
JP2002041737A (en) * 2000-07-31 2002-02-08 Nec Corp Schedule information system
JP2002297847A (en) * 2001-03-28 2002-10-11 Just Syst Corp Schedules management device, schedule management method and program for making computer execute the method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3051748U (en) * 1998-02-23 1998-09-02 第二電電株式会社 Portable wireless telephone
JP2000311145A (en) * 1999-04-28 2000-11-07 Matsushita Electric Ind Co Ltd Device and method for managing schedule and recording medium storing schedule managing program
JP2001078078A (en) * 1999-09-02 2001-03-23 Canon Inc Photographing device and its control method
JP2002041737A (en) * 2000-07-31 2002-02-08 Nec Corp Schedule information system
JP2002297847A (en) * 2001-03-28 2002-10-11 Just Syst Corp Schedules management device, schedule management method and program for making computer execute the method

Also Published As

Publication number Publication date
JP5170070B2 (en) 2013-03-27

Similar Documents

Publication Publication Date Title
KR100770094B1 (en) Communications terminal and communication control method
EP2074718B1 (en) Device and method for reserving a resource via a portable communication device
US10290013B2 (en) Methods and apparatus for standard approach to coupon selection
EP1017029A2 (en) Portable communication device and system using the portable communication device and attachment for a portable communication device
JP2009181224A (en) Electronic settlement system, mobile terminal, electronic settlement terminal, electronic settlement method and computer program
JP2008140187A (en) Display unit, display method and program
JP2006259419A (en) Portable terminal equipment and program
JP5158583B2 (en) Portable terminal device and portable terminal processing program
JP4349192B2 (en) Communication terminal device and communication control processing program
JP5392381B2 (en) Communication terminal device and communication control processing program
JP5170070B2 (en) Communication terminal device and program
CN106127530B (en) Method for processing business and device based on virtual card
JP2005326927A (en) Communication terminal equipment, and program for communication control processing
JP2007312053A (en) Portable terminal and program
JP4462201B2 (en) Portable terminal device and program
JP5010163B2 (en) Portable terminal device and program
KR101077710B1 (en) Method for managing housekeeping book in mobile phone and storage media with program implementing the same
JP2005326993A (en) Communication terminal equipment, and program for communication control processing
JP2006053930A (en) Cellular telephone
KR20130081962A (en) System and method on discount membership information processing
JP2007052798A (en) Information distribution method by vending machine
JP5251747B2 (en) Mobile communication device
JP2005339193A (en) Communication terminal equipment and program for communication control processing, information management system, and program for information management processing
KR20130081961A (en) System and method on discount membership information processing
JP4918372B2 (en) Information presentation method and mobile communication terminal device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120628

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121217

R150 Certificate of patent or registration of utility model

Ref document number: 5170070

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150